svnno****@sourc*****
svnno****@sourc*****
2009年 1月 31日 (土) 19:13:32 JST
Revision: 164 http://svn.sourceforge.jp/view?root=cinemaru&view=rev&rev=164 Author: asben Date: 2009-01-31 19:13:32 +0900 (Sat, 31 Jan 2009) Log Message: ----------- v1.8ã«åãã¦æ©è½è¿½å ã¨ä¿®æ£ã (1)playerã®ææ°çã³ããã (2)人æ°ã¿ã°ãããã¯è¿½å (3)ã¿ã°ä¸è¦§ã§ã®è¡¨ç¤ºã¿ã°æ°è¨å®ãä¸è¬è¨å®ã«è¿½å (4)ã½ã¼ã¹ã®æ®å¿µãªã¨ãããä¿®æ£ Modified Paths: -------------- trunk/cinemaru/include/db.php trunk/cinemaru/include/misc.php trunk/cinemaru/language/english/modinfo.php trunk/cinemaru/language/ja_utf8/modinfo.php trunk/cinemaru/language/japanese/modinfo.php trunk/cinemaru/player.swf trunk/cinemaru/templates/tag_list.html trunk/cinemaru/xoops_version.php Added Paths: ----------- trunk/cinemaru/blocks/cinemaru_block_hottag.php trunk/cinemaru/blocks/cinemaru_block_test.php trunk/cinemaru/templates/blocks/block_hottag.html trunk/cinemaru/templates/tag_list_part.html Added: trunk/cinemaru/blocks/cinemaru_block_hottag.php =================================================================== --- trunk/cinemaru/blocks/cinemaru_block_hottag.php (rev 0) +++ trunk/cinemaru/blocks/cinemaru_block_hottag.php 2009-01-31 10:13:32 UTC (rev 164) @@ -0,0 +1,54 @@ +<?php +//-------------------------------------------------------------------------------- +// descript : Block of Hot TAG functions +// function : b_cinemaru_block_hottag, b_cinemaru_block_hottag_edit +// args : $options: block option +// author : asben @ bookmark +// date : 2009/1/31 +// Reference keyword: block_of_hottag +//-------------------------------------------------------------------------------- +if (defined('__CINEMARU_BLOCK_HOTTAG_PHP__')) { + return; +} +define('__CINEMARU_BLOCK_HOTTAG_PHP__', 1); + +function b_cinemaru_block_hottag( $options ) +{ + global $xoopsTpl; + global $xoopsConfig; + + if (empty($options[0])) { + $mydirname_cinemaru = 'cinemaru'; + } else { + $mydirname_cinemaru = $options[0]; + } + + $GLOBALS['mydirname'] = $mydirname_cinemaru; + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/pagenavi.class.php'); + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/db.php'); + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/misc.php'); + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/constants.php'); + + $constpref = strtoupper( $mydirname_cinemaru ) ; + $xoopsTpl->assign('mydirname', $mydirname_cinemaru); + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/language/' . $xoopsConfig['language']. '/main.php'); + + $tag_list = cinemaru_get_tag($mydirname_cinemaru, $options[1]); + // Reference keyword: tagcloud_size_set by asben + $tag_list = cinemaru_tagcloud_size_set($tag_list); + $xoopsTpl->assign('cinemaru_block_taglist', $tag_list); + return $tag_list; +} + +function b_cinemaru_block_hottag_edit($options) +{ + if (count($options) < 2 || $options[0] == '' || $options[0] == 30) { + $options = array('cinemaru', 30); + } + + $form = '<input type="hidden" name="options[]" value="' . $options[0] . "\">\n"; + $form .= " "._MB_CINEMARU_DISP." <input type='text' name='options[]' value='".$options[1]."' />\n"; + $form .= " "._MB_CINEMARU_ARTCLS.""; + + return $form; +} \ No newline at end of file Added: trunk/cinemaru/blocks/cinemaru_block_test.php =================================================================== --- trunk/cinemaru/blocks/cinemaru_block_test.php (rev 0) +++ trunk/cinemaru/blocks/cinemaru_block_test.php 2009-01-31 10:13:32 UTC (rev 164) @@ -0,0 +1,34 @@ +<?php +//-------------------------------------------------------------------------------- +// descript : Block of Hot TAG functions +// function : b_cinemaru_block_hottag, b_cinemaru_block_hottag_edit +// args : $options: block option +// author : asben @ bookmark +// date : 2009/1/31 +// Reference keyword: block_of_hottag +//-------------------------------------------------------------------------------- +if (defined('__CINEMARU_BLOCK_TEST_PHP__')) { + return; +} +define('__CINEMARU_BLOCK_TEST_PHP__', 1); + +function b_cinemaru_block_test( $options ) +{ + global $xoopsTpl; + global $xoopsConfig; + + if (empty($options[0])) { + $mydirname_cinemaru = 'cinemaru'; + } else { + $mydirname_cinemaru = $options[0]; + } + + $GLOBALS['mydirname'] = $mydirname_cinemaru; + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/pagenavi.class.php'); + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/db.php'); + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/misc.php'); + require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/constants.php'); + + $xoopsTpl->assign('cinemaru_block_test', "This is TEST"); + return array(1); +} Modified: trunk/cinemaru/include/db.php =================================================================== --- trunk/cinemaru/include/db.php 2009-01-30 08:11:42 UTC (rev 163) +++ trunk/cinemaru/include/db.php 2009-01-31 10:13:32 UTC (rev 164) @@ -692,16 +692,22 @@ return $list; } -function cinemaru_get_tag($mydirname_op='') +// 09.01.31 Correction by asben +function cinemaru_get_tag($mydirname_op='',$max=0) { global $xoopsDB; - + global $xoopsModuleConfig; + if ($mydirname_op == '') { - global $mydirname; + global $mydirname; } else { - $mydirname = $mydirname_op; + $mydirname = $mydirname_op; } + if($max == 0) { + $max = $xoopsModuleConfig['num_of_tag_by_taglist']; + } + $sql = 'SELECT '; $sql .= 't.id AS id, t.name AS name, COUNT( m.id ) AS cnt '; $sql .= ' FROM '; @@ -713,7 +719,7 @@ $sql .= ' AND t.id = tm.tags_id '; $sql .= ' GROUP BY t.id '; $sql .= ' ORDER BY m.reg_time '; - $sql .= ' LIMIT 0 , 100 '; + $sql .= ' LIMIT 0 , '. intval($max); $result = $xoopsDB->query($sql); Modified: trunk/cinemaru/include/misc.php =================================================================== --- trunk/cinemaru/include/misc.php 2009-01-30 08:11:42 UTC (rev 163) +++ trunk/cinemaru/include/misc.php 2009-01-31 10:13:32 UTC (rev 164) @@ -146,37 +146,43 @@ // return : Related Tag Infomation + font size // author : asben @ bookmark // date : 2009/1/10 +// 2009/1/31 // Reference keyword: tagcloud_size_set //-------------------------------------------------------------------------------- function cinemaru_tagcloud_size_set($arrTaginfo) { - foreach($arrTaginfo as $key=>$val) { - $counts[$key]=$val['cnt']; - } - sort($counts, SORT_NUMERIC); - $iCount_min = array_shift($counts); - $iCount_max = array_pop($counts); - if($iCount_min <= 0) { - $iCount_min=1; - } + if(!empty($arrTaginfo)) { + foreach($arrTaginfo as $key=>$val) { + $counts[$key]=$val['cnt']; + } + sort($counts, SORT_NUMERIC); + $iCount_min = array_shift($counts); + $iCount_max = array_pop($counts); + if($iCount_min <= 0) { + $iCount_min=1; + } - if($iCount_max <= 0) { - $iCount_max=1; - } + if($iCount_max <= 0) { + $iCount_max=1; + } - if($iCount_min == $iCount_max) { - $iCalc_range=1; - } - else { - $iCalc_range=$iCount_max-$iCount_min; - } + if($iCount_min == $iCount_max) { + $iCalc_range=1; + } + else { + $iCalc_range=$iCount_max-$iCount_min; + } - $plus_arrTaginfo = array(); - foreach($arrTaginfo as $key=>$val) { - $iCount = intval($val['cnt']) <= 0 ? 1 : intval($val['cnt']); - $iSize = 10 + 12 * ($iCount - $iCount_min) / $iCalc_range; - $plus_arrTaginfo[$key]=$arrTaginfo[$key]; - $plus_arrTaginfo[$key]['size']=intval($iSize); + $plus_arrTaginfo = array(); + foreach($arrTaginfo as $key=>$val) { + $iCount = intval($val['cnt']) <= 0 ? 1 : intval($val['cnt']); + $iSize = 10 + 12 * ($iCount - $iCount_min) / $iCalc_range; + $plus_arrTaginfo[$key]=$arrTaginfo[$key]; + $plus_arrTaginfo[$key]['size']=intval($iSize); + } + + return $plus_arrTaginfo; + } + else { + return array(); } - - return $plus_arrTaginfo; } Modified: trunk/cinemaru/language/english/modinfo.php =================================================================== --- trunk/cinemaru/language/english/modinfo.php 2009-01-30 08:11:42 UTC (rev 163) +++ trunk/cinemaru/language/english/modinfo.php 2009-01-31 10:13:32 UTC (rev 164) @@ -23,6 +23,8 @@ define($constpref.'_INPUT_TAG', 'Input tag name'); define($constpref.'_NUM_OF_TAG', 'Number of tag put on one movie.'); define($constpref.'_NUM_OF_TAG_DEFAULT', 10); +define($constpref.'_NUM_OF_TAG_BYLIST', 'Number of tag displayed by tag list'); +define($constpref.'_NUM_OF_TAG_BY_TAGLIST_DEFAULT', 100); define($constpref.'_TAG_ENCODING', 'tag name charset'); define($constpref.'_TAG_ENCODING_DEFAULT', 'EUC-JP'); define($constpref.'_NUM_OF_THUMB', 'Thumbnail number displayed on one screen.'); @@ -34,6 +36,7 @@ // Names of blocks for this module (Not all module has blocks) define($constpref."_BLOCK_RANDOM", "randam"); define($constpref."_BLOCK_THUMB", "thumnail"); +define($constpref."_BLOCK_HOTTAG", "hottag"); // 09.01.31 asben //notify Modified: trunk/cinemaru/language/ja_utf8/modinfo.php =================================================================== --- trunk/cinemaru/language/ja_utf8/modinfo.php 2009-01-30 08:11:42 UTC (rev 163) +++ trunk/cinemaru/language/ja_utf8/modinfo.php 2009-01-31 10:13:32 UTC (rev 164) @@ -24,6 +24,8 @@ define($constpref.'_INPUT_TAG', 'ã¿ã°åãå ¥åãã¦ãã ãã'); define($constpref.'_NUM_OF_TAG', 'ä¸ã¤ã®åç»ã«ä»ããããã¿ã°æ°'); define($constpref.'_NUM_OF_TAG_DEFAULT', 10); +define($constpref.'_NUM_OF_TAG_BYLIST', 'ã¿ã°ä¸è¦§ã§è¡¨ç¤ºããã¿ã°æ°'); +define($constpref.'_NUM_OF_TAG_BY_TAGLIST_DEFAULT', 100); define($constpref.'_TAG_ENCODING', 'ã¿ã°åã®æåã³ã¼ã'); define($constpref.'_TAG_ENCODING_DEFAULT', 'UTF-8'); define($constpref.'_NUM_OF_THUMB', 'ï¼ç»é¢ã§è¡¨ç¤ºãããµã ãã¤ã«ã®æ°'); @@ -37,9 +39,9 @@ // Names of blocks for this module (Not all module has blocks) define($constpref."_BLOCK_RANDOM", "ã©ã³ãã 表示"); define($constpref."_BLOCK_THUMB", "ãµã ãã¤ã«è¡¨ç¤º"); +define($constpref."_BLOCK_HOTTAG", "人æ°ã¿ã°"); // 09.01.31 asben - // éç¥æ©è½ define($constpref.'_GLOBAL_NOTIFY', 'ã¢ã¸ã¥ã¼ã«å ¨ä½'); Modified: trunk/cinemaru/language/japanese/modinfo.php =================================================================== --- trunk/cinemaru/language/japanese/modinfo.php 2009-01-30 08:11:42 UTC (rev 163) +++ trunk/cinemaru/language/japanese/modinfo.php 2009-01-31 10:13:32 UTC (rev 164) @@ -23,6 +23,8 @@ define($constpref.'_INPUT_TAG', 'タグ名を入力してください'); define($constpref.'_NUM_OF_TAG', '一つの動画に付けられるタグ数'); define($constpref.'_NUM_OF_TAG_DEFAULT', 10); +define($constpref.'_NUM_OF_TAG_BYLIST', 'タグ一覧で表示するタグ数'); +define($constpref.'_NUM_OF_TAG_BY_TAGLIST_DEFAULT', 100); define($constpref.'_TAG_ENCODING', 'タグ名の文字コード'); define($constpref.'_TAG_ENCODING_DEFAULT', 'EUC-JP'); define($constpref.'_NUM_OF_THUMB', '1画面で表示するサムネイルの数'); @@ -34,6 +36,7 @@ // Names of blocks for this module (Not all module has blocks) define($constpref."_BLOCK_RANDOM", "ランダム表示"); define($constpref."_BLOCK_THUMB", "サムネイル表示"); +define($constpref."_BLOCK_HOTTAG", "人気タグ"); // 09.01.31 asben // 通知機能 Modified: trunk/cinemaru/player.swf =================================================================== (Binary files differ) Added: trunk/cinemaru/templates/blocks/block_hottag.html =================================================================== --- trunk/cinemaru/templates/blocks/block_hottag.html (rev 0) +++ trunk/cinemaru/templates/blocks/block_hottag.html 2009-01-31 10:13:32 UTC (rev 164) @@ -0,0 +1,3 @@ +<!-- Reference keyword: block_of_hottag by asben --> +<{assign var="tag_list" value=$cinemaru_block_taglist}> +<{include file="db:`$mydirname`_tag_list_part.html"}> Modified: trunk/cinemaru/templates/tag_list.html =================================================================== --- trunk/cinemaru/templates/tag_list.html 2009-01-30 08:11:42 UTC (rev 163) +++ trunk/cinemaru/templates/tag_list.html 2009-01-31 10:13:32 UTC (rev 164) @@ -1,7 +1,4 @@ <h1><{$smarty.const._MD_CINEMARU_TAG_LIST}></h1> +<{include file="db:`$mydirname`_tag_list_part.html"}> -<{foreach from=$tag_list item=item}> - <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?tag=<{$item.id}>" style="font-size:<{$item.size}>px;"><{$item.name|escape:"html"}></a> -<{/foreach}> - Added: trunk/cinemaru/templates/tag_list_part.html =================================================================== --- trunk/cinemaru/templates/tag_list_part.html (rev 0) +++ trunk/cinemaru/templates/tag_list_part.html 2009-01-31 10:13:32 UTC (rev 164) @@ -0,0 +1,3 @@ +<{foreach from=$tag_list item=item}> + <a href="<{$xoops_url}>/modules/<{$mydirname}>/index.php?tag=<{$item.id}>" style="font-size:<{$item.size}>px;"><{$item.name|escape:"html"}></a> +<{/foreach}> Modified: trunk/cinemaru/xoops_version.php =================================================================== --- trunk/cinemaru/xoops_version.php 2009-01-30 08:11:42 UTC (rev 163) +++ trunk/cinemaru/xoops_version.php 2009-01-31 10:13:32 UTC (rev 164) @@ -16,7 +16,7 @@ $modversion['name'] = $mydirname ; -$modversion['version'] = 1.7; +$modversion['version'] = 1.8; $modversion['description'] = constant($constpref.'_MODULE_DESCRIPTION') ; $modversion['credits'] = "Masahiko Tokita"; $modversion['author'] = "Masahiko Tokita http://tokita.net/" ; @@ -66,6 +66,13 @@ $modversion['blocks'][2]['options'] = "{$mydirname}|counter|10|sort|1"; $modversion['blocks'][2]['template'] = $mydirname . "_block_thumb.html"; +$modversion['blocks'][3]['file'] = "cinemaru_block_hottag.php"; +$modversion['blocks'][3]['name'] = constant($constpref.'_BLOCK_HOTTAG'); +$modversion['blocks'][3]['description'] = "CINEMARU BLOCK HOTTAG"; +$modversion['blocks'][3]['show_func'] = "b_cinemaru_block_hottag"; +$modversion['blocks'][3]['edit_func'] = "b_cinemaru_block_hottag_edit"; +$modversion['blocks'][3]['template'] = $mydirname . "_block_hottag.html"; +$modversion['blocks'][3]['options'] = "{$mydirname}"|20; // Comments $modversion['hasComments'] = 0 ; @@ -87,7 +94,7 @@ $modversion['notification']['event'][1]['description'] = constant($constpref.'_GLOBAL_NEWPOST_NOTIFYDSC'); $modversion['notification']['event'][1]['mail_template'] = 'global_newpost_notify'; $modversion['notification']['event'][1]['mail_subject'] = constant($constpref.'_GLOBAL_NEWPOST_NOTIFYSBJ'); - +// 09.01.31 add by asben $modversion['notification']['event'][2]['name'] = 'update'; $modversion['notification']['event'][2]['category'] = 'global'; $modversion['notification']['event'][2]['title'] = constant($constpref.'_GLOBAL_UPDATE_NOTIFY'); @@ -96,7 +103,7 @@ $modversion['notification']['event'][2]['mail_template'] = 'global_update_notify'; $modversion['notification']['event'][2]['mail_subject'] = constant($constpref.'_GLOBAL_UPDATE_NOTIFYSBJ'); - +// 09.01.31 Correction by asben // Configs $modversion['hasconfig'] = 1; @@ -137,6 +144,15 @@ 'options' => array() ) ; $modversion['config'][5] = array( + 'name' => 'num_of_tag_by_taglist' , + 'title' => $constpref.'_NUM_OF_TAG_BYLIST' , + 'description' => '' , + 'formtype' => 'textbox' , + 'valuetype' => 'text' , + 'default' => constant($constpref.'_NUM_OF_TAG_BY_TAGLIST_DEFAULT'), + 'options' => array() +) ; +$modversion['config'][6] = array( 'name' => 'num_of_sumb' , 'title' => $constpref.'_NUM_OF_THUMB' , 'description' => '' , @@ -145,7 +161,7 @@ 'default' => constant($constpref.'_NUM_OF_THUMB_DEFAULT'), 'options' => array() ) ; -$modversion['config'][6] = array( +$modversion['config'][7] = array( 'name' => 'thumb_bgcolor' , 'title' => $constpref.'_THUMB_BGCOLOR' , 'description' => constant($constpref.'_THUMB_BGCOLOR_DESC') , @@ -154,7 +170,7 @@ 'default' => constant($constpref.'_THUMB_BGCOLOR_DEFAULT'), 'options' => array() ) ; -$modversion['config'][7] = array( +$modversion['config'][8] = array( 'name' => 'show_user_id' , 'title' => $constpref.'_SHOW_USER_ID' , 'description' => constant($constpref.'_SHOW_USER_ID_DESC') , @@ -165,7 +181,7 @@ $constpref.'_SHOW_USER_ID_NG'=>0, ) ) ; -$modversion['config'][8] = array( +$modversion['config'][9] = array( 'name' => 'name_setting' , 'title' => $constpref.'_NAME_SETTING' , 'description' => '' , @@ -178,7 +194,7 @@ $constpref.'_SET_UNAME_OR_NAME'=>3 ) ) ; -$modversion['config'][9] = array( +$modversion['config'][10] = array( 'name' => 'show_avatar' , 'title' => $constpref.'_SHOW_AVATAR' , 'description' => '', @@ -189,7 +205,7 @@ $constpref.'_SHOW_AVATAR_NG'=>0, ) ) ; -$modversion['config'][10] = array( +$modversion['config'][11] = array( 'name' => 'show_name_comment_list' , 'title' => $constpref.'_SHOW_NAME_CLIST' , 'description' => '', @@ -200,7 +216,7 @@ $constpref.'_SHOW_NAME_CLIST_NG'=>0, ) ) ; -$modversion['config'][11] = array( +$modversion['config'][12] = array( 'name' => 'guest_user_name' , 'title' => $constpref.'_GUEST_USER_NAME' , 'description' => '' , @@ -209,7 +225,7 @@ 'default' => constant($constpref.'_GUEST_USER_NAME_DEFAULT'), 'options' => array() ) ; -$modversion['config'][12] = array( +$modversion['config'][13] = array( 'name' => 'show_name_movie' , 'title' => $constpref.'_SHOW_NAME_MOVIE' , 'description' => '', @@ -220,7 +236,7 @@ $constpref.'_SHOW_NAME_MOVIE_NG'=>0, ) ) ; -$modversion['config'][13] = array( +$modversion['config'][14] = array( 'name' => 'show_report_link' , 'title' => $constpref.'_SHOW_REPORT_LINK' , 'description' => '', @@ -231,7 +247,7 @@ $constpref.'_SHOW_REPORT_LINK_NG'=>0, ) ) ; -$modversion['config'][14] = array( +$modversion['config'][15] = array( 'name' => 'sp_command1' , 'title' => $constpref.'_SP_COMMAND1' , 'description' => '' , @@ -240,7 +256,7 @@ 'default' => constant($constpref.'_SP_COMMAND1_DEFAULT'), 'options' => array() ) ; -$modversion['config'][15] = array( +$modversion['config'][16] = array( 'name' => 'sp_command1_url' , 'title' => $constpref.'_SP_COMMAND1_URL' , 'description' => '' , @@ -249,7 +265,7 @@ 'default' => constant($constpref.'_SP_COMMAND1_URL_DEFAULT'), 'options' => array() ) ; -$modversion['config'][16] = array( +$modversion['config'][17] = array( 'name' => 'sp_command1_random' , 'title' => $constpref.'_SP_COMMAND1_RAND' , 'description' => '' , @@ -260,7 +276,7 @@ $constpref.'_SP_RANDOM_NG'=>0, ) ) ; -$modversion['config'][17] = array( +$modversion['config'][18] = array( 'name' => 'sp_command2' , 'title' => $constpref.'_SP_COMMAND2' , 'description' => '' , @@ -269,7 +285,7 @@ 'default' => constant($constpref.'_SP_COMMAND2_DEFAULT'), 'options' => array() ) ; -$modversion['config'][18] = array( +$modversion['config'][19] = array( 'name' => 'sp_command2_url' , 'title' => $constpref.'_SP_COMMAND2_URL' , 'description' => '' , @@ -278,7 +294,7 @@ 'default' => constant($constpref.'_SP_COMMAND2_URL_DEFAULT'), 'options' => array() ) ; -$modversion['config'][19] = array( +$modversion['config'][20] = array( 'name' => 'sp_command2_random' , 'title' => $constpref.'_SP_COMMAND2_RAND' , 'description' => '' , @@ -289,7 +305,7 @@ $constpref.'_SP_RANDOM_NG'=>0, ) ) ; -$modversion['config'][20] = array( +$modversion['config'][21] = array( 'name' => 'sp_command3' , 'title' => $constpref.'_SP_COMMAND3' , 'description' => '' , @@ -298,7 +314,7 @@ 'default' => constant($constpref.'_SP_COMMAND3_DEFAULT'), 'options' => array() ) ; -$modversion['config'][21] = array( +$modversion['config'][22] = array( 'name' => 'sp_command3_url' , 'title' => $constpref.'_SP_COMMAND3_URL' , 'description' => '' , @@ -307,7 +323,7 @@ 'default' => constant($constpref.'_SP_COMMAND3_URL_DEFAULT'), 'options' => array() ) ; -$modversion['config'][22] = array( +$modversion['config'][23] = array( 'name' => 'sp_command3_random' , 'title' => $constpref.'_SP_COMMAND3_RAND' , 'description' => '' , @@ -318,7 +334,7 @@ $constpref.'_SP_RANDOM_NG'=>0, ) ) ; -$modversion['config'][23] = array( +$modversion['config'][24] = array( 'name' => 'richtext' , 'title' => $constpref.'_RICHTEXT' , 'description' => '' , @@ -330,7 +346,7 @@ $constpref.'_USE_PLAINTEXT'=> 0 ) ) ; -$modversion['config'][24] = array( +$modversion['config'][25] = array( 'name' => 'blog_paste' , 'title' => $constpref.'_BLOG_PASTE' , 'description' => '' , @@ -341,7 +357,7 @@ $constpref.'_BLOG_PASTE_NG'=>0, ) ) ; -$modversion['config'][25] = array( +$modversion['config'][26] = array( 'name' => 'top_movie' , 'title' => $constpref.'_TOP_MOVIE' , 'description' => $constpref.'_TOP_MOVIE_DESC' ,