style and page template migrations complete
This commit is contained in:
parent
de758d8dfe
commit
5d0faf0e3f
12 changed files with 354 additions and 409 deletions
|
|
@ -365,19 +365,18 @@ sub www_editPage {
|
|||
-unitsValue=>$data[1],
|
||||
-uiLevel=>8
|
||||
);
|
||||
%hash = WebGUI::SQL->buildHash("select styleId,name from style where name<>'Reserved' order by name");
|
||||
if (WebGUI::Privilege::isInGroup(5)) {
|
||||
$subtext = ' <a href="'.WebGUI::URL::page('op=listStyles')
|
||||
.'">'.WebGUI::International::get(6).'</a>';
|
||||
} else {
|
||||
$subtext = "";
|
||||
}
|
||||
$f->getTab("layout")->select(
|
||||
$f->getTab("layout")->template(
|
||||
-name=>"styleId",
|
||||
-options=>\%hash,
|
||||
-label=>WebGUI::International::get(105),
|
||||
-value=>[$page{styleId}],
|
||||
-value=>$page{styleId},
|
||||
-subtext=>$subtext,
|
||||
-namespace=>'style',
|
||||
-uiLevel=>5
|
||||
);
|
||||
if ($childCount) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue