diff options
Diffstat (limited to 'view/tpl/smarty3')
-rw-r--r-- | view/tpl/smarty3/admin_site.tpl | 6 | ||||
-rw-r--r-- | view/tpl/smarty3/event_head.tpl | 2 | ||||
-rw-r--r-- | view/tpl/smarty3/oembed_video.tpl | 7 |
3 files changed, 5 insertions, 10 deletions
diff --git a/view/tpl/smarty3/admin_site.tpl b/view/tpl/smarty3/admin_site.tpl index 96b1746f7..eaf067c27 100644 --- a/view/tpl/smarty3/admin_site.tpl +++ b/view/tpl/smarty3/admin_site.tpl @@ -6,7 +6,7 @@ <script> $(function(){ - $("#cnftheme").prettyPhoto({ + $("#cnftheme").fancybox({ width: 800, autoDimensions: false, onStart: function(){ @@ -14,7 +14,7 @@ $("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme); }, onComplete: function(){ - $("div#prettyPhoto-content form").submit(function(e){ + $("div#fancybox-content form").submit(function(e){ var url = $(this).attr('action'); // can't get .serialize() to work... var data={}; @@ -29,7 +29,7 @@ $.post(url, data, function(data) { if(timer) clearTimeout(timer); NavUpdate(); - $.prettyPhoto.close(); + $.fancybox.close(); }) return false; diff --git a/view/tpl/smarty3/event_head.tpl b/view/tpl/smarty3/event_head.tpl index e0b9b4e4c..6cbb98ae7 100644 --- a/view/tpl/smarty3/event_head.tpl +++ b/view/tpl/smarty3/event_head.tpl @@ -12,7 +12,7 @@ $.get( '{{$baseurl}}/events/?id='+eventid, function(data){ - $.prettyPhoto(data); + $.fancybox(data); } ); } diff --git a/view/tpl/smarty3/oembed_video.tpl b/view/tpl/smarty3/oembed_video.tpl index 5c339a290..bdfa11509 100644 --- a/view/tpl/smarty3/oembed_video.tpl +++ b/view/tpl/smarty3/oembed_video.tpl @@ -3,12 +3,7 @@ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN * *}} -<script type="text/javascript" charset="utf-8"> - $(document).ready(function(){ - $("a[rel^='prettyPhoto']").prettyPhoto(); - }); -</script> <a href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); return false;' style='float:left; margin: 1em; position: relative;'> - <img width='{{$tw}}' height='{{$th}}' src='{{$turl}}'> + <img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' > <div style='position: absolute; top: 0px; left: 0px; width: {{$twpx}}; height: {{$thpx}}; background: url({{$baseurl}}/images/icons/48/play.png) no-repeat center center;'></div> </a> |