summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-07-15 22:49:18 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-07-15 22:58:57 +0200
commit3610f3c6a4e37f79139ffb38eebf0d00cd6add6d (patch)
treecf0ad514743f5d9e75df439a0294f2cd7317c593 /web/template
parent1b901616dc355cbab286ece18ca2c9c9e19d3415 (diff)
downloadaur-3610f3c6a4e37f79139ffb38eebf0d00cd6add6d.tar.gz
aur-3610f3c6a4e37f79139ffb38eebf0d00cd6add6d.tar.xz
Add a new user group "Trusted User & Developer"
This group has full permissions on everything. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/account_details.php2
-rw-r--r--web/template/account_edit_form.php4
-rw-r--r--web/template/search_accounts_form.php1
3 files changed, 7 insertions, 0 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php
index c4263d74..9282b2c2 100644
--- a/web/template/account_details.php
+++ b/web/template/account_details.php
@@ -17,6 +17,8 @@
print __("Trusted User");
} elseif ($row["AccountType"] == "Developer") {
print __("Developer");
+ } elseif ($row["AccountType"] == "Trusted User & Developer") {
+ print __("Trusted User & Developer");
}
?>
</td>
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 9a99e782..f5890fcb 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -37,6 +37,10 @@
<?php $T == 3 ? print " selected=\"selected\">" : print ">";
print __("Developer")."\n"; ?>
</option>
+ <option value="4"
+ <?php $T == 4 ? print " selected=\"selected\">" : print ">";
+ print __("Trusted User & Developer")."\n"; ?>
+ </option>
<?php endif; ?>
</select>
diff --git a/web/template/search_accounts_form.php b/web/template/search_accounts_form.php
index 3531eb05..f7824a94 100644
--- a/web/template/search_accounts_form.php
+++ b/web/template/search_accounts_form.php
@@ -15,6 +15,7 @@
<option value="u"><?= __("Normal user"); ?></option>
<option value="t"><?= __("Trusted user"); ?></option>
<option value="d"><?= __("Developer"); ?></option>
+ <option value="td"><?= __("Trusted User & Developer"); ?></option>
</select>
</p>
<p>