48 $title =
"Position Modules for {$cmspage->page_title}";
57 $xref->delete(
"WHERE page_id=$page_id");
66 $xref->position = $position;
72 redirect(
"/admin/page_modules?page_id=$page_id");
79 <div
class=
"tab_border">
80 <form method=
"POST" action=
"?page_id=<?echo $page_id?>">
95 <td><strong><a href=
"<?echo $module->getAdminForm()?>?module_id=<?echo $module->module_id?>" ><?echo
$module->title?></a></strong></td>
96 <td><select name=
"module[<?echo $module->module_id?>]">
104 if (
$module->title ==
"Search") {
106 echo
"<option selected='Right'>Right</option>";
107 $position->sort_order=1;
110 echo
"<option selected=''></option>";
115 option($p, ucwords($p), $position->position);
120 <input type=
"text" name=
"sort_order[<?echo $module->module_id?>]" maxlength=
"4" style=
"width: 50px" value=
"<?echo $position->sort_order?>"/></td>
127 <input type=
"submit" class=
"button" name=
"submit" value=
"Update Module Positions"/><NOBR>&
nbsp;&
nbsp;&
nbsp;<input type=
"button" class=
"button" value=
"Preview Page" name=
"preview" onclick=
"window.open('/page?page_id=<?echo $page_id?>', 'popupwindow1', 'width=900, height=600, resizable=no, scrollbars=yes'); return false;"/>
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
Defines the Module class.
$method
Pull out a simple reference to the request method.