From nobunobu @ users.sourceforge.jp Wed Nov 1 00:03:39 2006 From: nobunobu @ users.sourceforge.jp (NobuNobu) Date: Wed, 1 Nov 2006 00:03:39 +0900 Subject: [xoops-cvslog 5534] CVS update: xoops2jp/html/modules/legacy/admin/class Message-ID: <20061031150339.C87032AC020@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php diff -u xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php:1.1.2.7 xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php:1.1.2.8 --- xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php:1.1.2.7 Tue Oct 31 16:04:22 2006 +++ xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php Wed Nov 1 00:03:39 2006 @@ -154,7 +154,7 @@ ksort($this->_mMilestone); foreach ($this->_mMilestone as $t_version => $t_value) { - if ($t_version > $this->_mCurrentVersion) { + if ($t_version > $this->getCurrentVersion()) { return $t_version; } } @@ -170,7 +170,7 @@ ksort($this->_mMilestone); foreach ($this->_mMilestone as $t_version => $t_value) { - if ($t_version >= $this->_mCurrentVersion) { + if ($t_version >= $this->getCurrentVersion()) { if (is_callable(array($this, $t_value))) { return true; } @@ -192,7 +192,7 @@ ksort($this->_mMilestone); foreach ($this->_mMilestone as $t_version => $t_value) { - if ($t_version > $this->_mCurrentVersion) { + if ($t_version > $this->getCurrentVersion()) { if (is_callable(array($this, $t_value))) { return $this->$t_value(); } @@ -236,7 +236,7 @@ require_once XOOPS_MODULE_PATH . "/" . $module->getVar('dirname') . "/" . $installScript; $funcName = 'xoops_module_update_' . $module->getVar('dirname'); if (function_exists($funcName)) { - if (!call_user_func($funcName, $module, $this->mPreVersion)) { + if (!call_user_func($funcName, $module, $this->getCurrentVersion())) { $log->addError("Failed to execute " . $funcName); } } From minahito @ users.sourceforge.jp Wed Nov 1 15:39:05 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Nov 2006 15:39:05 +0900 Subject: [xoops-cvslog 5535] CVS update: xoops2jp/html/modules/legacy/lib/ShadeSoap Message-ID: <20061101063905.1FCD12AC033@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/lib/ShadeSoap/index.html diff -u /dev/null xoops2jp/html/modules/legacy/lib/ShadeSoap/index.html:1.1.2.1 --- /dev/null Wed Nov 1 15:39:05 2006 +++ xoops2jp/html/modules/legacy/lib/ShadeSoap/index.html Wed Nov 1 15:39:04 2006 @@ -0,0 +1 @@ + \ No newline at end of file From minahito @ users.sourceforge.jp Wed Nov 1 15:39:05 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Nov 2006 15:39:05 +0900 Subject: [xoops-cvslog 5536] CVS update: xoops2jp/html/modules/legacy/lib/ShadePlus Message-ID: <20061101063905.49DD62AC05F@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/lib/ShadePlus/index.html diff -u /dev/null xoops2jp/html/modules/legacy/lib/ShadePlus/index.html:1.1.2.1 --- /dev/null Wed Nov 1 15:39:05 2006 +++ xoops2jp/html/modules/legacy/lib/ShadePlus/index.html Wed Nov 1 15:39:05 2006 @@ -0,0 +1 @@ + \ No newline at end of file From minahito @ users.sourceforge.jp Wed Nov 1 15:46:56 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Nov 2006 15:46:56 +0900 Subject: [xoops-cvslog 5537] CVS update: xoops2jp/html/modules/legacy/lib/ShadePlus Message-ID: <20061101064656.E0DB52AC05E@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/lib/ShadePlus/SoapClient.class.php diff -u xoops2jp/html/modules/legacy/lib/ShadePlus/SoapClient.class.php:1.1.2.2 xoops2jp/html/modules/legacy/lib/ShadePlus/SoapClient.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/lib/ShadePlus/SoapClient.class.php:1.1.2.2 Tue Oct 31 19:30:53 2006 +++ xoops2jp/html/modules/legacy/lib/ShadePlus/SoapClient.class.php Wed Nov 1 15:46:56 2006 @@ -34,9 +34,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ -if (!defined('XCube_AbstractServiceClient')) exit(); +if (!class_exists('XCube_AbstractServiceClient')) exit(); -class ShadePlus_SoapClient extends XCube_AbstractServiceClient +class Shade_SoapClient extends XCube_AbstractServiceClient { var $mClient = null; From minahito @ users.sourceforge.jp Wed Nov 1 15:47:54 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Nov 2006 15:47:54 +0900 Subject: [xoops-cvslog 5538] CVS update: xoops2jp/html/modules/legacy/preload/Primary Message-ID: <20061101064754.39C362AC033@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/preload/Primary/NuSoapLoader.class.php diff -u xoops2jp/html/modules/legacy/preload/Primary/NuSoapLoader.class.php:1.1.2.2 xoops2jp/html/modules/legacy/preload/Primary/NuSoapLoader.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/preload/Primary/NuSoapLoader.class.php:1.1.2.2 Sun Oct 15 01:43:37 2006 +++ xoops2jp/html/modules/legacy/preload/Primary/NuSoapLoader.class.php Wed Nov 1 15:47:54 2006 @@ -22,13 +22,13 @@ $root =& XCube_Root::getSingleton(); if (is_object($service) && is_a($service, 'XCube_Service')) { - $client = new XCube_ServiceClient($service); + $client =& new XCube_ServiceClient($service); } else { require_once XOOPS_ROOT_PATH . "/modules/legacy/lib/nusoap/nusoap.php"; require_once XOOPS_ROOT_PATH . "/modules/legacy/lib/ShadePlus/SoapClient.class.php"; - $client = new Shade_SoapClient($service); + $client =& new Shade_SoapClient($service); } } From minahito @ users.sourceforge.jp Wed Nov 1 15:50:45 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Nov 2006 15:50:45 +0900 Subject: [xoops-cvslog 5539] CVS update: xoops2jp/html/modules/legacy/class Message-ID: <20061101065045.574C92AC05E@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php diff -u xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.3 xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.4 --- xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.3 Tue Oct 31 15:06:17 2006 +++ xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php Wed Nov 1 15:50:45 2006 @@ -112,13 +112,15 @@ if (!class_exists($className)) { $filePath = XOOPS_ROOT_PATH . '/modules/' . $block->get('dirname') . '/blocks/' . $block->get('func_file'); if (!file_exists($filePath)) { - continue; + $retBlock =& new Legacy_BlockProcedureAdapter($block); + return $retBlock; } require_once $filePath; if (!class_exists($className)) { - continue; + $retBlock =& new Legacy_BlockProcedureAdapter($block); + continue $retBlock; } } From minahito @ users.sourceforge.jp Wed Nov 1 20:54:23 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Nov 2006 20:54:23 +0900 Subject: [xoops-cvslog 5540] CVS update: xoops2jp/html/modules/legacy/admin/class Message-ID: <20061101115423.0908F2AC022@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php diff -u xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php:1.1.2.8 xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php:1.1.2.9 --- xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php:1.1.2.8 Wed Nov 1 00:03:39 2006 +++ xoops2jp/html/modules/legacy/admin/class/ModuleUpdater.class.php Wed Nov 1 20:54:22 2006 @@ -1,11 +1,44 @@ _mCurrentXoopsModule. And, that function build the + * target-$xoopsModule from xoops_version, and then set it to this class through + * setTargetXoopsModule(). Also you can access it by $this->_mTargetXoopsModule. + * + * @see Legacy_ModuleInstallUtils */ class Legacy_ModulePhasedUpgrader { @@ -77,7 +110,7 @@ * the _mCurrentVersion as backup for the case where the value of this * object is changed for updating. * - * @access public + * @public * @param XoopsModule $xoopsModule */ function setCurrentXoopsModule(&$xoopsModule) @@ -254,6 +287,41 @@ } /** + * Updates all of module templates. + * + * @access protected + * @note You may do custom + */ + function _updateModuleTemplates() + { + Legacy_ModuleInstallUtils::uninstallAllOfModuleTemplates($this->_mTargetXoopsModule, $this->mLog); + Legacy_ModuleInstallUtils::installAllModuleTemplates($this->_mTargetXoopsModule, $this->mLog); + } + + /** + * Updates all of blocks. + * + * @access protected + * @note You may do custom + */ + function _updateBlocks() + { + Legacy_ModuleInstallUtils::uninstallAllOfBlocks($this->_mTargetXoopsModule, $this->mLog); + Legacy_ModuleInstallUtils::installAllOfBlocks($this->_mTargetXoopsModule, $this->mLog); + } + + /** + * Updates all of preferences & notifications. + * + * @access protected + * @note You may do custom + */ + function _updatePreferences() + { + $this->_upgradePreference(); + } + + /** * This method executes upgrading automatically by the diff of * xoops_version. * @@ -267,18 +335,9 @@ $this->mLog->addReport(_AD_LEGACY_MESSAGE_UPDATE_STARTED); // - // Uninstall all of existed module templates - // - Legacy_ModuleUtils::uninstallAllModuleTemplates($this->_mTargetXoopsModule, $this->mLog); - if (!$this->_mForceMode && $this->mLog->hasError()) { - $this->_processReport(); - return false; - } - - // - // Install all of module templates. + // Updates all of module templates // - Legacy_ModuleUtils::installAllModuleTemplates($this->_mTargetXoopsModule, $this->mLog); + $this->_updateTemplates(); if (!$this->_mForceMode && $this->mLog->hasError()) { $this->_processReport(); return false; @@ -287,8 +346,7 @@ // // Update blocks. // - Legacy_ModuleUtils::uninstallAllBlocks($this->_mTargetXoopsModule, $this->mLog); - Legacy_ModuleUtils::installAllBlocks($this->_mTargetXoopsModule, $this->mLog); + $this->_updateBlocks(); if (!$this->_mForceMode && $this->mLog->hasError()) { $this->_processReport(); return false; @@ -297,7 +355,7 @@ // // Update preferences & notifications. // - $this->_upgradePreference(); + $this->_updatePreferences(); if (!$this->_mForceMode && $this->mLog->hasError()) { $this->_processReport(); return false; @@ -322,7 +380,14 @@ return true; } - function _upgradePreference() + /** + * Tries to smart update all of preferences & notifications. + * + * @todo This method is perhaps uncompleted. If you have written more smart + * function, please contribute it to us. + * @note The utility method for the custom-update-installer. + */ + function _upgradePreferences() { $configHandler =& xoops_gethandler('config'); From minahito @ users.sourceforge.jp Wed Nov 1 20:54:30 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Nov 2006 20:54:30 +0900 Subject: [xoops-cvslog 5541] CVS update: xoops2jp/html/modules/legacy/admin/class Message-ID: <20061101115430.B00242AC05E@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/admin/class/ModuleUpdateFramework.class.php diff -u xoops2jp/html/modules/legacy/admin/class/ModuleUpdateFramework.class.php:1.1.2.2 xoops2jp/html/modules/legacy/admin/class/ModuleUpdateFramework.class.php:removed --- xoops2jp/html/modules/legacy/admin/class/ModuleUpdateFramework.class.php:1.1.2.2 Thu Oct 26 00:27:23 2006 +++ xoops2jp/html/modules/legacy/admin/class/ModuleUpdateFramework.class.php Wed Nov 1 20:54:30 2006 @@ -1,113 +0,0 @@ - {methodName} - * - * Example: - * var $_mMilestone = array('020' => 'update020', '025' => 'update025'); - * - * @access protected - */ - var $_mMilestone = array(); - - /** - * @access protected - */ - var $_mTargetVersion = 0; - - /** - * @access protected - */ - var $_mIsEnableFramework = false; - - function &loadModuleObject($dirname) - { - $ret = null; - - $moduleHandler =& xoops_gethandler('module'); - $module =& $moduleHandler->getByDirname($dirname); - - if (!is_object($module)) { - return $ret; - } - - $this->mPreVersion = $module->get('version'); - $name = $module->get('name','n'); - $module->loadInfoAsVar($dirname); - $module->set('name', $name, true); - - ksort($this->_mMilestone); - - foreach ($this->_mMilestone as $version => $value) { - if ($version > $this->mPreVersion) { - $this->_mTargetVersion = $version; - $module->set('version', $version); - - $this->_mIsEnableFramework = true; - return $module; - } - } - - $this->_mTargetVersion = intval($module->modinfo['version'] * 100); - - return $module; - } - - function updateXoopsModule() - { - $moduleHandler =& xoops_gethandler('module'); - if (!$moduleHandler->insert($this->mModule)) { - $this->mLog->addError("*Could not install module information*"); - return false; - } - - return true; - } - - function execute() - { - if ($this->_mIsEnableFramework) { - $this->mModule =& $this->loadModuleObject($this->mDirname); - - if (!is_object($this->mModule)) { - $this->_processReport(); - return false; - } - - $method = $this->_mMilestone[$this->_mTargetVersion]; - - if (is_callable(array($this, $method))) { - $this->mModule->set('version', $this->_mTargetVersion); - - $this->$method(); - - $this->_processReport(); - - return true; - } - else { - // - // TODO need error message. - // - $this->mLog->addError('Update framework is a wrong.'); - return false; - } - } - else { - parent::execute(); - } - } -} - - -?> \ No newline at end of file From minahito @ users.sourceforge.jp Wed Nov 1 20:54:36 2006 From: minahito @ users.sourceforge.jp (Minahito) Date: Wed, 1 Nov 2006 20:54:36 +0900 Subject: [xoops-cvslog 5542] CVS update: xoops2jp/html/modules/legacy/admin/templates Message-ID: <20061101115436.AE5702AC022@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/admin/templates/module_uninstall.html diff -u xoops2jp/html/modules/legacy/admin/templates/module_uninstall.html:1.1.2.5 xoops2jp/html/modules/legacy/admin/templates/module_uninstall.html:1.1.2.6 --- xoops2jp/html/modules/legacy/admin/templates/module_uninstall.html:1.1.2.5 Mon Oct 16 00:29:46 2006 +++ xoops2jp/html/modules/legacy/admin/templates/module_uninstall.html Wed Nov 1 20:54:36 2006 @@ -41,10 +41,7 @@
XooPS
- eXtended object
- oriented
- Portal System
...que m? queres...
-
- X2 Theme for XooPS 2.0.x / Tema X2 para XooPS 2.0.x
- |
- |
- | Creators / Creadores : w4z004 - Unfor - - | E-mail / E-mail : w4z004 @ hotmail.com - - | This is a original work bassed in the ideas of w4z004 - | and the excelent and professional work of Unfor - - | Date / Fecha : Feb. 2003 - - | Thanks to / Gracias a : Chapi for the graphic work colaboration - | Aitor for the enhancements into the theme - | ralf57 for the hidde/unhidde idea - | - - | INSTALL: upload the x2t.tar.gz file with the theme manager - | - - | NEWS TWO COLUMNS: later of installed the theme with the theme manager into - | the news need upload or copy and paste the files news_index.html and - | news_item.html that are into the EXTRAS dir to the respective places and obtain - | a news with 2 columns. - | - - | LAYOUT: into the EXTRAS dir too have a theme.html file that if you replace into - | the theme skin with copy and paste obtain that the center-center blocks - | appear in the top (now are changed to the bottom). - | - - | CHANGELOG: - | 27/02 - Removed the login in the headerbar. - | Fixed the userinfo template - | - | 01/03 - Removed the skin changed to the new structure. - | - | 30/03 - Finished the notification templates, XHTML cleanup, - | and added scrolling to the top posters and new users blocks. - | - | 20/09 - Upgraded to xoops 2.0.4. - | - | 05/07/04 - Upgraded to xoops 2.0.6. - | - Created the SmartFAQ module templates. - | - Enhanced the CSS. - | - Added the hidde/display effect for the notification system. - | - Modified the main menu / user menu, and added graphics to this. - | - | 05/08/04 - Created the Liase module templates. - | - Created the RSSfit module templates. - | - | 05/16/04 - Fixed the styleNN.css (thnx chapi). - | - Cleaned to be 100% html transitional 1.0. - - - | - |
-
- - |
|
- Dedicated to all Xoops users. - | Dedicado a todos los usuarios de Xoops. |
- |
|
- ENGLISH SUPPORT : - |> http://www.xoops.org - |
- |
|
- SOPORTE EN CASTELLANO : - |> http://www.esxoops.com - |
XooPS
+ eXtended object
+ oriented
+ Portal System
...que m? queres...
+
+ X2 Theme for XooPS 2.0.x / Tema X2 para XooPS 2.0.x
+ |
+ |
+ | Creators / Creadores : w4z004 - Unfor + + | E-mail / E-mail : w4z004 @ hotmail.com + + | This is a original work bassed in the ideas of w4z004 + | and the excelent and professional work of Unfor + + | Date / Fecha : Feb. 2003 + + | Thanks to / Gracias a : Chapi for the graphic work colaboration + | Aitor for the enhancements into the theme + | ralf57 for the hidde/unhidde idea + | + + | INSTALL: upload the x2t.tar.gz file with the theme manager + | + + | NEWS TWO COLUMNS: later of installed the theme with the theme manager into + | the news need upload or copy and paste the files news_index.html and + | news_item.html that are into the EXTRAS dir to the respective places and obtain + | a news with 2 columns. + | + + | LAYOUT: into the EXTRAS dir too have a theme.html file that if you replace into + | the theme skin with copy and paste obtain that the center-center blocks + | appear in the top (now are changed to the bottom). + | + + | CHANGELOG: + | 27/02 - Removed the login in the headerbar. + | Fixed the userinfo template + | + | 01/03 - Removed the skin changed to the new structure. + | + | 30/03 - Finished the notification templates, XHTML cleanup, + | and added scrolling to the top posters and new users blocks. + | + | 20/09 - Upgraded to xoops 2.0.4. + | + | 05/07/04 - Upgraded to xoops 2.0.6. + | - Created the SmartFAQ module templates. + | - Enhanced the CSS. + | - Added the hidde/display effect for the notification system. + | - Modified the main menu / user menu, and added graphics to this. + | + | 05/08/04 - Created the Liase module templates. + | - Created the RSSfit module templates. + | + | 05/16/04 - Fixed the styleNN.css (thnx chapi). + | - Cleaned to be 100% html transitional 1.0. + + + | + |
+
+ + |
|
+ Dedicated to all Xoops users. + | Dedicado a todos los usuarios de Xoops. |
+ |
|
+ ENGLISH SUPPORT : + |> http://www.xoops.org + |
+ |
|
+ SOPORTE EN CASTELLANO : + |> http://www.esxoops.com + |
- | --<{$xoops_banner}> - | ||
-
|
-
- | - | - | -- |
-
- <{foreach item=block from=$xoops_lblocks}>
- <{include file="x2t/theme_blockleft.html"}>
- <{/foreach}>
-
- |
-
-
-
- <{if $xoops_showcblock == 1}>
- -
- <{$xoops_contents}>
- |
- <{if $xoops_showrblock == 1}>
-
-
- <{foreach item=block from=$xoops_rblocks}>
- <{include file="x2t/theme_blockright.html"}>
- <{/foreach}>
-
-
- |
-<{else}>
--<{/if}> - | |||||||
-
-
|
+ | ++<{$xoops_banner}> + | ||
+
|
+
+ | + | + | ++ |
+
+ <{foreach item=block from=$xoops_lblocks}>
+ <{include file="x2t/theme_blockleft.html"}>
+ <{/foreach}>
+
+ |
+
+
+
+ <{if $xoops_showcblock == 1}>
+ +
+ <{$xoops_contents}>
+ |
+ <{if $xoops_showrblock == 1}>
+
+
+ <{foreach item=block from=$xoops_rblocks}>
+ <{include file="x2t/theme_blockright.html"}>
+ <{/foreach}>
+
+
+ |
+<{else}>
++<{/if}> + | |||||||
+
+
|
<{$story.title}> | -||||||
<{$lang_postedby}> <{$story.poster}> <{$lang_on}> <{$story.posttime}> (<{$story.hits}> <{$lang_reads}>) | -||||||
-
|
- - <{$story.text}> - | - <{else}> -- <{$story.text}> - | -
-
|
- <{/if}>
- |||
<{$story.adminlink}> <{$story.morelink}> | -
<{$story.title}> | +||||||
<{$lang_postedby}> <{$story.poster}> <{$lang_on}> <{$story.posttime}> (<{$story.hits}> <{$lang_reads}>) | +||||||
+
|
+ + <{$story.text}> + | + <{else}> ++ <{$story.text}> + | +
+
|
+ <{/if}>
+ |||
<{$story.adminlink}> <{$story.morelink}> | +
';
-}else{
- echo '
<{$pagenav}>
+<{if $displaynav == true}>
+
+
+
+<{/if}>
+
+
+<{section name=i loop=$stories}>
+<{php}>
+global $totalarticulos;
+global $impar;
+$totalarticulos = $totalarticulos +1;
+<{/php}>
+<{/section}>
+
+<{php}>
+if (($totalarticulos % 2)==1){
+ $impar=true;
+ echo '+
|