summaryrefslogtreecommitdiff
path: root/lib/plugins/usermanager/admin.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-08-02 17:29:30 +0200
committerChristopher Smith <chris@jalakai.co.uk>2013-08-02 17:29:30 +0200
commit45c199029a4e9e615c042ca521c50b5aef6fc3db (patch)
treefcd829257ac4bca4c38c8354f7fbdc0e9d5e82eb /lib/plugins/usermanager/admin.php
parentee9498f56bb996332665780f790257bcd010ac3c (diff)
downloadrpg-45c199029a4e9e615c042ca521c50b5aef6fc3db.tar.gz
rpg-45c199029a4e9e615c042ca521c50b5aef6fc3db.tar.bz2
improve html structure and styling for add & edit user notes
made necessary by PR#254 which adds content below these notes.
Diffstat (limited to 'lib/plugins/usermanager/admin.php')
-rw-r--r--lib/plugins/usermanager/admin.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/plugins/usermanager/admin.php b/lib/plugins/usermanager/admin.php
index 62d3b3e5e..3c8d38c5e 100644
--- a/lib/plugins/usermanager/admin.php
+++ b/lib/plugins/usermanager/admin.php
@@ -298,11 +298,15 @@ class admin_plugin_usermanager extends DokuWiki_Admin_Plugin {
ptln(" </tr>",$indent);
ptln(" </tbody>",$indent);
ptln(" </table>",$indent);
- ptln(" </div>",$indent);
-
- foreach ($notes as $note)
- ptln("<div class=\"fn\">".$note."</div>",$indent);
+ if ($notes) {
+ ptln(" <ul class=\"notes\">");
+ foreach ($notes as $note) {
+ ptln(" <li><span class=\"li\">".$note."</span></li>",$indent);
+ }
+ ptln(" </ul>");
+ }
+ ptln(" </div>",$indent);
ptln("</form>",$indent);
}