From 497fa40331bfc960d323cb5af69082e427102934 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 19 Jan 2011 21:18:45 +0000 Subject: more compact html output git-svn-id: http://piwigo.org/svn/trunk@8774 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/index.tpl | 52 +++++++++++----------- themes/default/template/menubar_identification.tpl | 25 +++++------ themes/default/template/menubar_links.tpl | 9 ++-- themes/default/template/menubar_menu.tpl | 24 +++++----- themes/default/template/menubar_specials.tpl | 7 ++- themes/default/template/menubar_tags.tpl | 13 +++--- themes/default/template/picture.tpl | 16 +++---- 7 files changed, 65 insertions(+), 81 deletions(-) diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl index 2dff46611..eaa1b3554 100644 --- a/themes/default/template/index.tpl +++ b/themes/default/template/index.tpl @@ -3,62 +3,60 @@
@@ -79,7 +77,7 @@

{$chronology.TITLE}

{/if} -
+
{* *} {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} @@ -125,5 +123,5 @@ {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if} - +{* *} {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} diff --git a/themes/default/template/menubar_identification.tpl b/themes/default/template/menubar_identification.tpl index 0f6591508..d368c2976 100644 --- a/themes/default/template/menubar_identification.tpl +++ b/themes/default/template/menubar_identification.tpl @@ -1,32 +1,29 @@
{'Identification'|@translate}
+{strip} {if isset($USERNAME)} -

{'Hello'|@translate} {$USERNAME} !

+

{'Hello'|@translate} {$USERNAME} !

{/if} - - +{/strip} {if isset($U_LOGIN)} +{strip}
{'Quick connect'|@translate} @@ -35,35 +32,33 @@ -
-
+

{if $AUTHORIZE_REMEMBERING}
{/if}
- + {if isset($U_REGISTER)} -   + {/if} -   +
+{/strip} {/if}
- diff --git a/themes/default/template/menubar_links.tpl b/themes/default/template/menubar_links.tpl index a945bd0d6..83cc6c317 100644 --- a/themes/default/template/menubar_links.tpl +++ b/themes/default/template/menubar_links.tpl @@ -1,15 +1,12 @@
{'Links'|@translate}
-
- 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 @@
{'Menu'|@translate}
- {if isset($block->data.qsearch) and $block->data.qsearch==true} -
-

is for html validation only - does not affect positioning*}> - -

-
- - {/if} - -
- diff --git a/themes/default/template/menubar_specials.tpl b/themes/default/template/menubar_specials.tpl index 1f00a2dc9..9acc38505 100644 --- a/themes/default/template/menubar_specials.tpl +++ b/themes/default/template/menubar_specials.tpl @@ -1,9 +1,8 @@
{'Specials'|@translate}
-
- diff --git a/themes/default/template/menubar_tags.tpl b/themes/default/template/menubar_tags.tpl index 62421e57d..975d7eb09 100644 --- a/themes/default/template/menubar_tags.tpl +++ b/themes/default/template/menubar_tags.tpl @@ -2,17 +2,14 @@
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 0937489cf..f52dc3255 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -37,33 +37,33 @@
{strip}{if isset($U_SLIDESHOW_START)} -  {'slideshow'|@translate} + {'slideshow'|@translate} {/if}{/strip} {strip}{if isset($U_METADATA)} -  {'Show file metadata'|@translate} + {'Show file metadata'|@translate} {/if}{/strip} {strip}{if isset($current.U_DOWNLOAD)} -  {'download'|@translate} + {'download'|@translate} {/if}{/strip} {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} {strip}{if isset($favorite)} -  {'Favorites'|@translate} + {'Favorites'|@translate} {/if}{/strip} {strip}{if isset($U_SET_AS_REPRESENTATIVE)} -  {'representative'|@translate} + {'representative'|@translate} {/if}{/strip} {strip}{if isset($U_ADMIN)} -  {'edit'|@translate} + {'edit'|@translate} {/if}{/strip} {strip}{if isset($U_CADDIE)}{*caddie management BEGIN*} @@ -83,7 +83,7 @@ y.callService( }{/literal} {/footer_script} -  {'caddie'|@translate} + {'caddie'|@translate} {/if}{/strip}{*caddie management END*}
@@ -300,7 +300,7 @@ y.callService( {/if} - + {/if} -- cgit v1.2.3