Minahito
minah****@users*****
2007年 3月 8日 (木) 19:26:05 JST
Index: xoops2jp/html/modules/legacyRender/admin/actions/TplsetUploadAction.class.php diff -u xoops2jp/html/modules/legacyRender/admin/actions/TplsetUploadAction.class.php:1.1.2.3.2.2 xoops2jp/html/modules/legacyRender/admin/actions/TplsetUploadAction.class.php:1.1.2.3.2.2.2.1 --- xoops2jp/html/modules/legacyRender/admin/actions/TplsetUploadAction.class.php:1.1.2.3.2.2 Sat Jan 20 22:47:25 2007 +++ xoops2jp/html/modules/legacyRender/admin/actions/TplsetUploadAction.class.php Thu Mar 8 19:26:05 2007 @@ -1,7 +1,7 @@ <?php /** * @package legacyRender - * @version $Id: TplsetUploadAction.class.php,v 1.1.2.3.2.2 2007/01/20 13:47:25 tom_g3x Exp $ + * @version $Id: TplsetUploadAction.class.php,v 1.1.2.3.2.2.2.1 2007/03/08 10:26:05 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -123,6 +123,7 @@ if (count($default) > 0) { $tplfile =& $default[0]->createClone($tplset->get('tplset_name')); $tplfile->Source->set('tpl_source', $info['file']); + $tplfile->set('tpl_lastimported', time()); if (!$handler->insert($tplfile)) { $this->_addErrorMessage(XCube_Utils::formatMessage(_AD_LEGACYRENDER_ERROR_COULD_NOT_SAVE_TPLFILE, $tplfile->get('tpl_file')));