Skip to content

Commit 50bc667

Browse files
committed
Remove reseller, migration manager, file manager, sftp and softaculous.
1 parent 1d22bb5 commit 50bc667

File tree

1 file changed

+0
-153
lines changed

1 file changed

+0
-153
lines changed

web/templates/admin/edit_server.html

Lines changed: 0 additions & 153 deletions
Original file line numberDiff line numberDiff line change
@@ -726,159 +726,6 @@
726726
<br><br>
727727
</td>
728728
</tr>
729-
<tr>
730-
<td class="vst-text">
731-
<?php print __('Reseller Role') ?>
732-
</td>
733-
</tr>
734-
<tr>
735-
<td>
736-
<select class="vst-list" name="v_reseller" disabled="disabled">
737-
<option value='no'><?php print __('no'); ?></option>
738-
</select>
739-
<br><br>
740-
</td>
741-
</tr>
742-
<tr>
743-
<td class="vst-text">
744-
<?php print __('Backup Migration Manager') ?>
745-
</td>
746-
</tr>
747-
<tr>
748-
<td>
749-
<select class="vst-list" name="v_backup_manager" disabled="disabled">
750-
<option value='no'><?php print __('no'); ?></option>
751-
</select>
752-
<br><br>
753-
</td>
754-
</tr>
755-
<tr>
756-
<td class="vst-text" id="module-sftp">
757-
<?php print __('SFTP Chroot') ?>
758-
</td>
759-
</tr>
760-
<tr>
761-
<td>
762-
<select class="vst-list" name="v_sftp">
763-
<?
764-
if($_SESSION['SFTPJAIL_KEY']){
765-
echo '<option value="cancel">'.__('Disable and Cancel Licence').'</option>';
766-
} else {
767-
echo '<option value="no">'.__('no').'</option>';
768-
}
769-
?>
770-
771-
<option value='yes' <? if($_GET['lead'] == 'sftp' || $_SESSION['SFTPJAIL_KEY'] != '') echo 'selected="selected"'; ?>><?php print __('yes'); ?></option>
772-
</select>
773-
<br><br>
774-
<div class="sftp description" <? if($_GET['lead'] != 'sftp' && !$_SESSION['SFTPJAIL_KEY']) echo 'style="display:none"'; ?>>
775-
<?
776-
if($_GET['sftp_licence_key'] != '' || $_SESSION['SFTPJAIL_KEY']){
777-
$licence_key = $_GET['sftp_licence_key'] != '' ? $_GET['sftp_licence_key'] : $_SESSION['SFTPJAIL_KEY'];
778-
echo __('Restrict users so that they cannot use SSH and access only their home directory.').'
779-
<div class="licence">
780-
'.__('Licence Key').': <input type="text" class="vst-input" name="v_sftp_licence" value="'.htmlentities($licence_key).'" /><br>
781-
</div>';
782-
} else {
783-
echo
784-
__('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.').
785-
'<div class="licence">
786-
'.__('Enter License Key').': <input type="text" class="vst-input" name="v_sftp_licence" /><br>
787-
</div>
788-
<ul>
789-
<li>
790-
<a href="https://vestacp.com/checkout/2co.php?product_id=6&referer='.$_SERVER['HTTP_HOST'].'" class="purchase">'.__('Buy Licence').' 1$/'.__('month').'</a>
791-
</li>
792-
<li>
793-
<a href="https://vestacp.com/checkout/2co.php?product_id=9&referer='.$_SERVER['HTTP_HOST'].'" class="purchase">'.__('Buy Lifetime License').' 18$</a>
794-
</li>
795-
</ul>
796-
<span class="twoco">2Checkout.com Inc. (Ohio, USA) is a payment facilitator for goods and services provided by vestacp.com.</span>';
797-
}
798-
?>
799-
</div>
800-
</td>
801-
</tr>
802-
803-
<tr>
804-
<td class="vst-text" id="module-filemanager">
805-
<?php print __('File Manager') ?>
806-
</td>
807-
</tr>
808-
<tr>
809-
<td>
810-
<select class="vst-list" name="v_filemanager">
811-
<?
812-
if($_SESSION['FILEMANAGER_KEY']){
813-
echo '<option value="cancel">'.__('Disable and Cancel Licence').'</option>';
814-
815-
} else {
816-
echo '<option value="no">'.__('no').'</option>';
817-
}
818-
?>
819-
<option value='yes' <? if($_GET['lead'] == 'filemanager' || $_SESSION['FILEMANAGER_KEY']) echo 'selected="selected"'; ?>><?php print __('yes'); ?></option>
820-
</select>
821-
<br><br>
822-
<div class="filemanager description" <? if($_GET['lead'] != 'filemanager' && !$_SESSION['FILEMANAGER_KEY']) echo 'style="display:none"'; ?>>
823-
<?
824-
if($_GET['filemanager_licence_key'] != '' || $_SESSION['FILEMANAGER_KEY']){
825-
$licence_key = $_GET['filemanager_licence_key'] != '' ? $_GET['filemanager_licence_key'] : $_SESSION['FILEMANAGER_KEY'];
826-
echo __('Browse, copy, edit, view, and retrieve all of your web domain files using fully featured File Manager.').
827-
'<div class="licence">
828-
'.__('Licence Key').': <input type="text" class="vst-input" name="v_filemanager_licence" value="'.htmlentities($licence_key).'" /><br>
829-
</div>';
830-
} else {
831-
echo __('Browse, copy, edit, view, and retrieve all of your web domain files using fully featured File Manager.').' '.
832-
__('This is a commercial module, you would need to purchace license key to enable it.').
833-
'<div class="licence">
834-
'.__('Enter License Key').': <input type="text" class="vst-input" name="v_filemanager_licence" /><br>
835-
</div>
836-
<ul>
837-
<li>
838-
<a href="https://vestacp.com/checkout/2co.php?product_id=7&referer='.$_SERVER['HTTP_HOST'].'" class="purchase">'.__('Buy Licence').' 3$/'.__('month').'</a>
839-
</li>
840-
<li>
841-
<a href="https://vestacp.com/checkout/2co.php?product_id=8&referer='.$_SERVER['HTTP_HOST'].'" class="purchase">'.__('Buy Lifetime License').' 50$</a>
842-
</li>
843-
</ul>
844-
<span class="twoco">2Checkout.com Inc. (Ohio, USA) is a payment facilitator for goods and services provided by vestacp.com.</span>';
845-
}
846-
?>
847-
</div>
848-
</td>
849-
</tr>
850-
851-
852-
853-
854-
<tr>
855-
<td class="vst-text" id="module-softaculous">
856-
<?php print __('Softaculous') ?>
857-
</td>
858-
</tr>
859-
<tr>
860-
<td>
861-
<select class="vst-list" name="v_softaculous">
862-
<option value='no'><?=__('no')?></option>
863-
<option value='yes' <? if($_GET['lead'] == 'softaculous' || $_SESSION['SOFTACULOUS'] == 'yes') echo 'selected="selected"'; ?>><?=__('yes')?></option>
864-
</select>
865-
<br><br>
866-
<div class="softaculous description" <? if ($_SESSION['SOFTACULOUS'] != 'yes') { ?>style="display:none" <? } ?>>
867-
<h5>* plugin installation will run in background</h5>
868-
Softaculous is a great Auto Installer having 426 great scripts, 1115 PHP Classes
869-
and we are still adding more. Softaculous is ideal for Web Hosting companies and
870-
it could give a significant boost to your sales. These scripts cover most of the
871-
uses a customer could ever have. We have covered a wide array of Categories so that
872-
everyone could find the required script one would need to power their Web Site.
873-
<ul>
874-
<li>
875-
<a href="https://www.softaculous.com/softaculous/" class="purchase" target="_blank"><?=__('Get Premium License')?></a>
876-
</li>
877-
</ul>
878-
</div>
879-
</td>
880-
</tr>
881-
882729
</table>
883730
</td>
884731
</tr>

0 commit comments

Comments
 (0)