account-balance-exceeded.phtml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <h4>
  2. <?php echo $this->_('Account Balance Exceeded Notification'); ?>
  3. </h4>
  4. <p>
  5. <?php echo sprintf(
  6. $this->_('The account balance for your user <strong>%s</strong> is %s and has exceeded the maximum debit limit of %s.'),
  7. $this->data['user']['username'],
  8. $this->amount($this->data['user']['balance']),
  9. $this->amount($this->data['user']['max_debit'])); ?>
  10. </p>
  11. <?php if ($this->settings['suspend_over_limit_accounts'] || $this->data['user']['active'] == 0) { ?>
  12. <p>
  13. <?php echo $this->_('Your account has been suspended.'); ?>
  14. </p>
  15. <?php
  16. }
  17. else if ($this->settings['suspension_days']) {
  18. ?>
  19. <p>
  20. <?php echo sprintf(
  21. $this->_('Your account will be automatically suspended in %s days.'),
  22. $this->settings['suspension_days']); ?>
  23. </p>
  24. <?php } ?>
  25. <p>
  26. <?php echo $this->_('Please'); ?>
  27. [ <a
  28. href="<?php echo $this->sitePath . $this->url(array('module' => 'app', 'controller' => 'payment', 'action' => 'credit-balance'), null, false, null, false); ?>">
  29. <?php echo $this->_('click here'); ?>
  30. </a> ]
  31. <?php echo $this->_('to clear your account balance.'); ?> <br>
  32. <?php echo $this->_('Please note that you will have to login first.'); ?>
  33. </p>
  34. <p>
  35. <?php echo $this->_('Best regards'); ?> <br>
  36. <?php echo $this->siteName; ?></p>
  37. </p>