git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_SGD/tags/3.7.0.2_original@1 eb19766c-00d9-a042-a3a0-45cb8ec72764
46 lines
1.9 KiB
Plaintext
46 lines
1.9 KiB
Plaintext
<h2>{i18n}Add a new group{/i18n}</h2>
|
|
|
|
<p class="descriptiveText">{i18n}Users may be classed together as Groups and these groups may be used to set security privileges throughout the document management system.{/i18n}</p>
|
|
|
|
{if $authentication_sources}
|
|
<form action="{$smarty.server.PHP_SELF}" method="POST">
|
|
<input type="hidden" name="action" value="addGroupFromSource" />
|
|
<fieldset><legend>{i18n}Add a group from an authentication source{/i18n}</legend>
|
|
|
|
<p class="descriptiveText">{i18n}Instead of manually creating the group within
|
|
the document management system, the group can be found within an
|
|
authentication source (such as an LDAP directory) that has already been
|
|
configured. This ensures that the group is correctly set up with limited
|
|
intervention from the administrator, and that the group's membership
|
|
will be maintained as it is in the authentication source.{/i18n}</p>
|
|
|
|
{entity_select name="source_id" entities=$authentication_sources}
|
|
<div class="form_actions ">
|
|
<input type="submit" name="submit" value="{i18n}Add from source{/i18n}" />
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</p>
|
|
|
|
<p class="descriptiveText">{i18n arg_appname="$appname"}Alternatively, you can manually create a user
|
|
within #appname# below.{/i18n}</p>
|
|
{/if}
|
|
{*
|
|
<form action="{$smarty.server.PHP_SELF}" method="POST">
|
|
<input type="hidden" name="action" value="createGroup" />
|
|
|
|
<fieldset>
|
|
<legend>{i18n}Specify group details{/i18n}</legend>
|
|
<p class="descriptiveText">{i18n}Please enter the Group's details below and then click <strong>create group</strong>. Fields marked with a red square are required.{/i18n}</p>
|
|
{foreach item=oWidget from=$add_fields}
|
|
{$oWidget->render()}
|
|
{/foreach}
|
|
<div class="form_actions">
|
|
<input type="submit" value="{i18n}create group{/i18n}" />
|
|
<input type="submit" name="kt_cancel[]" value="{i18n}Cancel{/i18n}" />
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
*}
|
|
{$form->render()}
|