Hola a todos, me da el siguiente error un PHP que estoy trabajando y no se porque:
Código PHP:
Ver original<?php
// no direct access
$email = $this->params->get('email');
$print = $this->params->get('print');
$favorites = $this->params->get('favorites');
$twitter = $this->params->get('twitter');
$facebook = $this->params->get('facebook');
$myspace = $this->params->get('myspace');
$stumbleupon = $this->params->get('stumbleupon');
$digg = $this->params->get('digg');
$delicious = $this->params->get('delicious');
$wong = $this->params->get('wong');
$myspace = $this->params->get('myspace');
$technorati = $this->params->get('technorati');
$myaol = $this->params->get('myaol');
$blogger = $this->params->get('blogger');
$google = $this->params->get('google');
$reddit = $this->params->get('reddit');
$yahoo = $this->params->get('yahoo');
$dir = $this->params->get('dir');
$mainframe->addCustomHeadTag('<link rel="stylesheet" href="'.$dir.'/components/com_kunena/template/default/kunena.forum.css" type="text/css" media="screen"/>');
$email {
$showsocial .= "
<class=\"addthis_button_email\" rel=\"nofollow\"><img src=\"".$dir."components/com_kunena/template/default/images/icons/social/email.png\" alt=\"Email\" /></a>"
}
$print {
$showsocial .= "
<class=\"addthis_button_print\" rel=\"nofollow\"><img src=\"".$dir."components/com_kunena/template/default/images/icons/social/print.png\" alt=\"Drucken\" /></a>"
}
este es el mensaje de error:
Parse error: syntax error, unexpected T_VARIABLE in /home/blejesh1/public_html/pligg/components/com_kunena/template/default/view/addthis.php on line 37
pero, me lo da en la linea 37 que es la que corresponde a PRINT, no entiendo el motivo, me imagino que deberia darmelo también en la de EMAIL....
Si alguien sabe que estoy haciendo mal decirmelo profavor, porque m estoy volviendo loco.
Gracias de antemano y Saludos!!