Fixed link() calls

This commit is contained in:
jengo 2001-03-10 07:21:46 +00:00
parent 880b6bbc6f
commit a5a9c54898
2 changed files with 5 additions and 5 deletions

View File

@ -29,10 +29,10 @@
// Actual content
if ($phpgw->acl->check('changepassword',1)) {
echo "<a href=\"" . $phpgw->link("changepassword.php") . "\">"
echo "<a href=\"" . $phpgw->link('/preferences/changepassword.php') . "\">"
. lang("change your password") . "</a>";
}
echo "<br><a href=\"" . $phpgw->link("settings.php") . "\">"
echo "<br><a href=\"" . $phpgw->link('/preferences/settings.php') . "\">"
. lang("change your settings") . "</a>";
// echo "<br><a href=\"" . $phpgw->link("changeprofile.php") . "\">"
// . lang("change your profile") . "</a>";

View File

@ -42,7 +42,7 @@
$target = ' target="_top"';
}
?>
<form method="POST" action="<?php echo $phpgw->link("settings.php"); ?>"<?php echo $target; ?>>
<form method="POST" action="<?php echo $phpgw->link('/preferences/settings.php'); ?>"<?php echo $target; ?>>
<table border=0>
<tr>
<td><?php echo lang("max matchs per page"); ?>: </td>
@ -271,10 +271,10 @@
$pref->save_repository();
if ($phpgw_info['server']['useframes'] != 'never') {
Header('Location: ' . $phpgw->link($phpgw_info['server']['webserver_url'] . '/preferences/index.php'));
Header('Location: ' . $phpgw->link('/preferences/index.php'));
$phpgw->common->phpgw_exit();
}
Header('Location: ' . $phpgw->link('index.php'));
Header('Location: ' . $phpgw->link('/preferences/index.php'));
}
?>