mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
List-new fixes for chatbox.
This commit is contained in:
@@ -68,6 +68,7 @@ class listclass
|
||||
$this->shortcodes = new list_shortcodes();
|
||||
$this->shortcodes->rc = $this;
|
||||
|
||||
|
||||
if($mode=='admin')
|
||||
{
|
||||
require_once($this->plugin_dir."list_admin_class.php");
|
||||
@@ -423,6 +424,7 @@ class listclass
|
||||
|
||||
//$this->shortcodes->rc->data = $this->data;
|
||||
|
||||
|
||||
//set record variables
|
||||
$this->row = array();
|
||||
$this->row['caption'] = '';
|
||||
@@ -797,8 +799,14 @@ class listclass
|
||||
|
||||
//display the sections
|
||||
$k=0;
|
||||
|
||||
// print_a($arr);
|
||||
|
||||
foreach($arr as $sect)
|
||||
{
|
||||
|
||||
$this->shortcodes->plugin = $sect['section'];
|
||||
|
||||
if($sect['display'] == '1')
|
||||
{
|
||||
$sectiontext = $this->displaySection($sect);
|
||||
|
Reference in New Issue
Block a user