RomanL 8 ani în urmă
părinte
comite
b0bb49e2bd

+ 1 - 1
modules/boonex/channels/classes/BxCnlModule.php

@@ -223,7 +223,7 @@ class BxCnlModule extends BxBaseModGroupsModule
                 }
             }
             if (count($aVars) > 0){
-                return $this->_oTemplate->parseHtmlByName('followers_list.html', 
+                return $this->_oTemplate->parseHtmlByName('my_channels.html', 
                     array('bx_if:show_list' => array(
                     'condition' => count($aVars) > 0,
                     'content' => array('bx_repeat:items' => $aVars))

+ 0 - 1
modules/boonex/channels/install/langs/en.xml

@@ -107,7 +107,6 @@
 	<string name="_bx_channels_page_block_title_top_profiles"><![CDATA[Top Channels]]></string>
         <string name="_bx_channels_page_block_title_entry_all_actions"><![CDATA[All Actions]]></string>
 	<string name="_bx_channels_page_block_title_entry_social_sharing"><![CDATA[Share]]></string>
-	<string name="_bx_channels_page_block_title_categories"><![CDATA[Channels Categories]]></string>
 	<string name="_bx_channels_page_block_title_search_form"><![CDATA[Search Form]]></string>
   <string name="_bx_channels_page_block_title_entries_my"><![CDATA[My Channels]]></string>  
   <string name="_bx_channels_page_block_title_search_results"><![CDATA[Search Results]]></string>

+ 2 - 3
modules/boonex/channels/install/sql/enable.sql

@@ -131,9 +131,8 @@ INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `
 -- PAGE: service blocks
 SET @iBlockOrder = (SELECT `order` FROM `sys_pages_blocks` WHERE `object` = '' AND `cell_id` = 0 ORDER BY `order` DESC LIMIT 1);
 INSERT INTO `sys_pages_blocks` (`object`, `cell_id`, `module`, `title_system`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `active`, `order`) VALUES
-('', 0, 'bx_channels', '', '_bx_channels_page_block_title_categories', 11, 2147483647, 'service', 'a:4:{s:6:"module";s:6:"system";s:6:"method";s:15:"categories_list";s:6:"params";a:2:{i:0;s:16:"bx_channels_cats";i:1;a:2:{s:10:\"show_empty\";b:1;s:21:\"show_empty_categories\";b:1;}}s:5:"class";s:20:"TemplServiceCategory";}', 1, 1, 1, IFNULL(@iBlockOrder, 0) + 1),
-('', 0, 'bx_channels', '_bx_channels_page_block_title_sys_featured_entries_view_showcase', '_bx_channels_page_block_title_featured_entries_view_showcase', 11, 2147483647, 'service', 'a:3:{s:6:\"module\";s:11:\"bx_channels\";s:6:\"method\";s:15:\"browse_featured\";s:6:\"params\";a:3:{s:9:\"unit_view\";s:8:\"showcase\";s:13:\"empty_message\";b:0;s:13:\"ajax_paginate\";b:0;}}', 0, 1, 1, IFNULL(@iBlockOrder, 0) + 2),
-('', 0, 'bx_channels', '_bx_channels_page_block_title_sys_recommended_entries_view_showcase', '_bx_channels_page_block_title_recommended_entries_view_showcase', 11, 2147483647, 'service', 'a:3:{s:6:\"module\";s:11:\"bx_channels\";s:6:\"method\";s:18:\"browse_recommended\";s:6:\"params\";a:3:{s:9:\"unit_view\";s:8:\"showcase\";s:13:\"empty_message\";b:0;s:13:\"ajax_paginate\";b:0;}}', 0, 1, 1, IFNULL(@iBlockOrder, 0) + 3);
+('', 0, 'bx_channels', '_bx_channels_page_block_title_sys_featured_entries_view_showcase', '_bx_channels_page_block_title_featured_entries_view_showcase', 11, 2147483647, 'service', 'a:3:{s:6:\"module\";s:11:\"bx_channels\";s:6:\"method\";s:15:\"browse_featured\";s:6:\"params\";a:3:{s:9:\"unit_view\";s:8:\"showcase\";s:13:\"empty_message\";b:0;s:13:\"ajax_paginate\";b:0;}}', 0, 1, 1, IFNULL(@iBlockOrder, 0) + 1),
+('', 0, 'bx_channels', '_bx_channels_page_block_title_sys_recommended_entries_view_showcase', '_bx_channels_page_block_title_recommended_entries_view_showcase', 11, 2147483647, 'service', 'a:3:{s:6:\"module\";s:11:\"bx_channels\";s:6:\"method\";s:18:\"browse_recommended\";s:6:\"params\";a:3:{s:9:\"unit_view\";s:8:\"showcase\";s:13:\"empty_message\";b:0;s:13:\"ajax_paginate\";b:0;}}', 0, 1, 1, IFNULL(@iBlockOrder, 0) + 2);
 
 -- MENU
 

+ 0 - 7
modules/boonex/channels/template/followers_list.html

@@ -1,7 +0,0 @@
-<bx_if:show_list>
-    <ul>
-        <bx_repeat:items>
-            <li><a href="__link__">__title__</a></li>
-        </bx_repeat:items>
-    </ul>
-</bx_if:show_list>

+ 7 - 0
modules/boonex/channels/template/my_channels.html

@@ -0,0 +1,7 @@
+<bx_if:show_list>
+    <ul class="bx-menu-verlit bx-menu-object-sys_account_dashboard_manage_tools bx-clearfix">
+        <bx_repeat:items>
+            <li class="bx-def-margin-sec-top "><a href="__link__">__title__</a></li>
+        </bx_repeat:items>
+    </ul>
+</bx_if:show_list>