Location: PHPKode > projects > Extract > template/default/contentheader_editacl.tpl
<?php //language
  setviewlangstring(array (
    'submit' => array (
      'en' => "Save ACL",
      'fr' => "Enregistrer les ACL"),
    'cancel' => array (
      'en' => "Cancel",
      'fr' => "Annuler"),
    'confirm' => array (
      'en' => "Please confirm your action",
      'fr' => "Veuillez confirmer la suppression"),
    'chktakeownership' => array (
      'en' => "Take ownership",
      'fr' => "Devenir le propri&eacute;taire"),
    'chkfs' => array (
      'en' => "Apply change to files and directories",
      'fr' => "Appliquer les changements aux fichiers et r&eacute;pertoires"),
    'chkrecursive' => array (
      'en' => "Apply change to all sub-categories and infos (recursive change, for category only)",
      'fr' => "Appliquer les changements &agrave; toutes les sous-cat&eacute;gories et leurs info (changement r&eacute;cursif, pour les cat&eacute;gories seulement)"),
    'standardacl' => array (
      'en' => "Standard Access Control List",
      'fr' => "Liste de Contr&ocirc;le d'Acc&egrave;s Standard (ACL)"),
    'defaultacl' => array (
      'en' => "Default Access Control List (used when info are created)",
      'fr' => "Liste de Contr&ocirc;le d'Acc&egrave;s par d&eacute;faut (utilis&eacute;e lors de la cr&eacute;ation d'info)"),
    'group' => array (
      'en' => "Group",
      'fr' => "Groupe"),
    'noaccess' => array (
      'en' => "No Access",
      'fr' => "Pas d'acc&egrave;s"),
    'readonly' => array (
      'en' => "Read Only",
      'fr' => "Lecture seule"),
    'change' => array (
      'en' => "Change (write and delete)",
      'fr' => "Changement (&eacute;criture et suppression)"),
    'full' => array (
      'en' => "Full (change ACL)",
      'fr' => "Complet (changement des ACL)"),
    'idinfotype' => array (
      'en' => "Type",
      'fr' => "Type"),
    'iduser' => array (
      'en' => "User",
      'fr' => "Utilisateur"),
    'tsc' => array (
      'en' => "Creation",
      'fr' => "Cr&eacute;ation"),
    'tsu' => array (
      'en' => "Update",
      'fr' => "Mise &agrave; jour"),
    'tsremind' => array (
      'en' => "Reminder",
      'fr' => "Rappel"),
    'idlanguage' => array (
      'en' => "Language",
      'fr' => "Langue"),
    'idgroup' => array (
      'en' => "Group",
      'fr' => "Groupe"),
    'idlevel' => array (
      'en' => "Accessibility level",
      'fr' => "Niveau d'accessibilit&eacute;"),
    'accesslist' => array (
      'en' => "Access Control List (ACL)",
      'fr' => "List de Contr&ocirc;le d'Acc&egrave;s (ACL)"),
    'obj' => array (
      'en' => "Object",
      'fr' => "Objet"),
    'objEN' => array (
      'en' => "Object (in English)",
      'fr' => "Objet (en Anglais)")));
?>
<?php echo $POSTCMD_SAVEACL; ?>
<input TYPE="hidden" NAME="idinfotype" VALUE="<?php echo $INFO_PROPERTY_INFOTYPE; ?>">
<input TYPE="hidden" NAME="idcategory" VALUE="<?php echo $INFO_PROPERTY_IDCATEGORY; ?>">
<input TYPE="hidden" NAME="iduser" VALUE="<?php echo $INFO_PROPERTY_IDUSER; ?>">
<input TYPE="hidden" NAME="iduserlastupdate" VALUE="<?php echo $INFO_PROPERTY_IDUSERLASTUPDATE; ?>">
<input class="button" TYPE="submit" NAME="submit" VALUE="<?php echostr('submit'); ?>">
<A class="ai_command" HREF="?<?php echo $CMD_VIEWINFO; ?>">&nbsp;<?php echostr('cancel'); ?>&nbsp;</A>&nbsp;
<br>
<b><?php echostr('idinfotype'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_IDINFOTYPE; ?>&nbsp;
<b><?php echostr('iduser'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_IDUSER; ?> & <?php echo $INFO_PROPERTY_IDUSERLASTUPDATE; ?>&nbsp;
<b><?php echostr('tsc'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_TSC; ?>&nbsp;
<b><?php echostr('tsu'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_TSU; ?>&nbsp;
<b><?php echostr('tsremind'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_TSREMIND; ?><BR>
<b><?php echostr('idlanguage'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_IDLANGUAGE; ?>&nbsp;
<b><?php echostr('idgroup'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_IDGROUP; ?>&nbsp;
<b><?php echostr('idlevel'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_IDLEVEL; ?>&nbsp;
<b><?php echostr('accesslist'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_ACCESSLIST; ?><br>
<b><?php echostr('obj'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_OBJ; ?><BR>
<b><?php echostr('objEN'); ?></b>:&nbsp;<?php echo $INFO_PROPERTY_OBJEN; ?><BR>
<HR>
<input type="checkbox" name="chktakeownership" <?php echo $INFO_ACL_TAKEOWNERSHIP; ?>><?php echostr('chktakeownership'); ?><br>
<input type="checkbox" name="chkfs" <?php echo $INFO_ACL_FS; ?>><?php echostr('chkfs'); ?><br>
<input type="checkbox" name="chkrecursive" <?php echo $INFO_ACL_RECURSIVE; ?>><?php echostr('chkrecursive'); ?>
<TABLE class="module_info_editacl">
<TBODY>
<TR class="table_header">
<TH CLASS="table_header" colspan="5"><?php echostr('standardacl'); ?></TH>
<?php if ($INFO_DEFAULT_ACL_GROUP_ENABLE) { ?>
<TH CLASS="table_header">&nbsp;</TH>
<TH CLASS="table_header" colspan="5"><?php echostr('defaultacl'); ?></TH>
<?php } ?>
</TR>
<TR class="table_header">
<TH CLASS="table_header"><?php echostr('group'); ?></TH>
<TH CLASS="table_header"><?php echostr('noaccess'); ?></TH>
<TH CLASS="table_header"><?php echostr('readonly'); ?></TH>
<TH CLASS="table_header"><?php echostr('change'); ?></TH>
<TH CLASS="table_header"><?php echostr('full'); ?></TH>
<?php if ($INFO_DEFAULT_ACL_GROUP_ENABLE) { ?>
<TH CLASS="table_header">&nbsp;</TH>
<TH CLASS="table_header"><?php echostr('group'); ?></TH>
<TH CLASS="table_header"><?php echostr('noaccess'); ?></TH>
<TH CLASS="table_header"><?php echostr('readonly'); ?></TH>
<TH CLASS="table_header"><?php echostr('change'); ?></TH>
<TH CLASS="table_header"><?php echostr('full'); ?></TH>
<?php } ?>
</TR>
<!-- BEGIN INFO_ACL_GROUP -->
<?php foreach ($INFO_ACL_GROUP as $IDGROUP => $INFO_ACL) { ?>
<TR>
<TD class="module_info_editacl">
  <?php echo $INFO_ACL['group']; ?>&nbsp;<?php echo $INFO_ACL['fsacl']; ?>
</TD>
<optgroup label="opt_<?php echo $INFO_ACL['idgroup']; ?>">
<TD class="module_info_editacl">
  <input type="radio" name="opt_<?php echo $INFO_ACL['idgroup']; ?>" value="n" <?php echo $INFO_ACL['no']; ?>>
</TD>
<TD class="module_info_editacl">
  <input type="radio" name="opt_<?php echo $INFO_ACL['idgroup']; ?>" value="r" <?php echo $INFO_ACL['read']; ?>>
</TD>
<TD class="module_info_editacl">
  <input type="radio" name="opt_<?php echo $INFO_ACL['idgroup']; ?>" value="c" <?php echo $INFO_ACL['change']; ?>>
</TD>
<TD class="module_info_editacl">
  <input type="radio" name="opt_<?php echo $INFO_ACL['idgroup']; ?>" value="f" <?php echo $INFO_ACL['full']; ?>>
</TD>
</optgroup>
<?php if ($INFO_DEFAULT_ACL_GROUP_ENABLE) { ?>
<?php $INFO_DEFAULT_ACL = $INFO_DEFAULT_ACL_GROUP[$IDGROUP]; ?>
<TD class="module_info_editacl">
  &nbsp;
</TD>
<TD class="module_info_editacl">
  <?php echo $INFO_ACL['group']; ?>&nbsp;<?php echo $INFO_DEFAULT_ACL['fsacl']; ?>
</TD>
<optgroup label="opt_default_<?php echo $INFO_DEFAULT_ACL['idgroup']; ?>">
<TD class="module_info_editacl">
  <input type="radio" name="opt_default_<?php echo $INFO_DEFAULT_ACL['idgroup']; ?>" value="n" <?php echo $INFO_DEFAULT_ACL['no']; ?>>
</TD>
<TD class="module_info_editacl">
  <input type="radio" name="opt_default_<?php echo $INFO_DEFAULT_ACL['idgroup']; ?>" value="r" <?php echo $INFO_DEFAULT_ACL['read']; ?>>
</TD>
<TD class="module_info_editacl">
  <input type="radio" name="opt_default_<?php echo $INFO_DEFAULT_ACL['idgroup']; ?>" value="c" <?php echo $INFO_DEFAULT_ACL['change']; ?>>
</TD>
<TD class="module_info_editacl">
  <input type="radio" name="opt_default_<?php echo $INFO_DEFAULT_ACL['idgroup']; ?>" value="f" <?php echo $INFO_DEFAULT_ACL['full']; ?>>
</TD>
</optgroup>
<?php } ?>
</TR>
<?php } ?>
<!-- END INFO_ACL_GROUP -->
</TBODY>
</TABLE>
Return current item: Extract