';
$ret .= '';
@@ -420,10 +429,17 @@ function pgmenu($menus)
$side = 'r';
continue;
}
- $ret .= "";
- $first = true;
- foreach ($submenus as $submenu => $item)
+ if ($iCrap)
{
+ foreach ($submenus as $submenu => $item)
+ $ret .= "".makeLink($item)."$submenu | ";
+ }
+ else
+ {
+ $ret .= "";
+ $first = true;
+ foreach ($submenus as $submenu => $item)
+ {
if ($first == true)
{
$first = false;
@@ -437,10 +453,11 @@ function pgmenu($menus)
$ret .= '';
}
$ret .= "".makeLink($item,'class=as')."$submenu | ";
- }
- if ($first == false)
+ }
+ if ($first == false)
$ret .= ' ';
- $ret .= ' | ';
+ $ret .= '';
+ }
}
$ret .= " | \n";
return $ret;
diff --git a/pool/prime.php b/pool/prime.php
index 2ac16d2e..ebecb23e 100644
--- a/pool/prime.php
+++ b/pool/prime.php
@@ -53,7 +53,7 @@ function def_menu()
),
'gap' => array( # options not shown
'API' => 'api'),
- 'Help' => array('Help' => 'help',
+ 'Help' => array(
'Payouts' => 'payout'));
return $dmenu;
}
@@ -84,9 +84,7 @@ function check()
'PBlocks' => 'pblocks'
),
'Help' => array(
- 'Payouts' => 'payout',
- 'Workers ' => 'workers',
- 'Blocks' => 'blocks'
+ 'Payouts' => 'payout'
)
);
tryLogInOut();
|