Re: [phpslash-users] page layout for admin functions
Brought to you by:
joestewart,
nhruby
From: Joe S. <jo...@cm...> - 2002-05-07 11:14:26
|
On Tue, May 07, 2002 at 12:09:25AM +0100, Robin Bowes wrote: > Hi, > > As you may recall, I am working on a site layout with the navbar in a block > on the LHS and no navbar at either top or bottom. > > This works fine most of the time, however in the admin functions the user is > left without any navigation options. e.g. block edit, submissions. > > Is this because some work needs doing on the code in the admin pages? > Yes, the admin pages haven't been updated yet to display blocks. Something like this will work: if ($perm->have_perm("author")) { $blocks = new Block_i; $ary['section'] = "Admin"; echo $blocks->getBlocks($ary, "centertop"); switch ($submit) { where the column in this case is "centertop". Joe > R. > --- > Robin Bowes | ro...@ro... > http://www.robinbowes.com > |