Revert previous commit.

This commit is contained in:
Marcin Łojewski
2018-06-30 22:59:52 +02:00
parent bb8e05b3be
commit 20ffbfcddb
2 changed files with 3 additions and 9 deletions

View File

@@ -32,9 +32,6 @@ final class Opt
const EMAIL_SYNC = "opt.email_sync"; const EMAIL_SYNC = "opt.email_sync";
const HOME_LOCATION = "opt.home_location"; const HOME_LOCATION = "opt.home_location";
const HOME_MODE = "opt.home_mode"; const HOME_MODE = "opt.home_mode";
const MODIFY_GROUP = "opt.modify_group";
const MODIFY_USER = "opt.modify_user";
const MODIFY_USER_GROUP = "opt.modify_user_group";
const NAME_CHANGE = "opt.name_change"; const NAME_CHANGE = "opt.name_change";
const PASSWORD_CHANGE = "opt.password_change"; const PASSWORD_CHANGE = "opt.password_change";
const USE_CACHE = "opt.use_cache"; const USE_CACHE = "opt.use_cache";

View File

@@ -139,8 +139,7 @@ function print_select_options(
<h2><?php p($l->t("User table")); ?></h2> <h2><?php p($l->t("User table")); ?></h2>
<p class="settings-hint"><?php p($l->t("Table containing user accounts.")); ?></p> <p class="settings-hint"><?php p($l->t("Table containing user accounts.")); ?></p>
<fieldset><?php <fieldset><?php
print_text_input($l, "db-table-user", "Table name", $_["db.table.user"]); print_text_input($l, "db-table-user", "Table name", $_["db.table.user"]); ?>
print_checkbox_input($l, "opt-modify_user", "Allow DML statements on table", $_["opt.modify_user"]); ?>
<h3><?php p($l->t("Columns")); ?></h3> <h3><?php p($l->t("Columns")); ?></h3>
<?php <?php
print_text_input($l, "db-table-user-column-uid", "Username", $_["db.table.user.column.uid"]); print_text_input($l, "db-table-user-column-uid", "Username", $_["db.table.user.column.uid"]);
@@ -157,8 +156,7 @@ function print_select_options(
<h2><?php p($l->t("Group table")); ?></h2> <h2><?php p($l->t("Group table")); ?></h2>
<p class="settings-hint"><?php p($l->t("Group definitions table.")); ?></p> <p class="settings-hint"><?php p($l->t("Group definitions table.")); ?></p>
<fieldset><?php <fieldset><?php
print_text_input($l, "db-table-group", "Table name", $_["db.table.group"]); print_text_input($l, "db-table-group", "Table name", $_["db.table.group"]); ?>
print_checkbox_input($l, "opt-modify_group", "Allow DML statements on table", $_["opt.modify_group"]); ?>
<h3><?php p($l->t("Columns")); ?></h3> <h3><?php p($l->t("Columns")); ?></h3>
<?php <?php
print_text_input($l, "db-table-group-column-admin", "Is admin", $_["db.table.group.column.admin"]); print_text_input($l, "db-table-group-column-admin", "Is admin", $_["db.table.group.column.admin"]);
@@ -170,8 +168,7 @@ function print_select_options(
<h2><?php p($l->t("User group table")); ?></h2> <h2><?php p($l->t("User group table")); ?></h2>
<p class="settings-hint"><?php p($l->t("Associative table which maps users to groups.")); ?></p> <p class="settings-hint"><?php p($l->t("Associative table which maps users to groups.")); ?></p>
<fieldset><?php <fieldset><?php
print_text_input($l, "db-table-user_group", "Table name", $_["db.table.user_group"]); print_text_input($l, "db-table-user_group", "Table name", $_["db.table.user_group"]); ?>
print_checkbox_input($l, "opt-modify_user_group", "Allow DML statements on table", $_["opt.modify_user_group"]); ?>
<h3><?php p($l->t("Columns")); ?></h3> <h3><?php p($l->t("Columns")); ?></h3>
<?php <?php
print_text_input($l, "db-table-user_group-column-uid", "Username", $_["db.table.user_group.column.uid"]); print_text_input($l, "db-table-user_group-column-uid", "Username", $_["db.table.user_group.column.uid"]);