39 $page_id = checkNumeric($_GET[
"component_page_id"]);
46 $tabs->page =
"component_page_modules";
48 $title =
"Position Modules for {$page->page_title}";
56 $xref->delete(
"WHERE component_page_id=$page_id");
65 $xref->position = $position;
71 redirect(
"/admin/component_page_modules?component_page_id=$page_id");
74 $tabs->page =
"/admin/component_page_modules";
78 <div
id=
"form" class=
"tab_border">
79 <form method=
"POST" action=
"?component_page_id=<?echo $page_id?>">
94 <td><strong><a href=
"<?echo $module->getAdminForm()?>?module_id=<?echo $module->module_id?>" ><?echo
$module->title?></a></strong></td>
95 <td><input type=
"text" name=
"module[<?echo $module->module_id?>]" value=
"<?echo $position->position?>"/></td>
97 <input type=
"text" name=
"sort_order[<?echo $module->module_id?>]" maxlength=
"4" style=
"width: 50px" value=
"<?echo $position->sort_order?>"/></td>
104 <input type=
"submit" class=
"button" name=
"submit" value=
"Update Module Positions"/>&
nbsp;&
nbsp;&
nbsp;<input type=
"button" class=
"button" value=
"Preview Component Page" name=
"preview" onclick=
"window.open('/<?echo $page->identifier?>', 'popupwindow1', 'width=900, height=600, resizable=no, scrollbars=yes'); return false;"/>
static componentPageTabs($key)
static using()
Import the datamodels, views and manifest for the specified component(s).
static usingFile()
Uses the specified framework file(s) from the framework directory.
Defines the Module class.
$method
Pull out a simple reference to the request method.