Location: PHPKode > projects > chillyCMS > chillyCMS/admin/userform.site.php
<?php
//#################################################################################################
//	Userform page
//#################################################################################################
//	chillyCMS - Content Management System
//	Copyright (C) 2008
//	Stefanie Wiegand <hide@address.com> & Johannes Cox <hide@address.com>
//	
//	This program is licensed under the GPL 3.0 license. For more information see LICENSE.txt.
//#################################################################################################
define('DOIT',true);

require_once("../core/session.backend.include.php");
require_once(PATH."/admin/userform.include.php");

if (isset($_POST["action"])) { $action	= only_text($_POST["action"]); } else { $action = false; }
if (isset($_POST["id"])) { $id = intval($_POST["id"]); } else { $id = 0; }

if ($action=="new") { $myaction = $l_ugs["lbl_newuser"]; }
elseif ($action=="edit") { $myaction = $l_ugs["lbl_euser"]; }
else { $myaction = false; }

$msg = false;

$page->use_scripts("ckeditor");
$page->print_head();
$page->add(userform($id));
$page->print_body($msg);
?>
Return current item: chillyCMS