Ignore:
Timestamp:
May 22, 2010, 10:35:40 PM (14 years ago)
Author:
repie38
Message:

conf panel new option : use montblancxl icon set (option can't be set if montblancxl isn't installed)

Location:
extensions/blancmontxl/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/blancmontxl/admin/admin.inc.php

    r6262 r6286  
    88  'picture',
    99  'other',
     10  'ico',
    1011);
    1112
     
    1617    $_POST['bmxl'][$option] = empty($_POST['bmxl'][$option]) ? false : true;
    1718  }
     19 
     20  $_POST['bmxl']['ico'] = file_exists('themes/montblancxl/icon/add_tag.png') ? $_POST['bmxl']['ico'] : false ;
    1821
    1922  $query = '
  • extensions/blancmontxl/admin/admin.tpl

    r6262 r6286  
    2424          <input type="checkbox" name="bmxl[other]" value="true" {if $bmxl.other}checked="checked"{/if}>
    2525        </li>
     26                 <li>
     27          <span class="property">{'Use MontBlancXL icon set'|@translate}</span>
     28          <input type="checkbox" name="bmxl[ico]" value="true" {if $bmxl.ico}checked="checked"{/if}>
     29        </li>
    2630      </ul>
    2731  </fieldset>
  • extensions/blancmontxl/admin/maintain.inc.php

    r6262 r6286  
    1212      'picture'    => false,
    1313      'other'      => true,
     14          'ico'        => false,
    1415      );
    1516     
Note: See TracChangeset for help on using the changeset viewer.