mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
bugfix #4478 (title tag removed from link)
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
* Calendar e_list Handler
|
* Calendar e_list Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/e_list.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/calendar_menu/e_list.php,v $
|
||||||
* $Revision: 1.4 $
|
* $Revision: 1.5 $
|
||||||
* $Date: 2009-01-27 21:33:52 $
|
* $Date: 2009-01-28 08:47:34 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -81,7 +81,7 @@ class list_calendar_menu
|
|||||||
|
|
||||||
$rowheading = $this->parent->parse_heading($row['event_title']);
|
$rowheading = $this->parent->parse_heading($row['event_title']);
|
||||||
$record['icon'] = $bullet;
|
$record['icon'] = $bullet;
|
||||||
$record['heading'] = "<a href='".e_PLUGIN."calendar_menu/event.php?".$row['event_start'].".event.".$row['event_id']."' title='".$row['event_title']."'>".$rowheading."</a>";
|
$record['heading'] = "<a href='".e_PLUGIN."calendar_menu/event.php?".$row['event_start'].".event.".$row['event_id']."'>".$rowheading."</a>";
|
||||||
$record['category'] = $row['event_cat_name'];
|
$record['category'] = $row['event_cat_name'];
|
||||||
$record['date'] = ($this->parent->settings['date'] ? ($row['event_start'] ? $this->parent->getListDate($row['event_start']) : "") : "");
|
$record['date'] = ($this->parent->settings['date'] ? ($row['event_start'] ? $this->parent->getListDate($row['event_start']) : "") : "");
|
||||||
$record['info'] = '';
|
$record['info'] = '';
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* Forum e_list Handler
|
* Forum e_list Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/e_list.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/e_list.php,v $
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
* $Date: 2009-01-27 21:33:52 $
|
* $Date: 2009-01-28 08:47:37 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -126,7 +126,7 @@ class list_forum
|
|||||||
$rowheading = $this->parent->parse_heading($parent_name);
|
$rowheading = $this->parent->parse_heading($parent_name);
|
||||||
$lnk = ($parent_id ? $thread_id.".post" : $thread_id);
|
$lnk = ($parent_id ? $thread_id.".post" : $thread_id);
|
||||||
|
|
||||||
$record['heading'] = "<a href='".$path."forum_viewtopic.php?$lnk' title='".$parent_name."'>".$rowheading."</a>";
|
$record['heading'] = "<a href='".$path."forum_viewtopic.php?$lnk'>".$rowheading."</a>";
|
||||||
$record['author'] = ($this->parent->settings['author'] ? ($thread_anon ? $thread_user : "<a href='".e_BASE."user.php?id.$thread_user'>$user_name</a>") : "");
|
$record['author'] = ($this->parent->settings['author'] ? ($thread_anon ? $thread_user : "<a href='".e_BASE."user.php?id.$thread_user'>$user_name</a>") : "");
|
||||||
$record['category'] = ($this->parent->settings['category'] ? "<a href='".$path."forum_viewforum.php?$forum_id'>$forum_name</a>" : "");
|
$record['category'] = ($this->parent->settings['category'] ? "<a href='".$path."forum_viewforum.php?$forum_id'>$forum_name</a>" : "");
|
||||||
$record['date'] = ($this->parent->settings['date'] ? $this->parent->getListDate($thread_datestamp) : "");
|
$record['date'] = ($this->parent->settings['date'] ? $this->parent->getListDate($thread_datestamp) : "");
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* linksPage e_list Handler
|
* linksPage e_list Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/e_list.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/e_list.php,v $
|
||||||
* $Revision: 1.3 $
|
* $Revision: 1.4 $
|
||||||
* $Date: 2009-01-27 21:33:52 $
|
* $Date: 2009-01-28 08:47:37 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -56,7 +56,7 @@ class list_links_page
|
|||||||
$record = array();
|
$record = array();
|
||||||
$rowheading = $this->parent->parse_heading($row['link_name']);
|
$rowheading = $this->parent->parse_heading($row['link_name']);
|
||||||
$record['icon'] = $bullet;
|
$record['icon'] = $bullet;
|
||||||
$record['heading'] = "<a href='".$row['link_url']."' rel='external' title='".$row['link_name']."'>".$rowheading."</a>";
|
$record['heading'] = "<a href='".$row['link_url']."' rel='external'>".$rowheading."</a>";
|
||||||
$record['author'] = "";
|
$record['author'] = "";
|
||||||
$record['category'] = ($this->parent->settings['category'] ? "<a href='".e_PLUGIN."links_page/links.php?cat.".$row['link_category_id']."'>".$row['link_category_name']."</a>" : "");
|
$record['category'] = ($this->parent->settings['category'] ? "<a href='".e_PLUGIN."links_page/links.php?cat.".$row['link_category_id']."'>".$row['link_category_name']."</a>" : "");
|
||||||
$record['date'] = ($this->parent->settings['date'] ? ($row['link_datestamp'] > 0 ? $this->parent->getListDate($row['link_datestamp']) : "") : "");
|
$record['date'] = ($this->parent->settings['date'] ? ($row['link_datestamp'] > 0 ? $this->parent->getListDate($row['link_datestamp']) : "") : "");
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* List Admin Config
|
* List Admin Config
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/admin_list_config.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/admin_list_config.php,v $
|
||||||
* $Revision: 1.8 $
|
* $Revision: 1.9 $
|
||||||
* $Date: 2009-01-27 21:33:52 $
|
* $Date: 2009-01-28 08:47:37 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -46,7 +46,9 @@ $rc->list_pref = $rc->getListPrefs();
|
|||||||
//render message if set
|
//render message if set
|
||||||
if(isset($message))
|
if(isset($message))
|
||||||
{
|
{
|
||||||
$rc->e107->ns->tablerender("", "<div style='text-align:center'><b>".$message."</b></div>");
|
$MESSAGE = $message;
|
||||||
|
$t = preg_replace("/\{(.*?)\}/e", '$\1', $rc->template['ADMIN_MESSAGE']);
|
||||||
|
$rc->e107->ns->tablerender('', $t);
|
||||||
}
|
}
|
||||||
|
|
||||||
//display admin page
|
//display admin page
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* List Admin Class
|
* List Admin Class
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_admin_class.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_admin_class.php,v $
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
* $Date: 2009-01-27 23:46:12 $
|
* $Date: 2009-01-28 08:47:37 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -40,10 +40,36 @@ class list_admin
|
|||||||
{
|
{
|
||||||
$this->e107 = e107::getInstance();
|
$this->e107 = e107::getInstance();
|
||||||
$this->parent = $parent;
|
$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
|
* 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); }
|
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'))
|
if ($this->e107->admin_log->logArrayDiffs($temp, $list_pref, 'LISTNEW_01'))
|
||||||
{
|
{
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* List Shortcodes
|
* List Shortcodes
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_shortcodes.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_shortcodes.php,v $
|
||||||
* $Revision: 1.3 $
|
* $Revision: 1.4 $
|
||||||
* $Date: 2009-01-27 23:46:12 $
|
* $Date: 2009-01-28 08:47:37 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -43,12 +43,12 @@ class list_shortcodes
|
|||||||
|
|
||||||
function get_list_date()
|
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()
|
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()
|
function get_list_heading()
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* List Template
|
* List Template
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_template.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/list_template.php,v $
|
||||||
* $Revision: 1.3 $
|
* $Revision: 1.4 $
|
||||||
* $Date: 2009-01-27 23:46:12 $
|
* $Date: 2009-01-28 08:47:37 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -99,6 +99,10 @@ $TEMPLATE_LIST_NEW['TIMELAPSE_TABLE'] = "<div class='forumheader3' style='margin
|
|||||||
|
|
||||||
//##### ADMIN
|
//##### ADMIN
|
||||||
|
|
||||||
|
|
||||||
|
$TEMPLATE_LIST_NEW['ADMIN_MESSAGE'] = "<div style='text-align:center'><b>{MESSAGE}</b></div>";
|
||||||
|
|
||||||
|
|
||||||
$TEMPLATE_LIST_NEW['ADMIN_START'] = "
|
$TEMPLATE_LIST_NEW['ADMIN_START'] = "
|
||||||
<div style='text-align:center'>
|
<div style='text-align:center'>
|
||||||
<form action='".e_SELF."' method='post' name='menu_conf_form' id='menu_conf_form' class='admin-menu' enctype='multipart/form-data'>";
|
<form action='".e_SELF."' method='post' name='menu_conf_form' id='menu_conf_form' class='admin-menu' enctype='multipart/form-data'>";
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* Comment e_list Handler
|
* Comment e_list Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_comment.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_comment.php,v $
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
* $Date: 2009-01-27 21:34:02 $
|
* $Date: 2009-01-28 08:48:14 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -61,11 +61,11 @@ class list_comment
|
|||||||
$record['icon'] = $bullet;
|
$record['icon'] = $bullet;
|
||||||
if($row['comment_url'])
|
if($row['comment_url'])
|
||||||
{
|
{
|
||||||
$record['heading'] = "<a href='".$row['comment_url']."' title='".$row['comment_title']."'>".$this->parent->e107->tp->toHTML($rowheading, TRUE)."</a>";
|
$record['heading'] = "<a href='".$row['comment_url']."'>".$this->parent->e107->tp->toHTML($rowheading, true)."</a>";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$record['heading'] = $this->parent->e107->tp->toHTML($rowheading, TRUE);
|
$record['heading'] = $this->parent->e107->tp->toHTML($rowheading, true);
|
||||||
}
|
}
|
||||||
$category = '';
|
$category = '';
|
||||||
if(varsettrue($this->parent->settings['category']))
|
if(varsettrue($this->parent->settings['category']))
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* Download e_list Handler
|
* Download e_list Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_download.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_download.php,v $
|
||||||
* $Revision: 1.3 $
|
* $Revision: 1.4 $
|
||||||
* $Date: 2009-01-27 21:34:02 $
|
* $Date: 2009-01-28 08:48:14 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -59,7 +59,7 @@ class list_download
|
|||||||
$record = array();
|
$record = array();
|
||||||
$rowheading = $this->parent->parse_heading($row['download_name']);
|
$rowheading = $this->parent->parse_heading($row['download_name']);
|
||||||
$record['icon'] = $bullet;
|
$record['icon'] = $bullet;
|
||||||
$record['heading'] = "<a href='".e_BASE."download.php?view.".$row['download_id']."' title='".$row['download_name']."'>".$rowheading."</a>";
|
$record['heading'] = "<a href='".e_BASE."download.php?view.".$row['download_id']."'>".$rowheading."</a>";
|
||||||
$record['author'] = (varsettrue($this->parent->settings['author']) ? $row['download_author'] : "");
|
$record['author'] = (varsettrue($this->parent->settings['author']) ? $row['download_author'] : "");
|
||||||
$record['category'] = (varsettrue($this->parent->settings['category']) ? "<a href='".e_BASE."download.php?list.".$row['download_category_id']."'>".$row['download_category_name']."</a>" : "");
|
$record['category'] = (varsettrue($this->parent->settings['category']) ? "<a href='".e_BASE."download.php?list.".$row['download_category_id']."'>".$row['download_category_name']."</a>" : "");
|
||||||
$record['date'] = (varsettrue($this->parent->settings['date']) ? $this->parent->getListDate($row['download_datestamp']) : "");
|
$record['date'] = (varsettrue($this->parent->settings['date']) ? $this->parent->getListDate($row['download_datestamp']) : "");
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* Members e_list Handler
|
* Members e_list Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_members.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_members.php,v $
|
||||||
* $Revision: 1.4 $
|
* $Revision: 1.5 $
|
||||||
* $Date: 2009-01-27 21:34:02 $
|
* $Date: 2009-01-28 08:48:14 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -48,7 +48,7 @@ class list_members
|
|||||||
$record = array();
|
$record = array();
|
||||||
$rowheading = $this->parent->parse_heading($row['user_name']);
|
$rowheading = $this->parent->parse_heading($row['user_name']);
|
||||||
$record['icon'] = $bullet;
|
$record['icon'] = $bullet;
|
||||||
$record['heading'] = (USER ? "<a href='".e_BASE."user.php?id.".$row['user_id']."' title='".$row['user_name']."'>".$rowheading."</a>" : $rowheading);
|
$record['heading'] = (USER ? "<a href='".e_BASE."user.php?id.".$row['user_id']."'>".$rowheading."</a>" : $rowheading);
|
||||||
$record['category'] = '';
|
$record['category'] = '';
|
||||||
$record['author'] = '';
|
$record['author'] = '';
|
||||||
$record['date'] = (varsettrue($this->parent->settings['date']) ? $this->parent->getListDate($row['user_join']) : "");
|
$record['date'] = (varsettrue($this->parent->settings['date']) ? $this->parent->getListDate($row['user_join']) : "");
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
* News e_list Handler
|
* News e_list Handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_news.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_news.php,v $
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
* $Date: 2009-01-27 21:34:02 $
|
* $Date: 2009-01-28 08:48:14 $
|
||||||
* $Author: lisa_ $
|
* $Author: lisa_ $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -61,7 +61,7 @@ class list_news
|
|||||||
|
|
||||||
$record = array();
|
$record = array();
|
||||||
$record['icon'] = $bullet;
|
$record['icon'] = $bullet;
|
||||||
$record['heading'] = "<a href='".e_BASE."news.php?item.".$row['news_id']."' title='".$rowheading."'>".$rowheading."</a>";
|
$record['heading'] = "<a href='".e_BASE."news.php?item.".$row['news_id']."'>".$rowheading."</a>";
|
||||||
|
|
||||||
$record['author'] = '';
|
$record['author'] = '';
|
||||||
if(varsettrue($this->parent->settings['author']))
|
if(varsettrue($this->parent->settings['author']))
|
||||||
|
Reference in New Issue
Block a user