Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1166629
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 23, 12:52 AM
Size
8 KB
Mime Type
text/x-diff
Expires
Thu, Sep 25, 12:52 AM (1 h, 49 m)
Engine
blob
Format
Raw Data
Handle
755578
Attached To
rINP In-Portal
in-portal
View Options
Index: trunk/kernel/admin_templates/tree.tpl
===================================================================
--- trunk/kernel/admin_templates/tree.tpl (revision 4462)
+++ trunk/kernel/admin_templates/tree.tpl (revision 4463)
@@ -1,95 +1,96 @@
<inp2:m_set nobody="yes"/>
<inp2:m_include t="incs/header"/>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#DCEBF6">
<script type="text/javascript">
function credits(url)
{
var width = 200;
var height = 200;
var screen_x = (screen.availWidth-width)/2;
var screen_y = (screen.availHeight-height)/2;
window.open(url, 'credits', 'width=280,height=520,left='+screen_x+',top='+screen_y);
}
</script>
<style type="text/css">
.tree_head.td, .tree_head, .tree_head:hover {
font-weight: bold;
font-size: 10px;
color: #FFFFFF;
font-family: Verdana, Arial;
text-decoration: none;
}
</style>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr style="background: #5291DE url(img/menu_bar.gif) repeat-x left bottom;" class="tree_head">
<td align="left" width="80%" height="21">
<a class="tree_head" href="javascript:credits('<inp2:m_Link index_file="help/credits.php" destform="popup"/>');">In-Portal v <inp2:adm_ModuleVersion module="In-Portal"/></a>
</td>
<td align="right" width="20%">
<select name="language" style="width: 62px; border: 0px; background-color: #FFFFFF; font-size: 9px; color: black;" onchange="submit_event('lang', 'OnChangeLanguage');">
<inp2:m_DefineElement name="lang_elem">
<option value="<inp2:Field name="LanguageId"/>" <inp2:m_if check="SelectedLanguage">selected="selected"</inp2:m_if> ><inp2:Field name="PackName"/></option>
</inp2:m_DefineElement>
<inp2:lang_ListLanguages render_as="lang_elem" row_start_render_as="html:" row_end_render_as="html:"/>
</select>
</td>
</tr>
<tr>
<td colspan="2">
<inp2:adm_BuildTree/>
<!-- printing section as table: begin -->
<inp2:m_DefineElement name="tree_element">
<tr>
<td><inp2:m_param name="parent"/></td>
<td> -> </td>
<td>
<a href="<inp2:m_param name="section_url"/>" title="<inp2:m_phrase name="$label"/>" target="main">
<img src="<inp2:$SectionPrefix_ModulePath/>img/icons/icon24_<inp2:m_param name="icon"/>.gif" border="0" alt="<inp2:m_phrase name="$label"/>" align="absmiddle"/>
<inp2:m_phrase name="$label"/></a> (<inp2:m_param name="section_name"/>)
</td>
</tr>
</inp2:m_DefineElement>
<table>
<thead>
<td colspan="2"><b>Parent</b></td>
<td><b>Child</b></td>
</thead>
<inp2:adm_DrawTree render_as="tree_element" section_name="in-portal:root"/>
</table>
<!-- printing section as table: end- ->
<!-- printing section as xml: begin -->
<inp2:m_DefineElement name="xml_node">
<node>
+ <parent_section><inp2:m_param name="parent"/></parent_section>
<section_url><inp2:m_param name="section_url"/></section_url>
<section_name><inp2:m_param name="section_name"/></section_name>
<section_title><inp2:m_phrase name="$label"/></section_title>
<section_icon><inp2:$SectionPrefix_ModulePath/>img/icons/icon24_<inp2:m_param name="icon"/>.gif</section_icon>
<sub_nodes>
<inp2:adm_PrintSections render_as="xml_node" section_name="$section_name"/>
</sub_nodes>
</node>
</inp2:m_DefineElement>
<!--<nodes>
<inp2:adm_PrintSections render_as="xml_node" section_name="in-portal:root"/>
</nodes>-->
<!-- printing section as xml: end -->
</td>
</tr>
</table>
<inp2:m_include t="incs/footer"/>
<script type="text/javascript">
var $kf = document.getElementById($form_name);
$kf.target = 'main_frame';
$kf.action = '<inp2:m_t pass="" index_file="index.php" escape="1"/>';
</script>
\ No newline at end of file
Property changes on: trunk/kernel/admin_templates/tree.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1
\ No newline at end of property
+1.2
\ No newline at end of property
Index: trunk/admin/index.php
===================================================================
--- trunk/admin/index.php (revision 4462)
+++ trunk/admin/index.php (revision 4463)
@@ -1,97 +1,92 @@
<?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');
- if (constOn('NEW_TREE')) {
- $tree_link = $application->HREF('tree', '', Array('pass' => 'm'), 'index4.php');
- }
- else {
- $tree_link = $adminURL.'/tree/tree.php?'.$envar;
- }
-
- $resize_mode = constOn('NEW_TREE') ? '' : 'noresize';
+ $tree_link = $application->HREF('tree', '', Array('pass' => 'm'), 'index4.php');
+// $tree_link = $adminURL.'/tree/tree.php?'.$envar;
+
?>
<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" <?php echo $resize_mode; ?>>
+ <frame src="<?php echo $adminURL; ?>/head.php?<?php echo $envar; ?>" name="head" scrolling="no" noresize>
<frameset cols="200,*" border="0">
- <frame src="<?php echo $tree_link; ?>" name="menu" target="main" <?php echo $resize_mode; ?> scrolling="auto" marginwidth="0" marginheight="0">
- <frame src="<?php echo $adminURL; ?>/subitems.php?<?php echo $envar."§ion=in-portal:root"; ?>" name="main" marginwidth="0" marginheight="0" frameborder="no" <?php echo $resize_mode; ?> scrolling="auto">
+ <frame src="<?php echo $tree_link; ?>" name="menu" target="main" noresize scrolling="auto" marginwidth="0" marginheight="0">
+ <frame src="<?php echo $adminURL; ?>/subitems.php?<?php echo $envar."§ion=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: trunk/admin/index.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.19
\ No newline at end of property
+1.20
\ No newline at end of property
Event Timeline
Log In to Comment