Folder, HttpProxy, InOutBoard and Folder cleanups.

Changed InOutBoard to use the Wobject style add/edit title generation.
This commit is contained in:
Colin Kuskie 2007-07-20 16:25:57 +00:00
parent f6ad42f7f2
commit 807fac9b31
9 changed files with 4 additions and 285 deletions

View file

@ -293,8 +293,9 @@ sub www_edit {
return $self->session->privilege->insufficient() unless $self->canEdit;
return $self->session->privilege->locked() unless $self->canEditIfLocked;
$self->getAdminConsole->setHelp("in out board add/edit","Asset_InOutBoard");
my $i18n = WebGUI::International->new($self->session, "Asset_InOutBoard");
return $self->getAdminConsole->render($self->getEditForm->print,$i18n->get("18"));
my $i18n = WebGUI::International->new($self->session, 'Asset_Wobject');
my $addEdit = ($self->session->form->process("func") eq 'add') ? $i18n->get('add') : $i18n->get('edit');
return $self->getAdminConsole->render($self->getEditForm->print,$addEdit.' '.$self->getName);
}
#-------------------------------------------------------------------

View file

@ -2,37 +2,6 @@ package WebGUI::Help::Asset_Folder;
our $HELP = {
'folder add/edit' => {
title => 'folder add/edit title',
body => 'folder add/edit body',
isa => [
],
fields => [
{
title => 'visitor cache timeout',
namespace => 'Asset_Folder',
description => 'visitor cache timeout help',
uiLevel => 8,
},
{
title => 'folder template title',
description => 'folder template description',
namespace => 'Asset_Folder',
},
{
title => 'sort alphabetically',
description => 'sort alphabetically help',
namespace => 'Asset_Folder',
},
],
related => [
{
tag => 'folder template',
namespace => 'Asset_Folder',
},
]
},
'folder template' => {
title => 'folder template title',
body => 'folder template body',
@ -108,10 +77,6 @@ our $HELP = {
}
],
related => [
{
tag => 'folder add/edit',
namespace => 'Asset_Folder',
},
]
},
@ -138,10 +103,6 @@ our $HELP = {
},
],
related => [
{
tag => 'folder add/edit',
namespace => 'Asset_Folder',
},
]
},

View file

@ -1,85 +1,6 @@
package WebGUI::Help::Asset_HttpProxy;
our $HELP = {
'http proxy add/edit' => {
title => '10',
body => '11',
isa => [
],
fields => [
{
title => '1',
description => '1 description',
namespace => 'Asset_HttpProxy',
},
{
title => '5',
description => '5 description',
namespace => 'Asset_HttpProxy',
},
{
title => '8',
description => '8 description',
namespace => 'Asset_HttpProxy',
},
{
title => '12',
description => '12 description',
namespace => 'Asset_HttpProxy',
},
{
title => 'http proxy template title',
description => 'http proxy template title description',
namespace => 'Asset_HttpProxy',
},
{
title => 'cache timeout',
description => 'cache timeout description',
namespace => 'Asset_HttpProxy',
},
{
title => 'use ampersand',
description => 'use ampersand help',
namespace => 'Asset_HttpProxy',
},
{
title => '6',
description => '6 description',
namespace => 'Asset_HttpProxy',
},
{
title => '418',
description => '418 description',
namespace => 'WebGUI',
},
{
title => '4',
description => '4 description',
namespace => 'Asset_HttpProxy',
},
{
title => '13',
description => '13 description',
namespace => 'Asset_HttpProxy',
},
{
title => '14',
description => '14 description',
namespace => 'Asset_HttpProxy',
},
],
related => [
{
tag => 'asset fields',
namespace => 'Asset',
},
{
tag => 'http proxy template',
namespace => 'Asset_HttpProxy',
},
],
},
'http proxy template' => {
title => 'http proxy template title',
body => 'http proxy template body',
@ -120,10 +41,6 @@ our $HELP = {
},
],
related => [
{
tag => 'http proxy add/edit',
namespace => 'Asset_HttpProxy',
},
],
},

View file

@ -1,55 +1,6 @@
package WebGUI::Help::Asset_InOutBoard;
our $HELP = {
'in out board add/edit' => {
title => '18',
body => '19',
isa => [
],
fields => [
{
title => '1',
description => '1 description',
namespace => 'Asset_InOutBoard',
},
{
title => '12',
description => '12 description',
namespace => 'Asset_InOutBoard',
},
{
title => 'In Out Template',
description => 'In Out Template description',
namespace => 'Asset_InOutBoard',
},
{
title => '13',
description => '13 description',
namespace => 'Asset_InOutBoard',
},
{
title => '3',
description => '3 description',
namespace => 'Asset_InOutBoard',
},
{
title => 'inOutGroup',
description => 'inOutGroup description',
namespace => 'Asset_InOutBoard',
},
],
related => [
{
tag => 'in out board template',
namespace => 'Asset_InOutBoard',
},
{
tag => 'in out board report template',
namespace => 'Asset_InOutBoard',
},
],
},
'in out board template' => {
title => '20',
body => '21',
@ -117,10 +68,6 @@ our $HELP = {
},
],
related => [
{
tag => 'in out board add/edit',
namespace => 'Asset_InOutBoard',
},
],
},
@ -199,10 +146,6 @@ our $HELP = {
},
],
related => [
{
tag => 'in out board add/edit',
namespace => 'Asset_InOutBoard',
},
],
},

View file

@ -2,34 +2,6 @@ package WebGUI::Help::Asset_Layout;
our $HELP = {
'layout add/edit' => {
title => 'layout add/edit title',
body => 'layout add/edit body',
fields => [
{
title => 'layout template title',
description => 'template description',
namespace => 'Asset_Layout',
},
{
title => 'assets to hide',
description => 'assets to hide description',
namespace => 'Asset_Layout',
uiLevel => 9,
},
],
related => [
{
tag => 'asset fields',
namespace => 'Asset'
},
{
tag => 'layout template',
namespace => 'Asset_Layout'
},
]
},
'layout template' => {
title => 'layout template title',
body => 'layout template body',
@ -72,10 +44,6 @@ our $HELP = {
fields => [
],
related => [
{
tag => 'layout add/edit',
namespace => 'Asset_Layout'
},
]
},
@ -103,10 +71,6 @@ our $HELP = {
fields => [
],
related => [
{
tag => 'layout add/edit',
namespace => 'Asset_Layout'
},
]
},

View file

@ -32,19 +32,6 @@ our $I18N = {
lastUpdated => 1038706332,
},
'folder add/edit title' => {
message => q|Folder, Add/Edit|,
lastUpdated => 1106683494,
},
'folder add/edit body' => {
message => q|<p>Folder Assets are used to display lists of Assets and subfolders just like a file browser in an operating system.</p>
<p>Folders are Wobjects, so they have all the same properties as Wobjects and Assets. Folders also have these unique properties and functions:</p>
|,
lastUpdated => 1126238060,
},
'folder template description' => {
message => q|<p>This menu permits you to select a template to style the display of the Folder contents</p>|,
lastUpdated => 1146797271,

View file

@ -28,16 +28,7 @@ our $I18N = {
lastUpdated => 1047837230
},
'11' => {
message => q|<p>The HTTP Proxy wobject is a very powerful tool. It enables you to embed external sites and applications into your site. For example, if you have a web mail system that you wish your staff could access through the intranet, then you could use the HTTP Proxy to accomplish that.
</p>
<p><i>Note: The <b>Search for</b> and <b>Stop at</b> strings are included in the content in the default template. You can change this by creating your own template.</i></p>
|,
lastUpdated => 1146775758,
},
'http proxy template title' => {
'http proxy template title' => {
message => q|HTTP Proxy Template|,
lastUpdated => 1109714266,
},
@ -169,11 +160,6 @@ our $I18N = {
lastUpdated => 1060433963
},
'10' => {
message => q|HTTP Proxy, Add/Edit|,
lastUpdated => 1047858432
},
'5' => {
message => q|Allow proxying of other domains?|,
lastUpdated => 1047835817

View file

@ -11,11 +11,6 @@ our $I18N = {
lastUpdated =>1091624565
},
'18' => {
message => q|In/Out Board, Add/Edit|,
lastUpdated =>1091624565
},
'select delegate' => {
message => q|In/Out Board, Select Delegates|,
lastUpdated =>1122010599
@ -118,22 +113,6 @@ our $I18N = {
lastUpdated => 1138988640,
},
'19' => {
message => q|<p>
An In/Out board is used to keep track of whether people are currently
in/out of the office. It shows the current In/Out status of all WebGUI
users and also logs the reason the person has left, the time they
left and the time they return. The log is viewable in two forms. The first
is a summary of the current status for all users in the groups configured for
this In/Out board instance. The second is a complete report of the history of
all status changes for those users. This report can be setup to have restricted
viewing privileges and is templatable.</p>
<p>Users of the In/Out Board can select other users, called delegates, to update
their status for them.</p>
|,
lastUpdated =>1139255107
},
'20' => {
message => q|In/Out Board, Template|,
lastUpdated =>1091624565

View file

@ -7,25 +7,6 @@ our $I18N = {
context=>q|The name of the layout asset.|
},
'layout add/edit title' => {
message => q|Page Layout, Add/Edit|,
lastUpdated => 1106683494,
},
'layout add/edit body' => {
message => q|
<p>Page Layout Assets are used to display multiple Assets on the same time, much like
Page Layouts in version 5 of WebGUI. The Page Layout Asset consists of a template with
multiple content areas, and Assets that are children of the Page Layout can be assigned
to be displayed in those areas.
</p>
<p>Page Layout Assets are Wobjects and Assets, and share the same properties of both. Page Layout
Assets also have these unique properties:</p>|,
context => 'Describing Page Layout Add/Edit form specific fields',
lastUpdated => 1119410129,
},
'template description' => {
message => q|Choose a template from the list to display the contents of the Page Layout Asset and
its children.|,