Changeset 2231 for trunk/template
- Timestamp:
- Mar 1, 2008, 2:12:07 PM (16 years ago)
- Location:
- trunk/template/yoga
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/index.tpl
r2222 r2231 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 3 {MENUBAR} 1 {* $Id$ *} 2 {$MENUBAR} 4 3 <div id="content"> 5 4 <div class="titrePage"> 6 5 <ul class="categoryActions"> 7 6 <li> </li> 8 <!-- BEGIN preferred_image_order -->7 {if !empty($image_orders) } 9 8 <li> 10 { lang:Sort order}:9 {'Sort order'|@translate}: 11 10 <select onchange="document.location = this.options[this.selectedIndex].value;"> 12 <!-- BEGIN order -->13 <option value="{ preferred_image_order.order.URL}" {preferred_image_order.order.SELECTED_OPTION}>{preferred_image_order.order.DISPLAY}</option>14 <!-- END order -->11 {foreach from=$image_orders item=image_order } 12 <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}}>{$image_order.DISPLAY}</option> 13 {/foreach} 15 14 </select> 16 15 </li> 17 <!-- END preferred_image_order -->16 {/if} 18 17 19 <!-- BEGIN caddie -->20 <li><a href="{ caddie.URL}" title="{lang:add to caddie}"><img src="{pwg_root}{themeconf:icon_dir}/caddie_add.png" class="button" alt="{lang:caddie}"/></a></li>21 <!-- END caddie -->18 {if isset($U_CADDIE) } 19 <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/></a></li> 20 {/if} 22 21 23 <!-- BEGIN edit -->24 <li><a href="{ edit.URL}" title="{lang:edit category informations}"><img src="{pwg_root}{themeconf:icon_dir}/category_edit.png" class="button" alt="{lang:edit}"/></a></li>25 <!-- END edit -->22 {if isset($U_EDIT) } 23 <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li> 24 {/if} 26 25 27 <!-- BEGIN search_rules -->28 <li><a href="{ search_rules.URL}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{lang:Search rules}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>29 <!-- END search_rules -->26 {if isset($U_SEARCH_RULES) } 27 <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"></a></li> 28 {/if} 30 29 31 <!-- BEGIN slideshow -->32 <li><a href="{ slideshow.URL}" title="{lang:slideshow}"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{lang:slideshow}"/></a></li>33 <!-- END slideshow -->30 {if isset($U_SLIDESHOW) } 31 <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li> 32 {/if} 34 33 35 <!-- BEGIN mode_normal -->36 <li><a href="{ mode_normal.URL}" title="{lang:mode_normal_hint}"><img src="{pwg_root}{themeconf:icon_dir}/normal_mode.png" class="button" alt="{lang:mode_normal_hint}"></a></li>37 <!-- END mode_normal -->34 {if isset($U_MODE_FLAT) } 35 <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}"></a></li> 36 {/if} 38 37 39 <!-- BEGIN flat -->40 <li><a href="{ flat.URL}" title="{lang:mode_flat_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/flat.png" class="button" alt="{lang:mode_flat_hint}"></a></li>41 <!-- END flat -->38 {if isset($U_MODE_NORMAL) } 39 <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}"></a></li> 40 {/if} 42 41 43 <!-- BEGIN mode_posted --> 44 <li><a href="{mode_posted.URL}" title="{lang:mode_posted_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/calendar.png" class="button" alt="{lang:mode_posted_hint}"></a></li> 45 <!-- END mode_posted --> 46 <!-- BEGIN mode_created --> 47 <li><a href="{mode_created.URL}" title="{lang:mode_created_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/calendar_created.png" class="button" alt="{lang:mode_created_hint}"></a></li> 48 <!-- END mode_created --> 49 {PLUGIN_INDEX_ACTIONS} 42 {if isset($U_MODE_POSTED) } 43 <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}"></a></li> 44 {/if} 45 46 {if isset($U_MODE_CREATED) } 47 <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}"></a></li> 48 {/if} 49 50 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} 50 51 </ul> 51 52 52 <h2>{ TITLE}</h2>53 <!-- BEGIN calendar --> 54 <!-- BEGIN views -->55 <div class="calendarViews">{ lang:calendar_view}:53 <h2>{$TITLE}</h2> 54 55 {if isset($chronology_views) } 56 <div class="calendarViews">{'calendar_view'|@translate}: 56 57 <select onchange="document.location = this.options[this.selectedIndex].value;"> 57 <!-- BEGIN view -->58 <option value="{ calendar.views.view.VALUE}" {calendar.views.view.SELECTED}>{calendar.views.view.CONTENT}</option>59 <!-- END view -->58 {foreach from=$chronology_views item=view} 59 <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}}>{$view.CONTENT}</option> 60 {/foreach} 60 61 </select> 61 62 </div> 62 <!-- END views --> 63 <!-- END calendar --> 63 {/if} 64 64 65 <!-- BEGIN calendar -->66 <h2>{ calendar.TITLE}</h2>67 <!-- END calendar -->65 {if isset($chronology.TITLE) } 66 <h2>{$chronology.TITLE}</h2> 67 {/if} 68 68 69 69 </div> <!-- titrePage --> 70 70 71 { PLUGIN_INDEX_CONTENT_BEGIN}71 {if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} 72 72 73 <!-- BEGIN category_search_results --> 74 <div style="font-size:16px;text-align:left;margin:10px">{lang:Category results for} <strong>{QUERY_SEARCH}</strong> : <em><strong>{category_search_results.CONTENT}</strong></em></div> 75 <!-- END category_search_results --> 76 <!-- BEGIN tag_search_results --> 77 <div style="font-size:16px;text-align:left;margin:10px">{lang:Tag results for} <strong>{QUERY_SEARCH}</strong> : <em><strong>{tag_search_results.CONTENT}</strong></em></div> 78 <!-- END tag_search_results --> 73 {if !empty($category_search_results) } 74 <div style="font-size:16px;text-align:left;margin:10px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 75 <em><strong> 76 {foreach from=$category_search_results item=res name=res_loop} 77 {if !$smarty.foreach.res_loop.first} — {/if} 78 {$res} 79 {/foreach} 80 </strong></em> 81 </div> 82 {/if} 83 84 {if !empty($tag_search_results) } 85 <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 86 <em><strong> 87 {foreach from=$tag_search_results item=res name=res_loop} 88 {if !$smarty.foreach.res_loop.first} — {/if} 89 {$res} 90 {/foreach} 91 </strong></em> 92 </div> 93 {/if} 94 95 {if isset($FILE_CHRONOLOGY_VIEW) } 96 {include file=$FILE_CHRONOLOGY_VIEW} 97 {/if} 98 99 {if !empty($CATEGORIES) }{$CATEGORIES}{/if} 100 {if !empty($THUMBNAILS) }{$THUMBNAILS}{/if} 79 101 80 102 81 <!-- BEGIN calendar --> 82 <!-- BEGIN navbar --> 83 <div class="calendarBar"> 84 <!-- BEGIN prev --> 85 <div style="float:left">« <a href="{calendar.navbar.prev.URL}">{calendar.navbar.prev.LABEL}</a></div> 86 <!-- END prev --> 87 <!-- BEGIN next --> 88 <div style="float:right"><a href="{calendar.navbar.next.URL}">{calendar.navbar.next.LABEL}</a> »</div> 89 <!-- END next --> 90 {calendar.navbar.BAR} 103 {if !empty($NAV_BAR) } 104 <div class="navigationBar"> 105 {$NAV_BAR} 91 106 </div> 92 <!-- END navbar --> 107 {/if} 93 108 94 <!-- BEGIN calbar --> 95 <div class="calendarCalBar">{calendar.calbar.BAR}</div> 96 <!-- END calbar --> 97 <!-- END calendar --> 98 99 {MONTH_CALENDAR} 100 {CATEGORIES} 101 {THUMBNAILS} 102 103 <!-- BEGIN cat_infos --> 104 <!-- BEGIN navigation --> 105 <div class="navigationBar"> 106 {cat_infos.navigation.NAV_BAR} 109 {if !empty($CONTENT_DESCRIPTION) } 110 <div class="additional_info"> 111 {$CONTENT_DESCRIPTION} 107 112 </div> 108 <!-- END navigation --> 109 <!-- BEGIN comment --> 110 <div class="additional_info">{cat_infos.comment.COMMENTS}</div> 111 <!-- END comment --> 112 <!-- END cat_infos --> 113 {/if} 113 114 114 115 115 { PLUGIN_INDEX_CONTENT_END}116 {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if} 116 117 </div> <!-- content --> -
trunk/template/yoga/mainpage_categories.tpl
r2222 r2231 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- BEGIN categories --> 3 <!-- $Id$ --> 1 {* $Id$ *} 2 4 3 <ul class="thumbnailCategories"> 5 <!-- BEGIN category -->4 {foreach from=$category_thumbnails item=cat} 6 5 <li> 7 6 <div class="thumbnailCategory"> 8 7 <div class="illustration"> 9 <a href="{ categories.category.URL}">10 <img src="{ categories.category.SRC}" alt="{categories.category.ALT}" title="{categories.category.TITLE}">8 <a href="{$cat.URL}"> 9 <img src="{$cat.TN_SRC}" alt="{$cat.ALT}" title="{'hint_category'|@translate}"> 11 10 </a> 12 11 </div> 13 12 <div class="description"> 14 13 <h3> 15 <a href="{ categories.category.URL}">{categories.category.NAME}</a>16 { categories.category.ICON}14 <a href="{$cat.URL}">{$cat.NAME}</a> 15 {$cat.ICON} 17 16 </h3> 18 <!-- BEGIN dates -->19 <p>{ categories.category.dates.INFO}</p>20 <!-- END dates -->21 <p>{ categories.category.CAPTION_NB_IMAGES} </p>22 <p>{ categories.category.DESCRIPTION} </p>17 {if isset($cat.INFO_DATES) } 18 <p>{$cat.INFO_DATES}</p> 19 {/if} 20 <p>{$cat.CAPTION_NB_IMAGES}</p> 21 <p>{$cat.DESCRIPTION}</p> 23 22 </div> 24 23 </div> 25 24 </li> 26 <!-- END category -->25 {/foreach} 27 26 </ul> 28 <!-- END categories --> 27 -
trunk/template/yoga/menubar.tpl
r2222 r2231 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 2 3 3 <div id="menubar"> 4 <!-- BEGIN links --> 4 {if not empty($links)} 5 5 <dl id="mbLinks"> 6 <dt>{lang:Links}</dt> 7 <dd> 8 <ul> 9 <!-- BEGIN link --> 10 <li> 11 <a href="{links.link.URL}" 12 <!-- BEGIN new_window --> 13 onclick="window.open(this.href, 14 '{links.link.new_window.name}', 15 '{links.link.new_window.features}' 16 ); return false;" 17 <!-- END new_window --> 18 >{links.link.LABEL} 19 </a> 20 </li> 21 <!-- END link --> 22 </ul> 6 <dt>{'Links'|@translate}</dt> 7 <dd> 8 <ul> 9 {foreach from=$links item=link} 10 <li> 11 <a href="{$link.URL}" 12 {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME|@escape:'javascript'}','{$link.new_window.FEATURES|@escape:'javascript'}'); return false;"{/if} 13 > 14 {$link.LABEL} 15 </a> 16 </li> 17 {/foreach}{*links*} 18 </ul> 19 </dd> 20 </dl> 21 {/if}{*links*} 22 23 {if isset($U_START_FILTER)} 24 <a href="{$U_START_FILTER}" title="{'start_filter_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="{'start_filter_hint'|@translate}"></a> 25 {/if} 26 {if isset($U_STOP_FILTER)} 27 <a href="{$U_STOP_FILTER}" title="{'stop_filter_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="{'stop_filter_hint'|@translate}"></a> 28 {/if} 29 30 <dl id="mbCategories"> 31 <dt><a href="{$U_CATEGORIES}">{'Categories'|@translate}</a></dt> 32 <dd> 33 {$MENU_CATEGORIES_CONTENT} 34 {if isset($U_UPLOAD)} 35 <ul><li> 36 <a href="{$U_UPLOAD}">{'upload_picture'|@translate}</a> 37 </li></ul> 38 {/if} 39 <p class="totalImages">{$NB_PICTURE} {'total'|@translate}</p> 23 40 </dd> 24 41 </dl> 25 <!-- END links -->26 <!-- BEGIN start_filter -->27 <a href="{start_filter.URL}" title="{lang:start_filter_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/start_filter.png" class="button" alt="{lang:start_filter_hint}"></a>28 <!-- END start_filter -->29 <!-- BEGIN stop_filter -->30 <a href="{stop_filter.URL}" title="{lang:stop_filter_hint}"><img src="{pwg_root}{themeconf:icon_dir}/stop_filter.png" class="button" alt="{lang:stop_filter_hint}"></a>31 <!-- END stop_filter -->32 <dl id="mbCategories">33 <dt><a href="{U_CATEGORIES}">{lang:Categories}</a></dt>34 <dd>35 {MENU_CATEGORIES_CONTENT}36 <!-- BEGIN upload -->37 <ul><li>38 <a href="{upload.U_UPLOAD}">{lang:upload_picture}</a>39 </li></ul>40 <!-- END upload -->41 <p class="totalImages">{NB_PICTURE} {lang:total}</p>42 </dd>43 42 43 44 {if not empty($related_tags)} 45 <dl id="mbTags"> 46 <dt>{'Related tags'|@translate}</dt> 47 <dd> 48 <ul id="menuTagCloud"> 49 {foreach from=$related_tags item=tag} 50 <li> 51 {if !empty($tag.add) } 52 <a href="{$tag.add.URL}" 53 title="{$pwg->l10n_dec('%d picture are also linked to current tags', '%d pictures are also linked to current tags', $tag.add.COUNTER)}" 54 rel="nofollow"> 55 <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> 56 </a> 57 {/if} 58 <a href="{$tag.U_TAG}" class="{$tag.CLASS}" title="{'See pictures linked to this tag only'|@translate}">{$tag.NAME}</a> 59 </li> 60 {/foreach} 61 </ul> 62 </dd> 63 </dl> 64 {/if} 65 66 67 <dl id="mbSpecial"> 68 <dt>{'special_categories'|@translate}</dt> 69 <dd> 70 <ul> 71 {foreach from=$special_categories item=cat} 72 <li><a href="{$cat.URL}" title="{$cat.TITLE}" {if isset($cat.REL)}{$cat.REL}{/if}>{$cat.NAME}</a></li> 73 {/foreach} 74 </ul> 75 </dd> 44 76 </dl> 45 77 46 <!-- BEGIN tags --> 47 <dl id="mbTags"> 48 <dt>{lang:Related tags}</dt> 49 <dd> 50 <ul id="menuTagCloud"> 51 <!-- BEGIN tag --> 52 <li> 53 <!-- BEGIN add --> 54 <a href="{tags.tag.add.URL}" title="{tags.tag.add.TITLE}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/add_tag.png" alt="+"></a> 55 <!-- END add --> 56 <a href="{tags.tag.URL}" class="{tags.tag.CLASS}" title="{tags.tag.TITLE}">{tags.tag.NAME}</a> 57 </li> 58 <!-- END tag --> 59 </ul> 60 </dd> 78 79 <dl id="mbMenu"> 80 <dt>{'title_menu'|@translate}</dt> 81 <dd> 82 <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch"> 83 <p> 84 <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" /> 85 </p> 86 </form> 87 <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script> 88 89 <ul> 90 {foreach from=$summaries item=sum} 91 <li><a href="{$sum.U_SUMMARY}" title="{$sum.TITLE}" {if isset($sum.REL)}{$sum.REL}{/if}>{$sum.NAME}</a></li> 92 {/foreach} 93 </ul> 94 </dd> 61 95 </dl> 62 <!-- END tags -->63 96 64 <dl id="mbSpecial">65 <dt>{lang:special_categories}</dt>66 <dd>67 <ul>68 <!-- BEGIN special_cat -->69 <li><a href="{special_cat.URL}" title="{special_cat.TITLE}" {special_cat.REL}>{special_cat.NAME}</a></li>70 <!-- END special_cat -->71 </ul>72 </dd>73 </dl>74 <dl id="mbMenu">75 <dt>{lang:title_menu}</dt>76 <dd>77 <!-- BEGIN summary -->78 <!-- BEGIN quick_search -->79 <form action="{pwg_root}qsearch.php" method="get" id="quicksearch">80 <p>81 <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" />82 </p>83 </form>84 <script type="text/javascript">var qsearch_prompt="{lang:qsearch}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>85 <!-- END quick_search -->86 <!-- END summary -->87 <ul>88 <!-- BEGIN summary -->89 <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}" {summary.REL}>{summary.NAME}</a></li>90 <!-- END summary -->91 97 92 </ul>93 </dd>94 </dl>95 98 <dl id="mbIdentification"> 96 <dt>{lang:identification}</dt> 97 <dd> 98 <!-- BEGIN hello --> 99 <p>{lang:hello} {USERNAME} !</p> 100 <!-- END hello --> 101 <ul> 102 <!-- BEGIN register --> 103 <li><a href="{U_REGISTER}" title="{lang:Create a new account}" rel="nofollow">{lang:Register}</a></li> 104 <!-- END register --> 105 <!-- BEGIN login --> 106 <li><a href="{F_IDENTIFY}" rel="nofollow">{lang:Connection}</a></li> 107 <!-- END login --> 108 <!-- BEGIN logout --> 109 <li><a href="{U_LOGOUT}">{lang:logout}</a></li> 110 <!-- END logout --> 111 <!-- BEGIN profile --> 112 <li><a href="{U_PROFILE}" title="{lang:hint_customize}">{lang:customize}</a></li> 113 <!-- END profile --> 114 <!-- BEGIN admin --> 115 <li><a href="{U_ADMIN}" title="{lang:hint_admin}">{lang:admin}</a></li> 116 <!-- END admin --> 117 </ul> 118 <!-- BEGIN quickconnect --> 119 <form method="post" action="{F_IDENTIFY}" class="filter" id="quickconnect"> 120 <fieldset> 121 <legend>{lang:Quick connect}</legend> 99 <dt>{'identification'|@translate}</dt> 100 <dd> 101 {if isset($USERNAME)} 102 <p>{'hello'|@translate} {$USERNAME} !</p> 103 {/if} 104 105 <ul> 106 {if isset($U_REGISTER)} 107 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li> 108 {/if} 122 109 123 <label> 124 {lang:Username} 125 <input type="text" name="username" size="15" value=""> 126 </label> 110 {if isset($U_IDENTIFY)} 111 <li><a href="{$U_IDENTIFY}" rel="nofollow">{'Connection'|@translate}</a></li> 112 {/if} 127 113 128 <label> 129 {lang:Password} 130 <input type="password" name="password" size="15"> 131 </label> 114 {if isset($U_LOGOUT)} 115 <li><a href="{$U_LOGOUT}">{'logout'|@translate}</a></li> 116 {/if} 132 117 133 <!-- BEGIN remember_me --> 134 <label> 135 {lang:remember_me} 136 <input type="checkbox" name="remember_me" value="1"> 137 </label> 138 <!-- END remember_me --> 118 {if isset($U_PROFILE)} 119 <li><a href="{$U_PROFILE}" title="{'hint_customize'|@translate}">{'customize'|@translate}</a></li> 120 {/if} 139 121 140 <p> 141 <input class="submit" type="submit" name="login" value="{lang:submit}">142 </p> 143 <ul class="actions">144 <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li> 145 <!-- BEGIN register --> 146 <li><a href="{U_REGISTER}" title="{lang:Create a new account}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/register.png" class="button" alt="{lang:register}"/></a></li>147 <!-- END register -->148 </ul>122 {if isset($U_ADMIN)} 123 <li><a href="{$U_ADMIN}" title="{'hint_admin'|@translate}">{'admin'|@translate}</a></li> 124 {/if} 125 </ul> 126 127 {if isset($U_IDENTIFY)} 128 <form method="post" action="{$U_IDENTIFY}" class="filter" id="quickconnect"> 129 <fieldset> 130 <legend>{'Quick connect'|@translate}</legend> 149 131 150 </fieldset> 151 </form> 152 <!-- END quickconnect --> 132 <label> 133 {'Username'|@translate} 134 <input type="text" name="username" size="15" value=""> 135 </label> 136 137 <label> 138 {'Password'|@translate} 139 <input type="password" name="password" size="15"> 140 </label> 141 142 {if $AUTHORIZE_REMEMBERING} 143 <label> 144 {'remember_me'|@translate} 145 <input type="checkbox" name="remember_me" value="1"> 146 </label> 147 {/if} 148 <p> 149 <input class="submit" type="submit" name="login" value="{'submit'|@translate}"> 150 </p> 151 152 <ul class="actions"> 153 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> 154 {if isset($U_REGISTER)} 155 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'register'|@translate}"/></a></li> 156 {/if} 157 </ul> 158 159 </fieldset> 160 </form> 161 {/if} 153 162 154 163 </dd> -
trunk/template/yoga/month_calendar.tpl
r2222 r2231 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- BEGIN calendar --> 3 <!-- $Id$ --> 4 <!-- BEGIN thumbnails --> 1 {* $Id$ *} 2 3 {if !empty($chronology_navigation_bars) } 4 {foreach from=$chronology_navigation_bars item=bar} 5 <div class="calendarBar"> 6 {if isset($bar.previous)} 7 <div style="float:left">« <a href="{$bar.previous.URL}">{$bar.previous.LABEL}</a></div> 8 {/if} 9 {if isset($bar.next)} 10 <div style="float:right"><a href="{$bar.next.URL}">{$bar.next.LABEL}</a> »</div> 11 {/if} 12 {if isset($bar.CONTENT)} 13 {$bar.CONTENT} 14 {else} 15 16 {/if} 17 </div> 18 {/foreach} 19 {/if} 20 21 {if !empty($chronology_calendar.calendar_bars) } 22 {foreach from=$chronology_calendar.calendar_bars item=bar} 23 <div class="calendarCalBar"> 24 <span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a> ({$bar.NB_IMAGES})</span><br/> 25 {$bar.NAV_BAR} 26 </div> 27 {/foreach} 28 {/if} 29 30 {if isset($chronology_calendar.month_view) } 5 31 <table class="calMonth"> 6 <!-- BEGIN head --> 7 <thead><tr> 8 <!-- BEGIN col --> 9 <td class="calDayHead">{calendar.thumbnails.head.col.LABEL}</td> 10 <!-- END col --> 11 </tr></thead> 12 <!-- END head --> 13 <!-- BEGIN row --> 32 <thead> 14 33 <tr> 15 <!-- BEGIN col --> 16 <!-- BEGIN blank --> 17 <td class="calDayCellBlank" style="width:{calendar.thumbnails.WIDTH}px;height:{calendar.thumbnails.HEIGHT}px;"> 18 <!-- END blank --> 19 <!-- BEGIN empty --> 20 <td class="calDayCellEmpty" style="width:{calendar.thumbnails.WIDTH}px;height:{calendar.thumbnails.HEIGHT}px;">{calendar.thumbnails.row.col.empty.LABEL} 21 <!-- END empty --> 22 <!-- BEGIN full --> 23 <td class="calDayCellFull"><div class="calBackDate">{calendar.thumbnails.row.col.full.LABEL}</div><div class="calForeDate">{calendar.thumbnails.row.col.full.LABEL}</div> 24 <div class="calImg" style="width:{calendar.thumbnails.WIDTH}px;height:{calendar.thumbnails.HEIGHT}px;"><a href="{calendar.thumbnails.row.col.full.U_IMG_LINK}"> 25 <img style="{calendar.thumbnails.row.col.full.STYLE}" {calendar.thumbnails.row.col.full.IMG_WIDTH} {calendar.thumbnails.row.col.full.IMG_HEIGHT} 26 src="{calendar.thumbnails.row.col.full.IMAGE}" alt="{calendar.thumbnails.row.col.full.IMAGE_ALT}" 27 title="{calendar.thumbnails.row.col.full.IMAGE_ALT}"> 28 </a></div> 29 <!-- END full --> 30 </td> 31 <!-- END col --> 34 {foreach from=$chronology_calendar.month_view.wday_labels item=wday} 35 <td class="calDayHead">{$wday}</td> 36 {/foreach} 32 37 </tr> 33 <!-- END row --> 38 </thead> 39 40 {foreach from=$chronology_calendar.month_view.weeks item=week} 41 <tr> 42 {foreach from=$week item=day} 43 {if !empty($day)} 44 {if isset($day.IMAGE)} 45 <td class="calDayCellFull"> 46 <div class="calBackDate">{$day.DAY}</div><div class="calForeDate">{$day.DAY}</div> 47 <div class="calImg" style="width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px;"> 48 <a href="{$day.U_IMG_LINK}"> 49 <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$day.IMAGE_ALT}" /> 50 </a> 51 </div> 52 {else} 53 <td class="calDayCellEmpty" style="width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px;">{$day.DAY} 54 {/if} 55 {else} 56 <td class="calDayCellBlank" style="width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px;"> 57 {/if} 58 </td> 59 {/foreach} {*day in week*} 60 </tr> 61 {/foreach} {*week in month*} 34 62 </table> 35 <!-- END thumbnails --> 36 <!-- END calendar --> 63 {/if} 64
Note: See TracChangeset
for help on using the changeset viewer.