forked from extern/egroupware
port setup to idots template set
This commit is contained in:
parent
854b740bf1
commit
72299b948a
@ -35,7 +35,7 @@
|
||||
|
||||
if (!function_exists('version_compare'))//version_compare() is only available in PHP4.1+
|
||||
{
|
||||
echo 'phpGroupWare now requires PHP 4.1 or greater.<br>';
|
||||
echo 'eGroupWare now requires PHP 4.1 or greater.<br>';
|
||||
echo 'Please contact your System Administrator';
|
||||
exit;
|
||||
}
|
||||
|
@ -142,6 +142,7 @@
|
||||
check_form_values();
|
||||
$header_template = CreateObject('setup.Template','../');
|
||||
$GLOBALS['phpgw_setup']->html->show_header('Generated header.inc.php', False, 'header');
|
||||
echo '<table width="90%"><tr><td>';
|
||||
echo '<br>' . lang('Save this text as contents of your header.inc.php') . '<br><hr>';
|
||||
$newheader = $GLOBALS['phpgw_setup']->html->generate_header();
|
||||
echo '<pre>';
|
||||
@ -152,7 +153,8 @@
|
||||
echo '<input type="hidden" name="FormLogout" value="header">';
|
||||
echo '<input type="submit" name="junk" value="'.lang('Continue').'">';
|
||||
echo '</form>';
|
||||
echo '</body></html>';
|
||||
echo '</td></tr></table>';
|
||||
$GLOBALS['phpgw_setup']->html->show_footer();
|
||||
break;
|
||||
case 'write':
|
||||
check_form_values();
|
||||
@ -182,7 +184,7 @@
|
||||
break;
|
||||
default:
|
||||
$GLOBALS['phpgw_setup']->html->show_header($GLOBALS['phpgw_info']['setup']['HeaderFormMSG'], False, 'header');
|
||||
|
||||
|
||||
$detected = '';
|
||||
|
||||
if (!get_var('ConfigLang',array('POST','COOKIE')))
|
||||
@ -190,7 +192,7 @@
|
||||
$detected .= '<br><form action="manageheader.php" method="Post">Please Select your language '.lang_select(True,'en')."</form>\n";
|
||||
}
|
||||
|
||||
$detected .= '<table border="0" width="100%" cellspacing="0" cellpadding="0" style="{ border: 1px solid #000000; }">' . "\n";
|
||||
$detected .= '<table border="0" width="100%" cellspacing="0" cellpadding="0">' . "\n";
|
||||
|
||||
$detected .= '<tr><td colspan="2"><p>' . $GLOBALS['phpgw_info']['setup']['PageMSG'] . '<br /> </p></td></tr>';
|
||||
$manual = '<a href="../doc/en_US/html/admin/" target="manual">'.lang('phpGroupWare Administration Manual').'</a>';
|
||||
@ -540,7 +542,11 @@
|
||||
$setup_tpl->set_var('lang_finaldescr',lang('After retrieving the file, put it into place as the header.inc.php. Then, click "continue".'));
|
||||
$setup_tpl->set_var('lang_continue',lang('Continue'));
|
||||
|
||||
|
||||
$setup_tpl->pfp('out','manageheader');
|
||||
|
||||
$GLOBALS['phpgw_setup']->html->show_footer();
|
||||
|
||||
break; // ending the switch default
|
||||
}
|
||||
?>
|
||||
|
@ -26,7 +26,7 @@ function check_all(which)
|
||||
<td align="center">{description}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="70%" cellspacing="0" cellpadding="2" style="{ border: 1px solid #000000; }">
|
||||
<table width="90%" cellspacing="0" cellpadding="2">
|
||||
<!-- END header -->
|
||||
|
||||
<!-- BEGIN app_header -->
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!-- BEGIN header -->
|
||||
|
||||
<form method="POST" action="{action_url}">
|
||||
<table align="center" cellspacing="0" style="{border: 1px solid #FFFFFF;}">
|
||||
<table align="center" cellspacing="0" border="5" width="90%" >
|
||||
<tr class="th">
|
||||
<td colspan="2"> {title}</td>
|
||||
</tr>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- begin config_pre_script.tpl -->
|
||||
<form method="POST" action="config.php">
|
||||
<table border="0" align="center" cellspacing="0" width="100%" style="{border: 1px solid #000000;}">
|
||||
<table border="0" align="center" cellspacing="0" width="90%" ">
|
||||
<!-- end config_pre_script.tpl -->
|
||||
|
||||
|
@ -1,34 +1,29 @@
|
||||
<!-- begin login_main.tpl -->
|
||||
<p> </p>
|
||||
<table align="center" cellspacing="0" cellpadding="2" style="border: 1px solid #486591;">
|
||||
|
||||
<!--<p>To enter the setup please login with the setup-password.</p>-->
|
||||
<!--<table align="center" cellspacing="0" cellpadding="5" style="border: 1px solid rgb(72, 101, 145);" width="430">-->
|
||||
<table align="center" cellspacing="0" cellpadding="5" style="border: 0px solid rgb(72, 101, 145);" width="450">
|
||||
{V_login_stage_header}
|
||||
|
||||
<tr class="row_on" >
|
||||
<td colspan="2"> </strong></td>
|
||||
</tr>
|
||||
<tr class="th">
|
||||
<td colspan="2"> <b>Header Admin Login</b></td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td colspan="2" class="msg" align="center">{HeaderLoginMSG}</td>
|
||||
</tr>
|
||||
<form action="manageheader.php" method="POST" name="admin">
|
||||
<tr class="row_on">
|
||||
<td>
|
||||
Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="FormPW" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td colspan="2">
|
||||
{lang_select}
|
||||
<input type="submit" name="Submit" value="Login">
|
||||
<input type="hidden" name="HeaderLogin" value="Login">
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
<td bgcolor="#cccccc" colspan="2"> <strong>Header Admin Login</strong></td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td colspan="2" class="msg" align="center">{HeaderLoginMSG}</td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td>
|
||||
<form action="manageheader.php" method="post" name="admin">
|
||||
Header Password:
|
||||
<input type="password" name="FormPW" value="">
|
||||
{lang_select}
|
||||
<input type="submit" name="Submit" value="Login">
|
||||
<input type="hidden" name="HeaderLogin" value="Login">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- end login_main.tpl -->
|
||||
|
||||
|
||||
|
@ -1,47 +1,47 @@
|
||||
<!-- begin login_stage_header.tpl -->
|
||||
<tbody>
|
||||
<tr class="th">
|
||||
<td colspan="2">
|
||||
<b>Setup/Config Admin Login</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td colspan="2" class="msg" align="center">{ConfigLoginMSG}</td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td colspan="2">
|
||||
<form action="index.php" method="POST" name="config">
|
||||
<!-- BEGIN B_multi_domain -->
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Domain:
|
||||
</td>
|
||||
<td>
|
||||
<select name="FormDomain">{domains}</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="FormPW" value="">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END B_multi_domain -->
|
||||
|
||||
<!-- stupid seperator -->
|
||||
|
||||
<td colspan="2" bgcolor="#cccccc">
|
||||
<strong>Setup/Config Admin Login</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td colspan="2" class="msg" align="center">{ConfigLoginMSG}</td>
|
||||
</tr>
|
||||
<tr class="row_on">
|
||||
<td colspan="2">
|
||||
<form action="index.php" method="post" name="config">
|
||||
<!-- BEGIN B_multi_domain -->
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Domain:
|
||||
</td>
|
||||
<td>
|
||||
<select name="FormDomain">{domains}</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="FormPW" value="">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END B_multi_domain -->
|
||||
Config Password:
|
||||
<!-- stupid seperator -->
|
||||
<!-- BEGIN B_single_domain -->
|
||||
<input type="password" name="FormPW" value="">
|
||||
<input type="hidden" name="FormDomain" value="{default_domain_zero}">
|
||||
<input type="password" name="FormPW" value="">
|
||||
<input type="hidden" name="FormDomain" value="{default_domain_zero}">
|
||||
<!-- END B_single_domain -->
|
||||
{lang_select}
|
||||
<input type="hidden" name="ConfigLogin" value="Login">
|
||||
<input type="submit" name="submit" value="Login">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- end login_stage_header.tpl -->
|
||||
|
||||
<input type="hidden" name="ConfigLogin" value="Login">
|
||||
<input type="submit" name="submit" value="Login">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- end login_stage_header.tpl -->
|
||||
|
@ -1,6 +1,11 @@
|
||||
<!-- BEGIN manageheader -->
|
||||
|
||||
<table border="0" width="90%" cellspacing="0" cellpadding="0" align="center">
|
||||
<tbody><tr><td>
|
||||
|
||||
{detected}
|
||||
<tr class="th">
|
||||
|
||||
<tr class="th">
|
||||
<th colspan="2">{lang_settings}</th>
|
||||
</tr>
|
||||
<form action="manageheader.php" method="post">
|
||||
@ -116,3 +121,8 @@
|
||||
<td>{lang_passforconfig}</td>
|
||||
</tr>
|
||||
<!-- END domain -->
|
||||
|
||||
</td></tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
@ -1,15 +1,15 @@
|
||||
<!-- BEGIN setup_demo -->
|
||||
<table border="1" width="100%" cellspacing="0" cellpadding="2">
|
||||
<table border="0" width="90%" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td>{description}</td>
|
||||
<td>{description} <br/><br/> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" bgcolor="#486591"><font color="#fefefe">{detailadmin}</td>
|
||||
<td align="left" bgcolor="#cccccc">{detailadmin}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form method="POST" action="{action_url}">
|
||||
<table border="0">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>{adminusername}</td>
|
||||
<td><input type="text" name="username"></td>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!-- begin setup_main.tpl -->
|
||||
<!-- begin the db section -->
|
||||
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="{ border: 1px solid #000000; }">
|
||||
<table border="0" width="90%" cellspacing="0" cellpadding="2">
|
||||
<tr class="th">
|
||||
<td align="left" colspan="2">{db_step_text}</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user