Changeset 30484 for extensions/greydragon/template/header.tpl
- Timestamp:
- Nov 14, 2014, 5:20:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/greydragon/template/header.tpl
r30210 r30484 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 6 {if $greydragon.p_nogenerator !== "on"} 5 7 <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> 6 {if isset($meta_ref) } 8 {/if} 9 {if isset($meta_ref)} 7 10 {if isset($INFO_AUTHOR)} 8 11 <meta name="author" content="{$INFO_AUTHOR|@strip_tags:false|@replace:'"':' '}"> … … 18 21 {/if} 19 22 <title>{if $PAGE_TITLE!=l10n('Home') && $PAGE_TITLE!=$GALLERY_TITLE}{$PAGE_TITLE} | {/if}{$GALLERY_TITLE}</title> 23 {if $greydragon.p_favicon_path} 24 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$greydragon.p_favicon_path}"> 25 {else} 20 26 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> 21 27 {/if} 22 28 <link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" > 23 29 <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" > … … 27 33 {if isset($last.U_IMG) }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if} 28 34 {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if} 29 30 35 {assign var=root value="themes/greydragon/css"} 31 36 {assign var=colorpack value=$root|cat:"/colorpack/"|cat:$greydragon.p_colorpack|cat:"/styles.css"} 32 33 37 {combine_css path="themes/greydragon/css/bootstrap.min.css" order=-100} 34 38 {combine_css path="themes/greydragon/css/styles.css" order=100} 35 39 {combine_css path="$colorpack" order=101} 36 37 40 {if count($greydragon.p_customcss) > 0 || $greydragon.p_lowertext == "on"} 38 41 {combine_css path="themes/greydragon/css/custom.css" order=101} … … 40 43 {combine_script id='greydragon.bootstrap' load='footer' require='jquery' path='themes/greydragon/js/bootstrap.min.js' order=98} 41 44 {combine_script id='greydragon.cookie' load='footer' require='jquery' path='themes/greydragon/js/jquery.cockie.js' order=99} 42 43 45 {if $SCRIPT_NAME|strstr:"picture.php"} 44 46 {assign var=includeMenu value="off" scope=root nocache} … … 56 58 {assign var=includeMenu value="on" scope=root nocache} 57 59 {/if} 58 59 60 {footer_script} 61 jQuery("div.infos").delay(8000).animate({ 'width': 'hide' }, 500, function(){ jQuery(this).hide(); }); 62 jQuery("div.warnings").delay(8000).animate({ 'width': 'hide' }, 500, function(){ jQuery(this).hide(); }); 63 jQuery("div.errors").click(function() { jQuery(this).animate({ 'width': 'hide' }, 500, function(){ jQuery(this).hide(); }); }); 60 64 {if $includeMenu=="on"} 61 65 {combine_script id='greydragon.scripts' load='footer' require='jquery' path='themes/greydragon/js/theme.menu.js' order=100} 62 63 66 {if isset({$greydragon.p_main_menu})} 64 67 var p_main_menu = "{$greydragon.p_main_menu}"; … … 69 72 var p_hideabout = "{$greydragon.p_hideabout}"; 70 73 {/if} 71 72 74 var p_pict_descr = "{$greydragon.p_pict_descr}"; 73 75 var p_pict_comment = "{$greydragon.p_pict_comment}"; 74 76 var p_pict_tab_anim = "{$greydragon.p_pict_tab_anim}"; 75 76 77 jQuery("#ato_header .parent:eq(0) ul").append('<li><a class="icon-brush" href="{$greydragon.U_SITE_ADMIN}theme&theme=greydragon">{'Theme Config'|translate}</a></li>'); 77 78 {/footer_script} 78 79 79 {get_combined_css} 80 80 {foreach from=$themes item=theme} … … 102 102 {/if} 103 103 </head> 104 <body id="{$BODY_ID}" class="{if $includeMenu=="on"}{$greydragon.p_main_menu}-menu{else}hide-menu{/if}{if $PAGE_BANNER}{else} no-header{/if} ">104 <body id="{$BODY_ID}" class="{if $includeMenu=="on"}{$greydragon.p_main_menu}-menu{else}hide-menu{/if}{if $PAGE_BANNER}{else} no-header{/if}{if $greydragon.p_nocounter == "on"} no-b-counter{/if}"> 105 105 <div id="the_page"> 106 106 {if not empty($header_msgs)}
Note: See TracChangeset
for help on using the changeset viewer.