|
@@ -51,9 +51,9 @@ $template = new plantillas($conf->template);
|
51
|
51
|
$gelato_includes .= "\t<link rel=\"shortcut icon\" href=\"".$conf->urlGelato."/images/favicon.ico\" />\n";
|
52
|
52
|
$gelato_includes .= "\t<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"".$conf->urlGelato.($conf->urlFriendly?"/rss/":"/rss.php")."\"/>\n";
|
53
|
53
|
$gelato_includes .= "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"".$conf->urlGelato."/themes/".$conf->template."/style.css\"/>\n";
|
54
|
|
- $gelato_includes .= "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"".$conf->urlGelato."/admin/css/slimbox.css\" />\n";
|
55
|
|
- $gelato_includes .= "\t<script language=\"javascript\" type=\"text/javascript\" src=\"".$conf->urlGelato."/admin/scripts/mootools.js\"></script>\n";
|
56
|
|
- $gelato_includes .= "\t<script language=\"javascript\" type=\"text/javascript\" src=\"".$conf->urlGelato."/admin/scripts/slimbox.js\"></script>";
|
|
54
|
+ $gelato_includes .= "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"".$conf->urlGelato."/admin/css/lightbox.css\" />\n";
|
|
55
|
+ $gelato_includes .= "\t<script language=\"javascript\" type=\"text/javascript\" src=\"".$conf->urlGelato."/admin/scripts/jquery.js\"></script>\n";
|
|
56
|
+ $gelato_includes .= "\t<script language=\"javascript\" type=\"text/javascript\" src=\"".$conf->urlGelato."/admin/scripts/lightbox.js\"></script>";
|
57
|
57
|
|
58
|
58
|
$input = array("{Gelato_includes}","{Title}", "{Description}", "{URL_Tumble}", "{Template_name}");
|
59
|
59
|
$output = array($gelato_includes, $conf->title, $conf->description, $conf->urlGelato, $conf->template);
|
|
@@ -112,8 +112,8 @@ $template = new plantillas($conf->template);
|
112
|
112
|
} else {
|
113
|
113
|
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
114
|
114
|
}
|
115
|
|
-
|
116
|
|
- $effect = " onclick=\"Lightbox.show('".str_replace("../", $conf->urlGelato."/", $register["url"])."', '".strip_tags($register["description"])."');\" ";
|
|
115
|
+
|
|
116
|
+ $effect = " href=\"".str_replace("../", $conf->urlGelato."/", $register["url"])."\" rel=\"lightbox\"";
|
117
|
117
|
|
118
|
118
|
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
119
|
119
|
$output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
|
@@ -210,9 +210,8 @@ $template = new plantillas($conf->template);
|
210
|
210
|
} else {
|
211
|
211
|
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
212
|
212
|
}
|
213
|
|
-
|
214
|
|
- $effect = " onclick=\"Lightbox.show('".str_replace("../", $conf->urlGelato."/", $register["url"])."', '".strip_tags($register["description"])."');\" ";
|
215
|
|
-
|
|
213
|
+
|
|
214
|
+ $effect = " href=\"".str_replace("../", $conf->urlGelato."/", $register["url"])."\" rel=\"lightbox\"";
|
216
|
215
|
$input = array("{Date_Added}", "{Permalink}", "{PhotoURL}", "{PhotoAlt}", "{Caption}", "{Effect}", "{URL_Tumble}");
|
217
|
216
|
$output = array($formatedDate, $permalink, $photoPath, strip_tags($register["description"]), $register["description"], $effect, $conf->urlGelato);
|
218
|
217
|
|