Changeset 27065 for extensions/AStat/admin
- Timestamp:
- Jan 30, 2014, 10:01:15 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AStat/admin/astat_tools.tpl
r16490 r27065 1 {include file='include/datepicker.inc.tpl'} 1 2 2 {combine_script id="jquery.ui" path="themes/default/js/ui/jquery.ui.core.js"} 3 {combine_script id="jquery.ui.datepicker" path="themes/default/js/ui/jquery.ui.datepicker.js"} 4 {assign var="datepicker_language" value="themes/default/js/ui/i18n/jquery.ui.datepicker-"|@cat:$lang_info.code|@cat:".js"} 5 6 7 {if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists} 8 {combine_script id="jquery.ui.datepicker-$lang_info.code" path=$datepicker_language} 9 {/if} 10 11 {html_head} 12 <link rel="stylesheet" type="text/css" href="themes/default/js/ui/theme/jquery.ui.datepicker.css"> 13 {/html_head} 14 15 {literal} 16 <script type="text/javascript"> 3 {footer_script}{literal} 17 4 18 5 function enabled_purge() … … 20 7 re = /\d{2}\/\d{2}\/\d{4}/i; 21 8 22 if(($('#purge_history_confirm'). attr('checked')&&$('#purge_history_type0').attr('checked')&&re.test($('#purge_history_date').val()))||23 ($('#purge_history_confirm'). attr('checked')&&!$('#purge_history_type0').attr('checked')))9 if(($('#purge_history_confirm').is(':checked')&&$('#purge_history_type0').is(':checked')&&re.test($('#purge_history_date').val()))|| 10 ($('#purge_history_confirm').is(':checked')&&!$('#purge_history_type0').is(':checked'))) 24 11 { 25 12 $('#purge_history_button').attr('disabled', false); … … 36 23 var objbutton = document.getElementById('deleted_picture_resync_button'); 37 24 38 if($('#deleted_picture_confirm_resync'). attr('checked'))25 if($('#deleted_picture_confirm_resync').is(':checked')) 39 26 { 40 27 $('deleted_picture_resync_button').attr('disabled', false); … … 57 44 } 58 45 59 </script> 60 {/literal} 46 init(); 47 48 {/literal}{/footer_script} 61 49 62 50 {if isset($datas.ASTAT_RESULT_OK)}{$datas.ASTAT_RESULT_OK}{/if} … … 88 76 <p>{$datas.ASTAT_DELETED_PICTURE_NFO}</p> 89 77 <form method="post" action="" class="general"> 90 { 78 {if isset($datas.AStat_deleted_picture_submit0) and $datas.AStat_deleted_picture_submit0 == 'yes'} 91 79 <p class='formtable'> 92 80 <input type="submit" value="{'AStat_tools_deleted_picture_apply'|@translate}" name="apply_tool_deleted_picture"/> … … 167 155 </form> 168 156 </fieldset> 169 170 <script type="text/javascript">171 init();172 </script>
Note: See TracChangeset
for help on using the changeset viewer.