Changeset 25845 for extensions/AdminTools/template
- Timestamp:
- Dec 8, 2013, 2:53:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AdminTools/template/public_controller.tpl
r25839 r25845 33 33 {footer_script require='admintools.controller'} 34 34 AdminTools.urlWS = '{$ROOT_URL}ws.php?format=json&method='; 35 36 {if isset($ato.MULTIVIEW)} 35 37 AdminTools.multiView = { 36 38 view_as: {$ato.MULTIVIEW.view_as}, … … 38 40 lang: '{$ato.MULTIVIEW.lang}' 39 41 }; 42 {/if} 40 43 41 44 {if $ato.DELETE_CACHE} … … 67 70 <ul> 68 71 <li><a href="#" class="icon-ato-cancel close-panel"></a></li> 72 {if isset($ato.U_SITE_ADMIN)} 69 73 <li class="parent"><a href="#" class="icon-menu ato-hide-1">{'Administration'|translate}</a> 70 74 <ul> … … 77 81 </ul> 78 82 </li> 79 {if isset($ato.U_EDIT)} 83 {/if} 84 {if isset($ato.U_ADMIN_EDIT)} 80 85 <li class="parent"><a href="#" class="icon-pencil ato-hide-2">{'Edit'|translate}</a> 81 86 <ul> 82 87 <li><a href="#ato_quick_edit" class="icon-ato-flash edit-quick">{'Quick edit'|translate}</a></li> 83 <li><a class="icon-ato-doc-text-inv" href="{$ato.U_ EDIT}">{'Properties page'|translate}</a></li>84 {if isset($ato. IS_PICTURE)}85 <li style="margin-top:1em;"><a class="icon-ato-cancel" href="{$ato.U_ SELF}delete&pwg_token={$ato.PWG_TOKEN}" onclick="return confirm('{'Are you sure?'|translate|escape:javascript}')">{'delete photo'|translate|ucfirst}</a></li>88 <li><a class="icon-ato-doc-text-inv" href="{$ato.U_ADMIN_EDIT}">{'Properties page'|translate}</a></li> 89 {if isset($ato.U_DELETE)} 90 <li style="margin-top:1em;"><a class="icon-ato-cancel" href="{$ato.U_DELETE}" onclick="return confirm('{'Are you sure?'|translate|escape:javascript}')">{'delete photo'|translate|ucfirst}</a></li> 86 91 {/if} 87 92 </ul> 88 93 </li> 94 {else if isset($ato.QUICK_EDIT)} 95 <li><a href="#ato_quick_edit" class="icon-pencil edit-quick ato-hide-2">{'Edit'|translate}</a></li> 96 {if isset($ato.U_DELETE)} 97 <li><a class="icon-ato-cancel ato-hide-2" href="{$ato.U_DELETE}" onclick="return confirm('{'Are you sure?'|translate|escape:javascript}')">{'delete photo'|translate|ucfirst}</a></li> 98 {/if} 89 99 {/if} 90 100 {if isset($ato.U_SET_REPRESENTATIVE)} … … 99 109 <li class="saved"><span class="icon-ato-ok ato-hide-1">{'Saved'|translate}</span></li> 100 110 111 {if isset($ato.MULTIVIEW)} 101 112 <li class="parent right multiview"><a class="icon-cog-alt ato-hide-1" href="#">{'Tools'|translate}</a> 102 113 <ul> … … 118 129 </ul> 119 130 </li> 120 {if $ato.USER.id != $ato.MULTIVIEW.view_as}131 {if $ato.USER.id != $ato.MULTIVIEW.view_as} 121 132 <li class="right"> 122 133 {'Viewing as <b>%s</b>.'|translate:$ato.CURRENT_USERNAME} 123 134 <a href="{$ato.U_SELF}ato_view_as={$ato.USER.id}">{'Revert'|translate}</a> 124 135 </li> 136 {/if} 125 137 {/if} 126 138 </ul> … … 156 168 </select> 157 169 170 {if isset($available_permission_levels)} 158 171 <label for="quick_edit_level">{'Who can see this photo?'|@translate}</label> 159 172 <select name="level" size="1"> 160 173 {html_options options=$available_permission_levels selected=$ato.QUICK_EDIT.level} 161 174 </select> 175 {/if} 162 176 {/if} 163 177
Note: See TracChangeset
for help on using the changeset viewer.