[ajax/add_module] Make add module use ajax
This commit is contained in:
@@ -1,14 +1,31 @@
|
||||
<!-- IF S_AJAX_REQUEST -->
|
||||
<form id="acp_portal_modules" method="post" action="{U_ACTION}">
|
||||
<fieldset>
|
||||
<dl>
|
||||
<dt><label for="module_classname" style="display: inline;">{L_CHOOSE_MODULE}:</label><br /><span>{L_CHOOSE_MODULE_EXP}</span></dt>
|
||||
<dd><select name="module_classname" id="module_classname">{S_MODULE_NAMES}</select></dd>
|
||||
</dl>
|
||||
|
||||
<p class="submit-buttons">
|
||||
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
||||
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
||||
{S_FORM_TOKEN}{S_HIDDEN_FIELDS}
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<!-- ELSE -->
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<a name="maincontent"></a>
|
||||
|
||||
<!-- IF S_EDIT -->
|
||||
|
||||
<h1>{L_ACP_PORTAL_MODULES}</h1>
|
||||
<p>{L_ACP_PORTAL_MODULES_EXP}</p>
|
||||
|
||||
<form id="acp_portal_modules" method="post" action="{U_ACTION}">
|
||||
<fieldset>
|
||||
<legend>{L_GENERAL_OPTIONS}</legend>
|
||||
<dl>
|
||||
<dt><label for="module_classname">{L_CHOOSE_MODULE}:</label><br /><span>{L_CHOOSE_MODULE_EXP}</span></dt>
|
||||
<dd><select name="module_classname" id="module_classname">{S_MODULE_NAMES}</select></dd>
|
||||
@@ -27,7 +44,7 @@
|
||||
<h1>{L_ACP_PORTAL_MODULES}</h1>
|
||||
<p>{L_ACP_PORTAL_MODULES_EXP}</p>
|
||||
|
||||
<form id="acp_portal_modules" method="post" action="{U_ACTION}">
|
||||
<form id="acp_portal_modules" method="post" action="{U_ACTION}" data-ajax="true">
|
||||
<fieldset class="tabulated">
|
||||
<legend>{L_ACP_PORTAL_MODULES}</legend>
|
||||
|
||||
@@ -172,4 +189,5 @@
|
||||
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
||||
<!-- INCLUDE overall_footer.html -->
|
||||
<!-- ENDIF -->
|
||||
Reference in New Issue
Block a user