|
|
|
|
223
|
$row['postType'] = type2Text($tumble->getType($register["id_post"]));
|
223
|
$row['postType'] = type2Text($tumble->getType($register["id_post"]));
|
224
|
|
224
|
|
225
|
$formatedDate = gmdate("M d", strtotime($register["date"])+transform_offset($conf->offsetTime));
|
225
|
$formatedDate = gmdate("M d", strtotime($register["date"])+transform_offset($conf->offsetTime));
|
226
|
- $permalink = $conf->urlGelato."/index.php/post/".$register["id_post"]."/";
|
|
|
|
|
226
|
+ $permalink = $tumble->getPermalink($register["id_post"]);
|
227
|
|
227
|
|
228
|
$register["title"] = stripslashes($register["title"]);
|
228
|
$register["title"] = stripslashes($register["title"]);
|
229
|
$register["description"] = stripslashes($register["description"]);
|
229
|
$register["description"] = stripslashes($register["description"]);
|
|
|
|
|
297
|
if ($tumble->contarRegistros()>0) {
|
297
|
if ($tumble->contarRegistros()>0) {
|
298
|
while($register = mysql_fetch_array($rs)) {
|
298
|
while($register = mysql_fetch_array($rs)) {
|
299
|
$formatedDate = gmdate("M d", strtotime($register["date"])+transform_offset($conf->offsetTime));
|
299
|
$formatedDate = gmdate("M d", strtotime($register["date"])+transform_offset($conf->offsetTime));
|
300
|
- $strEnd=($conf->urlFriendly) ? "/" : "";
|
|
|
301
|
- $permalink = $conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
|
|
|
|
300
|
+ $permalink = $tumble->getPermalink($register["id_post"]);
|
302
|
$register["title"] = stripslashes($register["title"]);
|
301
|
$register["title"] = stripslashes($register["title"]);
|
303
|
$register["description"] = stripslashes($register["description"]);
|
302
|
$register["description"] = stripslashes($register["description"]);
|
304
|
|
303
|
|