Ignore:
Timestamp:
Sep 20, 2010, 5:31:13 PM (14 years ago)
Author:
cljosse
Message:

[Autosize]Improvement theme compatibility.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/admin/template/admin.tpl

    r6936 r6978  
    4848  {assign var="visible" value="none"}
    4949{/if}
     50{if $check_auto_w == true}
     51     {assign var="visible_w" value="visible"}
     52  {else}
     53     {assign var="visible_w" value="hidden"}
     54{/if}
    5055<div class="titrePage">
    5156                <h2>{'Autosize'|translate} {'version'|translate}{$version}</h2>
     
    6267    <fieldset>
    6368        <legend class="cluetip" title="{'cl_autosize_config_title_1'|@translate}|{'cl_autosize_hlp_line1'|@translate}">{'cl_autosize_config_title_1'|@translate}</legend>
    64         <td>{'User status'|@translate}</td><td>{'cl_autosize_height'|@translate}</td><td style="visibility:hidden">{'width'|@translate}</td>
     69        <td>{'User status'|@translate}</td>
     70        <td>{'cl_autosize_height'|@translate}</td>
     71        <td style="visibility:visible">{'cl_autosize_width'|@translate}
     72         <input type="checkbox" name="check_auto_w" value="on"  {$check_auto_w}  /></td>
    6573        <tr>
    6674        <td>{'user_status_webmaster'|@translate}</td>
    6775        <td><input name="webmaster_height" id="Text7" type="text"  value ="{$webmaster_height}" /></td>
    68         <td style="visibility:hidden"><input name="webmaster_width" id="Text8" type="text"  value ="{$webmaster_width}" /></td>
     76        <td style="visibility:{$visible_w}"><input name="webmaster_width" id="Text8" type="text"  value ="{$webmaster_width}" /></td>
    6977        </tr>
    7078        <tr>
    7179        <td>{'user_status_admin'|@translate}</td>
    7280        <td><input name="admin_height" id="admin_height" type="text"  value ="{$admin_height}" /></td>
    73         <td style="visibility:hidden"><input name="admin_width" id="admin_width" type="text"  value ="{$admin_width}" /></td>
     81        <td style="visibility:{$visible_w}"><input name="admin_width" id="admin_width" type="text"  value ="{$admin_width}" /></td>
    7482        </tr>
    7583        <tr>
    7684        <td>{'user_status_generic'|@translate}</td>
    7785        <td><input name="generic_height" id="Text1" type="text"  value ="{$generic_height}" /></td>
    78         <td style="visibility:hidden"><input name="generic_width" id="Text2" type="text"  value ="{$generic_width}" /></td>
     86        <td style="visibility:{$visible_w}"><input name="generic_width" id="Text2" type="text"  value ="{$generic_width}" /></td>
    7987        </tr>
    8088        <tr>
    8189        <td>{'user_status_guest'|@translate}</td>
    8290        <td><input name="guest_height" id="Text3" type="text"  value ="{$guest_height}" /></td>
    83         <td style="visibility:hidden"><input name="guest_width" id="Text4" type="text"  value ="{$guest_width}" /></td>
     91        <td style="visibility:{$visible_w}"><input name="guest_width" id="Text4" type="text"  value ="{$guest_width}" /></td>
    8492        </tr>
    8593        <tr>
    8694        <td>{'user_status_normal'|@translate}</td>
    8795        <td><input name="normal_height" id="Text5" type="text"  value ="{$normal_height}" /></td>
    88         <td style="visibility:hidden"><input name="normal_width" id="Text6" type="text"  value ="{$normal_width}" /></td>
     96        <td style="visibility:{$visible_w}"><input name="normal_width" id="Text6" type="text"  value ="{$normal_width}" /></td>
    8997        </tr>
    9098
    9199  </fieldset>
    92100  </table>
     101
    93102<br />
    94103 <table id="table_d" style=" background:none;border:outset;width:90%; z-index:-500 " >
Note: See TracChangeset for help on using the changeset viewer.