mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
Issue #6 Removed duplicate LAN_SEARCH from English.php. PHP Notice removal.
This commit is contained in:
parent
c86e9812f3
commit
29b405d31d
@ -3271,8 +3271,13 @@ class e_parser
|
||||
*/
|
||||
function toVideo($file, $parm=array())
|
||||
{
|
||||
if(empty($file))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
list($id,$type) = explode(".",$file,2);
|
||||
|
||||
|
||||
$thumb = vartrue($parm['thumb']);
|
||||
|
||||
|
||||
|
@ -112,7 +112,6 @@ define("LAN_TITLE", "Title");
|
||||
define("LAN_USER", "User");
|
||||
define("LAN_EMAIL","Email address");
|
||||
define("LAN_WROTE", "wrote"); // as in John wrote.." ";
|
||||
define("LAN_SEARCH", "Search");
|
||||
define("LAN_RE_ORDER", "Re-order");
|
||||
|
||||
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['thumbnail'] =(defined("NEWSLIST_THUMB")) ? NEWSLIST_THUMB : "border:0px";
|
||||
$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;
|
||||
|
||||
// NEW - allow news batch shortcode override (e.g. e107::getScBatch('news', 'myplugin', true); )
|
||||
e107::getEvent()->trigger('news_list_parse', $newsList);
|
||||
|
||||
$text = '';
|
||||
|
||||
if(vartrue($template['start']))
|
||||
{
|
||||
$text .= $tp->parseTemplate($template['start'], true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user