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

import theme Simple version 2.2

  • fix the calendar's pages
  • update picture.tpl (download, favorites, metadata, rating)
  • change the way to hide blocks in JS, without <noscript>, thanks to VDigital & nicolas
  • update jquery to 1.4.2
  • remove standard deviation for votes
File:
1 edited

Legend:

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

    r13547 r13548  
    1818  {$MENUBAR}
    1919  <div id="subcontent">
     20    {if isset($chronology.TITLE) }
     21    <h2>{$chronology.TITLE}</h2>
     22    {/if}
     23    {if isset($chronology_views) }
     24    {if isset($U_MODE_POSTED) }
     25    <a href="{$U_MODE_POSTED}" rel="nofollow">{'display a calendar by posted date'|@translate}</a>
     26    {/if}
     27    {if isset($U_MODE_CREATED) }
     28    <a href="{$U_MODE_CREATED}" rel="nofollow">{'display a calendar by creation date'|@translate}</a>
     29    {/if}
     30    <div class="calendarViews">{'View'|@translate}:
     31    <select onchange="document.location = this.options[this.selectedIndex].value;">
     32      {foreach from=$chronology_views item=view}
     33      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
     34      {/foreach}
     35    </select>
     36    </div>
     37    {/if}
     38
    2039    {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
    2140    {if !empty($category_search_results) }
     
    4059    </p>
    4160    {/if}
     61    {if isset($FILE_CHRONOLOGY_VIEW) }
     62      {include file=$FILE_CHRONOLOGY_VIEW}
     63    {/if}
     64
    4265    {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
    4366    {if !empty($THUMBNAILS) }<div id="thumbnails">{$THUMBNAILS}</div>{/if}
     
    4871  {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
    4972</div> <!-- content -->
     73
Note: See TracChangeset for help on using the changeset viewer.