Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GregMage committed Oct 3, 2018
1 parent b80a994 commit bc6079b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
7 changes: 7 additions & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
-------------------------------------------------
Version: 0.32 Final
Date: 03.10.2018
-------------------------------------------------
Correction de bogues:
- Erreur dans xoops_version.php, la page d'installation des modules affiche une erreur.

-------------------------------------------------
Version: 0.31 Final
Date: 10.09.2018
-------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion language/english/modinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
define('_MI_XMCONTENT_PREF_COLUMNCONTENT_DESC', 'Number of content that can be viewed in index: 1, 2, 3 or 4 columns');
define('_MI_XMCONTENT_PREF_CONTENTINDEX', 'Content to display on index page');
define('_MI_XMCONTENT_PREF_CONTENTINDEX_ALL', 'All contents');
define('_MI_XMCONTENT_PREF_CONTENTINDEX_DESC', 'Choose the content to display');
define('_MI_XMCONTENT_PREF_CONTENTINDEX_DESC', 'Choose the content to display. To display all contents, you have to update the module!');
define('_MI_XMCONTENT_PREF_HEADER', 'Header index page');
define('_MI_XMCONTENT_PREF_HEADER_DESC', 'Set HTML codes to show in index page');
define('_MI_XMCONTENT_PREF_FOOTER', 'Footer index page');
Expand Down
10 changes: 4 additions & 6 deletions xoops_version.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

$modversion['name'] = _MI_XMCONTENT_NAME;
$modversion['version'] = '0.4';
$modversion['version'] = '0.32';
$modversion['description'] = _MI_XMCONTENT_DESC;
$modversion['credits'] = 'G. Mage';
$modversion['author'] = 'G. Mage';
Expand All @@ -34,10 +34,10 @@
$modversion['help'] = 'page=help';

//about
$modversion['release_date'] = '2018/30/09';
$modversion['release_date'] = '2018/03/10';
$modversion['module_website_url'] = 'https://xoops.org/';
$modversion['module_website_name'] = 'XOOPS';
$modversion['module_status'] = 'Alpha';
$modversion['module_status'] = 'Final';
$modversion['min_php'] = '5.6';
$modversion['min_xoops'] = '2.5.9';
$modversion['min_db'] = array('mysql' => '5.0.7', 'mysqli' => '5.0.7');
Expand Down Expand Up @@ -118,9 +118,7 @@
'options' => array(1 => 1, 2 => 2, 3 => 3, 4 => 4)
);

use Xmf\Module\Helper;
$helper = Helper::getHelper('xmcontent');
$contentHandler = $helper->getHandler('xmcontent_content');
$contentHandler = xoops_getModuleHandler('xmcontent_content', 'xmcontent');
// Criteria
$criteria = new CriteriaCompo();
$criteria->setSort('content_weight ASC, content_title');
Expand Down

0 comments on commit bc6079b

Please sign in to comment.