
If you use the PM option in the mail-users admin, you'll find out that you PM module is non-HTML enable.
There is a fix for that too, but, well, I simply recommend using "mpmanager" module instead of the (XXX

// TZ added for HTML mailing //
// private
var $contentType;
// END TZ Addition //
// TZ added for HTML mailing //
// public
function setContentType($value)
{
if ($value) $this->contentType = trim($value);
}
// END TZ Addition //
// TZ added for HTML mailing //
$this->multimailer->ContentType = $this->contentType;
// END TZ Addition //
// TZ added for HTML mailing //
$xoopsMailer->setContentType("text/html");
$xoopsMailer->setTemplate('mailusers.tpl');
$xoopsMailer->assign('X_SITENAME', $xoopsConfig['sitename']);
$xoopsMailer->assign('X_SITEURL', XOOPS_URL."/");
$xoopsMailer->assign('X_MESSAGE', $myts->oopsStripSlashesGPC($_POST['mail_body']));
// END TZ Addition //
// TZ added for HTML mailing //
include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/inbetween/forminbetweentextarea.php");
$body_text = (new XoopsFormInbetweenTextArea(array('caption'=> $body_caption, 'name'=>'mail_body', 'value'=>$mail_body, 'width'=>'100%', 'height'=>'250px'),true));
// END TZ Addition //
// $body_text = new XoopsFormTextArea($body_caption, "mail_body", "", 10);
// TZ added for HTML mailing //
include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php");
$body_text = (new XoopsFormtinyeditorTextArea(array('caption'=> $body_caption, 'name'=>'mail_body', 'value'=>$mail_body, 'width'=>'100%', 'height'=>'250px'),true));
// END TZ Addition //
Mamba wrote:
Quote:This one should have long ago enter the core
If it works, can you add it to "Feature Request"?
Thanks...
<{foreach item=onesearch from=$block.searches}>
<tr class="<{cycle values="even,odd"}>"><td align='center'><{$onesearch.keyword}>a>td>tr>
<{/foreach}>
<{foreach item=onesearch from=$block.searches}>
<tr class="<{cycle values="even,odd"}>"><td align='center'><{$onesearch.link}><{$onesearch.keyword}>a>td>tr>
<{/foreach}>
$search['link'] = ".XOOPS_URL.'/search.php?query='.$oneelement->getVar('keyword')."&action=results' target='_blank'>";
$search['link'] = ".XOOPS_URL.'/modules/mysearch/search.php?query='.$oneelement->getVar('keyword')."&action=results'>";
$critere->setSort('datesearch');
// TZ for hard-coded limit $critere->setLimit($visiblekeywords);
$critere->setLimit(5);
<script>
insertVideos('youtubeDiv','search','<{section name=cur_kw_searched loop=$searched_keywords}><{$searched_keywords[cur_kw_searched]}><{if $smarty.section.cur_kw_searched.index <>$smarty.section.cur_kw_searched.total}> <{/if}><{/section}>','10',1);
script>
<link rel="stylesheet" type="text/css" href="css/lightwindow.css" />
<script type="text/javascript" src="js/inthetube/prototype.js">script>
<script type="text/javascript" src="js/inthetube/effects.js">script>
<script type="text/javascript" src="js/inthetube/lightwindow.js">script>
<link href="css/inTHEtube.css" rel="stylesheet" type="text/css" media="screen" />
<script src="js/inthetube/inTHEtube.js" type="text/javascript">script>
<p>
<h2>Youtube video clips for: <{section name=cur_kw_searched loop=$searched_keywords}>
<{$searched_keywords[cur_kw_searched]}><{if $smarty.section.cur_kw_searched.index <> $smarty.section.cur_kw_searched.total}> <{/if}><{/section}>h2>
<center><div id="youtubeDiv" style="display: block; clear: both">
div>center>
<script>
insertVideos('youtubeDiv','search','<{section name=cur_kw_searched loop=$searched_keywords}><{$searched_keywords[cur_kw_searched]}><{if $smarty.section.cur_kw_searched.index <>$smarty.section.cur_kw_searched.total}> <{/if}><{/section}>','10',1);
script>
p>