Update of /cvsroot/phpslash/phpslash-ft/public_html/admin
In directory usw-pr-cvs1:/tmp/cvs-serv31506/phpslash-ft/public_html/admin
Modified Files:
authorAdmin.php3 commentAdmin.php3 infologAdmin.php3
sectionAdmin.php3 storyAdmin.php3 topicAdmin.php3
variableAdmin.php3
Log Message:
functions.inc - pslgetText spits out HTMLed strings, several files changed to support this feature
Index: authorAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/authorAdmin.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** authorAdmin.php3 2001/08/31 19:20:10 1.2
--- authorAdmin.php3 2001/12/19 20:00:41 1.3
***************
*** 1,62 ****
! <?php
!
! /* $Id$ */
!
! $pagetitle = "Author Administration"; // header title
! $xsiteobject = "Administration"; // Defines The META TAG Page Type
!
! require("../config.php3");
! page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
!
! /*****************************
! START OF PAGE
! *****************************/
!
! slashhead($pagetitle,$xsiteobject);
!
! /* DEBUG */
!
! debug("HTTP_POST_VARS", $HTTP_POST_VARS);
! debug("HTTP_GET_VARS", $HTTP_GET_VARS);
! debug("author_id_ary", $author_id_ary);
! debug("author_name_ary", $author_name_ary);
! debug("real_name_ary", $author_name_ary);
! debug("email", $email);
! debug("quote", $quote);
! debug("password", $password);
! debug("permission", $permission);
!
! /* DEBUG */
!
! $author = new Author;
!
! if ($perm->have_perm("author")) {
! switch ($submit) {
!
! case "delete":
! $author->deleteAuthor($id, $auth->auth["uid"]);
! $author->newAuthor();
! $author->listAuthor();
! break;
! case "edit":
! $author->editAuthor($id);
! $author->listAuthor();
! break;
! case "update":
! case "new":
! $author->saveAuthor($HTTP_POST_VARS);
! default:
! $author->newAuthor();
! $author->listAuthor();
! }
!
! } else {
! titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.\n";
! }
!
! slashfoot();
!
! page_close();
!
! ?>
--- 1,62 ----
! <?php
!
! /* $Id$ */
!
! $pagetitle = "Author Administration"; // header title
! $xsiteobject = "Administration"; // Defines The META TAG Page Type
!
! require("../config.php3");
! page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
!
! /*****************************
! START OF PAGE
! *****************************/
!
! slashhead($pagetitle,$xsiteobject);
!
! /* DEBUG */
!
! debug("HTTP_POST_VARS", $HTTP_POST_VARS);
! debug("HTTP_GET_VARS", $HTTP_GET_VARS);
! debug("author_id_ary", $author_id_ary);
! debug("author_name_ary", $author_name_ary);
! debug("real_name_ary", $author_name_ary);
! debug("email", $email);
! debug("quote", $quote);
! debug("password", $password);
! debug("permission", $permission);
!
! /* DEBUG */
!
! $author = new Author;
!
! if ($perm->have_perm("author")) {
! switch ($submit) {
!
! case "delete":
! $author->deleteAuthor($id, $auth->auth["uid"]);
! $author->newAuthor();
! $author->listAuthor();
! break;
! case "edit":
! $author->editAuthor($id);
! $author->listAuthor();
! break;
! case "update":
! case "new":
! $author->saveAuthor($HTTP_POST_VARS);
! default:
! $author->newAuthor();
! $author->listAuthor();
! }
!
! } else {
! titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.";
! }
!
! slashfoot();
!
! page_close();
!
! ?>
Index: commentAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/commentAdmin.php3,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** commentAdmin.php3 2001/09/21 23:39:17 1.6
--- commentAdmin.php3 2001/12/19 20:00:41 1.7
***************
*** 109,113 ****
titlebar("100%", "Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.\n";
}
--- 109,113 ----
titlebar("100%", "Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.";
}
Index: infologAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/infologAdmin.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** infologAdmin.php3 2001/05/15 22:45:26 1.1
--- infologAdmin.php3 2001/12/19 20:00:41 1.2
***************
*** 46,50 ****
} else {
titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.\n";
}
--- 46,50 ----
} else {
titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.";
}
Index: sectionAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/sectionAdmin.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** sectionAdmin.php3 2001/05/15 22:45:26 1.1
--- sectionAdmin.php3 2001/12/19 20:00:41 1.2
***************
*** 74,78 ****
} else {
titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.\n";
}
--- 74,78 ----
} else {
titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.";
}
Index: storyAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/storyAdmin.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** storyAdmin.php3 2001/10/17 17:11:27 1.3
--- storyAdmin.php3 2001/12/19 20:00:41 1.4
***************
*** 65,69 ****
} else {
titlebar("100%", "Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.\n";
}
--- 65,69 ----
} else {
titlebar("100%", "Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.";
}
Index: topicAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/topicAdmin.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** topicAdmin.php3 2001/05/15 22:45:26 1.1
--- topicAdmin.php3 2001/12/19 20:00:41 1.2
***************
*** 58,62 ****
} else {
titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.\n";
}
--- 58,62 ----
} else {
titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.";
}
Index: variableAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/variableAdmin.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** variableAdmin.php3 2001/05/15 22:45:26 1.1
--- variableAdmin.php3 2001/12/19 20:00:41 1.2
***************
*** 65,69 ****
} else {
titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.\n";
}
--- 65,69 ----
} else {
titlebar("100%","Error! Invalid Privileges");
! echo "Sorry. You do not have the necessary privilege to view this page.";
}
|