source: extensions/AStat/admin/astat_tools.tpl @ 3394

Last change on this file since 3394 was 3394, checked in by grum, 11 years ago

Add plugin AStat 2.0.4

  • Property svn:executable set to *
File size: 4.9 KB
Line 
1{literal}
2<script type="text/javascript">
3 
4 function enabled_purge()
5 {
6        var objconfirm = document.getElementById('purge_history_confirm');
7        var objdate = document.getElementById('purge_history_date');
8        var objbutton = document.getElementById('purge_history_button');
9        var objtype0 = document.getElementById('purge_history_type0');
10       
11
12        if(((objconfirm.checked==true)&&(objtype0.checked==true)&&(objdate.value.length==10))||
13           ((objconfirm.checked==true)&&(objtype0.checked==false)))
14        { objbutton.disabled=false; } else { objbutton.disabled=true; }
15 }
16
17 function enabled_deleted_picture()
18 {
19        var objconfirm = document.getElementById('deleted_picture_confirm_resync');
20        var objbutton = document.getElementById('deleted_picture_resync_button');
21
22        if(objconfirm.checked==true)
23        { objbutton.disabled=false; } else { objbutton.disabled=true; }
24 }
25
26</script>
27{/literal}
28
29{$datas.ASTAT_RESULT_OK}
30
31<fieldset class='formtable'>
32        <legend>{'AStat_tools_general_nfo'|@translate}</legend>
33        <p>{$datas.ASTAT_GENERAL_NFO}</p>
34</fieldset>
35
36
37
38<form method="post" action="" class="general">
39  <fieldset class='formtable'>
40    <legend>{'AStat_tools_deleted_user'|@translate}</legend>
41    <p>{'AStat_tools_deleted_user_nfo0'|@translate}</p>
42    <p>{$datas.ASTAT_DELETED_USER_NFO}</p>
43    {if isset($datas.AStat_deleted_user_submit) and $datas.AStat_deleted_user_submit == 'yes'}
44      <p class='formtable'>
45        <input type="submit" value="{'AStat_tools_deleted_user_apply'|@translate}" name="apply_tool_deleted_user"/>
46      </p>
47    {/if}
48  </fieldset>
49</form>
50
51
52<fieldset class='formtable'>
53        <legend>{'AStat_tools_deleted_picture'|@translate}</legend>
54        <p>{'AStat_tools_deleted_picture_nfo0'|@translate}</p>
55        <p>{$datas.ASTAT_DELETED_PICTURE_NFO}</p>
56        <form method="post" action="" class="general">
57                { if isset($datas.AStat_deleted_picture_submit0) and $datas.AStat_deleted_picture_submit0 == 'yes'}
58      <p class='formtable'>
59        <input type="submit" value="{'AStat_tools_deleted_picture_apply'|@translate}" name="apply_tool_deleted_picture"/>
60      </p>
61                {/if}
62        </form>
63        <hr/>
64        <p>{'AStat_tools_deleted_picture_nfo3'|@translate}</p>
65       
66        <form method="post" action="" class="general">
67                <p>
68      <label>
69        <input type="radio" value="prepare" name="fAStat_tools_deleted_picture_action" id="deleted_picture0" {$datas.ASTAT_DELETED_PICTURE_PREPARE} >&nbsp;
70        {'AStat_tools_deleted_picture_prepare_action'|@translate}
71      </label><br>
72                  <label>
73        <input type="radio" value="apply" name="fAStat_tools_deleted_picture_action" id="deleted_picture1" {$datas.ASTAT_DELETED_PICTURE_DO_ACTION} >&nbsp;
74        {'AStat_tools_deleted_picture_do_action'|@translate}{$datas.ASTAT_DELETED_PICTURE_NFO_NB}
75      </label>
76    </p>
77                <p class='formtable'>
78                        <input type="checkbox" id="deleted_picture_confirm_resync" onclick="enabled_deleted_picture();"/>
79                        <input type="submit" value="{'AStat_tools_deleted_picture_do'|@translate}" name="apply_tool_deleted_picture_resync" id="deleted_picture_resync_button" disabled />
80                </p>
81        </form>
82</fieldset>
83
84
85<fieldset class='formtable'>
86        <legend>{'AStat_tools_deleted_category'|@translate}</legend>
87        <p>{'AStat_tools_deleted_category_nfo0'|@translate}</p>
88        <p>{$datas.ASTAT_DELETED_CATEGORY_NFO}</p>
89        <form method="post" action="" class="general">
90                {if isset($datas.AStat_deleted_category_submit0) and $datas.AStat_deleted_category_submit0=='yes'}
91                <p class='formtable'>
92                        <input type="submit" value="{'AStat_tools_deleted_category_apply'|@translate}" name="apply_tool_deleted_category"/>
93                </p>
94                {/if}
95        </form>
96</fieldset>
97
98
99<fieldset class='formtable'>
100        <legend>{'AStat_tools_purge_history'|@translate}</legend>
101        <p>{'AStat_tools_purge_history_nfo'|@translate}</p>
102        <form method="post" action="" class="general">
103                <p>
104      <label>
105        <input type="radio" value="bydate" name="fAStat_purge_history_type" id="purge_history_type0" checked onclick="enabled_purge();">&nbsp;
106        {'AStat_tools_purge_history_date'|@translate}
107      </label>
108
109      <input type="text" id="purge_history_date" name="fAStat_purge_history_date" value="" maxlength=10 onchange="enabled_purge();"/><br>
110
111      <label>
112        <input type="radio" value="byimageid0" name="fAStat_purge_history_type" id="purge_history_type1" onclick="enabled_purge();" {$datas.ASTAT_PURGE_HISTORY_IMAGE_DISABLED} >&nbsp;
113        {$datas.ASTAT_PURGE_HISTORY_IMAGE_NFO}
114      </label>
115      <br>
116
117      <label>
118        <input type="radio" value="bycategoryid0" name="fAStat_purge_history_type" id="purge_history_type2" onclick="enabled_purge();" {$datas.ASTAT_PURGE_HISTORY_CATEGORY_DISABLED}>&nbsp;
119        {$datas.ASTAT_PURGE_HISTORY_CATEGORY_NFO}
120      </label>
121    </p>
122
123    <p class='formtable'>
124      <input type="checkbox" id="purge_history_confirm" onclick="enabled_purge();"/>
125      <input type="submit" value="{'AStat_tools_purge_history_apply'|@translate}" name="apply_tool_purge_history" id="purge_history_button" disabled />
126    </p>
127
128        </form>
129</fieldset>
130
Note: See TracBrowser for help on using the repository browser.