From 60721f4292bb90ffb34e3416ed73fdb451adbecb Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 26 Apr 2013 22:31:50 +0100 Subject: Colorbox --- view/tpl/jot-header.tpl | 18 +++++++++--------- view/tpl/smarty3/admin_site.tpl | 6 +++--- view/tpl/smarty3/event_head.tpl | 2 +- view/tpl/smarty3/jot-header.tpl | 18 +++++++++--------- view/tpl/smarty3/oembed_video.tpl | 7 ++++++- 5 files changed, 28 insertions(+), 23 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 4736f2137..8d19ab317 100644 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -13,9 +13,9 @@ function initEditor(cb){ $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); $("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); editor = true; - $("a#jot-perms-icon").prettyPhoto({ - 'transitionIn' : 'elastic', - 'transitionOut' : 'elastic' + $("a#jot-perms-icon").colorbox({ + 'inline' : true, + 'transition' : 'elastic' }); $(".jothidden").show(); if (typeof cb!="undefined") cb(); @@ -88,10 +88,10 @@ function initEditor(cb){ editor = true; // setup acl popup - $("a#jot-perms-icon").prettyPhoto({ - 'transitionIn' : 'elastic', - 'transitionOut' : 'elastic' - }); + $("a#jot-perms-icon").colorbox({ + 'inline' : true, + 'transition' : 'elastic' + }); } else { if (typeof cb!="undefined") cb(); } @@ -252,7 +252,7 @@ function enableOnUser(){ var bordercolor = $("input").css("border-color"); $.get('filer/', function(data){ - $.fancybox(data); + $.colorbox({html:data}); $("#id_term").keypress(function(){ $(this).css("border-color",bordercolor); }) @@ -270,7 +270,7 @@ function enableOnUser(){ // if(timer) clearTimeout(timer); // timer = setTimeout(NavUpdate,3000); liking = 1; - $.fancybox.close(); + $.colorbox.close(); } else { $("#id_term").css("border-color","#FF0000"); } diff --git a/view/tpl/smarty3/admin_site.tpl b/view/tpl/smarty3/admin_site.tpl index eaf067c27..96b1746f7 100644 --- a/view/tpl/smarty3/admin_site.tpl +++ b/view/tpl/smarty3/admin_site.tpl @@ -6,7 +6,7 @@ - +
-- cgit v1.2.3