aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/menubar_menu.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-01-19 21:18:45 +0000
committerrvelices <rv-github@modusoptimus.com>2011-01-19 21:18:45 +0000
commit497fa40331bfc960d323cb5af69082e427102934 (patch)
tree23c14362bd9afb267bb21306c84b87f7e63aa88e /themes/default/template/menubar_menu.tpl
parent4a6f62bb8d456077986f32759a73c87664e49e96 (diff)
more compact html output
git-svn-id: http://piwigo.org/svn/trunk@8774 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/menubar_menu.tpl')
-rw-r--r--themes/default/template/menubar_menu.tpl24
1 files changed, 11 insertions, 13 deletions
diff --git a/themes/default/template/menubar_menu.tpl b/themes/default/template/menubar_menu.tpl
index 3905922e4..29276a48f 100644
--- a/themes/default/template/menubar_menu.tpl
+++ b/themes/default/template/menubar_menu.tpl
@@ -1,20 +1,18 @@
<dt>{'Menu'|@translate}</dt>
<dd>
- {if isset($block->data.qsearch) and $block->data.qsearch==true}
- <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
- <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
- <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%">
- </p>
- </form>
- <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
- {/if}
-
- <ul>
+{if isset($block->data.qsearch) and $block->data.qsearch==true}
+ <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
+ <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
+ <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%">
+ </p>
+ </form>
+ <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
+{/if}
+ <ul>{strip}
{foreach from=$block->data item=link}
{if is_array($link)}
- <li><a href="{$link.URL}" title="{$link.TITLE}" {if isset($link.REL)}{$link.REL}{/if}>{$link.NAME}</a></li>
+ <li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a></li>
{/if}
{/foreach}
- </ul>
+ {/strip}</ul>
</dd>
-