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 NoticeDirectory filter : [ all ] / postnuke_official / html / modules / ns-settings [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 04 Aug 2002 22:10:05 | postnuke_official/html/modules/ns-settings | admin.php,1.40.2.14,1.40.2.15 | John Cox |
| ROLLBACK -- Will commit later in the week;) | |||
Update of /home/cvsroot/postnuke_official/html/modules/ns-settings
In directory ns7.hostnuke.net:/tmp/cvs-serv23849/html/modules/ns-settings
Modified Files:
Tag: PostNuke_71
admin.php
Log Message:
ROLLBACK -- Will commit later in the week;)
Index: admin.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/ns-settings/Attic/admin.php,v
retrieving revision 1.40.2.14
retrieving revision 1.40.2.15
diff -C2 -d -r1.40.2.14 -r1.40.2.15
*** admin.php 4 Aug 2002 21:51:52 -0000 1.40.2.14
--- admin.php 4 Aug 2002 22:10:03 -0000 1.40.2.15
***************
*** 28,32 ****
// ----------------------------------------------------------------------
-
if (!eregi('admin.php', $PHP_SELF))
{
--- 28,31 ----
***************
*** 40,47 ****
}
-
modules_get_language();
-
// Fixes the ' duplicated in the slogan & footer fields - acm3
function FixConfigQuotes ($what = "")
--- 39,44 ----
***************
*** 55,64 ****
}
-
/*********************************************************/
/* Configuration Functions to Setup all the Variables */
/*********************************************************/
-
function settings_admin_main($var)
{
--- 52,59 ----
***************
*** 67,71 ****
$pnconfig['tipath'] = str_replace(WHERE_IS_PERSO, '', pnConfigGetVar('tipath'));
-
include 'header.php';
GraphicAdmin();
--- 62,65 ----
***************
*** 74,78 ****
CloseTable();
-
if (!(pnSecAuthAction(0, 'Settings::', '::', ACCESS_ADMIN))) {
echo _SETTINGSNOAUTH;
--- 68,71 ----
***************
*** 85,91 ****
$sel_dynkeywords['1'] = '';
$sel_dynkeywords[pnConfigGetVar('dyn_keywords')] = ' checked';
- $sel_use_new_admin['0'] = '';
- $sel_use_new_admin['1'] = '';
- $sel_use_new_admin[pnConfigGetVar('use_new_admin')] = ' checked';
$sel_storyhome['5'] = '';
$sel_storyhome['10'] = '';
--- 78,81 ----
***************
*** 140,145 ****
-
-
//
// let's pre-create an array of the current times for each TZ
--- 130,133 ----
***************
*** 160,164 ****
// done, now on to the form
-
OpenTable();
print '<center><font size="3" class="pn-title">'._GENSITEINFO.'</font></center>'
--- 148,151 ----
***************
*** 175,188 ****
.'</td></tr><tr><td class="pn-normal">'
._METAKEYWORDS.':</td><td><textarea name="xmetakeywords" cols="60" rows="5" wrap="virtual" class="pn-normal">'.htmlspecialchars(pnConfigGetVar('metakeywords')).'</textarea>'
! .'</td></tr>
!
! <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.' '
! ."<input type=\"radio\" name=\"xuse_new_admin\" value=\"0\"".$sel_use_new_admin['0']." class=\"pn-normal\">"._NO.' '
! .'</td></tr>
!
!
! <tr><td class="pn-normal">'
._DYNKEYWORDS.'</td><td class="pn-normal">'
."<input type=\"radio\" name=\"xdyn_keywords\" value=\"1\"".$sel_dynkeywords['1']." class=\"pn-normal\">"._YES.' '
--- 162,166 ----
.'</td></tr><tr><td class="pn-normal">'
._METAKEYWORDS.':</td><td><textarea name="xmetakeywords" cols="60" rows="5" wrap="virtual" class="pn-normal">'.htmlspecialchars(pnConfigGetVar('metakeywords')).'</textarea>'
! .'</td></tr><tr><td class="pn-normal">'
._DYNKEYWORDS.'</td><td class="pn-normal">'
."<input type=\"radio\" name=\"xdyn_keywords\" value=\"1\"".$sel_dynkeywords['1']." class=\"pn-normal\">"._YES.' '
***************
*** 201,205 ****
if ($f != '.' && $f != '..' && $f != 'CVS' && !ereg("[.]",$f))
-
{
$themelist[] = $f;
--- 179,182 ----
***************
*** 215,219 ****
if ($f != '.' && $f != '..' && $f != 'CVS' && !ereg("[.]",$f))
-
{
$themelist[] = $f;
--- 192,195 ----
***************
*** 243,247 ****
._TIMEZONEOFFSET.':</td><td class="pn-normal">';
-
$tzoffset = pnConfigGetVar('timezone_offset');
global $tzinfo;
--- 219,222 ----
***************
*** 257,261 ****
}
-
echo '</select>'
.'</td></tr><tr><td class="pn-normal">'
--- 232,235 ----
***************
*** 264,271 ****
."<select name=\"xstartpage\" size=\"1\" class=\"pn-normal\">\n";
-
/* Must changed */
-
$handle = opendir('modules');
while ($f = readdir($handle))
--- 238,243 ----
***************
*** 322,326 ****
.'</td></tr><tr><td class="pn-normal">'
-
// TODO - change this in to a dropdown
._DEFAULTGROUP.'</td><td class="pn-normal">'
--- 294,297 ----
***************
*** 350,359 ****
.'</table>';
-
CloseTable();
-
-
OpenTable();
print '<center><font class="pn-title">'._FOOTERMSG.'</font></center>'
--- 321,327 ----
***************
*** 363,367 ****
CloseTable();
-
OpenTable();
print '<center><font class="pn-title">'._BACKENDCONF.'</font></center>'
--- 331,334 ----
***************
*** 385,389 ****
CloseTable();
-
print '<br>';
OpenTable();
--- 352,355 ----
***************
*** 404,408 ****
._REFERERONPRINT.'</td><td class="pn-normal">'
-
."<select name=\"xrefereronprint\" class=\"pn-normal\">\n"
."<option value=\"0\"".$sel_refereronprint['0']." class=\"pn-normal\">"._NO."</option>"
--- 370,373 ----
***************
*** 412,416 ****
CloseTable();
-
// Intranet configuration
OpenTable();
--- 377,380 ----
***************
*** 427,431 ****
CloseTable();
-
// Allowed HTML
OpenTable();
--- 391,394 ----
***************
*** 452,456 ****
}
-
echo '<tr>';
echo '<td><' . pnVarPrepForDisplay($htmltag) . '></td>';
--- 415,418 ----
***************
*** 464,473 ****
echo '<br />';
-
echo _HTMLALLOWENTITIES .
'<input type="radio" name="xhtmlentities" value="1" class="pn-normal"' . $sel_htmlentities[1]. '>' . _YES . ' ' .
'<input type="radio" name="xhtmlentities" value="0" class="pn-normal"' . $sel_htmlentities[0] . '>' . _NO;
-
CloseTable();
// Finish
--- 426,433 ----
***************
*** 478,489 ****
.'</form>';
-
include 'footer.php';
}
-
function settings_admin_generate($vars) {
-
if (!(pnSecAuthAction(0, 'Settings::', '::', ACCESS_ADMIN))) {
include 'header.php';
--- 438,446 ----
***************
*** 493,497 ****
}
-
/*
* Write the vars
--- 450,453 ----
***************
*** 500,504 ****
// this is a security hole
-
if (!pnSecConfirmAuthKey()) {
include 'header.php';
--- 456,459 ----
***************
*** 507,511 ****
}
-
foreach($vars as $name => $value) {
if (substr($name, 0, 1) == 'x') {
--- 462,465 ----
***************
*** 515,519 ****
}
-
// Create
$allowedhtml = array();
--- 469,472 ----
***************
*** 529,538 ****
-
-
pnRedirect('admin.php');
}
-
// Local function to provide list of all possible HTML tags
function settingsGetHTMLTags() {
--- 482,488 ----
***************
*** 543,560 ****
'acronym',
'address',
! 'area',
'b',
! 'base',
! 'bdo',
'big',
'blockquote',
'br',
! 'button',
'caption',
'center',
'cite',
'code',
! 'col',
! 'colgroup',
'dfn',
'div',
--- 493,510 ----
'acronym',
'address',
! 'area',
'b',
! 'base',
! 'bdo',
'big',
'blockquote',
'br',
! 'button',
'caption',
'center',
'cite',
'code',
! 'col',
! 'colgroup',
'dfn',
'div',
***************
*** 564,568 ****
'em',
'embed',
! 'fieldset',
'font',
'h1',
--- 514,518 ----
'em',
'embed',
! 'fieldset',
'font',
'h1',
***************
*** 576,591 ****
'iframe',
'img',
! 'input',
! 'ins',
! 'label',
! 'legend',
'li',
! 'map',
'marquee',
! 'menu',
'object',
'ol',
! 'optgroup',
! 'option',
'p',
'param',
--- 526,541 ----
'iframe',
'img',
! 'input',
! 'ins',
! 'label',
! 'legend',
'li',
! 'map',
'marquee',
! 'menu',
'object',
'ol',
! 'optgroup',
! 'option',
'p',
'param',
***************
*** 606,612 ****
'table',
'td',
! 'tfood',
'th',
! 'thead',
'tr');
}
--- 556,562 ----
'table',
'td',
! 'tfood',
'th',
! 'thead',
'tr');
}
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 |