Mercurial > bins
diff templates.martin/navbar.html @ 0:a84c32f131df 1.1.29
Import vendor version
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Wed, 15 Oct 2008 23:28:56 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates.martin/navbar.html Wed Oct 15 23:28:56 2008 +0200 @@ -0,0 +1,60 @@ +<ul> +<!-- Display the links used to navigate on different views --> +<TMPL_IF NAME="UP_LINK"> +<li onClick="location.href='<TMPL_VAR NAME="UP_LINK">';"><span> + <a href="<TMPL_VAR NAME="UP_LINK">"> + <img src="<TMPL_VAR NAME="STATIC_PATH">/up.png" + alt="<TMPL_VAR NAME="STRING_UP">"></a> + <a id='up' href="<TMPL_VAR NAME="UP_LINK">"><TMPL_VAR NAME="STRING_UP"></a> +</span></li> +</TMPL_IF> + +<TMPL_LOOP NAME="NAV_BAR_TABLE"> +<TMPL_IF NAME="NAV_LINK"> +<li onClick="location.href='<TMPL_VAR NAME="NAV_LINK">';"><span> + <a href="<TMPL_VAR NAME="NAV_LINK">"> + <img src="<TMPL_VAR NAME="STATIC_PATH">/<TMPL_VAR NAME="NAV_ICON">" + alt="<TMPL_VAR NAME="NAV_NAME">"></a> + <a id="<TMPL_VAR NAME="NAV_ID">" href="<TMPL_VAR NAME="NAV_LINK">"> + <TMPL_VAR NAME="NAV_NAME"></a> +</span> +</li> +<TMPL_ELSE> +<li class="highlight"><span> + <img src="<TMPL_VAR NAME="STATIC_PATH">/<TMPL_VAR NAME="NAV_ICON">" + alt="<TMPL_VAR NAME="NAV_NAME">"> + <TMPL_VAR NAME="NAV_NAME"> +</span></li> +</TMPL_IF> +</TMPL_LOOP> + +<li onClick="location.href='<TMPL_VAR NAME="TREE_LINK">';"><span> +<a href="<TMPL_VAR NAME="TREE_LINK">" + title="<TMPL_VAR NAME="STRING_ALBUMTREE">"> + <img src="<TMPL_VAR NAME="STATIC_PATH">/albumtree.png" + alt="<TMPL_VAR NAME="STRING_ALBUMTREE">"></a> +<a id="tree" href="<TMPL_VAR NAME="TREE_LINK">"> + <TMPL_VAR NAME="STRING_ALBUMTREE"></a> +</span></li> + +<TMPL_IF NAME="FEEDBACK_LINK"> +<li ><span> + <a href="mailto:<TMPL_VAR NAME="FEEDBACK_LINK">?subject=<TMPL_VAR NAME="STRING_YOURALBUM"> <TMPL_INCLUDE NAME="subjectpath.html">"> + <img src="<TMPL_VAR NAME="STATIC_PATH">/contact.png" + alt="<TMPL_VAR NAME="STRING_FEEDBACK">"></a> + <a id="fdbk" href="mailto:<TMPL_VAR NAME="FEEDBACK_LINK">?subject=<TMPL_VAR NAME="STRING_YOURALBUM"> <TMPL_INCLUDE NAME="subjectpath.html">"> + <TMPL_VAR NAME="STRING_FEEDBACK"></a> +</span></li> +</TMPL_IF> + +<TMPL_IF NAME="HOME_LINK"> +<li onClick="location.href='<TMPL_VAR NAME="HOME_LINK">';"><span> + <a href="<TMPL_VAR NAME="HOME_LINK">" + title="<TMPL_VAR NAME="STRING_HOME">"> + <img src="<TMPL_VAR NAME="STATIC_PATH">/home.png" + alt="<TMPL_VAR NAME="STRING_HOME">"></a> + <a id="home" href="<TMPL_VAR NAME="HOME_LINK">"> + <TMPL_VAR NAME="STRING_HOME"></a> +</span></li> +</TMPL_IF> +</ul>