Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 579cbb52 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

upate cancel header added

parent efb4482e
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ protected $bannerHeading = <<<EOF
<table class="spacer float-center" style="Margin:0 auto;border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;padding:0;text-align:center;vertical-align:top;width:100%%">
	<tbody>
	<tr style="padding:0;text-align:left;vertical-align:top">
		<td style="-moz-hyphens:auto;-webkit-hyphens:auto;Margin:0;border-collapse:collapse!important;color:#0a0a0a;font-size:40px;font-weight:400;hyphens:auto;line-height:36px;margin:0;mso-line-height-rule:exactly;padding:0;text-align:left;vertical-align:top;word-wrap:break-word;background:%s;font-size:18px;text-align:center;font-weight:500;">%s</td>
		<td style="-moz-hyphens:auto;-webkit-hyphens:auto;Margin:0;border-collapse:collapse!important;color:#0a0a0a;font-size:40px;font-weight:400;hyphens:auto;line-height:36px;margin:0;mso-line-height-rule:exactly;padding:0;text-align:left;vertical-align:top;word-wrap:break-word;background:%s;font-size:18px;text-align:center;font-weight:500;color:%s">%s</td>
	</tr>
	</tbody>
</table>
@@ -148,8 +148,8 @@ EOF;
	/**
	 * Adds a header banner
	 */
	public function addHeadingBanner(string $color,string $text, $plainText = '') {
		$this->htmlBody .= vsprintf($this->bannerHeading, [$color,$text]);
	public function addHeadingBanner(string $bgcolor,string $fontcolor,string $text, $plainText = '') {
		$this->htmlBody .= vsprintf($this->bannerHeading, [$bgcolor,$fontcolor,$text]);
		if ($plainText !== false) {
			$this->plainBody .= $plainText . PHP_EOL . PHP_EOL;
		}