Changeset 13548 for extensions/simple_themes/simple/template
- Timestamp:
- Mar 14, 2012, 2:30:14 PM (12 years ago)
- Location:
- extensions/simple_themes/simple/template
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/simple_themes/simple/template/footer.tpl
r13547 r13548 17 17 {/if} 18 18 </div> <!-- the_page --> 19 <script type="text/javascript" src="{$ROOT_URL}themes/{$themeconf.theme_dir}/scripts.js"></script> 20 <script type="text/javascript" src="{$ROOT_URL}themes/{$themeconf.theme_dir}/js/jquery-1.3.2.min.js"></script> 19 <script type="text/javascript" src="{$ROOT_URL}themes/{$themeconf.theme_dir}/js/jquery-1.4.2.min.js"></script> 21 20 <script type="text/javascript" src="{$ROOT_URL}themes/{$themeconf.theme_dir}/js/scripts.js"></script> 22 21 {if isset($debug.QUERIES_LIST)} -
extensions/simple_themes/simple/template/header.tpl
r13547 r13548 41 41 <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}"> 42 42 {/if} 43 <noscript><style type="text/css">44 {literal}#menubar {display: block;} #theComments div {display: block;}{/literal}45 </style></noscript>46 43 {if not empty($head_elements)} 47 44 {foreach from=$head_elements item=elt}{$elt} 48 45 {/foreach} 49 46 {/if} 47 <script type="text/javascript"> 48 document.documentElement.className = 'js'; 49 </script> 50 50 </head> 51 51 <body id="{$BODY_ID}"> -
extensions/simple_themes/simple/template/index.tpl
r13547 r13548 18 18 {$MENUBAR} 19 19 <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 20 39 {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} 21 40 {if !empty($category_search_results) } … … 40 59 </p> 41 60 {/if} 61 {if isset($FILE_CHRONOLOGY_VIEW) } 62 {include file=$FILE_CHRONOLOGY_VIEW} 63 {/if} 64 42 65 {if !empty($CATEGORIES) }{$CATEGORIES}{/if} 43 66 {if !empty($THUMBNAILS) }<div id="thumbnails">{$THUMBNAILS}</div>{/if} … … 48 71 {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} 49 72 </div> <!-- content --> 73 -
extensions/simple_themes/simple/template/picture.tpl
r13546 r13548 2 2 <div class="imageNumber">{$PHOTO}</div> 3 3 {$SECTION_TITLE} 4 »<h2>{$current.TITLE}</h2>4 {$LEVEL_SEPARATOR} <h2>{$current.TITLE}</h2> 5 5 </div> <!-- imageHeaderBar --> 6 6 {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if} … … 47 47 <li><a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li> 48 48 {/if} 49 {if isset($U_METADATA) } 50 <li><a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow">{'Show file metadata'|@translate}</a></li> 51 {/if} 52 {if isset($current.U_DOWNLOAD) } 53 <li><a href="{$current.U_DOWNLOAD}" title="{'download this file'|@translate}">{'download'|@translate}</a></li> 54 {/if} 49 55 {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} 56 {if isset($favorite) } 57 <li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}">{$favorite.FAVORITE_HINT}</a></li> 58 {/if} 50 59 {if !empty($U_SET_AS_REPRESENTATIVE) } 51 60 <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as category representative'|@translate}">{'representative'|@translate}</a></li> … … 54 63 <li><a href="{$U_ADMIN}" title="{'Modify information'|@translate}">{'Modify information'|@translate}</a></li> 55 64 {/if} 56 <li><a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow">{'Show file metadata'|@translate}</a></li>57 65 </ul> 58 66 </div> … … 101 109 <dd>{$INFO_VISITS}</dd> 102 110 {/if} 103 {if isset($rate_summary)}111 {if $display_info.average_rate and isset($rate_summary) } 104 112 <dt>{'Average rate'|@translate}</dt> 105 113 <dd id="ratingSummary"> 106 114 {if $rate_summary.count} 107 {assign var='rate_text' value='%.2f (rated %d times , standard deviation = %.2f)'|@translate }108 {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count , $rate_summary.std) }115 {assign var='rate_text' value='%.2f (rated %d times)'|@translate } 116 {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count) } 109 117 {else} 110 118 {'no rate'|@translate} … … 131 139 updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", 132 140 updateRateElement: document.getElementById("updateRate"), 133 ratingSummaryText: "{'%.2f (rated %d times , standard deviation = %.2f)'|@translate|@escape:'javascript'}",141 ratingSummaryText: "{'%.2f (rated %d times)'|@translate|@escape:'javascript'}", 134 142 ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} ); 135 143 </script>
Note: See TracChangeset
for help on using the changeset viewer.