There is a small bug in the admin interface. When you define different style
for a particular page, style field for that page gets updated in the
database correctly. But, when you hit 'modify' again, style dropbox shows
[inherited], which is incorrect..
This is due to undefined $style var in 'Admin Root/host/page' page.
Current code:
if ($action == 'modify')
$up = $page->up;
$name = $page->name;
$title = $page->title;
$content = $page->content;
$author = $page->author;
$active = $page->active;
$auth = $page->auth;
} elseif ($action == 'create')
$up = $page->id;
$author = $midgard->user;
} ?>
should be changed to:
if ($action == 'modify')
$up = $page->up;
$style = $page->style;
$name = $page->name;
$title = $page->title;
$content = $page->content;
$author = $page->author;
$active = $page->active;
$auth = $page->auth;
} elseif ($action == 'create')
$up = $page->id;
$author = $midgard->user;
} ?>
Hope this helps,
Vanja
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]