diff options
Diffstat (limited to 'templates/settings.php')
-rw-r--r-- | templates/settings.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/settings.php b/templates/settings.php index e2b1ad5..7fbdba9 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -21,6 +21,7 @@ $cfgClass = $ocVersion >= 7 ? 'section' : 'personalblock'; <li><a id="sqlDomainSettings" href="#sql-4"><?php p($l -> t('Domain Settings')); ?></a></li> <li><a id="sqlGethomeSettings" href="#sql-5"><?php p($l -> t('getHome Settings')); ?></a></li> <li><a id="sqlSupervisorSettings" href="#sql-6"><?php p($l -> t('Supervisor Settings')); ?></a></li> + <li><a id="sqlGroupsSettings" href="#sql-7"><?php p($l -> t('Groups Settings')); ?></a></li> </ul> <fieldset id="sql-1"> @@ -165,6 +166,16 @@ $cfgClass = $ocVersion >= 7 ? 'section' : 'personalblock'; <p><label for="supervisor"><?php p($l -> t('Supervisor username')); ?></label><input type="text" id="supervisor" name="supervisor" value="<?php p($_['supervisor']); ?>" /></p> <em><?php p($l -> t("Use supervisor username and target username separated by ';' to login as target user using supervisor's password (ex. superuser;user).")); ?></em></p> </fieldset> + + <fieldset id="sql-7"> + <p><label for="sql_group_table"><?php p($l -> t('Table')); ?></label><input type="text" id="sql_group_table" name="sql_group_table" value="<?php p($_['sql_group_table']); ?>" /></p> + + <p><label for="col_group_username"><?php p($l -> t('Username Column')); ?></label><input type="text" id="col_group_username" name="col_group_username" value="<?php p($_['col_group_username']); ?>" /></p> + + <p><label for="col_group_name"><?php p($l -> t('Group Name Column')); ?></label><input type="text" id="col_group_name" name="col_group_name" value="<?php p($_['col_group_name']); ?>" /></p> + + </fieldset> + <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']); ?>" id="requesttoken" /> <input type="hidden" name="appname" value="user_sql" /> <input id="sqlSubmit" type="submit" value="<?php p($l -> t('Save')); ?>" /> |