{strip} {combine_css path=$ADMINTOOLS_PATH|cat:'template/style.css'} {combine_css path='admin/themes/default/fontello/css/fontello.css'} {combine_css path=$ADMINTOOLS_PATH|cat:'template/fontello/css/fontello-ato.css'} {if isset($ato.QUICK_EDIT)} {**} {combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js'} {combine_css id='colorbox' path='themes/default/js/plugins/colorbox/style2/colorbox.css'} {if isset($ato.IS_PICTURE)} {**} {combine_script id='jquery.tokeninput' load='footer' require='jquery' path='themes/default/js/plugins/jquery.tokeninput.js'} {combine_css path='themes/default/js/plugins/jquery.tokeninput.css'} {**} {combine_script id='jquery.ui.datepicker' load='footer' path='themes/default/js/ui/jquery.ui.datepicker.js'} {assign var=datepicker_language value='themes/default/js/ui/i18n/jquery.ui.datepicker-'|cat:$lang_info.code|cat:'.js'} {if 'PHPWG_ROOT_PATH'|constant|cat:$datepicker_language|file_exists} {combine_script id='jquery.ui.datepicker-'|cat:$lang_info.code load='footer' path=$datepicker_language} {/if} {combine_css path='themes/default/js/ui/theme/jquery.ui.core.css'} {combine_css path='themes/default/js/ui/theme/jquery.ui.theme.css'} {combine_css path='themes/default/js/ui/theme/jquery.ui.datepicker.css'} {/if} {/if} {combine_script id='admintools.controller' load='footer' require='jquery' path=$ADMINTOOLS_PATH|cat:'template/public_controller.js'} {/strip} {footer_script require='admintools.controller'} AdminTools.urlWS = '{$ROOT_URL}ws.php?format=json&method='; AdminTools.urlSelf = '{$ato.U_SELF}'; {if isset($ato.MULTIVIEW)} AdminTools.multiView = { view_as: {$ato.MULTIVIEW.view_as}, theme: '{$ato.MULTIVIEW.theme}', lang: '{$ato.MULTIVIEW.lang}' }; {/if} {if $ato.DELETE_CACHE} AdminTools.deleteCache(); {/if} AdminTools.init({intval($ato.DEFAULT_OPEN)}); {if isset($themeconf.mobile) and $themeconf.mobile} AdminTools.initMobile(); {/if} {if isset($ato.U_SET_REPRESENTATIVE)} AdminTools.initRepresentative({$current.id}, {$ato.CATEGORY_ID}); {/if} {if isset($ato.U_CADDIE) and isset($ato.IS_PICTURE)} AdminTools.initCaddie({$current.id}); {/if} {if isset($ato.QUICK_EDIT)} AdminTools.initQuickEdit({intval(isset($ato.IS_PICTURE))}, { hintText: '{'Type in a search term'|translate|escape:javascript}', noResultsText: '{'No results'|translate|escape:javascript}', searchingText: '{'Searching...'|translate|escape:javascript}', newText: ' ({'new'|translate|escape:javascript})' }); {/if} {/footer_script}
{if isset($ato.QUICK_EDIT)}
{if isset($ato.QUICK_EDIT.img)}{/if} {'Cancel'|translate}
{if isset($ato.IS_PICTURE)} {if isset($available_permission_levels)} {/if} {/if}
{/if}