Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/currency/install/ |
Current File : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/currency/install/unstep1.php |
<? /** @global CDatabase $DB */ /** @global CUser $USER */ /** @global CMain $APPLICATION */ foreach (GetModuleEvents('currency', 'OnModuleUnInstall', true) as $arEvent) { if (strlen($arEvent["TO_CLASS"]) <= 0) $arEvent["CALLBACK"] = $arEvent["TO_METHOD"]; ExecuteModuleEventEx($arEvent); } if ($ex = $APPLICATION->GetException()) { CAdminMessage::ShowMessage(GetMessage('CURRENCY_INSTALL_UNPOSSIBLE').'<br />'.$ex->GetString()); ?> <form action="<? echo $APPLICATION->GetCurPage(); ?>"> <p> <input type="hidden" name="lang" value="<? echo LANGUAGE_ID; ?>"> <input type="submit" name="" value="<? echo GetMessage('MOD_BACK'); ?>"> </p> <form> <? } else { ?> <form action="<? echo $APPLICATION->GetCurPage(); ?>"> <? echo bitrix_sessid_post(); ?> <input type="hidden" name="lang" value="<? echo LANGUAGE_ID; ?>"> <input type="hidden" name="id" value="currency"> <input type="hidden" name="uninstall" value="Y"> <input type="hidden" name="step" value="2"> <? CAdminMessage::ShowMessage(GetMessage('MOD_UNINST_WARN')); ?> <p><?echo GetMessage('MOD_UNINST_SAVE')?></p> <input type="hidden" name="savedata" id="savedata_N" value="N"> <p><input type="checkbox" name="savedata" id="savedata" value="Y" checked><label for="savedata"><?echo GetMessage('MOD_UNINST_SAVE_TABLES')?></label></p> <input type="submit" name="inst" value="<?echo GetMessage('MOD_UNINST_DEL')?>"> </form> <? }