Ignore:
Timestamp:
Nov 14, 2014, 5:20:26 AM (9 years ago)
Author:
SergeD
Message:

version 1.0.14 - please refer to changelog for details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/greydragon/template/header.tpl

    r30210 r30484  
    33<head>
    44<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"}
    57<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
    6 {if isset($meta_ref) }
     8{/if}
     9{if isset($meta_ref)}
    710{if isset($INFO_AUTHOR)}
    811<meta name="author" content="{$INFO_AUTHOR|@strip_tags:false|@replace:'"':' '}">
     
    1821{/if}
    1922<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}
    2026<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
    21 
     27{/if}
    2228<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
    2329<link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >
     
    2733{if isset($last.U_IMG)    }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if}
    2834{if isset($U_UP)          }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if}
    29 
    3035{assign var=root value="themes/greydragon/css"}
    3136{assign var=colorpack value=$root|cat:"/colorpack/"|cat:$greydragon.p_colorpack|cat:"/styles.css"}
    32 
    3337{combine_css path="themes/greydragon/css/bootstrap.min.css" order=-100}
    3438{combine_css path="themes/greydragon/css/styles.css" order=100}
    3539{combine_css path="$colorpack" order=101}
    36 
    3740{if count($greydragon.p_customcss) > 0 || $greydragon.p_lowertext == "on"}
    3841  {combine_css path="themes/greydragon/css/custom.css" order=101}
     
    4043{combine_script id='greydragon.bootstrap' load='footer' require='jquery' path='themes/greydragon/js/bootstrap.min.js' order=98}
    4144{combine_script id='greydragon.cookie' load='footer' require='jquery' path='themes/greydragon/js/jquery.cockie.js' order=99}
    42 
    4345{if $SCRIPT_NAME|strstr:"picture.php"}
    4446{assign var=includeMenu value="off" scope=root nocache}
     
    5658{assign var=includeMenu value="on" scope=root nocache}
    5759{/if}
    58 
    5960{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(); }); });
    6064{if $includeMenu=="on"}
    6165  {combine_script id='greydragon.scripts' load='footer' require='jquery' path='themes/greydragon/js/theme.menu.js' order=100}
    62 
    6366  {if isset({$greydragon.p_main_menu})}
    6467    var p_main_menu = "{$greydragon.p_main_menu}";
     
    6972  var p_hideabout = "{$greydragon.p_hideabout}";
    7073{/if}
    71 
    7274  var p_pict_descr = "{$greydragon.p_pict_descr}";
    7375  var p_pict_comment = "{$greydragon.p_pict_comment}";
    7476  var p_pict_tab_anim = "{$greydragon.p_pict_tab_anim}";
    75 
    7677  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>');
    7778{/footer_script}
    78 
    7979{get_combined_css}
    8080{foreach from=$themes item=theme}
     
    102102{/if}
    103103</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}">
    105105<div id="the_page">
    106106{if not empty($header_msgs)}
Note: See TracChangeset for help on using the changeset viewer.