]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_cats.php
Code style changed, ext-user continued:
[mailer.git] / inc / modules / admin / what-config_cats.php
index 12cc75c01a6411f0dab53f83c52b7f3167161b65..2f50fa4f883388ca981c9b9b64b926e76f496b80 100644 (file)
@@ -114,11 +114,11 @@ if (isFormSent('add')) {
        $OUT = '';
        foreach (postRequestElement('sel') as $id => $value) {
                // Load row template and switch colors
-               $OUT .= loadTemplate('admin_delete_cats_row', true, $id);
+               $OUT .= loadTemplate('admin_delete_cats_row', TRUE, $id);
        } // END - foreach
 
        // Load main template
-       loadTemplate('admin_delete_cats', false, $OUT);
+       loadTemplate('admin_delete_cats', FALSE, $OUT);
 } elseif ((isFormSent('edit')) && (ifPostContainsSelections())) {
        // Edit categories
        $OUT = '';
@@ -135,11 +135,11 @@ if (isFormSent('add')) {
                $content['visible_selection'] = addSelectionBox('yn', $content['visible'], 'visible', $content['id']);
 
                // Load row template and switch colors
-               $OUT .= loadTemplate('admin_edit_cats_row', true, $content);
+               $OUT .= loadTemplate('admin_edit_cats_row', TRUE, $content);
        } // END - foreach
 
        // Load main template
-       loadTemplate('admin_edit_cats', false, $OUT);
+       loadTemplate('admin_edit_cats', FALSE, $OUT);
 } else {
        // Init variable here
        $CATS = '';
@@ -158,21 +158,21 @@ if (isFormSent('add')) {
                        $CATS .= '<option value="' . $content['sort'] . '">' . $cat . '</option>';
 
                        // Load row template and switch color
-                       $OUT .= loadTemplate('admin_list_cats_row', true, $content);
+                       $OUT .= loadTemplate('admin_list_cats_row', TRUE, $content);
                } // END - while
 
                // Free memory
                SQL_FREERESULT($result);
 
                // Load main template
-               loadTemplate('admin_list_cats', false, $OUT);
+               loadTemplate('admin_list_cats', FALSE, $OUT);
        } // END - if
 
        // Remember in array
        $content['cats'] = $CATS;
 
        // Form to add a new category
-       loadTemplate('admin_add_cat', false, $content);
+       loadTemplate('admin_add_cat', FALSE, $content);
 }
 
 // [EOF]