moved Asset/Redirect help into its own files

This commit is contained in:
Colin Kuskie 2005-02-25 03:57:29 +00:00
parent 30dc659e9c
commit a2745b6ba6
5 changed files with 50 additions and 46 deletions

View file

@ -86,7 +86,7 @@ sub getEditForm {
my $tabform = $self->SUPER::getEditForm();
$tabform->getTab("properties")->url(
-name=>"redirectUrl",
-label=>WebGUI::International::get('redirect url', 'Asset'),
-label=>WebGUI::International::get('redirect url', 'Redirect'),
-value=>$self->getValue("redirectUrl")
);
return $tabform;

View file

@ -20,28 +20,6 @@ our $HELP = {
]
},
'redirect add/edit' => {
title => 'redirect add/edit title',
body => 'redirect add/edit body',
related => [
{
tag => 'asset fields',
namespace => 'Asset'
},
]
},
'file add/edit' => {
title => 'file add/edit title',
body => 'file add/edit body',
related => [
{
tag => 'asset fields',
namespace => 'Asset'
},
]
},
'metadata manage'=> {
title => 'content profiling',
body => 'metadata manage body',
@ -78,6 +56,7 @@ our $HELP = {
},
],
},
};
1;

View file

@ -0,0 +1,18 @@
package WebGUI::Help::Redirect;
our $HELP = {
'redirect add/edit' => {
title => 'redirect add/edit title',
body => 'redirect add/edit body',
related => [
{
tag => 'asset fields',
namespace => 'Asset'
},
]
},
};
1;

View file

@ -169,29 +169,6 @@ argument.
lastUpdated => 1106762073,
},
'redirect url' => {
message => q|Redirect URL|,
lastUpdated => 1104719740,
context => 'Default name of all redirects'
},
'redirect add/edit title' => {
message => q|Page Redirect, Add/Edit|,
lastUpdated => 1104630516,
},
'redirect add/edit body' => {
message => q|
<P>The Page Redirect Asset causes the user's browser to be redirected to another page. It does this if it is viewed standalone, as part of a Layout Asset, or proxied via a macro.</P>
<P><b>NOTE:</b> The redirection will be disabled while in admin mode in order to allow editing the properties of the page.</P>
<P>
<b>Redirect URL</b><br>
The URL where the user will be redirected.
</P> |,
lastUpdated => 1104718231,
context => 'Help text for redirects',
},
'upload files' => {
message => q|Upload Files|,
context => q|label for File Pile asset form|,

View file

@ -0,0 +1,30 @@
package WebGUI::i18n::English::Redirect;
our $I18N = {
'redirect url' => {
message => q|Redirect URL|,
lastUpdated => 1104719740,
context => 'Default name of all redirects'
},
'redirect add/edit title' => {
message => q|Page Redirect, Add/Edit|,
lastUpdated => 1104630516,
},
'redirect add/edit body' => {
message => q|
<P>The Page Redirect Asset causes the user's browser to be redirected to another page. It does this if it is viewed standalone, as part of a Layout Asset, or proxied via a macro.</P>
<P><b>NOTE:</b> The redirection will be disabled while in admin mode in order to allow editing the properties of the page.</P>
<P>
<b>Redirect URL</b><br>
The URL where the user will be redirected.
</P> |,
lastUpdated => 1104718231,
context => 'Help text for redirects',
},
};
1;