diff options
author | plegall <plg@piwigo.org> | 2010-03-09 23:19:11 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-09 23:19:11 +0000 |
commit | cbfc601ad8579ae8516464b324d52a4136bc4fe7 (patch) | |
tree | 71ec43d9a0e8d05e5356b1b88e9df19a3e1dd57b /admin/template/goto/footer.tpl | |
parent | 89ef534fc273aae095bf2c727e87eda7f4b71cdf (diff) |
feature 1491: administration panel header/footer. Graphicaly outside the
administration theme. The header includes the gallery title with a link to
gallery, a theme changer, an explicit "visit gallery" link, a logout link.
The footer includes links to piwigo.org (homepage, documentation, forum) and
the contact webmaster link.
Due to new header/footer, I've removed the "Links" section in the menubar.
The new footer sticks to the bottom of the browser window.
I've slightly "rounded" grum tabs to look like the menubar borders.
Graphical illustration (top left and bottom left leaves) were removed to
improve readability. They make things beautiful on gallery side, they
decrease usability on admin side.
Piwigo logo was removed to save space on administration footer. It would be
nice to have a small logo to place bottom left in the footer next to
"Powered by Piwigo".
Links>Administration link was replaced by a big link box just above the
menubar.
The H2 was outside the #content box, nearly invisible on top right corner.
Now it is 1) easy to read 2) inside #content.
feature 1490: ability to switch from goto/roma to goto/clear with a single
click in administration header.
The global organisation of the page is quite heavily changed. The global
layout is:
body#theAdminPage
body#theAdminPage > #the_page
body#theAdminPage > #the_page > #pwgHead
body#theAdminPage > #the_page > #pwgMain
body#theAdminPage > #the_page > #pwgMain > #menubar
body#theAdminPage > #the_page > #pwgMain > #content
body#theAdminPage > #the_page > #footer
git-svn-id: http://piwigo.org/svn/trunk@5098 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/goto/footer.tpl')
-rw-r--r-- | admin/template/goto/footer.tpl | 59 |
1 files changed, 39 insertions, 20 deletions
diff --git a/admin/template/goto/footer.tpl b/admin/template/goto/footer.tpl index 4ccd72b0e..e8709b59f 100644 --- a/admin/template/goto/footer.tpl +++ b/admin/template/goto/footer.tpl @@ -2,38 +2,57 @@ Warning : This is the admin pages footer only don't be confusing with the public page footer *} -<div id="copyright"> - <a name="EoP"></a> <!-- End of ADMIN Page --> - {if isset($debug.TIME) } - {'SQL queries in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - - {/if} +</div> <!-- pwgMain --> +{if isset($footer_elements)} +{foreach from=$footer_elements item=v} +{$v} +{/foreach} +{/if} +{if isset($debug.QUERIES_LIST)} +<div id="debug"> +{$debug.QUERIES_LIST} +</div> +{/if} +<div id="footer"> + <div id="piwigoInfos"> {* Please, do not remove this copyright. If you really want to, contact us on http://piwigo.org to find a solution on how to show the origin of the script... *} {'Powered by'|@translate} - <a href="{$PHPWG_URL}" class="Piwigo"> + <a href="{$PHPWG_URL}" title="Visit Piwigo project website"> <span class="Piwigo">Piwigo</span></a> {$VERSION} - {if isset($CONTACT_MAIL)} - - {'Contact'|@translate} + | <a class="external" href="{$pwgmenu.WIKI}" title="Read Piwigo Documentation" onclick="window.open(this.href, ''); return false;">{'Documentation'|@translate}</a> + | <a class="external" href="{$pwgmenu.FORUM}" title="Get Support on Piwigo Forum" onclick="window.open(this.href, ''); return false;">{'Support'|@translate}</a> + </div> <!-- piwigoInfos --> + + <div id="pageInfos"> + {if isset($debug.TIME) } + {'SQL queries in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - + {/if} + + + {'Contact'|@translate} <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> - {/if} + </div> <!-- pageInfos --> -</div> <!-- copyright --> -{if isset($footer_elements)} -{foreach from=$footer_elements item=v} -{$v} -{/foreach} -{/if} -{if isset($debug.QUERIES_LIST)} -<div id="debug"> -{$debug.QUERIES_LIST} -</div> -{/if} +</div> <!-- footer --> </div> <!-- the_page --> +{literal} +<script type='text/javascript'> + $(function() { + $('#pwgHead A, #footer A').tipTip({ + 'delay' : 0, + 'fadeIn' : 200, + 'fadeOut' : 200, + }); + }); +</script> +{/literal} + </body> </html>
\ No newline at end of file |