]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/admin-inc.php
Some fixes,re-orders and ext-surfbar actions are now XML-enabled
[mailer.git] / inc / modules / admin / admin-inc.php
index db9353b4efa08d18adf77b7624a476eb3f2d164c..5a23e398d0a2ef1943ec66597a0cbf6f4dd47464 100644 (file)
@@ -1116,7 +1116,7 @@ function adminUndeleteEntriesConfirm ($IDs, $table, $columns=array(), $filterFun
 }
 
 // List all given rows (callback function from XML)
-function adminListEntries ($tableTemplate, $rowTemplate, $tableName, $columns, $whereColumns, $orderByColumns, $callbackColumns, $extraParameters, $noEntryMessageId) {
+function adminListEntries ($tableTemplate, $rowTemplate, $noEntryMessageId, $tableName, $columns, $whereColumns, $orderByColumns, $callbackColumns, $extraParameters = array()) {
        // Verify that tableName and columns are not empty
        if (count($tableName) != 1) {
                // No tableName specified
@@ -1184,11 +1184,11 @@ function adminListEntries ($tableTemplate, $rowTemplate, $tableName, $columns, $
        } // END - if
 
        // Now handle all over to the inner function which will execute the listing
-       doAdminListEntries($SQL, $tableTemplate, $rowTemplate, $callbackColumns, $extraParameters, $noEntryMessageId);
+       doAdminListEntries($SQL, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters = array());
 }
 
 // Do the listing of entries
-function doAdminListEntries($SQL, $tableTemplate, $rowTemplate, $callbackColumns, $extraParameters, $noEntryMessageId) {
+function doAdminListEntries($SQL, $tableTemplate, $noEntryMessageId, $rowTemplate, $callbackColumns, $extraParameters = array()) {
        // Run the SQL query
        $result = SQL_QUERY($SQL, __FUNCTION__, __LINE__);