Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_official / html / modules / admin / docs [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
04 Aug 2002 21:25:19postnuke_official/html/modules/admin/docsIntructions.txt,NONE,1.1.2.1John Cox
 added new admin

Update of /home/cvsroot/postnuke_official/html/modules/admin/docs
In directory ns7.hostnuke.net:/tmp/cvs-serv23117/html/modules/admin/docs

Added Files:
      Tag: PostNuke_71
	Intructions.txt 
Log Message:
added new admin


--- NEW FILE: Intructions.txt ---
-------------------------------------------------------------------------
Changes to make the new admin work.

First, initiate the module "admin".
The module will create a new post in the module_vars table in order to
be used by the settings module and then later admin.php.
Then make these changes in the files or copy the files in folder "HTML"
to the right places and replace the existing files.
-------------------------------------------------------------------------
File:							Rows:
NS-Settings/admin.php			163-167		

Added code:
<tr><td class="pn-normal">'
._USENEWADMIN.'</td><td class="pn-normal">'
."<input type=\"radio\" name=\"xuse_new_admin\" value=\"1\"".$sel_use_new_admin['1']." class=\"pn-normal\">"._YES.' &nbsp;'
."<input type=\"radio\" name=\"xuse_new_admin\" value=\"0\"".$sel_use_new_admin['0']." class=\"pn-normal\">"._NO.'&nbsp;'
.'</td></tr>

Why:
Add this code to print the radiobuttons to select what version of admin to use.

-------------------------------------------------------------------------
File:							Rows:									
NS-Settings/admin.php			80-82

Added code:
$sel_use_new_admin['0'] = '';
$sel_use_new_admin['1'] = '';
$sel_use_new_admin[pnConfigGetVar('use_new_admin')] = ' checked';

Why:
Added this code to get the selection of admin.

-------------------------------------------------------------------------
File:							Rows:
NS-Settings/lang/*.*			Last rows in each file

Added code:
define('_USENEWADMIN','Use the new admin');

Why:
This text must be translated to other languages.

-------------------------------------------------------------------------
File:							Rows:
/admin.php						33-39

Added code:
$useNewAdmin = pnConfigGetVar('use_new_admin');
if($useNewAdmin){
	if(!$module){
      $module = 'admin';
      $op     = 'main';
     }
}

Why:
In order to use the new admin if it is prefered.
-------------------------------------------------------------------------


Directory filter : [ all ] / postnuke_official / html / modules / admin / docs [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3