Slimbox on single pages
parent
c01d02be4d
commit
5c45a74e8a
|
|
@ -100,7 +100,7 @@
|
||||||
$effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags(htmlentities($register["description"]))."');\" ";
|
$effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags(htmlentities($register["description"]))."');\" ";
|
||||||
|
|
||||||
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
||||||
$output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
$output = array($formatedDate, $permalink, $photoPath, strip_tags(htmlentities($register["description"])), $register["description"], $effect, $conf->urlGelato);
|
||||||
|
|
||||||
$template->cargarPlantilla($input, $output, "template_photo");
|
$template->cargarPlantilla($input, $output, "template_photo");
|
||||||
$template->mostrarPlantilla();
|
$template->mostrarPlantilla();
|
||||||
|
|
@ -172,8 +172,10 @@
|
||||||
$photoPath = $register["url"];
|
$photoPath = $register["url"];
|
||||||
}
|
}
|
||||||
|
|
||||||
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{URL_Tumble}");
|
$effect = " onclick=\"Lightbox.show('".$register["url"]."', '".strip_tags(htmlentities($register["description"]))."');\" ";
|
||||||
$output = array($formatedDate, $permalink, $photoPath, "", $register["description"], $conf->urlGelato);
|
|
||||||
|
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
||||||
|
$output = array($formatedDate, $permalink, $photoPath, strip_tags(htmlentities($register["description"])), $register["description"], $effect, $conf->urlGelato);
|
||||||
|
|
||||||
$template->cargarPlantilla($input, $output, "template_photo");
|
$template->cargarPlantilla($input, $output, "template_photo");
|
||||||
$template->mostrarPlantilla();
|
$template->mostrarPlantilla();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue