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 fb6eb90..acb3c27 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 8f3a8a6..7513db8 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 f2827b3..db85081 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 3f7d02a..03feac3 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 ad85862..0b32d65 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]