summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-04-23 15:34:16 +0200
committerkondou <kondou@ts.unde.re>2013-04-24 11:13:12 +0200
commite8bb998ecc00226a299d4e617967b94323ffaa84 (patch)
treedb4898e3a59a13af975d910188bc3dd60622e85c
parent05ab9d2de7f2c5181eda2174a2e2adb1cc214196 (diff)
downloadnextcloud-server-e8bb998ecc00226a299d4e617967b94323ffaa84.tar.gz
nextcloud-server-e8bb998ecc00226a299d4e617967b94323ffaa84.zip
Fix #3095.
-rw-r--r--core/css/multiselect.css6
-rw-r--r--core/js/multiselect.js2
-rw-r--r--settings/templates/users.php12
3 files changed, 9 insertions, 11 deletions
diff --git a/core/css/multiselect.css b/core/css/multiselect.css
index 31c8ef88eb9..a6b72048710 100644
--- a/core/css/multiselect.css
+++ b/core/css/multiselect.css
@@ -29,6 +29,10 @@
white-space:nowrap;
}
+ ul.multiselectoptions>li>label {
+ margin-left: 5px;
+ }
+
div.multiselect {
display:inline-block;
max-width:400px;
@@ -75,4 +79,4 @@
padding-bottom:.2em;
padding-top:.2em;
margin:0;
- } \ No newline at end of file
+ }
diff --git a/core/js/multiselect.js b/core/js/multiselect.js
index bc4223feb64..463c397d8cd 100644
--- a/core/js/multiselect.js
+++ b/core/js/multiselect.js
@@ -316,4 +316,4 @@
return span;
};
-})( jQuery ); \ No newline at end of file
+})( jQuery );
diff --git a/settings/templates/users.php b/settings/templates/users.php
index 6113337f4ee..e86dd46efbe 100644
--- a/settings/templates/users.php
+++ b/settings/templates/users.php
@@ -25,9 +25,7 @@ $_['subadmingroups'] = array_flip($items);
id="newusergroups" data-placeholder="groups"
title="<?php p($l->t('Groups'))?>" multiple="multiple">
<?php foreach($_["groups"] as $group): ?>
- <option value="<?php p($group['name']);?>">
- <?php p($group['name']);?>
- </option>
+ <option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
<?php endforeach;?>
</select> <input type="submit" value="<?php p($l->t('Create'))?>" />
</form>
@@ -105,9 +103,7 @@ $_['subadmingroups'] = array_flip($items);
data-placeholder="groups" title="<?php p($l->t('Groups'))?>"
multiple="multiple">
<?php foreach($_["groups"] as $group): ?>
- <option value="<?php p($group['name']);?>">
- <?php p($group['name']);?>
- </option>
+ <option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
<?php endforeach;?>
</select>
</td>
@@ -119,9 +115,7 @@ $_['subadmingroups'] = array_flip($items);
data-placeholder="subadmins" title="<?php p($l->t('Group Admin'))?>"
multiple="multiple">
<?php foreach($_["subadmingroups"] as $group): ?>
- <option value="<?php p($group);?>">
- <?php p($group);?>
- </option>
+ <option value="<?php p($group);?>"><?php p($group);?></option>
<?php endforeach;?>
</select>
</td>