diff options
Diffstat (limited to 'application/modules/user/views/scripts')
3 files changed, 17 insertions, 3 deletions
diff --git a/application/modules/user/views/scripts/bootos/index.phtml b/application/modules/user/views/scripts/bootos/index.phtml index 00a0eb8..c2ce559 100644 --- a/application/modules/user/views/scripts/bootos/index.phtml +++ b/application/modules/user/views/scripts/bootos/index.phtml @@ -53,7 +53,7 @@ 'page' => $this->page ), 'default', - true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a></td> + true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a> <?php else: ?> <a><img src='/media/img/update_grey.png' alt='No updates available' /></a> <?php endif; ?> diff --git a/application/modules/user/views/scripts/index/index.phtml b/application/modules/user/views/scripts/index/index.phtml index f00d0dd..4acdfca 100644 --- a/application/modules/user/views/scripts/index/index.phtml +++ b/application/modules/user/views/scripts/index/index.phtml @@ -5,7 +5,7 @@ <?php if(count($this->links)>0 && is_array($this->links)): ?> <ul> <?php foreach($this->links as $link => $text):?> - <a href='<?php echo $link;?>'><li><?php echo $text;?></li></a> + <li><a href='<?php echo $link;?>'><?php echo $text;?></a></li> <?php endforeach ?> </ul> </div> diff --git a/application/modules/user/views/scripts/role/add.phtml b/application/modules/user/views/scripts/role/add.phtml index 23d4c55..59c0dae 100644 --- a/application/modules/user/views/scripts/role/add.phtml +++ b/application/modules/user/views/scripts/role/add.phtml @@ -1,5 +1,19 @@ <h1>Add Role</h1> +<div>Click to expand the boxes</div> <?php $this->addForm->setAction($this->url()); echo $this->addForm; -?>
\ 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(e){ + if($(e.target).context.nodeName == "LEGEND"){ + $(this).children('dl').slideToggle(); + } + }); + +}); +</script>
\ No newline at end of file |
