- Unify template files naming
5 files renamed
4 files modified
| | |
| | | |
| | | $OUTPUT->add_handler('contacteditform', 'rcmail_contact_editform'); |
| | | |
| | | if (!$CONTACTS->get_result() && $OUTPUT->template_exists('addcontact')) |
| | | $OUTPUT->send('addcontact'); |
| | | if (!$CONTACTS->get_result() && $OUTPUT->template_exists('contactadd')) |
| | | $OUTPUT->send('contactadd'); |
| | | |
| | | // this will be executed if no template for addcontact exists |
| | | $OUTPUT->send('editcontact'); |
| | | $OUTPUT->send('contactedit'); |
| | |
| | | //$OUTPUT->framed = $_framed; |
| | | $OUTPUT->add_handler('contactdetails', 'rcmail_contact_details'); |
| | | |
| | | $OUTPUT->send('showcontact'); |
| | | $OUTPUT->send('contact'); |
| | |
| | | 'blockedobjects' => 'rcmail_remote_objects_msg')); |
| | | |
| | | |
| | | if ($RCMAIL->action=='print' && $OUTPUT->template_exists('printmessage')) |
| | | $OUTPUT->send('printmessage', false); |
| | | if ($RCMAIL->action=='print' && $OUTPUT->template_exists('messageprint')) |
| | | $OUTPUT->send('messageprint', false); |
| | | else if ($RCMAIL->action=='preview' && $OUTPUT->template_exists('messagepreview')) |
| | | $OUTPUT->send('messagepreview', false); |
| | | else |
| | |
| | | |
| | | $OUTPUT->set_pagetitle(rcube_label(($RCMAIL->action=='add-identity' ? 'newidentity' : 'edititem'))); |
| | | |
| | | if ($RCMAIL->action=='add-identity' && $OUTPUT->template_exists('addidentity')) |
| | | $OUTPUT->send('addidentity'); |
| | | if ($RCMAIL->action=='add-identity' && $OUTPUT->template_exists('identityadd')) |
| | | $OUTPUT->send('identityadd'); |
| | | |
| | | $OUTPUT->send('editidentity'); |
| | | $OUTPUT->send('identityedit'); |
| | | |
| | | |