Sorted templates into folders named after their respective namespaces

- & re-enabled the manage button next to the template dropdown [mwilson]
This commit is contained in:
Matthew Wilson 2005-03-17 22:31:37 +00:00
parent f302fe2d63
commit bee9eec318
3 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,6 @@
6.5.3
- Sorted templates into folders named after their respective namespaces
- & re-enabled the manage button next to the template dropdown [mwilson]
- fix [ 1161457 ] Data fomr - list all entries: Logfile Error
- fix [ 1161461 ] Data form - Add field - wrong destination
- fix [ 1164382 ] User Profiling WebGUI::International::get(304,"WebGUI");

View file

@ -334,6 +334,16 @@ sub www_edit {
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get('edit template', 'Template'));
}
#-------------------------------------------------------------------
sub www_manage {
my $self = shift;
#takes the user to the folder containing this template.
return $self->getParent->www_manageAssets;
}
#-------------------------------------------------------------------
sub www_view {
my $self = shift;

View file

@ -2175,7 +2175,7 @@ sub template {
$buttons = editIcon("func=edit",$template->get("url"));
#"&namespace=".$namespace."&afterEdit=".WebGUI::URL::escape($afterEdit));
# }
#$buttons .= manageIcon("op=listTemplates&namespace=$namespace");
$buttons .= manageIcon("func=manage",$template->get("url"));
}
$output = WebGUI::Form::template({
"name"=>$name,