Fix, rename mail template file names - refs BT#9092

1.10.x
Daniel Barreto 10 years ago
parent 5e65952953
commit 224ddbbf19
  1. 34
      plugin/advancedsubscription/src/AdvancedSubscriptionPlugin.php
  2. 0
      plugin/advancedsubscription/views/admin_accepted_notice_admin.tpl
  3. 0
      plugin/advancedsubscription/views/admin_accepted_notice_student.tpl
  4. 0
      plugin/advancedsubscription/views/admin_accepted_notice_superior.tpl
  5. 0
      plugin/advancedsubscription/views/admin_rejected_notice_admin.tpl
  6. 0
      plugin/advancedsubscription/views/admin_rejected_notice_student.tpl
  7. 0
      plugin/advancedsubscription/views/admin_rejected_notice_superior.tpl
  8. 0
      plugin/advancedsubscription/views/reminder_notice_admin.tpl
  9. 0
      plugin/advancedsubscription/views/reminder_notice_student.tpl
  10. 0
      plugin/advancedsubscription/views/reminder_notice_superior.tpl
  11. 0
      plugin/advancedsubscription/views/reminder_notice_superior_max.tpl
  12. 0
      plugin/advancedsubscription/views/student_no_superior_notice_admin.tpl
  13. 0
      plugin/advancedsubscription/views/student_no_superior_notice_student.tpl
  14. 0
      plugin/advancedsubscription/views/student_notice_student.tpl
  15. 0
      plugin/advancedsubscription/views/student_notice_superior.tpl
  16. 0
      plugin/advancedsubscription/views/superior_accepted_notice_admin.tpl
  17. 0
      plugin/advancedsubscription/views/superior_accepted_notice_student.tpl
  18. 0
      plugin/advancedsubscription/views/superior_accepted_notice_superior.tpl
  19. 0
      plugin/advancedsubscription/views/superior_rejected_notice_student.tpl
  20. 0
      plugin/advancedsubscription/views/superior_rejected_notice_superior.tpl

@ -383,7 +383,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['student']['user_id'], $data['student']['user_id'],
$this->get_lang('MailStudentRequest'), $this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_received.tpl'), $tpl->fetch('/advancedsubscription/views/student_notice_student.tpl'),
$data['s'] $data['s']
); );
// Mail to superior // Mail to superior
@ -391,7 +391,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['superior']['user_id'], $data['superior']['user_id'],
$this->get_lang('MailStudentRequest'), $this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_superior.tpl'), $tpl->fetch('/advancedsubscription/views/student_notice_superior.tpl'),
$data['s'], $data['s'],
true true
); );
@ -402,7 +402,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['student']['user_id'], $data['student']['user_id'],
$this->get_lang('MailBossAccept'), $this->get_lang('MailBossAccept'),
$tpl->fetch('/advancedsubscription/views/advsub_request_superior_approved.tpl'), $tpl->fetch('/advancedsubscription/views/superior_accepted_notice_student.tpl'),
$data['s'] $data['s']
); );
// Mail to superior // Mail to superior
@ -410,7 +410,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['superior']['user_id'], $data['superior']['user_id'],
$this->get_lang('MailBossAccept'), $this->get_lang('MailBossAccept'),
$tpl->fetch('/advancedsubscription/views/advsub_request_approve_confirmed.tpl'), $tpl->fetch('/advancedsubscription/views/superior_accepted_notice_superior.tpl'),
$data['s'] $data['s']
); );
// Mail to admin // Mail to admin
@ -420,7 +420,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$adminId, $adminId,
$this->get_lang('MailBossAccept'), $this->get_lang('MailBossAccept'),
$tpl->fetch('/advancedsubscription/views/advsub_request_approved_info_admin.tpl'), $tpl->fetch('/advancedsubscription/views/superior_accepted_notice_admin.tpl'),
$data['s'], $data['s'],
true true
); );
@ -432,7 +432,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['student']['user_id'], $data['student']['user_id'],
$this->get_lang('MailBossReject'), $this->get_lang('MailBossReject'),
$tpl->fetch('/advancedsubscription/views/advsub_request_superior_disapproved.tpl'), $tpl->fetch('/advancedsubscription/views/superior_rejected_notice_student.tpl'),
$data['s'], $data['s'],
true true
); );
@ -441,7 +441,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['superior']['user_id'], $data['superior']['user_id'],
$this->get_lang('MailBossReject'), $this->get_lang('MailBossReject'),
$tpl->fetch('/advancedsubscription/views/advsub_request_disapprove_confirmed.tpl'), $tpl->fetch('/advancedsubscription/views/superior_rejected_notice_superior.tpl'),
$data['s'] $data['s']
); );
break; break;
@ -451,7 +451,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['student']['user_id'], $data['student']['user_id'],
$this->get_lang('MailStudentRequestSelect'), $this->get_lang('MailStudentRequestSelect'),
$tpl->fetch('/advancedsubscription/views/advsub_request_received.tpl'), $tpl->fetch('/advancedsubscription/views/student_notice_student.tpl'),
$data['s'] $data['s']
); );
// Mail to superior // Mail to superior
@ -459,7 +459,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['superior']['user_id'], $data['superior']['user_id'],
$this->get_lang('MailStudentRequestSelect'), $this->get_lang('MailStudentRequestSelect'),
$tpl->fetch('/advancedsubscription/views/advsub_request_superior.tpl'), $tpl->fetch('/advancedsubscription/views/student_notice_superior.tpl'),
$data['s'], $data['s'],
true true
); );
@ -470,7 +470,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['student']['user_id'], $data['student']['user_id'],
$this->get_lang('MailAdminAccept'), $this->get_lang('MailAdminAccept'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_accepted_notice_student.tpl'), $tpl->fetch('/advancedsubscription/views/admin_accepted_notice_student.tpl'),
$data['s'] $data['s']
); );
// Mail to superior // Mail to superior
@ -478,7 +478,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['superior']['user_id'], $data['superior']['user_id'],
$this->get_lang('MailAdminAccept'), $this->get_lang('MailAdminAccept'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_accepted_notice_superior.tpl'), $tpl->fetch('/advancedsubscription/views/admin_accepted_notice_superior.tpl'),
$data['s'] $data['s']
); );
// Mail to admin // Mail to admin
@ -488,7 +488,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$adminId, $adminId,
$this->get_lang('MailAdminAccept'), $this->get_lang('MailAdminAccept'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_accepted_notice_admin.tpl'), $tpl->fetch('/advancedsubscription/views/admin_accepted_notice_admin.tpl'),
$data['s'], $data['s'],
true true
); );
@ -499,7 +499,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['student']['user_id'], $data['student']['user_id'],
$this->get_lang('MailAdminReject'), $this->get_lang('MailAdminReject'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_rejected_notice_student.tpl'), $tpl->fetch('/advancedsubscription/views/admin_rejected_notice_student.tpl'),
$data['s'], $data['s'],
true true
); );
@ -508,7 +508,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['superior']['user_id'], $data['superior']['user_id'],
$this->get_lang('MailAdminReject'), $this->get_lang('MailAdminReject'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_rejected_notice_superior.tpl'), $tpl->fetch('/advancedsubscription/views/admin_rejected_notice_superior.tpl'),
$data['s'] $data['s']
); );
// Mail to admin // Mail to admin
@ -518,7 +518,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$adminId, $adminId,
$this->get_lang('MailAdminReject'), $this->get_lang('MailAdminReject'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_rejected_notice_admin.tpl'), $tpl->fetch('/advancedsubscription/views/admin_rejected_notice_admin.tpl'),
$data['s'] $data['s']
); );
break; break;
@ -528,7 +528,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$data['student']['user_id'], $data['student']['user_id'],
$this->get_lang('MailStudentRequestNoBoss'), $this->get_lang('MailStudentRequestNoBoss'),
$tpl->fetch('/advancedsubscription/views/advsub_request_received_no_superior.tpl'), $tpl->fetch('/advancedsubscription/views/student_no_superior_notice_student.tpl'),
$data['s'] $data['s']
); );
// Mail to admin // Mail to admin
@ -538,7 +538,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
$data['u'], $data['u'],
$adminId, $adminId,
$this->get_lang('MailStudentRequestNoBoss'), $this->get_lang('MailStudentRequestNoBoss'),
$tpl->fetch('/advancedsubscription/views/advsub_request_no_superior_info_admin.tpl'), $tpl->fetch('/advancedsubscription/views/student_no_superior_notice_admin.tpl'),
$data['s'], $data['s'],
true true
); );

Loading…
Cancel
Save