diff options
| author | michael pereira | 2011-03-30 17:59:23 +0200 |
|---|---|---|
| committer | michael pereira | 2011-03-30 17:59:23 +0200 |
| commit | 522b7be0ef2b43024b27f846009be65130580a8c (patch) | |
| tree | 1e9727c18f836bce070d96671a90858908caa1fd /application/modules/user/forms/Bootiso.php | |
| parent | fix user layout (diff) | |
| download | pbs2-522b7be0ef2b43024b27f846009be65130580a8c.tar.gz pbs2-522b7be0ef2b43024b27f846009be65130580a8c.tar.xz pbs2-522b7be0ef2b43024b27f846009be65130580a8c.zip | |
BootOS update
Diffstat (limited to 'application/modules/user/forms/Bootiso.php')
| -rw-r--r-- | application/modules/user/forms/Bootiso.php | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/application/modules/user/forms/Bootiso.php b/application/modules/user/forms/Bootiso.php index 3bf2775..3aba0af 100644 --- a/application/modules/user/forms/Bootiso.php +++ b/application/modules/user/forms/Bootiso.php @@ -29,6 +29,8 @@ class user_Form_Bootiso extends Zend_Form if ($this->rights == 'meta') $meta = true; + else + $meta = null; $this->addElement('text', 'title', array( 'filters' => array('StringTrim'), @@ -108,19 +110,24 @@ class user_Form_Bootiso extends Zend_Form $this->addElement('button', 'Cancel', array( 'onclick' => 'self.location="/user/bootiso"' )); + ?> - <div id='groups' style='text-align: center;'> - <div class='v1'> - <img id='depthimg' src='/stats/graphgroup/' /> - </div> - </div> - - <script>changeDepth(); + <script> + $(document).ready(function(){ + changeDepth(); + $('#groups .v1').show(); + }); function changeDepth(){ i = $("#depth option:selected").val(); $('#depthimg').attr('src','/stats/graphgroup/level/' + i); }</script> + + <div id='groups' style='text-align: center;'> + <div class='v1'> + <img id='depthimg' src='/stats/graphgroup/' /> + </div> + </div> |
