aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-04-26 23:00:10 +0100
committerThomas Willingham <founder@kakste.com>2013-04-26 23:00:10 +0100
commit2f43553542ff5bd267dafc441b267343f2b0cf4d (patch)
tree1e2de62ff61abfb8e90db26442bd85252fcb0af2 /view
parent6383203ebc04c41c069442bffe4c3aa7fcb4caf9 (diff)
downloadvolse-hubzilla-2f43553542ff5bd267dafc441b267343f2b0cf4d.tar.gz
volse-hubzilla-2f43553542ff5bd267dafc441b267343f2b0cf4d.tar.bz2
volse-hubzilla-2f43553542ff5bd267dafc441b267343f2b0cf4d.zip
Unbork smarty templates.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/smarty3/admin_site.tpl6
-rw-r--r--view/tpl/smarty3/event_head.tpl2
-rw-r--r--view/tpl/smarty3/oembed_video.tpl7
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>