onokazu
onoka****@users*****
2005年 6月 2日 (木) 13:57:33 JST
Index: xoops2jp/html/kernel/module.php diff -u xoops2jp/html/kernel/module.php:1.2.6.1 xoops2jp/html/kernel/module.php:1.2.6.2 --- xoops2jp/html/kernel/module.php:1.2.6.1 Sun Apr 24 18:10:14 2005 +++ xoops2jp/html/kernel/module.php Thu Jun 2 13:57:33 2005 @@ -1,5 +1,5 @@ <?php -// $Id: module.php,v 1.2.6.1 2005/04/24 09:10:14 onokazu Exp $ +// $Id: module.php,v 1.2.6.2 2005/06/02 04:57:33 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -86,7 +86,7 @@ $this->loadInfo($dirname, $verbose); } $this->setVar('name', $this->modinfo['name'], true); - $this->setVar('version', 100 * $this->modinfo['version']); + $this->setVar('version', round(100 * $this->modinfo['version'])); $this->setVar('dirname', $this->modinfo['dirname'], true); $hasmain = (isset($this->modinfo['hasMain']) && $this->modinfo['hasMain'] == 1) ? 1 : 0; $hasadmin = (isset($this->modinfo['hasAdmin']) && $this->modinfo['hasAdmin'] == 1) ? 1 : 0;