|
|
@@ -79,6 +79,7 @@
|
|
79
|
79
|
while($register = mysql_fetch_array($rs)) {
|
|
80
|
80
|
$formatedDate = date("M d", strtotime($register["date"]));
|
|
81
|
81
|
$permalink = $conf->urlGelato."/index.php/post/".$register["id_post"]."/";
|
|
|
82
|
+
|
|
82
|
83
|
switch ($tumble->getType($register["id_post"])) {
|
|
83
|
84
|
case "1":
|
|
84
|
85
|
$input = array("{Date_Added}", "{Permalink}", "{Title}", "{Body}", "{URL_Tumble}");
|
|
|
@@ -97,10 +98,10 @@
|
|
97
|
98
|
$photoPath = $register["url"];
|
|
98
|
99
|
}
|
|
99
|
100
|
|
|
100
|
|
- $effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags(htmlentities($register["description"]))."');\" ";
|
|
|
101
|
+ $effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags($register["description"])."');\" ";
|
|
101
|
102
|
|
|
102
|
103
|
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
|
103
|
|
- $output = array($formatedDate, $permalink, $photoPath, strip_tags(htmlentities($register["description"])), $register["description"], $effect, $conf->urlGelato);
|
|
|
104
|
+ $output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
|
104
|
105
|
|
|
105
|
106
|
$template->cargarPlantilla($input, $output, "template_photo");
|
|
106
|
107
|
$template->mostrarPlantilla();
|
|
|
@@ -172,10 +173,10 @@
|
|
172
|
173
|
$photoPath = $register["url"];
|
|
173
|
174
|
}
|
|
174
|
175
|
|
|
175
|
|
- $effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags(htmlentities($register["description"]))."');\" ";
|
|
|
176
|
+ $effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags($register["description"])."');\" ";
|
|
176
|
177
|
|
|
177
|
178
|
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
|
178
|
|
- $output = array($formatedDate, $permalink, $photoPath, strip_tags(htmlentities($register["description"])), $register["description"], $effect, $conf->urlGelato);
|
|
|
179
|
+ $output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
|
179
|
180
|
|
|
180
|
181
|
$template->cargarPlantilla($input, $output, "template_photo");
|
|
181
|
182
|
$template->mostrarPlantilla();
|