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_modules / New_pnadmin / html [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 05 Aug 2002 12:27:12 | postnuke_modules/New_pnadmin/html | admin.php,1.1.1.1,1.2 | Bjarne Var�ystrand |
| nothing much happend here while i was cooking some thing... | |||
Update of /home/cvsroot/postnuke_modules/New_pnadmin/html
In directory ns7.hostnuke.net:/tmp/cvs-serv31138/postnuke_modules/New_pnadmin/html
Modified Files:
admin.php
Log Message:
nothing much happend here while i was cooking some thing...
Index: admin.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/New_pnadmin/html/admin.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** admin.php 3 Aug 2002 10:01:16 -0000 1.1.1.1
--- admin.php 5 Aug 2002 12:27:10 -0000 1.2
***************
*** 1,245 ****
<?php
-
// File: $Id$ $Name$
-
// ----------------------------------------------------------------------
-
// POST-NUKE Content Management System
-
// Copyright (C) 2001 by the Post-Nuke Development Team.
-
// http://www.postnuke.com/
-
// ----------------------------------------------------------------------
-
// Based on:
-
// PHP-NUKE Web Portal System - http://phpnuke.org/
-
// Thatware - http://thatware.org/
-
// ----------------------------------------------------------------------
-
// LICENSE
-
//
-
// This program is free software; you can redistribute it and/or
-
// modify it under the terms of the GNU General Public License (GPL)
-
// as published by the Free Software Foundation; either version 2
-
// of the License, or (at your option) any later version.
-
//
-
// This program is distributed in the hope that it will be useful,
-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
// GNU General Public License for more details.
-
//
-
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
-
// ----------------------------------------------------------------------
-
// Original Author of file: Francisco Burzi
-
// Purpose of file:
-
// ----------------------------------------------------------------------
-
include 'includes/pnAPI.php';
-
pnInit();
-
include 'includes/legacy.php';
-
// eugenio themeover 20020413
-
// pnThemeLoad();
-
if(!$module){
-
$module = 'admin';
-
$op = 'main';
-
}
-
include 'modules/admin/pnfunctions.php';
-
// include 'modules/ns-admin/tools.php';
-
-
$currentlangfile = 'language/' . pnVarPrepForOS(pnUserGetLang()) . '/admin.php';
-
$defaultlangfile = 'language/' . pnVarPrepForOS(pnConfigGetVar('language')) . '/admin.php';
-
if (file_exists($currentlangfile)) {
-
include $currentlangfile;
-
} elseif (file_exists($defaultlangfile)) {
-
include $defaultlangfile;
-
}
-
-
// $module / $op control
-
if (!isset($op) or $op=='adminMain')
-
{
-
$module = 'admin';
-
$op = 'main';
-
}
-
elseif (!isset($module))
-
$module = 'ns-past_nuke';
-
-
/*
-
Seems to be unused :
-
$basedir = dirname($SCRIPT_FILENAME);
-
$textrows = 20;
-
$textcols = 85;
-
$udir = dirname($PHP_SELF);
-
if (empty($wdir)) $wdir='/';
-
*/
-
-
// to be put somewhere else !!! review ?
-
if (($module=='ns-past_nuke') and ($op=='deleteNotice'))
-
{
-
deleteNotice($id, $table, $op_back);
-
exit;
-
}
-
// to be put somewhere else !!! end
-
-
// prepare the menu
-
admin_menu('admin.html');
-
-
if (file_exists($file='modules/' . pnVarPrepForOS($module) . '/admin.php'))
-
{
-
$ModName = $module;
-
include $file;
-
-
modules_get_language();
-
modules_get_manual();
-
-
if (substr($module,0,3)=='ns-') {
-
$function = substr($module,3).'_admin_';
-
}
-
else {
-
$function = $module.'_admin_';
-
}
-
-
$function_op = $function.$op;
-
$function_main = $function.'main';
-
$var = array_merge($GLOBALS['HTTP_GET_VARS'],$GLOBALS['HTTP_POST_VARS']);
-
if (function_exists($function_op)) {
-
$function_op($var);
-
}
-
elseif (function_exists($function_main)) {
-
$function_main($var);
-
}
-
else {
-
die("error : admin_execute($file,$function_op)");
-
}
-
}
-
else
-
die("Fatal error :<br>module = $module<br>op = $op<br>");
-
-
if (function_exists('session_write_close')) {
-
session_write_close();
-
} else {
-
// Hack for old versions of PHP with bad session save
-
$sessvars = '';
-
foreach ($GLOBALS as $k => $v) {
-
if ((preg_match('/^PNSV/', $k)) &&
-
(isset($v))) {
-
$sessvars .= "$k|" . serialize($v);
-
}
-
}
-
pnSessionWrite(session_id(), $sessvars);
-
}
-
?>
--- 1,124 ----
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 |