Update link() call

This commit is contained in:
Miles Lott 2001-03-08 14:07:26 +00:00
parent 1df64ba847
commit be121d6339

View File

@ -53,7 +53,7 @@
} }
$phpgw->preferences->save_repository(True); $phpgw->preferences->save_repository(True);
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/preferences/index.php")); Header("Location: " . $phpgw->link("/preferences/index.php"));
} }
} }
@ -66,7 +66,7 @@
echo "<p><b>" . lang("Addressbook preferences") . ":" . "</b><hr><p>"; echo "<p><b>" . lang("Addressbook preferences") . ":" . "</b><hr><p>";
?> ?>
<form method="POST" action="<?php echo $phpgw->link(); ?>"> <form method="POST" action="<?php echo $phpgw->link('/addressbook/preferences.php'); ?>">
<table border="0" align="center" cellspacing="1" cellpadding="1"> <table border="0" align="center" cellspacing="1" cellpadding="1">
<?php <?php
// I need to create a common function to handle displaying multiable columns // I need to create a common function to handle displaying multiable columns