move to colorbox
This commit is contained in:
parent
a8c9d81ad0
commit
2b1dc3576f
|
@ -27,18 +27,23 @@
|
||||||
</ul>
|
</ul>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ if $admin.plugins_admin }}<h4>$plugadmtxt</h4>{{ endif }}
|
{{ if $admin.plugins_admin }}
|
||||||
|
<div class="widget">
|
||||||
|
<h3>$plugadmtxt</h3>
|
||||||
<ul class='admin linklist'>
|
<ul class='admin linklist'>
|
||||||
{{ for $admin.plugins_admin as $l }}
|
{{ for $admin.plugins_admin as $l }}
|
||||||
<li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li>
|
<li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li>
|
||||||
{{ endfor }}
|
{{ endfor }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
<div class="widget">
|
<div class="widget">
|
||||||
<h3>$logtxt</h3>
|
<h3>$logtxt</h3>
|
||||||
<ul class='admin linklist'>
|
<ul class='admin linklist'>
|
||||||
<li class='admin link button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
<li class='admin link button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,13 +13,17 @@ function initEditor(cb){
|
||||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||||
editor = true;
|
editor = true;
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
transitionIn : 'elastic',
|
href:$("a#jot-perms-icon").attr('href'),
|
||||||
transitionOut : 'elastic',
|
inline: true,
|
||||||
afterClose : function() {
|
onClosed : function() {
|
||||||
$.fancybox("#profile-jot-wrapper");
|
$.colorbox({
|
||||||
}
|
href:"#profile-jot-wrapper",
|
||||||
});
|
inline: true,
|
||||||
|
open: true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
$(".jothidden").show();
|
$(".jothidden").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
return;
|
return;
|
||||||
|
@ -108,12 +112,16 @@ function initEditor(cb){
|
||||||
});
|
});
|
||||||
editor = true;
|
editor = true;
|
||||||
// setup acl popup
|
// setup acl popup
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").colorbox({
|
||||||
transitionIn : 'elastic',
|
href:$("a#jot-perms-icon").attr('href'),
|
||||||
transitionOut : 'elastic',
|
inline: true,
|
||||||
afterClose : function() {
|
onClosed : function() {
|
||||||
$.fancybox("#profile-jot-wrapper");
|
$.colorbox({
|
||||||
}
|
href:"#profile-jot-wrapper",
|
||||||
|
inline: true,
|
||||||
|
open: true
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -133,10 +141,10 @@ function enableOnUser(){
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$("a.showjot").fancybox({
|
$("a.showjot").colorbox({
|
||||||
transitionIn : 'elastic',
|
href: $("a.showjot").attr('href'),
|
||||||
transitionOut : 'elastic',
|
inline: true,
|
||||||
beforeShow : function() {
|
onOpen : function() {
|
||||||
enableOnUser();
|
enableOnUser();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -288,7 +296,7 @@ function enableOnUser(){
|
||||||
var bordercolor = $("input").css("border-color");
|
var bordercolor = $("input").css("border-color");
|
||||||
|
|
||||||
$.get('filer/', function(data){
|
$.get('filer/', function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
$("#id_term").keypress(function(){
|
$("#id_term").keypress(function(){
|
||||||
$(this).css("border-color",bordercolor);
|
$(this).css("border-color",bordercolor);
|
||||||
})
|
})
|
||||||
|
@ -306,7 +314,7 @@ function enableOnUser(){
|
||||||
// if(timer) clearTimeout(timer);
|
// if(timer) clearTimeout(timer);
|
||||||
// timer = setTimeout(NavUpdate,3000);
|
// timer = setTimeout(NavUpdate,3000);
|
||||||
liking = 1;
|
liking = 1;
|
||||||
$.fancybox.close();
|
$.colorbox.close();
|
||||||
} else {
|
} else {
|
||||||
$("#id_term").css("border-color","#FF0000");
|
$("#id_term").css("border-color","#FF0000");
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,9 +56,9 @@
|
||||||
<div id="profile-jot-email-end"></div>
|
<div id="profile-jot-email-end"></div>
|
||||||
$jotnets
|
$jotnets
|
||||||
<div class="buttonbar" >
|
<div class="buttonbar" >
|
||||||
<a href="#" class="button" onclick="$.fancybox.close(); return false;">Ok</a>
|
<a href="#" class="button" onclick="$.colorbox.close(); return false;">Ok</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a href="#profile-jot-wrapper" class="showjot button">$share</a>
|
<a href="#profile-jot-wrapper" class="showjot button">$share</a>
|
||||||
|
|
|
@ -90,7 +90,7 @@ $group_select
|
||||||
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
|
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
|
||||||
$aclselect
|
$aclselect
|
||||||
<div class="buttonbar" >
|
<div class="buttonbar" >
|
||||||
<a href="#" class="button" onclick="$.fancybox.close(); return false;">Ok</a>
|
<a href="#" class="button" onclick="$.colorbox.close(); return false;">Ok</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,7 +23,12 @@ $live_update
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
// setup reply popup forms
|
// setup reply popup forms
|
||||||
$(".reply-link").fancybox();
|
$(".reply-link").colorbox({
|
||||||
|
href: function() {
|
||||||
|
return $(this).attr('href');
|
||||||
|
},
|
||||||
|
inline: true
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -35,4 +40,4 @@ $live_update
|
||||||
$('#li-comment-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);
|
$('#li-comment-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
Loading…
Reference in New Issue