Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPellaeon Lin <nfsmwlin@gmail.com>2015-05-17 10:17:35 +0300
committerPellaeon Lin <nfsmwlin@gmail.com>2015-05-17 10:17:35 +0300
commit1f9d55ae1da432650ecc6757767c667d71868495 (patch)
treeb296a5632fdd3de35ed75553a8c35891fa4e36dc /templates/admin.php
parenta88e27ba85ef29224e784cf0423543132652447e (diff)
Update# admin page section
Diffstat (limited to 'templates/admin.php')
-rw-r--r--templates/admin.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/admin.php b/templates/admin.php
new file mode 100644
index 0000000..645e312
--- /dev/null
+++ b/templates/admin.php
@@ -0,0 +1,17 @@
+<?php
+script('registration', 'settings');
+?>
+<form id="registration" class="section">
+ <h2><?php p($l->t('Registration')); ?></h2>
+ <p>
+ <label for="registered_user_group"><?php p($l->t('Default group that all registered users belong')); ?></label>
+ <select id="registered_user_group" name="registered_user_group">
+ <option value="none"><?php p($l->t('None')); ?></option>
+<?php
+foreach ( $_['groups'] as $group ) {
+ echo '<option value="'.$group.'">'.$group.'</option>';
+}
+?>
+ </select>
+ </p>
+</form>