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
This commit is contained in:
Manfred Kindl
2019-01-07 15:48:42 +01:00
parent 398dc01a43
commit 12cf5a4bbb
12 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -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
+3 -3
View File
@@ -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';
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB