summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael2011-11-22 18:14:07 +0100
committermichael2011-11-22 18:14:07 +0100
commit7a175a94ffe813540279eebe26a50e80dd868167 (patch)
tree1a0051243f49c16d112b9e532918e7f2fbfea97d
parentfbgui return to membershipmenu (diff)
downloadpbs2-7a175a94ffe813540279eebe26a50e80dd868167.tar.gz
pbs2-7a175a94ffe813540279eebe26a50e80dd868167.tar.xz
pbs2-7a175a94ffe813540279eebe26a50e80dd868167.zip
fbgui menu fix
-rw-r--r--application/modules/fbgui/views/scripts/index/index.phtml26
1 files changed, 2 insertions, 24 deletions
diff --git a/application/modules/fbgui/views/scripts/index/index.phtml b/application/modules/fbgui/views/scripts/index/index.phtml
index bef990b..b52afb6 100644
--- a/application/modules/fbgui/views/scripts/index/index.phtml
+++ b/application/modules/fbgui/views/scripts/index/index.phtml
@@ -1,6 +1,6 @@
<?php if($this->notification != ''){echo $this->notification;} ?>
-<?php if($this->nobootmenu === true):?>
+<?php if($this->nobootmenu):?>
<?php if($this->loginmenu):?>
<div class="fbguilogin selectswitch" style=''>
<div style='font-size:16px;font-weight:bold;margin-bottom:5px;'>Login</div>
@@ -41,9 +41,6 @@
});
$(function() {
- $(document).click(function(){
- abortStartcount = true;
- })
$(document).keyup(function (event) {
if (event.keyCode == 38) {
// up
@@ -59,29 +56,9 @@
// Down
$('#startbutton').click();
}
- abortStartcount = true;
});
});
- decreaseDown();
});
- function decreaseDown(){
- var act = parseInt($('.startcounter').html());
- if(act == 0){
- start();
- return;
- }
- var next = act-1;
- $('.startcounter').html(next);
- if(next == 0){
- start();
- }
- if(next > 0 && abortStartcount == false){
- setTimeout('decreaseDown()',1000);
- }
- if(abortStartcount == true){
- $('.startcounter').parent().fadeOut();
- }
- }
function start(){
if($('#selectedBootOs').val() != ''){
if($('#selectedBootOs').val() == 'login'){
@@ -105,6 +82,7 @@
</button>
<div class='clear'></div>
<?php endif; ?>
+
<?php if(isset($this->entries)):?>
<?php if($this->loginmenu):?>
<div class="fbguilogin selectswitch" style=''>