summaryrefslogtreecommitdiffstats
path: root/application/modules/user/views/scripts/role
diff options
context:
space:
mode:
authorSimon2011-04-13 16:06:47 +0200
committerSimon2011-04-13 16:06:47 +0200
commit1aa784bf7f97c7f9982b4cc6c36d28a7f83edcd8 (patch)
tree05f40ad9d4306ead9abcdc1e71e15be378931f76 /application/modules/user/views/scripts/role
parentEinrückung und Layoutfehler korrigiert (diff)
downloadpbs2-1aa784bf7f97c7f9982b4cc6c36d28a7f83edcd8.tar.gz
pbs2-1aa784bf7f97c7f9982b4cc6c36d28a7f83edcd8.tar.xz
pbs2-1aa784bf7f97c7f9982b4cc6c36d28a7f83edcd8.zip
neue Rechte hinzugefügt & Teil 3
Diffstat (limited to 'application/modules/user/views/scripts/role')
-rw-r--r--application/modules/user/views/scripts/role/linkright.phtml14
1 files changed, 13 insertions, 1 deletions
diff --git a/application/modules/user/views/scripts/role/linkright.phtml b/application/modules/user/views/scripts/role/linkright.phtml
index 38c0d45..f7c1133 100644
--- a/application/modules/user/views/scripts/role/linkright.phtml
+++ b/application/modules/user/views/scripts/role/linkright.phtml
@@ -1,5 +1,17 @@
<h1>Add Right</h1>
+<div>Click to expand the boxes</div>
<?php
$this->linkForm->setAction($this->url());
echo $this->linkForm;
-?> \ No newline at end of file
+?>
+<script>
+$(document).ready(function(){
+ $('fieldset').children('dl:gt(0)').hide();
+ $('fieldset fieldset>legend').css('cursor','pointer');
+ $('fieldset fieldset').click(
+ function(){
+ $(this).children('dl').slideToggle();
+ });
+
+});
+</script>