mirror of
https://github.com/e107inc/e107.git
synced 2025-08-23 06:33:22 +02:00
Optimization
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/lan_user.php");
|
||||
|
||||
global $tp;
|
||||
if (substr($parm, -5) == '-link')
|
||||
if (substr($parm, -5) === '-link')
|
||||
{
|
||||
$parm = substr($parm, 0, -5);
|
||||
return ($user_hideemail && !ADMIN) ? "<i>".LAN_143."</i>" : $tp->toHTML($parm,TRUE);
|
||||
|
@@ -28,7 +28,7 @@ $text = '';
|
||||
$name_id = e107::getForm()->name2id($name);
|
||||
|
||||
//Get Select Box Only!
|
||||
if($scaction == 'select' || $scaction == 'all')
|
||||
if($scaction === 'select' || $scaction === 'all')
|
||||
{
|
||||
require_once(e_HANDLER."file_class.php");
|
||||
$fl = new e_file;
|
||||
@@ -86,7 +86,7 @@ if($scaction == 'select' || $scaction == 'all')
|
||||
$text .= "</select>";
|
||||
|
||||
|
||||
if($scaction == 'select') return $text;
|
||||
if($scaction === 'select') return $text;
|
||||
}
|
||||
|
||||
$hide = '';
|
||||
|
Reference in New Issue
Block a user