removed content.request_uri and replaced with request_uri alone in the form action
for index.php in the admin view
// Load Smarty Template support
require (GLM_PROTO_PLUGIN_DIR . '/lib/smartyPrototypeTemplateSupport.php');
$smarty = new smartyPrototypeTemplateSupport();
-
+
// Add some standard parameters
$smarty->templateAssign('request_uri', $_SERVER['REQUEST_URI']);
<h2>Add a New Prototype</h2>
- <form action="{$content.request_uri}" method="post" enctype="multipart/form-data">
+ <form action="{$request_uri}" method="post" enctype="multipart/form-data">
<input type="hidden" name="glm_proto_action" value="add_submit">
<table class="form-table">
<tr>