PDF Stars images
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3431 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
d7fd08f0f7
commit
0bdd497cfb
125 changed files with 5 additions and 1 deletions
|
|
@ -203,11 +203,15 @@ class CmsController extends Controller
|
|||
'travel_program' => $page->getTravelProgram()
|
||||
]);
|
||||
|
||||
|
||||
// Filtern von Hyper-Links
|
||||
$filteredContent = preg_replace('#<p><a(.*)>(.*)</a></p>#Uis', '', $pageHTML->getContent());
|
||||
$filteredContent = preg_replace('#<a(.*)>#Uis', '', $filteredContent);
|
||||
$filteredContent = preg_replace('#</a>#Uis', '', $filteredContent);
|
||||
$filteredContent = str_replace('*', '<img src="https://www.stern-tours.de/images/icons/star-mini.png" />', $filteredContent);
|
||||
//$filteredContent = str_replace('*', '<img src="https://www.stern-tours.de/images/icons/star-mini.png" />', $filteredContent);
|
||||
|
||||
|
||||
// $filteredContent = str_replace('*', '<img src="/assetic/sun.jpg" height="6" width="6" />', $filteredContent);
|
||||
|
||||
// Schreiben des HTML
|
||||
$pdfObj->writeHTML('<strong>Reiseangebot zu finden unter:</strong><br /><a href="'.$url.'"style="text-decoration: none!; font-size: 10px; color: black;">'.$url.'</a><br />');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue