Changeset 6230 for extensions/PWG_Stuffs


Ignore:
Timestamp:
May 18, 2010, 8:49:08 PM (14 years ago)
Author:
patdenice
Message:

Corrections

Location:
extensions/PWG_Stuffs
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/admin/add_module.php

    r3609 r6230  
    118118  $template->assign(array(
    119119    'STUFFS_TITLE' => l10n('stuffs_add_mod'),
    120     'MODULE_NAME' => l10n('module_name_' . $type),
     120    'MODULE_NAME' => l10n('module_name_' . strtolower($type)),
    121121    'show_title_CHECKED' => 'checked="checked"',
    122122    'on_home_CHECKED' => 'checked="checked"'));
  • extensions/PWG_Stuffs/admin/functions.inc.php

    r4540 r6230  
    99            if (is_dir($path) and !is_link($path)) {
    1010                $modules[$file] = array('type' => $file,
    11                     'name' => l10n('module_name_' . $file),
    12                     'description' => l10n('module_desc_' . $file));
     11                    'name' => l10n('module_name_' . strtolower($file)),
     12                    'description' => l10n('module_desc_' . strtolower($file)));
    1313            }
    1414        }
  • extensions/PWG_Stuffs/include/class.inc.php

    r5727 r6230  
    9595        $block['U_EDIT'] = PHPWG_ROOT_PATH.'admin.php?page=plugin&section='.STUFFS_DIR.'%2Fadmin%2Fadd_module.php&type='.$module['type'].'&edit='.$module['id'];
    9696      }
    97       $block['TEMPLATE'] = 'stuffs_'.$module['type'].'.tpl';
     97      $block['TEMPLATE'] = 'stuffs_'.strtolower($module['type']).'.tpl';
    9898        $this->set_tpl_block($block, $module);
    9999    }
Note: See TracChangeset for help on using the changeset viewer.