Ignore:
Timestamp:
Mar 14, 2012, 2:34:13 PM (12 years ago)
Author:
plg
Message:

import theme Simple version 2.3

  • if cl_conflit is used, don't add jQuery.noConflict
  • fix the possibility to toggle visibility of image informations
  • show logout link when connected - thanks to gbo
  • update jquery to 1.4.4
  • backport commit from piwigo: r6244, r6430 & r6438
  • add gitignore
  • update javascripts + add script to combine/minify
  • apply r6594 from piwigo's trunk
  • move jquery in the header, using known_script
  • translation for the menu title
  • add 1px icon start_filter.png to avoid loading error with rvtree plugin
  • margin for error & info divs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/simple_themes/simple/template/header.tpl

    r13548 r13549  
    55  <meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
    66{if isset($meta_ref) }
    7 {if isset($INFO_AUTHOR)}
    8 <meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}">
    9 {/if}
    10 {if isset($related_tags)}
    11 <meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}">
    12 {/if}
    13 {if isset($COMMENT_IMG)}
    14 <meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
    15 {else}
    16 <meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
    17 {/if}
     7  {if isset($INFO_AUTHOR)}
     8  <meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}">
     9  {/if}
     10  {if isset($related_tags)}
     11  <meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}">
     12  {/if}
     13  {if isset($COMMENT_IMG)}
     14  <meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
     15  {else}
     16  <meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
     17  {/if}
    1818{/if}
    1919  <title>{$PAGE_TITLE} - {$GALLERY_TITLE}</title>
     
    2121  <link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
    2222  <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >
    23   {if isset($first.U_IMG)   }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if}
    24   {if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if}
    25   {if isset($next.U_IMG)    }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if}
    26   {if isset($last.U_IMG)    }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if}
    27   {if isset($U_UP)          }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if}
     23  {if isset($first.U_IMG)}
     24  <link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >
     25  {/if}
     26  {if isset($previous.U_IMG)}
     27  <link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >
     28  {/if}
     29  {if isset($next.U_IMG)}
     30  <link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >
     31  {/if}
     32  {if isset($last.U_IMG)}
     33  <link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >
     34  {/if}
     35  {if isset($U_UP)}
     36  <link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >
     37  {/if}
    2838
    2939  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/simple/content.css">
     
    3242  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css">
    3343  {/if}
    34   {if isset($theme.local_head)}{include file=$theme.local_head}{/if}
     44  {if !empty($theme.local_head)}{include file=$theme.local_head}{/if}
    3545  {/foreach}
    3646
    3747  {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if}
    38   {if not empty($page_refresh)}<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
     48  {if not empty($page_refresh)}
     49  <meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">
     50  {/if}
    3951  {if isset($U_FEED)}
    4052  <link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}">
     
    4557    {/foreach}
    4658  {/if}
     59  {known_script id="jquery" src=$ROOT_URL|@cat:"themes/simple/js/jquery-1.4.4.min.js"}
     60  {known_script id="simplescripts" src=$ROOT_URL|@cat:"themes/simple/js/scripts.min.js"}
    4761  <script type="text/javascript">
    4862    document.documentElement.className = 'js';
Note: See TracChangeset for help on using the changeset viewer.