Footer for Sancho Mail
- New constant "DEFAULT_SANCHO_FOOTER_IMG" in hlp_sancho_helper.php - Footer Image as param in sendSanchoMail-function - Added Footer Images for Sancho - Added Black/White Images for Sancho (Header and Footer) - Added minor Header and Footer Images for Sancho
@@ -24,6 +24,7 @@ if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
const DEFAULT_SANCHO_HEADER_IMG = 'sancho_header_DEFAULT.jpg';
|
||||
const DEFAULT_SANCHO_FOOTER_IMG = 'sancho_footer_DEFAULT.jpg';
|
||||
|
||||
/**
|
||||
* Send single Mail with Sancho Design and Layout.
|
||||
@@ -35,14 +36,14 @@ const DEFAULT_SANCHO_HEADER_IMG = 'sancho_header_DEFAULT.jpg';
|
||||
* @param string $headerImg Filename of the specific Sancho header image.
|
||||
* @return void
|
||||
*/
|
||||
function sendSanchoMail($vorlage_kurzbz, $vorlage_data, $to, $subject, $headerImg = DEFAULT_SANCHO_HEADER_IMG)
|
||||
function sendSanchoMail($vorlage_kurzbz, $vorlage_data, $to, $subject, $headerImg = DEFAULT_SANCHO_HEADER_IMG, $footerImg = DEFAULT_SANCHO_FOOTER_IMG)
|
||||
{
|
||||
$ci =& get_instance();
|
||||
$ci->load->library('email');
|
||||
$ci->load->library('MailLib');
|
||||
|
||||
$sanchoHeader_img = 'skin/images/sancho/'. $headerImg;
|
||||
$sanchoFooter_img = 'skin/images/sancho/sancho_footer.jpg';
|
||||
$sanchoFooter_img = 'skin/images/sancho/'. $footerImg;
|
||||
|
||||
// Embed sancho header and footer image
|
||||
// reset important to ensure embedding of images when called in a loop
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$this->phrasen['global/studiengang']='Degree-Program';
|
||||
$this->phrasen['global/studienrichtung']='Degree-Program';
|
||||
$this->phrasen['global/studiengang']='Degree Program';
|
||||
$this->phrasen['global/studienrichtung']='Degree Program';
|
||||
$this->phrasen['global/institut']='Institute';
|
||||
$this->phrasen['global/semester']='Semester';
|
||||
$this->phrasen['global/studiensemester']='Semester';
|
||||
@@ -92,7 +92,7 @@ $this->phrasen['global/code']='Code';
|
||||
$this->phrasen['global/adresse']='Address';
|
||||
$this->phrasen['global/hauptwohnsitz']='Principal residence';
|
||||
$this->phrasen['global/nebenwohnsitz']='Secondary residence';
|
||||
$this->phrasen['global/emailAdresse']='E-Mail Adress';
|
||||
$this->phrasen['global/emailAdresse']='E-Mail Address';
|
||||
$this->phrasen['global/mail']='Mail';
|
||||
$this->phrasen['global/telefon']='Telephone';
|
||||
$this->phrasen['global/telefonnummer']='Telephone number';
|
||||
|
||||
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 117 KiB |