Просмотр исходного кода

Remove reseller, migration manager, file manager, sftp and softaculous.

Raphael Schneeberger 7 лет назад
Родитель
Сommit
50bc66756d
1 измененных файлов с 0 добавлено и 153 удалено
  1. 0 153
      web/templates/admin/edit_server.html

+ 0 - 153
web/templates/admin/edit_server.html

@@ -726,159 +726,6 @@
                                                 <br><br>
                                             </td>
                                         </tr>
-                                        <tr>
-                                            <td class="vst-text">
-                                                <?php print __('Reseller Role') ?>
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td>
-                                                <select class="vst-list" name="v_reseller" disabled="disabled">
-                                                    <option value='no'><?php print __('no'); ?></option>
-                                                </select>
-                                                <br><br>
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td class="vst-text">
-                                                <?php print __('Backup Migration Manager') ?>
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td>
-                                                <select class="vst-list" name="v_backup_manager" disabled="disabled">
-                                                    <option value='no'><?php print __('no'); ?></option>
-                                                </select>
-                                                <br><br>
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td class="vst-text" id="module-sftp">
-                                                <?php print __('SFTP Chroot') ?>
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td>
-                                                <select class="vst-list" name="v_sftp">
-                                                    <?
-                                                        if($_SESSION['SFTPJAIL_KEY']){
-                                                            echo '<option value="cancel">'.__('Disable and Cancel Licence').'</option>';
-                                                        } else {
-                                                            echo '<option value="no">'.__('no').'</option>';
-                                                        }
-                                                     ?>
-
-                                                    <option value='yes' <? if($_GET['lead'] == 'sftp' || $_SESSION['SFTPJAIL_KEY'] != '') echo 'selected="selected"'; ?>><?php print __('yes'); ?></option>
-                                                </select>
-                                                <br><br>
-                                                <div class="sftp description" <? if($_GET['lead'] != 'sftp' && !$_SESSION['SFTPJAIL_KEY']) echo 'style="display:none"'; ?>>
-                                                    <?
-                                                    if($_GET['sftp_licence_key'] != '' || $_SESSION['SFTPJAIL_KEY']){
-                                                        $licence_key = $_GET['sftp_licence_key'] != '' ? $_GET['sftp_licence_key'] : $_SESSION['SFTPJAIL_KEY'];
-                                                        echo __('Restrict users so that they cannot use SSH and access only their home directory.').'
-                                                            <div class="licence">
-                                                                '.__('Licence Key').': <input type="text" class="vst-input" name="v_sftp_licence" value="'.htmlentities($licence_key).'" /><br>
-                                                            </div>';
-                                                    } else {
-                                                        echo
-                                                            __('Restrict users so that they cannot use SSH and access only their home directory.').' '.__('This is a commercial module, you would need to purchace license key to enable it.').
-                                                            '<div class="licence">
-                                                                '.__('Enter License Key').': <input type="text" class="vst-input" name="v_sftp_licence" /><br>
-                                                            </div>
-                                                            <ul>
-                                                                <li>
-                                                                    <a href="https://vestacp.com/checkout/2co.php?product_id=6&referer='.$_SERVER['HTTP_HOST'].'" class="purchase">'.__('Buy Licence').' 1$/'.__('month').'</a>
-                                                                </li>
-                                                                <li>
-                                                                    <a href="https://vestacp.com/checkout/2co.php?product_id=9&referer='.$_SERVER['HTTP_HOST'].'" class="purchase">'.__('Buy Lifetime License').' 18$</a>
-                                                                </li>
-                                                            </ul>
-                                                            <span class="twoco">2Checkout.com Inc. (Ohio, USA) is a payment facilitator for goods and services provided by vestacp.com.</span>';
-                                                    }
-                                                    ?>
-                                                </div>
-                                            </td>
-                                        </tr>
-
-                                        <tr>
-                                            <td class="vst-text" id="module-filemanager">
-                                                <?php print __('File Manager') ?>
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td>
-                                                <select class="vst-list" name="v_filemanager">
-                                                    <?
-                                                        if($_SESSION['FILEMANAGER_KEY']){
-                                                            echo '<option value="cancel">'.__('Disable and Cancel Licence').'</option>';
-
-                                                        } else {
-                                                            echo '<option value="no">'.__('no').'</option>';
-                                                        }
-                                                     ?>
-                                                    <option value='yes' <? if($_GET['lead'] == 'filemanager' || $_SESSION['FILEMANAGER_KEY']) echo 'selected="selected"'; ?>><?php print __('yes'); ?></option>
-                                                </select>
-                                                <br><br>
-                                                <div class="filemanager description" <? if($_GET['lead'] != 'filemanager' && !$_SESSION['FILEMANAGER_KEY']) echo 'style="display:none"'; ?>>
-                                                    <?
-                                                    if($_GET['filemanager_licence_key'] != '' || $_SESSION['FILEMANAGER_KEY']){
-                                                        $licence_key = $_GET['filemanager_licence_key'] != '' ? $_GET['filemanager_licence_key'] : $_SESSION['FILEMANAGER_KEY'];
-                                                        echo __('Browse, copy, edit, view, and retrieve all of your web domain files using fully featured File Manager.').
-                                                            '<div class="licence">
-                                                                '.__('Licence Key').': <input type="text" class="vst-input" name="v_filemanager_licence" value="'.htmlentities($licence_key).'" /><br>
-                                                            </div>';
-                                                    } else {
-                                                        echo __('Browse, copy, edit, view, and retrieve all of your web domain files using fully featured File Manager.').' '.
-                                                            __('This is a commercial module, you would need to purchace license key to enable it.').
-                                                            '<div class="licence">
-                                                                '.__('Enter License Key').': <input type="text" class="vst-input" name="v_filemanager_licence" /><br>
-                                                            </div>
-                                                            <ul>
-                                                                <li>
-                                                                    <a href="https://vestacp.com/checkout/2co.php?product_id=7&referer='.$_SERVER['HTTP_HOST'].'" class="purchase">'.__('Buy Licence').' 3$/'.__('month').'</a>
-                                                                </li>
-                                                                <li>
-                                                                    <a href="https://vestacp.com/checkout/2co.php?product_id=8&referer='.$_SERVER['HTTP_HOST'].'" class="purchase">'.__('Buy Lifetime License').' 50$</a>
-                                                                </li>
-                                                            </ul>
-                                                            <span class="twoco">2Checkout.com Inc. (Ohio, USA) is a payment facilitator for goods and services provided by vestacp.com.</span>';
-                                                    }
-                                                    ?>
-                                                </div>
-                                            </td>
-                                        </tr>
-
-
-
-
-                                        <tr>
-                                            <td class="vst-text" id="module-softaculous">
-                                                <?php print __('Softaculous') ?>
-                                            </td>
-                                        </tr>
-                                        <tr>
-                                            <td>
-                                                <select class="vst-list" name="v_softaculous">
-                                                    <option value='no'><?=__('no')?></option>
-                                                    <option value='yes' <? if($_GET['lead'] == 'softaculous' || $_SESSION['SOFTACULOUS'] == 'yes') echo 'selected="selected"'; ?>><?=__('yes')?></option>
-                                                </select>
-                                                <br><br>
-                                                <div class="softaculous description" <? if ($_SESSION['SOFTACULOUS'] != 'yes') { ?>style="display:none" <? } ?>>
-                                                    <h5>* plugin installation will run in background</h5>
-                                                    Softaculous is a great Auto Installer having 426 great scripts, 1115 PHP Classes 
-                                                    and we are still adding more. Softaculous is ideal for Web Hosting companies and 
-                                                    it could give a significant boost to your sales. These scripts cover most of the 
-                                                    uses a customer could ever have. We have covered a wide array of Categories so that 
-                                                    everyone could find the required script one would need to power their Web Site.
-                                                    <ul>
-                                                        <li>
-                                                            <a href="https://www.softaculous.com/softaculous/" class="purchase" target="_blank"><?=__('Get Premium License')?></a>
-                                                        </li>
-                                                    </ul>
-                                                </div>
-                                            </td>
-                                        </tr>
-
                                     </table>
                                 </td>
                             </tr>