|
From: <luc...@us...> - 2013-09-14 20:39:43
|
Revision: 12046
http://sourceforge.net/p/xoops/svn/12046
Author: luciorota
Date: 2013-09-14 20:39:38 +0000 (Sat, 14 Sep 2013)
Log Message:
-----------
all pages uses module footer.php or admin_footer.php
Modified Paths:
--------------
XoopsModules/wfdownloads/trunk/wfdownloads/admin/images.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/index.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/indexpage.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/ip_logs.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/mimetypes.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/mirrors.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/permissions.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/reportsmodifications.php
XoopsModules/wfdownloads/trunk/wfdownloads/admin/reviews.php
XoopsModules/wfdownloads/trunk/wfdownloads/submit.php
XoopsModules/wfdownloads/trunk/wfdownloads/visit.php
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/images.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/images.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/images.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -68,7 +68,7 @@
}
wfdownloads_xoops_cp_header();
xoops_confirm(array('op' => 'image.delete', 'uploadpath' => $_POST['uploadpath'], 'downfile' => $_POST['downfile'], 'ok' => true), $currentFile, _AM_WFD_DOWN_DELETEFILE . "<br /><br />" . $_POST['downfile'], _AM_WFD_BDELETE);
- include_once "admin_footer.php";
+ include 'admin_footer.php';
}
break;
@@ -152,5 +152,5 @@
}
$iform->display();
echo wfdownloads_serverStats();
- include_once "admin_footer.php";
+ include 'admin_footer.php';
}
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/index.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/index.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/index.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -158,4 +158,4 @@
echo $indexAdmin->renderIndex();
echo wfdownloads_serverStats();
-include_once "admin_footer.php";
+include 'admin_footer.php';
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/indexpage.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/indexpage.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/indexpage.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -113,4 +113,4 @@
$sform->display();
break;
}
-include_once "admin_footer.php";
+include 'admin_footer.php';
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/ip_logs.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/ip_logs.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/ip_logs.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -72,4 +72,4 @@
echo "</table>";
}
-include_once "admin_footer.php";
+include 'admin_footer.php';
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/mimetypes.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/mimetypes.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/mimetypes.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -213,6 +213,6 @@
$GLOBALS['xoopsTpl']->display("db:" . $wfdownloads->getModule()->dirname() . "_admin_mimetypeslist.html");
- include_once "admin_footer.php";
+ include 'admin_footer.php';
break;
}
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/mirrors.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/mirrors.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/mirrors.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -166,6 +166,6 @@
$GLOBALS['xoopsTpl']->display("db:" . $wfdownloads->getModule()->dirname() . "_admin_mirrorslist.html");
- include_once "admin_footer.php";
+ include 'admin_footer.php';
break;
}
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/permissions.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/permissions.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/permissions.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -45,4 +45,4 @@
$GLOBALS['xoopsTpl']->display("db:" . $wfdownloads->getModule()->dirname() . "_admin_permissions.html");
-include_once "admin_footer.php";
+include 'admin_footer.php';
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/reportsmodifications.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/reportsmodifications.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/reportsmodifications.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -356,6 +356,6 @@
$GLOBALS['xoopsTpl']->display("db:" . $xoopsModule->dirname() . "_admin_reportsmodificationslist.html");
- include_once "admin_footer.php";
+ include 'admin_footer.php';
break;
}
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/admin/reviews.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/admin/reviews.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/admin/reviews.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -178,6 +178,6 @@
$GLOBALS['xoopsTpl']->display("db:" . $wfdownloads->getModule()->dirname() . "_admin_reviewslist.html");
- include_once "admin_footer.php";
+ include 'admin_footer.php';
break;
}
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/submit.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/submit.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/submit.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -109,7 +109,7 @@
$xoopsTpl->assign('categoryPath', _MD_WFD_DISCLAIMERAGREEMENT);
$xoopsTpl->assign('module_home', wfdownloads_module_home(true));
- include XOOPS_ROOT_PATH . '/footer.php';
+ include 'footer.php';
exit();
break;
@@ -176,7 +176,7 @@
$xoopsTpl->assign('module_home', wfdownloads_module_home(true));
$xoopsTpl -> assign('submit_form' , $sform->render());
- include XOOPS_ROOT_PATH . '/footer.php';
+ include 'footer.php';
exit();
break;
@@ -459,16 +459,3 @@
}
break;
}
-
-/*
-if (!empty($_POST['submit'])) {
-
-} else {
- $agreed = WfdownloadsRequest::getBool('agreed', false);
- if ($wfdownloads->getConfig('showdisclaimer') && $agreed == false) {
-
- } else {
-
- }
-}
-*/
\ No newline at end of file
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/visit.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/visit.php 2013-09-14 18:48:53 UTC (rev 12045)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/visit.php 2013-09-14 20:39:38 UTC (rev 12046)
@@ -102,7 +102,7 @@
$xoopsTpl->assign('cancel_location', WFDOWNLOADS_URL . '/index.php'); // this definition is not removed for compatibility issues
$xoopsTpl->assign('agree_location', WFDOWNLOADS_URL . "/{$currentFile}?agree=1&lid={$lid}&cid={$cid}");
- include XOOPS_ROOT_PATH . '/footer.php';
+ include 'footer.php';
} else {
if (!$wfdownloads_isAdmin) {
$wfdownloads->getHandler('download')->incrementHits($lid);
@@ -183,5 +183,5 @@
reportBroken($lid);
}
- include XOOPS_ROOT_PATH . '/footer.php';
+ include 'footer.php';
}
|