Ignore:
Timestamp:
05/09/07 13:27:34 (13 years ago)
Author:
gogo
Message:

Add config item to allow the advanced image options to be hidden from the user.
ticket:1023

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/manager.php

    r770 r830  
    4242</script> 
    4343<script type="text/javascript" src="<?php print $IMConfig['base_url'];?>assets/manager.js"></script> 
     44<?php 
     45  if(!$IMConfig['show_full_options']) 
     46  { 
     47    ?> 
     48    <style type="text/css"> 
     49      .fullOptions { visibility:hidden; } 
     50    </style> 
     51    <?php 
     52  } 
     53?> 
    4454</head> 
    4555<body> 
     
    127137      </div> 
    128138    </td> 
    129     <th align="left">Margin:</th> 
    130     <td colspan="3"> 
     139    <th align="left" class="fullOptions">Margin:</th> 
     140    <td colspan="3" class="fullOptions"> 
    131141      <input name="f_margin" type="text" id="f_margin" size="3" /> 
    132142      px </td> 
     
    138148      <input name="f_height" type="text" id="f_height" size="4" /> 
    139149    </td> 
    140     <th align="left">Padding:</th> 
    141     <td> 
     150    <th align="left"  class="fullOptions">Padding:</th> 
     151    <td  class="fullOptions"> 
    142152      <input name="f_padding" type="text" id="f_padding" size="3" /> 
    143153      px </td> 
    144     <th align="left">Color:</th> 
    145     <td> 
     154    <th align="left"  class="fullOptions">Color:</th> 
     155    <td  class="fullOptions"> 
    146156      <input name="f_backgroundColor" type="text" id="f_backgroundColor" size="7" /> 
    147157      
     
    150160 
    151161 
    152   <tr> 
     162  <tr class="fullOptions"> 
    153163    <th align="left">Alignment:</th> 
    154164    <td colspan="2"> 
Note: See TracChangeset for help on using the changeset viewer.