Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

Alerts.class.php 997B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. //Deprecated
  3. class Alerts {
  4. private $msgList;
  5. function __construct() {
  6. $this->msgList = [
  7. //Contents
  8. 'SHOW_MORE' => _('Show more...'),
  9. 'SESS_PERM' => _('Session expired or permission denied. Please try to log in again.'),
  10. 'PERM_DENI' => _('Permission denied.'),
  11. 'SESS_EXPI' => _('Session expired, please log in again.'),
  12. 'SHOW_CONT' => _('Click Load button to load this content...'),
  13. 'CONT_EMPT' => _('This content is currently empty, please try again in a few minutes.'),
  14. 'NODT_LIST' => _('No data available in this list.'),
  15. 'NODT_VALI' => _('Not valid data.'),
  16. 'PASS_MESG' => _('The password provided is not valid. The password must contain at least %s characters and at least 1 non-alphanumeric symbol (!, ?, -, etc.)'),
  17. 'PASS_MATC' => _('The password fields do not match.'),
  18. ];
  19. }
  20. function get($code='') {
  21. if (isset($this->msgList[$code])) {
  22. return $this->msgList[$code];
  23. }
  24. return '';
  25. }
  26. }