Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Sat, Jul 19, 1:09 PM

in-portal

Index: branches/unlabeled/unlabeled-1.17.2/admin/index.php
===================================================================
--- branches/unlabeled/unlabeled-1.17.2/admin/index.php (revision 4372)
+++ branches/unlabeled/unlabeled-1.17.2/admin/index.php (revision 4373)
@@ -1,88 +1,88 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
- // new startup: begin
- define('REL_PATH', 'admin');
- define('THIS_FILE', 'admin/index');
-
- $relation_level = count( explode('/', REL_PATH) );
- define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
- require_once FULL_PATH.'/kernel/startup.php';
- // new startup: end
-
- $objConfig->Set('AdminDirectory', $admin, 0, true);
- $objConfig->Save();
-
- if (!admin_login() || GetVar('logout') || GetVar('expired') ) {
- if (!headers_sent()) {
- set_cookie(SESSION_COOKIE_NAME, '', adodb_mktime() - 3600);
- }
- $objSession->Logout();
- require_once FULL_PATH.'/admin/login.php';
- }
-
- $envar = 'env='.BuildEnv();
-
- require_once FULL_PATH.'/admin/include/elements.php';
- require_once FULL_PATH.'/kernel/admin/include/navmenu.php';
-
- $charset = GetRegionalOption('Charset');
-?>
-
-<html>
-
- <head>
- <meta http-equiv="content-type" content="text/html;charset=<?php echo $charset; ?>">
- <meta name="generator" content="kwrite">
- <link rel="stylesheet" type="text/css" href="include/style.css">
- <title>In-portal Administration</title>
- </head>
-<script type="text/javascript">
- window.name = 'main_frame';
- lala = navigator.appVersion.substring(0,1);
-
- if (navigator.appName == "Netscape") {
- if (lala != "5") {
- document.write("<frameset rows='96,*' framespacing='0' scrolling='no' frameborder='0'>");
- } else {
- document.write("<frameset rows='95,*' framespacing='0' scrolling='no' frameborder='0'>");
- }
- } else {
- document.write("<frameset rows='94,*' framespacing='0' scrolling='no' frameborder='0'>");
- }
-
- function getFrame($name)
- {
- var $frameset = window.frames;
- for ($i = 0; $i < window.length; $i++) {
- if ($frameset[$i].name == $name) {
- return $frameset[$i];
- }
- }
- return window;
- }
-</script>
- <frame src="<?php echo $adminURL; ?>/head.php?<?php echo $envar; ?>" name="head" scrolling="no" noresize>
- <frameset cols="200,*" border="0">
- <frame src="<?php echo $adminURL; ?>/tree/tree.php?<?php echo $envar; ?>" name="menu" target="_main" noresize scrolling="auto" marginwidth="0" marginheight="0">
- <frame src="<?php echo $adminURL; ?>/subitems.php?<?php echo $envar."&section=in-portal:root"; ?>" name="main" marginwidth="0" marginheight="0" frameborder="NO" noresize scrolling="auto">
- </frameset>
- </frameset>
- <noframes>
- <body bgcolor="#ffffff">
- <p></p>
- </body>
- </noframes>
+<?php
+##############################################################
+##In-portal ##
+##############################################################
+## In-portal ##
+## Intechnic Corporation ##
+## All Rights Reserved, 1998-2002 ##
+## ##
+## No portion of this code may be copied, reproduced or ##
+## otherwise redistributed without proper written ##
+## consent of Intechnic Corporation. Violation will ##
+## result in revocation of the license and support ##
+## privileges along maximum prosecution allowed by law. ##
+##############################################################
+
+ // new startup: begin
+ define('REL_PATH', 'admin');
+ define('THIS_FILE', 'admin/index');
+
+ $relation_level = count( explode('/', REL_PATH) );
+ define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
+ require_once FULL_PATH.'/kernel/startup.php';
+ // new startup: end
+
+ $objConfig->Set('AdminDirectory', $admin, 0, true);
+ $objConfig->Save();
+
+ if (!admin_login() || GetVar('logout') || GetVar('expired') ) {
+ if (!headers_sent()) {
+ set_cookie(SESSION_COOKIE_NAME, '', adodb_mktime() - 3600);
+ }
+ $objSession->Logout();
+ require_once FULL_PATH.'/admin/login.php';
+ }
+
+ $envar = 'env='.BuildEnv();
+
+ require_once FULL_PATH.'/admin/include/elements.php';
+ require_once FULL_PATH.'/kernel/admin/include/navmenu.php';
+
+ $charset = GetRegionalOption('Charset');
+?>
+
+<html>
+
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=<?php echo $charset; ?>">
+ <meta name="generator" content="kwrite">
+ <link rel="stylesheet" type="text/css" href="include/style.css">
+ <title>In-portal Administration</title>
+ </head>
+<script type="text/javascript">
+ window.name = 'main_frame';
+ lala = navigator.appVersion.substring(0,1);
+
+ if (navigator.appName == "Netscape") {
+ if (lala != "5") {
+ document.write("<frameset rows='96,*' framespacing='0' scrolling='no' frameborder='0'>");
+ } else {
+ document.write("<frameset rows='95,*' framespacing='0' scrolling='no' frameborder='0'>");
+ }
+ } else {
+ document.write("<frameset rows='94,*' framespacing='0' scrolling='no' frameborder='0'>");
+ }
+
+ function getFrame($name)
+ {
+ var $frameset = window.frames;
+ for ($i = 0; $i < window.length; $i++) {
+ if ($frameset[$i].name == $name) {
+ return $frameset[$i];
+ }
+ }
+ return window;
+ }
+</script>
+ <frame src="<?php echo $adminURL; ?>/head.php?<?php echo $envar; ?>" name="head" scrolling="no" noresize>
+ <frameset cols="200,*" border="0">
+ <frame src="<?php echo $adminURL; ?>/tree/tree.php?<?php echo $envar; ?>" name="menu" target="_main" noresize scrolling="auto" marginwidth="0" marginheight="0">
+ <frame src="<?php echo $adminURL; ?>/subitems.php?<?php echo $envar."&section=in-portal:root"; ?>" name="main" marginwidth="0" marginheight="0" frameborder="NO" noresize scrolling="auto">
+ </frameset>
+ </frameset>
+ <noframes>
+ <body bgcolor="#ffffff">
+ <p></p>
+ </body>
+ </noframes>
</html>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.17.2/admin/index.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.17.2.1
\ No newline at end of property
+1.17.2.2
\ No newline at end of property

Event Timeline