Migration of stelzi's commit 1022 with some changes so we have a nicer code. See...
[mailer.git] / birthday_confirm.php
index 24c46fcc56a945922d8907ba713932cf565b98a0..efbb4a55cbc773ad9fdf72c0eedfc1692e22a0c7 100644 (file)
@@ -120,7 +120,7 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1",
        $GLOBALS['module'] = 'birthday_confirm';
 
        // Include header
        $GLOBALS['module'] = 'birthday_confirm';
 
        // Include header
-       loadInclude('inc/header.php');
+       loadIncludeOnce('inc/header.php');
 
        // Load birthday header template (for your banners, e.g.?)
        $content['header'] =  LOAD_TEMPLATE('birthday_header', true);
 
        // Load birthday header template (for your banners, e.g.?)
        $content['header'] =  LOAD_TEMPLATE('birthday_header', true);
@@ -132,7 +132,7 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1",
        LOAD_TEMPLATE('birthday_confirm', false, $content);
 
        // Include footer
        LOAD_TEMPLATE('birthday_confirm', false, $content);
 
        // Include footer
-       loadInclude('inc/footer.php');
+       loadIncludeOnce('inc/footer.php');
 } else {
        // You have to install first!
        redirectToUrl('install.php');
 } else {
        // You have to install first!
        redirectToUrl('install.php');