Skip to content

Commit

Permalink
Merge pull request #4812 from Archer70/unused-code
Browse files Browse the repository at this point in the history
Remove unused code
  • Loading branch information
Sesquipedalian committed Jul 4, 2018
2 parents ecda9cd + 5d2d4cd commit feb19c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions Themes/default/ManagePaid.template.php
Expand Up @@ -141,18 +141,6 @@ function template_modify_subscription()
<div id="flexible_area" ', !empty($context['sub']['duration']) && $context['sub']['duration'] == 'flexible' ? '' : 'style="display: none;"', '>
<fieldset>';

//!! Removed until implemented
if (!empty($sdflsdhglsdjgs))
echo '
<dl class="settings">
<dt>
<label for="allow_partial_check">', $txt['paid_mod_allow_partial'], '</label>:<br><span class="smalltext">', $txt['paid_mod_allow_partial_desc'], '</span>
</dt>
<dd>
<input type="checkbox" name="allow_partial" id="allow_partial_check"', empty($context['sub']['allow_partial']) ? '' : ' checked', '>
</dd>
</dl>';

echo '
<div class="information">
<strong>', $txt['paid_mod_price_breakdown'], '</strong><br>
Expand Down
2 changes: 0 additions & 2 deletions Themes/default/languages/ManagePaid.english.php
Expand Up @@ -114,8 +114,6 @@
$txt['paid_mod_edit_note'] = 'Note that as this group has existing subscribers the group settings cannot be changed!';
$txt['paid_mod_delete_warning'] = '<strong>WARNING</strong><br><br>If you delete this subscription all users currently subscribed will lose any access rights granted by the subscription. Unless you are sure you want to do this it is recommended that you simply deactivate a subscription rather than delete it.<br>';
$txt['paid_mod_repeatable'] = 'Allow user to auto-renew this subscription';
$txt['paid_mod_allow_partial'] = 'Allow partial subscription';
$txt['paid_mod_allow_partial_desc'] = 'If this option is enabled, in the case where the user pays less than required they will be granted a subscription for the percentage of the duration they have paid for.';
$txt['paid_mod_fixed_price'] = 'Subscription for fixed price and period';
$txt['paid_mod_flexible_price'] = 'Subscription price varies on duration ordered';
$txt['paid_mod_price_breakdown'] = 'Flexible Price Breakdown';
Expand Down

0 comments on commit feb19c3

Please sign in to comment.