renamed header(0 to phpgw_header() to remedy function name conflicts

This commit is contained in:
seek3r 2000-09-28 15:01:11 +00:00
parent b781dd61f6
commit 583ebddb32
14 changed files with 15 additions and 15 deletions

View File

@ -28,7 +28,7 @@
exit; exit;
} }
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
?> ?>
<center> <center>

View File

@ -45,7 +45,7 @@
$phpgw->db->query("select account_id,account_lid from accounts where account_groups like '%$group_id%'"); $phpgw->db->query("select account_id,account_lid from accounts where account_groups like '%$group_id%'");
if ($phpgw->db->num_rows()) { if ($phpgw->db->num_rows()) {
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
echo '<p><center>'; echo '<p><center>';
@ -85,7 +85,7 @@
} }
} }
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
?> ?>
<center> <center>

View File

@ -112,7 +112,7 @@
} // if ! $error } // if ! $error
} // if $submit } // if $submit
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
$phpgw->db->query("select account_lid from accounts where account_id=$account_id"); $phpgw->db->query("select account_lid from accounts where account_id=$account_id");

View File

@ -39,7 +39,7 @@
$phpgw->db->next_record(); $phpgw->db->next_record();
if ($error) { if ($error) {
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
} }

View File

@ -84,7 +84,7 @@
} }
if ($error) { if ($error) {
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
$t->set_var("error","<p><center>$error</center>"); $t->set_var("error","<p><center>$error</center>");
} else { } else {

View File

@ -92,7 +92,7 @@
} }
} }
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
?> ?>
<form method="POST" action="<?php echo $phpgw->link("newaccount.php"); ?>"> <form method="POST" action="<?php echo $phpgw->link("newaccount.php"); ?>">

View File

@ -37,7 +37,7 @@
} }
} }
if ($error) { if ($error) {
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
} }

View File

@ -67,7 +67,7 @@
} }
if ($error) { if ($error) {
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
$t->set_var("error","<p><center>$error</center>"); $t->set_var("error","<p><center>$error</center>");
} else { } else {

View File

@ -214,7 +214,7 @@ if (! $error) {
?> ?>
$phpgw->common->header(); $phpgw->common->phpgw_header();
<BODY BGCOLOR="<?php echo $BGCOLOR; ?>"> <BODY BGCOLOR="<?php echo $BGCOLOR; ?>">
<?php if (strlen($overlap)) { ?> <?php if (strlen($overlap)) { ?>

View File

@ -21,7 +21,7 @@
include("../header.inc.php"); include("../header.inc.php");
if (! $friendly) { if (! $friendly) {
$phpgw->common->header(); $phpgw->common->phpgw_header();
} else } else
echo "<body bgcolor=\"".$phpgw_info["theme"][bg_color]."\">"; echo "<body bgcolor=\"".$phpgw_info["theme"][bg_color]."\">";

View File

@ -27,7 +27,7 @@
. $phpgw_info["user"]["preferences"]["default_app"])); . $phpgw_info["user"]["preferences"]["default_app"]));
exit; exit;
} }
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();

View File

@ -22,7 +22,7 @@
} }
if (! $submit) { if (! $submit) {
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
?> ?>

View File

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

View File

@ -20,7 +20,7 @@
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/")); Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"));
exit; exit;
} else if (! $submit) { } else if (! $submit) {
$phpgw->common->header(); $phpgw->common->phpgw_header();
$phpgw->common->navbar(); $phpgw->common->navbar();
} }