Changeset 28690 for trunk/themes
- Timestamp:
- Jun 13, 2014, 9:10:41 PM (10 years ago)
- Location:
- trunk/themes/default/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/template/footer.tpl
r17496 r28690 1 1 <div id="copyright"> 2 {if isset($debug.TIME)} 3 {'Page generated in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - 4 {/if} 2 {if isset($debug.TIME)} 3 {'Page generated in'|translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|translate} {$debug.SQL_TIME}) - 4 {/if} 5 5 6 {* 6 7 8 7 Please, do not remove this copyright. If you really want to, 8 contact us on http://piwigo.org to find a solution on how 9 to show the origin of the script... 9 10 *} 10 {'Powered by'|@translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a>11 {$VERSION}12 {if isset($CONTACT_MAIL)}13 - <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Contact webmaster'|@translate}</a>14 {/if}15 {if isset($TOGGLE_MOBILE_THEME_URL)}16 - {'View in'|@translate} : <a href="{$TOGGLE_MOBILE_THEME_URL}">{'Mobile'|@translate}</a> | <b>{'Desktop'|@translate}</b>17 {/if}18 11 19 {get_combined_scripts load='footer'} 12 {'Powered by'|translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a> 13 {$VERSION} 14 {if isset($CONTACT_MAIL)} 15 - <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|translate|@escape:url}">{'Contact webmaster'|translate}</a> 16 {/if} 17 {if isset($TOGGLE_MOBILE_THEME_URL)} 18 - {'View in'|translate} : <a href="{$TOGGLE_MOBILE_THEME_URL}">{'Mobile'|translate}</a> | <b>{'Desktop'|translate}</b> 19 {/if} 20 21 {if isset($footer_elements)} 22 {foreach from=$footer_elements item=elt} 23 {$elt} 24 {/foreach} 25 {/if} 26 </div>{* <!-- copyright --> *} 20 27 21 {if isset($footer_elements)}22 {foreach from=$footer_elements item=v}23 {$v}24 {/foreach}25 {/if}26 </div> {* copyright *}27 28 {if isset($debug.QUERIES_LIST)} 28 29 <div id="debug"> 29 {$debug.QUERIES_LIST}30 {$debug.QUERIES_LIST} 30 31 </div> 31 32 {/if} 32 </div>{* the_page *} 33 </div>{* <!-- the_page --> *} 34 35 <!-- BEGIN get_combined --> 36 {get_combined_scripts load='footer'} 37 <!-- END get_combined --> 38 33 39 </body> 34 40 </html> -
trunk/themes/default/template/header.tpl
r19233 r28690 2 2 <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> 3 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">4 <meta charset="{$CONTENT_ENCODING}"> 5 5 <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> 6 {if isset($meta_ref) } 6 7 {if isset($meta_ref)} 7 8 {if isset($INFO_AUTHOR)} 8 <meta name="author" content="{$INFO_AUTHOR| @strip_tags:false|@replace:'"':' '}">9 <meta name="author" content="{$INFO_AUTHOR|strip_tags:false|replace:'"':' '}"> 9 10 {/if} 10 11 {if isset($related_tags)} … … 12 13 {/if} 13 14 {if isset($COMMENT_IMG)} 14 <meta name="description" content="{$COMMENT_IMG| @strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">15 <meta name="description" content="{$COMMENT_IMG|strip_tags:false|replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> 15 16 {else} 16 17 <meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}"> 17 18 {/if} 18 19 {/if} 20 19 21 <title>{if $PAGE_TITLE!=l10n('Home') && $PAGE_TITLE!=$GALLERY_TITLE}{$PAGE_TITLE} | {/if}{$GALLERY_TITLE}</title> 20 22 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> 21 23 22 <link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" > 23 <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" > 24 {if isset($first.U_IMG) }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if} 25 {if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if} 26 {if isset($next.U_IMG) }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if} 27 {if isset($last.U_IMG) }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if} 28 {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if} 24 <link rel="start" title="{'Home'|translate}" href="{$U_HOME}" > 25 <link rel="search" title="{'Search'|translate}" href="{$ROOT_URL}search.php" > 29 26 30 {get_combined_css} 27 {if isset($first.U_IMG) }<link rel="first" title="{'First'|translate}" href="{$first.U_IMG}" >{/if} 28 {if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|translate}" href="{$previous.U_IMG}" >{/if} 29 {if isset($next.U_IMG) }<link rel="next" title="{'Next'|translate}" href="{$next.U_IMG}" >{/if} 30 {if isset($last.U_IMG) }<link rel="last" title="{'Last'|translate}" href="{$last.U_IMG}" >{/if} 31 {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|translate}" href="{$U_UP}" >{/if} 32 33 {if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if} 34 {if isset($U_CANONICAL) }<link rel="canonical" href="{$U_CANONICAL}">{/if} 35 36 {if not empty($page_refresh)}<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if} 37 38 {strip} 31 39 {foreach from=$themes item=theme} 32 {if $theme.load_css} 33 {combine_css path="themes/`$theme.id`/theme.css" order=-10} 34 {/if} 35 {if !empty($theme.local_head)}{include file=$theme.local_head load_css=$theme.load_css}{/if} 40 {if $theme.load_css} 41 {combine_css path="themes/`$theme.id`/theme.css" order=-10} 42 {/if} 43 {if !empty($theme.local_head)} 44 {include file=$theme.local_head load_css=$theme.load_css} 45 {/if} 36 46 {/foreach} 37 47 48 {combine_script id="jquery" load="footer"} 49 {/strip} 38 50 39 {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if} 40 {if isset($U_CANONICAL)}<link rel="canonical" href="{$U_CANONICAL}">{/if} 41 42 {if not empty($page_refresh) }<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if} 51 <!-- BEGIN get_combined --> 52 {get_combined_css} 43 53 44 54 {get_combined_scripts load='header'} 55 <!-- END get_combined --> 56 45 57 <!--[if lt IE 7]> 46 58 <script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script> 47 59 <![endif]--> 48 60 49 {combine_script id="jquery" load="footer"}50 51 61 {if not empty($head_elements)} 52 {foreach from=$head_elements item=elt}{$elt} 53 {/foreach} 62 {foreach from=$head_elements item=elt} 63 {$elt} 64 {/foreach} 54 65 {/if} 55 56 66 </head> 57 67 58 68 <body id="{$BODY_ID}"> 69 59 70 <div id="the_page"> 60 71 61 72 {if not empty($header_msgs)} 62 73 <div class="header_msgs"> 63 64 65 74 {foreach from=$header_msgs item=elt} 75 {$elt}<br> 76 {/foreach} 66 77 </div> 67 78 {/if} 68 79 69 80 <div id="theHeader">{$PAGE_BANNER}</div> 70 {if isset($theSwiftHeader)}{$theSwiftHeader}{/if} 81 71 82 {if not empty($header_notes)} 72 83 <div class="header_notes"> 73 74 75 84 {foreach from=$header_notes item=elt} 85 <p>{$elt}</p> 86 {/foreach} 76 87 </div> 77 88 {/if}
Note: See TracChangeset
for help on using the changeset viewer.