Merge pull request #853 from radiorabe/chore/remove-billing

Remove remaining legacy saas code
This commit is contained in:
Kyle Robbertze 2019-08-21 10:31:06 +02:00 committed by GitHub
commit 306954cbf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
123 changed files with 10 additions and 10171 deletions

View file

@ -1,16 +1,6 @@
<h2><?php echo _("My Profile") ?></h2>
<div id="current-user-container">
<?php if(LIBRETIME_ENABLE_BILLING === true && Application_Model_User::getCurrentUser()->isSuperAdmin()) : ?>
<div id="user_details_superadmin_message">
<p class="alert alert-error">
<?=sprintf(_("<b>Note:</b> Since you're the station owner, your account information can be edited in <a href=\"%s\">Billing Settings</a> instead."), "/billing/client");?>
</p>
<br><br>
</div>
<?php endif; ?>
<form id="current-user-form" class="edit-user-global" method="post" enctype="application/x-www-form-urlencoded">
<dl class="zend_form">
<?php echo $this->element->getElement('cu_user_id') ?>

View file

@ -1,16 +1,4 @@
<?php if (LIBRETIME_ENABLE_WHMCS): ?>
<fieldset>
<legend>Station Owners</legend>
<p>
<?php echo(sprintf(_pro("If you are the primary owner of this station, <a href=\"%s\">please reset your password here</a>."), WHMCS_PASSWORD_RESET_URL)); ?>
</p>
</fieldset>
<?php endif; ?>
<fieldset>
<?php if (LIBRETIME_ENABLE_WHMCS): ?>
<legend>DJs, Program Managers, and Others</legend>
<?php endif; ?>
<form enctype="application/x-www-form-urlencoded" method="post" action="">
<dl class="zend_form">

View file

@ -8,15 +8,6 @@
<?php echo $this->element->getSubform('preferences_tunein') ?>
</div>
<?php
if (LIBRETIME_ENABLE_BILLING === true && Billing::isStationPodcastAllowed()) { ?>
<h3 class="collapsible-header" id="soundcloud-heading"><span class="arrow-icon"></span><?php echo _("SoundCloud Settings") ?></h3>
<div class="collapsible-content" id="soundcloud-settings">
<?php echo $this->element->getSubform('preferences_soundcloud') ?>
</div>
<?php } ?>
<!-- Hide the 'dangerous settings' by default -->
<h3 class="collapsible-header closed" id="dangerous-heading"><span class="arrow-icon"></span><?php echo _("Dangerous Options") ?></h3>
<div class="collapsible-content" id="dangerous-settings" style="display:none;">