Minahito
minah****@users*****
2006年 1月 25日 (水) 16:12:56 JST
Index: xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php diff -u xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.8 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.9 --- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.8 Tue Jan 24 23:23:12 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Wed Jan 25 16:12:55 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.8 2006/01/24 14:23:12 minahito Exp $ + * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.9 2006/01/25 07:12:55 minahito Exp $ */ require_once XOOPS_ROOT_PATH."/modules/legacyRender/kernel/Legacy_RenderTarget.class.php"; @@ -168,16 +168,6 @@ function renderWithTarget(&$target) { // - // TEST - // - $target->callPreFilter(); - - // - // TEST render->Begin(); - // - $GLOBALS['currentRenderTarget']=&$target; - - // // The following lines are temporary until we will finish changing the style! // switch($target->getType()) { @@ -197,11 +187,6 @@ default: break; } - - // - // TEST render->End(); - // - unset($GLOBALS['currentRenderTarget']); } function renderMain(&$target) @@ -384,26 +369,4 @@ } } -function legacy_render_system_xcstring($string,$modifierName=null) -{ - if(is_object($GLOBALS['currentRenderTarget'])) { - $modifier=&$GLOBALS['currentRenderTarget']->searchModifier($modifierName); - if(is_object($modifier)) - $modifier->convertString($string); - } - - return $string; -} - -function legacy_render_system_xctext($string,$modifierName=null) -{ - if(is_object($GLOBALS['currentRenderTarget'])) { - $modifier=&$GLOBALS['currentRenderTarget']->searchModifier($modifierName); - if(is_object($modifier)) - $modifier->convertText($string); - } - - return $string; -} - ?> \ No newline at end of file