45 lines
2.0 KiB
PHP
45 lines
2.0 KiB
PHP
<?php header('Content-type: text/html; charset=utf-8');
|
|
if ( !defined('PATHTOINCLUDES') ) define('PATHTOINCLUDES', $_SERVER["DOCUMENT_ROOT"] . '/mailservices/includes/');
|
|
include(PATHTOINCLUDES."base.php");
|
|
$em="";
|
|
$_SESSION["user_uri"]="/mailservices/admin/usermgr/group_add.php";
|
|
$_SESSION["pagename"]="Add Group";
|
|
$_SESSION["the_section_location"] = "/mailservices/admin/usermgr/group_add.php";
|
|
$_SESSION["the_section_container"]="section_content";
|
|
$_SESSION["the_tab"]="five";
|
|
?>
|
|
<div id="add_group" class="standard-form">
|
|
<div class="form-container">
|
|
<form method="post" name="frmaddgroup" id="frmaddgroup" action="#" onsubmit="return false;">
|
|
<fieldset>
|
|
<legend>
|
|
<h1>Add Group</h1>
|
|
</legend>
|
|
<div id="cgroup" class="iholder">
|
|
<label for="group">Group Name:</label>
|
|
<input name="group" id="group" type="text" size="24" class="text" required pattern="^([a-zA-Z0-9,'-_=\+]*)$"
|
|
value="" maxlength="100"
|
|
onblur="check_form_item('group','Please enter a name for the group!');" />
|
|
<span class="frmrequired">(*required)</span>
|
|
<span class="errormsg" id="e_group">Please enter a name for the group!</span>
|
|
</div>
|
|
<div id="cdescription" class="iholder">
|
|
<label for="description">Description:</label>
|
|
<textarea name="description" id="description" class="expand0-200 text"
|
|
cols="38" rows="10" style="padding:0px 5px 0 px;"
|
|
onblur="check_form_item('description','');"></textarea>
|
|
<span class="errormsg" id="e_description"></span>
|
|
</div>
|
|
<div id="cedit" class="submit-button" style="position:relative;">
|
|
<label for="add"> </label>
|
|
<input type="button" name="add" id="add" value="Add Group" class="redbutton submit-btn"
|
|
onclick="submit_group_add_form('frmaddgroup','/admin/usermgr/group_add_act.php')" />
|
|
<div id="submit_message"></div>
|
|
</div>
|
|
<input type="hidden" name="o_group" id="o_group" value="" />
|
|
<input type="hidden" name="o_description" id="o_description" value="" />
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</div>
|