Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Thu, Jul 17, 4:41 AM

in-portal

Index: branches/unlabeled/unlabeled-1.7.50/admin/install/modselect.php
===================================================================
--- branches/unlabeled/unlabeled-1.7.50/admin/install/modselect.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.7.50/admin/install/modselect.php (revision 8266)
@@ -1,57 +1,57 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select Modules to Install</span><br><br>
<?php section_header('Step '.$tmp_step.' - Select Modules'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<?php
foreach($Modules as $m)
{
$result = true;
if (file_exists($pathtoroot."$m/admin/install/prerequisit.php")) {
include_once($pathtoroot."$m/admin/install/prerequisit.php");
}
- echo "<TR class=\"table_color2\"><TD colspan=\"2\" align=\"left\" class=\"txt\">";
+ echo "<TR class=\"table-color2\"><TD colspan=\"2\" align=\"left\" class=\"txt\">";
if ($result) {
echo "<INPUT TYPE=\"CHECKBOX\" NAME=\"domain[]\" VALUE=\"$m\" CHECKED=\"checked\">";
}
else {
echo "<INPUT TYPE=\"CHECKBOX\" NAME=\"domain[]\" VALUE=\"$m\" disabled>";
}
echo $m;
if (!$result) {
$open_url = "install/prerequisit_errors.php?module=$m";
echo " (<span style=\"color: #FF0000; cursor: hand; cursor: pointer;\" onClick=\"CreatePopup('ModuleErrors', '$open_url');\">Pre-requisit test not passed!</span>)";
}
echo "</TD></TR>\n";
}
?>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php if( isset($ModuleError) ) echo $ModuleError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="modinstall">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php if(isset($UserPass)) echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php if(isset($UserName)) echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.7.50/admin/install/modselect.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.7
\ No newline at end of property
+1.7.50.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.7.50/admin/install/sel_license.php
===================================================================
--- branches/unlabeled/unlabeled-1.7.50/admin/install/sel_license.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.7.50/admin/install/sel_license.php (revision 8266)
@@ -1,50 +1,50 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select License</span><br><br>
<?php section_header('Step '.$tmp_step.' - Select License'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" WIDTH="100%" class="txt"><INPUT TYPE="RADIO" NAME="lic_opt" id="lic_opt_1" VALUE="1"><label for="lic_opt_1">Download from Intechnic</label></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" WIDTH="100%" class="txt"><INPUT TYPE=RADIO value="2" id="lic_opt_2" name="lic_opt"><label for="lic_opt_2">Upload License File:</label>
<INPUT TYPE="FILE" CLASS="button" NAME="licfile" onclick="document.getElementById('lic_opt_2').checked = true;">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<?php
$enabled = '';
if(!isset($g_License) || !$g_License )
{
$enabled="disabled='true'";
}
?>
<td ALIGN="left" WIDTH="100%" class="txt"><INPUT <?php echo $enabled; ?> TYPE=RADIO value="3" id="lic_opt_3" name="lic_opt" <?php if(!$enabled) echo 'checked'; ?>><label for="lic_opt_3">Use Existing License</label></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" WIDTH="100%" class="txt"><INPUT TYPE=RADIO value="4" id="lic_opt_4" name="lic_opt"><label for="lic_opt_4">Skip License (Local Domain Installation)</label></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php if( isset($license_error) ) echo $license_error; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="license_process">
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php if(isset($UserPass)) echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php if(isset($UserName)) echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.7.50/admin/install/sel_license.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.7
\ No newline at end of property
+1.7.50.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.9.2/admin/tools/server_info.php
===================================================================
--- branches/unlabeled/unlabeled-1.9.2/admin/tools/server_info.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.9.2/admin/tools/server_info.php (revision 8266)
@@ -1,132 +1,132 @@
<?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/tools');
$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
checkViewPermission('in-portal:server_info');
require_once ($pathtoroot.$admin."/include/elements.php");
require_once ($pathtoroot."kernel/admin/include/navmenu.php");
//require_once ($pathtolocal."admin/include/navmenu.php");
require_once($pathtoroot.$admin."/toolbar.php");
$envar = "env=" . BuildEnv();
$section = 'in-portal:server_info';
$sec = $objSections->GetSection($section);
$parent = $objSections->GetSection($sec->Get("parent"));
if(strlen($ParentUrl)>0)
{
$cancelUrl = $ParentUrl;
}
else
$cancelUrl = $_SERVER['PHP_SELF']."?".$envar;
$cancelUrl = $admin."/subitems.php?section=in-portal:tools&".$envar;
//$title = admin_language("la_tab_QueryDB");
$ro_perm = $objSession->HasSystemPermission("SYSTEM_ACCESS.READONLY");
$objCatToolBar = new clsToolBar();
$objCatToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","edit_submit('sinfoform','','$cancelUrl',2,'');","tool_cancel.gif");
//td.php_info, th.php_info { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
$extra = "<style type=\"text/css\"><!--
body, td, th, h1, h2 {font-family: sans-serif;}
pre {margin: 0px; font-family: monospace;}
a:link {color: #000099; text-decoration: none; }
a:hover {text-decoration: underline;}
table {border-collapse: collapse;}
.center {text-align: center;}
.center table { margin-left: auto; margin-right: auto; text-align: left;}
.center th { text-align: center !important; }
th.php_info { border: 1px solid #000000; font-size: 75%; align: center; vertical-align: baseline;}
h1 {font-size: 150%; text-align: center;}
h2 {font-size: 125%; text-align: center;}
.p {text-align: left;}
.e {background-color: #ccccff; font-weight: bold; color: #000000; border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
.h {background-color: #9999cc; font-weight: bold; color: #000000; border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
.v {background-color: #cccccc; color: #000000; border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
i {color: #666666; background-color: #cccccc; }
hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
//--></style>";
int_header($objCatToolBar,NULL,$title, NULL, $extra);
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
-<tr><td class="table_color1">
+<tr><td class="table-color1">
<form ID="sinfoform" name="sinfoform" action="" method=POST>
<!-- before phpinfo -->
<?php
ob_start();
phpinfo();
$php_info .= ob_get_contents();
ob_end_clean();
$php_info = str_replace(" width=\"600\"", " width=\"100%\" align=\"center\"", $php_info);
$php_info = str_replace("</body></html>", "", $php_info);
$php_info = str_replace('<a href="http://www.php.net/"><img border="0"', '<a href="http://www.php.net/"><img border="0" align="right" ', $php_info);
$php_info = str_replace(";", "; ", $php_info);
$php_info = str_replace(",", ", ", $php_info);
$php_info = str_replace("' '", " \<br>", $php_info);
$php_info = str_replace("'", "", $php_info);
// include_path:
$php_info = str_replace(".:/", "/", $php_info);
// paths:
$php_info = str_replace(":/", "<br>/", $php_info);
$php_info = str_replace("<br>//", "://", $php_info); // correct urls
// LS_COLORS and some paths:
$php_info = str_replace(";", "; ", $php_info);
$php_info = str_replace(",", ", ", $php_info);
// apache address :
$php_info = str_replace("&lt; ", "<", $php_info);
$php_info = str_replace("&gt;", ">", $php_info);
$php_info = str_replace('<a name', '<a style="color: #000000" name', $php_info);
// td styles
//$php_info = str_replace("<td", "<td class=\"php_info\"", $php_info);
//$php_info = str_replace("<th", "<th class=\"php_info\"", $php_info);
$offset = strpos($php_info, "<table");
print substr($php_info, $offset);
?>
<!-- after phpinfo -->
</FORM>
</td></tr>
</TABLE>
<?php int_footer(); ?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.9.2/admin/tools/server_info.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.9
\ No newline at end of property
+1.9.2.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.4.70/admin/install/upgrade.php
===================================================================
--- branches/unlabeled/unlabeled-1.4.70/admin/install/upgrade.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.4.70/admin/install/upgrade.php (revision 8266)
@@ -1,54 +1,54 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select Modules to Upgrade</span><br><br>
<?php section_header('Step '.$tmp_step.' - Select Modules'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<?php
$i = 0;
foreach($Modules as $m)
{
- echo "<TR class=\"table_color2\"><TD colspan=\"2\" align=\"left\" class=\"txt\">";
+ echo "<TR class=\"table-color2\"><TD colspan=\"2\" align=\"left\" class=\"txt\">";
if($m['error'])
echo "<INPUT TYPE=\"CHECKBOX\" NAME=\"modules[]\" VALUE=\"{$m['module']}\" disabled />";
else
echo "<INPUT TYPE=\"CHECKBOX\" NAME=\"modules[]\" VALUE=\"{$m['module']}\" CHECKED=\"checked\">";
echo $m['module'].' ('.$m['curver'].' '.prompt_language('la_to').' '.$m['newver'].')';
if ($m['error'])
{
$open_url = "install/upgrade_errors.php?module={$m['module']}";
echo " (<span style=\"color: #FF0000; cursor: hand; cursor: pointer;\" onClick=\"CreatePopup('ModuleErrors', '$open_url');\">Pre-requisit test not passed!</span>)";
}
echo "</TD></TR>\n";
// $i++;
}
?>
- <tr class="table_color1">
+ <tr class="table-color1">
<td colspan="2"><?php echo int_hint(prompt_language("la_text_upgrade_disclaimer")); ?><br/></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $ModuleError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="upgrade_process">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.4.70/admin/install/upgrade.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.4
\ No newline at end of property
+1.4.70.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.5.48/admin/install/theme_select.php
===================================================================
--- branches/unlabeled/unlabeled-1.5.48/admin/install/theme_select.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.5.48/admin/install/theme_select.php (revision 8266)
@@ -1,52 +1,52 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select Default Theme</span><br><br>
<?php section_header('Step '.$tmp_step.' - Select Default Theme'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt">
<b>Default Theme:</b></td>
<td>
<select name="theme">
<?php
$objThemes->Clear();
$objThemes->Query_Item("SELECT * FROM ".GetTablePrefix()."Theme");
$option_tpl = '<option value="%s"%s>%s</option>';
$db =& inst_GetADODBConnection();
$modules_list = $db->GetCol('SELECT Name FROM '.GetTablePrefix().'Modules');
$name_selected = count($modules_list) == 2 && in_array('In-Commerce', $modules_list) ? 'onlinestore' : 'default';
foreach($objThemes->Items as $t)
{
$selected = $t->Get('Name') == $name_selected ? ' selected' : '';
echo sprintf($option_tpl, $t->Get('ThemeId'), $selected, $t->Get('Name') );
}
?>
</select>
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php if( isset($ThemeError) ) echo $ThemeError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="theme_set">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.5.48/admin/install/theme_select.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.5
\ No newline at end of property
+1.5.48.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.4.86/admin/install/get_license.php
===================================================================
--- branches/unlabeled/unlabeled-1.4.86/admin/install/get_license.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.4.86/admin/install/get_license.php (revision 8266)
@@ -1,39 +1,39 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select License</span><br><br>
<?php section_header('Step 2 - Select License'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" class="txt"><b>Login / E-mail:</b></td>
<td ALIGN="left" class="txt"><input type="text" name="login" value="<?php if( isset($_POST['login']) ) echo $_POST['login'];?>" class="text"></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" class="txt"><b>Password:</b></td>
<td ALIGN="left" class="txt"><input type="password" name="password" value="" class="text"></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" colspan="2" WIDTH="100%" class="txt"><a href="http://www.intechnic.com/myaccount/index.php?t=users/reveal_password&">Forgot password</a></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php if( isset($get_license_error) ) echo $get_license_error; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="download_license">
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="next_step" value="2">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.4.86/admin/install/get_license.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.4
\ No newline at end of property
+1.4.86.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.4.86/admin/install/domain.php
===================================================================
--- branches/unlabeled/unlabeled-1.4.86/admin/install/domain.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.4.86/admin/install/domain.php (revision 8266)
@@ -1,43 +1,43 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select Domain</span><br><br>
<?php section_header('Step '.$tmp_step.' - Select Domain'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<?php
$current = $_SERVER['HTTP_HOST'];
- echo '<TR class="table_color2"><TD colspan="2" class="txt" align="left">';
+ echo '<TR class="table-color2"><TD colspan="2" class="txt" align="left">';
echo '<INPUT TYPE="RADIO" NAME="domain" id="domain_1" VALUE="1" checked>';
echo '<label for="domain_1">'.$current.'</label>';
echo "</TD></TR>\n";
?>
- <tr class="table_color2">
+ <tr class="table-color2">
<TD COLSPAN=2 align="left" class="txt">
<INPUT TYPE="radio" NAME="domain" VALUE="2" id="domain_2"><label for="domain_2">Other:</label>
<input TYPE="TEXT" NAME="other" VALUE="">
</TD>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $DomainError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="set_domain">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.4.86/admin/install/domain.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.4
\ No newline at end of property
+1.4.86.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.31.2/admin/include/elements.php
===================================================================
--- branches/unlabeled/unlabeled-1.31.2/admin/include/elements.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.31.2/admin/include/elements.php (revision 8266)
@@ -1,627 +1,627 @@
<?php
##############################################################
##In-portal :: Administration Interfaces :: Common Elements ##
##############################################################
## 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. ##
##############################################################
if( !defined('IS_INSTALL') ) define('IS_INSTALL', 0);
if( !IS_INSTALL ) require_login();
global $admin,$pathtoroot, $objConfig;
if(!strlen($admin))
{
$admin = $objConfig->Get("AdminDirectory");
if(!strlen($admin))
{
$admin = "admin";
}
}
require_once($pathtoroot.$admin."/include/sections.php");
$envar = "env=" . BuildEnv();
/* this function loads the javascript for each module's toolbar */
function load_module_javascript($sectionname, $skip_modules = Array() )
{
global $adminURL, $pathtoroot;
echo "<SCRIPT LANGUAGE=JavaScript1.2 src=\"".$adminURL."/browse/fw_menu.js\"></SCRIPT>\n";
echo "<SCRIPT LANGUAGE=JavaScript1.2 src=\"".$adminURL."/include/tabs.js\"></SCRIPT>\n";
echo "<script language=\"JavaScript1.2\" src=\"$adminURL/include/checkarray.js\"></script>\n";
global $objConfig, $ItemTabs;
$m = GetModuleArray("admin");
echo "<!-- ".count($m)."-->";
foreach($m as $key=>$value)
{
$path = $pathtoroot. $value."admin/include/toolbar/".$sectionname.".php";
if( !in_array($value, $skip_modules) && file_exists($path) )
{
echo "\n<!-- $path -->\n";
include_once($path);
}
else
echo "\n<!-- $path not found -->\n";
}
}
function load_module_styles()
{
global $objConfig, $ItemTabs,$rootURL,$pathtoroot;
$m = GetModuleArray("admin");
echo "<!-- module styles (".count($m).")-->";
foreach($m as $key=>$value)
{
$path = $pathtoroot.$value."admin/include/style.css";
if(file_exists($path))
{
$inc = $rootURL.$value."admin/include/style.css";
print "<link rel=\"stylesheet\" type=\"text/css\" href=\"$inc\">\n";
}
}
}
//***********************************
//Page Header
function int_header($toolbar=NULL,$NavBarText=NULL,$ExtraTitle=NULL,$onLoad=NULL, $ExtraHead=NULL,$skip_modules=Array(),$OtherSection = '')
{
global $pathtoroot, $pathtolocal, $section, $objSections, $rootURL, $localURL, $adminURL, $envar, $admin, $metatag, $objSession;
$style_sheet_global = $adminURL."/include/style.css";
$style_sheet_local = $localURL."admin/include/style.css";
$ExtraTitle = str_replace(Array('<','>'),Array('&lt;','&gt;'),$ExtraTitle);
//$ExtraTitle = htmlentities($ExtraTitle);
if (is_object($toolbar))
{
if(file_exists($pathtolocal."admin/include/toolbar.php"))
require_once ($pathtolocal."admin/include/toolbar.php");
//Aray of the preloaded elems
//$int_toolbar_preload = array();
print "<html>\n\t<head>\n\t\t<title>In-portal</title>\n";
if (constOn('REQUIRED_BASE_HREF')) {
$application =& kApplication::Instance();
$template_cache =& $application->recallObject('TemplatesCache'); // sets THEMES_PATH constant
$m_tag_processor =& $application->recallObject('m_TagProcessor');
echo $m_tag_processor->Base_Ref()."\n";
}
if(strlen($metatag))
{
print $metatag."\n";
}
else
{
$charset = GetRegionalOption('Charset');
if(defined('FORCE_CHARSET')&&FORCE_CHARSET) $charset=FORCE_CHARSET;
print "<meta http-equiv=\"content-type\" content=\"text/html;charset=$charset\">\n";
print "<meta http-equiv=\"Pragma\" content=\"no-cache\">\n";
}
print "<link rel=\"stylesheet\" type=\"text/css\" href=\"$style_sheet_global\">\n";
load_module_styles();
require_once($pathtoroot.$admin."/include/mainscript.php");
//require_once($pathtolocal."admin/include/script.js");
print $ExtraHead;
$sectionname = explode(":", $section);
$sectionname = $sectionname[sizeof($sectionname)-1];
load_module_javascript($sectionname, $skip_modules);
if (is_object($toolbar)) {
print $toolbar->GetInitScript();
}
echo '<script type="text/javascript">$edit_mode = '.($objSession->GetVariable('HasChanges') == 1 ? 'true' : 'false').';</script>';
print '</head><body topmargin="0" leftmargin="8" marginheight="8" marginwidth="8" bgcolor="#FFFFFF"';
//*** Preload toolbar images
if(strlen($onLoad))
{
print $onLoad;
}
else
print " ONLOAD=\"clear_list_checkboxes();\"";
//*** Preload toolbar images
if(is_object($toolbar))
{
if (strlen($toolbar->Get("CheckClass")))
{
print $toolbar->onLoadString().">";
}
else
print " >";
$menufunc = $toolbar->Get("load_menu_func");
if (strlen($menufunc))
{
print "<script language=\"JavaScript1.2\">$menufunc</script>";
}
}
else
print " >";
}
else
{
$charset = GetRegionalOption('Charset');
print "<html><head><title>In-Portal </title>";
print "<meta http-equiv=\"content-type\" content=\"text/html;charset=$charset\">";
print "<meta http-equiv=\"Pragma\" content=\"no-cache\">";
print "<link rel=\"stylesheet\" type=\"text/css\" href=\"$style_sheet_global\">";
load_module_styles();
require_once ($pathtoroot.$admin."/include/mainscript.php");
//require_once ($pathtolocal."admin/include/script.js");
$sectionname = explode(":", $section);
$sectionname = $sectionname[sizeof($sectionname)-1];
load_module_javascript($sectionname);
print "</head><body topmargin=\"0\" leftmargin=\"8\" marginheight=\"8\" marginwidth=\"8\" bgcolor=\"#FFFFFF\">";
}
if(strlen($section)>0)
{
$objSections->SetCurrentSection($section);
$sec = $objSections->GetCurrentSection();
if ($sec->Get("notitle") != 1) print $objSections->page_title();
print $objSections->page_tabs($envar);
if ($sec->Get("nonavbar") != 1) //Section Navigatior
print $objSections->section_header($envar,$NavBarText,$ExtraTitle,false,$OtherSection);
//Toolbar if appropriate
if ( isset($sections[$section]) && ($sections[$section]['toolbar']==1) || ( is_object($toolbar) ) ) {
print $toolbar->Build();
}
}
}//Page Header
// HELP Page Header
function int_help_header()
{
global $pathtoroot;
global $pathtolocal;
global $section;
global $objSections;
global $rootURL;
global $localURL;
global $adminURL;
global $envar;
global $admin;
global $metatag;
$style_sheet_global = $adminURL."/include/style.css";
$style_sheet_local = $localURL."admin/include/style.css";
// TOOLBAR:
$charset = GetRegionalOption('Charset');
print "<html><head><title>In-Portal - Help</title>";
print "<meta http-equiv=\"content-type\" content=\"text/html;charset=$charset\">";
print "<meta http-equiv=\"Pragma\" content=\"no-cache\">";
print "<link rel=\"stylesheet\" type=\"text/css\" href=\"$style_sheet_global\">";
load_module_styles();
require_once ($pathtoroot.$admin."/include/mainscript.php");
print "</head><body topmargin=\"0\" leftmargin=\"8\" marginheight=\"8\" marginwidth=\"8\" bgcolor=\"#FFFFFF\">";
if(strlen($section)>0)
{
$objSections->SetCurrentSection($section);
$sec = $objSections->GetCurrentSection();
if ($sec->Get("notitle") != 1) print $objSections->page_title();
if ($sec->Get("nonavbar") != 1) //Section Navigatior
print $objSections->section_header($envar,'','', true);
}
}// HELP Page Header
function int_SectionHeader($toolbar=NULL,$onLoad=NULL,$NavBarText=NULL,$ExtraTitle=NULL)
{
global $pathtoroot;
global $pathtolocal;
global $section, $sections;
global $objSections;
global $rootURL;
global $adminURL,$admin;
global $localURL;
global $envar;
global $b_topmargin;
if (!isset($b_topmargin))
$b_topmargin = 8;
$sectionname = explode(":", $section);
$sectionname = $sectionname[sizeof($sectionname)-1];
load_module_javascript($sectionname);
if(is_object($toolbar))
print $toolbar->GetInitScript();
print "</head><body topmargin=\"$b_topmargin\" leftmargin=\"8\" marginheight=\"$b_topmargin\" marginwidth=\"8\" bgcolor=\"#FFFFFF\"";
//*** Preload toolbar images
if(strlen($onLoad))
{
print $onLoad;
}
else
print " onload=\"if (clear_checkboxes) clear_checkboxes(); if (typeof(theMainScript) != 'undefined') theMainScript.ProcessOnload(); \"";
print ">";
global $b_header_addon;
if (isset($b_header_addon)) echo $b_header_addon;
if(strlen($section)>0)
{
$objSections->SetCurrentSection($section);
$sec = $objSections->GetCurrentSection();
if ($sec->Get("notitle")!=1)
print $objSections->page_title();
print $objSections->page_tabs($envar);
//Section Navigatior
if ($sec->Get("nonavbar")!=1)
{
if (is_null($ExtraTitle))
$ExtraTitle = "";
print $objSections->section_header($envar,$NavBarText,$ExtraTitle);
}
//Toolbar if appropriate
if( isset($sections[$section]) )
if($sections[$section]['toolbar'] == 1 || (is_object($toolbar)) )
print $toolbar->Build();
}
}//Section Page Header
//***********************************
//SubSection Title
function int_subsection_title($caption, $ColSpan = 5)
{
int_table_color(1);
print <<<END
<!-- Subsection Title -->
<tr class="subsectiontitle">
<td colspan="$ColSpan">$caption</td>
</tr>
END;
}
function int_subsection_title_install($caption)
{
int_table_color(1);
print <<<END
<!-- Subsection Title -->
<tr class="subsectiontitle">
<td colspan="3">$caption</td>
</tr>
END;
}
function int_subsection_title_ret($caption)
{
int_table_color_ret(1);
$o = "<!-- Subsection Title --><tr class=\"subsectiontitle\"><td colspan=\"5\">$caption</td></tr>";
return $o;
}
//SubSection Title
//***********************************
//Table Alternating colors
function int_table_color($reset_color=0, $return_result = false)
{
static $colorset;
if($reset_color)
- { $colorset="table_color2";
+ { $colorset="table-color2";
return;
}
- if ($colorset == "table_color1")
- $colorset = "table_color2";
+ if ($colorset == "table-color1")
+ $colorset = "table-color2";
else
- $colorset = "table_color1";
+ $colorset = "table-color1";
$ret = "class=\"".$colorset."\"";
if($return_result)
return $ret;
else
print $ret;
}//Table Alternating colors
//Table Alternating colors with return
function int_table_color_ret($reset_color=0)
{
static $colorset;
if($reset_color)
- { $colorset="table_color2";
+ { $colorset="table-color2";
return;
}
- if ($colorset == "table_color1")
- $colorset = "table_color2";
+ if ($colorset == "table-color1")
+ $colorset = "table-color2";
else
- $colorset = "table_color1";
+ $colorset = "table-color1";
return "class=\"".$colorset."\"";
}//Table Alternating colors
//***********************************
//Hint
function int_hint($caption)
{
global $imagesURL;
print <<<END
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td>
<span class="hint"><img src="$imagesURL/smicon7.gif" width="14" height="14" align="absmiddle">$caption</span>
<td>
</tr>
</table>
END;
}//Hint
function int_hint_red($caption)
{
global $imagesURL;
print <<<END
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td>
<span class="hint_red">$caption</span>
<td>
</tr>
</table>
END;
}//Hint
//***********************************
//Navigation String
function int_nav($caption)
{
global $pathtoroot;
global $imagespath;
print <<<END
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#f0f0f0">
<tr>
<td><b class="text"><span class="navbar"><a class="navbar" href="">$caption</a></span></b></td>
</tr>
</table>
END;
}//Navigation String
//***********************************
//Print Out Images
function int_img($img)
{
global $images;
global $pathtoroot;
global $imagesURL;
$src = $imagesURL."/".$images[$img]['file'];
$alt = $images[$img]['alt'];
$width = $images[$img]['width'];
$height = $images[$img]['height'];
$name = $img;
//Set ID if needed
if ($img == 'img:tool:view')
$id = "ID=\"viewbutton\"";
print "<img title=\"$alt\" name=\"$name\" src=\"$src\" width=\"$width\" height=\"$height\" $id border=\"0\" align=\"absmiddle\">";
}//Print Out Images
//***********************************
//Page Footer
function int_footer()
{
global $objSession;
if($objSession->HasSystemPermission("DEBUG.INFO"))
{
//phpinfo();
}
if( defined('REQUIRE_LAYER_HEADER') ) echo '</div>';
print <<<END
</body>
</html>
END;
if( class_exists('kApplication') )
{
$application =& kApplication::Instance();
$application->Done();
}
}//Page Footer
function HomeEnv()
{
global $m_var_list_update;
$m_var_list_update["cat"]=0;
return BuildEnv();
}
function UpEnv()
{
global $m_var_list_update,$objCatList;
$current = $objCatList->CurrentCat();
$parent = $current->Get("ParentId");
$m_var_list_update["cat"]=$parent;
return BuildEnv();
}
function ModuleInclude($file)
{
global $pathtoroot;
$m = GetModuleArray();
foreach($m as $key=>$value)
{
$path = $pathtoroot.$value.$file;
if(file_exists($path))
{
echo "<!-- $path -->";
@include_once($path);
}
}
}
function MultiEditButtons(&$ToolBar,$next,$prev,$Form,$StatusField, $url,$onClick, $ExtraVar="", $prev_phrase = 'la_ToolTip_Previous', $next_phrase = 'la_ToolTip_Next')
{
global $adminURL;
$url = preg_replace('/^\/(.*)/', '\\1', $url); // remove "/" from beginning
$ToolBar->Add("divider");
if($prev>-1)
{
$MouseOver="swap('moveleft','toolbar/tool_prev_f2.gif');";
$MouseOut="swap('moveleft', 'toolbar/tool_prev.gif');";
$var="env=".BuildEnv()."&en=$prev&lpn=".GetVar('lpn');
if (strlen($ExtraVar))
$var.= $ExtraVar;
if ($onClick != 'LangSubmitMove') {
$link = "javascript:edit_submit('$Form','$StatusField','$url',0,'$var');";
}
else {
$link = "javascript:$onClick('$url', '$prev')";
}
$ToolBar->Add("moveleft",$prev_phrase,$link,$MouseOver,$MouseOut,"","toolbar/tool_prev.gif");
}
else
{
$MouseOver="";
$MouseOut="";
//$onClick="";
$link="#";
$ToolBar->Add("moveleft",$prev_phrase,"#","","","","toolbar/tool_prev_f3.gif");
}
if($next>-1)
{
$MouseOver="swap('moveright','toolbar/tool_next_f2.gif');";
$MouseOut="swap('moveright', 'toolbar/tool_next.gif');";
$var="env=".BuildEnv()."&en=$next".( isset($_REQUEST['lpn']) ? '&lpn='.$_REQUEST['lpn'] : '');
if (strlen($ExtraVar))
$var.= $ExtraVar;
if ($onClick != 'LangSubmitMove') {
$link = "javascript:edit_submit('$Form','$StatusField','$url',0,'$var');";
}
else {
$link = "javascript:$onClick('$url', '$next')";
}
$ToolBar->Add("moveright",$next_phrase,$link,$MouseOver,$MouseOut,"","toolbar/tool_next.gif");
}
else
{
$ToolBar->Add("moveright",$next_phrase,"#","","","","toolbar/tool_next_f3.gif");
}
}
function InsertButtons(&$ToolBar, $Buttons = Array(), $params = Array() )
{
foreach($Buttons as $button)
switch($button)
{
case 'save':
$ToolBar->Add( "img_save", "la_Save", "#",
"swap('img_save','toolbar/tool_select_f2.gif');",
"swap('img_save', 'toolbar/tool_select.gif');",
"edit_submit('".$params['form']."','".$params['status_field']."','".$params['url']."',1,'&lpn=".$_REQUEST['lpn']."');","tool_select.gif");
break;
case 'cancel':
$ToolBar->Add( "img_cancel", "la_Cancel", "#",
"swap('img_cancel','toolbar/tool_cancel_f2.gif');",
"swap('img_cancel', 'toolbar/tool_cancel.gif');",
"edit_submit('".$params['form']."','".$params['status_field']."','".$params['url']."',2,'&lpn=".$_REQUEST['lpn']."');","tool_cancel.gif");
break;
case 'edit':
break;
case 'delete':
break;
}
}
function GetTitle($item_phrase, $tab_phrase, $id, $item_name = false)
{
//gets correct caption for editing windows with tabs
//echo "In: $item_phrase, $tab_phrase, $id";
$is_new = (isset($_REQUEST['new']) && ($_REQUEST['new'] == 1)) || $id <= 0 ? 1 : 0;
$text = $is_new ? 'la_Text_Adding' : 'la_Text_Editing';
$text = admin_language($text).' '.admin_language($item_phrase);
if($is_new == 0) {
if ($item_name == false) {
$text .= ' #'.$id;
}
else {
if ($item_name != '') {
$text .= " '".$item_name."'";
}
}
}
if ($tab_phrase != '') {
$text .= ' - '.admin_language($tab_phrase);
}
return $text;
}
function MarkFields($form_name)
{
// mark specified form fields as required
?> <script language="JavaScript">MarkAsRequired(document.getElementById("<?php echo $form_name; ?>"));</script> <?php
}
?>
Property changes on: branches/unlabeled/unlabeled-1.31.2/admin/include/elements.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.31
\ No newline at end of property
+1.31.2.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.5.66/admin/install/reinstall.php
===================================================================
--- branches/unlabeled/unlabeled-1.5.66/admin/install/reinstall.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.5.66/admin/install/reinstall.php (revision 8266)
@@ -1,73 +1,73 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Licence Verification</span><br><br>
<?php section_header('Step 1 - Licence Verification'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color1">
+ <tr class="table-color1">
<td COLSPAN=2><p class="error">In-Portal is already installed at this location.</p></TD>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td COLSPAN=2>In order to use the installation tool, please provide your Intechnic account information:</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="text"><B>Username:</B></td>
<td width="80%"><input type="text" name="UserName" value="<?php GetVar('UserName', true);?>" class="text"></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="text"><B>Password:</B></td>
<td><input type="password" name="UserPass" class="text"></td>
</tr>
- <tr class="table_color2"><td COLSPAN=2><p class="error"><?php if( isset($login_error) ) echo $login_error;?></p><br></TD></tr>
+ <tr class="table-color2"><td COLSPAN=2><p class="error"><?php if( isset($login_error) ) echo $login_error;?></p><br></TD></tr>
<?php if($show_upgrade) { ?>
- <tr class="table_color1">
+ <tr class="table-color1">
<td COLSPAN=2 ><INPUT TYPE=RADIO value="6" name="inp_opt" id="inp_opt_6" <?php echo RadioChecked('inp_opt',6); ?>><label for="inp_opt_6">Upgrade In-Portal</label></span></td>
</tr>
<?php } ?>
- <tr class="table_color2">
+ <tr class="table-color2">
<td COLSPAN=2 >
<INPUT TYPE="RADIO" NAME="inp_opt" VALUE="1" id="inp_opt_1" <?php echo RadioChecked('inp_opt',1); ?>><label for="inp_opt_1">Clean out the In-Portal database and reinstall</label><br>
</td>
</tr>
- <tr class="table_color1">
+ <tr class="table-color1">
<td COLSPAN=2 >
<INPUT TYPE="RADIO" NAME="inp_opt" VALUE="4" id="inp_opt_4" <?php echo RadioChecked('inp_opt',4); ?>><label for="inp_opt_4">Clean out the In-Portal database and reinstall from backup</label>
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td COLSPAN=2><INPUT TYPE=RADIO value="2" name="inp_opt" id="inp_opt_2" <?php echo RadioChecked('inp_opt',2); ?>><label for="inp_opt_2">Install to a new database</label></td>
</tr>
- <tr class="table_color1">
+ <tr class="table-color1">
<td COLSPAN=2><INPUT TYPE=RADIO value="3" name="inp_opt" id="inp_opt_3" <?php echo RadioChecked('inp_opt',3); ?>><label for="inp_opt_3">Update License Information</label></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td COLSPAN=2 ><INPUT TYPE=RADIO value="5" name="inp_opt" id="inp_opt_5" <?php echo RadioChecked('inp_opt',5); ?>><label for="inp_opt_5">Change Database Configuration</label></td>
</tr>
- <tr class="table_color1">
+ <tr class="table-color1">
<td COLSPAN=2 ><INPUT TYPE=RADIO value="7" name="inp_opt" id="inp_opt_7" <?php echo RadioChecked('inp_opt',7); ?>><label for="inp_opt_7">Fix Paths</label></td>
</tr>
- <tr class="table_color1">
+ <tr class="table-color1">
<td colspan="2"><p class="error"><?php if( isset($inst_error) ) echo $inst_error; ?></p><br/></td>
</tr>
<tr>
<td COLSPAN=2>
<br>
<input TYPE="hidden" NAME ="state" VALUE="reinstall_process">
<input type="hidden" name="next_step" value="2<?php //=$next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.5.66/admin/install/reinstall.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.5
\ No newline at end of property
+1.5.66.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.3.50/admin/install/general_error.php
===================================================================
--- branches/unlabeled/unlabeled-1.3.50/admin/install/general_error.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.3.50/admin/install/general_error.php (revision 8266)
@@ -1,27 +1,27 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Installation Error</span><br><br>
<?php section_header('Installation Error'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2" valign="top">
+ <tr class="table-color2" valign="top">
<td><p class="error"><?php echo $general_error; ?></p><br/></td>
</tr>
<td>
<br>
<!--<input TYPE="hidden" NAME ="state" VALUE="adm_login">-->
<!--<input type="submit" name="submit_form" value="Continue" class="button">-->
<!--<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">-->
<!--<input type="hidden" name="UserPass" VALUE="<?php if(isset($UserPass)) echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php if(isset($UserName)) echo $UserName; ?>"> -->
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.3.50/admin/install/general_error.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.3
\ No newline at end of property
+1.3.50.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.7.20/admin/install/restore_select.php
===================================================================
--- branches/unlabeled/unlabeled-1.7.20/admin/install/restore_select.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.7.20/admin/install/restore_select.php (revision 8266)
@@ -1,113 +1,113 @@
<?php
if(!strlen($filepath)) {
$ado =& inst_GetADODBConnection();
$sql = "SELECT VariableValue FROM ".$g_TablePrefix."ConfigurationValues WHERE VariableName = 'Backup_Path'";
$rs = $ado->Execute($sql);
$filepath = $rs->fields['VariableValue'];
if (!strlen($filepath)) {
$filepath = $pathtoroot.$admin.$path_char.'backupdata';
}
}
function getRestoreDirList($dirName)
{
global $objSession, $path_char;
$filedates = array();
$d = @dir($dirName);
if (!$d) {
$restore_error = 'Cannot open backup directory!';
return;
}
while($entry = $d->read())
{
if ($entry != "." && $entry != "..")
{
if (!is_dir($dirName.$path_char.$entry) && eregi("dump",$entry))
{
$shortversion=chopchop($entry);
$filedate[]=$shortversion;
}
}
}
$d->close();
rsort($filedate);
return $filedate;
}
function chopchop ($filename)
{
eregi(BACKUP_NAME, $filename, $rets);
return $rets[1];
}
?>
<?php
$datearray=getRestoreDirList($filepath);
$count = 0;
if (count($datearray) != 0) {
$options = '';
foreach($datearray as $key => $value)
{
$sel = ($value == $_REQUEST['backupdate']) ? ' checked' : '';
- $options .= "<TR class=\"table_color2\">";
+ $options .= "<TR class=\"table-color2\">";
$options .= "<TD class=\"txt\" size=40><input id=\"$key\" type=radio NAME=\"backupdate\" VALUE=\"$value\" $sel>";
$options .= '<label for="'.$key.'">'.adodb_date("F j, Y, g:i a",$value)."</label></TD></TR>";
$count++;
if($count>10)
break;
}
}
else {
$tmp_step = 2;
$next_step = 3;
$restore_error = "No backup files found or directory does not exist!";
}
if ($_POST["state"]=="restore_select") {
$tmp_step = 2;
$next_step = 3;
}
?>
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select Backup File</span><br><br>
<!-- toolbar buttons //-->
<?php section_header('Step '.$tmp_step.' - Select Backup File'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" WIDTH="100%" class="txt">
<b>Backup Directory:</b> <INPUT TYPE="text" NAME="backupdir" VALUE="<?php echo $filepath; ?>">
<input type="button" NAME="update" VALUE="Update" class="button" ONCLICK="this.form.state.value='restore_select'; this.form.submit();">
</td>
</tr>
<?php echo $options;?>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $restore_error; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="restore_file">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.7.20/admin/install/restore_select.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.7
\ No newline at end of property
+1.7.20.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.92/admin/install/rootpass.php
===================================================================
--- branches/unlabeled/unlabeled-1.2.92/admin/install/rootpass.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.2.92/admin/install/rootpass.php (revision 8266)
@@ -1,43 +1,43 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Set Root Password</span><br><br>
<?php section_header('Step '.$tmp_step.' - Set Root Password'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt">
<b>Root Password:</b></td>
<td>
<input type="password" name="RootPass" class="text">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt">
<b>Confirm Root Password:</b></td>
<td>
<input type="password" name="RootPassConfirm" class="text">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $PassError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="RootSetPass">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.92/admin/install/rootpass.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.2
\ No newline at end of property
+1.2.92.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.92/admin/install/postconfig.php
===================================================================
--- branches/unlabeled/unlabeled-1.2.92/admin/install/postconfig.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.2.92/admin/install/postconfig.php (revision 8266)
@@ -1,64 +1,64 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Post-Install Configuration</span><br><br>
<?php section_header('Step '.$tmp_step.' - Post-Install Configuration'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<?php
$objAdmin = new clsConfigAdmin($module,$section);
$objAdmin->Clear();
$objAdmin->LoadItems(TRUE,TRUE);
$headings = $objAdmin->GetHeadingList();
for($i=0;$i<=count($headings);$i++)
{
$h = $headings[$i];
if(strlen($h))
{
int_subsection_title_install(admin_language($h));
$Items = $objAdmin->GetHeadingItems($h);
foreach($Items as $c)
{
print "<tr ".int_table_color_ret().">\n";
print " <td width=\"80%\" valign=\"top\" class=\"txt\"><b>".str_replace(':', '', $c->GetPrompt()).":</b></td>\n";
print " <td nowrap>".$c->ItemFormElement()."</TD>";
if(is_object($c->NextItem))
{
$n = $c->NextItem;
print " <td>".$n->ItemFormElement()."</TD>";
}
else
print " <td><span class=\"txt\">&nbsp;</span></td>\n";
print "</tr>\n";
}
}
}
//print "<tr ".int_table_color_ret().">\n";
//print "<td colspan=3 STYLE=\"text-align:center;\">";
$newstate="postconfig_".$step;
?>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="3"><p class="error"><?php echo $db_error; ?></p><br/></td>
</tr>
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input TYPE="hidden" NAME ="state" VALUE="<?php echo $newstate; ?>">
<input TYPE="hidden" NAME ="oldstate" VALUE="<?php echo $state; ?>">
<input type="hidden" name="next_step" value="<?php echo $tmp_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
<tr>
<td COLSPAN=3>
<br>
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="button" name="Cancel" value="Cancel" CLASS="button" ONCLICK = "history.go(-1);">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.92/admin/install/postconfig.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.2
\ No newline at end of property
+1.2.92.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.92/admin/install/warning.php
===================================================================
--- branches/unlabeled/unlabeled-1.2.92/admin/install/warning.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.2.92/admin/install/warning.php (revision 8266)
@@ -1,38 +1,38 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Approve Restore from Backup</span><br><br>
<?php section_header('Step '.$tmp_step.' - Approve Restore from Backup'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="text" colspan="2"><?php echo int_hint(prompt_language("la_text_restore warning")); ?></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="text" colspan="2">
<?php echo prompt_language("la_prompt_approve_warning")?>
<input type="checkbox" name="warning_ok" value="1">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $login_error; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="restore_file">
<input TYPE="hidden" NAME ="backupdir" VALUE="<?php echo $_POST["backupdir"];?>">
<input TYPE="hidden" NAME ="backupdate" VALUE="<?php echo $_POST["backupdate"];?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.92/admin/install/warning.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.2
\ No newline at end of property
+1.2.92.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.2.92/admin/install/login.php
===================================================================
--- branches/unlabeled/unlabeled-1.2.92/admin/install/login.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.2.92/admin/install/login.php (revision 8266)
@@ -1,40 +1,40 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Intechnic Account Login</span><br><br>
<?php section_header('Step '.$tmp_step.' - Intechnic Account Login'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt"><b>Username:</b></td>
<td>
<input type="text" name="UserName" class="text">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="text">
<b>Password:</b></td>
<td>
<input type="password" name="UserPass" class="text">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $login_error; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="login">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.92/admin/install/login.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.2
\ No newline at end of property
+1.2.92.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.3.66/admin/install/install_finish.php
===================================================================
--- branches/unlabeled/unlabeled-1.3.66/admin/install/install_finish.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.3.66/admin/install/install_finish.php (revision 8266)
@@ -1,32 +1,32 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Installation Complete</span><br><br>
<?php section_header('Installation Complete'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt">
In-portal has successfully been installed on your server. Click the button below to log into the site administration using the root password you just configured.
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td><p class="error"><?php echo ""; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="adm_login">
<input type="submit" name="submit_form" value="Continue" class="button">
<!--<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">-->
<!--<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>"> -->
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.3.66/admin/install/install_finish.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.3
\ No newline at end of property
+1.3.66.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.5.86/admin/install/download_license.php
===================================================================
--- branches/unlabeled/unlabeled-1.5.86/admin/install/download_license.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.5.86/admin/install/download_license.php (revision 8266)
@@ -1,42 +1,42 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select License</span><br><br>
<?php
$stmp_step = $tmp_step;
section_header('Step '.$stmp_step.' - Select License');
?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" class="txt"><b>Domain:</b></td>
<td ALIGN="left" class="txt"><input type="text" readonly name="domain" value="<?php echo $_SERVER['HTTP_HOST']?>"></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="left" class="txt"><b>Available licenses:</b></td>
<td ALIGN="left" class="txt"><?php echo $license_select;?></td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php if( isset($download_license_error) ) echo $download_license_error; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="download_license">
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="dlog" VALUE="<?php echo $_POST['login']; ?>">
<input type="hidden" name="dpass" VALUE="<?php echo $_POST['password']; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.5.86/admin/install/download_license.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.5
\ No newline at end of property
+1.5.86.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.5.86/admin/install/lang_run.php
===================================================================
--- branches/unlabeled/unlabeled-1.5.86/admin/install/lang_run.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.5.86/admin/install/lang_run.php (revision 8266)
@@ -1,72 +1,72 @@
<?php
function stats($caption,$myprogress,$totalnum)
{
global $rootURL, $CancelURL, $admin, $force_finish;
$step_num = $force_finish ? 3 : 6;
if($totalnum>0)
{
$pct=round(($myprogress/ $totalnum)*100);
}
else
$pct = 100;
$o =' <td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">'.$caption.'</span><br><br>
'.section_header('Step '.$step_num.' - '.$caption.' - '.$pct.'%',true).'
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<tr>
<td><img src="images/toolbar/tool_cancel.gif" id="img_Cancel" width="32" height="32" border="0" alt="Next Category" onMouseOut="swap(\'img_Cancel\', \'toolbar/tool_cancel.gif\');" onMouseOver="swap(\'img_Cancel\',\'toolbar/tool_cancel_f2.gif\');" onClick="history.go(-1);"></td>
<!--<td><img src="images/toolbar/tool_divider.gif" width="4" height="32" border="0"><br></td>-->
<td width="100%">&nbsp;</td>
</tr>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0"><table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">';
echo "\n";
- $o .= " <tr class=\"table_color2\">
+ $o .= " <tr class=\"table-color2\">
<td ALIGN=\"center\"> <br/>
<TABLE CLASS=\"tableborder_full\" width=\"75%\">
<TR border=1><TD bgcolor=\"#507F15\" width=\"".$pct."%\">&nbsp;</TD>";
$comp_pct = 100-$pct;
$o .= " <TD bgcolor=#FFFFFF width=\"".$comp_pct."%\"></TD></TR>";
$o .= " </TABLE><BR /><input type=button VALUE=\"Cancel\" CLASS=\"button\" ONCLICK=\"document.location='".$CancelURL."';\">
</td>
</tr></table></td>";
//$o .= "<!--<tr><td class=\"tabletitle\" STYLE=\"border: 1px solid #000000;\" bgcolor=\"#333333\">".$caption."-".$pct."%</td></tr>-->";
//$o .= "<TR><TD align=\"middle\" bgcolor=\"#F0F0F0\"><br />";
//$o .= " <TABLE CLASS=\"tableborder_full\" width=\"75%\">";
//$o .=" <TR border=1><TD bgcolor=\"#507F15\" width=\"".$pct."%\">&nbsp;</TD>";
//$comp_pct = 100-$pct;
//$o .= " <TD bgcolor=#FFFFFF width=\"".$comp_pct."%\"></TD></TR>";
//$o .= " </TABLE>";
//$o .= " <BR /><input type=button VALUE=\"Cancel\" CLASS=\"button\" ONCLICK=\"document.location='".$CancelURL."';\">";
echo $o."\n";
//echo "</TD></TR></TABLE></td>";
}
function reload($url)
{
print "<script language=\"javascript\">" ;
print "setTimeout(\"document.location='$url';\",40);";
print " </script>";
//echo "<A HREF=\"$url\">Next </A>";
}
$PageTitle = "Language Pack Installation In Progress";
$CancelURL = $rootURL ."admin/install.php";
stats($PageTitle,$Offset,$Total);
reload($NextUrl);
?>
Property changes on: branches/unlabeled/unlabeled-1.5.86/admin/install/lang_run.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.5
\ No newline at end of property
+1.5.86.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.4.2/admin/install/restore_run.php
===================================================================
--- branches/unlabeled/unlabeled-1.4.2/admin/install/restore_run.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.4.2/admin/install/restore_run.php (revision 8266)
@@ -1,121 +1,121 @@
<?php
function stats($caption,$myprogress,$totalnum)
{
global $rootURL, $CancelURL, $admin;
if($totalnum>0)
{
$pct=round(($myprogress/ $totalnum)*100);
}
else
$pct = 100;
$o .=' <td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">'.$caption.'</span><br><br>
'.section_header('Step 2 - '.$caption.' - '.$pct.'%', true).'
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<tr>
<td><img src="images/toolbar/tool_cancel.gif" id="img_Cancel" width="32" height="32" border="0" alt="Next Category" onMouseOut="swap(\'img_Cancel\', \'toolbar/tool_cancel.gif\');" onMouseOver="swap(\'img_Cancel\',\'toolbar/tool_cancel_f2.gif\');" onClick="history.go(-1);"></td>
<!--<td><img src="images/toolbar/tool_divider.gif" width="4" height="32" border="0"><br></td>-->
<td width="100%">&nbsp;</td>
</tr>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0"><table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">';
echo "\n";
- $o .= " <tr class=\"table_color2\">
+ $o .= " <tr class=\"table-color2\">
<td ALIGN=\"center\"><br>
<TABLE CLASS=\"tableborder_full\" width=\"75%\">
<TR border=1><TD bgcolor=\"#507F15\" width=\"".$pct."%\">&nbsp;</TD>";
$comp_pct = 100-$pct;
$o .= " <TD bgcolor=#FFFFFF width=\"".$comp_pct."%\"></TD></TR>";
$o .= " </TABLE><BR /><input type=button VALUE=\"Cancel\" CLASS=\"button\" ONCLICK=\"document.location='".$CancelURL."';\">
</td>
</tr></table></td>";
//$o .= "<!--<tr><td class=\"tabletitle\" STYLE=\"border: 1px solid #000000;\" bgcolor=\"#333333\">".$caption."-".$pct."%</td></tr>-->";
//$o .= "<TR><TD align=\"middle\" bgcolor=\"#F0F0F0\"><br />";
//$o .= " <TABLE CLASS=\"tableborder_full\" width=\"75%\">";
//$o .=" <TR border=1><TD bgcolor=\"#507F15\" width=\"".$pct."%\">&nbsp;</TD>";
//$comp_pct = 100-$pct;
//$o .= " <TD bgcolor=#FFFFFF width=\"".$comp_pct."%\"></TD></TR>";
//$o .= " </TABLE>";
//$o .= " <BR /><input type=button VALUE=\"Cancel\" CLASS=\"button\" ONCLICK=\"document.location='".$CancelURL."';\">";
echo $o."\n";
//echo "</TD></TR></TABLE></td>";
}
function reload($url)
{
print "<script language=\"javascript\">" ;
print "setTimeout(\"document.location='$url';\",40);";
print " </script>";
//echo "<A HREF=\"$url\">Next </A>";
}
$TotalSize = filesize($backupfile);
$MaxLines = 200;
$PageTitle = "Restore In Progress";
$CancelURL = $rootURL ."admin/install.php";
stats($PageTitle,$FileOffset,$TotalSize);
if($FileOffset < $TotalSize)
{
$FileOffset = RunRestoreFile($ado,$backupfile,$FileOffset,$MaxLines);
if($FileOffset>-1)
{
if ($_POST['next_step']) {
$next_step = $_POST['next_step'];
}
else if ($_GET['next_step']) {
$next_step = $_GET['next_step'];
}
//$next_step--;
if($FileOffset ==0)
$FileOffset = $TotalSize;
$backupfile = SuperStrip($backupfile);
$url = $_SERVER['PHP_SELF']."?Offset=$FileOffset&File=$backupfile&state=restore_run&next_step=$next_step&install_type=$install_type&show_prev=1";
}
else
{
switch($FileOffset)
{
case -1:
$error = prompt_language("la_restore_file_error");
break;
case -2:
$error = prompt_language("la_restore_read_error");
break;
default:
$error = "(".$FileOffset.") ".prompt_language("la_restore_unknown_error");
break;
}
$application =& kApplication::Instance();
$application->ApplicationDie($error);
}
}
else {
if ($_POST['next_step']) {
$next_step = $_POST['next_step'];
}
else if ($_GET['next_step']) {
$next_step = $_GET['next_step'];
}
$url = $_SERVER['PHP_SELF']."?state=finish&next_step=$next_step&install_type=$install_type";
}
reload($url);
?>
<!--<br>
<p class="error"><?php echo $restore_error; ?></p> -->
Property changes on: branches/unlabeled/unlabeled-1.4.2/admin/install/restore_run.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.4
\ No newline at end of property
+1.4.2.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.4.50/admin/install/db_reconfig.php
===================================================================
--- branches/unlabeled/unlabeled-1.4.50/admin/install/db_reconfig.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.4.50/admin/install/db_reconfig.php (revision 8266)
@@ -1,70 +1,70 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Database Configuration</span><br><br>
<?php section_header('Step '.$tmp_step.' - Database Configuration'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="right" class="txt"><b>Server Type:</b></td>
<td ALIGN="left">
<SELECT NAME="ServerType">
<OPTION VALUE="mysql" <?php if($g_DBType=="mysql") echo "SELECTED"; ?>>MySQL</OPTION>
<!-- <OPTION VALUE="mssql" <?php if($g_DBType=="mssql") echo "SELECTED"; ?>>MS-SQL Server</OPTION>
<OPTION VALUE="pgsql" <?php if($g_DBType=="pgsql") echo "SELECTED"; ?>>pgSQL</OPTION>-->
</SELECT>
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="right" class="txt"><b>Server Hostname:</b></td>
<td ALIGN="left">
<input type="text" name="ServerHost" class="text" VALUE="<?php echo $g_DBHost; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="right" class="txt"><b>Server Database:</b></td>
<td ALIGN="left">
<input type="text" name="ServerDB" class="text" VALUE="<?php echo $g_DBName; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="right" class="txt"><b>Database User Name:</b></td>
<td ALIGN="left">
<input type="text" name="ServerUser" class="text" VALUE="<?php echo $g_DBUser; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="right" class="txt"><b>Server Password:</b></td>
<td ALIGN="left">
<input type="password" name="ServerPass" class="text" VALUE="<?php echo $g_DBUserPassword; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td ALIGN="right" class="txt"><b>Table Name Prefix:</b></td>
<td ALIGN="left">
<input type="text" name="TablePrefix" class="text" VALUE="<?php echo $g_TablePrefix; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $db_error; ?></p><br/></td>
</tr>
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input TYPE="hidden" NAME ="state" VALUE="db_reconfig_save">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
<tr>
<td COLSPAN=2>
<br>
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="button" name="Cancel" value="Cancel" CLASS="button" ONCLICK = "history.go(-1);">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.4.50/admin/install/db_reconfig.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.4
\ No newline at end of property
+1.4.50.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.4.50/admin/install/dbinfo.php
===================================================================
--- branches/unlabeled/unlabeled-1.4.50/admin/install/dbinfo.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.4.50/admin/install/dbinfo.php (revision 8266)
@@ -1,70 +1,70 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Database Configuration</span><br><br>
<?php section_header('Step '.$tmp_step.' - Database Configuration'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0f" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt"><b>Server Type:</b></td>
<td ALIGN="left">
<SELECT NAME="ServerType">
<OPTION VALUE="mysql" <?php if($g_DBType=="mysql") echo "SELECTED"; ?>>MySQL</OPTION>
<!--<OPTION VALUE="mssql" <?php if($g_DBType=="mssql") echo "SELECTED"; ?>>MS-SQL Server</OPTION>
<OPTION VALUE="pgsql" <?php if($g_DBType=="pgsql") echo "SELECTED"; ?>>pgSQL</OPTION>-->
</SELECT>
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt"><b>Hostname:</b></td>
<td ALIGN="left">
<input type="text" name="ServerHost" class="text" VALUE="<?php echo $g_DBHost; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt"><b>Database Name:</b></td>
<td ALIGN="left">
<input type="text" name="ServerDB" class="text" VALUE="<?php echo $g_DBName; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt"><b>Database User Name:</b></td>
<td ALIGN="left">
<input type="text" name="ServerUser" class="text" VALUE="<?php echo $g_DBUser; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt"><b>Database User Password:</b></td>
<td ALIGN="left">
<input type="password" name="ServerPass" class="text" VALUE="<?php echo $g_DBUserPassword; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt"><b>Table Name Prefix:</b></td>
<td ALIGN="left">
<input type="text" name="TablePrefix" class="text" VALUE="<?php if( isset($g_TablePrefix) ) echo $g_TablePrefix; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php if ($general_error != '') echo $general_error; else echo $db_error; ?></p><br/></td>
</tr>
<input type="hidden" name="UserPass" VALUE="<?php if( isset($UserPass) ) echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php if( isset($UserName) )echo $UserName; ?>">
<input TYPE="hidden" NAME ="state" VALUE="db_config_save">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
<tr>
<td COLSPAN=2>
<br>
<input type="submit" name="submit_form" value="Continue" class="button">
<input type="button" name="Cancel" value="Cancel" CLASS="button" ONCLICK = "history.go(-1);">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.4.50/admin/install/dbinfo.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.4
\ No newline at end of property
+1.4.50.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.3.86/admin/install/lang_select.php
===================================================================
--- branches/unlabeled/unlabeled-1.3.86/admin/install/lang_select.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.3.86/admin/install/lang_select.php (revision 8266)
@@ -1,39 +1,39 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select Language Packs to Install</span><br><br>
<?php section_header('Step '.$tmp_step.' - Select Language Packs'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<?php
foreach($Packs as $p)
{
- echo "<TR class=\"table_color2\"><TD colspan=\"2\" align=\"left\" class=\"txt\">";
+ echo "<TR class=\"table-color2\"><TD colspan=\"2\" align=\"left\" class=\"txt\">";
echo "<INPUT TYPE=\"CHECKBOX\" NAME=\"lang[]\" VALUE=\"$p\" CHECKED=\"checked\">";
echo substr($p,0,-5);
echo "</TD></TR>\n";
}
?>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php if( isset($LangError) ) echo $LangError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="lang_install_init">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $tmp_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.3.86/admin/install/lang_select.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.3
\ No newline at end of property
+1.3.86.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.3.86/admin/install/settings.php
===================================================================
--- branches/unlabeled/unlabeled-1.3.86/admin/install/settings.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.3.86/admin/install/settings.php (revision 8266)
@@ -1,41 +1,41 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Set Root Password</span><br><br>
<?php section_header('Step '.$tmp_step.' - Set Root Password'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
- <tr class="table_color2">
+ <tr class="table-color2">
<td class="txt">
<b>Enter the URL which the In-Portal root directory (<I><?php echo $path; ?></I>) corresponds to on your web server.</b></td>
<td>
http://
<input TYPE="TEXT" class="text" NAME="domain" VALUE="<?php echo $_SERVER['HTTP_HOST']; ?>">
<?php
$pathguess =substr($_SERVER["SCRIPT_NAME"],0,-17);
?>
<input type="text" name="site" class="text" VALUE="<?php echo $pathguess; ?>">
</td>
</tr>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $PassError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="server_settings_save">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
<input type="submit" name="submit_form" value="Login" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.3.86/admin/install/settings.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.3
\ No newline at end of property
+1.3.86.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.3.86/admin/install/lang_default.php
===================================================================
--- branches/unlabeled/unlabeled-1.3.86/admin/install/lang_default.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.3.86/admin/install/lang_default.php (revision 8266)
@@ -1,42 +1,42 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Select Default Language</span><br><br>
<?php section_header('Step '.$tmp_step.' - Select Default Language'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<?php
$checked=" CHECKED";
foreach($Packs as $id=>$p)
{
echo "<TR class=\"tabel_color2\"><TD colspan=\"2\" align=\"left\" class=\"text\">";
echo "<INPUT TYPE=\"RADIO\" NAME=\"lang\" VALUE=\"$id\" $checked>";
echo $p;
echo "</TD></TR>\n";
$checked = "";
}
?>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php if( isset($ModuleError) ) echo $ModuleError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="lang_default_set">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.3.86/admin/install/lang_default.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.3
\ No newline at end of property
+1.3.86.1
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.1.70/admin/install/fix_paths.php
===================================================================
--- branches/unlabeled/unlabeled-1.1.70/admin/install/fix_paths.php (revision 8265)
+++ branches/unlabeled/unlabeled-1.1.70/admin/install/fix_paths.php (revision 8266)
@@ -1,48 +1,48 @@
<td>
<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Fix Paths</span><br><br>
<?php section_header('Step '.$tmp_step.' - Fix Paths'); ?>
<table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
</table>
<!-- toolbar button \\-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr valign="top">
<td width="60%" bgcolor="#F0F0F0">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">
<?php
while ($path_rs && !$path_rs->EOF) {
$sql = "SELECT prompt FROM ".$g_TablePrefix."ConfigurationAdmin WHERE VariableName = '".$path_rs->fields['VariableName']."'";
$rrs = $ado->Execute($sql);
print "<tr ".int_table_color_ret().">\n";
print " <td width=\"80%\" valign=\"top\" class=\"txt\"><b>".admin_language($rrs->fields['prompt']).":</b></td>\n";
print " <td nowrap><input type=text name='values[".$path_rs->fields['VariableName']."]' value='".$path_rs->fields['VariableValue']."'></TD>";
/* if(is_object($c->NextItem))
{
$n = $c->NextItem;
print " <td>".$n->ItemFormElement()."</TD>";
}
else
print " <td><span class=\"txt\">&nbsp;</span></td>\n";*/
print "</tr>\n";
$path_rs->MoveNext();
}
?>
- <tr class="table_color2">
+ <tr class="table-color2">
<td colspan="2"><p class="error"><?php echo $DomainError; ?></p><br/></td>
</tr>
<td>
<br>
<input TYPE="hidden" NAME ="state" VALUE="fix_paths_process">
<input type="submit" name="submit_form" value="Select" class="button">
<input type="reset" name="Cancel" value="Cancel" class="button" ONCLICK = "history.go(-1);">
<input type="hidden" name="UserPass" VALUE="<?php echo $UserPass; ?>">
<input type="hidden" name="UserName" VALUE="<?php echo $UserName; ?>">
<input type="hidden" name="next_step" value="<?php echo $next_step;?>">
<input type="hidden" name="install_type" value="<?php echo $install_type;?>">
</td>
</tr>
</table>
</td>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.1.70/admin/install/fix_paths.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1
\ No newline at end of property
+1.1.70.1
\ No newline at end of property

Event Timeline