Fix in templates task->sel for countPostSelection()
authorRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 18:29:22 +0000 (18:29 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 18:29:22 +0000 (18:29 +0000)
inc/modules/admin/what-list_task.php
templates/de/html/admin/admin_list_task_ext_rows.tpl
templates/de/html/admin/admin_list_task_rows.tpl
templates/de/html/admin/admin_overview_list_ext_rows.tpl
templates/de/html/admin/admin_overview_list_rows.tpl

index fb6eb9080f023e3c33945457ec2878d865e91d5a..acb3c276cf197b182ec0ca4435b69e02ca221eca 100644 (file)
@@ -84,7 +84,7 @@ switch (getRequestElement('type')) {
 }
 
 if (!empty($whereStatement)) {
-       if ((isPostRequestElementSet(('assign'))) && (countPostSelection() > 0)) {
+       if ((isPostRequestElementSet('assign')) && (countPostSelection() > 0)) {
                // Assign / do tasks
                loadIncludeOnce("inc/modules/admin/overview-inc.php");
                if (empty($dmy)) $dmy = '';
index 8f3a8a6665c925f80494252278487192bada617a..7513db8f84859261ec3a16c3bd067fae200a49ef 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="switch_sw$content[sw] bottom2 right2 left2" align="center">
-               <input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="task[$content[id]]" value="1" />
+               <input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="sel[$content[id]]" value="1" />
        </td>
        <td class="switch_sw$content[sw] bottom2 right2" align="center">
                $content[admin]
index f2827b30aa7e734965bb8770ce52d5ff9c55851a..db850815685508d04be50de77db4edaa8af185a4 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="switch_sw$content[sw] bottom2 right2 left2" align="center">
-               <input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="task[$content[id]]" value="1" />
+               <input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="sel[$content[id]]" value="1" />
        </td>
        <td class="switch_sw$content[sw] bottom2 right2" align="center">
                $content[admin]
index 3f7d02aa922af5016eb194f2a62dcfeb52ea50d9..03feac31c783918235905fc19d20bc39d07aa0c1 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="switch_sw$content[sw] bottom2 right2 left2" align="center">
-               <input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="task[$content[id]]" value="1" />
+               <input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="sel[$content[id]]" value="1" />
        </td>
        <td class="switch_sw$content[sw] bottom2 right2" align="center">
                $content[assigned_admin]
index ad858622a38f1f81a0565be63566999a9cbac508..0b32d6586ce2e2e85cdb855441ea682de2e2f0ec 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="switch_sw$content[sw] bottom2 right2 left2" align="center">
-               <input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="task[$content[id]]" value="1" />
+               <input type="checkbox" class="admin_normal" title="{--ID_SELECT--} $content[id]" name="sel[$content[id]]" value="1" />
        </td>
        <td class="switch_sw$content[sw] bottom2 right2" align="center">
                $content[assigned_admin]