From: <be...@us...> - 2014-10-31 07:13:58
|
Revision: 12828 http://sourceforge.net/p/xoops/svn/12828 Author: beckmi Date: 2014-10-31 07:13:53 +0000 (Fri, 31 Oct 2014) Log Message: ----------- added import from fmContent (zyspec) Modified Paths: -------------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/docs/changelog.txt XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/language/english/admin.php XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/xoops_version.php Added Paths: ----------- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php Added: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php (rev 0) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php 2014-10-31 07:13:53 UTC (rev 12828) @@ -0,0 +1,347 @@ +<?php +/* + You may not change or alter any portion of this comment or credits + of supporting developers from this source code or any supporting source code + which is considered copyrighted (c) material of the original comment or credit authors. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * @copyright The XUUPS Project http://sourceforge.net/projects/xuups/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package Publisher + * @since 1.02 Beta 4 + * @author trabis <lus...@gm...> + * @author The SmartFactory <www.smartfactory.ca> + * @author Marius Scurtescu <ma...@ro...> + * @author ZySpec <ow...@zy...> + * @version $Id$ + */ + +include_once dirname(__DIR__) . '/admin_header.php'; +$myts = MyTextSanitizer::getInstance(); + +$importFromModuleName = "FmContent " . @$_POST['fmcontent_version']; + +$scriptname = "fmcontent.php"; + +$op = 'start'; + +if (isset($_POST['op']) && ($_POST['op'] == 'go')) { + $op = $_POST['op']; +} + +if ('start' == $op) { + xoops_load('XoopsFormLoader'); + + publisher_cpHeader(); + //publisher_adminMenu(-1, _AM_PUBLISHER_IMPORT); + publisher_openCollapsableBar('fmimport', 'fmimporticon', sprintf(_AM_PUBLISHER_IMPORT_FROM, $importFromModuleName), _AM_PUBLISHER_IMPORT_INFO); + + $module_handler = xoops_gethandler('module'); + $moduleObj = $module_handler->getByDirname('fmcontent'); + $fm_module_id = $moduleObj->getVar('mid'); + + $fmTopicHdlr =& xoops_getmodulehandler('topic', 'fmcontent'); + $fmTopicCount = $fmTopicHdlr->getCount(new Criteria('topic_modid', $fm_module_id)); + + if (empty($fmTopicCount)) { + echo "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block;'>" . _AM_PUBLISHER_IMPORT_NO_CATEGORY . "</span>"; + } else { + include_once $GLOBALS['xoops']->path('www/class/xoopstree.php'); + $fmContentHdlr =& xoops_getmodulehandler('page', 'fmcontent'); + $fmContentCount = $fmContentHdlr->getCount(new Criteria('content_modid', $fm_module_id)); + + if (empty($fmContentCount)) { + echo "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block;'>" . sprintf(_AM_PUBLISHER_IMPORT_MODULE_FOUND_NO_ITEMS, $importFromModuleName, $fmContentCount) . "</span>"; + } else { +/* + echo "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block;'>" . sprintf(_AM_PUBLISHER_IMPORT_MODULE_FOUND, $importFromModuleName, $fmContentCount, $fmTopicCount) . "</span>"; + $form = new XoopsThemeForm(_AM_PUBLISHER_IMPORT_SETTINGS, 'import_form', PUBLISHER_ADMIN_URL . "/import/$scriptname"); +*/ + // Categories to be imported + $sql = "SELECT cat.topic_id, cat.topic_pid, cat.topic_title, COUNT(art.content_id) FROM " . $GLOBALS['xoopsDB']->prefix("fmcontent_topic") . " AS cat INNER JOIN " . $GLOBALS['xoopsDB']->prefix("fmcontent_content") . " AS art ON ((cat.topic_id=art.content_topic) AND (cat.topic_modid=art.content_modid)) WHERE cat.topic_modid={$fm_module_id} GROUP BY art.content_topic"; + + $result = $GLOBALS['xoopsDB']->query($sql); + $cat_cbox_options = array(); + + while (list ($cid, $pid, $cat_title, $art_count) = $GLOBALS['xoopsDB']->fetchRow($result)) { + $cat_title = $myts->displayTarea($cat_title); + $cat_cbox_options[$cid] = "{$cat_title} ($art_count)"; + } + // now get articles in the top level category (content_topic=0) + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('content_modid', $fm_module_id)); + $criteria->add(new Criteria('content_topic', 0)); + $cnt_tla_contents = $fmContentHdlr->getCount($criteria); + if ($cnt_tla_contents) { + $cat_cbox_options[0] = _AM_PUBLISHER_IMPORT_FMCONTENT_NAME . " ({$cnt_tla_contents})"; + } + natcasesort($cat_cbox_options); //put them in "alphabetical" order + + echo "<span style='color: #567; margin: 3px 0 12px 0; font-size: small; display: block;'>" . sprintf(_AM_PUBLISHER_IMPORT_MODULE_FOUND, $importFromModuleName, $fmContentCount, count($cat_cbox_options)) . "</span>"; + $form = new XoopsThemeForm(_AM_PUBLISHER_IMPORT_SETTINGS, 'import_form', PUBLISHER_ADMIN_URL . "/import/$scriptname"); + + $cat_label = new XoopsFormLabel(_AM_PUBLISHER_IMPORT_CATEGORIES, implode("<br />", $cat_cbox_options)); + $cat_label->setDescription(_AM_PUBLISHER_IMPORT_CATEGORIES_DSC); + $form->addElement($cat_label); + + // Publisher parent category + xoops_load('tree'); + $categoryHdlr = $publisher->getHandler('category'); + $catObjs = $categoryHdlr->getAll(); + $myObjTree = new XoopsObjectTree($catObjs, 'categoryid', 'parentid'); + $catSelBox = $myObjTree->makeSelBox('parent_category', 'name', '-', 0, true); + $parent_cat_sel = new XoopsFormLabel(_AM_PUBLISHER_IMPORT_PARENT_CATEGORY, $catSelBox); + $parent_cat_sel->setDescription(_AM_PUBLISHER_IMPORT_PARENT_CATEGORY_DSC); + $form->addElement($parent_cat_sel); +/* + $mytree = new XoopsTree($GLOBALS['xoopsDB']->prefix("publisher_categories"), "categoryid", "parentid"); + ob_start(); + $mytree->makeMySelBox("name", "weight", $preset_id = 0, $none = 1, $sel_name = "parent_category"); + + $parent_cat_sel = new XoopsFormLabel(_AM_PUBLISHER_IMPORT_PARENT_CATEGORY, ob_get_contents()); + $parent_cat_sel->setDescription(_AM_PUBLISHER_IMPORT_PARENT_CATEGORY_DSC); + $form->addElement($parent_cat_sel); + ob_end_clean(); +*/ + $form->addElement(new XoopsFormHidden('op', 'go')); + $form->addElement(new XoopsFormButton ('', 'import', _AM_PUBLISHER_IMPORT, 'submit')); + + $form->addElement(new XoopsFormHidden('from_module_version', $_POST['news_version'])); + + $form->display(); + } + } + + publisher_closeCollapsableBar('fmimport', 'fmimporticon'); + xoops_cp_footer(); +} + +if ('go' == $op) { + publisher_cpHeader(); + //publisher_adminMenu(-1, _AM_PUBLISHER_IMPORT); + publisher_openCollapsableBar('fmimportgo', 'fmimportgoicon', sprintf(_AM_PUBLISHER_IMPORT_FROM, $importFromModuleName), _AM_PUBLISHER_IMPORT_RESULT); + + $module_handler = xoops_gethandler('module'); + $moduleObj = $module_handler->getByDirname('fmcontent'); + $fm_module_id = $moduleObj->getVar('mid'); + + $gperm_handler = xoops_gethandler('groupperm'); + + $cnt_imported_cat = 0; + $cnt_imported_articles = 0; + + $parentId = (isset($_POST['parent_category'])) ? (int) $_POST['parent_category'] : 0; + + // get all FmContent Content items without a category (content_topic=0) + $fmContentHdlr =& xoops_getmodulehandler('page', 'fmcontent'); + + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('content_modid', $fm_module_id)); + $criteria->add(new Criteria('content_topic', 0)); + $fmContentObjs = $fmContentHdlr->getAll($criteria); + + if (is_array($fmContentObjs) && count($fmContentObjs)) { + ++$cnt_imported_cat; //count category if there was content to import + + // create Publsher category to hold FmContent Content items with no Topic (content_topic=0) + $categoryObj = $publisher->getHandler('category')->create(); + $categoryObj->setVars(array('parentid' => $parentId, + 'name' => _AM_PUBLISHER_IMPORT_FMCONTENT_NAME, + 'description' => _AM_PUBLISHER_IMPORT_FMCONTENT_TLT, + 'image' => '', + 'total' => 0, + 'weight' => 1, + 'created' => time(), + 'moderator', $GLOBALS['xoopsUser']->getVar('uid')) + ); + $categoryObj->store(); + + $fmTopicHdlr =& xoops_getmodulehandler('topic', 'fmcontent'); + + // insert articles for this category + foreach($fmContentObjs as $thisFmContentObj) { + $itemObj = $publisher->getHandler('item')->create(); + $itemObj->setVars(array('categoryid' => $categoryObj->categoryid(), + 'title' => $thisFmContentObj->getVar('content_title'), + 'uid' => $thisFmContentObj->getVar('content_uid'), + 'summary' => $thisFmContentObj->getVar('content_short'), + 'body' => $thisFmContentObj->getVar('content_text'), + 'datesub' => $thisFmContentObj->getVar('content_create'), + 'dohtml' => $thisFmContentObj->getVar('dohtml'), + 'dosmiley' => $thisFmContentObj->getVar('dosmiley'), + 'doxcode' => $thisFmContentObj->getVar('doxcode'), + 'doimage' => $thisFmContentObj->getVar('doimage'), + 'dobr' => $thisFmContentObj->getVar('dobr'), + 'weight' => $thisFmContentObj->getVar('content_order'), + 'status' => ($thisFmContentObj->getVar('content_status')) ? _PUBLISHER_STATUS_PUBLISHED : _PUBLISHER_STATUS_OFFLINE, + 'counter' => $thisFmContentObj->getVar('content_hits'), + 'rating' => 0, + 'votes' => 0, + 'comments' => $thisFmContentObj->getVar('content_comments'), + 'meta_keywords' => $thisFmContentObj->getVar('content_words'), + 'meta_description' => $thisFmContentObj->getVar('content_desc')) + ); + $contentImg = $thisFmContentObj->getVar('content_img'); + if (!empty($contentImg)) { + $itemObj->setVars(array('images' => 1, + 'image' => $thisFmContentObj->getVar('content_img')) + ); + } + + if (!$itemObj->store()) { + echo sprintf(" " . _AM_PUBLISHER_IMPORT_ARTICLE_ERROR, $thisFmContentObj->getVar('title')) . "<br />\n"; + continue; + } else { + $newArticleArray[$thisFmContentObj->getVar('storyid')] = $itemObj->itemid(); + echo " " . sprintf(_AM_PUBLISHER_IMPORTED_ARTICLE, $itemObj->title()) . "<br />\n"; + ++$cnt_imported_articles; + } + } + + // Saving category permissions + $groupsIds = $gperm_handler->getGroupIds('fmcontent_view', $thisFmContentObj->getVar('topic_id'), $fm_module_id); + publisher_saveCategoryPermissions($groupsIds, $categoryObj->categoryid(), 'category_read'); + $groupsIds = $gperm_handler->getGroupIds('fmcontent_submit', $thisFmContentObj->getVar('topic_id'), $fm_module_id); + publisher_saveCategoryPermissions($groupsIds, $categoryObj->categoryid(), 'item_submit'); + + unset($fmContentObjs, $itemObj, $categoryObj); + echo "<br />\n"; + } + + // Process all "normal" Topics (categories) from FmContent + $newCatArray = array(); + $newArticleArray = array(); + $oldToNew = array(); + + $fmTopicObjs = $fmTopicHdlr->getAll(new Criteria('topic_modid', $fm_module_id)); + + // first create FmContent Topics as Publisher Categories + foreach($fmTopicObjs as $thisFmTopicObj) { + $CatIds = array('oldid' => $thisFmTopicObj->getVar('topic_id'), + 'oldpid' => $thisFmTopicObj->getVar('topic_pid') + ); + + $categoryObj = $publisher->getHandler('category')->create(); + + $categoryObj->setVars(array('parentid' => $thisFmTopicObj->getVar('topic_pid'), + 'weight' => $thisFmTopicObj->getVar('topic_weight'), + 'name' => $thisFmTopicObj->getVar('topic_title'), + 'description' => $thisFmTopicObj->getVar('topic_desc')) + ); + + // Category image + if (('blank.gif' != $thisFmTopicObj->getVar('topic_img')) && ('' != $thisFmTopicObj->getVar('topic_img'))) { + if (copy($GLOBALS['xoops']->path("www/uploads/fmcontent/img/" . $thisFmTopicObj->getVar('topic_img')), $GLOBALS['xoops']->path("www/uploads/publisher/images/category/" . $thisFmTopicObj->getVar('topic_img')))) { + $categoryObj->setVar('image', $thisFmTopicObj->getVar('topic_img')); + } + } + if (!$publisher->getHandler('category')->insert($categoryObj)) { + echo sprintf(_AM_PUBLISHER_IMPORT_CATEGORY_ERROR, $thisFmTopicObj->getVar('topic_title')) . "<br />\n"; + continue; + } + + $CatIds['newid'] = $categoryObj->categoryid(); + ++$cnt_imported_cat; + + echo sprintf(_AM_PUBLISHER_IMPORT_CATEGORY_SUCCESS, $categoryObj->name()) . "<br />\n"; + + // retrieve all articles (content) for this category + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('content_modid', $fm_module_id)); //only for this instance of fmcontent + $criteria->add(new Criteria('content_topic', $thisFmTopicObj->getVar('topic_id'))); //for this category + $fmContentObjs = $fmContentHdlr->getAll($criteria); + + // insert articles for this category + foreach($fmContentObjs as $thisFmContentObj) { + $itemObj = $publisher->getHandler('item')->create(); + $itemObj->setVars(array('categoryid' => $CatIds['newid'], + 'title' => $thisFmContentObj->getVar('content_title'), + 'uid' => $thisFmContentObj->getVar('content_uid'), + 'summary' => $thisFmContentObj->getVar('content_short'), + 'body' => $thisFmContentObj->getVar('content_text'), + 'counter' => $thisFmContentObj->getVar('content_hits'), + 'datesub' => $thisFmContentObj->getVar('content_create'), + 'dohtml' => $thisFmContentObj->getVar('dohtml'), + 'dosmiley' => $thisFmContentObj->getVar('dosmiley'), + 'doxcode' => $thisFmContentObj->getVar('doxcode'), + 'doimage' => $thisFmContentObj->getVar('doimage'), + 'dobr' => $thisFmContentObj->getVar('dobr'), + 'weight' => $thisFmContentObj->getVar('content_order'), + 'status' => ($thisFmContentObj->getVar('content_status')) ? _PUBLISHER_STATUS_PUBLISHED : _PUBLISHER_STATUS_OFFLINE, + 'rating' => 0, + 'votes' => 0, + 'comments' => $thisFmContentObj->getVar('content_comments'), + 'meta_keywords' => $thisFmContentObj->getVar('content_words'), + 'meta_description' => $thisFmContentObj->getVar('content_desc')) + ); + $contentImg = $thisFmContentObj->getVar('content_img'); + if (!empty($contentImg)) { + $itemObj->setVar('images', 1); + $itemObj->setVar('image', $thisFmContentObj->getVar('content_img')); + } + + if (!$itemObj->store()) { + echo sprintf(" " . _AM_PUBLISHER_IMPORT_ARTICLE_ERROR, $thisFmContentObj->getVar('title')) . "<br />\n"; + continue; + } else { + $newArticleArray[$thisFmContentObj->getVar('storyid')] = $itemObj->itemid(); + echo " " . sprintf(_AM_PUBLISHER_IMPORTED_ARTICLE, $itemObj->title()) . "<br />\n"; + ++$cnt_imported_articles; + } + } + + // Saving category permissions + $groupsIds = $gperm_handler->getGroupIds('fmcontent_view', $thisFmContentObj->getVar('topic_id'), $fm_module_id); + publisher_saveCategoryPermissions($groupsIds, $categoryObj->categoryid(), 'category_read'); + $groupsIds = $gperm_handler->getGroupIds('fmcontent_submit', $thisFmContentObj->getVar('topic_id'), $fm_module_id); + publisher_saveCategoryPermissions($groupsIds, $categoryObj->categoryid(), 'item_submit'); + + $newCatArray[$CatIds['oldid']] = $CatIds; + unset($CatIds); + echo "<br />\n"; + } + + // Looping through cat to change the parentid to the new parentid + foreach ($newCatArray as $oldid => $CatIds) { + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('categoryid', $CatIds['newid'])); + $oldpid = $CatIds['oldpid']; + $newpid = (0 == $oldpid) ? $parentId : $newCatArray[$oldpid]['newid']; + $publisher->getHandler('category')->updateAll('parentid', $newpid, $criteria); + unset($criteria); + } + + // Looping through the comments to link them to the new articles and module + echo _AM_PUBLISHER_IMPORT_COMMENTS . "<br />\n"; + + $publisher_module_id = $publisher->getModule()->mid(); + + $comment_handler = xoops_gethandler('comment'); + $criteria = new CriteriaCompo(); + $criteria->add(new Criteria('com_modid', $fm_module_id)); + $comments = $comment_handler->getObjects($criteria); + foreach ($comments as $comment) { + $comment->setVar('com_itemid', $newArticleArray[$comment->getVar('com_itemid')]); + $comment->setVar('com_modid', $publisher_module_id); + $comment->setNew(); + if (!$comment_handler->insert($comment)) { + echo " " . sprintf(_AM_PUBLISHER_IMPORTED_COMMENT_ERROR, $comment->getVar('com_title')) . "<br />\n"; + } else { + echo " " . sprintf(_AM_PUBLISHER_IMPORTED_COMMENT, $comment->getVar('com_title')) . "<br />\n"; + } + + } + + echo "<br /><br />" . _AM_PUBLISHER_IMPORT_DONE . "<br />\n" + . "" . sprintf(_AM_PUBLISHER_IMPORTED_CATEGORIES, $cnt_imported_cat) . "<br />\n" + . "" . sprintf(_AM_PUBLISHER_IMPORTED_ARTICLES, $cnt_imported_articles) . "<br />\n" + . "<br/>\n<a href='" . PUBLISHER_URL . "/'>" . _AM_PUBLISHER_IMPORT_GOTOMODULE . "</a><br />\n"; + + publisher_closeCollapsableBar('fmimportgo', 'fmimportgoicon'); + xoops_cp_footer(); +} Property changes on: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import/fmcontent.php ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Author Date Id Rev URL \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import.php 2014-10-31 06:34:08 UTC (rev 12827) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/admin/import.php 2014-10-31 07:13:53 UTC (rev 12828) @@ -115,6 +115,17 @@ } } + // FmContent + $fmcontent_version = 0; + $moduleObj = $module_handler->getByDirname('fmcontent'); + if ($moduleObj) { + $from_module_version = round($moduleObj->getVar('version') / 100, 2); + if (($from_module_version >= 1.1)) { + $importfile_select_array["fmcontent"] = "FmContent " . $from_module_version; + $fmcontent_version = $from_module_version; + } + } + // XF-Section /*$xfs_version = 0; $moduleObj = $module_handler->getByDirname('xfsection'); @@ -163,7 +174,7 @@ $sform->display(); unset($hidden); } else { - echo "<span style=\"color: #567; margin: 3px 0 12px 0; font-weight: bold; font-size: small; display: block; \">" . _AM_PUBLISHER_IMPORT_NO_MODULE . "</span>"; + echo "<span style='color: #567; margin: 3px 0 12px 0; font-weight: bold; font-size: small; display: block;'>" . _AM_PUBLISHER_IMPORT_NO_MODULE . "</span>"; } // End of collapsable bar Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/docs/changelog.txt =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/docs/changelog.txt 2014-10-31 06:34:08 UTC (rev 12827) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/docs/changelog.txt 2014-10-31 07:13:53 UTC (rev 12828) @@ -1,4 +1,10 @@ <h5>1.02 Beta 3 (2014-xx-xx)</h5> +- added import from fmContent (zyspec) + +TODO: +- test with MySQL strict mode (STRICT_TRANS_TABLES) + +<h5>1.02 Beta 3 (2014-xx-xx)</h5> - updated to XOOPS 2.5.7 version of jQuery UI Tabs (noo-b/mamba) - replaced PublisherRequest with calls to XoopsRequest (mamba) - redesigned archives section to have months horizontally (mjoel/Mithrandir/mamba) @@ -8,10 +14,6 @@ - replaced $i++ with ++$i for consistency/performance (mamba) - started conversion to PSR-2 coding (mamba) -TODO: -- test with MySQL strict mode (STRICT_TRANS_TABLES) - - <h5>1.02 Beta 2 (2014-xx-xx)</h5> - added ID column in Admin's Category view (mamba) - fixed preg_replace /e in request.php (mamba) Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/language/english/admin.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/language/english/admin.php 2014-10-31 06:34:08 UTC (rev 12827) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/language/english/admin.php 2014-10-31 07:13:53 UTC (rev 12828) @@ -147,7 +147,10 @@ define("_AM_PUBLISHER_IMPORT_CATEGORIES_DSC","Here are the categories that will be imported in Publisher"); define("_AM_PUBLISHER_IMPORT_CATEGORY_ERROR","Error while importing category <em>%s</em>."); define("_AM_PUBLISHER_IMPORT_CATEGORY_SUCCESS","Category <em>%s</em> imported successfully."); +define("_AM_PUBLISHER_IMPORT_DONE","Done."); define("_AM_PUBLISHER_IMPORT_ERROR","An error occurred while importing the article."); +define("_AM_PUBLISHER_IMPORT_FMCONTENT_NAME","FmContent Top Level"); +define("_AM_PUBLISHER_IMPORT_FMCONTENT_TLT","Imported Articles from FmContent without a category."); define("_AM_PUBLISHER_IMPORT_FILE_NOT_FOUND","Import file not found at <strong>%s</strong>"); define("_AM_PUBLISHER_IMPORT_FROM","Importing from %s"); define("_AM_PUBLISHER_IMPORT_GOTOMODULE","Go Publisher's index page"); Modified: XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/xoops_version.php =================================================================== --- XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/xoops_version.php 2014-10-31 06:34:08 UTC (rev 12827) +++ XoopsModules/modulepacks/x257basicmodulepack/trunk/modules/publisher/xoops_version.php 2014-10-31 07:13:53 UTC (rev 12828) @@ -78,8 +78,8 @@ $modversion['author_word'] = ""; //about -$modversion["module_status"] = "Beta 3"; -$modversion['release_date'] = "2014/06/21"; +$modversion["module_status"] = "Beta 4"; +$modversion['release_date'] = "2014/10/27"; $modversion['min_php'] = '5.3.7'; $modversion['min_xoops'] = '2.5.7'; $modversion['min_db'] = array('mysql' => '5.0.7', 'mysqli' => '5.0.7'); |