Changeset 118 for trunk/xoops_version.php
- Timestamp:
- Mar 18, 2009, 6:11:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xoops_version.php
r111 r118 100 100 101 101 //BLOCKS 102 $modversion['blocks'][1] = array( 102 $b_no =1; 103 $modversion['blocks'][$b_no] = array( 103 104 'file' => 'recent_comments_block.php' , 104 105 'name' => constant('_MI_XPRESS_BLOCK_COMMENTS') , … … 109 110 'options' => $mydirname. '|10|30|0|' , 110 111 'can_clone' => true , 111 'func_num' => 1, 112 ); 113 $modversion['blocks'][2] = array( 112 'func_num' => $b_no, 113 ); 114 $b_no++; 115 $modversion['blocks'][$b_no] = array( 114 116 'file' => 'recent_posts_content_block.php' , 115 117 'name' => constant('_MI_XPRESS_BLOCK_CONTENT') , … … 120 122 'options' => $mydirname. '|10|0|100||0' , 121 123 'can_clone' => true , 122 'func_num' => 2, 123 ); 124 $modversion['blocks'][3] = array( 124 'func_num' => $b_no, 125 ); 126 $b_no++; 127 $modversion['blocks'][$b_no] = array( 125 128 'file' => 'recent_posts_list_block.php' , 126 129 'name' => constant('_MI_XPRESS_BLOCK_POSTS') , … … 130 133 'options' => $mydirname. '|10|1|7||0' , 131 134 'can_clone' => true , 132 'func_num' => 3, 133 ); 134 $modversion['blocks'][4] = array( 135 'func_num' => $b_no, 136 ); 137 $b_no++; 138 $modversion['blocks'][$b_no] = array( 135 139 'file' => 'calender_block.php' , 136 140 'name' => constant('_MI_XPRESS_BLOCK_CALENDER') , … … 140 144 'options' => $mydirname. '|#DB0000|#004D99' , 141 145 'can_clone' => false , 142 'func_num' => 4, 143 ); 144 $modversion['blocks'][5] = array( 146 'func_num' => $b_no, 147 ); 148 $b_no++; 149 $modversion['blocks'][$b_no] = array( 145 150 'file' => 'popular_posts_block.php' , 146 151 'name' => constant('_MI_XPRESS_BLOCK_POPULAR') , … … 150 155 'options' => $mydirname. '|10|0||0' , 151 156 'can_clone' => true , 152 'func_num' => 5, 153 ); 154 $modversion['blocks'][6] = array( 157 'func_num' => $b_no, 158 ); 159 $b_no++; 160 $modversion['blocks'][$b_no] = array( 155 161 'file' => 'archives_block.php' , 156 162 'name' => constant('_MI_XPRESS_BLOCK_ARCHIVE') , … … 160 166 'options' => $mydirname. '|1|10|1|0' , 161 167 'can_clone' => false , 162 'func_num' => 6, 163 ); 164 $modversion['blocks'][7] = array( 168 'func_num' => $b_no, 169 ); 170 $b_no++; 171 $modversion['blocks'][$b_no] = array( 165 172 'file' => 'authors_block.php' , 166 173 'name' => constant('_MI_XPRESS_BLOCK_AUTHORS') , … … 170 177 'options' => $mydirname. '|0|1|0|1' , 171 178 'can_clone' => false , 172 'func_num' => 7, 179 'func_num' => $b_no, 180 ); 181 $b_no++; 182 $modversion['blocks'][$b_no] = array( 183 'file' => 'page_block.php' , 184 'name' => constant('_MI_XPRESS_BLOCK_PAGE') , 185 'description' => '' , 186 'show_func' => "b_". $mydirname . "_page_show" , 187 'edit_func' => "b_". $mydirname . "_page_edit" , 188 'options' => $mydirname. '||0|1|1|' , 189 'can_clone' => false , 190 'func_num' => $b_no, 173 191 ); 174 192
Note: See TracChangeset
for help on using the changeset viewer.