more navigation and asset manager bug fixes
This commit is contained in:
parent
87aef8eaac
commit
6aebdeea49
13 changed files with 103 additions and 1177 deletions
|
|
@ -1,35 +0,0 @@
|
|||
package WebGUI::Macro::Navigation;
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# WebGUI is Copyright 2001-2004 Plain Black Corporation.
|
||||
#-------------------------------------------------------------------
|
||||
# Please read the legal notices (docs/legal.txt) and the license
|
||||
# (docs/license.txt) that came with this distribution before using
|
||||
# this software.
|
||||
#-------------------------------------------------------------------
|
||||
# http://www.plainblack.com info@plainblack.com
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
use strict;
|
||||
use WebGUI::Macro;
|
||||
use WebGUI::Session;
|
||||
#use WebGUI::Navigation;
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
return "Nav disabled.";
|
||||
my @param = WebGUI::Macro::getParams($_[0]);
|
||||
|
||||
my $identifier = $param[0];
|
||||
if ($identifier eq '') {
|
||||
return WebGUI::Macro::negate(WebGUI::International::get(35,'Navigation'));
|
||||
} else {
|
||||
my $navigation = WebGUI::Navigation->new(identifier=>$identifier);
|
||||
return $navigation->view;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
1;
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue