Fixed template help.
This commit is contained in:
parent
64d8f0fdef
commit
fb47cdb155
1 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ sub www_deleteTemplate {
|
||||||
if ($session{form}{tid} < 1000 && $session{form}{tid} > 1000) {
|
if ($session{form}{tid} < 1000 && $session{form}{tid} > 1000) {
|
||||||
return WebGUI::Privilege::vitalComponent();
|
return WebGUI::Privilege::vitalComponent();
|
||||||
} elsif (WebGUI::Privilege::isInGroup(8)) {
|
} elsif (WebGUI::Privilege::isInGroup(8)) {
|
||||||
$output .= helpIcon(4);
|
$output .= helpIcon(35);
|
||||||
$output .= '<h1>'.WebGUI::International::get(42).'</h1>';
|
$output .= '<h1>'.WebGUI::International::get(42).'</h1>';
|
||||||
$output .= WebGUI::International::get(502).'<p>';
|
$output .= WebGUI::International::get(502).'<p>';
|
||||||
$output .= '<div align="center"><a href="'.
|
$output .= '<div align="center"><a href="'.
|
||||||
|
|
@ -83,7 +83,7 @@ sub www_editTemplate {
|
||||||
} else {
|
} else {
|
||||||
%template = WebGUI::SQL->quickHash("select * from template where templateId=$session{form}{tid}");
|
%template = WebGUI::SQL->quickHash("select * from template where templateId=$session{form}{tid}");
|
||||||
}
|
}
|
||||||
$output .= helpIcon(16);
|
$output .= helpIcon(34);
|
||||||
$output .= '<h1>'.WebGUI::International::get(507).'</h1>';
|
$output .= '<h1>'.WebGUI::International::get(507).'</h1>';
|
||||||
$f = WebGUI::HTMLForm->new;
|
$f = WebGUI::HTMLForm->new;
|
||||||
$f->hidden("op","editTemplateSave");
|
$f->hidden("op","editTemplateSave");
|
||||||
|
|
@ -119,7 +119,7 @@ sub www_editTemplateSave {
|
||||||
sub www_listTemplates {
|
sub www_listTemplates {
|
||||||
my ($output, $sth, @data, @row, $i, $p);
|
my ($output, $sth, @data, @row, $i, $p);
|
||||||
if (WebGUI::Privilege::isInGroup(8)) {
|
if (WebGUI::Privilege::isInGroup(8)) {
|
||||||
$output = helpIcon(9);
|
$output = helpIcon(33);
|
||||||
$output .= '<h1>'.WebGUI::International::get(506).'</h1>';
|
$output .= '<h1>'.WebGUI::International::get(506).'</h1>';
|
||||||
$output .= '<div align="center"><a href="'.WebGUI::URL::page('op=editTemplate&tid=new').
|
$output .= '<div align="center"><a href="'.WebGUI::URL::page('op=editTemplate&tid=new').
|
||||||
'">'.WebGUI::International::get(505).'</a><p/></div>';
|
'">'.WebGUI::International::get(505).'</a><p/></div>';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue