Changeset 5423 for extensions/AStat/admin
- Timestamp:
- Mar 28, 2010, 6:55:48 PM (14 years ago)
- Location:
- extensions/AStat/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AStat/admin/astat_admin.tpl
r3394 r5423 1 <div class="titrePage">2 <h2 style="position:absolute;right:0px;top:32px;height:auto;font-size:12px;font-weight:normal;">:: {$plugin.ASTAT_VERSION} ::</h2>3 <h2>{'AStat_title_page'|@translate} <span style="font-size:-1;font-weight:normal;">{$TABSHEET_TITLE}</span></h2>4 1 2 <h2 style="float:right;top:-24px;position:relative;height:auto;font-size:12px;font-weight:normal;">{$plugin.ASTAT_VERSION}</h2> 3 4 5 <div style="position:relative;top:-24px;clear:right;"> 5 6 {$tabsheet} 7 8 {if isset($datas)} 9 <p>{$datas.ASTAT_NFO_STAT}</p> 10 11 <h3>{$datas.L_STAT_TITLE}</h3> 12 13 {if isset($f_AStat_catfilter_list_values) and count($f_AStat_catfilter_list_values) 14 and isset($plugin.ASTAT_PAGE) and $plugin.ASTAT_PAGE != "config" and $plugin.ASTAT_PAGE != "tools"} 15 <center> 16 <form method="GET" action="{$plugin.ASTAT_LINK}" class="general"> 17 18 {if isset($f_AStat_parameters) and count($f_AStat_parameters)} 19 {foreach from=$f_AStat_parameters key=name item=data} 20 <INPUT type="hidden" name="{$data.NAME}" value="{$data.VALUE}"> 21 {/foreach} 22 {/if} 23 <fieldset> 24 <legend>{'AStat_catfilter_list'|@translate}</legend> 25 <select name="fAStat_catfilter" onchange="this.form.submit();"> 26 {html_options values=$f_AStat_catfilter_list_values output=$f_AStat_catfilter_list_labels selected=$f_AStat_catfilter_selected} 27 </select> 28 </fieldset> 29 </form> 30 </center> 31 {/if} 32 33 {/if} 34 35 6 36 </div> 7 37 8 {if isset($datas)}9 {$datas.ASTAT_NFO_STAT}10 <h3>{$datas.L_STAT_TITLE}</h3>11 38 12 {if isset($f_AStat_catfilter_list_values) and count($f_AStat_catfilter_list_values)13 and isset($plugin.ASTAT_PAGE) and $plugin.ASTAT_PAGE != "config" and $plugin.ASTAT_PAGE != "tools"}14 <center>15 <form method="GET" action="{$plugin.ASTAT_LINK}" class="general">16 39 17 {if isset($f_AStat_parameters) and count($f_AStat_parameters)}18 {foreach from=$f_AStat_parameters key=name item=data}19 <INPUT type="hidden" name="{$data.NAME}" value="{$data.VALUE}">20 {/foreach}21 {/if}22 <fieldset>23 <legend>{'AStat_catfilter_list'|@translate}</legend>24 <select name="fAStat_catfilter" onchange="this.form.submit();">25 {html_options values=$f_AStat_catfilter_list_values output=$f_AStat_catfilter_list_labels selected=$f_AStat_catfilter_selected}26 </select>27 </fieldset>28 </form>29 </center>30 {/if}31 40 32 {/if}33 41 34 42 {$ASTAT_BODY_PAGE} -
extensions/AStat/admin/astat_tools.tpl
r4269 r5423 1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/ui.core.packed.js"}2 {known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"t emplate-common/lib/ui/ui.datepicker.packed.js"}3 {assign var="datepicker_language" value="t emplate-common/lib/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"}1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 2 {known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.datepicker.packed.js"} 3 {assign var="datepicker_language" value="themes/default/js/ui/packed/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"} 4 4 5 5 {if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists} … … 19 19 20 20 if(($('#purge_history_confirm').attr('checked')&&$('#purge_history_type0').attr('checked')&&re.test($('#purge_history_date').val()))|| 21 ($('#purge_history_confirm').attr('checked')&&! ('#purge_history_type0').attr('checked')))21 ($('#purge_history_confirm').attr('checked')&&!$('#purge_history_type0').attr('checked'))) 22 22 { 23 $('#purge_history_button').attr('disabled', true);23 $('#purge_history_button').attr('disabled', false); 24 24 } 25 25 else 26 26 { 27 $('#purge_history_button').attr('disabled', false);27 $('#purge_history_button').attr('disabled', true); 28 28 } 29 29 }
Note: See TracChangeset
for help on using the changeset viewer.