1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 06:33:22 +02:00

Optimization

This commit is contained in:
Cameron
2017-01-29 18:43:52 -08:00
parent 46e89d103e
commit b6d9507aca
11 changed files with 84 additions and 84 deletions

View File

@@ -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);

View File

@@ -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 = '';