37 require_once
"include/section_tabs.inc";
48 $tabs->section =
"section_modules";
50 $title =
"Position Modules for {$section->section_title}";
59 $xref->delete(
"WHERE section_id=$section_id");
69 $xref->position = $position;
75 redirect(
"/admin/section_modules?section_id=$section_id");
80 <div
class=
"tab_border">
81 <form method=
"POST" action=
"?section_id=<?echo $section_id?>">
96 <td><strong><a href=
"<?echo $module->getAdminForm()?>?module_id=<?echo $module->module_id?>" ><?echo
$module->title?></a></strong></td>
97 <td><select name=
"module[<?echo $module->module_id?>]">
99 echo
"<option value=''></option>";
103 option($p, ucwords($p), $position->position);
108 <input type=
"text" name=
"sort_order[<?echo $module->module_id?>]" maxlength=
"4" style=
"width: 50px" value=
"<?echo $position->sort_order?>"/></td>
115 <input type=
"submit" class=
"button" name=
"submit" value=
"Update Module Positions"/>
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.
Section DataItem, defining the data model for sections within a site.
$method
Pull out a simple reference to the request method.