mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
LAN fixes to search and news (backend)
This commit is contained in:
@@ -2,21 +2,18 @@
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2010 e107 Inc (e107.org)
|
||||
* Copyright (C) 2008-2013 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* News handler
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package e107
|
||||
* @subpackage e107_handlers
|
||||
* @version $Id$
|
||||
* @author e107inc
|
||||
*
|
||||
* Classes:
|
||||
@@ -196,8 +193,8 @@ class news {
|
||||
{
|
||||
$data['data']['news_id'] = $news['news_id'];
|
||||
|
||||
$emessage->add(LAN_NEWS_46, E_MESSAGE_INFO, $smessages);
|
||||
$message = "<strong>".LAN_NEWS_46."</strong>";
|
||||
$emessage->add(LAN_NO_CHANGE, E_MESSAGE_INFO, $smessages);
|
||||
$message = "<strong>".LAN_NO_CHANGE."</strong>";
|
||||
|
||||
|
||||
//FIXME - triggerHook should return array(message, message_type)
|
||||
|
@@ -2,21 +2,15 @@
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
||||
* Copyright (C) 2008-2013 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/search/comments_download.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$comments_title = LAN_197;
|
||||
$comments_title = ADLAN_24;
|
||||
$comments_type_id = '2';
|
||||
$comments_return['download'] = "d.download_id, d.download_name";
|
||||
$comments_table['download'] = "LEFT JOIN #download AS d ON c.comment_type=2 AND d.download_id = c.comment_item_id";
|
||||
|
@@ -2,21 +2,15 @@
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2009 e107 Inc (e107.org)
|
||||
* Copyright (C) 2008-2013 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/search/comments_news.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$comments_title = LAN_SEARCH_98;
|
||||
$comments_title = ADLAN_0;
|
||||
$comments_type_id = 0;
|
||||
$comments_return['news'] = "n.news_title";
|
||||
$comments_table['news'] = "LEFT JOIN #news AS n ON c.comment_type=0 AND n.news_id = c.comment_item_id";
|
||||
|
@@ -6,17 +6,11 @@
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/search/comments_user.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$comments_title = LAN_SEARCH_98;
|
||||
$comments_title = ADLAN_0;
|
||||
$comments_type_id = 'profile';
|
||||
$comments_return['user'] = "u.user_name";
|
||||
$comments_table['user'] = "LEFT JOIN #user AS u ON c.comment_type='profile' AND u.user_id = c.comment_item_id";
|
||||
|
Reference in New Issue
Block a user