Location: PHPKode > projects > DataDivisions > editDisplay.php
<?
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# DataDivisions, Build 1.0, 12/11/2003                                      #
# FileName: editDisplay.php                                                 #
# File Description:                                                         #
#   Sets up functionality for user to edit title of a saved display (popup) #
#                                                                           #
# +-----------------------------------------------------------------------+ #
# | DataDivisions - Website Statistic Visualization Software              | #
# | Copyright (c) 2003, Brian Willison                                    | #
# +-----------------------------------------------------------------------+ #
# | The contents of this file are subject to the GNU General Public       | #
# | License version 2 (June 1991). This file and all its contents (incl.  | #
# | functions, methods, etc.) are free for general use within any         | #
# | community. This software is distributed with the intent to allow      | #
# | developers the opportunity to copy, manipulate and revamp this        | #
# | application in part or whole for best use cases.                      | #
# |                                                                       | #
# | This software is distributed "AS-IS" with no warranties of any kind   | #
# | either expressed or implied.                                          | #
# |                                                                       | #
# | Please refer to the GPL license document for more information:        | #
# | (_docs/gplLicense.pdf)                                                | #
# +-----------------------------------------------------------------------+ #
# | Developer, Designer, Initial Creator:                                 | #
# | Brian Willison (hide@address.com)                       | #
# +-----------------------------------------------------------------------+ #
# | Initial Download Reference:                                           | #
# | http://datadivisions.sourceforge.net                                  | #
# +-----------------------------------------------------------------------+ #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

// Include Necessary Files
require("includes/varFile.php");
require(funcGlobalFile);
require(funcEditDisplayFile);

// Generate Edit Display Form
if (!isset($_POST['submit'])) {
	genEditDisplayForm(0);
}
// Check Edit Display Info
else {
	$registerCheck = checkEditDisplayForm($_POST);
	// Perform Next Step From checkLogin Check
	if ($registerCheck == "blankSubmit") {
		genEditDisplayForm(1);
	} else {
		redirectToEditDisplayConfirmPage();				//  save okay, generate confirmation page
	}
}
?>
Return current item: DataDivisions