
<!-- admin/group/groupeditor.thtml { -->

<form action="{site_admin_url}/group.php" method="post" id="admin-groupeditor" class="linear">
  <fieldset>
    <legend>{lang_groupname}</legend>

    <dl>
      <dt><label for="admin-groupeditor-grp_name">{lang_groupname}</label></dt>
      <dd>{groupname_static}<input type="{groupname_inputtype}" size="20" maxlength="50" value="{group_name}" name="grp_name" id="admin-groupeditor-grp_name" class="text"{xhtml}></dd>

      <dt><label for="admin-groupeditor-grp_descr">{lang_description}</label></dt>
      <dd><input type="text" size="40" maxlength="255" value="{group_description}" name="grp_descr" id="admin-groupeditor-grp_descr" class="text"{xhtml}></dd>

    </dl>
  </fieldset>

  <fieldset {hide_adminoption}>
    <legend>{lang_admingroup}</legend>

    <dl {hide_adminoption}>
      <dt>{lang_admingroup}</dt>
      <dd><label><input type="checkbox" name="chk_grpadmin" value="1" {chk_adminuse}{xhtml}>
          <span class="fieldhelp">{lang_admingrp_msg}</span></label>
      </dd>
    </dl>
  </fieldset>

  <fieldset {hide_defaultoption}>
    <legend>{lang_defaultgroup}</legend>

    <dl {hide_defaultoption}>
      <dt>{lang_defaultgroup}</dt>
      <dd>
          <label><input type="checkbox" name="chk_grpdefault" id="chk1" onclick="showHide('msg1')" value="1" {chk_defaultuse}{xhtml}>
          <span class="fieldhelp">{lang_defaultgrp_msg}</span></label>
      </dd>
    </dl>

    <dl id="applydefault_row"  {hide_defaultoption}>
      <dt></dt>
      <dd><div style="display:none" id="msg1">
          <label><input type="checkbox" name="chk_applydefault" id="chk2" value="1"{xhtml}>
          <span class="fieldhelp">{lang_applydefault_msg}</span></label>
          </div>
      </dd>
    </dl>
  </fieldset>

  <fieldset>
    <legend>{lang_securitygroups}</legend>

    <dl>
      <dt><label>{lang_securitygroups}</label></dt>
      <dd class="description">{lang_securitygroupmsg}</dd>
      <dd>{group_options}</dd>
    </dl>
  </fieldset>

  <fieldset>
    <legend>{lang_rights}</legend>  

    <dl class="authority">
      <dt>{lang_rights}</dt>
      <dd class="description">{lang_rightsmsg}</dd>
      <dd><table>{rights_options}</table></dd>
    </dl>
  </fieldset>

  <ul class="submit">
    <li><input type="submit" value="{lang_save}" name="mode" class="submit"{xhtml}></li>
    <li>{delete_option}</li>
    <li>
      <input type="hidden" name="grp_gl_core" value="{group_core}"{xhtml}>
      <input type="hidden" name="grp_id" value="{group_id}"{xhtml}>
      <input type="hidden" name="chk_showall" value="{show_all}"{xhtml}>
      <input type="submit" value="{lang_cancel}" name="mode" class="submit"{xhtml}>
      <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
    </li>
  </ul>
</form>

<!-- } admin/group/groupeditor.thtml -->
