rename ->common->navbar() to parse_navbar

This commit is contained in:
skeeter 2001-01-06 04:11:13 +00:00
parent 635b7f1de0
commit 988bc0bb88
13 changed files with 15 additions and 15 deletions

View File

@ -26,7 +26,7 @@
}
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
?>
<center>
<table border=0 with=65%>

View File

@ -45,7 +45,7 @@
$phpgw->db->next_record();
if ($phpgw->db->f(0) != 0) {
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
echo '<p><center>';
echo lang("Sorry, the follow users are still a member of the group x",$group_name)
@ -86,7 +86,7 @@
}
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
?>
<center>
<table border=0 with=65%>

View File

@ -125,7 +125,7 @@
$phpgw->template->set_file(array("form" => "account_form.tpl"));
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
if ($totalerrors) {
$phpgw->template->set_var("error_messages","<center>" . $phpgw->common->error_list($error) . "</center>");

View File

@ -71,7 +71,7 @@
if ($totalerrors) {
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
$phpgw->template->set_var("error","<p><center>" . $phpgw->common->error_list($error) . "</center><br>");
} else {

View File

@ -104,7 +104,7 @@
if ($error) {
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
$phpgw->template->set_var("error","<p><center>$error</center>");
} else {
$phpgw->template->set_var("error","");

View File

@ -88,7 +88,7 @@
$phpgw->template->set_file(array("form" => "account_form.tpl"));
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
$phpgw->template->set_var("lang_action",lang("Add new account"));

View File

@ -69,7 +69,7 @@
$phpgw->template->set_var("error","");
}
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
$phpgw->template->set_var("lang_header",lang("Add new application"));
$phpgw->template->set_var("th_bg",$phpgw_info["theme"]["th_bg"]);

View File

@ -93,7 +93,7 @@
if ($error) {
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
$phpgw->template->set_var("error","<p><center>$error</center>");
} else {
$phpgw->template->set_var("error","");

View File

@ -89,7 +89,7 @@
Header("Location: ".$phpgw->link("edit_entry.php","readsess=".$cal_info->id."&cd=".$datetime_check));
} elseif($overlapping_events) {
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
$phpgw->template->set_file(array("overlap" => "overlap.tpl",
"form_button" => "form_button_script.tpl"));

View File

@ -935,7 +935,7 @@
$str .= "</tr>";
$str .= "<tr>";
for($i=0;$i<7;$i++) {
$str .= "<td bgcolor=\"".$phpgw_info["theme"]["cal_dayview"]."\".<font size=\"-2\">".substr(lang($days[$i]),0,2)."</td>";
$str .= "<td bgcolor=\"".$phpgw_info["theme"]["cal_dayview"]."\"><font size=\"-2\">".substr(lang($days[$i]),0,2)."</td>";
}
$str .= "</tr>";
for($i=$weekstarttime;date("Ymd",$i)<=$monthend;$i += (24 * 3600 * 7)) {

View File

@ -32,7 +32,7 @@
}
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
if ($totalerrors) {
echo "<p><center>" . $phpgw->common->error_list($errors) . "</center>";

View File

@ -24,7 +24,7 @@
if (! $submit) {
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
?>
<form method="POST" acion="<?php echo $phpgw->link("changepassword.php"); ?>">
@ -68,7 +68,7 @@
$error = lang("you must enter a password");
if ($error) {
$phpgw->common->navbar();
echo parse_navbar();
echo "<p><br>$error</p>";
$phpgw->common->phpgw_exit();
}

View File

@ -36,7 +36,7 @@
}
$phpgw->common->phpgw_header();
$phpgw->common->navbar();
echo parse_navbar();
echo "<br>" . lang("your current theme is: x",$phpgw_info["user"]["preferences"]["theme"]);
echo "<br>" . lang("please, select a new theme") . ":";