]> git.mxchange.org Git - mailer.git/commitdiff
reg_ext causes trouble :(
authorRoland Häder <roland@mxchange.org>
Sun, 21 Oct 2012 12:08:55 +0000 (12:08 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 21 Oct 2012 12:08:55 +0000 (12:08 +0000)
inc/modules/admin/what-extensions.php
inc/template-functions.php
templates/de/html/admin/admin_extension_reg_form.tpl

index b087b047720c55f720074ca15a1d2171b8e8a97a..42530629b253d92ed4524007b1912c8e2dd577c2 100644 (file)
@@ -46,10 +46,10 @@ addYouAreHereLink('admin', __FILE__);
 // Normally we want the overview of all registered extensions
 $do = 'overview';
 
-if (isGetRequestElementSet('reg_ext')) {
+if (isGetRequestElementSet('register_ext')) {
        // We are about to register a new extension
        $do = 'register';
-       $taskId = determineExtensionTaskId(getRequestElement('reg_ext'));
+       $taskId = determineExtensionTaskId(getRequestElement('register_ext'));
 
        // The id comes from task management and it is - of course - *not* the extension's name!
 } elseif ((isFormSent('change')) && (ifPostContainsSelections()) && (!isDemoModeActive())) {
index 55a4e8299e76071a4a285ba9fdd93fd8a83c3754..c3943decf43ce2930a35ac84c2a4aefd47ff31ed 100644 (file)
@@ -2075,7 +2075,7 @@ function doTemplateExtensionRegistrationLink ($templateName, $clear, $ext_name)
                $OUT = '<span title="{--ADMIN_EXTENSION_IS_DEPRECATED_TITLE--}">---</span>';
        } elseif (isExtensionProductive($ext_name)) {
                // Productive code
-               $OUT = '<a title="{--ADMIN_REGISTER_EXTENSION_TITLE--}" href="{%url=modules.php?module=admin&amp;what=extensions&amp;reg_ext=' . $ext_name . '%}">{--ADMIN_REGISTER_EXTENSION--}</a>';
+               $OUT = '<a title="{--ADMIN_REGISTER_EXTENSION_TITLE--}" href="{%url=modules.php?module=admin&amp;what=extensions&amp;register_ext=' . $ext_name . '%}">{--ADMIN_REGISTER_EXTENSION--}</a>';
        }
 
        // Return code
index 7f59889df7363a235c0a049e07ce65fe5ac77639..194b64eeb6186e18e723092e44d108f941f7fe7e 100644 (file)
@@ -1,4 +1,4 @@
 <a name="ext_$content[ext_name]"></a>
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=extensions&amp;reg_ext=$content[ext_name]%}" method="post">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=extensions&amp;register_ext=$content[ext_name]%}" method="post">
        <input type="submit" class="form_submit" name="ok" value="{--ADMIN_REGISTER_EXTENSION--}" />
 </form>