Ignore:
Timestamp:
Mar 28, 2010, 6:55:48 PM (14 years ago)
Author:
grum
Message:

Update the plugin for compatibility with Piwigo 2.1 and fix some bugs
feature 1192, feature 1344

File:
1 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>
    41
     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;">
    56  {$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
    636</div>
    737
    8 {if isset($datas)}
    9   {$datas.ASTAT_NFO_STAT}
    10   <h3>{$datas.L_STAT_TITLE}</h3>
    1138
    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">
    1639
    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}
    3140
    32 {/if}
    3341
    3442{$ASTAT_BODY_PAGE}
Note: See TracChangeset for help on using the changeset viewer.