Changeset 2273 for trunk/template/yoga
- Timestamp:
- Mar 11, 2008, 2:51:47 AM (16 years ago)
- Location:
- trunk/template/yoga/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/admin/group_list.tpl
r2222 r2273 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div class="titrePage"> 4 3 <ul class="categoryActions"> 5 <li><a href="{ U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>4 <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> 6 5 </ul> 7 <h2>{ lang:title_groups}</h2>6 <h2>{'title_groups'|@translate}</h2> 8 7 </div> 9 8 10 <form method="post" name="add_user" action="{ F_ADD_ACTION}" class="properties">9 <form method="post" name="add_user" action="{$F_ADD_ACTION}" class="properties"> 11 10 <fieldset> 12 <legend>{ lang:Add group}</legend>11 <legend>{'Add group'|@translate}</legend> 13 12 14 13 <span class="property"> 15 <label for="groupname">{ lang:Group name}</label>14 <label for="groupname">{'Group name'|@translate}</label> 16 15 </span> 17 16 <input type="text" id="groupname" name="groupname" maxlength="50" size="20" /> 18 17 19 18 <p> 20 <input class="submit" type="submit" name="submit_add" value="{ lang:Add}" {TAG_INPUT_ENABLED}/>19 <input class="submit" type="submit" name="submit_add" value="{'Add'|@translate}" {$TAG_INPUT_ENABLED}/> 21 20 </p> 22 21 </fieldset> … … 25 24 <table class="table2"> 26 25 <tr class="throw"> 27 <th>{ lang:Group name}</th>28 <th>{ lang:Members}</th>29 <th>{ lang:Actions}</th>26 <th>{'Group name'|@translate}</th> 27 <th>{'Members'|@translate}</th> 28 <th>{'Actions'|@translate}</th> 30 29 </tr> 31 <!-- BEGIN group --> 32 <tr class="{group.CLASS}"> 33 <td>{group.NAME}<i><small>{group.IS_DEFAULT}</small></i></td> 34 <td><a href="{group.U_MEMBERS}">{group.MEMBERS}</a></td> 30 {if not empty($groups)} 31 {foreach from=$groups item=group name=group_loop} 32 <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}"> 33 <td>{$group.NAME}<i><small>{$group.IS_DEFAULT}</small></i></td> 34 <td><a href="{$group.U_MEMBERS}">{$group.MEMBERS}</a></td> 35 35 <td style="text-align:center;"> 36 <a href="{ group.U_PERM}">37 <img src="{ themeconf:icon_dir}/permissions.png" class="button" style="border:none" id="btn_permissions" alt="{lang:permissions}" title="{lang:permissions}" /></a>38 <a href="{ group.U_DELETE}" onclick="return confirm('{lang:Action: }' + document.getElementById('btn_delete').title + '\n\n' + '{lang:Are you sure?}');">39 <img src="{ themeconf:icon_dir}/delete.png" class="button" style="border:none" id="btn_delete" alt="{lang:delete}" title="{lang:delete}" {TAG_INPUT_ENABLED}/></a>40 <a href="{ group.U_ISDEFAULT}" onclick="return confirm('{lang:Action: }' + document.getElementById('btn_toggle_is_default_group').title + '\n\n' + '{lang:Are you sure?}');">41 <img src="{ themeconf:icon_dir}/toggle_is_default_group.png" class="button" style="border:none" id="btn_toggle_is_default_group" alt="{lang:toggle_is_default_group}" title="{lang:toggle_is_default_group}" {TAG_INPUT_ENABLED}/></a>36 <a href="{$group.U_PERM}"> 37 <img src="{$ROOT_URL}{$themeconf.icon_dir}/permissions.png" class="button" style="border:none" id="btn_permissions" alt="{'permissions'|@translate}" title="{'permissions'|@translate}" /></a> 38 <a href="{$group.U_DELETE}" onclick="return confirm( document.getElementById('btn_delete').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> 39 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" style="border:none" id="btn_delete" alt="{'delete'|@translate}" title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}/></a> 40 <a href="{$group.U_ISDEFAULT}" onclick="return confirm( document.getElementById('btn_toggle_is_default_group').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> 41 <img src="{$ROOT_URL}{$themeconf.icon_dir}/toggle_is_default_group.png" class="button" style="border:none" id="btn_toggle_is_default_group" alt="{'toggle_is_default_group'|@translate}" title="{'toggle_is_default_group'|@translate}" {$TAG_INPUT_ENABLED}/></a> 42 42 </td> 43 43 </tr> 44 <!-- END group --> 44 {/foreach} 45 {/if} 45 46 </table> -
trunk/template/yoga/admin/group_perm.tpl
r2222 r2273 1 <!-- DEV TAG: not smarty migrated --> 2 <h2>{ TITLE}</h2>1 {* $Id *} 2 <h2>{$TITLE}</h2> 3 3 4 <form method="post" action="{ F_ACTION}">5 { DOUBLE_SELECT}4 <form method="post" action="{$F_ACTION}"> 5 {$DOUBLE_SELECT} 6 6 </form> 7 7 8 <p>{ lang:Only private categories are listed}</p>8 <p>{'Only private categories are listed'|@translate}</p> -
trunk/template/yoga/admin/site_manager.tpl
r2222 r2273 1 <!-- DEV TAG: not smarty migrated --> 2 <!-- $Id$ --> 1 {* $Id$ *} 3 2 <div class="titrePage"> 4 3 <ul class="categoryActions"> 5 <li><a href="{ U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>4 <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> 6 5 </ul> 7 <h2>{ lang:Site manager}</h2>6 <h2>{'Site manager'|@translate}</h2> 8 7 </div> 9 8 10 <!-- BEGIN remote_output --> 9 {if not empty($remote_output)} 11 10 <div class="remoteOutput"> 12 11 <ul> 13 <!-- BEGIN remote_line -->14 <li class="{ remote_output.remote_line.CLASS}">{remote_output.remote_line.CONTENT}</li>15 <!-- END remote_line -->12 {foreach from=$remote_output item=remote_line} 13 <li class="{$remote_line.CLASS}">{$remote_line.CONTENT}</li> 14 {/foreach} 16 15 </ul> 17 16 </div> 18 <!-- END remote_output --> 17 {/if} 19 18 20 <!-- BEGIN local_listing --> 21 { lang:remote_site_local_found} {local_listing.URL}22 <!-- BEGIN create --> 23 <form action=" " method="post">19 {if isset($local_listing)} 20 {'remote_site_local_found'|@translate} {$local_listing.URL} 21 {if isset($local_listing.CREATE)} 22 <form action="{$F_ACTION}" method="post"> 24 23 <p> 25 { lang:remote_site_local_create}:24 {'remote_site_local_create'|@translate}: 26 25 <input type="hidden" name="no_check" value="1"/> 27 <input type="hidden" name="galleries_url" value="{ local_listing.URL}" />28 <input type="submit" name="submit" value="{ lang:submit}" {TAG_INPUT_ENABLED} />26 <input type="hidden" name="galleries_url" value="{$local_listing.URL}" /> 27 <input type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /> 29 28 </p> 30 29 </form> 31 <!-- END create --> 32 <!-- BEGIN update --> 33 <a href="{local_listing.update.U_SYNCHRONIZE}" title="{lang:remote_site_local_update}">{lang:site_synchronize}</a> 34 <!-- END update --> 35 <!-- END local_listing --> 30 {/if} 31 {if isset($local_listing.U_SYNCHRONIZE)} 32 <a href="{$local_listing.U_SYNCHRONIZE}" title="{'remote_site_local_update'|@translate}">{'site_synchronize'|@translate}</a> 33 <br/><br/> 34 {/if} 35 {/if} 36 36 37 <!-- BEGIN sites --> 37 {if not empty($sites)} 38 38 <table border="1" cellpadding="0" cellspacing="0"> 39 <!-- BEGIN site -->40 <tr align="left"><td>41 <a href="{ sites.site.NAME}">{sites.site.NAME}</a><br>({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:Categories}, {sites.site.IMAGES} {lang:picture}s)39 {foreach from=$sites item=site} 40 <tr style="text-align:left"><td> 41 <a href="{$site.NAME}">{$site.NAME}</a><br/>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)}) 42 42 </td><td> 43 [<a href="{ sites.site.U_SYNCHRONIZE}" title="{lang:site_synchronize_hint}">{lang:site_synchronize}</a>]44 <!-- BEGIN delete -->45 [<a href="{ sites.site.delete.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"46 title="{ lang:site_delete_hint}" {TAG_INPUT_ENABLED}>{lang:site_delete}</a>]47 <!-- END delete -->48 <!-- BEGIN remote -->49 <br >50 [<a href="{ sites.site.remote.U_TEST}" title="{lang:remote_site_test_hint}" {TAG_INPUT_ENABLED}>{lang:remote_site_test}</a>]51 [<a href="{ sites.site.remote.U_GENERATE}" title="{lang:remote_site_generate_hint}" {TAG_INPUT_ENABLED}>{lang:remote_site_generate}</a>]52 [<a href="{ sites.site.remote.U_CLEAN}" title="{lang:remote_site_clean_hint}" {TAG_INPUT_ENABLED}>{lang:remote_site_clean}</a>]53 <!-- END remote -->54 <!-- BEGIN plugin_links -->43 [<a href="{$site.U_SYNCHRONIZE}" title="{'site_synchronize_hint'|@translate}">{'site_synchronize'|@translate}</a>] 44 {if isset($site.U_DELETE)} 45 [<a href="{$site.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|escape:'javascript'}');" 46 title="{'site_delete_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'site_delete'|@translate}</a>] 47 {/if} 48 {if isset($site.remote)} 49 <br/> 50 [<a href="{$site.remote.U_TEST}" title="{'remote_site_test_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_test'|@translate}</a>] 51 [<a href="{$site.remote.U_GENERATE}" title="{'remote_site_generate_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_generate'|@translate}</a>] 52 [<a href="{$site.remote.U_CLEAN}" title="{'remote_site_clean_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_clean'|@translate}</a>] 53 {/if} 54 {if not empty($site.plugin_links)} 55 55 <br> 56 <!-- BEGIN plugin_link -->57 [<a href="{ sites.site.plugin_links.plugin_link.U_HREF}" title='{sites.site.plugin_links.plugin_link.U_HINT}' {TAG_INPUT_ENABLED}>{sites.site.plugin_links.plugin_link.U_CAPTION}</a>]58 <!-- END plugin_link -->59 <!-- END plugin_links -->56 {foreach from=$site.plugin_links item=plugin_link} 57 [<a href="{$plugin_link.U_HREF}" title='{$plugin_link.U_HINT}' {$TAG_INPUT_ENABLED}>{$plugin_link.U_CAPTION}</a>] 58 {/foreach} 59 {/if} 60 60 </td></tr> 61 <!-- END site -->61 {/foreach} 62 62 </table> 63 <!-- END sites --> 63 {/if} 64 64 65 <form action="{ F_ACTION}" method="post">65 <form action="{$F_ACTION}" method="post"> 66 66 <p> 67 <label for="galleries_url" >{ lang:site_create}</label>67 <label for="galleries_url" >{'site_create'|@translate}</label> 68 68 <input type="text" name="galleries_url" id="galleries_url" /> 69 69 </p> 70 70 <p> 71 <input class="submit" type="submit" name="submit" value="{ lang:submit}" {TAG_INPUT_ENABLED} />71 <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} /> 72 72 </p> 73 73 </form>
Note: See TracChangeset
for help on using the changeset viewer.