|
From: <be...@us...> - 2014-07-13 00:23:47
|
Revision: 12707
http://sourceforge.net/p/xoops/svn/12707
Author: beckmi
Date: 2014-07-13 00:23:40 +0000 (Sun, 13 Jul 2014)
Log Message:
-----------
fix for Update setting Template import date to 0
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/modulesadmin/main.php
Modified: XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2014-07-13 00:21:21 UTC (rev 12706)
+++ XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2014-07-13 00:23:40 UTC (rev 12707)
@@ -5,6 +5,7 @@
===============================
- replaced "dirname(__FILE__)" with "__DIR__" since the min. PHP is now 5.3.7, and __DIR__ is faster (mamba)
- updating some copyright notices
+- fix for Update setting Template import date to 0 (timgno/mamba)
===============================
2014-06-20: Version 2.5.7 Final (Patch)
Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/modulesadmin/main.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/modulesadmin/main.php 2014-07-13 00:21:21 UTC (rev 12706)
+++ XoopsCore/branches/2.5.x/2.5.8/htdocs/modules/system/admin/modulesadmin/main.php 2014-07-13 00:23:40 UTC (rev 12707)
@@ -582,7 +582,7 @@
$tplfile = empty($tplfiles) ? $tplfile_handler->create() : $tplfiles[0];
// END irmtfan solve templates duplicate issue
$tplfile->setVar('tpl_refid', $newmid);
- $tplfile->setVar('tpl_lastimported', 0);
+// $tplfile->setVar('tpl_lastimported', 0);
$tplfile->setVar('tpl_lastmodified', time());
$tplfile->setVar('tpl_type', $type);
$tplfile->setVar('tpl_source', $tpldata, true);
@@ -686,7 +686,7 @@
$tplfile_new->setVar('tpl_source', $content, true);
$tplfile_new->setVar('tpl_desc', $block['description'], true);
$tplfile_new->setVar('tpl_lastmodified', time());
- $tplfile_new->setVar('tpl_lastimported', 0);
+// $tplfile_new->setVar('tpl_lastimported', 0);
$tplfile_new->setVar(
'tpl_file',
$block['template'],
|