Hi everybody.
I have a problem to configure the emailpage in order to show a "envelope picture", the picture jump to the next row...for example in http://www.familytimes.com/ the envelope continue in the same line..in my case jump to next one...any advice?...thanks in advanced.
here is the script
-----
// This var is set in the settings section under the admin/modules/emailpage section
// It shows 'email this $nodetype' or 'email this page'
$e_l_t=variable_get('emailpage_link_type', 0);
switch($type) {
case "comment":
$links[] = l(t("
"), "emailpage/$node->nid".($type=='comment'?'/'.$node->cid:''), array("title" => t("Email this comment to a friend")), NULL);
break;
case "node":
if($main && variable_get('emailpage_show_on_main', 0)) {
// if enabled, show link on teasers
$links[] = l(t("
", array('%name'=>($e_l_t?$node->type:'page'))), "emailpage/$node->nid", array("title" => t("Email this ". ($e_l_t?$node->type:'page') ." to a friend")), NULL);
}
elseif(!$main) {
// show on main node view
$links[] = l(t("
", array('%name'=>($e_l_t?$node->type:'page'))), "emailpage/$node->nid", array("title" => t("Email this ". ($e_l_t?$node->type:'page') ." to a friend")), NULL);