aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Shared/GUI.pm
diff options
context:
space:
mode:
authormatteo <matteo.pasotti@gmail.com>2014-06-29 23:56:12 +0300
committermatteo <matteo.pasotti@gmail.com>2014-06-29 23:56:12 +0300
commit1ad580c00b5fec07c8a207b8670b04167d6d375d (patch)
treeb87074c80ac8ba234972998be1b6dbfcf0c2244f /lib/AdminPanel/Shared/GUI.pm
parentceba0d48c851f98f007befe43a26306285a75294 (diff)
downloadmanatools-1ad580c00b5fec07c8a207b8670b04167d6d375d.tar
manatools-1ad580c00b5fec07c8a207b8670b04167d6d375d.tar.gz
manatools-1ad580c00b5fec07c8a207b8670b04167d6d375d.tar.bz2
manatools-1ad580c00b5fec07c8a207b8670b04167d6d375d.tar.xz
manatools-1ad580c00b5fec07c8a207b8670b04167d6d375d.zip
SILENT: fixed an attribute name
Diffstat (limited to 'lib/AdminPanel/Shared/GUI.pm')
-rw-r--r--lib/AdminPanel/Shared/GUI.pm20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/AdminPanel/Shared/GUI.pm b/lib/AdminPanel/Shared/GUI.pm
index 00d94157..5c5e9bdb 100644
--- a/lib/AdminPanel/Shared/GUI.pm
+++ b/lib/AdminPanel/Shared/GUI.pm
@@ -89,7 +89,7 @@ sub _localeInitialize {
$info: HASH, information to be passed to the dialog.
title => dialog title
text => string to be swhon into the dialog
- reachtext => 1 if using reach text
+ richtext => 1 if using reach text
=head3 DESCRIPTION
@@ -112,7 +112,7 @@ sub warningMsgBox {
$yui::YMGAMessageBox::D_WARNING);
$dlg->setTitle($info->{title}) if (exists $info->{title});
- my $rt = (exists $info->{reachtext}) ? $info->{reachtext} : 0;
+ my $rt = (exists $info->{richtext}) ? $info->{richtext} : 0;
$dlg->setText($info->{text}, $rt) if (exists $info->{text});
$dlg->setButtonLabel($self->loc->N("Ok"), $yui::YMGAMessageBox::B_ONE );
@@ -134,7 +134,7 @@ sub warningMsgBox {
$info: HASH, information to be passed to the dialog.
title => dialog title
text => string to be swhon into the dialog
- reachtext => 1 if using reach text
+ richtext => 1 if using reach text
=head3 DESCRIPTION
@@ -158,7 +158,7 @@ sub infoMsgBox {
$yui::YMGAMessageBox::D_INFO);
$dlg->setTitle($info->{title}) if (exists $info->{title});
- my $rt = (exists $info->{reachtext}) ? $info->{reachtext} : 0;
+ my $rt = (exists $info->{richtext}) ? $info->{richtext} : 0;
$dlg->setText($info->{text}, $rt) if (exists $info->{text});
$dlg->setButtonLabel($self->loc->N("Ok"), $yui::YMGAMessageBox::B_ONE );
@@ -180,7 +180,7 @@ sub infoMsgBox {
$info: HASH, information to be passed to the dialog.
title => dialog title
text => string to be swhon into the dialog
- reachtext => 1 if using reach text
+ richtext => 1 if using reach text
=head3 DESCRIPTION
@@ -202,7 +202,7 @@ sub msgBox {
my $dlg = $factory->createDialogBox($yui::YMGAMessageBox::B_ONE);
$dlg->setTitle($info->{title}) if (exists $info->{title});
- my $rt = (exists $info->{reachtext}) ? $info->{reachtext} : 0;
+ my $rt = (exists $info->{richtext}) ? $info->{richtext} : 0;
$dlg->setText($info->{text}, $rt) if (exists $info->{text});
$dlg->setButtonLabel($self->loc->N("Ok"), $yui::YMGAMessageBox::B_ONE );
@@ -224,7 +224,7 @@ sub msgBox {
$info: HASH, information to be passed to the dialog.
title => dialog title
text => string to be swhon into the dialog
- reachtext => 1 if using reach text
+ richtext => 1 if using reach text
=head3 OUTPUT
@@ -252,7 +252,7 @@ sub ask_OkCancel {
my $dlg = $factory->createDialogBox($yui::YMGAMessageBox::B_TWO);
$dlg->setTitle($info->{title}) if (exists $info->{title});
- my $rt = (exists $info->{reachtext}) ? $info->{reachtext} : 0;
+ my $rt = (exists $info->{richtext}) ? $info->{richtext} : 0;
$dlg->setText($info->{text}, $rt) if (exists $info->{text});
$dlg->setButtonLabel($self->loc->N("Ok"), $yui::YMGAMessageBox::B_ONE );
@@ -276,7 +276,7 @@ sub ask_OkCancel {
$info: HASH, information to be passed to the dialog.
title => dialog title
text => string to be swhon into the dialog
- reachtext => 1 if using reach text
+ richtext => 1 if using reach text
default_button => (optional) 1: "Yes" (any other values "No")
=head3 OUTPUT
@@ -305,7 +305,7 @@ sub ask_YesOrNo {
my $dlg = $factory->createDialogBox($yui::YMGAMessageBox::B_TWO);
$dlg->setTitle($info->{title}) if (exists $info->{title});
- my $rt = (exists $info->{reachtext}) ? $info->{reachtext} : 0;
+ my $rt = (exists $info->{richtext}) ? $info->{richtext} : 0;
$dlg->setText($info->{text}, $rt) if (exists $info->{text});
$dlg->setButtonLabel($self->loc->N("Yes"), $yui::YMGAMessageBox::B_ONE );