Example #1
0
echo $APPLICATION->GetCurPage();
?>
">
	<?php 
echo bitrix_sessid_post();
?>
	<input type="hidden" name="lang" value="<?php 
echo LANG;
?>
">
	<input type="hidden" name="id" value="pull">
	<input type="hidden" name="uninstall" value="Y">
	<input type="hidden" name="step" value="2">

	<?php 
CPullOptions::ClearCheckCache();
$arDependentModule = array();
$ar = CPullOptions::GetDependentModule();
foreach ($ar as $key => $value) {
    $arDependentModule[] = $value['MODULE_ID'];
}
if (empty($arDependentModule)) {
    ?>
		<?php 
    echo CAdminMessage::ShowMessage(GetMessage("MOD_UNINST_WARN"));
    ?>
	<?php 
} else {
    ?>
		<?php 
    echo CAdminMessage::ShowMessage(GetMessage("PULL_WARNING_MODULE", array('#BR#' => '<br />', '#MODULE#' => implode(", ", $arDependentModule))));