mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Issue #6 Removed duplicate LAN_SEARCH from English.php. PHP Notice removal.
This commit is contained in:
@@ -3271,6 +3271,11 @@ class e_parser
|
|||||||
*/
|
*/
|
||||||
function toVideo($file, $parm=array())
|
function toVideo($file, $parm=array())
|
||||||
{
|
{
|
||||||
|
if(empty($file))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
list($id,$type) = explode(".",$file,2);
|
list($id,$type) = explode(".",$file,2);
|
||||||
|
|
||||||
$thumb = vartrue($parm['thumb']);
|
$thumb = vartrue($parm['thumb']);
|
||||||
|
@@ -112,7 +112,6 @@ define("LAN_TITLE", "Title");
|
|||||||
define("LAN_USER", "User");
|
define("LAN_USER", "User");
|
||||||
define("LAN_EMAIL","Email address");
|
define("LAN_EMAIL","Email address");
|
||||||
define("LAN_WROTE", "wrote"); // as in John wrote.." ";
|
define("LAN_WROTE", "wrote"); // as in John wrote.." ";
|
||||||
define("LAN_SEARCH", "Search");
|
|
||||||
define("LAN_RE_ORDER", "Re-order");
|
define("LAN_RE_ORDER", "Re-order");
|
||||||
|
|
||||||
define("LAN_ENTER_USRNAME_EMAIL", "Please enter your username or email"); // admin php hover field admin name
|
define("LAN_ENTER_USRNAME_EMAIL", "Please enter your username or email"); // admin php hover field admin name
|
||||||
|
4
news.php
4
news.php
@@ -288,12 +288,14 @@ if ($action == 'cat' || $action == 'all' || vartrue($_GET['tag']))
|
|||||||
$param['itemlink'] = (defined("NEWSLIST_ITEMLINK")) ? NEWSLIST_ITEMLINK : "";
|
$param['itemlink'] = (defined("NEWSLIST_ITEMLINK")) ? NEWSLIST_ITEMLINK : "";
|
||||||
$param['thumbnail'] =(defined("NEWSLIST_THUMB")) ? NEWSLIST_THUMB : "border:0px";
|
$param['thumbnail'] =(defined("NEWSLIST_THUMB")) ? NEWSLIST_THUMB : "border:0px";
|
||||||
$param['catlink'] = (defined("NEWSLIST_CATLINK")) ? NEWSLIST_CATLINK : "";
|
$param['catlink'] = (defined("NEWSLIST_CATLINK")) ? NEWSLIST_CATLINK : "";
|
||||||
$param['caticon'] = (defined("NEWSLIST_CATICON")) ? NEWSLIST_CATICON : ICONSTYLE;
|
$param['caticon'] = (defined("NEWSLIST_CATICON")) ? NEWSLIST_CATICON : defset('ICONSTYLE','');
|
||||||
$param['current_action'] = $action;
|
$param['current_action'] = $action;
|
||||||
|
|
||||||
// NEW - allow news batch shortcode override (e.g. e107::getScBatch('news', 'myplugin', true); )
|
// NEW - allow news batch shortcode override (e.g. e107::getScBatch('news', 'myplugin', true); )
|
||||||
e107::getEvent()->trigger('news_list_parse', $newsList);
|
e107::getEvent()->trigger('news_list_parse', $newsList);
|
||||||
|
|
||||||
|
$text = '';
|
||||||
|
|
||||||
if(vartrue($template['start']))
|
if(vartrue($template['start']))
|
||||||
{
|
{
|
||||||
$text .= $tp->parseTemplate($template['start'], true);
|
$text .= $tp->parseTemplate($template['start'], true);
|
||||||
|
Reference in New Issue
Block a user