[xoops-cvslog 4163] CVS update: xoops2jp/html/modules/legacyRender/blocks

Back to archive index

Minahito minah****@users*****
2006年 8月 17日 (木) 19:11:12 JST


Index: xoops2jp/html/modules/legacyRender/blocks/legacyRender_themes.php
diff -u xoops2jp/html/modules/legacyRender/blocks/legacyRender_themes.php:1.1.2.2 xoops2jp/html/modules/legacyRender/blocks/legacyRender_themes.php:removed
--- xoops2jp/html/modules/legacyRender/blocks/legacyRender_themes.php:1.1.2.2	Tue Jul 11 14:09:54 2006
+++ xoops2jp/html/modules/legacyRender/blocks/legacyRender_themes.php	Thu Aug 17 19:11:12 2006
@@ -1,46 +0,0 @@
-<?php
-
-function b_legacyRender_themes_show($options)
-{
-    global $xoopsConfig;
-    $theme_options = array();
-	
-	$handler =& xoops_getmodulehandler('theme', 'legacyRender');
-	$themeArr =& $handler->getObjects(new Criteria('enable_select', 1));
-	
-    foreach ($themeArr as $theme) {
-        $theme_option['name'] = $theme->getShow('name');
-        if ($theme->get('name') == $xoopsConfig['theme_set']) {
-            $theme_option['selected'] = 'selected="selected"';
-        } else {
-            $theme_option['selected'] = '';
-        }
-        $theme_options[] = $theme_option;
-    }
-    $block = array();
-    $block['count'] = count($themeArr);
-    $block['mode'] = $options[0];
-    $block['width'] = $options[1];
-    $block['theme_options'] = $theme_options;
-    return $block;
-}
-
-function b_legacyRender_themes_edit($options)
-{
-
-    $chk = "";
-    $form = _MB_LEGACYRENDER_THSHOW."&nbsp;";
-    if ( $options[0] == 1 ) {
-        $chk = ' checked="checked"';
-    }
-    $form .= '<input type="radio" name="options[0]" value="1"'.$chk.' />&nbsp;'._YES;
-    $chk = "";
-    if ( $options[0] == 0 ) {
-        $chk = ' checked="checked"';
-    }
-    $form .= '&nbsp;<input type="radio" name="options[0]" value="0"'.$chk.' />'._NO;
-    $form .= '<br />'._MB_LEGACYRENDER_THWIDTH.'&nbsp;';
-    $form .= '<input type="text" name="options[1]" value="'.$options[1].'" />';
-    return $form;
-}
-?>
Index: xoops2jp/html/modules/legacyRender/blocks/index.html
diff -u xoops2jp/html/modules/legacyRender/blocks/index.html:1.1.2.1 xoops2jp/html/modules/legacyRender/blocks/index.html:removed
--- xoops2jp/html/modules/legacyRender/blocks/index.html:1.1.2.1	Fri Mar 24 22:05:46 2006
+++ xoops2jp/html/modules/legacyRender/blocks/index.html	Thu Aug 17 19:11:12 2006
@@ -1 +0,0 @@
- <script>history.go(-1);</script>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index