Fix php tags

This commit is contained in:
Miles Lott 2001-03-29 19:36:29 +00:00
parent 2f87627bf7
commit 41300b53ca
2 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@
</tr> </tr>
<tr bgcolor="e6e6e6"> <tr bgcolor="e6e6e6">
<td>Contact application:</td> <td>Contact application:</td>
<? if (!$current_config["contact_application"]) { $current_config["contact_application"] = "addressbook"; } ?> <?php if (!$current_config["contact_application"]) { $current_config["contact_application"] = "addressbook"; } ?>
<td><input name="newsettings[contact_application]" value="<?php echo $current_config["contact_application"]; ?>"></td> <td><input name="newsettings[contact_application]" value="<?php echo $current_config["contact_application"]; ?>"></td>
</tr> </tr>
<?php $selected[$current_config["contact_repository"]] = " selected"; ?> <?php $selected[$current_config["contact_repository"]] = " selected"; ?>
@ -23,7 +23,7 @@
</tr> </tr>
<tr bgcolor="e6e6e6"> <tr bgcolor="e6e6e6">
<td>LDAP host for contacts:</td> <td>LDAP host for contacts:</td>
<? if (!$current_config["ldap_contact_host"]) { $current_config["ldap_contact_host"] = $current_config["ldap_host"]; } ?> <?php if (!$current_config["ldap_contact_host"]) { $current_config["ldap_contact_host"] = $current_config["ldap_host"]; } ?>
<td><input name="newsettings[ldap_contact_host]" value="<?php echo $current_config["ldap_contact_host"]; ?>"></td> <td><input name="newsettings[ldap_contact_host]" value="<?php echo $current_config["ldap_contact_host"]; ?>"></td>
</tr> </tr>
<tr bgcolor="e6e6e6"> <tr bgcolor="e6e6e6">
@ -32,11 +32,11 @@
</tr> </tr>
<tr bgcolor="e6e6e6"> <tr bgcolor="e6e6e6">
<td>LDAP root dn for contacts:</td> <td>LDAP root dn for contacts:</td>
<? if (!$current_config["ldap_contact_dn"]) { $current_config["ldap_contact_dn"] = $current_config["ldap_root_dn"]; } ?> <?php if (!$current_config["ldap_contact_dn"]) { $current_config["ldap_contact_dn"] = $current_config["ldap_root_dn"]; } ?>
<td><input name="newsettings[ldap_contact_dn]" value="<?php echo $current_config["ldap_contact_dn"]; ?>"></td> <td><input name="newsettings[ldap_contact_dn]" value="<?php echo $current_config["ldap_contact_dn"]; ?>"></td>
</tr> </tr>
<tr bgcolor="e6e6e6"> <tr bgcolor="e6e6e6">
<td>LDAP root pw for contacts:</td> <td>LDAP root pw for contacts:</td>
<? if (!$current_config["ldap_contact_pw"]) { $current_config["ldap_contact_pw"] = $current_config["ldap_root_pw"]; } ?> <?php if (!$current_config["ldap_contact_pw"]) { $current_config["ldap_contact_pw"] = $current_config["ldap_root_pw"]; } ?>
<td><input name="newsettings[ldap_contact_pw]" type="password" value="<?php echo $current_config["ldap_contact_pw"]; ?>"></td> <td><input name="newsettings[ldap_contact_pw]" type="password" value="<?php echo $current_config["ldap_contact_pw"]; ?>"></td>
</tr> </tr>

View File

@ -201,7 +201,7 @@
?> ?>
</td></tr> </td></tr>
<tr bgcolor=486591><th colspan=2><font color="fefefe">Settings</font></th></tr> <tr bgcolor=486591><th colspan=2><font color="fefefe">Settings</font></th></tr>
<form action="<? echo $PHP_SELF ?>" method=post> <form action="<?php echo $PHP_SELF ?>" method=post>
<input type=hidden name="setting[write_config]" value=true> <input type=hidden name="setting[write_config]" value=true>
<tr><td colspan=2><b>Server Root</b><br><input type=text name="setting[server_root]" size=80 value="<? echo $phpgw_info["server"]["server_root"] ?>"></td></tr> <tr><td colspan=2><b>Server Root</b><br><input type=text name="setting[server_root]" size=80 value="<? echo $phpgw_info["server"]["server_root"] ?>"></td></tr>
<tr><td colspan=2><b>Include Root (this should be the same as Server Root unless you know what you are doing)</b><br><input type=text name="setting[include_root]" size=80 value="<? echo $phpgw_info["server"]["include_root"] ?>"></td></tr> <tr><td colspan=2><b>Include Root (this should be the same as Server Root unless you know what you are doing)</b><br><input type=text name="setting[include_root]" size=80 value="<? echo $phpgw_info["server"]["include_root"] ?>"></td></tr>
@ -212,7 +212,7 @@
<tr><td><b>DB User</b><br><input type=text name="setting[db_user]" value="<? echo $phpgw_info["server"]["db_user"] ?>"></td><td>Name of DB User as phpgroupware has to connect as</td></tr> <tr><td><b>DB User</b><br><input type=text name="setting[db_user]" value="<? echo $phpgw_info["server"]["db_user"] ?>"></td><td>Name of DB User as phpgroupware has to connect as</td></tr>
<tr><td><b>DB Password</b><br><input type=text name="setting[db_pass]" value="<? echo $phpgw_info["server"]["db_pass"] ?>"></td><td>Password of DB User</td></tr> <tr><td><b>DB Password</b><br><input type=text name="setting[db_pass]" value="<? echo $phpgw_info["server"]["db_pass"] ?>"></td><td>Password of DB User</td></tr>
<tr><td><b>DB Type</b><br><select name="setting[db_type]"> <tr><td><b>DB Type</b><br><select name="setting[db_type]">
<? <?php
$selected = ""; $selected = "";
$found_dbtype = false; $found_dbtype = false;
while(list($k,$v) = each($supported_db)) { while(list($k,$v) = each($supported_db)) {
@ -234,10 +234,10 @@
<? if($phpgw_info["server"]["mcrypt_enabled"] == True) { ?> <? if($phpgw_info["server"]["mcrypt_enabled"] == True) { ?>
<option value=True selected>True <option value=True selected>True
<option value=False>False <option value=False>False
<? } else { ?> <?php } else { ?>
<option value=True>True <option value=True>True
<option value=False selected>False <option value=False selected>False
<? } ?> <?php } ?>
</select> </select>
</td></tr> </td></tr>
<tr><td><b>MCrypt version</b><br><input type=text name="setting[mcrypt_version]" value="<? echo $phpgw_info["server"]["versions"]["mcrypt"] ?>"></td><td>Set this to "old" for versions < 2.4, otherwise the exact mcrypt version you use</td></tr> <tr><td><b>MCrypt version</b><br><input type=text name="setting[mcrypt_version]" value="<? echo $phpgw_info["server"]["versions"]["mcrypt"] ?>"></td><td>Set this to "old" for versions < 2.4, otherwise the exact mcrypt version you use</td></tr>
@ -249,7 +249,7 @@
</select></td><td></td> </select></td><td></td>
</tr> </tr>
</table> </table>
<? <?php
if(!$found_dbtype) { if(!$found_dbtype) {
echo "<br><font color=red>Warning!<br>The db_type in defaults (".$phpgw_info["server"]["db_type"].") is not supported on this server. using first supported type.</font>"; echo "<br><font color=red>Warning!<br>The db_type in defaults (".$phpgw_info["server"]["db_type"].") is not supported on this server. using first supported type.</font>";
} }