diff --git a/settings/templates/users.php b/settings/templates/users.php deleted file mode 100644 index 699af21efef..00000000000 --- a/settings/templates/users.php +++ /dev/null @@ -1,246 +0,0 @@ - - * This file is licensed under the Affero General Public License version 3 or later. - * See the COPYING-README file. - */ -$allGroups=array(); -foreach($_["groups"] as $group) { - $allGroups[] = $group['name']; -} -$_['subadmingroups'] = $allGroups; -$items = array_flip($_['subadmingroups']); -unset($items['admin']); -$_['subadmingroups'] = array_flip($items); -?> - - -
- - -
-
- -
-
-
- - t('Default Quota'));?> - - - - - - -
-
-
-
-
- - -
- -
- -
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - " - data-displayName=""> - - - - - - - - - - - - - - - - - - -
t('Username'))?>t( 'Full Name' )); ?>t( 'Password' )); ?>t( 'Groups' )); ?>t('Group Admin')); ?>t('Quota')); ?>t('Storage Location')); ?>t('Last Login')); ?> 
<?php p($l->t(" title="t("change full name"))?>"/> - ●●●●●●● <?php p($l->t(" title="t("set new password"))?>"/> - - - - - '.$lastLoginDate.''); ?>"> - - - - - -
diff --git a/settings/templates/users/main.php b/settings/templates/users/main.php new file mode 100644 index 00000000000..99c6848d2ec --- /dev/null +++ b/settings/templates/users/main.php @@ -0,0 +1,29 @@ + + * This file is licensed under the Affero General Public License version 3 or later. + * See the COPYING-README file. + */ +$allGroups=array(); +foreach($_["groups"] as $group) { + $allGroups[] = $group['name']; +} +$_['subadmingroups'] = $allGroups; +$items = array_flip($_['subadmingroups']); +unset($items['admin']); +$_['subadmingroups'] = array_flip($items); +?> + + + +
+ inc('users/part.grouplist')); ?> +
+ inc('users/part.setquota')); ?> +
+
+ +
+ inc('users/part.createuser')); ?> + inc('users/part.userlist')); ?> +
\ No newline at end of file diff --git a/settings/templates/users/part.createuser.php b/settings/templates/users/part.createuser.php new file mode 100644 index 00000000000..e52f0da0b36 --- /dev/null +++ b/settings/templates/users/part.createuser.php @@ -0,0 +1,30 @@ +
+
+ + +
+ +
+ +
+ +
+ +
+
\ No newline at end of file diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php new file mode 100644 index 00000000000..cf7338b5096 --- /dev/null +++ b/settings/templates/users/part.grouplist.php @@ -0,0 +1,38 @@ + \ No newline at end of file diff --git a/settings/templates/users/part.setquota.php b/settings/templates/users/part.setquota.php new file mode 100644 index 00000000000..23fdbe6ab54 --- /dev/null +++ b/settings/templates/users/part.setquota.php @@ -0,0 +1,42 @@ +
+ +
+
+
+ + t('Default Quota'));?> + + + + + + +
\ No newline at end of file diff --git a/settings/templates/users/part.userlist.php b/settings/templates/users/part.userlist.php new file mode 100644 index 00000000000..9df069364d4 --- /dev/null +++ b/settings/templates/users/part.userlist.php @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + " + data-displayName=""> + + + + + + + + + + + + + + + + + + +
t('Username'))?>t( 'Full Name' )); ?>t( 'Password' )); ?>t( 'Groups' )); ?>t('Group Admin')); ?>t('Quota')); ?>t('Storage Location')); ?>t('Last Login')); ?> 
<?php p($l->t(" title="t("change full name"))?>"/> + ●●●●●●● <?php p($l->t(" title="t("set new password"))?>"/> + + + + + '.$lastLoginDate.''); ?>"> + + + + + +
diff --git a/settings/users.php b/settings/users.php index 6b16e3aff73..7bf240fa16e 100644 --- a/settings/users.php +++ b/settings/users.php @@ -115,7 +115,7 @@ if(!empty($adminGroup)) { array_multisort($sortAdminGroupsKeys, SORT_DESC, $adminGroup); } -$tmpl = new OC_Template( "settings", "users", "user" ); +$tmpl = new OC_Template( "settings", "users/main", "user" ); $tmpl->assign( 'users', $users ); $tmpl->assign( 'groups', $groups ); $tmpl->assign( 'adminGroup', $adminGroup );