1
0
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:
Cameron
2016-12-03 13:07:14 -08:00
parent e3adc685ec
commit 6eefc91a9b
5 changed files with 27 additions and 9 deletions

View File

@@ -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);