Project

General

Profile

Bug #15031 » 1575_mod_setup.php.patch

Administrator Admin, 2007-10-19 22:11

View differences:

typo3/sysext/setup/mod/index.php (working copy)
*/
function main() {
global $BE_USER,$LANG,$BACK_PATH,$TBE_MODULES;
if ($this->languageUpdate) {
$this->doc->JScode.= '<script language="javascript" type="text/javascript">
top.refreshMenu();
......
$this->doc->JScode.= '<script language="javascript" type="text/javascript" src="'.$BACK_PATH.'md5.js"></script>';
$this->content.= $this->doc->startPage($LANG->getLL('UserSettings'));
$this->content.= $this->doc->header($LANG->getLL('UserSettings').' - ['.$BE_USER->user['username'].']');
// Load available backend modules
$this->loadModules = t3lib_div::makeInstance('t3lib_loadModules');
$this->loadModules->observeWorkspaces = TRUE;
......
$this->loadModules = t3lib_div::makeInstance('t3lib_loadModules');
$this->loadModules->observeWorkspaces = TRUE;
$this->loadModules->load($TBE_MODULES);
// CSH general:
$this->content.= t3lib_BEfunc::cshItem('_MOD_user_setup', '', $GLOBALS['BACK_PATH'],'|');
......
$code[6][1] = $this->setLabel('helpText');
$code[6][2] = '<input type="checkbox" name="data[helpText]"'.($BE_USER->uc['helpText']?' checked="checked"':'').' />';
$code[7][1] = $this->setLabel('maxTitleLen','titleLen');
$code[7][2] = '<input type="text" name="data[titleLen]" value="'.$BE_USER->uc['titleLen'].'"'.$GLOBALS['TBE_TEMPLATE']->formWidth(5).' maxlength="5" />';
$code[7][2] = '<input type="text" name="data[titleLen]" value="'.$BE_USER->uc['titleLen'].'"'.$GLOBALS['TBE_TEMPLATE']->formWidth(3).' maxlength="3" />';
$this->content.=$this->doc->section($LANG->getLL('opening').':',$this->doc->table($code),0,1);
(1-1/3)