diff --git a/e107_plugins/calendar_menu/e_list.php b/e107_plugins/calendar_menu/e_list.php index 1691a4ea9..8c82c776c 100644 --- a/e107_plugins/calendar_menu/e_list.php +++ b/e107_plugins/calendar_menu/e_list.php @@ -9,8 +9,8 @@ * Calendar e_list Handler * * $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/e_list.php,v $ - * $Revision: 1.4 $ - * $Date: 2009-01-27 21:33:52 $ + * $Revision: 1.5 $ + * $Date: 2009-01-28 08:47:34 $ * $Author: lisa_ $ * */ @@ -81,7 +81,7 @@ class list_calendar_menu $rowheading = $this->parent->parse_heading($row['event_title']); $record['icon'] = $bullet; - $record['heading'] = "".$rowheading.""; + $record['heading'] = "".$rowheading.""; $record['category'] = $row['event_cat_name']; $record['date'] = ($this->parent->settings['date'] ? ($row['event_start'] ? $this->parent->getListDate($row['event_start']) : "") : ""); $record['info'] = ''; diff --git a/e107_plugins/forum/e_list.php b/e107_plugins/forum/e_list.php index 9d75efed0..e83da9399 100644 --- a/e107_plugins/forum/e_list.php +++ b/e107_plugins/forum/e_list.php @@ -9,8 +9,8 @@ * Forum e_list Handler * * $Source: /cvs_backup/e107_0.8/e107_plugins/forum/e_list.php,v $ - * $Revision: 1.2 $ - * $Date: 2009-01-27 21:33:52 $ + * $Revision: 1.3 $ + * $Date: 2009-01-28 08:47:37 $ * $Author: lisa_ $ * */ @@ -126,7 +126,7 @@ class list_forum $rowheading = $this->parent->parse_heading($parent_name); $lnk = ($parent_id ? $thread_id.".post" : $thread_id); - $record['heading'] = "".$rowheading.""; + $record['heading'] = "".$rowheading.""; $record['author'] = ($this->parent->settings['author'] ? ($thread_anon ? $thread_user : "$user_name") : ""); $record['category'] = ($this->parent->settings['category'] ? "$forum_name" : ""); $record['date'] = ($this->parent->settings['date'] ? $this->parent->getListDate($thread_datestamp) : ""); diff --git a/e107_plugins/links_page/e_list.php b/e107_plugins/links_page/e_list.php index 28e6ea864..edd8f7398 100644 --- a/e107_plugins/links_page/e_list.php +++ b/e107_plugins/links_page/e_list.php @@ -9,8 +9,8 @@ * linksPage e_list Handler * * $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/e_list.php,v $ - * $Revision: 1.3 $ - * $Date: 2009-01-27 21:33:52 $ + * $Revision: 1.4 $ + * $Date: 2009-01-28 08:47:37 $ * $Author: lisa_ $ * */ @@ -56,7 +56,7 @@ class list_links_page $record = array(); $rowheading = $this->parent->parse_heading($row['link_name']); $record['icon'] = $bullet; - $record['heading'] = "".$rowheading.""; + $record['heading'] = "".$rowheading.""; $record['author'] = ""; $record['category'] = ($this->parent->settings['category'] ? "".$row['link_category_name']."" : ""); $record['date'] = ($this->parent->settings['date'] ? ($row['link_datestamp'] > 0 ? $this->parent->getListDate($row['link_datestamp']) : "") : ""); diff --git a/e107_plugins/list_new/admin_list_config.php b/e107_plugins/list_new/admin_list_config.php index 38214ca83..dbacdc012 100644 --- a/e107_plugins/list_new/admin_list_config.php +++ b/e107_plugins/list_new/admin_list_config.php @@ -9,8 +9,8 @@ * List Admin Config * * $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/admin_list_config.php,v $ - * $Revision: 1.8 $ - * $Date: 2009-01-27 21:33:52 $ + * $Revision: 1.9 $ + * $Date: 2009-01-28 08:47:37 $ * $Author: lisa_ $ * */ @@ -46,7 +46,9 @@ $rc->list_pref = $rc->getListPrefs(); //render message if set if(isset($message)) { - $rc->e107->ns->tablerender("", "
".$message."
"); + $MESSAGE = $message; + $t = preg_replace("/\{(.*?)\}/e", '$\1', $rc->template['ADMIN_MESSAGE']); + $rc->e107->ns->tablerender('', $t); } //display admin page diff --git a/e107_plugins/list_new/list_admin_class.php b/e107_plugins/list_new/list_admin_class.php index 0da8dfbdf..20f67171c 100644 --- a/e107_plugins/list_new/list_admin_class.php +++ b/e107_plugins/list_new/list_admin_class.php @@ -9,8 +9,8 @@ * List Admin Class * * $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_admin_class.php,v $ - * $Revision: 1.2 $ - * $Date: 2009-01-27 23:46:12 $ + * $Revision: 1.3 $ + * $Date: 2009-01-28 08:47:37 $ * $Author: lisa_ $ * */ @@ -40,10 +40,36 @@ class list_admin { $this->e107 = e107::getInstance(); $this->parent = $parent; - - } + /* + function logArrayDiffs(&$new, &$old, $event) + { + $changes = array(); + foreach ($new as $k => $v) + { + if(is_array($v) && is_array($old[$k])) + { + logArrayDiffs(&$new[$k], &$old[$k], $event); + } + else + { + if ($v != $old[$k]) + { + $old[$k] = $v; + $changes[] = $k.'=>'.$v; + } + } + } + if (count($changes)) + { + print_a($changes); + return TRUE; + } + return FALSE; + } + */ + /** * database update settings * @@ -59,6 +85,9 @@ class list_admin { if($value != LIST_ADMIN_2){ $temp[$this->e107->tp->toDB($key)] = $this->e107->tp->toDB($value); } } + print_a($temp); + print_a($list_pref); + $this->logArrayDiffs($temp, $list_pref, 'LISTNEW_01'); if ($this->e107->admin_log->logArrayDiffs($temp, $list_pref, 'LISTNEW_01')) { diff --git a/e107_plugins/list_new/list_shortcodes.php b/e107_plugins/list_new/list_shortcodes.php index 3ee1e3256..658e3d857 100644 --- a/e107_plugins/list_new/list_shortcodes.php +++ b/e107_plugins/list_new/list_shortcodes.php @@ -9,8 +9,8 @@ * List Shortcodes * * $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_shortcodes.php,v $ - * $Revision: 1.3 $ - * $Date: 2009-01-27 23:46:12 $ + * $Revision: 1.4 $ + * $Date: 2009-01-28 08:47:37 $ * $Author: lisa_ $ * */ @@ -43,12 +43,12 @@ class list_shortcodes function get_list_date() { - return $this->e107->tp->toHTML($this->row['date'], true, "TITLE"); + return $this->e107->tp->toHTML($this->row['date'], true, ""); } function get_list_icon() { - return $this->e107->tp->toHTML($this->row['icon'], true, "TITLE"); + return $this->e107->tp->toHTML($this->row['icon'], true, ""); } function get_list_heading() diff --git a/e107_plugins/list_new/list_template.php b/e107_plugins/list_new/list_template.php index 2c7ecfd78..ced07c18a 100644 --- a/e107_plugins/list_new/list_template.php +++ b/e107_plugins/list_new/list_template.php @@ -9,8 +9,8 @@ * List Template * * $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_template.php,v $ - * $Revision: 1.3 $ - * $Date: 2009-01-27 23:46:12 $ + * $Revision: 1.4 $ + * $Date: 2009-01-28 08:47:37 $ * $Author: lisa_ $ * */ @@ -99,6 +99,10 @@ $TEMPLATE_LIST_NEW['TIMELAPSE_TABLE'] = "