Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/iblock/install/ |
Upload File : |
<?php IncludeModuleLangFile(__FILE__); /** * @global CMain $APPLICATION */ ?> <form action="<?= $APPLICATION->GetCurPage() ?>" name="form1"> <script> function ChangeInstallPublic(val, pr) { const pd = 'public_dir_'+pr; const pdr = 'public_rewrite_'+pr; document.getElementById(pd).disabled = !val; document.getElementById(pdr).disabled = !val; } </script> <?= bitrix_sessid_post() ?> <input type="hidden" name="lang" value="<?= LANGUAGE_ID ?>"> <input type="hidden" name="id" value="iblock"> <input type="hidden" name="install" value="Y"> <input type="hidden" name="step" value="2"> <table cellpadding="3" cellspacing="0" border="0" width="0%"> <tr> <td> </td> <td> <table cellpadding="3" cellspacing="0" border="0"> <tr> <td><input type="checkbox" name="news" id="news" value="Y" OnClick="ChangeInstallPublic(this.checked, 'n')"></td> <td><p><label for="news"><?= GetMessage("IBLOCK_INSTALL_NEWS") ?></label></p></td> </tr> <tr> <td> </td> <td><p><?= GetMessage("IBLOCK_INSTALL_PUBLIC_DIR") ?>:<input type="text" name="news_dir" value="news" size="20" id="public_dir_n"></p></td> </tr> <tr> <td> </td> <td><p><label for="public_rewrite_n"><?= GetMessage("INSTALL_PUBLIC_REW") ?>:</label> <input type="checkbox" name="public_rewrite_n" value="Y" id="public_rewrite_n"></p></td> </tr> <tr> <td><input type="checkbox" name="catalog" value="Y" OnClick="ChangeInstallPublic(this.checked, 'c')" id="catalog"></td> <td><p><label for="catalog"><?= GetMessage("IBLOCK_INSTALL_CATALOG") ?></label></p></td> </tr> <tr> <td> </td> <td><p><?= GetMessage("IBLOCK_INSTALL_PUBLIC_DIR") ?>:<input type="text" name="catalog_dir" value="catalog" size="20" id="public_dir_c"></p></td></tr> <tr> <td> </td> <td><p><label for="public_rewrite_c"><?= GetMessage("INSTALL_PUBLIC_REW") ?>:</label> <input type="checkbox" name="public_rewrite_c" value="Y" id="public_rewrite_c"></p></td> </tr> </table> </td> </tr> </table> <br> <input type="submit" name="inst" value="<?= GetMessage("MOD_INSTALL") ?>"> <script> ChangeInstallPublic(false, 'c'); ChangeInstallPublic(false, 'n'); </script> </form>