]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_holiday.php
Re-added height, but smaller to make most menus appear shorter
[mailer.git] / inc / modules / admin / what-list_holiday.php
index 1ad61cb96ef952c4b98d57711a880330b956f977..df0999c4ad4ac834c79d5c60785725ba914c9f10 100644 (file)
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Start listing holiday requests
-$result = SQL_QUERY("SELECT
+$result = sqlQuery("SELECT
        `h`.`id`,
        `h`.`userid`,
        `h`.`holiday_start`,
@@ -61,10 +61,10 @@ ON
 ORDER BY
        `h`.`userid` ASC", __FILE__, __LINE__);
 
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
        // List all holiday requests
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Prepare data for the row template
                $content = array(
                        'id'          => $content['id'],
@@ -80,7 +80,7 @@ if (!SQL_HASZERONUMS($result)) {
        } // END - while
 
        // Free memory
-       SQL_FREERESULT($result);
+       sqlFreeResult($result);
 
        // Load main template
        loadTemplate('admin_list_holiday', FALSE, $OUT);