Mercurial > hg > mgallery
comparison mgallery.php @ 150:28a2b6e6b527
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 06 Sep 2017 16:49:01 +0300 |
parents | b4751909c48f |
children | 4e25150aa868 |
comparison
equal
deleted
inserted
replaced
149:b4751909c48f | 150:28a2b6e6b527 |
---|---|
239 function mgGetNaviControlImageBoxJS(&$galIndex, $index, $class, $delta) | 239 function mgGetNaviControlImageBoxJS(&$galIndex, $index, $class, $delta) |
240 { | 240 { |
241 $str = mgGetNaviControlImageBox($galIndex, $index, $class, $delta); | 241 $str = mgGetNaviControlImageBox($galIndex, $index, $class, $delta); |
242 | 242 |
243 if ($str != "") | 243 if ($str != "") |
244 return | 244 return |
245 "<script type=\"text/javascript\">". | 245 "<script type=\"text/javascript\">". |
246 "document.write(\"".str_replace("\"", "\\\"", $str)."\");". | 246 "document.write(\"".str_replace("\"", "\\\"", $str)."\");". |
247 "</script>"; | 247 "</script>"; |
248 else | 248 else |
249 return ""; | 249 return ""; |