Ignore:
Timestamp:
Feb 26, 2011, 4:28:24 PM (14 years ago)
Author:
patdenice
Message:

Add display option. Optimizations.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/admin/edit_module.inc.php

    r9369 r9383  
    1616  'MODULE_NAME' => $module['name'],
    1717  'DESC_VALUE' => (isset($module['descr']) ? $module['descr'] : ''),
    18   'show_title_CHECKED' => ($module['show_title'] == 'true' ? 'checked="checked"' : ''),
    19   'on_home_CHECKED' => ($module['on_home'] == 'true' ? 'checked="checked"' : ''),
    20   'on_cats_CHECKED' => ($module['on_cats'] == 'true' ? 'checked="checked"' : ''),
    21   'on_picture_CHECKED' => ($module['on_picture'] == 'true' ? 'checked="checked"' : ''),
     18  'show_title_CHECKED' => ($module['show_title'] == 'true'),
     19  )
     20);
     21
     22$template->assign('selected_options', array(
     23  'on_home' => ($module['on_home'] == 'true'),
     24  'on_root' => ($module['on_root'] == 'true'),
     25  'on_cats' => ($module['on_cats'] == 'true'),
     26  'on_picture' => ($module['on_picture'] == 'true'),
    2227  )
    2328);
     
    2530$module_path = $module['path'];
    2631
    27 include('add_module.php');
     32include('add_module.inc.php');
    2833
    2934?>
Note: See TracChangeset for help on using the changeset viewer.