26 lines
550 B
PHP
26 lines
550 B
PHP
<?php
|
|
use \Bitrix\Main\Localization\Loc;
|
|
|
|
if (!check_bitrix_sessid())
|
|
{
|
|
return;
|
|
}
|
|
|
|
if ($ex = $APPLICATION->GetException())
|
|
{
|
|
CAdminMessage::ShowMessage(array(
|
|
'TYPE' => 'ERROR',
|
|
'MESSAGE' => Loc::getMessage('MOD_INST_ERR'),
|
|
'DETAILS' => $ex->GetString(),
|
|
'HTML' => true,
|
|
));
|
|
}
|
|
else
|
|
{
|
|
CAdminMessage::ShowNote(Loc::getMessage('MOD_INST_OK'));
|
|
}
|
|
?>
|
|
<form action="<?= $APPLICATION->GetCurPage();?>">
|
|
<input type="hidden" name="lang" value="<?= LANG;?>">
|
|
<input type="submit" name="" value="<?= Loc::getMessage('MOD_BACK');?>">
|
|
</form>
|