From f5741ea1082ca4fd21dbe62df2684c3186e94df5 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Sat, 25 Dec 2004 20:08:00 +0000 Subject: [PATCH] Uniform headers --- appview.php | 4 ++-- bugs.php | 10 ++++++---- commentview.php | 3 +++ deletecomment.php | 6 ++++++ edituser.php | 8 +++++++- index.php | 5 ++++- maintainerdelete.php | 6 ++++++ maintainersubmit.php | 21 +++++++++++++++------ noteview.php | 9 ++++++--- preferences.php | 8 +++++++- screenshots.php | 7 ++++--- search.php | 6 ++++++ stdquery.php | 6 ++++++ support.php | 9 ++++++--- updaterating.php | 6 ++++++ updatevote.php | 6 ++++++ vendorview.php | 3 +++ votestats.php | 6 ++++++ 18 files changed, 105 insertions(+), 24 deletions(-) diff --git a/appview.php b/appview.php index 08148b9..034548e 100644 --- a/appview.php +++ b/appview.php @@ -3,8 +3,8 @@ /* code to display an application */ /**********************************/ -/** - * APPLICATION ENVIRONMENT +/* + * application evironment */ include("path.php"); require(BASE."include/"."incl.php"); diff --git a/bugs.php b/bugs.php index ef7194e..5cae5ee 100644 --- a/bugs.php +++ b/bugs.php @@ -1,9 +1,11 @@ ) +/* + * application evironment + */ +include("path.php"); +require(BASE."include/"."incl.php"); +require(BASE."include/"."tableve.php"); +require(BASE."include/"."category.php"); + +/** + * Check the input of a submitted form. And output with a list + * of errors. () + */ function checkAppMaintainerInput( $fields ) { $errors = ""; @@ -21,10 +34,6 @@ function checkAppMaintainerInput( $fields ) } } -include("path.php"); -require(BASE."include/"."incl.php"); -require(BASE."include/"."tableve.php"); -require(BASE."include/"."category.php"); if(!loggedin()) { diff --git a/noteview.php b/noteview.php index a348d94..2984457 100644 --- a/noteview.php +++ b/noteview.php @@ -1,8 +1,11 @@