From 174e3df9eff37063997470d2d4903c91f9988c1b Mon Sep 17 00:00:00 2001
From: Colin Kuskie Edit Branch allows you to make changes to entire trees of Assets. You can change who can view Assets, who can edit Assets or you can change the templates or other display features such as SSL or whether to hide the Asset from navigations. The form will not give you editing privileges for Assets that you don't have. Each field has a Yes/No button to confirm that you want to change it recursively. Simply edit the fields that you want to change and select Yes from its change confirmation, and then hit save when you're all done.
'.$i18n->get("change").' '.WebGUI::Form::yesNo($self->session,{name=>"change_url"}),
-value=>WebGUI::Form::selectBox($self->session, {
@@ -121,7 +123,7 @@ sub www_editBranch {
-value=>$self->get("isHidden"),
-label=>$i18n->get(886),
-uiLevel=>6,
- -subtext=>'
'.$i18n->get("change").' '.WebGUI::Form::yesNo($self->session,{name=>"change_isHidden"})
+ -subtext=>'
'.$i18n->get("change").' '.WebGUI::Form::yesNo($self->session,{name=>"change_isHidden"}),
-hoverHelp=>$i18n->get('886 description',"Asset"),
);
$tabform->getTab("display")->yesNo(
@@ -134,25 +136,25 @@ sub www_editBranch {
);
$tabform->getTab("display")->yesNo(
-name=>"displayTitle",
- -label=>$i18n->get(174),
- -hoverHelp=>$i18n->get('174 description','Asset_Wobject'),
+ -label=>$i18n2->get(174),
+ -hoverHelp=>$i18n2->get('174 description'),
-value=>$self->getValue("displayTitle"),
-uiLevel=>5,
-subtext=>'
'.$i18n->get("change").' '.WebGUI::Form::yesNo($self->session,{name=>"change_displayTitle"})
);
$tabform->getTab("display")->template(
-name=>"styleTemplateId",
- -label=>$i18n->get(1073),
+ -label=>$i18n2->get(1073),
-value=>$self->getValue("styleTemplateId"),
- -hoverHelp=>$i18n->get('1073 description','Asset_Wobject'),
+ -hoverHelp=>$i18n2->get('1073 description'),
-namespace=>'style',
-afterEdit=>'op=editPage;npp='.$self->session->form->process("npp"),
-subtext=>'
'.$i18n->get("change").' '.WebGUI::Form::yesNo($self->session,{name=>"change_styleTemplateId"})
);
$tabform->getTab("display")->template(
-name=>"printableStyleTemplateId",
- -label=>$i18n->get(1079),
- -hoverHelp=>$i18n->get('1079 description','Asset_Wobject'),
+ -label=>$i18n2->get(1079),
+ -hoverHelp=>$i18n2->get('1079 description'),
-value=>$self->getValue("printableStyleTemplateId"),
-namespace=>'style',
-afterEdit=>'op=editPage;npp='.$self->session->form->process("npp"),
@@ -241,6 +243,7 @@ sub www_editBranch {
);
}
}
+ $ac->setHelp('edit branch', 'Asset');
return $ac->render($tabform->print, $i18n->get('edit branch','Asset'));
}
diff --git a/lib/WebGUI/Help/Asset.pm b/lib/WebGUI/Help/Asset.pm
index 92c8bff6b..413596929 100644
--- a/lib/WebGUI/Help/Asset.pm
+++ b/lib/WebGUI/Help/Asset.pm
@@ -226,6 +226,72 @@ our $HELP = {
title => 'edit branch',
body => 'edit branch body',
fields => [
+ {
+ title => '104',
+ description => 'edit branch url help',
+ namespace => 'Asset',
+ uiLevel => 9,
+ },
+ {
+ title => '886',
+ description => '886 description',
+ namespace => 'Asset',
+ uiLevel => 6,
+ },
+ {
+ title => '940',
+ description => '940 description',
+ namespace => 'Asset',
+ uiLevel => 6,
+ },
+ {
+ title => '174',
+ description => '174 description',
+ namespace => 'Asset_Wobject',
+ uiLevel => 5,
+ },
+ {
+ title => '1073',
+ description => '1073 description',
+ namespace => 'Asset_Wobject',
+ uiLevel => 5,
+ },
+ {
+ title => '1079',
+ description => '1079 description',
+ namespace => 'Asset_Wobject',
+ uiLevel => 5,
+ },
+ {
+ title => 'encrypt page',
+ description => 'encrypt page description',
+ namespace => 'Asset',
+ uiLevel => 6,
+ },
+ {
+ title => '108',
+ description => '108 description',
+ namespace => 'Asset',
+ uiLevel => 6,
+ },
+ {
+ title => '872',
+ description => '872 description',
+ namespace => 'Asset',
+ uiLevel => 6,
+ },
+ {
+ title => '871',
+ description => '871 description',
+ namespace => 'Asset',
+ uiLevel => 6,
+ },
+ {
+ title => 'extra head tags',
+ description => 'extra head tags description',
+ namespace => 'Asset',
+ uiLevel => 5,
+ },
],
related => [
]
diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm
index e33fa0041..f1b9b1851 100644
--- a/lib/WebGUI/i18n/English/Asset.pm
+++ b/lib/WebGUI/i18n/English/Asset.pm
@@ -258,15 +258,16 @@ our $I18N = {
},
'edit branch help' => {
- message => q|Bring up the Edit Branch interface, to make changes to this Asset and all Assets below it|,
+ message => q|Bring up the Edit Branch interface, to make changes to this Asset and Assets below it|,
lastUpdated => 0,
context => q|Used in asset context menus.|
},
'edit branch body' => {
- message => q| |,
+ message => q|
You can change the URL via two parts, the base URL (the left field) and the file url (the right field). For the base URL, there are three options:
+There are also three options for the file URL:
+New URLs will be passed through the makeUrlCompliant function that is specific to the default language for your site.
+|, + lastUpdated => 0, + }, + 'topicName' => { message => q|Assets|, lastUpdated => 1128920336,