mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
bugfix #4478 (title tag removed from link)
This commit is contained in:
@@ -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'] = "<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['date'] = ($this->parent->settings['date'] ? ($row['event_start'] ? $this->parent->getListDate($row['event_start']) : "") : "");
|
||||
$record['info'] = '';
|
||||
|
@@ -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'] = "<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['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) : "");
|
||||
|
@@ -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'] = "<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['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']) : "") : "");
|
||||
|
@@ -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("", "<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
|
||||
|
@@ -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'))
|
||||
{
|
||||
|
@@ -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()
|
||||
|
@@ -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'] = "<div class='forumheader3' style='margin
|
||||
|
||||
//##### ADMIN
|
||||
|
||||
|
||||
$TEMPLATE_LIST_NEW['ADMIN_MESSAGE'] = "<div style='text-align:center'><b>{MESSAGE}</b></div>";
|
||||
|
||||
|
||||
$TEMPLATE_LIST_NEW['ADMIN_START'] = "
|
||||
<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'>";
|
||||
|
@@ -9,8 +9,8 @@
|
||||
* Comment e_list Handler
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_comment.php,v $
|
||||
* $Revision: 1.2 $
|
||||
* $Date: 2009-01-27 21:34:02 $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2009-01-28 08:48:14 $
|
||||
* $Author: lisa_ $
|
||||
*
|
||||
*/
|
||||
@@ -61,11 +61,11 @@ class list_comment
|
||||
$record['icon'] = $bullet;
|
||||
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
|
||||
{
|
||||
$record['heading'] = $this->parent->e107->tp->toHTML($rowheading, TRUE);
|
||||
$record['heading'] = $this->parent->e107->tp->toHTML($rowheading, true);
|
||||
}
|
||||
$category = '';
|
||||
if(varsettrue($this->parent->settings['category']))
|
||||
|
@@ -9,8 +9,8 @@
|
||||
* Download e_list Handler
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_download.php,v $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2009-01-27 21:34:02 $
|
||||
* $Revision: 1.4 $
|
||||
* $Date: 2009-01-28 08:48:14 $
|
||||
* $Author: lisa_ $
|
||||
*
|
||||
*/
|
||||
@@ -59,7 +59,7 @@ class list_download
|
||||
$record = array();
|
||||
$rowheading = $this->parent->parse_heading($row['download_name']);
|
||||
$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['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']) : "");
|
||||
|
@@ -9,8 +9,8 @@
|
||||
* Members e_list Handler
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_members.php,v $
|
||||
* $Revision: 1.4 $
|
||||
* $Date: 2009-01-27 21:34:02 $
|
||||
* $Revision: 1.5 $
|
||||
* $Date: 2009-01-28 08:48:14 $
|
||||
* $Author: lisa_ $
|
||||
*
|
||||
*/
|
||||
@@ -48,7 +48,7 @@ class list_members
|
||||
$record = array();
|
||||
$rowheading = $this->parent->parse_heading($row['user_name']);
|
||||
$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['author'] = '';
|
||||
$record['date'] = (varsettrue($this->parent->settings['date']) ? $this->parent->getListDate($row['user_join']) : "");
|
||||
|
@@ -9,8 +9,8 @@
|
||||
* News e_list Handler
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/list_new/section/list_news.php,v $
|
||||
* $Revision: 1.2 $
|
||||
* $Date: 2009-01-27 21:34:02 $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2009-01-28 08:48:14 $
|
||||
* $Author: lisa_ $
|
||||
*
|
||||
*/
|
||||
@@ -61,7 +61,7 @@ class list_news
|
||||
|
||||
$record = array();
|
||||
$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'] = '';
|
||||
if(varsettrue($this->parent->settings['author']))
|
||||
|
Reference in New Issue
Block a user