Fixed ISSUE 55, patch by dotism
parent
b19b0f5d72
commit
9b53394db6
|
|
@ -120,9 +120,6 @@ class gelato extends Conexion_Mysql {
|
||||||
$formatedText .= " </li>\n";
|
$formatedText .= " </li>\n";
|
||||||
}
|
}
|
||||||
$formatedText .= "</ul>\n";
|
$formatedText .= "</ul>\n";
|
||||||
// Ugly path fix it ASAP
|
|
||||||
$formatedText = str_replace("<p>","", $formatedText);
|
|
||||||
$formatedText = str_replace("</p>","", $formatedText);
|
|
||||||
return $formatedText;
|
return $formatedText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,8 @@ $template = new plantillas($conf->template);
|
||||||
$strEnd=($conf->urlFriendly) ? "/" : "";
|
$strEnd=($conf->urlFriendly) ? "/" : "";
|
||||||
$permalink = $conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
$permalink = $conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
||||||
|
|
||||||
|
$conversation = $register["description"];
|
||||||
|
|
||||||
$textile = new Textile();
|
$textile = new Textile();
|
||||||
$register["description"] = $textile->TextileThis($register["description"]);
|
$register["description"] = $textile->TextileThis($register["description"]);
|
||||||
|
|
||||||
|
|
@ -141,7 +143,7 @@ $template = new plantillas($conf->template);
|
||||||
break;
|
break;
|
||||||
case "5":
|
case "5":
|
||||||
$input = array("{Date_Added}", "{Permalink}", "{Title}", "{Conversation}", "{URL_Tumble}");
|
$input = array("{Date_Added}", "{Permalink}", "{Title}", "{Conversation}", "{URL_Tumble}");
|
||||||
$output = array($formatedDate, $permalink, $register["title"], $tumble->formatConversation($register["description"]), $conf->urlGelato);
|
$output = array($formatedDate, $permalink, $register["title"], $tumble->formatConversation($conversation), $conf->urlGelato);
|
||||||
|
|
||||||
$template->cargarPlantilla($input, $output, "template_conversation");
|
$template->cargarPlantilla($input, $output, "template_conversation");
|
||||||
$template->mostrarPlantilla();
|
$template->mostrarPlantilla();
|
||||||
|
|
@ -187,6 +189,8 @@ $template = new plantillas($conf->template);
|
||||||
$strEnd=($conf->urlFriendly) ? "/" : "";
|
$strEnd=($conf->urlFriendly) ? "/" : "";
|
||||||
$permalink = $conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
$permalink = $conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
||||||
|
|
||||||
|
$conversation = $register["description"];
|
||||||
|
|
||||||
$textile = new Textile();
|
$textile = new Textile();
|
||||||
$register["description"] = $textile->TextileThis($register["description"]);
|
$register["description"] = $textile->TextileThis($register["description"]);
|
||||||
|
|
||||||
|
|
@ -238,7 +242,7 @@ $template = new plantillas($conf->template);
|
||||||
break;
|
break;
|
||||||
case "5":
|
case "5":
|
||||||
$input = array("{Date_Added}", "{Permalink}", "{Title}", "{Conversation}", "{URL_Tumble}");
|
$input = array("{Date_Added}", "{Permalink}", "{Title}", "{Conversation}", "{URL_Tumble}");
|
||||||
$output = array($formatedDate, $permalink, $register["title"], $tumble->formatConversation($register["description"]), $conf->urlGelato);
|
$output = array($formatedDate, $permalink, $register["title"], $tumble->formatConversation($conversation), $conf->urlGelato);
|
||||||
|
|
||||||
$template->cargarPlantilla($input, $output, "template_conversation");
|
$template->cargarPlantilla($input, $output, "template_conversation");
|
||||||
$template->mostrarPlantilla();
|
$template->mostrarPlantilla();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue