index.php 466 B

123456789101112131415
  1. <?php
  2. if (cfr('ANNOYANCE')) {
  3. if ($ubillingConfig->getAlterParam('ANNOYANCE_ENABLED')) {
  4. $annoyance = new Annoyance();
  5. show_window(__('Users'), $annoyance->renderUsersFilterForm());
  6. if (ubRouting::checkPost($annoyance::PROUTE_FILTERUSERS)) {
  7. show_window(__('Users'), $annoyance->runUsersFilter());
  8. }
  9. } else {
  10. show_error(__('This module is disabled'));
  11. }
  12. } else {
  13. show_error(__('Access denied'));
  14. }