asset help moved into namespace, all International calls updated to support that
This commit is contained in:
parent
8744495b1d
commit
51bb513c5b
25 changed files with 468 additions and 468 deletions
|
|
@ -124,14 +124,14 @@ sub getEditForm {
|
|||
my $tabform = $self->SUPER::getEditForm();
|
||||
if ($self->get("filename") ne "") {
|
||||
$tabform->getTab("properties")->readOnly(
|
||||
-label=>WebGUI::International::get('current file', 'File'),
|
||||
-label=>WebGUI::International::get('current file', 'Asset_File'),
|
||||
-value=>'<a href="'.$self->getFileUrl.'"><img src="'.$self->getFileIconUrl.'" alt="'.$self->get("filename").'" border="0" align="middle" /> '.$self->get("filename").'</a>'
|
||||
);
|
||||
|
||||
}
|
||||
$tabform->getTab("properties")->file(
|
||||
-name=>"file",
|
||||
-label=>WebGUI::International::get('new file', 'File'),
|
||||
-label=>WebGUI::International::get('new file', 'Asset_File'),
|
||||
);
|
||||
return $tabform;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue