1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Closes #4380 - Moved submit button on language file editor modal. Removed some PHP errors.

This commit is contained in:
Cameron
2021-02-12 14:27:21 -08:00
parent 2bf5ee3909
commit b4c33735d6
4 changed files with 32 additions and 18 deletions

View File

@@ -188,12 +188,17 @@ if(!empty($_GET['iframe']))
if($return = $lck->init())
{
if($return['caption'])
if(isset($return['caption']))
{
$this->addTitle($return['caption']);
}
return $return['text'];
if(isset($return['text']))
{
return $return['text'];
}
return null;
}
@@ -846,8 +851,14 @@ if(!empty($_GET['iframe']))
if($opt)
{
return "<table class='table table-striped table-bordered' style='margin-left:0px;width:600px'>".$opt."</table>";
$text = "<table class='table table-striped table-bordered' style='margin-left:0px;width:600px'>".$opt."</table>";
}
else
{
$text = "<span class='label label-default'>".LANG_LAN_155."</span>";
}
return $text;
}
}