* @subpackage prefs
*/
+/** This is the options page */
+define('PAGE_NAME', 'options');
+
/**
* Include the SquirrelMail initialization file.
*/
/* Finally, display whatever page we are supposed to show now. */
/***************************************************************/
-displayPageHeader($color, 'None', (isset($optpage_data['xtra']) ? $optpage_data['xtra'] : ''));
+displayPageHeader($color, null, (isset($optpage_data['xtra']) ? $optpage_data['xtra'] : ''));
/*
* The main option page has a different layout then the rest of the option
// This is the only variable that is needed by *just* the template.
$oTemplate->assign('options', $optpage_data['options']);
- global $ask_user_info;
- if ( $optpage = SMOPT_PAGE_PERSONAL && $ask_user_info
+ global $ask_user_info, $org_name;
+ if ( $optpage == SMOPT_PAGE_PERSONAL && $ask_user_info
&& getPref($data_dir, $username,'email_address') == "" ) {
$oTemplate->assign('topmessage',
- _("Welcome to SquirrelMail. Please supply your full name and email address.") );
+ sprintf(_("Welcome to %s. Please supply your full name and email address."), $org_name) );
}
/**