mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
fixed one more shortfall of manageheader
This commit is contained in:
parent
2683bc556c
commit
7bb8355b5e
@ -54,7 +54,13 @@
|
|||||||
$newheader = $phpgw_setup->generate_header();
|
$newheader = $phpgw_setup->generate_header();
|
||||||
echo "<pre>";
|
echo "<pre>";
|
||||||
echo htmlentities($newheader);
|
echo htmlentities($newheader);
|
||||||
echo "</pre></body></html>";
|
echo "</pre><hr>";
|
||||||
|
echo "<form action=\"index.php\" method=post>";
|
||||||
|
echo "<br> After retrieving the file put it into place as the header.inc.php, then click continue.<br>";
|
||||||
|
echo "<input type=hidden name=\"FormLogout\" value=\"header\">";
|
||||||
|
echo "<input type=submit name=\"junk\" value=\"continue\">";
|
||||||
|
echo "</form>";
|
||||||
|
echo "</body></html>";
|
||||||
break;
|
break;
|
||||||
case "write config":
|
case "write config":
|
||||||
include("./inc/phpgw_template.inc.php");
|
include("./inc/phpgw_template.inc.php");
|
||||||
@ -244,19 +250,19 @@
|
|||||||
|
|
||||||
if(is_writeable ("../header.inc.php")|| (!file_exists ("../header.inc.php") && is_writeable ("../"))){
|
if(is_writeable ("../header.inc.php")|| (!file_exists ("../header.inc.php") && is_writeable ("../"))){
|
||||||
echo '<input type=submit name="action" value="write config">';
|
echo '<input type=submit name="action" value="write config">';
|
||||||
echo' or <input type=submit name="action" value="download"> or <input type=submit name="action" value="view"> the file.</form>';
|
echo ' or <input type=submit name="action" value="download"> or <input type=submit name="action" value="view"> the file.</form>';
|
||||||
}else{
|
}else{
|
||||||
echo 'Cannot create the header.inc.php due to file permission restrictions.<br> Instead you can ';
|
echo 'Cannot create the header.inc.php due to file permission restrictions.<br> Instead you can ';
|
||||||
echo'<input type=submit name="action" value="download">or <input type=submit name="action" value="view"> the file.</form>';
|
echo '<input type=submit name="action" value="download">or <input type=submit name="action" value="view"> the file.</form>';
|
||||||
}
|
}
|
||||||
echo '<form action="index.php" method=post>';
|
echo '<form action="index.php" method=post>';
|
||||||
echo'<br> After retrieving the file put it into place as the header.inc.php, then click continue.<br>';
|
echo '<br> After retrieving the file put it into place as the header.inc.php, then click continue.<br>';
|
||||||
echo'<input type=hidden name="FormLogout" value="header">';
|
echo '<input type=hidden name="FormLogout" value="header">';
|
||||||
// echo'<input type=hidden name="FormLogout" value="config">';
|
// echo '<input type=hidden name="FormLogout" value="config">';
|
||||||
// echo'<input type=hidden name="ConfigLogin" value="Login">';
|
// echo '<input type=hidden name="ConfigLogin" value="Login">';
|
||||||
// echo'<input type=hidden name="FormPW" value="'.$phpgw_domain[$phpgw_info["server"]["default_domain"]]["config_passwd"].'">';
|
// echo '<input type=hidden name="FormPW" value="'.$phpgw_domain[$phpgw_info["server"]["default_domain"]]["config_passwd"].'">';
|
||||||
// echo'<input type=hidden name="FormDomain" value="'.$phpgw_info["server"]["default_domain"].'">';
|
// echo '<input type=hidden name="FormDomain" value="'.$phpgw_info["server"]["default_domain"].'">';
|
||||||
echo'<input type=submit name="junk" value="continue">';
|
echo '<input type=submit name="junk" value="continue">';
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
echo "</body>";
|
echo "</body>";
|
||||||
echo "</html>";
|
echo "</html>";
|
||||||
|
Loading…
Reference in New Issue
Block a user