Merge https://github.com/friendica/friendica into pull
|
@ -219,7 +219,7 @@ function contact_photo_menu($contact) {
|
||||||
|
|
||||||
$poke_link = $a->get_baseurl() . '/poke/?f=&c=' . $contact['id'];
|
$poke_link = $a->get_baseurl() . '/poke/?f=&c=' . $contact['id'];
|
||||||
$contact_url = $a->get_baseurl() . '/contacts/' . $contact['id'];
|
$contact_url = $a->get_baseurl() . '/contacts/' . $contact['id'];
|
||||||
$posts_link = $a->get_baseurl() . '/network/?cid=' . $contact['id'];
|
$posts_link = $a->get_baseurl() . '/network/0?nets=all&cid=' . $contact['id'];
|
||||||
|
|
||||||
$menu = Array(
|
$menu = Array(
|
||||||
'poke' => array(t("Poke"), $poke_link),
|
'poke' => array(t("Poke"), $poke_link),
|
||||||
|
|
|
@ -339,7 +339,7 @@ function populate_acl($user = null,$celeb = false) {
|
||||||
function construct_acl_data(&$a, $user) {
|
function construct_acl_data(&$a, $user) {
|
||||||
|
|
||||||
// Get group and contact information for html ACL selector
|
// Get group and contact information for html ACL selector
|
||||||
$acl_data = acl_lookup(&$a, 'html');
|
$acl_data = acl_lookup($a, 'html');
|
||||||
|
|
||||||
$user_defaults = get_acl_permissions($user);
|
$user_defaults = get_acl_permissions($user);
|
||||||
|
|
||||||
|
|
|
@ -795,7 +795,7 @@ function item_photo_menu($item){
|
||||||
if(($cid) && (! $item['self'])) {
|
if(($cid) && (! $item['self'])) {
|
||||||
$poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $cid;
|
$poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $cid;
|
||||||
$contact_url = $a->get_baseurl($ssl_state) . '/contacts/' . $cid;
|
$contact_url = $a->get_baseurl($ssl_state) . '/contacts/' . $cid;
|
||||||
$posts_link = $a->get_baseurl($ssl_state) . '/network/?cid=' . $cid;
|
$posts_link = $a->get_baseurl($ssl_state) . '/network/0?nets=all&cid=' . $cid;
|
||||||
|
|
||||||
$clean_url = normalise_link($item['author-link']);
|
$clean_url = normalise_link($item['author-link']);
|
||||||
|
|
||||||
|
|
|
@ -266,14 +266,8 @@ function item_permissions_sql($owner_id,$remote_verified = false,$groups = null)
|
||||||
* Profile owner - everything is visible
|
* Profile owner - everything is visible
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if($local_user) {
|
if($local_user && ($local_user == $owner_id)) {
|
||||||
if($local_user == $owner_id) {
|
$sql = '';
|
||||||
$sql = '';
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
/* logged in user can see hidden walls and feeds that are blocked to unknown users (private == 2) */
|
|
||||||
$sql = " AND private != 1 ";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
7
js/ajaxupload.min.js
vendored
13
js/country.min.js
vendored
6
js/fk.autocomplete.min.js
vendored
|
@ -1,5 +1 @@
|
||||||
/**
|
function ACPopup(elm,backend_url){this.idsel=-1;this.element=elm;this.searchText="";this.ready=true;this.kp_timer=false;this.url=backend_url;var w=530;var h=130;if(typeof elm.editorId=="undefined"){style=$(elm).offset();w=$(elm).width();h=$(elm).height()}else{var container=elm.getContainer();if(typeof container!="undefined"){style=$(container).offset();w=$(container).width();h=$(container).height()}}style.top=style.top+h;style.width=w;style.position="absolute";style.display="none";this.cont=$("<div class='acpopup'></div>");this.cont.css(style);$("body").append(this.cont)}ACPopup.prototype.close=function(){$(this.cont).remove();this.ready=false};ACPopup.prototype.search=function(text){var that=this;this.searchText=text;if(this.kp_timer)clearTimeout(this.kp_timer);this.kp_timer=setTimeout(function(){that._search()},500)};ACPopup.prototype._search=function(){console.log("_search");var that=this;var postdata={start:0,count:100,search:this.searchText,type:"c"};$.ajax({type:"POST",url:this.url,data:postdata,dataType:"json",success:function(data){that.cont.html("");if(data.tot>0){that.cont.show();$(data.items).each(function(){html="<img src='{0}' height='16px' width='16px'>{1} ({2})".format(this.photo,this.name,this.nick);that.add(html,this.nick.replace(" ","")+"+"+this.id+" - "+this.link)})}else{that.cont.hide()}}})};ACPopup.prototype.add=function(label,value){var that=this;var elm=$("<div class='acpopupitem' title='"+value+"'>"+label+"</div>");elm.click(function(e){t=$(this).attr("title").replace(new RegExp(" - .*"),"");if(typeof that.element.container==="undefined"){el=$(that.element);sel=el.getSelection();sel.start=sel.start-that.searchText.length;el.setSelection(sel.start,sel.end).replaceSelectedText(t+" ").collapseSelection(false);that.close()}else{txt=tinyMCE.activeEditor.getContent();newtxt=txt.replace("@"+that.searchText,"@"+t+" ");tinyMCE.activeEditor.setContent(newtxt);tinyMCE.activeEditor.focus();that.close()}});$(this.cont).append(elm)};ACPopup.prototype.onkey=function(event){if(event.keyCode=="13"){if(this.idsel>-1){this.cont.children()[this.idsel].click();event.preventDefault()}else this.close()}if(event.keyCode=="38"){cmax=this.cont.children().size()-1;this.idsel--;if(this.idsel<0)this.idsel=cmax;event.preventDefault()}if(event.keyCode=="40"||event.keyCode=="9"){cmax=this.cont.children().size()-1;this.idsel++;if(this.idsel>cmax)this.idsel=0;event.preventDefault()}if(event.keyCode=="38"||event.keyCode=="40"||event.keyCode=="9"){this.cont.children().removeClass("selected");$(this.cont.children()[this.idsel]).addClass("selected")}if(event.keyCode=="27"){this.close()}};function ContactAutocomplete(element,backend_url){this.pattern=/@([^ \n]+)$/;this.popup=null;var that=this;$(element).unbind("keydown");$(element).unbind("keyup");$(element).keydown(function(event){if(that.popup!==null)that.popup.onkey(event)});$(element).keyup(function(event){cpos=$(this).getSelection();if(cpos.start==cpos.end){match=$(this).val().substring(0,cpos.start).match(that.pattern);if(match!==null){if(that.popup===null){that.popup=new ACPopup(this,backend_url)}if(that.popup.ready&&match[1]!==that.popup.searchText)that.popup.search(match[1]);if(!that.popup.ready)that.popup=null}else{if(that.popup!==null){that.popup.close();that.popup=null}}}})}(function($){$.fn.contact_autocomplete=function(backend_url){this.each(function(){new ContactAutocomplete(this,backend_url)})}})(jQuery);
|
||||||
* Friendica people autocomplete
|
|
||||||
*
|
|
||||||
* require jQuery, jquery.textareas
|
|
||||||
*/function ACPopup(e,t){this.idsel=-1,this.element=e,this.searchText="",this.ready=!0,this.kp_timer=!1,this.url=t;var n=530,r=130;if(typeof e.editorId=="undefined")style=$(e).offset(),n=$(e).width(),r=$(e).height();else{var i=e.getContainer();typeof i!="undefined"&&(style=$(i).offset(),n=$(i).width(),r=$(i).height())}style.top=style.top+r,style.width=n,style.position="absolute",style.display="none",this.cont=$("<div class='acpopup'></div>"),this.cont.css(style),$("body").append(this.cont)}function ContactAutocomplete(e,t){this.pattern=/@([^ \n]+)$/,this.popup=null;var n=this;$(e).unbind("keydown"),$(e).unbind("keyup"),$(e).keydown(function(e){n.popup!==null&&n.popup.onkey(e)}),$(e).keyup(function(e){cpos=$(this).getSelection(),cpos.start==cpos.end&&(match=$(this).val().substring(0,cpos.start).match(n.pattern),match!==null?(n.popup===null&&(n.popup=new ACPopup(this,t)),n.popup.ready&&match[1]!==n.popup.searchText&&n.popup.search(match[1]),n.popup.ready||(n.popup=null)):n.popup!==null&&(n.popup.close(),n.popup=null))})}ACPopup.prototype.close=function(){$(this.cont).remove(),this.ready=!1},ACPopup.prototype.search=function(e){var t=this;this.searchText=e,this.kp_timer&&clearTimeout(this.kp_timer),this.kp_timer=setTimeout(function(){t._search()},500)},ACPopup.prototype._search=function(){console.log("_search");var e=this,t={start:0,count:100,search:this.searchText,type:"c"};$.ajax({type:"POST",url:this.url,data:t,dataType:"json",success:function(t){e.cont.html(""),t.tot>0?(e.cont.show(),$(t.items).each(function(){html="<img src='{0}' height='16px' width='16px'>{1} ({2})".format(this.photo,this.name,this.nick),e.add(html,this.nick.replace(" ","")+"+"+this.id+" - "+this.link)})):e.cont.hide()}})},ACPopup.prototype.add=function(e,n){var r=this,i=$("<div class='acpopupitem' title='"+n+"'>"+e+"</div>");i.click(function(e){t=$(this).attr("title").replace(new RegExp(" - .*"),""),typeof r.element.container=="undefined"?(el=$(r.element),sel=el.getSelection(),sel.start=sel.start-r.searchText.length,el.setSelection(sel.start,sel.end).replaceSelectedText(t+" ").collapseSelection(!1),r.close()):(txt=tinyMCE.activeEditor.getContent(),newtxt=txt.replace(r.searchText,t+" "),tinyMCE.activeEditor.setContent(newtxt),tinyMCE.activeEditor.focus(),r.close())}),$(this.cont).append(i)},ACPopup.prototype.onkey=function(e){e.keyCode=="13"&&(this.idsel>-1?(this.cont.children()[this.idsel].click(),e.preventDefault()):this.close()),e.keyCode=="38"&&(cmax=this.cont.children().size()-1,this.idsel--,this.idsel<0&&(this.idsel=cmax),e.preventDefault());if(e.keyCode=="40"||e.keyCode=="9")cmax=this.cont.children().size()-1,this.idsel++,this.idsel>cmax&&(this.idsel=0),e.preventDefault();if(e.keyCode=="38"||e.keyCode=="40"||e.keyCode=="9")this.cont.children().removeClass("selected"),$(this.cont.children()[this.idsel]).addClass("selected");e.keyCode=="27"&&this.close()},function(e){e.fn.contact_autocomplete=function(e){this.each(function(){new ContactAutocomplete(this,e)})}}(jQuery);
|
|
7
js/jquery.htmlstream.min.js
vendored
|
@ -1,6 +1 @@
|
||||||
/* jQuery ajax stream plugin
|
(function($){var ajax_old=$.ajax;var get_old=$.get;var post_old=$.post;var active=true;$.ajaxSetup({stream:false,pollInterval:500});$.enableAjaxStream=function(enable){if(typeof enable=="undefined")enable=!active;if(!enable){$.ajax=ajax_old;$.get=get_old;$.post=post_old;active=false}else{$.ajax=ajax_stream;$.get=ajax_get_stream;$.post=ajax_post_stream;active=true}};var ajax_stream=$.ajax=function(options){options=jQuery.extend(true,options,jQuery.extend(true,{},jQuery.ajaxSettings,options));if(options.stream){var timer=0;var offset=0;var xmlhttp=null;var lastlen=0;var done=false;var hook=function(xhr){xmlhttp=xhr;checkagain()};var fix=function(){check("stream")};var checkagain=function(){if(!done)timer=setTimeout(fix,options.pollInterval)};var check=function(status){if(typeof status=="undefined")status="stream";if(xmlhttp.status<3)return;var text=xmlhttp.responseText;if(status=="stream"){if(text.length<=lastlen){checkagain();return}lastlength=text.length;if(offset==text.length){checkagain();return}}var pkt=text.substr(offset);offset=text.length;if($.isFunction(options.OnDataRecieved)){options.OnDataRecieved(pkt,status,xmlhttp.responseText,xmlhttp)}if(xmlhttp.status!=4)checkagain()};var complete=function(xhr,s){clearTimeout(timer);done=true;check(s)};if($.isFunction(options.success)){var oc=options.success;options.success=function(xhr,s){complete(xhr,s);oc(xhr,s)}}else options.success=complete;if($.isFunction(options.beforeSend)){var obs=options.beforeSend;options.beforeSend=function(xhr){obs(xhr);hook(xhr)}}else options.beforeSend=hook}ajax_old(options)};var ajax_get_stream=$.get=function(url,data,callback,type,stream){if($.isFunction(data)){var orgcb=callback;callback=data;if($.isFunction(orgcb)){stream=orgcb}data=null}if($.isFunction(type)){stream=type;type=undefined}var dostream=$.isFunction(stream);return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type,stream:dostream,OnDataRecieved:stream})};var ajax_post_stream=$.post=function(url,data,callback,type,stream){if($.isFunction(data)){var orgcb=callback;callback=data}if($.isFunction(type)){stream=type;type=undefined}var dostream=$.isFunction(stream);return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type,stream:dostream,OnDataRecieved:stream})}})(jQuery);
|
||||||
* Version 0.1
|
|
||||||
* Copyright (C) 2009 Chris Tarquini
|
|
||||||
* Licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License (http://creativecommons.org/licenses/by-sa/3.0/)
|
|
||||||
* Permissions beyond the scope of this license may be available by contacting petros000[at]hotmail.com.
|
|
||||||
*/(function(e){var t=e.ajax,n=e.get,r=e.post,i=!0;e.ajaxSetup({stream:!1,pollInterval:500}),e.enableAjaxStream=function(a){typeof a=="undefined"&&(a=!i),a?(e.ajax=s,e.get=o,e.post=u,i=!0):(e.ajax=t,e.get=n,e.post=r,i=!1)};var s=e.ajax=function(n){n=jQuery.extend(!0,n,jQuery.extend(!0,{},jQuery.ajaxSettings,n));if(n.stream){var r=0,i=0,s=null,o=0,u=!1,a=function(e){s=e,l()},f=function(){c("stream")},l=function(){u||(r=setTimeout(f,n.pollInterval))},c=function(t){typeof t=="undefined"&&(t="stream");if(s.status<3)return;var r=s.responseText;if(t=="stream"){if(r.length<=o){l();return}lastlength=r.length;if(i==r.length){l();return}}var u=r.substr(i);i=r.length,e.isFunction(n.OnDataRecieved)&&n.OnDataRecieved(u,t,s.responseText,s),s.status!=4&&l()},h=function(e,t){clearTimeout(r),u=!0,c(t)};if(e.isFunction(n.success)){var p=n.success;n.success=function(e,t){h(e,t),p(e,t)}}else n.success=h;if(e.isFunction(n.beforeSend)){var d=n.beforeSend;n.beforeSend=function(e){d(e),a(e)}}else n.beforeSend=a}t(n)},o=e.get=function(t,n,r,i,s){if(e.isFunction(n)){var o=r;r=n,e.isFunction(o)&&(s=o),n=null}e.isFunction(i)&&(s=i,i=undefined);var u=e.isFunction(s);return jQuery.ajax({type:"GET",url:t,data:n,success:r,dataType:i,stream:u,OnDataRecieved:s})},u=e.post=function(t,n,r,i,s){if(e.isFunction(n)){var o=r;r=n}e.isFunction(i)&&(s=i,i=undefined);var u=e.isFunction(s);return jQuery.ajax({type:"POST",url:t,data:n,success:r,dataType:i,stream:u,OnDataRecieved:s})}})(jQuery);
|
|
|
@ -103,9 +103,13 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// fancyboxes
|
// fancyboxes
|
||||||
$("a.popupbox").fancybox({
|
/*$("a.popupbox").fancybox({
|
||||||
'transitionIn' : 'elastic',
|
'transitionIn' : 'elastic',
|
||||||
'transitionOut' : 'elastic'
|
'transitionOut' : 'elastic'
|
||||||
|
});*/
|
||||||
|
$("a.popupbox").colorbox({
|
||||||
|
'inline' : true,
|
||||||
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
1
js/main.min.js
vendored
Normal file
7
js/webtoolkit.base64.min.js
vendored
|
@ -1,6 +1 @@
|
||||||
/**
|
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(input){var output="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=Base64._utf8_encode(input);while(i<input.length){chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=(chr1&3)<<4|chr2>>4;enc3=(chr2&15)<<2|chr3>>6;enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64}else if(isNaN(chr3)){enc4=64}output=output+this._keyStr.charAt(enc1)+this._keyStr.charAt(enc2)+this._keyStr.charAt(enc3)+this._keyStr.charAt(enc4)}return output},decode:function(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i<input.length){enc1=this._keyStr.indexOf(input.charAt(i++));enc2=this._keyStr.indexOf(input.charAt(i++));enc3=this._keyStr.indexOf(input.charAt(i++));enc4=this._keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!=64){output=output+String.fromCharCode(chr2)}if(enc4!=64){output=output+String.fromCharCode(chr3)}}output=Base64._utf8_decode(output);return output},_utf8_encode:function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++){var c=string.charCodeAt(n);if(c<128){utftext+=String.fromCharCode(c)}else if(c>127&&c<2048){utftext+=String.fromCharCode(c>>6|192);utftext+=String.fromCharCode(c&63|128)}else{utftext+=String.fromCharCode(c>>12|224);utftext+=String.fromCharCode(c>>6&63|128);utftext+=String.fromCharCode(c&63|128)}}return utftext},_utf8_decode:function(utftext){var string="";var i=0;var c=c1=c2=0;while(i<utftext.length){c=utftext.charCodeAt(i);if(c<128){string+=String.fromCharCode(c);i++}else if(c>191&&c<224){c2=utftext.charCodeAt(i+1);string+=String.fromCharCode((c&31)<<6|c2&63);i+=2}else{c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode((c&15)<<12|(c2&63)<<6|c3&63);i+=3}}return string}};
|
||||||
*
|
|
||||||
* Base64 encode / decode
|
|
||||||
* http://www.webtoolkit.info/
|
|
||||||
*
|
|
||||||
**/var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t="",n,r,i,s,o,u,a,f=0;e=Base64._utf8_encode(e);while(f<e.length)n=e.charCodeAt(f++),r=e.charCodeAt(f++),i=e.charCodeAt(f++),s=n>>2,o=(n&3)<<4|r>>4,u=(r&15)<<2|i>>6,a=i&63,isNaN(r)?u=a=64:isNaN(i)&&(a=64),t=t+this._keyStr.charAt(s)+this._keyStr.charAt(o)+this._keyStr.charAt(u)+this._keyStr.charAt(a);return t},decode:function(e){var t="",n,r,i,s,o,u,a,f=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(f<e.length)s=this._keyStr.indexOf(e.charAt(f++)),o=this._keyStr.indexOf(e.charAt(f++)),u=this._keyStr.indexOf(e.charAt(f++)),a=this._keyStr.indexOf(e.charAt(f++)),n=s<<2|o>>4,r=(o&15)<<4|u>>2,i=(u&3)<<6|a,t+=String.fromCharCode(n),u!=64&&(t+=String.fromCharCode(r)),a!=64&&(t+=String.fromCharCode(i));return t=Base64._utf8_decode(t),t},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");var t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(r&63|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(r&63|128))}return t},_utf8_decode:function(e){var t="",n=0,r=c1=c2=0;while(n<e.length)r=e.charCodeAt(n),r<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(c2=e.charCodeAt(n+1),t+=String.fromCharCode((r&31)<<6|c2&63),n+=2):(c2=e.charCodeAt(n+1),c3=e.charCodeAt(n+2),t+=String.fromCharCode((r&15)<<12|(c2&63)<<6|c3&63),n+=3);return t}};
|
|
376
library/colorbox/README.md
Normal file
|
@ -0,0 +1,376 @@
|
||||||
|
## About ColorBox:
|
||||||
|
A customizable lightbox plugin for jQuery. See the [project page](http://jacklmoore.com/colorbox/) for documentation and a demonstration, and the [FAQ](http://jacklmoore.com/colorbox/faq/) for solutions and examples to common issues. Released under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
|
||||||
|
|
||||||
|
## Translations Welcome
|
||||||
|
Send me your language configuration files. See /i18n/jquery.colorbox-de.js as an example.
|
||||||
|
|
||||||
|
## Changelog:
|
||||||
|
|
||||||
|
### Version 1.3.32 - 2013/1/31
|
||||||
|
|
||||||
|
* Improved internal event subscribing & fixed event bug introduced in v1.3.21
|
||||||
|
|
||||||
|
### Version 1.3.31 - 2013/1/28
|
||||||
|
|
||||||
|
* Fixed a size-calculation bug introduced in the previous commit.
|
||||||
|
|
||||||
|
### Version 1.3.30 - 2013/1/25
|
||||||
|
|
||||||
|
* Delayed border-width calculations until after opening, to avoid a bug in FF when using ColorBox in a hidden iframe.
|
||||||
|
|
||||||
|
### Version 1.3.29 - 2013/1/24
|
||||||
|
|
||||||
|
* Fixes bug with bubbling delegated events, introduced in the previous commit.
|
||||||
|
|
||||||
|
### Version 1.3.28 - 2013/1/24
|
||||||
|
|
||||||
|
* Fixed compatibility issue with old versions of jQuery (1.3.2-1.4.2)
|
||||||
|
|
||||||
|
### Version 1.3.27 - 2013/1/23
|
||||||
|
|
||||||
|
* Added className property.
|
||||||
|
|
||||||
|
### Version 1.3.26 - 2013/1/23
|
||||||
|
|
||||||
|
* Minor bugfix: clear the onload event handler after photo has loaded.
|
||||||
|
|
||||||
|
### Version 1.3.25 - 2013/1/23
|
||||||
|
|
||||||
|
* Removed grunt file & added Bower component.json.
|
||||||
|
|
||||||
|
### Version 1.3.24 - 2013/1/22
|
||||||
|
|
||||||
|
* Added generated files (jquery.colorbox.js / jquery.colorbox-min.js) back to the repository.
|
||||||
|
|
||||||
|
### Version 1.3.23 - 2013/1/18
|
||||||
|
|
||||||
|
* Minor bugfix for calling ColorBox on empty jQuery collections without a selector.
|
||||||
|
|
||||||
|
### Version 1.3.22 - 2013/1/17
|
||||||
|
|
||||||
|
* Recommit for plugins.jquery.com
|
||||||
|
|
||||||
|
### Version 1.3.21 - 2013/1/15
|
||||||
|
Files Changed: *.js
|
||||||
|
|
||||||
|
* Fixed compatability issues with jQuery 1.9
|
||||||
|
|
||||||
|
### Version 1.3.20 - August 15 2012
|
||||||
|
Files Changed:jquery.colorbox.js
|
||||||
|
|
||||||
|
* Added temporary workaround for jQuery-UI 1.8 bug (http://bugs.jquery.com/ticket/12273)
|
||||||
|
* Added *.jpe extension to the list of image types.
|
||||||
|
|
||||||
|
### Version 1.3.19 - December 08 2011
|
||||||
|
Files Changed:jquery.colorbox.js, colorbox.css (all)
|
||||||
|
|
||||||
|
* Fixed bug related to using the 'fixed' property.
|
||||||
|
* Optimized the setup procedure to be more efficient.
|
||||||
|
* Removed $.colorbox.init() as it will no longer be needed (will self-init when called).
|
||||||
|
* Removed use of $.browser.
|
||||||
|
|
||||||
|
### Version 1.3.18 - October 07 2011
|
||||||
|
Files Changed:jquery.colorbox.js/jquery.colorbox-min.js, colorbox.css (all) and example 1's controls.png
|
||||||
|
|
||||||
|
* Fixed a regression where Flash content displayed in ColorBox would be reloaded if the browser window was resized.
|
||||||
|
* Added safety check to make sure that ColorBox's markup is only added to the DOM a single time, even if $.colorbox.init() is called multiple times. This will allow site owners to manually initialize ColorBox if they need it before the DOM has finished loading.
|
||||||
|
* Updated the example index.html files to be HTML5 compliant.
|
||||||
|
* Changed the slideshow behavior so that it immediately moves to the next slide when the slideshow is started.
|
||||||
|
* Minor regex bugfix to allow automatic detection of image URLs that include fragments.
|
||||||
|
|
||||||
|
### Version 1.3.17 - May 11 2011
|
||||||
|
Files Changed:jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Added properties "top", "bottom", "left" and "right" to specify a position relative to the viewport, rather than using the default centering.
|
||||||
|
* Added property "data" to specify GET or POST data when using Ajax. ColorBox's ajax functionality is handled by jQuery's .load() method, so the data property works the same way as it does with .load().
|
||||||
|
* Added property "fixed" which can provide fixed positioning for ColorBox, rather than absolute positioning. This will allow ColorBox to remain in a fixed position within the visitors viewport, despite scrolling. IE6 support for this was not added, it will continue to use the default absolute positioning.
|
||||||
|
* Fixed ClearType problem with IE7.
|
||||||
|
* Minor fixes.
|
||||||
|
|
||||||
|
### Version 1.3.16 - March 01 2011
|
||||||
|
Files Changed:jquery.colorbox.js/jquery.colorbox-min.js, colorbox.css (all) and example 4 background png files
|
||||||
|
|
||||||
|
* Better IE related transparency workarounds. IE7 and up now uses the same background image sprite as other browsers.
|
||||||
|
* Added error handling for broken image links. A message will be displayed telling the user that the image could not be loaded.
|
||||||
|
* Added new property: 'fastIframe' and set it to true by default. Setting to fastIframe:false will delay the loading graphic removal and onComplete event until iframe has completely loaded.
|
||||||
|
* Ability to redefine $.colorbox.close (or prev, or next) at any time.
|
||||||
|
|
||||||
|
### Version 1.3.15 - October 27 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Minor fixes for specific cases.
|
||||||
|
|
||||||
|
### Version 1.3.14 - October 27 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* In IE6, closing an iframe when using HTTPS no longer generates a security warning.
|
||||||
|
|
||||||
|
### Version 1.3.13 - October 22 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Changed the index.html example files to use YouTube's new embedded link format.
|
||||||
|
* By default, ColorBox returns focus to the element it was launched from once it closes. This can now be disabled by setting the 'returnFocus' property to false. Focus was causing problems for some users who had their anchor elements inside animated containers.
|
||||||
|
* Minor bug fix involved in using a combination of slideshow and non-slideshow content.
|
||||||
|
|
||||||
|
### Version 1.3.12 - October 20 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Minor bug fix involved in preloading images when using a function as a value for the href property.
|
||||||
|
|
||||||
|
### Version 1.3.11 - October 19 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Fixed the slideshow functionality that broke with 1.3.10
|
||||||
|
* The slideshow now respects the loop property.
|
||||||
|
|
||||||
|
### Version 1.3.10 - October 16 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Fixed compatibility with jQuery 1.4.3
|
||||||
|
* The 'open' property now accepts a function as a value, like all of the other properties.
|
||||||
|
* Preloading now loads the correct href for images when using a dynamic (function) value for the href property.
|
||||||
|
* Fixed bug in Safari 3 for Win where ColorBox centered on the document, rather than the visitor's viewport.
|
||||||
|
* May have fixed an issue in Opera 10.6+ where ColorBox would rarely/randomly freeze up while switching between photos in a group.
|
||||||
|
* Some functionality better encapsulated & minor performance improvements.
|
||||||
|
|
||||||
|
### Version 1.3.9 - July 7 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js/ all colorbox.css (the core styles)
|
||||||
|
|
||||||
|
* Fixed a problem where iframed youtube videos would cause a security alert in IE.
|
||||||
|
* More code is event driven now, making the source easier to grasp.
|
||||||
|
* Removed some unnecessary style from the core CSS.
|
||||||
|
|
||||||
|
### Version 1.3.8 - June 21 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Fixed a bug in Chrome where it would sometimes render photos at 0 by 0 width and height (behavior introduced in recent update to Chrome).
|
||||||
|
* Fixed a bug where the onClosed callback would fire twice (only affected 1.3.7).
|
||||||
|
* Fixed a bug in IE7 that existed with some iframed websites that use JS to reposition the viewport caused ColorBox to move out of position.
|
||||||
|
* Abstracted the identifiers (HTML ids & classes, and JS plugin name, method, and events) so that the plugin can be easily rebranded.
|
||||||
|
* Small changes to improve either code readability or compression.
|
||||||
|
|
||||||
|
### Version 1.3.7 - June 13 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js/index.html
|
||||||
|
|
||||||
|
* $.colorbox can now be used for direct calls and accessing public methods. Example: $.colorbox.close();
|
||||||
|
* Resize now accepts 'width', 'innerWidth', 'height' and 'innerHeight'. Example: $.colorbox.resize({width:"100%"})
|
||||||
|
* Added option (loop:false) to disable looping in a group.
|
||||||
|
* Added options (escKey:false, arrowKey:false) to disable esc-key and arrow-key bindings.
|
||||||
|
* Added method for removing ColorBox from a document: $.colorbox.remove();
|
||||||
|
* Fixed a bug where iframed URLs would be truncated if they contained an unencoded apostrophe.
|
||||||
|
* Now uses the exact href specified on an anchor, rather than the version returned by 'this.href'. This was causing "#example" to be normalized to "http://domain/#example" which interfered with how some users were setting up links to inline content.
|
||||||
|
* Changed example documents over to HTML5.
|
||||||
|
|
||||||
|
### Version 1.3.6 - Jan 13 2010
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Small change to make ColorBox compatible with jQuery 1.4
|
||||||
|
|
||||||
|
### Version 1.3.5 - December 15 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Fixed a bug introduced in 1.3.4 with IE7's display of example 2 and 3, and auto-width in Opera.
|
||||||
|
* Fixed a bug introduced in 1.3.4 where colorbox could not be launched by triggering an element's click event through JavaScript.
|
||||||
|
* Minor refinements.
|
||||||
|
|
||||||
|
### Version 1.3.4 - December 5 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Event delegation is now used for elements that ColorBox is assigned to, rather than individual click events.
|
||||||
|
* Additional callbacks have been added to represent other stages of ColorBox's lifecycle. Available callbacks, in order of their execution: onOpen, onLoad, onComplete, onCleanup, onClosed These take place at the same time as the event hooks, but will be better suited than the hooks for targeting specific instances of ColorBox.
|
||||||
|
* Ajax content is now immediately added to the DOM to be more compatible if that content contains script tags.
|
||||||
|
* Focus is now returned to the calling element on closing.
|
||||||
|
* Fixed a bug where maxHeight and maxWidth did not work for non-photo content.
|
||||||
|
* Direct calls no longer need 'open:true', it is assumed. Example: `$.fn.colorbox({html:'<p>Hi</p>'});`
|
||||||
|
|
||||||
|
### Version 1.3.3 - November 7 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Changed $.fn.colorbox.element() to return a jQuery object rather the DOM element.
|
||||||
|
* jQuery.colorbox-min.js is compressed with Google's Closure Compiler rather than YUI Compressor.
|
||||||
|
|
||||||
|
### Version 1.3.2 - October 27 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Added 'innerWidth' and 'innerHeight' options to allow people to easily set the size dimensions for ColorBox, without having to anticipate the size of the borders and buttons.
|
||||||
|
* Renamed 'scrollbars' option to 'scrolling' to be in keeping with the existing HTML attribute. The option now also applies to iframes.
|
||||||
|
* Bug fix: In Safari, positioning occassionally incorrect when using '100%' dimensions.
|
||||||
|
* Bug fix: In IE6, the background overlay is briefly not full size when first viewing.
|
||||||
|
* Bug fix: In Firefox, opening ColorBox causes a split second shift with a small minority of webpage layouts.
|
||||||
|
* Simplified code in a few areas.
|
||||||
|
|
||||||
|
### Version 1.3.1 - September 16 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js/colorbox.css/colorbox-ie.css(removed)
|
||||||
|
|
||||||
|
* Removed the IE-only stylesheets and conditional comments for example styles 1 & 4. All CSS is handled by a single CSS file for all examples.
|
||||||
|
* Removed user-agent sniffing from the js and replaced it with feature detection. This will allow correct rendering for visitors masking their agent type.
|
||||||
|
|
||||||
|
### Version 1.3.0 - September 15 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js/colorbox.css
|
||||||
|
|
||||||
|
* Added $.fn.colorbox.resize() method to allow ColorBox to resize it's height if it's contents change.
|
||||||
|
* Added 'scrollbars' option to allow users to turn off scrollbars when using the resize() method.
|
||||||
|
* Renamed the 'resize' option to be less ambiguous. It's now 'scalePhotos'.
|
||||||
|
* Renamed the 'cbox_close' event to be less ambiguous. It's now 'cbox_cleanup'. It is the first thing to happen in the close method while the 'cbox_closed' event is the last to happen.
|
||||||
|
* Fixed a bug with the slideshow mouseover graphics that appeared after ColorBox is opened a 2nd time.
|
||||||
|
* Fixed a bug where ClearType may not work in IE6&7 if using the fade transition.
|
||||||
|
* Minor code optimizations to increase compression.
|
||||||
|
|
||||||
|
### Version 1.2.9 - August 7 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Minor change to enable use with $.getScript();
|
||||||
|
* Minor change to the timing of the 'cbox_load' event so that it is more useful.
|
||||||
|
* Added a direct link to a YouTube video to the examples.
|
||||||
|
|
||||||
|
### Version 1.2.8 - August 5 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Fixed a bug with the overlay in IE6
|
||||||
|
* Fixed a bug where left & right keypress events might be prematurely unbound.
|
||||||
|
|
||||||
|
### Version 1.2.7 - July 31 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js, example stylesheets and background images (core styles have not changed and the updates will not affect existing user themes / old example themes)
|
||||||
|
|
||||||
|
* Code cleanup and reduction, better organization and documentation in the full source.
|
||||||
|
* Added ability to use functions in place of static values for ColorBox's options (thanks Ken!).
|
||||||
|
* Added an option for straight HTML. Example: `$.fn.colorbox({html:'<p>Howdy</p>', open:true})`
|
||||||
|
* Added an event for the beginning of the closing process. This is in addition to the event that already existed for when ColorBox had completely closed. 'cbox_close' and 'cbox_closed' respectively.
|
||||||
|
* Fixed a minor bug in IE6 that would cause a brief content shift in the parent document when opening ColorBox.
|
||||||
|
* Fixed a minor bug in IE6 that would reveal select elements that had a hidden visibility after closing ColorBox.
|
||||||
|
* The 'esc' key is unbound now when ColorBox is not open, to avoid any potential conflicts.
|
||||||
|
* Used background sprites for examples 1 & 4. Put IE-only (non-sprite) background images in a separate folder.
|
||||||
|
* Example themes 1, 3, & 4 received slight visual tweaks.
|
||||||
|
* Optimized pngs for smaller file size.
|
||||||
|
* Added slices, grid, and correct sizing to the Adobe Illustrator file, all theme files are now export ready!
|
||||||
|
|
||||||
|
### Version 1.2.6 - July 15 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Fixed a bug with fixed width/height images in Opera 9.64.
|
||||||
|
* Fixed a bug with trying to set a value for rel during a direct call to ColorBox. Example: `$.fn.colorbox({rel:'foo', open:true});`
|
||||||
|
* Changed how href/rel/title settings are determined to avoid users having to manually update ColorBox settings if they use JavaScript to update any of those attributes, after ColorBox has been defined.
|
||||||
|
* Fixed a FF3 bug where the back button was disabled after closing an iframe.
|
||||||
|
|
||||||
|
### Version 1.2.5 - June 23 2009
|
||||||
|
Files Changed: jquery.colorbox.js/jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Changed the point at which iframe srcs are set (to eliminate the need to refresh the iframe once it has been added to the DOM).
|
||||||
|
* Removed unnecessary return values for a very slight code reduction.
|
||||||
|
|
||||||
|
### Version 1.2.4 - June 9 2009
|
||||||
|
Files Changed: jquery.colorbox.js, jquery.colorbox-min.js
|
||||||
|
|
||||||
|
* Fixed an issue where ColorBox may not close completely if it is closed during a transition animation.
|
||||||
|
* Minor code reduction.
|
||||||
|
|
||||||
|
### Version 1.2.3 - June 4 2009
|
||||||
|
* Fixed a png transparency stacking issue in IE.
|
||||||
|
* More accurate Ajax auto-sizing if the user was depending on the #cboxLoadedContent ID for CSS styling.
|
||||||
|
* Added a public function for returning the current html element that ColorBox is associated with. Example use: var that = $.fn.colorbox.element();
|
||||||
|
* Added bicubic scaling for resized images in the original IE7.
|
||||||
|
* Removed the IE6 stylesheet and png files from Example 3. It now uses the same png file for the controls that the rest of the browsers use (an alpha transparency PNG8). This example now only has 2 graphics files and 1 stylesheet.
|
||||||
|
|
||||||
|
### Version 1.2.2 - May 28 2009
|
||||||
|
* Fixed an issue with the 'resize' option.
|
||||||
|
|
||||||
|
### Version 1.2.1 - May 28 2009
|
||||||
|
* Note: If you are upgrading, update your jquery.colorbox.js and colorbox.css files.
|
||||||
|
* Added photo resizing.
|
||||||
|
* Added a maximum width and maximum height. Example: {height:800, maxHeight:'100%'}, would allow the box to be a maximum potential height of 800px, instead of a fixed height of 800px. With maxHeight of 100% the height of ColorBox cannot exceed the height of the browser window.
|
||||||
|
* Added 'rel' setting to add the ability to set an alternative rel for any ColorBox call. This allows the user to group any combination of elements together for a gallery, or to override an existing rel. attribute so those element are not grouped together, without having to alter their rel in the HTML.
|
||||||
|
* Added a 'photo' setting to force ColorBox to display a link as a photo. Use this when automatic photo detection fails (such as using a url like 'photo.php' instead of 'photo.jpg', 'photo.jpg#1', or 'photo.jpg?pic=1')
|
||||||
|
* Removed the need to ever create disposable elements to call colorbox on. ColorBox can now be called directly, without being associated with any existing element, by using the following format:
|
||||||
|
`$.fn.colorbox({open:true, href:'yourLink.xxx'});`
|
||||||
|
* ColorBox settings are now persistent and unique for each element. This allows for extremely flexible options for individual elements. You could use this to create a gallery in which each page in the gallery has different settings. One could be a photo with a fade transition, next could be an inline element with an elastic transition with a set width and height, etc.
|
||||||
|
* For user callbacks, 'this' now refers to the element colorbox was opened from.
|
||||||
|
* Fixed a minor grouping issue with IE6, when transition type is set to 'none'.
|
||||||
|
* Added an Adobe Illustrator file that contains the borders and buttons used in the various examples.
|
||||||
|
|
||||||
|
### Version 1.2 - May 13 2009
|
||||||
|
* Added a slideshow feature.
|
||||||
|
* Added re-positioning on browser resize. If the browser is resized, ColorBox will recenter itself onscreen.
|
||||||
|
* Added hooks for key events: cbox_open, cbox_load, cbox_complete, cbox_closed.
|
||||||
|
* Fixed an IE transparency-stacking problem, where transparent PNGs would show through to the background overlay.
|
||||||
|
* Fixed an IE iframe issue where the ifame might shift up and to the left under certain circumstances.
|
||||||
|
* Fixed an IE6 bug where the loading overlay was not at full height.
|
||||||
|
* Removed the delay in switching between same-sized gallery content when using transitions.
|
||||||
|
* Changed how iframes are loaded to make it more compatible with iframed pages that use DOM dependent JavaScript.
|
||||||
|
* Changed how the JS is structured to be better organized and increase compression. Increased documentation.
|
||||||
|
* Changed CSS :hover states to a .hover class. This sidesteps a minor IE8 bug with css hover states and allows easier access to hover state user styles from the JavaScript.
|
||||||
|
* Changed: elements added to the DOM have new ID's. The naming is more consistent and less likely to cause conflicts with existing website stylesheets. All stylesheets have been updated.
|
||||||
|
* Changed the behavior for prev/next links so that ColorBox does not get hung up on broken links. A visitor can now skip through broken or long-loading links by clicking prev/next buttons.
|
||||||
|
* Changed the naming of variables in the parameter map to be more concise and intuitive.
|
||||||
|
* Removed colorbox.css. Combined the colorbox.css styles with jquery.colorbox.js: the css file was not large enough to warrant being a separate file.
|
||||||
|
|
||||||
|
### Version 1.1.6 - April 28 2009
|
||||||
|
* Prevented the default action of the next & previous anchors and the left and right keys for gallery mode.
|
||||||
|
* Fixed a bug where the title element was being added back to the DOM when closing ColorBox while using inline content.
|
||||||
|
* Fixed a bug where IE7 would crash for example 2.
|
||||||
|
* Smaller filesize: removed a small amount of unused code and rewrote the HTML injection with less syntax.
|
||||||
|
* Added a public method for closing ColorBox: $.fn.colorbox.close(). This will allow iframe users to add an event to close ColorBox without having to create an additional function.
|
||||||
|
|
||||||
|
### Version 1.1.5 - April 11 2009
|
||||||
|
* Fixed minor issues with exiting ColorBox.
|
||||||
|
|
||||||
|
### Version 1.1.4 - April 08 2009
|
||||||
|
* Fixed a bug in the fade transition where ColorBox not close completely if instructed to close during the fade-in portion of the transition.
|
||||||
|
|
||||||
|
### Version 1.1.3 - April 06 2009
|
||||||
|
* Fixed an IE6&7 issue with using ColorBox to display animated GIFs.
|
||||||
|
|
||||||
|
### Version 1.1.2 - April 05 2009
|
||||||
|
* Added ability to change content when ColorBox is already open.
|
||||||
|
* Added vertical photo centering now works for all browsers (this feature previously excluded IE6&7).
|
||||||
|
* Added namespacing to the esc-key keydown event for people who want to disable it: "keydown.colorClose"
|
||||||
|
* Added 'title' setting to add the ability to set an alternative title for any ColorBox call.
|
||||||
|
* Fixed rollover navigation issue with IE8. (Added JS-based rollover state due to a browser-bug.)
|
||||||
|
* Fixed an overflow issue for when the fixed width/height is smaller than the size of a photo.
|
||||||
|
* Fixed a bug in the fade transition where the border would still come up if ColorBox was closed mid-transition.
|
||||||
|
* Switch from JSMin to Yui Compressor for minification. Minified code now under 7KB.
|
||||||
|
|
||||||
|
### Version 1.1.1 - March 31 2009
|
||||||
|
* More robust image detection regex. Now detects image file types with url fragments and/or query strings.
|
||||||
|
* Added 'nofollow' exception to rel grouping.
|
||||||
|
* Changed how images are loaded into the DOM to prevent premature size calculation by ColorBox.
|
||||||
|
* Added timestamp to iframe name to prevent caching - this was a problem in some browsers if the user had multiple iframes and the visitor left the page and came back, or if they refreshed the page.
|
||||||
|
|
||||||
|
### Version 1.1.0 - March 21 2009
|
||||||
|
* Animation is now much smoother and less resource intensive.
|
||||||
|
* Added support for % sizing.
|
||||||
|
* Callback option added.
|
||||||
|
* Inline content now preserves JavaScript events, and changes made while ColorBox is open are also preserved.
|
||||||
|
* Added 'href' setting to add the ability to set an alternative href for any anchor, or to assign the ColorBox event to non-anchors.
|
||||||
|
Example: $('button').colorbox({'href':'process.php'})
|
||||||
|
Example: $('a[href='http://msn.com']).colorbox({'href':'http://google.com', iframe:true});
|
||||||
|
* Photos are now horizontally centered if they are smaller than the lightbox size. Also vertically centered for browsers newer than IE7.
|
||||||
|
* Buttons in the examples are now included in the 'protected zone'. The lightbox will never expand it's borders or buttons beyond an accessible area of the screen.
|
||||||
|
* Keypress events don't queue up by holding down the arrow keys.
|
||||||
|
* Added option to close ColorBox by clicking on the background overlay.
|
||||||
|
* Added 'none' transition setting.
|
||||||
|
* Changed 'contentIframe' and 'contentInline' to 'inline' and 'iframe'. Removed 'contentAjax' because it is automatically assumed for non-image file types.
|
||||||
|
* Changed 'contentWidth' and 'contentHeight' to 'fixedWidth' and 'fixedHeight'. These sizes now reflect the total size of the lightbox, not just the inner content. This is so users can accurately anticipate % sizes without fear of creating scrollbars.
|
||||||
|
* Clicking on a photo will now switch to the next photo in a set.
|
||||||
|
* Loading.gif is more stable in it's position.
|
||||||
|
* Added a minified version.
|
||||||
|
* Code passes JSLint.
|
||||||
|
|
||||||
|
### Version 1.0.5 - March 11 2009
|
||||||
|
* Redo: Fixed a bug where IE would cut off the bottom portion of a photo, if the photo was larger than the document dimensions.
|
||||||
|
|
||||||
|
### Version 1.0.4 - March 10 2009
|
||||||
|
* Added an option to allow users to automatically open the lightbox. Example usage: $(".colorbox").colorbox({open:true});
|
||||||
|
* Fixed a bug where IE would cut off the bottom portion of a photo, if the photo was larger than the document dimensions.
|
||||||
|
|
||||||
|
### Version 1.0.3 - March 09 2009
|
||||||
|
* Fixed vertical centering for Safari 3.0.x.
|
||||||
|
|
||||||
|
### Version 1.0.2 - March 06 2009
|
||||||
|
* Corrected a typo.
|
||||||
|
* Changed the content-type check so that it does not assume all links to photos should actually display photos. This allows for Ajax/inline/and iframe calls on anchors linking to picture file types.
|
||||||
|
|
||||||
|
### Version 1.0.1 - March 05 2009
|
||||||
|
* Fixed keydown events (esc, left arrow, right arrow) for Webkit browsers.
|
||||||
|
|
||||||
|
### Version 1.0 - March 03 2009
|
||||||
|
* First release
|
1811
library/colorbox/colorbox.ai
Normal file
52
library/colorbox/colorbox.css
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
/*
|
||||||
|
ColorBox Core Style:
|
||||||
|
The following CSS is consistent between example themes and should not be altered.
|
||||||
|
*/
|
||||||
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
||||||
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
||||||
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
||||||
|
#cboxContent{position:relative;}
|
||||||
|
#cboxLoadedContent{overflow:auto;}
|
||||||
|
#cboxTitle{margin:0;}
|
||||||
|
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
||||||
|
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
||||||
|
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
|
||||||
|
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
||||||
|
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
User Style:
|
||||||
|
Change the following styles to modify the appearance of ColorBox. They are
|
||||||
|
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
||||||
|
*/
|
||||||
|
#cboxOverlay{background:#000;}
|
||||||
|
#colorbox{}
|
||||||
|
#cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) no-repeat 0 0;}
|
||||||
|
#cboxTopCenter{height:14px; background:url(images/border.png) repeat-x top left;}
|
||||||
|
#cboxTopRight{width:14px; height:14px; background:url(images/controls.png) no-repeat -36px 0;}
|
||||||
|
#cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) no-repeat 0 -32px;}
|
||||||
|
#cboxBottomCenter{height:43px; background:url(images/border.png) repeat-x bottom left;}
|
||||||
|
#cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) no-repeat -36px -32px;}
|
||||||
|
#cboxMiddleLeft{width:14px; background:url(images/controls.png) repeat-y -175px 0;}
|
||||||
|
#cboxMiddleRight{width:14px; background:url(images/controls.png) repeat-y -211px 0;}
|
||||||
|
#cboxContent{background:#fff; overflow:visible;}
|
||||||
|
.cboxIframe{background:#fff;}
|
||||||
|
#cboxError{padding:50px; border:1px solid #ccc;}
|
||||||
|
#cboxLoadedContent{margin-bottom:5px;}
|
||||||
|
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
||||||
|
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
||||||
|
#cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
|
||||||
|
#cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
|
||||||
|
|
||||||
|
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
|
||||||
|
#cboxPrevious{left:0px; background-position: -51px -25px;}
|
||||||
|
#cboxPrevious:hover{background-position:-51px 0px;}
|
||||||
|
#cboxNext{left:27px; background-position:-75px -25px;}
|
||||||
|
#cboxNext:hover{background-position:-75px 0px;}
|
||||||
|
#cboxClose{right:0; background-position:-100px -25px;}
|
||||||
|
#cboxClose:hover{background-position:-100px 0px;}
|
||||||
|
|
||||||
|
.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
|
||||||
|
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
|
||||||
|
.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
|
||||||
|
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}
|
30
library/colorbox/colorbox.jquery.json
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
"name": "colorbox",
|
||||||
|
"title": "ColorBox",
|
||||||
|
"description": "A lightweight customizable lightbox plugin",
|
||||||
|
"keywords": [
|
||||||
|
"modal",
|
||||||
|
"lightbox",
|
||||||
|
"window",
|
||||||
|
"popup",
|
||||||
|
"ui"
|
||||||
|
],
|
||||||
|
"version": "1.3.32",
|
||||||
|
"author": {
|
||||||
|
"name": "Jack Moore",
|
||||||
|
"url": "http://www.jacklmoore.com",
|
||||||
|
"email": "jack@colorpowered.com"
|
||||||
|
},
|
||||||
|
"licenses": [
|
||||||
|
{
|
||||||
|
"type": "MIT",
|
||||||
|
"url": "http://www.opensource.org/licenses/mit-license.php"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"homepage": "http://jacklmoore.com/colorbox",
|
||||||
|
"demo": "http://jacklmoore.com/colorbox",
|
||||||
|
"download": "http://jacklmoore.com/colorbox/colorbox.zip",
|
||||||
|
"dependencies": {
|
||||||
|
"jquery": ">=1.3.2"
|
||||||
|
}
|
||||||
|
}
|
8
library/colorbox/component.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"name": "jquery-autosize",
|
||||||
|
"version": "1.3.32",
|
||||||
|
"main": "./jquery.autosize.js",
|
||||||
|
"dependencies": {
|
||||||
|
"jquery": ">=1.3.2"
|
||||||
|
}
|
||||||
|
}
|
11
library/colorbox/content/ajax.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<div id='homer' style="background:url(../content/homer.jpg) right center no-repeat #ececec; height:135px; width:280px; padding:30px 10px;">
|
||||||
|
<strong>Homer</strong><br/>
|
||||||
|
<em>\noun\</em><br/>
|
||||||
|
<strong>1.</strong> American bonehead<br/>
|
||||||
|
<strong>2. Pull a Homer-</strong><br/>
|
||||||
|
to succeed despite<br/>
|
||||||
|
idiocy
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
$('#homer strong').css({color:'red'});
|
||||||
|
</script>
|
BIN
library/colorbox/content/homer.jpg
Normal file
After Width: | Height: | Size: 8.7 KiB |
BIN
library/colorbox/content/marylou.jpg
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
library/colorbox/content/ohoopee1.jpg
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
library/colorbox/content/ohoopee2.jpg
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
library/colorbox/content/ohoopee3.jpg
Normal file
After Width: | Height: | Size: 70 KiB |
86
library/colorbox/example1/colorbox.css
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
/*
|
||||||
|
ColorBox Core Style:
|
||||||
|
The following CSS is consistent between example themes and should not be altered.
|
||||||
|
*/
|
||||||
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
||||||
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
||||||
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
||||||
|
#cboxContent{position:relative;}
|
||||||
|
#cboxLoadedContent{overflow:auto;}
|
||||||
|
#cboxTitle{margin:0;}
|
||||||
|
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
||||||
|
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
||||||
|
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
|
||||||
|
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
||||||
|
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
User Style:
|
||||||
|
Change the following styles to modify the appearance of ColorBox. They are
|
||||||
|
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
||||||
|
*/
|
||||||
|
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
|
||||||
|
#colorbox{}
|
||||||
|
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}
|
||||||
|
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}
|
||||||
|
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}
|
||||||
|
#cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px -29px;}
|
||||||
|
#cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
|
||||||
|
#cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
|
||||||
|
#cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
|
||||||
|
#cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
|
||||||
|
#cboxContent{background:#fff; overflow:hidden;}
|
||||||
|
.cboxIframe{background:#fff;}
|
||||||
|
#cboxError{padding:50px; border:1px solid #ccc;}
|
||||||
|
#cboxLoadedContent{margin-bottom:28px;}
|
||||||
|
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
||||||
|
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
||||||
|
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
||||||
|
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
||||||
|
#cboxPrevious:hover{background-position:-75px -25px;}
|
||||||
|
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
||||||
|
#cboxNext:hover{background-position:-50px -25px;}
|
||||||
|
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
||||||
|
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
||||||
|
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
||||||
|
#cboxClose:hover{background-position:-25px -25px;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
|
||||||
|
when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
|
||||||
|
See: http://jacklmoore.com/notes/ie-transparency-problems/
|
||||||
|
*/
|
||||||
|
.cboxIE #cboxTopLeft,
|
||||||
|
.cboxIE #cboxTopCenter,
|
||||||
|
.cboxIE #cboxTopRight,
|
||||||
|
.cboxIE #cboxBottomLeft,
|
||||||
|
.cboxIE #cboxBottomCenter,
|
||||||
|
.cboxIE #cboxBottomRight,
|
||||||
|
.cboxIE #cboxMiddleLeft,
|
||||||
|
.cboxIE #cboxMiddleRight {
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
The following provides PNG transparency support for IE6
|
||||||
|
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
||||||
|
*/
|
||||||
|
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
|
||||||
|
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
|
||||||
|
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
|
||||||
|
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
|
||||||
|
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
|
||||||
|
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
|
||||||
|
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
|
||||||
|
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
|
||||||
|
|
||||||
|
.cboxIE6 #cboxTopLeft,
|
||||||
|
.cboxIE6 #cboxTopCenter,
|
||||||
|
.cboxIE6 #cboxTopRight,
|
||||||
|
.cboxIE6 #cboxBottomLeft,
|
||||||
|
.cboxIE6 #cboxBottomCenter,
|
||||||
|
.cboxIE6 #cboxBottomRight,
|
||||||
|
.cboxIE6 #cboxMiddleLeft,
|
||||||
|
.cboxIE6 #cboxMiddleRight {
|
||||||
|
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
|
||||||
|
}
|
BIN
library/colorbox/example1/images/border.png
Normal file
After Width: | Height: | Size: 112 B |
BIN
library/colorbox/example1/images/controls.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
library/colorbox/example1/images/ie6/borderBottomCenter.png
Normal file
After Width: | Height: | Size: 111 B |
BIN
library/colorbox/example1/images/ie6/borderBottomLeft.png
Normal file
After Width: | Height: | Size: 215 B |
BIN
library/colorbox/example1/images/ie6/borderBottomRight.png
Normal file
After Width: | Height: | Size: 217 B |
BIN
library/colorbox/example1/images/ie6/borderMiddleLeft.png
Normal file
After Width: | Height: | Size: 108 B |
BIN
library/colorbox/example1/images/ie6/borderMiddleRight.png
Normal file
After Width: | Height: | Size: 108 B |
BIN
library/colorbox/example1/images/ie6/borderTopCenter.png
Normal file
After Width: | Height: | Size: 111 B |
BIN
library/colorbox/example1/images/ie6/borderTopLeft.png
Normal file
After Width: | Height: | Size: 216 B |
BIN
library/colorbox/example1/images/ie6/borderTopRight.png
Normal file
After Width: | Height: | Size: 214 B |
BIN
library/colorbox/example1/images/loading.gif
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
library/colorbox/example1/images/loading_background.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
library/colorbox/example1/images/overlay.png
Normal file
After Width: | Height: | Size: 182 B |
87
library/colorbox/example1/index.html
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset='utf-8'/>
|
||||||
|
<title>ColorBox Examples</title>
|
||||||
|
<style>
|
||||||
|
body{font:12px/1.2 Verdana, sans-serif; padding:0 10px;}
|
||||||
|
a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
|
||||||
|
h2{font-size:13px; margin:15px 0 0 0;}
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="colorbox.css" />
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
|
||||||
|
<script src="../jquery.colorbox.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function(){
|
||||||
|
//Examples of how to assign the ColorBox event to elements
|
||||||
|
$(".group1").colorbox({rel:'group1'});
|
||||||
|
$(".group2").colorbox({rel:'group2', transition:"fade"});
|
||||||
|
$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
|
||||||
|
$(".group4").colorbox({rel:'group4', slideshow:true});
|
||||||
|
$(".ajax").colorbox();
|
||||||
|
$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
|
||||||
|
$(".vimeo").colorbox({iframe:true, innerWidth:500, innerHeight:409});
|
||||||
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
||||||
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
|
$(".callbacks").colorbox({
|
||||||
|
onOpen:function(){ alert('onOpen: colorbox is about to open'); },
|
||||||
|
onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
|
||||||
|
onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
|
||||||
|
onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
|
||||||
|
onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
|
||||||
|
});
|
||||||
|
|
||||||
|
//Example of preserving a JavaScript event for inline calls.
|
||||||
|
$("#click").click(function(){
|
||||||
|
$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>ColorBox Demonstration</h1>
|
||||||
|
<h2>Elastic Transition</h2>
|
||||||
|
<p><a class="group1" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Fade Transition</h2>
|
||||||
|
<p><a class="group2" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>No Transition + fixed width and height (75% of screen size)</h2>
|
||||||
|
<p><a class="group3" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Slideshow</h2>
|
||||||
|
<p><a class="group4" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Other Content Types</h2>
|
||||||
|
<p><a class='ajax' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
|
||||||
|
<p><a class='youtube' href="http://www.youtube.com/embed/617ANIA5Rqs?rel=0&wmode=transparent" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
|
||||||
|
<p><a class='vimeo' href="http://player.vimeo.com/video/2285902" title="Röyksopp: Remind Me">Flash / Video (Iframe/Direct Link To Vimeo)</a></p>
|
||||||
|
<p><a class='iframe' href="http://wikipedia.com">Outside Webpage (Iframe)</a></p>
|
||||||
|
<p><a class='inline' href="#inline_content">Inline HTML</a></p>
|
||||||
|
|
||||||
|
<h2>Demonstration of using callbacks</h2>
|
||||||
|
<p><a class='callbacks' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
|
||||||
|
|
||||||
|
<!-- This contains the hidden content for inline calls -->
|
||||||
|
<div style='display:none'>
|
||||||
|
<div id='inline_content' style='padding:10px; background:#fff;'>
|
||||||
|
<p><strong>This content comes from a hidden element on this page.</strong></p>
|
||||||
|
<p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.</p>
|
||||||
|
<p><a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
|
||||||
|
|
||||||
|
<p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
|
||||||
|
<p>Updating Content Example:<br />
|
||||||
|
<a class="ajax" href="../content/ajax.html">Click here to load new content</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
43
library/colorbox/example2/colorbox.css
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
/*
|
||||||
|
ColorBox Core Style:
|
||||||
|
The following CSS is consistent between example themes and should not be altered.
|
||||||
|
*/
|
||||||
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
||||||
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
||||||
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
||||||
|
#cboxContent{position:relative;}
|
||||||
|
#cboxLoadedContent{overflow:auto;}
|
||||||
|
#cboxTitle{margin:0;}
|
||||||
|
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
||||||
|
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
||||||
|
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
|
||||||
|
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
||||||
|
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
User Style:
|
||||||
|
Change the following styles to modify the appearance of ColorBox. They are
|
||||||
|
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
||||||
|
*/
|
||||||
|
#cboxOverlay{background:#fff;}
|
||||||
|
#colorbox{}
|
||||||
|
#cboxContent{margin-top:32px; overflow:visible;}
|
||||||
|
.cboxIframe{background:#fff;}
|
||||||
|
#cboxError{padding:50px; border:1px solid #ccc;}
|
||||||
|
#cboxLoadedContent{background:#000; padding:1px;}
|
||||||
|
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
||||||
|
#cboxLoadingOverlay{background:#000;}
|
||||||
|
#cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
|
||||||
|
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
|
||||||
|
#cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;}
|
||||||
|
#cboxPrevious{background-position:0px 0px; right:44px;}
|
||||||
|
#cboxPrevious:hover{background-position:0px -25px;}
|
||||||
|
#cboxNext{background-position:-25px 0px; right:22px;}
|
||||||
|
#cboxNext:hover{background-position:-25px -25px;}
|
||||||
|
#cboxClose{background-position:-50px 0px; right:0;}
|
||||||
|
#cboxClose:hover{background-position:-50px -25px;}
|
||||||
|
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
|
||||||
|
.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
|
||||||
|
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
|
||||||
|
.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
|
||||||
|
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
|
BIN
library/colorbox/example2/images/controls.png
Normal file
After Width: | Height: | Size: 570 B |
BIN
library/colorbox/example2/images/loading.gif
Normal file
After Width: | Height: | Size: 9.2 KiB |
87
library/colorbox/example2/index.html
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset='utf-8'/>
|
||||||
|
<title>ColorBox Examples</title>
|
||||||
|
<style>
|
||||||
|
body{font:12px/1.2 Verdana, sans-serif; padding:0 10px;}
|
||||||
|
a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
|
||||||
|
h2{font-size:13px; margin:15px 0 0 0;}
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="colorbox.css" />
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
|
||||||
|
<script src="../jquery.colorbox.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function(){
|
||||||
|
//Examples of how to assign the ColorBox event to elements
|
||||||
|
$(".group1").colorbox({rel:'group1'});
|
||||||
|
$(".group2").colorbox({rel:'group2', transition:"fade"});
|
||||||
|
$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
|
||||||
|
$(".group4").colorbox({rel:'group4', slideshow:true});
|
||||||
|
$(".ajax").colorbox();
|
||||||
|
$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
|
||||||
|
$(".vimeo").colorbox({iframe:true, innerWidth:500, innerHeight:409});
|
||||||
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
||||||
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
|
$(".callbacks").colorbox({
|
||||||
|
onOpen:function(){ alert('onOpen: colorbox is about to open'); },
|
||||||
|
onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
|
||||||
|
onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
|
||||||
|
onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
|
||||||
|
onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
|
||||||
|
});
|
||||||
|
|
||||||
|
//Example of preserving a JavaScript event for inline calls.
|
||||||
|
$("#click").click(function(){
|
||||||
|
$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>ColorBox Demonstration</h1>
|
||||||
|
<h2>Elastic Transition</h2>
|
||||||
|
<p><a class="group1" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Fade Transition</h2>
|
||||||
|
<p><a class="group2" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>No Transition + fixed width and height (75% of screen size)</h2>
|
||||||
|
<p><a class="group3" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Slideshow</h2>
|
||||||
|
<p><a class="group4" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Other Content Types</h2>
|
||||||
|
<p><a class='ajax' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
|
||||||
|
<p><a class='youtube' href="http://www.youtube.com/embed/617ANIA5Rqs?rel=0&wmode=transparent" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
|
||||||
|
<p><a class='vimeo' href="http://player.vimeo.com/video/2285902" title="Röyksopp: Remind Me">Flash / Video (Iframe/Direct Link To Vimeo)</a></p>
|
||||||
|
<p><a class='iframe' href="http://wikipedia.com">Outside Webpage (Iframe)</a></p>
|
||||||
|
<p><a class='inline' href="#inline_content">Inline HTML</a></p>
|
||||||
|
|
||||||
|
<h2>Demonstration of using callbacks</h2>
|
||||||
|
<p><a class='callbacks' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
|
||||||
|
|
||||||
|
<!-- This contains the hidden content for inline calls -->
|
||||||
|
<div style='display:none'>
|
||||||
|
<div id='inline_content' style='padding:10px; background:#fff;'>
|
||||||
|
<p><strong>This content comes from a hidden element on this page.</strong></p>
|
||||||
|
<p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.</p>
|
||||||
|
<p><a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
|
||||||
|
|
||||||
|
<p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
|
||||||
|
<p>Updating Content Example:<br />
|
||||||
|
<a class="ajax" href="../content/ajax.html">Click here to load new content</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
38
library/colorbox/example3/colorbox.css
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
/*
|
||||||
|
ColorBox Core Style:
|
||||||
|
The following CSS is consistent between example themes and should not be altered.
|
||||||
|
*/
|
||||||
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
||||||
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
||||||
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
||||||
|
#cboxContent{position:relative;}
|
||||||
|
#cboxLoadedContent{overflow:auto;}
|
||||||
|
#cboxTitle{margin:0;}
|
||||||
|
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
||||||
|
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
||||||
|
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
|
||||||
|
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
||||||
|
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
User Style:
|
||||||
|
Change the following styles to modify the appearance of ColorBox. They are
|
||||||
|
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
||||||
|
*/
|
||||||
|
#cboxOverlay{background:#000;}
|
||||||
|
#colorbox{}
|
||||||
|
#cboxContent{margin-top:20px;}
|
||||||
|
.cboxIframe{background:#fff;}
|
||||||
|
#cboxError{padding:50px; border:1px solid #ccc;}
|
||||||
|
#cboxLoadedContent{border:5px solid #000; background:#fff;}
|
||||||
|
#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
|
||||||
|
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
|
||||||
|
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
|
||||||
|
#cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
|
||||||
|
#cboxPrevious:hover{background-position:bottom left;}
|
||||||
|
#cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
|
||||||
|
#cboxNext:hover{background-position:bottom right;}
|
||||||
|
#cboxLoadingOverlay{background:#000;}
|
||||||
|
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
||||||
|
#cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
|
||||||
|
#cboxClose:hover{background-position:bottom center;}
|
BIN
library/colorbox/example3/images/controls.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
library/colorbox/example3/images/loading.gif
Normal file
After Width: | Height: | Size: 9.2 KiB |
87
library/colorbox/example3/index.html
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset='utf-8'/>
|
||||||
|
<title>ColorBox Examples</title>
|
||||||
|
<style>
|
||||||
|
body{font:12px/1.2 Verdana, sans-serif; padding:0 10px;}
|
||||||
|
a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
|
||||||
|
h2{font-size:13px; margin:15px 0 0 0;}
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="colorbox.css" />
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
|
||||||
|
<script src="../jquery.colorbox.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function(){
|
||||||
|
//Examples of how to assign the ColorBox event to elements
|
||||||
|
$(".group1").colorbox({rel:'group1'});
|
||||||
|
$(".group2").colorbox({rel:'group2', transition:"fade"});
|
||||||
|
$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
|
||||||
|
$(".group4").colorbox({rel:'group4', slideshow:true});
|
||||||
|
$(".ajax").colorbox();
|
||||||
|
$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
|
||||||
|
$(".vimeo").colorbox({iframe:true, innerWidth:500, innerHeight:409});
|
||||||
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
||||||
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
|
$(".callbacks").colorbox({
|
||||||
|
onOpen:function(){ alert('onOpen: colorbox is about to open'); },
|
||||||
|
onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
|
||||||
|
onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
|
||||||
|
onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
|
||||||
|
onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
|
||||||
|
});
|
||||||
|
|
||||||
|
//Example of preserving a JavaScript event for inline calls.
|
||||||
|
$("#click").click(function(){
|
||||||
|
$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>ColorBox Demonstration</h1>
|
||||||
|
<h2>Elastic Transition</h2>
|
||||||
|
<p><a class="group1" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Fade Transition</h2>
|
||||||
|
<p><a class="group2" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>No Transition + fixed width and height (75% of screen size)</h2>
|
||||||
|
<p><a class="group3" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Slideshow</h2>
|
||||||
|
<p><a class="group4" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Other Content Types</h2>
|
||||||
|
<p><a class='ajax' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
|
||||||
|
<p><a class='youtube' href="http://www.youtube.com/embed/617ANIA5Rqs?rel=0&wmode=transparent" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
|
||||||
|
<p><a class='vimeo' href="http://player.vimeo.com/video/2285902" title="Röyksopp: Remind Me">Flash / Video (Iframe/Direct Link To Vimeo)</a></p>
|
||||||
|
<p><a class='iframe' href="http://wikipedia.com">Outside Webpage (Iframe)</a></p>
|
||||||
|
<p><a class='inline' href="#inline_content">Inline HTML</a></p>
|
||||||
|
|
||||||
|
<h2>Demonstration of using callbacks</h2>
|
||||||
|
<p><a class='callbacks' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
|
||||||
|
|
||||||
|
<!-- This contains the hidden content for inline calls -->
|
||||||
|
<div style='display:none'>
|
||||||
|
<div id='inline_content' style='padding:10px; background:#fff;'>
|
||||||
|
<p><strong>This content comes from a hidden element on this page.</strong></p>
|
||||||
|
<p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.</p>
|
||||||
|
<p><a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
|
||||||
|
|
||||||
|
<p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
|
||||||
|
<p>Updating Content Example:<br />
|
||||||
|
<a class="ajax" href="../content/ajax.html">Click here to load new content</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
82
library/colorbox/example4/colorbox.css
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
/*
|
||||||
|
ColorBox Core Style:
|
||||||
|
The following CSS is consistent between example themes and should not be altered.
|
||||||
|
*/
|
||||||
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
||||||
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
||||||
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
||||||
|
#cboxContent{position:relative;}
|
||||||
|
#cboxLoadedContent{overflow:auto;}
|
||||||
|
#cboxTitle{margin:0;}
|
||||||
|
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
||||||
|
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
||||||
|
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
|
||||||
|
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
||||||
|
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
User Style:
|
||||||
|
Change the following styles to modify the appearance of ColorBox. They are
|
||||||
|
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
||||||
|
*/
|
||||||
|
#cboxOverlay{background:#fff;}
|
||||||
|
#colorbox{}
|
||||||
|
#cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 0;}
|
||||||
|
#cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px;}
|
||||||
|
#cboxTopRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px 0;}
|
||||||
|
#cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 -25px;}
|
||||||
|
#cboxBottomCenter{height:25px; background:url(images/border1.png) repeat-x 0 -75px;}
|
||||||
|
#cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px -25px;}
|
||||||
|
#cboxMiddleLeft{width:25px; background:url(images/border2.png) repeat-y 0 0;}
|
||||||
|
#cboxMiddleRight{width:25px; background:url(images/border2.png) repeat-y -25px 0;}
|
||||||
|
#cboxContent{background:#fff; overflow:hidden;}
|
||||||
|
.cboxIframe{background:#fff;}
|
||||||
|
#cboxError{padding:50px; border:1px solid #ccc;}
|
||||||
|
#cboxLoadedContent{margin-bottom:20px;}
|
||||||
|
#cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
|
||||||
|
#cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
|
||||||
|
#cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
|
||||||
|
#cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
|
||||||
|
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
|
||||||
|
#cboxLoadingOverlay{background:#fff url(images/loading.gif) no-repeat 5px 5px;}
|
||||||
|
#cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
|
||||||
|
when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
|
||||||
|
See: http://jacklmoore.com/notes/ie-transparency-problems/
|
||||||
|
*/
|
||||||
|
.cboxIE #cboxTopLeft,
|
||||||
|
.cboxIE #cboxTopCenter,
|
||||||
|
.cboxIE #cboxTopRight,
|
||||||
|
.cboxIE #cboxBottomLeft,
|
||||||
|
.cboxIE #cboxBottomCenter,
|
||||||
|
.cboxIE #cboxBottomRight,
|
||||||
|
.cboxIE #cboxMiddleLeft,
|
||||||
|
.cboxIE #cboxMiddleRight {
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
The following provides PNG transparency support for IE6
|
||||||
|
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
||||||
|
*/
|
||||||
|
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
|
||||||
|
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
|
||||||
|
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
|
||||||
|
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
|
||||||
|
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
|
||||||
|
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
|
||||||
|
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
|
||||||
|
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
|
||||||
|
|
||||||
|
.cboxIE6 #cboxTopLeft,
|
||||||
|
.cboxIE6 #cboxTopCenter,
|
||||||
|
.cboxIE6 #cboxTopRight,
|
||||||
|
.cboxIE6 #cboxBottomLeft,
|
||||||
|
.cboxIE6 #cboxBottomCenter,
|
||||||
|
.cboxIE6 #cboxBottomRight,
|
||||||
|
.cboxIE6 #cboxMiddleLeft,
|
||||||
|
.cboxIE6 #cboxMiddleRight {
|
||||||
|
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
|
||||||
|
}
|
BIN
library/colorbox/example4/images/border1.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
library/colorbox/example4/images/border2.png
Normal file
After Width: | Height: | Size: 170 B |
BIN
library/colorbox/example4/images/ie6/borderBottomCenter.png
Normal file
After Width: | Height: | Size: 153 B |
BIN
library/colorbox/example4/images/ie6/borderBottomLeft.png
Normal file
After Width: | Height: | Size: 473 B |
BIN
library/colorbox/example4/images/ie6/borderBottomRight.png
Normal file
After Width: | Height: | Size: 470 B |
BIN
library/colorbox/example4/images/ie6/borderMiddleLeft.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
library/colorbox/example4/images/ie6/borderMiddleRight.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
library/colorbox/example4/images/ie6/borderTopCenter.png
Normal file
After Width: | Height: | Size: 153 B |
BIN
library/colorbox/example4/images/ie6/borderTopLeft.png
Normal file
After Width: | Height: | Size: 359 B |
BIN
library/colorbox/example4/images/ie6/borderTopRight.png
Normal file
After Width: | Height: | Size: 465 B |
BIN
library/colorbox/example4/images/loading.gif
Normal file
After Width: | Height: | Size: 9.2 KiB |
87
library/colorbox/example4/index.html
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset='utf-8'/>
|
||||||
|
<title>ColorBox Examples</title>
|
||||||
|
<style>
|
||||||
|
body{font:12px/1.2 Verdana, sans-serif; padding:0 10px;}
|
||||||
|
a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
|
||||||
|
h2{font-size:13px; margin:15px 0 0 0;}
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="colorbox.css" />
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
|
||||||
|
<script src="../jquery.colorbox.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function(){
|
||||||
|
//Examples of how to assign the ColorBox event to elements
|
||||||
|
$(".group1").colorbox({rel:'group1'});
|
||||||
|
$(".group2").colorbox({rel:'group2', transition:"fade"});
|
||||||
|
$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
|
||||||
|
$(".group4").colorbox({rel:'group4', slideshow:true});
|
||||||
|
$(".ajax").colorbox();
|
||||||
|
$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
|
||||||
|
$(".vimeo").colorbox({iframe:true, innerWidth:500, innerHeight:409});
|
||||||
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
||||||
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
|
$(".callbacks").colorbox({
|
||||||
|
onOpen:function(){ alert('onOpen: colorbox is about to open'); },
|
||||||
|
onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
|
||||||
|
onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
|
||||||
|
onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
|
||||||
|
onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
|
||||||
|
});
|
||||||
|
|
||||||
|
//Example of preserving a JavaScript event for inline calls.
|
||||||
|
$("#click").click(function(){
|
||||||
|
$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>ColorBox Demonstration</h1>
|
||||||
|
<h2>Elastic Transition</h2>
|
||||||
|
<p><a class="group1" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Fade Transition</h2>
|
||||||
|
<p><a class="group2" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>No Transition + fixed width and height (75% of screen size)</h2>
|
||||||
|
<p><a class="group3" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Slideshow</h2>
|
||||||
|
<p><a class="group4" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Other Content Types</h2>
|
||||||
|
<p><a class='ajax' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
|
||||||
|
<p><a class='youtube' href="http://www.youtube.com/embed/617ANIA5Rqs?rel=0&wmode=transparent" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
|
||||||
|
<p><a class='vimeo' href="http://player.vimeo.com/video/2285902" title="Röyksopp: Remind Me">Flash / Video (Iframe/Direct Link To Vimeo)</a></p>
|
||||||
|
<p><a class='iframe' href="http://wikipedia.com">Outside Webpage (Iframe)</a></p>
|
||||||
|
<p><a class='inline' href="#inline_content">Inline HTML</a></p>
|
||||||
|
|
||||||
|
<h2>Demonstration of using callbacks</h2>
|
||||||
|
<p><a class='callbacks' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
|
||||||
|
|
||||||
|
<!-- This contains the hidden content for inline calls -->
|
||||||
|
<div style='display:none'>
|
||||||
|
<div id='inline_content' style='padding:10px; background:#fff;'>
|
||||||
|
<p><strong>This content comes from a hidden element on this page.</strong></p>
|
||||||
|
<p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.</p>
|
||||||
|
<p><a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
|
||||||
|
|
||||||
|
<p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
|
||||||
|
<p>Updating Content Example:<br />
|
||||||
|
<a class="ajax" href="../content/ajax.html">Click here to load new content</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
52
library/colorbox/example5/colorbox.css
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
/*
|
||||||
|
ColorBox Core Style:
|
||||||
|
The following CSS is consistent between example themes and should not be altered.
|
||||||
|
*/
|
||||||
|
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
||||||
|
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
||||||
|
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
||||||
|
#cboxContent{position:relative;}
|
||||||
|
#cboxLoadedContent{overflow:auto;}
|
||||||
|
#cboxTitle{margin:0;}
|
||||||
|
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
||||||
|
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
||||||
|
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
|
||||||
|
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
||||||
|
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
||||||
|
|
||||||
|
/*
|
||||||
|
User Style:
|
||||||
|
Change the following styles to modify the appearance of ColorBox. They are
|
||||||
|
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
||||||
|
*/
|
||||||
|
#cboxOverlay{background:#000;}
|
||||||
|
#colorbox{}
|
||||||
|
#cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) no-repeat 0 0;}
|
||||||
|
#cboxTopCenter{height:14px; background:url(images/border.png) repeat-x top left;}
|
||||||
|
#cboxTopRight{width:14px; height:14px; background:url(images/controls.png) no-repeat -36px 0;}
|
||||||
|
#cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) no-repeat 0 -32px;}
|
||||||
|
#cboxBottomCenter{height:43px; background:url(images/border.png) repeat-x bottom left;}
|
||||||
|
#cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) no-repeat -36px -32px;}
|
||||||
|
#cboxMiddleLeft{width:14px; background:url(images/controls.png) repeat-y -175px 0;}
|
||||||
|
#cboxMiddleRight{width:14px; background:url(images/controls.png) repeat-y -211px 0;}
|
||||||
|
#cboxContent{background:#fff; overflow:visible;}
|
||||||
|
.cboxIframe{background:#fff;}
|
||||||
|
#cboxError{padding:50px; border:1px solid #ccc;}
|
||||||
|
#cboxLoadedContent{margin-bottom:5px;}
|
||||||
|
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
||||||
|
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
||||||
|
#cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
|
||||||
|
#cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
|
||||||
|
|
||||||
|
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
|
||||||
|
#cboxPrevious{left:0px; background-position: -51px -25px;}
|
||||||
|
#cboxPrevious:hover{background-position:-51px 0px;}
|
||||||
|
#cboxNext{left:27px; background-position:-75px -25px;}
|
||||||
|
#cboxNext:hover{background-position:-75px 0px;}
|
||||||
|
#cboxClose{right:0; background-position:-100px -25px;}
|
||||||
|
#cboxClose:hover{background-position:-100px 0px;}
|
||||||
|
|
||||||
|
.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
|
||||||
|
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
|
||||||
|
.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
|
||||||
|
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}
|
BIN
library/colorbox/example5/images/border.png
Normal file
After Width: | Height: | Size: 163 B |
BIN
library/colorbox/example5/images/controls.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
library/colorbox/example5/images/loading.gif
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
library/colorbox/example5/images/loading_background.png
Normal file
After Width: | Height: | Size: 166 B |
87
library/colorbox/example5/index.html
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset='utf-8'/>
|
||||||
|
<title>ColorBox Examples</title>
|
||||||
|
<style>
|
||||||
|
body{font:12px/1.2 Verdana, sans-serif; padding:0 10px;}
|
||||||
|
a:link, a:visited{text-decoration:none; color:#416CE5; border-bottom:1px solid #416CE5;}
|
||||||
|
h2{font-size:13px; margin:15px 0 0 0;}
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="colorbox.css" />
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
|
||||||
|
<script src="../jquery.colorbox.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function(){
|
||||||
|
//Examples of how to assign the ColorBox event to elements
|
||||||
|
$(".group1").colorbox({rel:'group1'});
|
||||||
|
$(".group2").colorbox({rel:'group2', transition:"fade"});
|
||||||
|
$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
|
||||||
|
$(".group4").colorbox({rel:'group4', slideshow:true});
|
||||||
|
$(".ajax").colorbox();
|
||||||
|
$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
|
||||||
|
$(".vimeo").colorbox({iframe:true, innerWidth:500, innerHeight:409});
|
||||||
|
$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
|
||||||
|
$(".inline").colorbox({inline:true, width:"50%"});
|
||||||
|
$(".callbacks").colorbox({
|
||||||
|
onOpen:function(){ alert('onOpen: colorbox is about to open'); },
|
||||||
|
onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
|
||||||
|
onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
|
||||||
|
onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
|
||||||
|
onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
|
||||||
|
});
|
||||||
|
|
||||||
|
//Example of preserving a JavaScript event for inline calls.
|
||||||
|
$("#click").click(function(){
|
||||||
|
$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>ColorBox Demonstration</h1>
|
||||||
|
<h2>Elastic Transition</h2>
|
||||||
|
<p><a class="group1" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group1" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Fade Transition</h2>
|
||||||
|
<p><a class="group2" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group2" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>No Transition + fixed width and height (75% of screen size)</h2>
|
||||||
|
<p><a class="group3" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group3" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Slideshow</h2>
|
||||||
|
<p><a class="group4" href="../content/ohoopee1.jpg" title="Me and my grandfather on the Ohoopee.">Grouped Photo 1</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee2.jpg" title="On the Ohoopee as a child">Grouped Photo 2</a></p>
|
||||||
|
<p><a class="group4" href="../content/ohoopee3.jpg" title="On the Ohoopee as an adult">Grouped Photo 3</a></p>
|
||||||
|
|
||||||
|
<h2>Other Content Types</h2>
|
||||||
|
<p><a class='ajax' href="../content/ajax.html" title="Homer Defined">Outside HTML (Ajax)</a></p>
|
||||||
|
<p><a class='youtube' href="http://www.youtube.com/embed/617ANIA5Rqs?rel=0&wmode=transparent" title="The Knife: We Share Our Mother's Health">Flash / Video (Iframe/Direct Link To YouTube)</a></p>
|
||||||
|
<p><a class='vimeo' href="http://player.vimeo.com/video/2285902" title="Röyksopp: Remind Me">Flash / Video (Iframe/Direct Link To Vimeo)</a></p>
|
||||||
|
<p><a class='iframe' href="http://wikipedia.com">Outside Webpage (Iframe)</a></p>
|
||||||
|
<p><a class='inline' href="#inline_content">Inline HTML</a></p>
|
||||||
|
|
||||||
|
<h2>Demonstration of using callbacks</h2>
|
||||||
|
<p><a class='callbacks' href="../content/marylou.jpg" title="Marylou on Cumberland Island">Example with alerts</a>. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.</p>
|
||||||
|
|
||||||
|
<!-- This contains the hidden content for inline calls -->
|
||||||
|
<div style='display:none'>
|
||||||
|
<div id='inline_content' style='padding:10px; background:#fff;'>
|
||||||
|
<p><strong>This content comes from a hidden element on this page.</strong></p>
|
||||||
|
<p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.</p>
|
||||||
|
<p><a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
|
||||||
|
|
||||||
|
<p><strong>If you try to open a new ColorBox while it is already open, it will update itself with the new content.</strong></p>
|
||||||
|
<p>Updating Content Example:<br />
|
||||||
|
<a class="ajax" href="../content/ajax.html">Click here to load new content</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
14
library/colorbox/i18n/jquery.colorbox-cs.js
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
jQuery ColorBox language configuration
|
||||||
|
language: Czech (cs)
|
||||||
|
translated by: Filip Novak
|
||||||
|
site: mame.napilno.cz/filip-novak
|
||||||
|
*/
|
||||||
|
jQuery.extend(jQuery.colorbox.settings, {
|
||||||
|
current: "{current}. obrázek z {total}",
|
||||||
|
previous: "Předchozí",
|
||||||
|
next: "Následující",
|
||||||
|
close: "Zavřít",
|
||||||
|
xhrError: "Obsah se nepodařilo načíst.",
|
||||||
|
imgError: "Obrázek se nepodařilo načíst."
|
||||||
|
});
|
14
library/colorbox/i18n/jquery.colorbox-da.js
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
jQuery ColorBox language configuration
|
||||||
|
language: Danish (da)
|
||||||
|
translated by: danieljuhl
|
||||||
|
site: danieljuhl.dk
|
||||||
|
*/
|
||||||
|
jQuery.extend(jQuery.colorbox.settings, {
|
||||||
|
current: "Billede {current} af {total}",
|
||||||
|
previous: "Forrige",
|
||||||
|
next: "Næste",
|
||||||
|
close: "Luk",
|
||||||
|
xhrError: "Indholdet fejlede i indlæsningen.",
|
||||||
|
imgError: "Billedet fejlede i indlæsningen."
|
||||||
|
});
|
13
library/colorbox/i18n/jquery.colorbox-de.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/*
|
||||||
|
jQuery ColorBox language configuration
|
||||||
|
language: German (de)
|
||||||
|
translated by: wallenium
|
||||||
|
*/
|
||||||
|
jQuery.extend(jQuery.colorbox.settings, {
|
||||||
|
current: "Bild {current} von {total}",
|
||||||
|
previous: "Zurück",
|
||||||
|
next: "Vor",
|
||||||
|
close: "Schließen",
|
||||||
|
xhrError: "Dieser Inhalt konnte nicht geladen werden.",
|
||||||
|
imgError: "Dieses Bild konnte nicht geladen werden."
|
||||||
|
});
|
13
library/colorbox/i18n/jquery.colorbox-es.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/*
|
||||||
|
jQuery ColorBox language configuration
|
||||||
|
language: Spanish (es)
|
||||||
|
translated by: migolo
|
||||||
|
*/
|
||||||
|
jQuery.extend(jQuery.colorbox.settings, {
|
||||||
|
current: "Imagen {current} de {total}",
|
||||||
|
previous: "Anterior",
|
||||||
|
next: "Siguiente",
|
||||||
|
close: "Cerrar",
|
||||||
|
xhrError: "Error en la carga del contenido.",
|
||||||
|
imgError: "Error en la carga de la imagen."
|
||||||
|
});
|
14
library/colorbox/i18n/jquery.colorbox-fr.js
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
jQuery ColorBox language configuration
|
||||||
|
language: French (fr)
|
||||||
|
translated by: oaubert
|
||||||
|
*/
|
||||||
|
jQuery.extend(jQuery.colorbox.settings, {
|
||||||
|
current: "image {current} sur {total}",
|
||||||
|
previous: "précédente",
|
||||||
|
next: "suivante",
|
||||||
|
close: "fermer",
|
||||||
|
xhrError: "Impossible de charger ce contenu.",
|
||||||
|
imgError: "Impossible de charger cette image."
|
||||||
|
});
|
||||||
|
|
13
library/colorbox/i18n/jquery.colorbox-it.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
/*
|
||||||
|
jQuery ColorBox language configuration
|
||||||
|
language: Italian (it)
|
||||||
|
translated by: maur8ino
|
||||||
|
*/
|
||||||
|
jQuery.extend(jQuery.colorbox.settings, {
|
||||||
|
current: "Immagine {current} di {total}",
|
||||||
|
previous: "Precedente",
|
||||||
|
next: "Successiva",
|
||||||
|
close: "Chiudi",
|
||||||
|
xhrError: "Errore nel caricamento del contenuto.",
|
||||||
|
imgError: "Errore nel caricamento dell'immagine."
|
||||||
|
});
|
14
library/colorbox/i18n/jquery.colorbox-ru.js
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
jQuery ColorBox language configuration
|
||||||
|
language: Russian (ru)
|
||||||
|
translated by: Marfa
|
||||||
|
site: themarfa.name
|
||||||
|
*/
|
||||||
|
jQuery.extend(jQuery.colorbox.settings, {
|
||||||
|
current: "изображение {current} из {total}",
|
||||||
|
previous: "предыдущее",
|
||||||
|
next: "следующее",
|
||||||
|
close: "закрыть",
|
||||||
|
xhrError: "Не удалось загрузить содержимое.",
|
||||||
|
imgError: "Не удалось загрузить изображение."
|
||||||
|
});
|
BIN
library/colorbox/images/border.png
Normal file
After Width: | Height: | Size: 163 B |
BIN
library/colorbox/images/controls.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
library/colorbox/images/loading.gif
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
library/colorbox/images/loading_background.png
Normal file
After Width: | Height: | Size: 166 B |
1
library/colorbox/jquery.colorbox-min.js
vendored
Normal file
975
library/colorbox/jquery.colorbox.js
Normal file
|
@ -0,0 +1,975 @@
|
||||||
|
/*
|
||||||
|
jQuery ColorBox v1.3.32 - 2013-01-31
|
||||||
|
(c) 2013 Jack Moore - jacklmoore.com/colorbox
|
||||||
|
license: http://www.opensource.org/licenses/mit-license.php
|
||||||
|
*/
|
||||||
|
(function ($, document, window) {
|
||||||
|
var
|
||||||
|
// Default settings object.
|
||||||
|
// See http://jacklmoore.com/colorbox for details.
|
||||||
|
defaults = {
|
||||||
|
transition: "elastic",
|
||||||
|
speed: 300,
|
||||||
|
width: false,
|
||||||
|
initialWidth: "600",
|
||||||
|
innerWidth: false,
|
||||||
|
maxWidth: false,
|
||||||
|
height: false,
|
||||||
|
initialHeight: "450",
|
||||||
|
innerHeight: false,
|
||||||
|
maxHeight: false,
|
||||||
|
scalePhotos: true,
|
||||||
|
scrolling: true,
|
||||||
|
inline: false,
|
||||||
|
html: false,
|
||||||
|
iframe: false,
|
||||||
|
fastIframe: true,
|
||||||
|
photo: false,
|
||||||
|
href: false,
|
||||||
|
title: false,
|
||||||
|
rel: false,
|
||||||
|
opacity: 0.9,
|
||||||
|
preloading: true,
|
||||||
|
className: false,
|
||||||
|
|
||||||
|
current: "image {current} of {total}",
|
||||||
|
previous: "previous",
|
||||||
|
next: "next",
|
||||||
|
close: "close",
|
||||||
|
xhrError: "This content failed to load.",
|
||||||
|
imgError: "This image failed to load.",
|
||||||
|
|
||||||
|
open: false,
|
||||||
|
returnFocus: true,
|
||||||
|
reposition: true,
|
||||||
|
loop: true,
|
||||||
|
slideshow: false,
|
||||||
|
slideshowAuto: true,
|
||||||
|
slideshowSpeed: 2500,
|
||||||
|
slideshowStart: "start slideshow",
|
||||||
|
slideshowStop: "stop slideshow",
|
||||||
|
onOpen: false,
|
||||||
|
onLoad: false,
|
||||||
|
onComplete: false,
|
||||||
|
onCleanup: false,
|
||||||
|
onClosed: false,
|
||||||
|
overlayClose: true,
|
||||||
|
escKey: true,
|
||||||
|
arrowKey: true,
|
||||||
|
top: false,
|
||||||
|
bottom: false,
|
||||||
|
left: false,
|
||||||
|
right: false,
|
||||||
|
fixed: false,
|
||||||
|
data: undefined
|
||||||
|
},
|
||||||
|
|
||||||
|
// Abstracting the HTML and event identifiers for easy rebranding
|
||||||
|
colorbox = 'colorbox',
|
||||||
|
prefix = 'cbox',
|
||||||
|
boxElement = prefix + 'Element',
|
||||||
|
|
||||||
|
// Events
|
||||||
|
event_open = prefix + '_open',
|
||||||
|
event_load = prefix + '_load',
|
||||||
|
event_complete = prefix + '_complete',
|
||||||
|
event_cleanup = prefix + '_cleanup',
|
||||||
|
event_closed = prefix + '_closed',
|
||||||
|
event_purge = prefix + '_purge',
|
||||||
|
|
||||||
|
// Special Handling for IE
|
||||||
|
isIE = !$.support.leadingWhitespace, // IE6 to IE8
|
||||||
|
isIE6 = isIE && !window.XMLHttpRequest, // IE6
|
||||||
|
event_ie6 = prefix + '_IE6',
|
||||||
|
|
||||||
|
// Cached jQuery Object Variables
|
||||||
|
$overlay,
|
||||||
|
$box,
|
||||||
|
$wrap,
|
||||||
|
$content,
|
||||||
|
$topBorder,
|
||||||
|
$leftBorder,
|
||||||
|
$rightBorder,
|
||||||
|
$bottomBorder,
|
||||||
|
$related,
|
||||||
|
$window,
|
||||||
|
$loaded,
|
||||||
|
$loadingBay,
|
||||||
|
$loadingOverlay,
|
||||||
|
$title,
|
||||||
|
$current,
|
||||||
|
$slideshow,
|
||||||
|
$next,
|
||||||
|
$prev,
|
||||||
|
$close,
|
||||||
|
$groupControls,
|
||||||
|
$events = $({}),
|
||||||
|
|
||||||
|
// Variables for cached values or use across multiple functions
|
||||||
|
settings,
|
||||||
|
interfaceHeight,
|
||||||
|
interfaceWidth,
|
||||||
|
loadedHeight,
|
||||||
|
loadedWidth,
|
||||||
|
element,
|
||||||
|
index,
|
||||||
|
photo,
|
||||||
|
open,
|
||||||
|
active,
|
||||||
|
closing,
|
||||||
|
loadingTimer,
|
||||||
|
publicMethod,
|
||||||
|
div = "div",
|
||||||
|
className,
|
||||||
|
init;
|
||||||
|
|
||||||
|
// ****************
|
||||||
|
// HELPER FUNCTIONS
|
||||||
|
// ****************
|
||||||
|
|
||||||
|
// Convience function for creating new jQuery objects
|
||||||
|
function $tag(tag, id, css) {
|
||||||
|
var element = document.createElement(tag);
|
||||||
|
|
||||||
|
if (id) {
|
||||||
|
element.id = prefix + id;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (css) {
|
||||||
|
element.style.cssText = css;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $(element);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Determine the next and previous members in a group.
|
||||||
|
function getIndex(increment) {
|
||||||
|
var
|
||||||
|
max = $related.length,
|
||||||
|
newIndex = (index + increment) % max;
|
||||||
|
|
||||||
|
return (newIndex < 0) ? max + newIndex : newIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Convert '%' and 'px' values to integers
|
||||||
|
function setSize(size, dimension) {
|
||||||
|
return Math.round((/%/.test(size) ? ((dimension === 'x' ? $window.width() : $window.height()) / 100) : 1) * parseInt(size, 10));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Checks an href to see if it is a photo.
|
||||||
|
// There is a force photo option (photo: true) for hrefs that cannot be matched by this regex.
|
||||||
|
function isImage(url) {
|
||||||
|
return settings.photo || /\.(gif|png|jp(e|g|eg)|bmp|ico)((#|\?).*)?$/i.test(url);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Assigns function results to their respective properties
|
||||||
|
function makeSettings() {
|
||||||
|
var i,
|
||||||
|
data = $.data(element, colorbox);
|
||||||
|
|
||||||
|
if (data == null) {
|
||||||
|
settings = $.extend({}, defaults);
|
||||||
|
if (console && console.log) {
|
||||||
|
console.log('Error: cboxElement missing settings object');
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
settings = $.extend({}, data);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i in settings) {
|
||||||
|
if ($.isFunction(settings[i]) && i.slice(0, 2) !== 'on') { // checks to make sure the function isn't one of the callbacks, they will be handled at the appropriate time.
|
||||||
|
settings[i] = settings[i].call(element);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
settings.rel = settings.rel || element.rel || $(element).data('rel') || 'nofollow';
|
||||||
|
settings.href = settings.href || $(element).attr('href');
|
||||||
|
settings.title = settings.title || element.title;
|
||||||
|
|
||||||
|
if (typeof settings.href === "string") {
|
||||||
|
settings.href = $.trim(settings.href);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function trigger(event, callback) {
|
||||||
|
// for external use
|
||||||
|
$(document).trigger(event);
|
||||||
|
|
||||||
|
// for internal use
|
||||||
|
$events.trigger(event);
|
||||||
|
|
||||||
|
if ($.isFunction(callback)) {
|
||||||
|
callback.call(element);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Slideshow functionality
|
||||||
|
function slideshow() {
|
||||||
|
var
|
||||||
|
timeOut,
|
||||||
|
className = prefix + "Slideshow_",
|
||||||
|
click = "click." + prefix,
|
||||||
|
clear,
|
||||||
|
set,
|
||||||
|
start,
|
||||||
|
stop;
|
||||||
|
|
||||||
|
if (settings.slideshow && $related[1]) {
|
||||||
|
clear = function () {
|
||||||
|
clearTimeout(timeOut);
|
||||||
|
};
|
||||||
|
|
||||||
|
set = function () {
|
||||||
|
if (settings.loop || $related[index + 1]) {
|
||||||
|
timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
start = function () {
|
||||||
|
$slideshow
|
||||||
|
.html(settings.slideshowStop)
|
||||||
|
.unbind(click)
|
||||||
|
.one(click, stop);
|
||||||
|
|
||||||
|
$events
|
||||||
|
.bind(event_complete, set)
|
||||||
|
.bind(event_load, clear)
|
||||||
|
.bind(event_cleanup, stop);
|
||||||
|
|
||||||
|
$box.removeClass(className + "off").addClass(className + "on");
|
||||||
|
};
|
||||||
|
|
||||||
|
stop = function () {
|
||||||
|
clear();
|
||||||
|
|
||||||
|
$events
|
||||||
|
.unbind(event_complete, set)
|
||||||
|
.unbind(event_load, clear)
|
||||||
|
.unbind(event_cleanup, stop);
|
||||||
|
|
||||||
|
$slideshow
|
||||||
|
.html(settings.slideshowStart)
|
||||||
|
.unbind(click)
|
||||||
|
.one(click, function () {
|
||||||
|
publicMethod.next();
|
||||||
|
start();
|
||||||
|
});
|
||||||
|
|
||||||
|
$box.removeClass(className + "on").addClass(className + "off");
|
||||||
|
};
|
||||||
|
|
||||||
|
if (settings.slideshowAuto) {
|
||||||
|
start();
|
||||||
|
} else {
|
||||||
|
stop();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$box.removeClass(className + "off " + className + "on");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function launch(target) {
|
||||||
|
if (!closing) {
|
||||||
|
|
||||||
|
element = target;
|
||||||
|
|
||||||
|
makeSettings();
|
||||||
|
|
||||||
|
$related = $(element);
|
||||||
|
|
||||||
|
index = 0;
|
||||||
|
|
||||||
|
if (settings.rel !== 'nofollow') {
|
||||||
|
$related = $('.' + boxElement).filter(function () {
|
||||||
|
var data = $.data(this, colorbox),
|
||||||
|
relRelated;
|
||||||
|
|
||||||
|
if (data) {
|
||||||
|
relRelated = $(this).data('rel') || data.rel || this.rel;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (relRelated === settings.rel);
|
||||||
|
});
|
||||||
|
index = $related.index(element);
|
||||||
|
|
||||||
|
// Check direct calls to ColorBox.
|
||||||
|
if (index === -1) {
|
||||||
|
$related = $related.add(element);
|
||||||
|
index = $related.length - 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!open) {
|
||||||
|
open = active = true; // Prevents the page-change action from queuing up if the visitor holds down the left or right keys.
|
||||||
|
|
||||||
|
// Show colorbox so the sizes can be calculated in older versions of jQuery
|
||||||
|
$box.css({visibility:'hidden', display:'block'});
|
||||||
|
|
||||||
|
$loaded = $tag(div, 'LoadedContent', 'width:0; height:0; overflow:hidden').appendTo($content);
|
||||||
|
|
||||||
|
// Cache values needed for size calculations
|
||||||
|
interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();//Subtraction needed for IE6
|
||||||
|
interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width();
|
||||||
|
loadedHeight = $loaded.outerHeight(true);
|
||||||
|
loadedWidth = $loaded.outerWidth(true);
|
||||||
|
|
||||||
|
if (settings.returnFocus) {
|
||||||
|
$(element).blur();
|
||||||
|
$events.one(event_closed, function () {
|
||||||
|
$(element).focus();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$overlay.css({
|
||||||
|
opacity: parseFloat(settings.opacity),
|
||||||
|
cursor: settings.overlayClose ? "pointer" : "auto",
|
||||||
|
visibility: 'visible'
|
||||||
|
}).show();
|
||||||
|
|
||||||
|
// Opens inital empty ColorBox prior to content being loaded.
|
||||||
|
settings.w = setSize(settings.initialWidth, 'x');
|
||||||
|
settings.h = setSize(settings.initialHeight, 'y');
|
||||||
|
publicMethod.position();
|
||||||
|
|
||||||
|
if (isIE6) {
|
||||||
|
$window.bind('resize.' + event_ie6 + ' scroll.' + event_ie6, function () {
|
||||||
|
$overlay.css({width: $window.width(), height: $window.height(), top: $window.scrollTop(), left: $window.scrollLeft()});
|
||||||
|
}).trigger('resize.' + event_ie6);
|
||||||
|
}
|
||||||
|
|
||||||
|
slideshow();
|
||||||
|
|
||||||
|
trigger(event_open, settings.onOpen);
|
||||||
|
|
||||||
|
$groupControls.add($title).hide();
|
||||||
|
|
||||||
|
$close.html(settings.close).show();
|
||||||
|
}
|
||||||
|
|
||||||
|
publicMethod.load(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ColorBox's markup needs to be added to the DOM prior to being called
|
||||||
|
// so that the browser will go ahead and load the CSS background images.
|
||||||
|
function appendHTML() {
|
||||||
|
if (!$box && document.body) {
|
||||||
|
init = false;
|
||||||
|
|
||||||
|
$window = $(window);
|
||||||
|
$box = $tag(div).attr({id: colorbox, 'class': isIE ? prefix + (isIE6 ? 'IE6' : 'IE') : ''}).hide();
|
||||||
|
$overlay = $tag(div, "Overlay", isIE6 ? 'position:absolute' : '').hide();
|
||||||
|
$loadingOverlay = $tag(div, "LoadingOverlay").add($tag(div, "LoadingGraphic"));
|
||||||
|
$wrap = $tag(div, "Wrapper");
|
||||||
|
$content = $tag(div, "Content").append(
|
||||||
|
$title = $tag(div, "Title"),
|
||||||
|
$current = $tag(div, "Current"),
|
||||||
|
$next = $tag(div, "Next"),
|
||||||
|
$prev = $tag(div, "Previous"),
|
||||||
|
$slideshow = $tag(div, "Slideshow"),
|
||||||
|
$close = $tag(div, "Close")
|
||||||
|
);
|
||||||
|
|
||||||
|
$wrap.append( // The 3x3 Grid that makes up ColorBox
|
||||||
|
$tag(div).append(
|
||||||
|
$tag(div, "TopLeft"),
|
||||||
|
$topBorder = $tag(div, "TopCenter"),
|
||||||
|
$tag(div, "TopRight")
|
||||||
|
),
|
||||||
|
$tag(div, false, 'clear:left').append(
|
||||||
|
$leftBorder = $tag(div, "MiddleLeft"),
|
||||||
|
$content,
|
||||||
|
$rightBorder = $tag(div, "MiddleRight")
|
||||||
|
),
|
||||||
|
$tag(div, false, 'clear:left').append(
|
||||||
|
$tag(div, "BottomLeft"),
|
||||||
|
$bottomBorder = $tag(div, "BottomCenter"),
|
||||||
|
$tag(div, "BottomRight")
|
||||||
|
)
|
||||||
|
).find('div div').css({'float': 'left'});
|
||||||
|
|
||||||
|
$loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none');
|
||||||
|
|
||||||
|
$groupControls = $next.add($prev).add($current).add($slideshow);
|
||||||
|
|
||||||
|
$(document.body).append($overlay, $box.append($wrap, $loadingBay));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add ColorBox's event bindings
|
||||||
|
function addBindings() {
|
||||||
|
function clickHandler(e) {
|
||||||
|
// ignore non-left-mouse-clicks and clicks modified with ctrl / command, shift, or alt.
|
||||||
|
// See: http://jacklmoore.com/notes/click-events/
|
||||||
|
if (!(e.which > 1 || e.shiftKey || e.altKey || e.metaKey)) {
|
||||||
|
e.preventDefault();
|
||||||
|
launch(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($box) {
|
||||||
|
if (!init) {
|
||||||
|
init = true;
|
||||||
|
|
||||||
|
// Anonymous functions here keep the public method from being cached, thereby allowing them to be redefined on the fly.
|
||||||
|
$next.click(function () {
|
||||||
|
publicMethod.next();
|
||||||
|
});
|
||||||
|
$prev.click(function () {
|
||||||
|
publicMethod.prev();
|
||||||
|
});
|
||||||
|
$close.click(function () {
|
||||||
|
publicMethod.close();
|
||||||
|
});
|
||||||
|
$overlay.click(function () {
|
||||||
|
if (settings.overlayClose) {
|
||||||
|
publicMethod.close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Key Bindings
|
||||||
|
$(document).bind('keydown.' + prefix, function (e) {
|
||||||
|
var key = e.keyCode;
|
||||||
|
if (open && settings.escKey && key === 27) {
|
||||||
|
e.preventDefault();
|
||||||
|
publicMethod.close();
|
||||||
|
}
|
||||||
|
if (open && settings.arrowKey && $related[1]) {
|
||||||
|
if (key === 37) {
|
||||||
|
e.preventDefault();
|
||||||
|
$prev.click();
|
||||||
|
} else if (key === 39) {
|
||||||
|
e.preventDefault();
|
||||||
|
$next.click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
if ($.isFunction($.fn.on)) {
|
||||||
|
$(document).on('click.'+prefix, '.'+boxElement, clickHandler);
|
||||||
|
} else { // For jQuery 1.3.x -> 1.6.x
|
||||||
|
$('.'+boxElement).live('click.'+prefix, clickHandler);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Don't do anything if ColorBox already exists.
|
||||||
|
if ($.colorbox) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Append the HTML when the DOM loads
|
||||||
|
$(appendHTML);
|
||||||
|
|
||||||
|
|
||||||
|
// ****************
|
||||||
|
// PUBLIC FUNCTIONS
|
||||||
|
// Usage format: $.fn.colorbox.close();
|
||||||
|
// Usage from within an iframe: parent.$.fn.colorbox.close();
|
||||||
|
// ****************
|
||||||
|
|
||||||
|
publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) {
|
||||||
|
var $this = this;
|
||||||
|
|
||||||
|
options = options || {};
|
||||||
|
|
||||||
|
appendHTML();
|
||||||
|
|
||||||
|
if (addBindings()) {
|
||||||
|
if ($.isFunction($this)) { // assume a call to $.colorbox
|
||||||
|
$this = $('<a/>');
|
||||||
|
options.open = true;
|
||||||
|
} else if (!$this[0]) { // colorbox being applied to empty collection
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (callback) {
|
||||||
|
options.onComplete = callback;
|
||||||
|
}
|
||||||
|
|
||||||
|
$this.each(function () {
|
||||||
|
$.data(this, colorbox, $.extend({}, $.data(this, colorbox) || defaults, options));
|
||||||
|
}).addClass(boxElement);
|
||||||
|
|
||||||
|
if (($.isFunction(options.open) && options.open.call($this)) || options.open) {
|
||||||
|
launch($this[0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
};
|
||||||
|
|
||||||
|
publicMethod.position = function (speed, loadedCallback) {
|
||||||
|
var
|
||||||
|
css,
|
||||||
|
top = 0,
|
||||||
|
left = 0,
|
||||||
|
offset = $box.offset(),
|
||||||
|
scrollTop,
|
||||||
|
scrollLeft;
|
||||||
|
|
||||||
|
$window.unbind('resize.' + prefix);
|
||||||
|
|
||||||
|
// remove the modal so that it doesn't influence the document width/height
|
||||||
|
$box.css({top: -9e4, left: -9e4});
|
||||||
|
|
||||||
|
scrollTop = $window.scrollTop();
|
||||||
|
scrollLeft = $window.scrollLeft();
|
||||||
|
|
||||||
|
if (settings.fixed && !isIE6) {
|
||||||
|
offset.top -= scrollTop;
|
||||||
|
offset.left -= scrollLeft;
|
||||||
|
$box.css({position: 'fixed'});
|
||||||
|
} else {
|
||||||
|
top = scrollTop;
|
||||||
|
left = scrollLeft;
|
||||||
|
$box.css({position: 'absolute'});
|
||||||
|
}
|
||||||
|
|
||||||
|
// keeps the top and left positions within the browser's viewport.
|
||||||
|
if (settings.right !== false) {
|
||||||
|
left += Math.max($window.width() - settings.w - loadedWidth - interfaceWidth - setSize(settings.right, 'x'), 0);
|
||||||
|
} else if (settings.left !== false) {
|
||||||
|
left += setSize(settings.left, 'x');
|
||||||
|
} else {
|
||||||
|
left += Math.round(Math.max($window.width() - settings.w - loadedWidth - interfaceWidth, 0) / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (settings.bottom !== false) {
|
||||||
|
top += Math.max($window.height() - settings.h - loadedHeight - interfaceHeight - setSize(settings.bottom, 'y'), 0);
|
||||||
|
} else if (settings.top !== false) {
|
||||||
|
top += setSize(settings.top, 'y');
|
||||||
|
} else {
|
||||||
|
top += Math.round(Math.max($window.height() - settings.h - loadedHeight - interfaceHeight, 0) / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
$box.css({top: offset.top, left: offset.left, visibility:'visible'});
|
||||||
|
|
||||||
|
// setting the speed to 0 to reduce the delay between same-sized content.
|
||||||
|
speed = ($box.width() === settings.w + loadedWidth && $box.height() === settings.h + loadedHeight) ? 0 : speed || 0;
|
||||||
|
|
||||||
|
// this gives the wrapper plenty of breathing room so it's floated contents can move around smoothly,
|
||||||
|
// but it has to be shrank down around the size of div#colorbox when it's done. If not,
|
||||||
|
// it can invoke an obscure IE bug when using iframes.
|
||||||
|
$wrap[0].style.width = $wrap[0].style.height = "9999px";
|
||||||
|
|
||||||
|
function modalDimensions(that) {
|
||||||
|
$topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width = (parseInt(that.style.width,10) - interfaceWidth)+'px';
|
||||||
|
$content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height = (parseInt(that.style.height,10) - interfaceHeight)+'px';
|
||||||
|
}
|
||||||
|
|
||||||
|
css = {width: settings.w + loadedWidth + interfaceWidth, height: settings.h + loadedHeight + interfaceHeight, top: top, left: left};
|
||||||
|
|
||||||
|
if(speed===0){ // temporary workaround to side-step jQuery-UI 1.8 bug (http://bugs.jquery.com/ticket/12273)
|
||||||
|
$box.css(css);
|
||||||
|
}
|
||||||
|
$box.dequeue().animate(css, {
|
||||||
|
duration: speed,
|
||||||
|
complete: function () {
|
||||||
|
modalDimensions(this);
|
||||||
|
|
||||||
|
active = false;
|
||||||
|
|
||||||
|
// shrink the wrapper down to exactly the size of colorbox to avoid a bug in IE's iframe implementation.
|
||||||
|
$wrap[0].style.width = (settings.w + loadedWidth + interfaceWidth) + "px";
|
||||||
|
$wrap[0].style.height = (settings.h + loadedHeight + interfaceHeight) + "px";
|
||||||
|
|
||||||
|
if (settings.reposition) {
|
||||||
|
setTimeout(function () { // small delay before binding onresize due to an IE8 bug.
|
||||||
|
$window.bind('resize.' + prefix, publicMethod.position);
|
||||||
|
}, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (loadedCallback) {
|
||||||
|
loadedCallback();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
step: function () {
|
||||||
|
modalDimensions(this);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
publicMethod.resize = function (options) {
|
||||||
|
if (open) {
|
||||||
|
options = options || {};
|
||||||
|
|
||||||
|
if (options.width) {
|
||||||
|
settings.w = setSize(options.width, 'x') - loadedWidth - interfaceWidth;
|
||||||
|
}
|
||||||
|
if (options.innerWidth) {
|
||||||
|
settings.w = setSize(options.innerWidth, 'x');
|
||||||
|
}
|
||||||
|
$loaded.css({width: settings.w});
|
||||||
|
|
||||||
|
if (options.height) {
|
||||||
|
settings.h = setSize(options.height, 'y') - loadedHeight - interfaceHeight;
|
||||||
|
}
|
||||||
|
if (options.innerHeight) {
|
||||||
|
settings.h = setSize(options.innerHeight, 'y');
|
||||||
|
}
|
||||||
|
if (!options.innerHeight && !options.height) {
|
||||||
|
$loaded.css({height: "auto"});
|
||||||
|
settings.h = $loaded.height();
|
||||||
|
}
|
||||||
|
$loaded.css({height: settings.h});
|
||||||
|
|
||||||
|
publicMethod.position(settings.transition === "none" ? 0 : settings.speed);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
publicMethod.prep = function (object) {
|
||||||
|
if (!open) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var callback, speed = settings.transition === "none" ? 0 : settings.speed;
|
||||||
|
|
||||||
|
$loaded.empty().remove(); // Using empty first may prevent some IE7 issues.
|
||||||
|
|
||||||
|
$loaded = $tag(div, 'LoadedContent').append(object);
|
||||||
|
|
||||||
|
function getWidth() {
|
||||||
|
settings.w = settings.w || $loaded.width();
|
||||||
|
settings.w = settings.mw && settings.mw < settings.w ? settings.mw : settings.w;
|
||||||
|
return settings.w;
|
||||||
|
}
|
||||||
|
function getHeight() {
|
||||||
|
settings.h = settings.h || $loaded.height();
|
||||||
|
settings.h = settings.mh && settings.mh < settings.h ? settings.mh : settings.h;
|
||||||
|
return settings.h;
|
||||||
|
}
|
||||||
|
|
||||||
|
$loaded.hide()
|
||||||
|
.appendTo($loadingBay.show())// content has to be appended to the DOM for accurate size calculations.
|
||||||
|
.css({width: getWidth(), overflow: settings.scrolling ? 'auto' : 'hidden'})
|
||||||
|
.css({height: getHeight()})// sets the height independently from the width in case the new width influences the value of height.
|
||||||
|
.prependTo($content);
|
||||||
|
|
||||||
|
$loadingBay.hide();
|
||||||
|
|
||||||
|
// floating the IMG removes the bottom line-height and fixed a problem where IE miscalculates the width of the parent element as 100% of the document width.
|
||||||
|
//$(photo).css({'float': 'none', marginLeft: 'auto', marginRight: 'auto'});
|
||||||
|
|
||||||
|
$(photo).css({'float': 'none'});
|
||||||
|
|
||||||
|
|
||||||
|
callback = function () {
|
||||||
|
var total = $related.length,
|
||||||
|
iframe,
|
||||||
|
frameBorder = 'frameBorder',
|
||||||
|
allowTransparency = 'allowTransparency',
|
||||||
|
complete;
|
||||||
|
|
||||||
|
if (!open) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
function removeFilter() {
|
||||||
|
if (isIE) {
|
||||||
|
$box[0].style.removeAttribute('filter');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
complete = function () {
|
||||||
|
clearTimeout(loadingTimer);
|
||||||
|
$loadingOverlay.remove();
|
||||||
|
trigger(event_complete, settings.onComplete);
|
||||||
|
};
|
||||||
|
|
||||||
|
if (isIE) {
|
||||||
|
//This fadeIn helps the bicubic resampling to kick-in.
|
||||||
|
if (photo) {
|
||||||
|
$loaded.fadeIn(100);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$title.html(settings.title).add($loaded).show();
|
||||||
|
|
||||||
|
if (total > 1) { // handle grouping
|
||||||
|
if (typeof settings.current === "string") {
|
||||||
|
$current.html(settings.current.replace('{current}', index + 1).replace('{total}', total)).show();
|
||||||
|
}
|
||||||
|
|
||||||
|
$next[(settings.loop || index < total - 1) ? "show" : "hide"]().html(settings.next);
|
||||||
|
$prev[(settings.loop || index) ? "show" : "hide"]().html(settings.previous);
|
||||||
|
|
||||||
|
if (settings.slideshow) {
|
||||||
|
$slideshow.show();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Preloads images within a rel group
|
||||||
|
if (settings.preloading) {
|
||||||
|
$.each([getIndex(-1), getIndex(1)], function(){
|
||||||
|
var src,
|
||||||
|
img,
|
||||||
|
i = $related[this],
|
||||||
|
data = $.data(i, colorbox);
|
||||||
|
|
||||||
|
if (data && data.href) {
|
||||||
|
src = data.href;
|
||||||
|
if ($.isFunction(src)) {
|
||||||
|
src = src.call(i);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
src = $(i).attr('href');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (src && (isImage(src) || data.photo)) {
|
||||||
|
img = new Image();
|
||||||
|
img.src = src;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$groupControls.hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (settings.iframe) {
|
||||||
|
iframe = $tag('iframe')[0];
|
||||||
|
|
||||||
|
if (frameBorder in iframe) {
|
||||||
|
iframe[frameBorder] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (allowTransparency in iframe) {
|
||||||
|
iframe[allowTransparency] = "true";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!settings.scrolling) {
|
||||||
|
iframe.scrolling = "no";
|
||||||
|
}
|
||||||
|
|
||||||
|
$(iframe)
|
||||||
|
.attr({
|
||||||
|
src: settings.href,
|
||||||
|
name: (new Date()).getTime(), // give the iframe a unique name to prevent caching
|
||||||
|
'class': prefix + 'Iframe',
|
||||||
|
allowFullScreen : true, // allow HTML5 video to go fullscreen
|
||||||
|
webkitAllowFullScreen : true,
|
||||||
|
mozallowfullscreen : true
|
||||||
|
})
|
||||||
|
.one('load', complete)
|
||||||
|
.appendTo($loaded);
|
||||||
|
|
||||||
|
$events.one(event_purge, function () {
|
||||||
|
iframe.src = "//about:blank";
|
||||||
|
});
|
||||||
|
|
||||||
|
if (settings.fastIframe) {
|
||||||
|
$(iframe).trigger('load');
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
complete();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (settings.transition === 'fade') {
|
||||||
|
$box.fadeTo(speed, 1, removeFilter);
|
||||||
|
} else {
|
||||||
|
removeFilter();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
if (settings.transition === 'fade') {
|
||||||
|
$box.fadeTo(speed, 0, function () {
|
||||||
|
publicMethod.position(0, callback);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
publicMethod.position(speed, callback);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
publicMethod.load = function (launched) {
|
||||||
|
var href, setResize, prep = publicMethod.prep, $inline;
|
||||||
|
|
||||||
|
active = true;
|
||||||
|
|
||||||
|
photo = false;
|
||||||
|
|
||||||
|
element = $related[index];
|
||||||
|
|
||||||
|
if (!launched) {
|
||||||
|
makeSettings();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (className) {
|
||||||
|
$box.add($overlay).removeClass(className);
|
||||||
|
}
|
||||||
|
if (settings.className) {
|
||||||
|
$box.add($overlay).addClass(settings.className);
|
||||||
|
}
|
||||||
|
className = settings.className;
|
||||||
|
|
||||||
|
trigger(event_purge);
|
||||||
|
|
||||||
|
trigger(event_load, settings.onLoad);
|
||||||
|
|
||||||
|
settings.h = settings.height ?
|
||||||
|
setSize(settings.height, 'y') - loadedHeight - interfaceHeight :
|
||||||
|
settings.innerHeight && setSize(settings.innerHeight, 'y');
|
||||||
|
|
||||||
|
settings.w = settings.width ?
|
||||||
|
setSize(settings.width, 'x') - loadedWidth - interfaceWidth :
|
||||||
|
settings.innerWidth && setSize(settings.innerWidth, 'x');
|
||||||
|
|
||||||
|
// Sets the minimum dimensions for use in image scaling
|
||||||
|
settings.mw = settings.w;
|
||||||
|
settings.mh = settings.h;
|
||||||
|
|
||||||
|
// Re-evaluate the minimum width and height based on maxWidth and maxHeight values.
|
||||||
|
// If the width or height exceed the maxWidth or maxHeight, use the maximum values instead.
|
||||||
|
if (settings.maxWidth) {
|
||||||
|
settings.mw = setSize(settings.maxWidth, 'x') - loadedWidth - interfaceWidth;
|
||||||
|
settings.mw = settings.w && settings.w < settings.mw ? settings.w : settings.mw;
|
||||||
|
}
|
||||||
|
if (settings.maxHeight) {
|
||||||
|
settings.mh = setSize(settings.maxHeight, 'y') - loadedHeight - interfaceHeight;
|
||||||
|
settings.mh = settings.h && settings.h < settings.mh ? settings.h : settings.mh;
|
||||||
|
}
|
||||||
|
|
||||||
|
href = settings.href;
|
||||||
|
|
||||||
|
loadingTimer = setTimeout(function () {
|
||||||
|
$loadingOverlay.appendTo($content);
|
||||||
|
}, 100);
|
||||||
|
|
||||||
|
if (settings.inline) {
|
||||||
|
// Inserts an empty placeholder where inline content is being pulled from.
|
||||||
|
// An event is bound to put inline content back when ColorBox closes or loads new content.
|
||||||
|
$inline = $tag(div).hide().insertBefore($(href)[0]);
|
||||||
|
|
||||||
|
$events.one(event_purge, function () {
|
||||||
|
$inline.replaceWith($loaded.children());
|
||||||
|
});
|
||||||
|
|
||||||
|
prep($(href));
|
||||||
|
} else if (settings.iframe) {
|
||||||
|
// IFrame element won't be added to the DOM until it is ready to be displayed,
|
||||||
|
// to avoid problems with DOM-ready JS that might be trying to run in that iframe.
|
||||||
|
prep(" ");
|
||||||
|
} else if (settings.html) {
|
||||||
|
prep(settings.html);
|
||||||
|
} else if (isImage(href)) {
|
||||||
|
$(photo = new Image())
|
||||||
|
.addClass(prefix + 'Photo')
|
||||||
|
.bind('error',function () {
|
||||||
|
settings.title = false;
|
||||||
|
prep($tag(div, 'Error').html(settings.imgError));
|
||||||
|
})
|
||||||
|
.one('load', function () {
|
||||||
|
var percent;
|
||||||
|
|
||||||
|
if (settings.scalePhotos) {
|
||||||
|
setResize = function () {
|
||||||
|
photo.height -= photo.height * percent;
|
||||||
|
photo.width -= photo.width * percent;
|
||||||
|
};
|
||||||
|
if (settings.mw && photo.width > settings.mw) {
|
||||||
|
percent = (photo.width - settings.mw) / photo.width;
|
||||||
|
setResize();
|
||||||
|
}
|
||||||
|
if (settings.mh && photo.height > settings.mh) {
|
||||||
|
percent = (photo.height - settings.mh) / photo.height;
|
||||||
|
setResize();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (settings.h) {
|
||||||
|
photo.style.marginTop = Math.max(settings.mh - photo.height, 0) / 2 + 'px';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($related[1] && (settings.loop || $related[index + 1])) {
|
||||||
|
photo.style.cursor = 'pointer';
|
||||||
|
photo.onclick = function () {
|
||||||
|
publicMethod.next();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isIE) {
|
||||||
|
photo.style.msInterpolationMode = 'bicubic';
|
||||||
|
}
|
||||||
|
|
||||||
|
setTimeout(function () { // A pause because Chrome will sometimes report a 0 by 0 size otherwise.
|
||||||
|
prep(photo);
|
||||||
|
}, 1);
|
||||||
|
});
|
||||||
|
|
||||||
|
setTimeout(function () { // A pause because Opera 10.6+ will sometimes not run the onload function otherwise.
|
||||||
|
photo.src = href;
|
||||||
|
}, 1);
|
||||||
|
} else if (href) {
|
||||||
|
$loadingBay.load(href, settings.data, function (data, status) {
|
||||||
|
prep(status === 'error' ? $tag(div, 'Error').html(settings.xhrError) : $(this).contents());
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Navigates to the next page/image in a set.
|
||||||
|
publicMethod.next = function () {
|
||||||
|
if (!active && $related[1] && (settings.loop || $related[index + 1])) {
|
||||||
|
index = getIndex(1);
|
||||||
|
publicMethod.load();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
publicMethod.prev = function () {
|
||||||
|
if (!active && $related[1] && (settings.loop || index)) {
|
||||||
|
index = getIndex(-1);
|
||||||
|
publicMethod.load();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Note: to use this within an iframe use the following format: parent.$.fn.colorbox.close();
|
||||||
|
publicMethod.close = function () {
|
||||||
|
if (open && !closing) {
|
||||||
|
|
||||||
|
closing = true;
|
||||||
|
|
||||||
|
open = false;
|
||||||
|
|
||||||
|
trigger(event_cleanup, settings.onCleanup);
|
||||||
|
|
||||||
|
$window.unbind('.' + prefix + ' .' + event_ie6);
|
||||||
|
|
||||||
|
$overlay.fadeTo(200, 0);
|
||||||
|
|
||||||
|
$box.stop().fadeTo(300, 0, function () {
|
||||||
|
|
||||||
|
$box.add($overlay).css({'opacity': 1, cursor: 'auto'}).hide();
|
||||||
|
|
||||||
|
trigger(event_purge);
|
||||||
|
|
||||||
|
$loaded.empty().remove(); // Using empty first may prevent some IE7 issues.
|
||||||
|
|
||||||
|
setTimeout(function () {
|
||||||
|
closing = false;
|
||||||
|
trigger(event_closed, settings.onClosed);
|
||||||
|
}, 1);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Removes changes ColorBox made to the document, but does not remove the plugin
|
||||||
|
// from jQuery.
|
||||||
|
publicMethod.remove = function () {
|
||||||
|
$([]).add($box).add($overlay).remove();
|
||||||
|
$box = null;
|
||||||
|
$('.' + boxElement)
|
||||||
|
.removeData(colorbox)
|
||||||
|
.removeClass(boxElement);
|
||||||
|
|
||||||
|
$(document).unbind('click.'+prefix);
|
||||||
|
};
|
||||||
|
|
||||||
|
// A method for fetching the current element ColorBox is referencing.
|
||||||
|
// returns a jQuery object.
|
||||||
|
publicMethod.element = function () {
|
||||||
|
return $(element);
|
||||||
|
};
|
||||||
|
|
||||||
|
publicMethod.settings = defaults;
|
||||||
|
|
||||||
|
}(jQuery, document, window));
|
55
util/minifyjs.sh
Executable file
|
@ -0,0 +1,55 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
MINIFY_CMD=uglifyjs
|
||||||
|
|
||||||
|
JSFILES=(
|
||||||
|
"js/acl.js"
|
||||||
|
"js/ajaxupload.js"
|
||||||
|
"js/country.js"
|
||||||
|
"js/fk.autocomplete.js"
|
||||||
|
"js/jquery.htmlstream.js"
|
||||||
|
"js/main.js"
|
||||||
|
"js/webtoolkit.base64.js"
|
||||||
|
"view/theme/frost/js/acl.js"
|
||||||
|
"view/theme/frost/js/fk.autocomplete.js"
|
||||||
|
"view/theme/frost/js/jquery.divgrow-1.3.1.f1.js"
|
||||||
|
"view/theme/frost/js/main.js"
|
||||||
|
"view/theme/frost/js/theme.js"
|
||||||
|
"view/theme/frost-mobile/js/acl.js"
|
||||||
|
"view/theme/frost-mobile/js/fk.autocomplete.js"
|
||||||
|
"view/theme/frost-mobile/js/jquery.divgrow-1.3.1.f1.js"
|
||||||
|
"view/theme/frost-mobile/js/main.js"
|
||||||
|
"view/theme/frost-mobile/js/theme.js"
|
||||||
|
"view/theme/decaf-mobile/js/theme.js"
|
||||||
|
)
|
||||||
|
JSFILES2=(
|
||||||
|
"library/colorbox/jquery.colorbox.js"
|
||||||
|
)
|
||||||
|
JSFILES3=(
|
||||||
|
"library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js"
|
||||||
|
)
|
||||||
|
|
||||||
|
for i in ${JSFILES[@]}
|
||||||
|
do
|
||||||
|
MINFILE=${i%%.js}.min.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
|
rm $MINFILE
|
||||||
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in ${JSFILES2[@]}
|
||||||
|
do
|
||||||
|
MINFILE=${i%%.js}-min.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
|
rm $MINFILE
|
||||||
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in ${JSFILES3[@]}
|
||||||
|
do
|
||||||
|
MINFILE=${i%%_src.js}.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
|
rm $MINFILE
|
||||||
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
|
done
|
||||||
|
|
|
@ -1,37 +1,40 @@
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
$("#cnftheme").fancybox({
|
$("#cnftheme").click(function(){
|
||||||
width: 800,
|
$.colorbox({
|
||||||
autoDimensions: false,
|
width: 800,
|
||||||
onStart: function(){
|
height: '90%',
|
||||||
var theme = $("#id_theme :selected").val();
|
/*onOpen: function(){
|
||||||
var theme_mobile = $("#id_theme_mobile :selected").val();
|
var theme = $("#id_theme :selected").val();
|
||||||
$("#cnftheme").attr('href',"$baseurl/admin/themes/"+theme);
|
$("#cnftheme").attr('href',"$baseurl/admin/themes/"+theme);
|
||||||
},
|
},*/
|
||||||
onComplete: function(){
|
href: "$baseurl/admin/themes/" + $("#id_theme :selected").val(),
|
||||||
$("div#fancybox-content form").submit(function(e){
|
onComplete: function(){
|
||||||
var url = $(this).attr('action');
|
$("div#fancybox-content form").submit(function(e){
|
||||||
// can't get .serialize() to work...
|
var url = $(this).attr('action');
|
||||||
var data={};
|
// can't get .serialize() to work...
|
||||||
$(this).find("input").each(function(){
|
var data={};
|
||||||
data[$(this).attr('name')] = $(this).val();
|
$(this).find("input").each(function(){
|
||||||
|
data[$(this).attr('name')] = $(this).val();
|
||||||
|
});
|
||||||
|
$(this).find("select").each(function(){
|
||||||
|
data[$(this).attr('name')] = $(this).children(":selected").val();
|
||||||
|
});
|
||||||
|
console.log(":)", url, data);
|
||||||
|
|
||||||
|
$.post(url, data, function(data) {
|
||||||
|
if(timer) clearTimeout(timer);
|
||||||
|
NavUpdate();
|
||||||
|
$.colorbox.close();
|
||||||
|
})
|
||||||
|
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
$(this).find("select").each(function(){
|
|
||||||
data[$(this).attr('name')] = $(this).children(":selected").val();
|
|
||||||
});
|
|
||||||
console.log(":)", url, data);
|
|
||||||
|
|
||||||
$.post(url, data, function(data) {
|
}
|
||||||
if(timer) clearTimeout(timer);
|
});
|
||||||
NavUpdate();
|
return false;
|
||||||
$.fancybox.close();
|
|
||||||
})
|
|
||||||
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
||||||
|
|
||||||
<li><a href="network/?cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li>
|
<li><a href="network/0?nets=all&cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li>
|
||||||
{{ if $lblsuggest }}
|
{{ if $lblsuggest }}
|
||||||
<li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li>
|
<li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
|
@ -25,8 +25,8 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: friendica\n"
|
"Project-Id-Version: friendica\n"
|
||||||
"Report-Msgid-Bugs-To: http://bugs.friendica.com/\n"
|
"Report-Msgid-Bugs-To: http://bugs.friendica.com/\n"
|
||||||
"POT-Creation-Date: 2013-01-18 10:00-0800\n"
|
"POT-Creation-Date: 2013-01-27 10:00-0800\n"
|
||||||
"PO-Revision-Date: 2013-01-19 14:25+0000\n"
|
"PO-Revision-Date: 2013-01-28 13:46+0000\n"
|
||||||
"Last-Translator: bavatar <tobias.diekershoff@gmx.net>\n"
|
"Last-Translator: bavatar <tobias.diekershoff@gmx.net>\n"
|
||||||
"Language-Team: German (http://www.transifex.com/projects/p/friendica/language/de/)\n"
|
"Language-Team: German (http://www.transifex.com/projects/p/friendica/language/de/)\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -73,13 +73,13 @@ msgstr "Konnte den Kontakt nicht aktualisieren."
|
||||||
#: ../../mod/wall_upload.php:66 ../../mod/follow.php:9
|
#: ../../mod/wall_upload.php:66 ../../mod/follow.php:9
|
||||||
#: ../../mod/display.php:180 ../../mod/profiles.php:146
|
#: ../../mod/display.php:180 ../../mod/profiles.php:146
|
||||||
#: ../../mod/profiles.php:567 ../../mod/delegate.php:6
|
#: ../../mod/profiles.php:567 ../../mod/delegate.php:6
|
||||||
#: ../../mod/suggest.php:28 ../../mod/invite.php:15 ../../mod/invite.php:83
|
#: ../../mod/suggest.php:28 ../../mod/invite.php:15 ../../mod/invite.php:101
|
||||||
#: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:512
|
#: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:512
|
||||||
#: ../../addon/facebook/facebook.php:518 ../../addon/fbpost/fbpost.php:170
|
#: ../../addon/facebook/facebook.php:518 ../../addon/fbpost/fbpost.php:170
|
||||||
#: ../../addon/fbpost/fbpost.php:176
|
#: ../../addon/fbpost/fbpost.php:176
|
||||||
#: ../../addon/dav/friendica/layout.fnk.php:354
|
#: ../../addon/dav/friendica/layout.fnk.php:354
|
||||||
#: ../../addon/tumblr/tumblr.php:34 ../../include/items.php:3987
|
#: ../../addon/tumblr/tumblr.php:34 ../../include/items.php:3987
|
||||||
#: ../../index.php:340 ../../addon.old/facebook/facebook.php:510
|
#: ../../index.php:341 ../../addon.old/facebook/facebook.php:510
|
||||||
#: ../../addon.old/facebook/facebook.php:516
|
#: ../../addon.old/facebook/facebook.php:516
|
||||||
#: ../../addon.old/fbpost/fbpost.php:159 ../../addon.old/fbpost/fbpost.php:165
|
#: ../../addon.old/fbpost/fbpost.php:159 ../../addon.old/fbpost/fbpost.php:165
|
||||||
#: ../../addon.old/dav/friendica/layout.fnk.php:354
|
#: ../../addon.old/dav/friendica/layout.fnk.php:354
|
||||||
|
@ -161,7 +161,7 @@ msgstr "Neues Foto von dieser URL"
|
||||||
#: ../../mod/message.php:301 ../../mod/message.php:527 ../../mod/admin.php:461
|
#: ../../mod/message.php:301 ../../mod/message.php:527 ../../mod/admin.php:461
|
||||||
#: ../../mod/admin.php:728 ../../mod/admin.php:865 ../../mod/admin.php:1064
|
#: ../../mod/admin.php:728 ../../mod/admin.php:865 ../../mod/admin.php:1064
|
||||||
#: ../../mod/admin.php:1151 ../../mod/profiles.php:626
|
#: ../../mod/admin.php:1151 ../../mod/profiles.php:626
|
||||||
#: ../../mod/invite.php:121 ../../addon/fromgplus/fromgplus.php:44
|
#: ../../mod/invite.php:140 ../../addon/fromgplus/fromgplus.php:44
|
||||||
#: ../../addon/facebook/facebook.php:621
|
#: ../../addon/facebook/facebook.php:621
|
||||||
#: ../../addon/snautofollow/snautofollow.php:64
|
#: ../../addon/snautofollow/snautofollow.php:64
|
||||||
#: ../../addon/fbpost/fbpost.php:280 ../../addon/yourls/yourls.php:76
|
#: ../../addon/fbpost/fbpost.php:280 ../../addon/yourls/yourls.php:76
|
||||||
|
@ -260,11 +260,11 @@ msgstr "Hilfe:"
|
||||||
msgid "Help"
|
msgid "Help"
|
||||||
msgstr "Hilfe"
|
msgstr "Hilfe"
|
||||||
|
|
||||||
#: ../../mod/help.php:90 ../../index.php:225
|
#: ../../mod/help.php:90 ../../index.php:226
|
||||||
msgid "Not Found"
|
msgid "Not Found"
|
||||||
msgstr "Nicht gefunden"
|
msgstr "Nicht gefunden"
|
||||||
|
|
||||||
#: ../../mod/help.php:93 ../../index.php:228
|
#: ../../mod/help.php:93 ../../index.php:229
|
||||||
msgid "Page not found."
|
msgid "Page not found."
|
||||||
msgstr "Seite nicht gefunden."
|
msgstr "Seite nicht gefunden."
|
||||||
|
|
||||||
|
@ -307,7 +307,7 @@ msgid "link to source"
|
||||||
msgstr "Link zum Originalbeitrag"
|
msgstr "Link zum Originalbeitrag"
|
||||||
|
|
||||||
#: ../../mod/events.php:358 ../../view/theme/diabook/theme.php:91
|
#: ../../mod/events.php:358 ../../view/theme/diabook/theme.php:91
|
||||||
#: ../../include/nav.php:52 ../../boot.php:1836
|
#: ../../include/nav.php:52 ../../boot.php:1857
|
||||||
msgid "Events"
|
msgid "Events"
|
||||||
msgstr "Veranstaltungen"
|
msgstr "Veranstaltungen"
|
||||||
|
|
||||||
|
@ -366,7 +366,7 @@ msgstr "Beschreibung"
|
||||||
#: ../../mod/events.php:459 ../../mod/directory.php:134
|
#: ../../mod/events.php:459 ../../mod/directory.php:134
|
||||||
#: ../../addon/forumdirectory/forumdirectory.php:156
|
#: ../../addon/forumdirectory/forumdirectory.php:156
|
||||||
#: ../../include/event.php:40 ../../include/bb2diaspora.php:415
|
#: ../../include/event.php:40 ../../include/bb2diaspora.php:415
|
||||||
#: ../../boot.php:1358
|
#: ../../boot.php:1379
|
||||||
msgid "Location:"
|
msgid "Location:"
|
||||||
msgstr "Ort:"
|
msgstr "Ort:"
|
||||||
|
|
||||||
|
@ -386,7 +386,7 @@ msgstr "System zur Wartung abgeschaltet"
|
||||||
#: ../../mod/dfrn_request.php:848 ../../mod/settings.php:561
|
#: ../../mod/dfrn_request.php:848 ../../mod/settings.php:561
|
||||||
#: ../../mod/settings.php:587 ../../mod/fbrowser.php:81
|
#: ../../mod/settings.php:587 ../../mod/fbrowser.php:81
|
||||||
#: ../../mod/fbrowser.php:116 ../../addon/js_upload/js_upload.php:45
|
#: ../../mod/fbrowser.php:116 ../../addon/js_upload/js_upload.php:45
|
||||||
#: ../../include/conversation.php:1040
|
#: ../../include/conversation.php:1042
|
||||||
#: ../../addon.old/js_upload/js_upload.php:45
|
#: ../../addon.old/js_upload/js_upload.php:45
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "Abbrechen"
|
msgstr "Abbrechen"
|
||||||
|
@ -456,7 +456,7 @@ msgstr "Ja"
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "Nein"
|
msgstr "Nein"
|
||||||
|
|
||||||
#: ../../mod/photos.php:51 ../../boot.php:1829
|
#: ../../mod/photos.php:51 ../../boot.php:1850
|
||||||
msgid "Photo Albums"
|
msgid "Photo Albums"
|
||||||
msgstr "Fotoalben"
|
msgstr "Fotoalben"
|
||||||
|
|
||||||
|
@ -661,7 +661,7 @@ msgstr "Ich mag das (toggle)"
|
||||||
msgid "I don't like this (toggle)"
|
msgid "I don't like this (toggle)"
|
||||||
msgstr "Ich mag das nicht (toggle)"
|
msgstr "Ich mag das nicht (toggle)"
|
||||||
|
|
||||||
#: ../../mod/photos.php:1422 ../../include/conversation.php:1000
|
#: ../../mod/photos.php:1422 ../../include/conversation.php:1002
|
||||||
msgid "Share"
|
msgid "Share"
|
||||||
msgstr "Teilen"
|
msgstr "Teilen"
|
||||||
|
|
||||||
|
@ -669,7 +669,7 @@ msgstr "Teilen"
|
||||||
#: ../../mod/content.php:499 ../../mod/content.php:883
|
#: ../../mod/content.php:499 ../../mod/content.php:883
|
||||||
#: ../../mod/wallmessage.php:152 ../../mod/message.php:300
|
#: ../../mod/wallmessage.php:152 ../../mod/message.php:300
|
||||||
#: ../../mod/message.php:528 ../../include/conversation.php:645
|
#: ../../mod/message.php:528 ../../include/conversation.php:645
|
||||||
#: ../../include/conversation.php:1019 ../../object/Item.php:293
|
#: ../../include/conversation.php:1021 ../../object/Item.php:293
|
||||||
msgid "Please wait"
|
msgid "Please wait"
|
||||||
msgstr "Bitte warten"
|
msgstr "Bitte warten"
|
||||||
|
|
||||||
|
@ -687,7 +687,7 @@ msgstr "Kommentar"
|
||||||
|
|
||||||
#: ../../mod/photos.php:1443 ../../mod/photos.php:1487
|
#: ../../mod/photos.php:1443 ../../mod/photos.php:1487
|
||||||
#: ../../mod/photos.php:1570 ../../mod/editpost.php:142
|
#: ../../mod/photos.php:1570 ../../mod/editpost.php:142
|
||||||
#: ../../mod/content.php:719 ../../include/conversation.php:1037
|
#: ../../mod/content.php:719 ../../include/conversation.php:1039
|
||||||
#: ../../object/Item.php:613
|
#: ../../object/Item.php:613
|
||||||
msgid "Preview"
|
msgid "Preview"
|
||||||
msgstr "Vorschau"
|
msgstr "Vorschau"
|
||||||
|
@ -761,7 +761,7 @@ msgstr "Beitrag nicht gefunden"
|
||||||
msgid "Edit post"
|
msgid "Edit post"
|
||||||
msgstr "Beitrag bearbeiten"
|
msgstr "Beitrag bearbeiten"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:91 ../../include/conversation.php:986
|
#: ../../mod/editpost.php:91 ../../include/conversation.php:988
|
||||||
msgid "Post to Email"
|
msgid "Post to Email"
|
||||||
msgstr "An E-Mail senden"
|
msgstr "An E-Mail senden"
|
||||||
|
|
||||||
|
@ -772,85 +772,85 @@ msgstr "Bearbeiten"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:107 ../../mod/wallmessage.php:150
|
#: ../../mod/editpost.php:107 ../../mod/wallmessage.php:150
|
||||||
#: ../../mod/message.php:298 ../../mod/message.php:525
|
#: ../../mod/message.php:298 ../../mod/message.php:525
|
||||||
#: ../../include/conversation.php:1001
|
#: ../../include/conversation.php:1003
|
||||||
msgid "Upload photo"
|
msgid "Upload photo"
|
||||||
msgstr "Foto hochladen"
|
msgstr "Foto hochladen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:108 ../../include/conversation.php:1002
|
#: ../../mod/editpost.php:108 ../../include/conversation.php:1004
|
||||||
msgid "upload photo"
|
msgid "upload photo"
|
||||||
msgstr "Bild hochladen"
|
msgstr "Bild hochladen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:109 ../../include/conversation.php:1003
|
#: ../../mod/editpost.php:109 ../../include/conversation.php:1005
|
||||||
msgid "Attach file"
|
msgid "Attach file"
|
||||||
msgstr "Datei anhängen"
|
msgstr "Datei anhängen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:110 ../../include/conversation.php:1004
|
#: ../../mod/editpost.php:110 ../../include/conversation.php:1006
|
||||||
msgid "attach file"
|
msgid "attach file"
|
||||||
msgstr "Datei anhängen"
|
msgstr "Datei anhängen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:111 ../../mod/wallmessage.php:151
|
#: ../../mod/editpost.php:111 ../../mod/wallmessage.php:151
|
||||||
#: ../../mod/message.php:299 ../../mod/message.php:526
|
#: ../../mod/message.php:299 ../../mod/message.php:526
|
||||||
#: ../../include/conversation.php:1005
|
#: ../../include/conversation.php:1007
|
||||||
msgid "Insert web link"
|
msgid "Insert web link"
|
||||||
msgstr "Einen Link einfügen"
|
msgstr "Einen Link einfügen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:112 ../../include/conversation.php:1006
|
#: ../../mod/editpost.php:112 ../../include/conversation.php:1008
|
||||||
msgid "web link"
|
msgid "web link"
|
||||||
msgstr "Weblink"
|
msgstr "Weblink"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:113 ../../include/conversation.php:1007
|
#: ../../mod/editpost.php:113 ../../include/conversation.php:1009
|
||||||
msgid "Insert video link"
|
msgid "Insert video link"
|
||||||
msgstr "Video-Adresse einfügen"
|
msgstr "Video-Adresse einfügen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:114 ../../include/conversation.php:1008
|
#: ../../mod/editpost.php:114 ../../include/conversation.php:1010
|
||||||
msgid "video link"
|
msgid "video link"
|
||||||
msgstr "Video-Link"
|
msgstr "Video-Link"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:115 ../../include/conversation.php:1009
|
#: ../../mod/editpost.php:115 ../../include/conversation.php:1011
|
||||||
msgid "Insert audio link"
|
msgid "Insert audio link"
|
||||||
msgstr "Audio-Adresse einfügen"
|
msgstr "Audio-Adresse einfügen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:116 ../../include/conversation.php:1010
|
#: ../../mod/editpost.php:116 ../../include/conversation.php:1012
|
||||||
msgid "audio link"
|
msgid "audio link"
|
||||||
msgstr "Audio-Link"
|
msgstr "Audio-Link"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:117 ../../include/conversation.php:1011
|
#: ../../mod/editpost.php:117 ../../include/conversation.php:1013
|
||||||
msgid "Set your location"
|
msgid "Set your location"
|
||||||
msgstr "Deinen Standort festlegen"
|
msgstr "Deinen Standort festlegen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:118 ../../include/conversation.php:1012
|
#: ../../mod/editpost.php:118 ../../include/conversation.php:1014
|
||||||
msgid "set location"
|
msgid "set location"
|
||||||
msgstr "Ort setzen"
|
msgstr "Ort setzen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:119 ../../include/conversation.php:1013
|
#: ../../mod/editpost.php:119 ../../include/conversation.php:1015
|
||||||
msgid "Clear browser location"
|
msgid "Clear browser location"
|
||||||
msgstr "Browser-Standort leeren"
|
msgstr "Browser-Standort leeren"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:120 ../../include/conversation.php:1014
|
#: ../../mod/editpost.php:120 ../../include/conversation.php:1016
|
||||||
msgid "clear location"
|
msgid "clear location"
|
||||||
msgstr "Ort löschen"
|
msgstr "Ort löschen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:122 ../../include/conversation.php:1020
|
#: ../../mod/editpost.php:122 ../../include/conversation.php:1022
|
||||||
msgid "Permission settings"
|
msgid "Permission settings"
|
||||||
msgstr "Berechtigungseinstellungen"
|
msgstr "Berechtigungseinstellungen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:130 ../../include/conversation.php:1029
|
#: ../../mod/editpost.php:130 ../../include/conversation.php:1031
|
||||||
msgid "CC: email addresses"
|
msgid "CC: email addresses"
|
||||||
msgstr "Cc: E-Mail-Addressen"
|
msgstr "Cc: E-Mail-Addressen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:131 ../../include/conversation.php:1030
|
#: ../../mod/editpost.php:131 ../../include/conversation.php:1032
|
||||||
msgid "Public post"
|
msgid "Public post"
|
||||||
msgstr "Öffentlicher Beitrag"
|
msgstr "Öffentlicher Beitrag"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:134 ../../include/conversation.php:1016
|
#: ../../mod/editpost.php:134 ../../include/conversation.php:1018
|
||||||
msgid "Set title"
|
msgid "Set title"
|
||||||
msgstr "Titel setzen"
|
msgstr "Titel setzen"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:136 ../../include/conversation.php:1018
|
#: ../../mod/editpost.php:136 ../../include/conversation.php:1020
|
||||||
msgid "Categories (comma-separated list)"
|
msgid "Categories (comma-separated list)"
|
||||||
msgstr "Kategorien (kommasepariert)"
|
msgstr "Kategorien (kommasepariert)"
|
||||||
|
|
||||||
#: ../../mod/editpost.php:137 ../../include/conversation.php:1032
|
#: ../../mod/editpost.php:137 ../../include/conversation.php:1034
|
||||||
msgid "Example: bob@example.com, mary@example.com"
|
msgid "Example: bob@example.com, mary@example.com"
|
||||||
msgstr "Z.B.: bob@example.com, mary@example.com"
|
msgstr "Z.B.: bob@example.com, mary@example.com"
|
||||||
|
|
||||||
|
@ -1452,7 +1452,7 @@ msgid "is interested in:"
|
||||||
msgstr "ist interessiert an:"
|
msgstr "ist interessiert an:"
|
||||||
|
|
||||||
#: ../../mod/match.php:58 ../../mod/suggest.php:59
|
#: ../../mod/match.php:58 ../../mod/suggest.php:59
|
||||||
#: ../../include/contact_widgets.php:9 ../../boot.php:1296
|
#: ../../include/contact_widgets.php:9 ../../boot.php:1317
|
||||||
msgid "Connect"
|
msgid "Connect"
|
||||||
msgstr "Verbinden"
|
msgstr "Verbinden"
|
||||||
|
|
||||||
|
@ -2126,7 +2126,7 @@ msgid ""
|
||||||
"Password reset failed."
|
"Password reset failed."
|
||||||
msgstr "Anfrage konnte nicht verifiziert werden. (Eventuell hast du bereits eine ähnliche Anfrage gestellt.) Zurücksetzen des Passworts gescheitert."
|
msgstr "Anfrage konnte nicht verifiziert werden. (Eventuell hast du bereits eine ähnliche Anfrage gestellt.) Zurücksetzen des Passworts gescheitert."
|
||||||
|
|
||||||
#: ../../mod/lostpass.php:84 ../../boot.php:1030
|
#: ../../mod/lostpass.php:84 ../../boot.php:1051
|
||||||
msgid "Password Reset"
|
msgid "Password Reset"
|
||||||
msgstr "Passwort zurücksetzen"
|
msgstr "Passwort zurücksetzen"
|
||||||
|
|
||||||
|
@ -2807,7 +2807,7 @@ msgstr "Private Nachrichten an diese Person könnten an die Öffentlichkeit gela
|
||||||
msgid "Invalid contact."
|
msgid "Invalid contact."
|
||||||
msgstr "Ungültiger Kontakt."
|
msgstr "Ungültiger Kontakt."
|
||||||
|
|
||||||
#: ../../mod/notes.php:44 ../../boot.php:1843
|
#: ../../mod/notes.php:44 ../../boot.php:1864
|
||||||
msgid "Personal Notes"
|
msgid "Personal Notes"
|
||||||
msgstr "Persönliche Notizen"
|
msgstr "Persönliche Notizen"
|
||||||
|
|
||||||
|
@ -2898,7 +2898,7 @@ msgstr "Kein Empfänger."
|
||||||
#: ../../mod/wallmessage.php:123 ../../mod/wallmessage.php:131
|
#: ../../mod/wallmessage.php:123 ../../mod/wallmessage.php:131
|
||||||
#: ../../mod/message.php:249 ../../mod/message.php:257
|
#: ../../mod/message.php:249 ../../mod/message.php:257
|
||||||
#: ../../mod/message.php:429 ../../mod/message.php:437
|
#: ../../mod/message.php:429 ../../mod/message.php:437
|
||||||
#: ../../include/conversation.php:936 ../../include/conversation.php:954
|
#: ../../include/conversation.php:938 ../../include/conversation.php:956
|
||||||
msgid "Please enter a link URL:"
|
msgid "Please enter a link URL:"
|
||||||
msgstr "Bitte gib die URL des Links ein:"
|
msgstr "Bitte gib die URL des Links ein:"
|
||||||
|
|
||||||
|
@ -2924,7 +2924,7 @@ msgid "Subject:"
|
||||||
msgstr "Betreff:"
|
msgstr "Betreff:"
|
||||||
|
|
||||||
#: ../../mod/wallmessage.php:147 ../../mod/message.php:295
|
#: ../../mod/wallmessage.php:147 ../../mod/message.php:295
|
||||||
#: ../../mod/message.php:521 ../../mod/invite.php:115
|
#: ../../mod/message.php:521 ../../mod/invite.php:134
|
||||||
msgid "Your message:"
|
msgid "Your message:"
|
||||||
msgstr "Deine Nachricht:"
|
msgstr "Deine Nachricht:"
|
||||||
|
|
||||||
|
@ -2981,7 +2981,7 @@ msgstr "Überprüfe die restlichen Einstellungen, insbesondere die Einstellungen
|
||||||
#: ../../mod/newmember.php:32 ../../mod/profperm.php:103
|
#: ../../mod/newmember.php:32 ../../mod/profperm.php:103
|
||||||
#: ../../view/theme/diabook/theme.php:88 ../../include/profile_advanced.php:7
|
#: ../../view/theme/diabook/theme.php:88 ../../include/profile_advanced.php:7
|
||||||
#: ../../include/profile_advanced.php:84 ../../include/nav.php:50
|
#: ../../include/profile_advanced.php:84 ../../include/nav.php:50
|
||||||
#: ../../boot.php:1819
|
#: ../../boot.php:1840
|
||||||
msgid "Profile"
|
msgid "Profile"
|
||||||
msgstr "Profil"
|
msgstr "Profil"
|
||||||
|
|
||||||
|
@ -3152,7 +3152,7 @@ msgstr "Gruppe nicht gefunden."
|
||||||
msgid "Group name changed."
|
msgid "Group name changed."
|
||||||
msgstr "Gruppenname geändert."
|
msgstr "Gruppenname geändert."
|
||||||
|
|
||||||
#: ../../mod/group.php:72 ../../mod/profperm.php:19 ../../index.php:339
|
#: ../../mod/group.php:72 ../../mod/profperm.php:19 ../../index.php:340
|
||||||
msgid "Permission denied"
|
msgid "Permission denied"
|
||||||
msgstr "Zugriff verweigert"
|
msgstr "Zugriff verweigert"
|
||||||
|
|
||||||
|
@ -3286,7 +3286,7 @@ msgstr "Wähle einen Spitznamen für dein Profil. Dieser muss mit einem Buchstab
|
||||||
msgid "Choose a nickname: "
|
msgid "Choose a nickname: "
|
||||||
msgstr "Spitznamen wählen: "
|
msgstr "Spitznamen wählen: "
|
||||||
|
|
||||||
#: ../../mod/register.php:275 ../../include/nav.php:81 ../../boot.php:991
|
#: ../../mod/register.php:275 ../../include/nav.php:81 ../../boot.php:1012
|
||||||
msgid "Register"
|
msgid "Register"
|
||||||
msgstr "Registrieren"
|
msgstr "Registrieren"
|
||||||
|
|
||||||
|
@ -3343,7 +3343,7 @@ msgid "Access denied."
|
||||||
msgstr "Zugriff verweigert."
|
msgstr "Zugriff verweigert."
|
||||||
|
|
||||||
#: ../../mod/fbrowser.php:25 ../../view/theme/diabook/theme.php:90
|
#: ../../mod/fbrowser.php:25 ../../view/theme/diabook/theme.php:90
|
||||||
#: ../../include/nav.php:51 ../../boot.php:1826
|
#: ../../include/nav.php:51 ../../boot.php:1847
|
||||||
msgid "Photos"
|
msgid "Photos"
|
||||||
msgstr "Bilder"
|
msgstr "Bilder"
|
||||||
|
|
||||||
|
@ -4281,7 +4281,7 @@ msgstr "FTP Nutzername"
|
||||||
msgid "FTP Password"
|
msgid "FTP Password"
|
||||||
msgstr "FTP Passwort"
|
msgstr "FTP Passwort"
|
||||||
|
|
||||||
#: ../../mod/profile.php:21 ../../boot.php:1204
|
#: ../../mod/profile.php:21 ../../boot.php:1225
|
||||||
msgid "Requested profile is not available."
|
msgid "Requested profile is not available."
|
||||||
msgstr "Das angefragte Profil ist nicht vorhanden."
|
msgstr "Das angefragte Profil ist nicht vorhanden."
|
||||||
|
|
||||||
|
@ -4688,28 +4688,28 @@ msgstr "Alter: "
|
||||||
msgid "Edit/Manage Profiles"
|
msgid "Edit/Manage Profiles"
|
||||||
msgstr "Verwalte/Editiere Profile"
|
msgstr "Verwalte/Editiere Profile"
|
||||||
|
|
||||||
#: ../../mod/profiles.php:722 ../../boot.php:1324
|
#: ../../mod/profiles.php:722 ../../boot.php:1345
|
||||||
msgid "Change profile photo"
|
msgid "Change profile photo"
|
||||||
msgstr "Profilbild ändern"
|
msgstr "Profilbild ändern"
|
||||||
|
|
||||||
#: ../../mod/profiles.php:723 ../../boot.php:1325
|
#: ../../mod/profiles.php:723 ../../boot.php:1346
|
||||||
msgid "Create New Profile"
|
msgid "Create New Profile"
|
||||||
msgstr "Neues Profil anlegen"
|
msgstr "Neues Profil anlegen"
|
||||||
|
|
||||||
#: ../../mod/profiles.php:734 ../../boot.php:1335
|
#: ../../mod/profiles.php:734 ../../boot.php:1356
|
||||||
msgid "Profile Image"
|
msgid "Profile Image"
|
||||||
msgstr "Profilbild"
|
msgstr "Profilbild"
|
||||||
|
|
||||||
#: ../../mod/profiles.php:736 ../../boot.php:1338
|
#: ../../mod/profiles.php:736 ../../boot.php:1359
|
||||||
msgid "visible to everybody"
|
msgid "visible to everybody"
|
||||||
msgstr "sichtbar für jeden"
|
msgstr "sichtbar für jeden"
|
||||||
|
|
||||||
#: ../../mod/profiles.php:737 ../../boot.php:1339
|
#: ../../mod/profiles.php:737 ../../boot.php:1360
|
||||||
msgid "Edit visibility"
|
msgid "Edit visibility"
|
||||||
msgstr "Sichtbarkeit bearbeiten"
|
msgstr "Sichtbarkeit bearbeiten"
|
||||||
|
|
||||||
#: ../../mod/filer.php:30 ../../include/conversation.php:940
|
#: ../../mod/filer.php:30 ../../include/conversation.php:942
|
||||||
#: ../../include/conversation.php:958
|
#: ../../include/conversation.php:960
|
||||||
msgid "Save to Folder:"
|
msgid "Save to Folder:"
|
||||||
msgstr "In diesen Ordner verschieben:"
|
msgstr "In diesen Ordner verschieben:"
|
||||||
|
|
||||||
|
@ -4840,19 +4840,19 @@ msgstr "Geschlecht:"
|
||||||
|
|
||||||
#: ../../mod/directory.php:136
|
#: ../../mod/directory.php:136
|
||||||
#: ../../addon/forumdirectory/forumdirectory.php:158
|
#: ../../addon/forumdirectory/forumdirectory.php:158
|
||||||
#: ../../include/profile_advanced.php:17 ../../boot.php:1360
|
#: ../../include/profile_advanced.php:17 ../../boot.php:1381
|
||||||
msgid "Gender:"
|
msgid "Gender:"
|
||||||
msgstr "Geschlecht:"
|
msgstr "Geschlecht:"
|
||||||
|
|
||||||
#: ../../mod/directory.php:138
|
#: ../../mod/directory.php:138
|
||||||
#: ../../addon/forumdirectory/forumdirectory.php:160
|
#: ../../addon/forumdirectory/forumdirectory.php:160
|
||||||
#: ../../include/profile_advanced.php:37 ../../boot.php:1363
|
#: ../../include/profile_advanced.php:37 ../../boot.php:1384
|
||||||
msgid "Status:"
|
msgid "Status:"
|
||||||
msgstr "Status:"
|
msgstr "Status:"
|
||||||
|
|
||||||
#: ../../mod/directory.php:140
|
#: ../../mod/directory.php:140
|
||||||
#: ../../addon/forumdirectory/forumdirectory.php:162
|
#: ../../addon/forumdirectory/forumdirectory.php:162
|
||||||
#: ../../include/profile_advanced.php:48 ../../boot.php:1365
|
#: ../../include/profile_advanced.php:48 ../../boot.php:1386
|
||||||
msgid "Homepage:"
|
msgid "Homepage:"
|
||||||
msgstr "Homepage:"
|
msgstr "Homepage:"
|
||||||
|
|
||||||
|
@ -4867,32 +4867,40 @@ msgstr "Über:"
|
||||||
msgid "No entries (some entries may be hidden)."
|
msgid "No entries (some entries may be hidden)."
|
||||||
msgstr "Keine Einträge (einige Einträge könnten versteckt sein)."
|
msgstr "Keine Einträge (einige Einträge könnten versteckt sein)."
|
||||||
|
|
||||||
#: ../../mod/invite.php:37
|
#: ../../mod/invite.php:27
|
||||||
|
msgid "Total invitation limit exceeded."
|
||||||
|
msgstr "Limit für Einladungen erreicht."
|
||||||
|
|
||||||
|
#: ../../mod/invite.php:49
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s : Not a valid email address."
|
msgid "%s : Not a valid email address."
|
||||||
msgstr "%s: Keine gültige Email Adresse."
|
msgstr "%s: Keine gültige Email Adresse."
|
||||||
|
|
||||||
#: ../../mod/invite.php:61
|
#: ../../mod/invite.php:73
|
||||||
msgid "Please join us on Friendica"
|
msgid "Please join us on Friendica"
|
||||||
msgstr "Bitte trete bei uns auf Friendica bei"
|
msgstr "Bitte trete bei uns auf Friendica bei"
|
||||||
|
|
||||||
#: ../../mod/invite.php:71
|
#: ../../mod/invite.php:84
|
||||||
|
msgid "Invitation limit exceeded. Please contact your site administrator."
|
||||||
|
msgstr "Limit für Einladungen erreicht. Bitte kontaktiere des Administrator der Seite."
|
||||||
|
|
||||||
|
#: ../../mod/invite.php:89
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s : Message delivery failed."
|
msgid "%s : Message delivery failed."
|
||||||
msgstr "%s: Zustellung der Nachricht fehlgeschlagen."
|
msgstr "%s: Zustellung der Nachricht fehlgeschlagen."
|
||||||
|
|
||||||
#: ../../mod/invite.php:75
|
#: ../../mod/invite.php:93
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%d message sent."
|
msgid "%d message sent."
|
||||||
msgid_plural "%d messages sent."
|
msgid_plural "%d messages sent."
|
||||||
msgstr[0] "%d Nachricht gesendet."
|
msgstr[0] "%d Nachricht gesendet."
|
||||||
msgstr[1] "%d Nachrichten gesendet."
|
msgstr[1] "%d Nachrichten gesendet."
|
||||||
|
|
||||||
#: ../../mod/invite.php:94
|
#: ../../mod/invite.php:112
|
||||||
msgid "You have no more invitations available"
|
msgid "You have no more invitations available"
|
||||||
msgstr "Du hast keine weiteren Einladungen"
|
msgstr "Du hast keine weiteren Einladungen"
|
||||||
|
|
||||||
#: ../../mod/invite.php:102
|
#: ../../mod/invite.php:120
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Visit %s for a list of public sites that you can join. Friendica members on "
|
"Visit %s for a list of public sites that you can join. Friendica members on "
|
||||||
|
@ -4900,14 +4908,14 @@ msgid ""
|
||||||
" other social networks."
|
" other social networks."
|
||||||
msgstr "Besuche %s für eine Liste der öffentlichen Server, denen du beitreten kannst. Friendica Mitglieder unterschiedlicher Server können sich sowohl alle miteinander verbinden, als auch mit Mitgliedern anderer Sozialer Netzwerke."
|
msgstr "Besuche %s für eine Liste der öffentlichen Server, denen du beitreten kannst. Friendica Mitglieder unterschiedlicher Server können sich sowohl alle miteinander verbinden, als auch mit Mitgliedern anderer Sozialer Netzwerke."
|
||||||
|
|
||||||
#: ../../mod/invite.php:104
|
#: ../../mod/invite.php:122
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"To accept this invitation, please visit and register at %s or any other "
|
"To accept this invitation, please visit and register at %s or any other "
|
||||||
"public Friendica website."
|
"public Friendica website."
|
||||||
msgstr "Um diese Kontaktanfrage zu akzeptieren, besuche und registriere dich bitte bei %s oder einer anderen öffentlichen Friendica Website."
|
msgstr "Um diese Kontaktanfrage zu akzeptieren, besuche und registriere dich bitte bei %s oder einer anderen öffentlichen Friendica Website."
|
||||||
|
|
||||||
#: ../../mod/invite.php:105
|
#: ../../mod/invite.php:123
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Friendica sites all inter-connect to create a huge privacy-enhanced social "
|
"Friendica sites all inter-connect to create a huge privacy-enhanced social "
|
||||||
|
@ -4916,36 +4924,36 @@ msgid ""
|
||||||
"sites you can join."
|
"sites you can join."
|
||||||
msgstr "Friendica Server verbinden sich alle untereinander, um ein großes datenschutzorientiertes Soziales Netzwerk zu bilden, das von seinen Mitgliedern betrieben und kontrolliert wird. Sie können sich auch mit vielen üblichen Sozialen Netzwerken verbinden. Besuche %s für eine Liste alternativer Friendica Server, denen du beitreten kannst."
|
msgstr "Friendica Server verbinden sich alle untereinander, um ein großes datenschutzorientiertes Soziales Netzwerk zu bilden, das von seinen Mitgliedern betrieben und kontrolliert wird. Sie können sich auch mit vielen üblichen Sozialen Netzwerken verbinden. Besuche %s für eine Liste alternativer Friendica Server, denen du beitreten kannst."
|
||||||
|
|
||||||
#: ../../mod/invite.php:108
|
#: ../../mod/invite.php:126
|
||||||
msgid ""
|
msgid ""
|
||||||
"Our apologies. This system is not currently configured to connect with other"
|
"Our apologies. This system is not currently configured to connect with other"
|
||||||
" public sites or invite members."
|
" public sites or invite members."
|
||||||
msgstr "Es tut uns leid. Dieses System ist zurzeit nicht dafür konfiguriert, sich mit anderen öffentlichen Seiten zu verbinden oder Mitglieder einzuladen."
|
msgstr "Es tut uns leid. Dieses System ist zurzeit nicht dafür konfiguriert, sich mit anderen öffentlichen Seiten zu verbinden oder Mitglieder einzuladen."
|
||||||
|
|
||||||
#: ../../mod/invite.php:113
|
#: ../../mod/invite.php:132
|
||||||
msgid "Send invitations"
|
msgid "Send invitations"
|
||||||
msgstr "Einladungen senden"
|
msgstr "Einladungen senden"
|
||||||
|
|
||||||
#: ../../mod/invite.php:114
|
#: ../../mod/invite.php:133
|
||||||
msgid "Enter email addresses, one per line:"
|
msgid "Enter email addresses, one per line:"
|
||||||
msgstr "E-Mail-Adressen eingeben, eine pro Zeile:"
|
msgstr "E-Mail-Adressen eingeben, eine pro Zeile:"
|
||||||
|
|
||||||
#: ../../mod/invite.php:116
|
#: ../../mod/invite.php:135
|
||||||
msgid ""
|
msgid ""
|
||||||
"You are cordially invited to join me and other close friends on Friendica - "
|
"You are cordially invited to join me and other close friends on Friendica - "
|
||||||
"and help us to create a better social web."
|
"and help us to create a better social web."
|
||||||
msgstr "Du bist herzlich dazu eingeladen, dich mir und anderen guten Freunden auf Friendica anzuschließen - und ein besseres Soziales Netz aufzubauen."
|
msgstr "Du bist herzlich dazu eingeladen, dich mir und anderen guten Freunden auf Friendica anzuschließen - und ein besseres Soziales Netz aufzubauen."
|
||||||
|
|
||||||
#: ../../mod/invite.php:118
|
#: ../../mod/invite.php:137
|
||||||
msgid "You will need to supply this invitation code: $invite_code"
|
msgid "You will need to supply this invitation code: $invite_code"
|
||||||
msgstr "Du benötigst den folgenden Einladungscode: $invite_code"
|
msgstr "Du benötigst den folgenden Einladungscode: $invite_code"
|
||||||
|
|
||||||
#: ../../mod/invite.php:118
|
#: ../../mod/invite.php:137
|
||||||
msgid ""
|
msgid ""
|
||||||
"Once you have registered, please connect with me via my profile page at:"
|
"Once you have registered, please connect with me via my profile page at:"
|
||||||
msgstr "Sobald du registriert bist, kontaktiere mich bitte auf meiner Profilseite:"
|
msgstr "Sobald du registriert bist, kontaktiere mich bitte auf meiner Profilseite:"
|
||||||
|
|
||||||
#: ../../mod/invite.php:120
|
#: ../../mod/invite.php:139
|
||||||
msgid ""
|
msgid ""
|
||||||
"For more information about the Friendica project and why we feel it is "
|
"For more information about the Friendica project and why we feel it is "
|
||||||
"important, please visit http://friendica.com"
|
"important, please visit http://friendica.com"
|
||||||
|
@ -5756,7 +5764,7 @@ msgstr "Foren Verzeichnis"
|
||||||
|
|
||||||
#: ../../addon/communityhome/communityhome.php:28
|
#: ../../addon/communityhome/communityhome.php:28
|
||||||
#: ../../addon/communityhome/communityhome.php:34 ../../include/nav.php:64
|
#: ../../addon/communityhome/communityhome.php:34 ../../include/nav.php:64
|
||||||
#: ../../boot.php:1016 ../../addon.old/communityhome/communityhome.php:28
|
#: ../../boot.php:1037 ../../addon.old/communityhome/communityhome.php:28
|
||||||
#: ../../addon.old/communityhome/communityhome.php:34
|
#: ../../addon.old/communityhome/communityhome.php:34
|
||||||
#: ../../addon.old/communityhome/twillingham/communityhome.php:28
|
#: ../../addon.old/communityhome/twillingham/communityhome.php:28
|
||||||
#: ../../addon.old/communityhome/twillingham/communityhome.php:34
|
#: ../../addon.old/communityhome/twillingham/communityhome.php:34
|
||||||
|
@ -8735,7 +8743,7 @@ msgstr "Neue Gruppe erstellen"
|
||||||
msgid "Contacts not in any group"
|
msgid "Contacts not in any group"
|
||||||
msgstr "Kontakte in keiner Gruppe"
|
msgstr "Kontakte in keiner Gruppe"
|
||||||
|
|
||||||
#: ../../include/nav.php:46 ../../boot.php:1015
|
#: ../../include/nav.php:46 ../../boot.php:1036
|
||||||
msgid "Logout"
|
msgid "Logout"
|
||||||
msgstr "Abmelden"
|
msgstr "Abmelden"
|
||||||
|
|
||||||
|
@ -8743,7 +8751,7 @@ msgstr "Abmelden"
|
||||||
msgid "End this session"
|
msgid "End this session"
|
||||||
msgstr "Diese Sitzung beenden"
|
msgstr "Diese Sitzung beenden"
|
||||||
|
|
||||||
#: ../../include/nav.php:49 ../../boot.php:1812
|
#: ../../include/nav.php:49 ../../boot.php:1833
|
||||||
msgid "Status"
|
msgid "Status"
|
||||||
msgstr "Status"
|
msgstr "Status"
|
||||||
|
|
||||||
|
@ -8835,7 +8843,7 @@ msgstr "Andere Seiten verwalten"
|
||||||
msgid "Delegations"
|
msgid "Delegations"
|
||||||
msgstr "Delegierungen"
|
msgstr "Delegierungen"
|
||||||
|
|
||||||
#: ../../include/nav.php:142 ../../boot.php:1318
|
#: ../../include/nav.php:142 ../../boot.php:1339
|
||||||
msgid "Profiles"
|
msgid "Profiles"
|
||||||
msgstr "Profile"
|
msgstr "Profile"
|
||||||
|
|
||||||
|
@ -9217,146 +9225,146 @@ msgstr "eine private Nachricht"
|
||||||
msgid "Please visit %s to view and/or reply to your private messages."
|
msgid "Please visit %s to view and/or reply to your private messages."
|
||||||
msgstr "Bitte besuche %s, um deine privaten Nachrichten anzusehen und/oder zu beantworten."
|
msgstr "Bitte besuche %s, um deine privaten Nachrichten anzusehen und/oder zu beantworten."
|
||||||
|
|
||||||
#: ../../include/enotify.php:89
|
#: ../../include/enotify.php:90
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s commented on [url=%2$s]a %3$s[/url]"
|
msgid "%1$s commented on [url=%2$s]a %3$s[/url]"
|
||||||
msgstr "%1$s kommentierte [url=%2$s]a %3$s[/url]"
|
msgstr "%1$s kommentierte [url=%2$s]a %3$s[/url]"
|
||||||
|
|
||||||
#: ../../include/enotify.php:96
|
#: ../../include/enotify.php:97
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s commented on [url=%2$s]%3$s's %4$s[/url]"
|
msgid "%1$s commented on [url=%2$s]%3$s's %4$s[/url]"
|
||||||
msgstr "%1$s kommentierte [url=%2$s]%3$ss %4$s[/url]"
|
msgstr "%1$s kommentierte [url=%2$s]%3$ss %4$s[/url]"
|
||||||
|
|
||||||
#: ../../include/enotify.php:104
|
#: ../../include/enotify.php:105
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s commented on [url=%2$s]your %3$s[/url]"
|
msgid "%1$s commented on [url=%2$s]your %3$s[/url]"
|
||||||
msgstr "%1$s kommentierte [url=%2$s]deinen %3$s[/url]"
|
msgstr "%1$s kommentierte [url=%2$s]deinen %3$s[/url]"
|
||||||
|
|
||||||
#: ../../include/enotify.php:114
|
#: ../../include/enotify.php:115
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "[Friendica:Notify] Comment to conversation #%1$d by %2$s"
|
msgid "[Friendica:Notify] Comment to conversation #%1$d by %2$s"
|
||||||
msgstr "[Friendica-Meldung] Kommentar zum Beitrag #%1$d von %2$s"
|
msgstr "[Friendica-Meldung] Kommentar zum Beitrag #%1$d von %2$s"
|
||||||
|
|
||||||
#: ../../include/enotify.php:115
|
#: ../../include/enotify.php:116
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s commented on an item/conversation you have been following."
|
msgid "%s commented on an item/conversation you have been following."
|
||||||
msgstr "%s hat einen Beitrag kommentiert, dem du folgst."
|
msgstr "%s hat einen Beitrag kommentiert, dem du folgst."
|
||||||
|
|
||||||
#: ../../include/enotify.php:118 ../../include/enotify.php:133
|
#: ../../include/enotify.php:119 ../../include/enotify.php:134
|
||||||
#: ../../include/enotify.php:146 ../../include/enotify.php:164
|
#: ../../include/enotify.php:147 ../../include/enotify.php:165
|
||||||
#: ../../include/enotify.php:177
|
#: ../../include/enotify.php:178
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Please visit %s to view and/or reply to the conversation."
|
msgid "Please visit %s to view and/or reply to the conversation."
|
||||||
msgstr "Bitte besuche %s, um die Konversation anzusehen und/oder zu kommentieren."
|
msgstr "Bitte besuche %s, um die Konversation anzusehen und/oder zu kommentieren."
|
||||||
|
|
||||||
#: ../../include/enotify.php:125
|
#: ../../include/enotify.php:126
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "[Friendica:Notify] %s posted to your profile wall"
|
msgid "[Friendica:Notify] %s posted to your profile wall"
|
||||||
msgstr "[Friendica-Meldung] %s hat auf deine Pinnwand geschrieben"
|
msgstr "[Friendica-Meldung] %s hat auf deine Pinnwand geschrieben"
|
||||||
|
|
||||||
#: ../../include/enotify.php:127
|
#: ../../include/enotify.php:128
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s posted to your profile wall at %2$s"
|
msgid "%1$s posted to your profile wall at %2$s"
|
||||||
msgstr "%1$s schrieb auf %2$s auf deine Pinnwand"
|
msgstr "%1$s schrieb auf %2$s auf deine Pinnwand"
|
||||||
|
|
||||||
#: ../../include/enotify.php:129
|
#: ../../include/enotify.php:130
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s posted to [url=%2$s]your wall[/url]"
|
msgid "%1$s posted to [url=%2$s]your wall[/url]"
|
||||||
msgstr "%1$s hat etwas auf [url=%2$s]deiner Pinnwand[/url] gepostet"
|
msgstr "%1$s hat etwas auf [url=%2$s]deiner Pinnwand[/url] gepostet"
|
||||||
|
|
||||||
#: ../../include/enotify.php:140
|
#: ../../include/enotify.php:141
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "[Friendica:Notify] %s tagged you"
|
msgid "[Friendica:Notify] %s tagged you"
|
||||||
msgstr "[Friendica-Meldung] %s hat dich erwähnt"
|
msgstr "[Friendica-Meldung] %s hat dich erwähnt"
|
||||||
|
|
||||||
#: ../../include/enotify.php:141
|
#: ../../include/enotify.php:142
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s tagged you at %2$s"
|
msgid "%1$s tagged you at %2$s"
|
||||||
msgstr "%1$s erwähnte dich auf %2$s"
|
msgstr "%1$s erwähnte dich auf %2$s"
|
||||||
|
|
||||||
#: ../../include/enotify.php:142
|
#: ../../include/enotify.php:143
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s [url=%2$s]tagged you[/url]."
|
msgid "%1$s [url=%2$s]tagged you[/url]."
|
||||||
msgstr "%1$s [url=%2$s]erwähnte dich[/url]."
|
msgstr "%1$s [url=%2$s]erwähnte dich[/url]."
|
||||||
|
|
||||||
#: ../../include/enotify.php:154
|
#: ../../include/enotify.php:155
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "[Friendica:Notify] %1$s poked you"
|
msgid "[Friendica:Notify] %1$s poked you"
|
||||||
msgstr "[Friendica-Meldung] %1$s hat dich angestupst"
|
msgstr "[Friendica-Meldung] %1$s hat dich angestupst"
|
||||||
|
|
||||||
#: ../../include/enotify.php:155
|
#: ../../include/enotify.php:156
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s poked you at %2$s"
|
msgid "%1$s poked you at %2$s"
|
||||||
msgstr "%1$s hat dich auf %2$s angestupst"
|
msgstr "%1$s hat dich auf %2$s angestupst"
|
||||||
|
|
||||||
#: ../../include/enotify.php:156
|
#: ../../include/enotify.php:157
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s [url=%2$s]poked you[/url]."
|
msgid "%1$s [url=%2$s]poked you[/url]."
|
||||||
msgstr "%1$s [url=%2$s]hat dich angestupst[/url]."
|
msgstr "%1$s [url=%2$s]hat dich angestupst[/url]."
|
||||||
|
|
||||||
#: ../../include/enotify.php:171
|
#: ../../include/enotify.php:172
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "[Friendica:Notify] %s tagged your post"
|
msgid "[Friendica:Notify] %s tagged your post"
|
||||||
msgstr "[Friendica-Meldung] %s hat deinen Beitrag getaggt"
|
msgstr "[Friendica-Meldung] %s hat deinen Beitrag getaggt"
|
||||||
|
|
||||||
#: ../../include/enotify.php:172
|
#: ../../include/enotify.php:173
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s tagged your post at %2$s"
|
msgid "%1$s tagged your post at %2$s"
|
||||||
msgstr "%1$s erwähnte deinen Beitrag auf %2$s"
|
msgstr "%1$s erwähnte deinen Beitrag auf %2$s"
|
||||||
|
|
||||||
#: ../../include/enotify.php:173
|
#: ../../include/enotify.php:174
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%1$s tagged [url=%2$s]your post[/url]"
|
msgid "%1$s tagged [url=%2$s]your post[/url]"
|
||||||
msgstr "%1$s erwähnte [url=%2$s]Deinen Beitrag[/url]"
|
msgstr "%1$s erwähnte [url=%2$s]Deinen Beitrag[/url]"
|
||||||
|
|
||||||
#: ../../include/enotify.php:184
|
#: ../../include/enotify.php:185
|
||||||
msgid "[Friendica:Notify] Introduction received"
|
msgid "[Friendica:Notify] Introduction received"
|
||||||
msgstr "[Friendica-Meldung] Kontaktanfrage erhalten"
|
msgstr "[Friendica-Meldung] Kontaktanfrage erhalten"
|
||||||
|
|
||||||
#: ../../include/enotify.php:185
|
#: ../../include/enotify.php:186
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "You've received an introduction from '%1$s' at %2$s"
|
msgid "You've received an introduction from '%1$s' at %2$s"
|
||||||
msgstr "Du hast eine Kontaktanfrage von '%1$s' auf %2$s erhalten"
|
msgstr "Du hast eine Kontaktanfrage von '%1$s' auf %2$s erhalten"
|
||||||
|
|
||||||
#: ../../include/enotify.php:186
|
#: ../../include/enotify.php:187
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "You've received [url=%1$s]an introduction[/url] from %2$s."
|
msgid "You've received [url=%1$s]an introduction[/url] from %2$s."
|
||||||
msgstr "Du hast eine [url=%1$s]Kontaktanfrage[/url] von %2$s erhalten."
|
msgstr "Du hast eine [url=%1$s]Kontaktanfrage[/url] von %2$s erhalten."
|
||||||
|
|
||||||
#: ../../include/enotify.php:189 ../../include/enotify.php:207
|
#: ../../include/enotify.php:190 ../../include/enotify.php:208
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "You may visit their profile at %s"
|
msgid "You may visit their profile at %s"
|
||||||
msgstr "Hier kannst du das Profil betrachten: %s"
|
msgstr "Hier kannst du das Profil betrachten: %s"
|
||||||
|
|
||||||
#: ../../include/enotify.php:191
|
#: ../../include/enotify.php:192
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Please visit %s to approve or reject the introduction."
|
msgid "Please visit %s to approve or reject the introduction."
|
||||||
msgstr "Bitte besuche %s, um die Kontaktanfrage anzunehmen oder abzulehnen."
|
msgstr "Bitte besuche %s, um die Kontaktanfrage anzunehmen oder abzulehnen."
|
||||||
|
|
||||||
#: ../../include/enotify.php:198
|
#: ../../include/enotify.php:199
|
||||||
msgid "[Friendica:Notify] Friend suggestion received"
|
msgid "[Friendica:Notify] Friend suggestion received"
|
||||||
msgstr "[Friendica-Meldung] Kontaktvorschlag erhalten"
|
msgstr "[Friendica-Meldung] Kontaktvorschlag erhalten"
|
||||||
|
|
||||||
#: ../../include/enotify.php:199
|
#: ../../include/enotify.php:200
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "You've received a friend suggestion from '%1$s' at %2$s"
|
msgid "You've received a friend suggestion from '%1$s' at %2$s"
|
||||||
msgstr "Du hast einen Freunde-Vorschlag von '%1$s' auf %2$s erhalten"
|
msgstr "Du hast einen Freunde-Vorschlag von '%1$s' auf %2$s erhalten"
|
||||||
|
|
||||||
#: ../../include/enotify.php:200
|
#: ../../include/enotify.php:201
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"You've received [url=%1$s]a friend suggestion[/url] for %2$s from %3$s."
|
"You've received [url=%1$s]a friend suggestion[/url] for %2$s from %3$s."
|
||||||
msgstr "Du hast einen [url=%1$s]Freunde-Vorschlag[/url] %2$s von %3$s erhalten."
|
msgstr "Du hast einen [url=%1$s]Freunde-Vorschlag[/url] %2$s von %3$s erhalten."
|
||||||
|
|
||||||
#: ../../include/enotify.php:205
|
#: ../../include/enotify.php:206
|
||||||
msgid "Name:"
|
msgid "Name:"
|
||||||
msgstr "Name:"
|
msgstr "Name:"
|
||||||
|
|
||||||
#: ../../include/enotify.php:206
|
#: ../../include/enotify.php:207
|
||||||
msgid "Photo:"
|
msgid "Photo:"
|
||||||
msgstr "Foto:"
|
msgstr "Foto:"
|
||||||
|
|
||||||
#: ../../include/enotify.php:209
|
#: ../../include/enotify.php:210
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Please visit %s to approve or reject the suggestion."
|
msgid "Please visit %s to approve or reject the suggestion."
|
||||||
msgstr "Bitte besuche %s, um den Vorschlag zu akzeptieren oder abzulehnen."
|
msgstr "Bitte besuche %s, um den Vorschlag zu akzeptieren oder abzulehnen."
|
||||||
|
@ -9518,34 +9526,34 @@ msgstr "Das Sicherheitsmerkmal war nicht korrekt. Das passiert meistens wenn das
|
||||||
msgid "stopped following"
|
msgid "stopped following"
|
||||||
msgstr "wird nicht mehr gefolgt"
|
msgstr "wird nicht mehr gefolgt"
|
||||||
|
|
||||||
#: ../../include/Contact.php:225 ../../include/conversation.php:816
|
#: ../../include/Contact.php:225 ../../include/conversation.php:818
|
||||||
msgid "Poke"
|
msgid "Poke"
|
||||||
msgstr "Anstupsen"
|
msgstr "Anstupsen"
|
||||||
|
|
||||||
#: ../../include/Contact.php:226 ../../include/conversation.php:810
|
#: ../../include/Contact.php:226 ../../include/conversation.php:812
|
||||||
msgid "View Status"
|
msgid "View Status"
|
||||||
msgstr "Pinnwand anschauen"
|
msgstr "Pinnwand anschauen"
|
||||||
|
|
||||||
#: ../../include/Contact.php:227 ../../include/conversation.php:811
|
#: ../../include/Contact.php:227 ../../include/conversation.php:813
|
||||||
msgid "View Profile"
|
msgid "View Profile"
|
||||||
msgstr "Profil anschauen"
|
msgstr "Profil anschauen"
|
||||||
|
|
||||||
#: ../../include/Contact.php:228 ../../include/conversation.php:812
|
#: ../../include/Contact.php:228 ../../include/conversation.php:814
|
||||||
msgid "View Photos"
|
msgid "View Photos"
|
||||||
msgstr "Bilder anschauen"
|
msgstr "Bilder anschauen"
|
||||||
|
|
||||||
#: ../../include/Contact.php:229 ../../include/Contact.php:242
|
#: ../../include/Contact.php:229 ../../include/Contact.php:242
|
||||||
#: ../../include/conversation.php:813
|
#: ../../include/conversation.php:815
|
||||||
msgid "Network Posts"
|
msgid "Network Posts"
|
||||||
msgstr "Netzwerkbeiträge"
|
msgstr "Netzwerkbeiträge"
|
||||||
|
|
||||||
#: ../../include/Contact.php:230 ../../include/Contact.php:242
|
#: ../../include/Contact.php:230 ../../include/Contact.php:242
|
||||||
#: ../../include/conversation.php:814
|
#: ../../include/conversation.php:816
|
||||||
msgid "Edit Contact"
|
msgid "Edit Contact"
|
||||||
msgstr "Kontakt bearbeiten"
|
msgstr "Kontakt bearbeiten"
|
||||||
|
|
||||||
#: ../../include/Contact.php:231 ../../include/Contact.php:242
|
#: ../../include/Contact.php:231 ../../include/Contact.php:242
|
||||||
#: ../../include/conversation.php:815
|
#: ../../include/conversation.php:817
|
||||||
msgid "Send PM"
|
msgid "Send PM"
|
||||||
msgstr "Private Nachricht senden"
|
msgstr "Private Nachricht senden"
|
||||||
|
|
||||||
|
@ -9571,82 +9579,82 @@ msgstr "Kategorien"
|
||||||
msgid "Filed under:"
|
msgid "Filed under:"
|
||||||
msgstr "Abgelegt unter:"
|
msgstr "Abgelegt unter:"
|
||||||
|
|
||||||
#: ../../include/conversation.php:706
|
#: ../../include/conversation.php:708
|
||||||
msgid "remove"
|
msgid "remove"
|
||||||
msgstr "löschen"
|
msgstr "löschen"
|
||||||
|
|
||||||
#: ../../include/conversation.php:710
|
#: ../../include/conversation.php:712
|
||||||
msgid "Delete Selected Items"
|
msgid "Delete Selected Items"
|
||||||
msgstr "Lösche die markierten Beiträge"
|
msgstr "Lösche die markierten Beiträge"
|
||||||
|
|
||||||
#: ../../include/conversation.php:809
|
#: ../../include/conversation.php:811
|
||||||
msgid "Follow Thread"
|
msgid "Follow Thread"
|
||||||
msgstr "Folge der Unterhaltung"
|
msgstr "Folge der Unterhaltung"
|
||||||
|
|
||||||
#: ../../include/conversation.php:878
|
#: ../../include/conversation.php:880
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s likes this."
|
msgid "%s likes this."
|
||||||
msgstr "%s mag das."
|
msgstr "%s mag das."
|
||||||
|
|
||||||
#: ../../include/conversation.php:878
|
#: ../../include/conversation.php:880
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s doesn't like this."
|
msgid "%s doesn't like this."
|
||||||
msgstr "%s mag das nicht."
|
msgstr "%s mag das nicht."
|
||||||
|
|
||||||
#: ../../include/conversation.php:883
|
#: ../../include/conversation.php:885
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "<span %1$s>%2$d people</span> like this"
|
msgid "<span %1$s>%2$d people</span> like this"
|
||||||
msgstr "<span %1$s>%2$d Personen</span> mögen das"
|
msgstr "<span %1$s>%2$d Personen</span> mögen das"
|
||||||
|
|
||||||
#: ../../include/conversation.php:886
|
#: ../../include/conversation.php:888
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "<span %1$s>%2$d people</span> don't like this"
|
msgid "<span %1$s>%2$d people</span> don't like this"
|
||||||
msgstr "<span %1$s>%2$d Personen</span> mögen das nicht"
|
msgstr "<span %1$s>%2$d Personen</span> mögen das nicht"
|
||||||
|
|
||||||
#: ../../include/conversation.php:900
|
#: ../../include/conversation.php:902
|
||||||
msgid "and"
|
msgid "and"
|
||||||
msgstr "und"
|
msgstr "und"
|
||||||
|
|
||||||
#: ../../include/conversation.php:906
|
#: ../../include/conversation.php:908
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ", and %d other people"
|
msgid ", and %d other people"
|
||||||
msgstr " und %d andere"
|
msgstr " und %d andere"
|
||||||
|
|
||||||
#: ../../include/conversation.php:908
|
#: ../../include/conversation.php:910
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s like this."
|
msgid "%s like this."
|
||||||
msgstr "%s mögen das."
|
msgstr "%s mögen das."
|
||||||
|
|
||||||
#: ../../include/conversation.php:908
|
#: ../../include/conversation.php:910
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s don't like this."
|
msgid "%s don't like this."
|
||||||
msgstr "%s mögen das nicht."
|
msgstr "%s mögen das nicht."
|
||||||
|
|
||||||
#: ../../include/conversation.php:935 ../../include/conversation.php:953
|
#: ../../include/conversation.php:937 ../../include/conversation.php:955
|
||||||
msgid "Visible to <strong>everybody</strong>"
|
msgid "Visible to <strong>everybody</strong>"
|
||||||
msgstr "Für <strong>jedermann</strong> sichtbar"
|
msgstr "Für <strong>jedermann</strong> sichtbar"
|
||||||
|
|
||||||
#: ../../include/conversation.php:937 ../../include/conversation.php:955
|
#: ../../include/conversation.php:939 ../../include/conversation.php:957
|
||||||
msgid "Please enter a video link/URL:"
|
msgid "Please enter a video link/URL:"
|
||||||
msgstr "Bitte Link/URL zum Video einfügen:"
|
msgstr "Bitte Link/URL zum Video einfügen:"
|
||||||
|
|
||||||
#: ../../include/conversation.php:938 ../../include/conversation.php:956
|
#: ../../include/conversation.php:940 ../../include/conversation.php:958
|
||||||
msgid "Please enter an audio link/URL:"
|
msgid "Please enter an audio link/URL:"
|
||||||
msgstr "Bitte Link/URL zum Audio einfügen:"
|
msgstr "Bitte Link/URL zum Audio einfügen:"
|
||||||
|
|
||||||
#: ../../include/conversation.php:939 ../../include/conversation.php:957
|
#: ../../include/conversation.php:941 ../../include/conversation.php:959
|
||||||
msgid "Tag term:"
|
msgid "Tag term:"
|
||||||
msgstr "Tag:"
|
msgstr "Tag:"
|
||||||
|
|
||||||
#: ../../include/conversation.php:941 ../../include/conversation.php:959
|
#: ../../include/conversation.php:943 ../../include/conversation.php:961
|
||||||
msgid "Where are you right now?"
|
msgid "Where are you right now?"
|
||||||
msgstr "Wo hältst du dich jetzt gerade auf?"
|
msgstr "Wo hältst du dich jetzt gerade auf?"
|
||||||
|
|
||||||
#: ../../include/conversation.php:942
|
#: ../../include/conversation.php:944
|
||||||
msgid "Delete item(s)?"
|
msgid "Delete item(s)?"
|
||||||
msgstr "Einträge löschen?"
|
msgstr "Einträge löschen?"
|
||||||
|
|
||||||
#: ../../include/conversation.php:1021
|
#: ../../include/conversation.php:1023
|
||||||
msgid "permissions"
|
msgid "permissions"
|
||||||
msgstr "Zugriffsrechte"
|
msgstr "Zugriffsrechte"
|
||||||
|
|
||||||
|
@ -9670,117 +9678,117 @@ msgstr "Diesen Beitrag löschen?"
|
||||||
msgid "show fewer"
|
msgid "show fewer"
|
||||||
msgstr "weniger anzeigen"
|
msgstr "weniger anzeigen"
|
||||||
|
|
||||||
#: ../../boot.php:878
|
#: ../../boot.php:899
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Update %s failed. See error logs."
|
msgid "Update %s failed. See error logs."
|
||||||
msgstr "Update %s fehlgeschlagen. Bitte Fehlerprotokoll überprüfen."
|
msgstr "Update %s fehlgeschlagen. Bitte Fehlerprotokoll überprüfen."
|
||||||
|
|
||||||
#: ../../boot.php:880
|
#: ../../boot.php:901
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Update Error at %s"
|
msgid "Update Error at %s"
|
||||||
msgstr "Updatefehler bei %s"
|
msgstr "Updatefehler bei %s"
|
||||||
|
|
||||||
#: ../../boot.php:990
|
#: ../../boot.php:1011
|
||||||
msgid "Create a New Account"
|
msgid "Create a New Account"
|
||||||
msgstr "Neues Konto erstellen"
|
msgstr "Neues Konto erstellen"
|
||||||
|
|
||||||
#: ../../boot.php:1018
|
#: ../../boot.php:1039
|
||||||
msgid "Nickname or Email address: "
|
msgid "Nickname or Email address: "
|
||||||
msgstr "Spitzname oder E-Mail-Adresse: "
|
msgstr "Spitzname oder E-Mail-Adresse: "
|
||||||
|
|
||||||
#: ../../boot.php:1019
|
#: ../../boot.php:1040
|
||||||
msgid "Password: "
|
msgid "Password: "
|
||||||
msgstr "Passwort: "
|
msgstr "Passwort: "
|
||||||
|
|
||||||
#: ../../boot.php:1020
|
#: ../../boot.php:1041
|
||||||
msgid "Remember me"
|
msgid "Remember me"
|
||||||
msgstr "Anmeldedaten merken"
|
msgstr "Anmeldedaten merken"
|
||||||
|
|
||||||
#: ../../boot.php:1023
|
#: ../../boot.php:1044
|
||||||
msgid "Or login using OpenID: "
|
msgid "Or login using OpenID: "
|
||||||
msgstr "Oder melde dich mit deiner OpenID an: "
|
msgstr "Oder melde dich mit deiner OpenID an: "
|
||||||
|
|
||||||
#: ../../boot.php:1029
|
#: ../../boot.php:1050
|
||||||
msgid "Forgot your password?"
|
msgid "Forgot your password?"
|
||||||
msgstr "Passwort vergessen?"
|
msgstr "Passwort vergessen?"
|
||||||
|
|
||||||
#: ../../boot.php:1032
|
#: ../../boot.php:1053
|
||||||
msgid "Website Terms of Service"
|
msgid "Website Terms of Service"
|
||||||
msgstr "Website Nutzungsbedingungen"
|
msgstr "Website Nutzungsbedingungen"
|
||||||
|
|
||||||
#: ../../boot.php:1033
|
#: ../../boot.php:1054
|
||||||
msgid "terms of service"
|
msgid "terms of service"
|
||||||
msgstr "Nutzungsbedingungen"
|
msgstr "Nutzungsbedingungen"
|
||||||
|
|
||||||
#: ../../boot.php:1035
|
#: ../../boot.php:1056
|
||||||
msgid "Website Privacy Policy"
|
msgid "Website Privacy Policy"
|
||||||
msgstr "Website Datenschutzerklärung"
|
msgstr "Website Datenschutzerklärung"
|
||||||
|
|
||||||
#: ../../boot.php:1036
|
#: ../../boot.php:1057
|
||||||
msgid "privacy policy"
|
msgid "privacy policy"
|
||||||
msgstr "Datenschutzerklärung"
|
msgstr "Datenschutzerklärung"
|
||||||
|
|
||||||
#: ../../boot.php:1165
|
#: ../../boot.php:1186
|
||||||
msgid "Requested account is not available."
|
msgid "Requested account is not available."
|
||||||
msgstr "Das angefragte Profil ist nicht vorhanden."
|
msgstr "Das angefragte Profil ist nicht vorhanden."
|
||||||
|
|
||||||
#: ../../boot.php:1244
|
#: ../../boot.php:1265
|
||||||
msgid "Edit profile"
|
msgid "Edit profile"
|
||||||
msgstr "Profil bearbeiten"
|
msgstr "Profil bearbeiten"
|
||||||
|
|
||||||
#: ../../boot.php:1310
|
#: ../../boot.php:1331
|
||||||
msgid "Message"
|
msgid "Message"
|
||||||
msgstr "Nachricht"
|
msgstr "Nachricht"
|
||||||
|
|
||||||
#: ../../boot.php:1318
|
#: ../../boot.php:1339
|
||||||
msgid "Manage/edit profiles"
|
msgid "Manage/edit profiles"
|
||||||
msgstr "Profile verwalten/editieren"
|
msgstr "Profile verwalten/editieren"
|
||||||
|
|
||||||
#: ../../boot.php:1440 ../../boot.php:1526
|
#: ../../boot.php:1461 ../../boot.php:1547
|
||||||
msgid "g A l F d"
|
msgid "g A l F d"
|
||||||
msgstr "l, d. F G \\U\\h\\r"
|
msgstr "l, d. F G \\U\\h\\r"
|
||||||
|
|
||||||
#: ../../boot.php:1441 ../../boot.php:1527
|
#: ../../boot.php:1462 ../../boot.php:1548
|
||||||
msgid "F d"
|
msgid "F d"
|
||||||
msgstr "d. F"
|
msgstr "d. F"
|
||||||
|
|
||||||
#: ../../boot.php:1486 ../../boot.php:1567
|
#: ../../boot.php:1507 ../../boot.php:1588
|
||||||
msgid "[today]"
|
msgid "[today]"
|
||||||
msgstr "[heute]"
|
msgstr "[heute]"
|
||||||
|
|
||||||
#: ../../boot.php:1498
|
#: ../../boot.php:1519
|
||||||
msgid "Birthday Reminders"
|
msgid "Birthday Reminders"
|
||||||
msgstr "Geburtstagserinnerungen"
|
msgstr "Geburtstagserinnerungen"
|
||||||
|
|
||||||
#: ../../boot.php:1499
|
#: ../../boot.php:1520
|
||||||
msgid "Birthdays this week:"
|
msgid "Birthdays this week:"
|
||||||
msgstr "Geburtstage diese Woche:"
|
msgstr "Geburtstage diese Woche:"
|
||||||
|
|
||||||
#: ../../boot.php:1560
|
#: ../../boot.php:1581
|
||||||
msgid "[No description]"
|
msgid "[No description]"
|
||||||
msgstr "[keine Beschreibung]"
|
msgstr "[keine Beschreibung]"
|
||||||
|
|
||||||
#: ../../boot.php:1578
|
#: ../../boot.php:1599
|
||||||
msgid "Event Reminders"
|
msgid "Event Reminders"
|
||||||
msgstr "Veranstaltungserinnerungen"
|
msgstr "Veranstaltungserinnerungen"
|
||||||
|
|
||||||
#: ../../boot.php:1579
|
#: ../../boot.php:1600
|
||||||
msgid "Events this week:"
|
msgid "Events this week:"
|
||||||
msgstr "Veranstaltungen diese Woche"
|
msgstr "Veranstaltungen diese Woche"
|
||||||
|
|
||||||
#: ../../boot.php:1815
|
#: ../../boot.php:1836
|
||||||
msgid "Status Messages and Posts"
|
msgid "Status Messages and Posts"
|
||||||
msgstr "Statusnachrichten und Beiträge"
|
msgstr "Statusnachrichten und Beiträge"
|
||||||
|
|
||||||
#: ../../boot.php:1822
|
#: ../../boot.php:1843
|
||||||
msgid "Profile Details"
|
msgid "Profile Details"
|
||||||
msgstr "Profildetails"
|
msgstr "Profildetails"
|
||||||
|
|
||||||
#: ../../boot.php:1839
|
#: ../../boot.php:1860
|
||||||
msgid "Events and Calendar"
|
msgid "Events and Calendar"
|
||||||
msgstr "Ereignisse und Kalender"
|
msgstr "Ereignisse und Kalender"
|
||||||
|
|
||||||
#: ../../boot.php:1846
|
#: ../../boot.php:1867
|
||||||
msgid "Only You Can See This"
|
msgid "Only You Can See This"
|
||||||
msgstr "Nur du kannst das sehen"
|
msgstr "Nur du kannst das sehen"
|
||||||
|
|
||||||
|
@ -9788,7 +9796,7 @@ msgstr "Nur du kannst das sehen"
|
||||||
msgid "via"
|
msgid "via"
|
||||||
msgstr "via"
|
msgstr "via"
|
||||||
|
|
||||||
#: ../../index.php:399
|
#: ../../index.php:400
|
||||||
msgid "toggle mobile"
|
msgid "toggle mobile"
|
||||||
msgstr "auf/von Mobile Ansicht wechseln"
|
msgstr "auf/von Mobile Ansicht wechseln"
|
||||||
|
|
||||||
|
|
|
@ -1070,8 +1070,10 @@ $a->strings["Status:"] = "Status:";
|
||||||
$a->strings["Homepage:"] = "Homepage:";
|
$a->strings["Homepage:"] = "Homepage:";
|
||||||
$a->strings["About:"] = "Über:";
|
$a->strings["About:"] = "Über:";
|
||||||
$a->strings["No entries (some entries may be hidden)."] = "Keine Einträge (einige Einträge könnten versteckt sein).";
|
$a->strings["No entries (some entries may be hidden)."] = "Keine Einträge (einige Einträge könnten versteckt sein).";
|
||||||
|
$a->strings["Total invitation limit exceeded."] = "Limit für Einladungen erreicht.";
|
||||||
$a->strings["%s : Not a valid email address."] = "%s: Keine gültige Email Adresse.";
|
$a->strings["%s : Not a valid email address."] = "%s: Keine gültige Email Adresse.";
|
||||||
$a->strings["Please join us on Friendica"] = "Bitte trete bei uns auf Friendica bei";
|
$a->strings["Please join us on Friendica"] = "Bitte trete bei uns auf Friendica bei";
|
||||||
|
$a->strings["Invitation limit exceeded. Please contact your site administrator."] = "Limit für Einladungen erreicht. Bitte kontaktiere des Administrator der Seite.";
|
||||||
$a->strings["%s : Message delivery failed."] = "%s: Zustellung der Nachricht fehlgeschlagen.";
|
$a->strings["%s : Message delivery failed."] = "%s: Zustellung der Nachricht fehlgeschlagen.";
|
||||||
$a->strings["%d message sent."] = array(
|
$a->strings["%d message sent."] = array(
|
||||||
0 => "%d Nachricht gesendet.",
|
0 => "%d Nachricht gesendet.",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
$.get(
|
$.get(
|
||||||
'$baseurl/events/?id='+eventid,
|
'$baseurl/events/?id='+eventid,
|
||||||
function(data){
|
function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<base href="$baseurl/" />
|
<base href="$baseurl/" />
|
||||||
<meta name="generator" content="$generator" />
|
<meta name="generator" content="$generator" />
|
||||||
<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />
|
{#<!--<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />-->#}
|
||||||
|
<link rel="stylesheet" href="$baseurl/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
||||||
|
@ -23,7 +24,8 @@
|
||||||
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox.pack.js"></script>
|
{#<!--<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox.pack.js"></script>-->#}
|
||||||
|
<script type="text/javascript" src="$baseurl/library/colorbox/jquery.colorbox-min.js"></script>
|
||||||
<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||||
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/js/acl.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/acl.js" ></script>
|
||||||
|
|
|
@ -13,9 +13,9 @@ 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',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
$(".jothidden").show();
|
$(".jothidden").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -105,9 +105,9 @@ 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',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -274,7 +274,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);
|
||||||
})
|
})
|
||||||
|
@ -292,7 +292,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");
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,37 +6,40 @@
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
$("#cnftheme").fancybox({
|
$("#cnftheme").click(function(){
|
||||||
width: 800,
|
$.colorbox({
|
||||||
autoDimensions: false,
|
width: 800,
|
||||||
onStart: function(){
|
height: '90%',
|
||||||
var theme = $("#id_theme :selected").val();
|
/*onOpen: function(){
|
||||||
var theme_mobile = $("#id_theme_mobile :selected").val();
|
var theme = $("#id_theme :selected").val();
|
||||||
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
|
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
|
||||||
},
|
},*/
|
||||||
onComplete: function(){
|
href: "{{$baseurl}}/admin/themes/" + $("#id_theme :selected").val(),
|
||||||
$("div#fancybox-content form").submit(function(e){
|
onComplete: function(){
|
||||||
var url = $(this).attr('action');
|
$("div#fancybox-content form").submit(function(e){
|
||||||
// can't get .serialize() to work...
|
var url = $(this).attr('action');
|
||||||
var data={};
|
// can't get .serialize() to work...
|
||||||
$(this).find("input").each(function(){
|
var data={};
|
||||||
data[$(this).attr('name')] = $(this).val();
|
$(this).find("input").each(function(){
|
||||||
|
data[$(this).attr('name')] = $(this).val();
|
||||||
|
});
|
||||||
|
$(this).find("select").each(function(){
|
||||||
|
data[$(this).attr('name')] = $(this).children(":selected").val();
|
||||||
|
});
|
||||||
|
console.log(":)", url, data);
|
||||||
|
|
||||||
|
$.post(url, data, function(data) {
|
||||||
|
if(timer) clearTimeout(timer);
|
||||||
|
NavUpdate();
|
||||||
|
$.colorbox.close();
|
||||||
|
})
|
||||||
|
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
$(this).find("select").each(function(){
|
|
||||||
data[$(this).attr('name')] = $(this).children(":selected").val();
|
|
||||||
});
|
|
||||||
console.log(":)", url, data);
|
|
||||||
|
|
||||||
$.post(url, data, function(data) {
|
}
|
||||||
if(timer) clearTimeout(timer);
|
});
|
||||||
NavUpdate();
|
return false;
|
||||||
$.fancybox.close();
|
|
||||||
})
|
|
||||||
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
||||||
<li><a href="network/?cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li>
|
<li><a href="network/0?nets=all&cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li>
|
||||||
{{if $lblsuggest}}
|
{{if $lblsuggest}}
|
||||||
<li><a href="fsuggest/{{$contact_id}}" id="contact-edit-suggest">{{$lblsuggest}}</a></li>
|
<li><a href="fsuggest/{{$contact_id}}" id="contact-edit-suggest">{{$lblsuggest}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
$.get(
|
$.get(
|
||||||
'{{$baseurl}}/events/?id='+eventid,
|
'{{$baseurl}}/events/?id='+eventid,
|
||||||
function(data){
|
function(data){
|
||||||
$.fancybox(data);
|
$.colorbox({html:data});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<base href="{{$baseurl}}/" />
|
<base href="{{$baseurl}}/" />
|
||||||
<meta name="generator" content="{{$generator}}" />
|
<meta name="generator" content="{{$generator}}" />
|
||||||
<link rel="stylesheet" href="{{$baseurl}}/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />
|
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />-->*}}
|
||||||
|
<link rel="stylesheet" href="{{$baseurl}}/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{$stylesheet}}" media="all" />
|
<link rel="stylesheet" type="text/css" href="{{$stylesheet}}" media="all" />
|
||||||
|
@ -28,7 +29,8 @@
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/fk.autocomplete.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/fk.autocomplete.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox.pack.js"></script>
|
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox.pack.js"></script>-->*}}
|
||||||
|
<script type="text/javascript" src="{{$baseurl}}/library/colorbox/jquery.colorbox-min.js"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/acl.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/acl.js" ></script>
|
||||||
|
|
|
@ -18,9 +18,9 @@ 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',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
$(".jothidden").show();
|
$(".jothidden").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -110,9 +110,9 @@ 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',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -279,7 +279,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);
|
||||||
})
|
})
|
||||||
|
@ -297,7 +297,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");
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
||||||
|
|
||||||
<li><a href="network/?cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li>
|
<li><a href="network/0?nets=all&cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li>
|
||||||
{{ if $lblsuggest }}
|
{{ if $lblsuggest }}
|
||||||
<li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li>
|
<li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/jquery.divgrow-1.3.1.f1.js" ></script>
|
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/jquery.divgrow-1.3.1.f1.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
||||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/fk.autocomplete.js" ></script>-->#}
|
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/fk.autocomplete.js" ></script>-->#}
|
||||||
{#<!--<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>-->#}
|
{#<!--<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
|
||||||
|
<script type="text/javascript" src="$baseurl/library/colorbox/jquery.colorbox-min.js"></script>-->#}
|
||||||
{#<!--<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>-->#}
|
{#<!--<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>-->#}
|
||||||
{#<!--<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
{#<!--<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/acl.js" ></script>
|
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/acl.js" ></script>
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<base href="$baseurl/" />
|
<base href="$baseurl/" />
|
||||||
<meta name="generator" content="$generator" />
|
<meta name="generator" content="$generator" />
|
||||||
{#<!--<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
{#<!--<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
||||||
|
<link rel="stylesheet" href="$baseurl/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />-->#}
|
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />-->#}
|
||||||
|
|
||||||
|
|
1
view/theme/decaf-mobile/js/theme.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
document.addEventListener("DOMContentLoaded",function(){if(typeof window.AjaxUpload!="undefined"){var uploader=new window.AjaxUpload(window.imageUploadButton,{action:"wall_upload/"+window.nickname,name:"userfile",onSubmit:function(file,ext){$j("#profile-rotator").show()},onComplete:function(file,response){var currentText=$j(window.jotId).val();$j(window.jotId).val(currentText+response);$j("#profile-rotator").hide()}});if(document.getElementById("wall-file-upload")!=null){var file_uploader=new window.AjaxUpload("wall-file-upload",{action:"wall_attach/"+window.nickname,name:"userfile",onSubmit:function(file,ext){$j("#profile-rotator").show()},onComplete:function(file,response){var currentText=$j(window.jotId).val();$j(window.jotId).val(currentText+response);$j("#profile-rotator").hide()}})}}});function confirmDelete(f){response=confirm(window.delItem);if(response&&typeof f=="function"){f()}return response}function changeHref(elemId,url){elem=document.getElementById(elemId);elem.href=url}function remove(elemId){elem=document.getElementById(elemId);elem.parentNode.removeChild(elem)}function openClose(el){}
|
|
@ -53,7 +53,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
||||||
<li><a href="network/?cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li>
|
<li><a href="network/0?nets=all&cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li>
|
||||||
{{if $lblsuggest}}
|
{{if $lblsuggest}}
|
||||||
<li><a href="fsuggest/{{$contact_id}}" id="contact-edit-suggest">{{$lblsuggest}}</a></li>
|
<li><a href="fsuggest/{{$contact_id}}" id="contact-edit-suggest">{{$lblsuggest}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/jquery.divgrow-1.3.1.f1.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/jquery.divgrow-1.3.1.f1.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/fk.autocomplete.js" ></script>-->*}}
|
<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/fk.autocomplete.js" ></script>-->*}}
|
||||||
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>-->*}}
|
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
|
||||||
|
<script type="text/javascript" src="{{$baseurl}}/library/colorbox/jquery.colorbox-min.js"></script>-->*}}
|
||||||
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/tiptip/jquery.tipTip.minified.js"></script>-->*}}
|
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/tiptip/jquery.tipTip.minified.js"></script>-->*}}
|
||||||
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/acl.js" ></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/acl.js" ></script>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
<base href="{{$baseurl}}/" />
|
<base href="{{$baseurl}}/" />
|
||||||
<meta name="generator" content="{{$generator}}" />
|
<meta name="generator" content="{{$generator}}" />
|
||||||
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
||||||
|
<link rel="stylesheet" href="{{$baseurl}}/library/colorbox/colorbox.css" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="{{$baseurl}}/library/tiptip/tipTip.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="{{$baseurl}}/library/tiptip/tipTip.css" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />-->*}}
|
<link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />-->*}}
|
||||||
|
|
||||||
|
|
|
@ -169,10 +169,10 @@ if ($color=="dark") $color_path = "/diabook-dark/";
|
||||||
$a->page['htmlhead'] .= '
|
$a->page['htmlhead'] .= '
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$("a.lightbox").fancybox(); // Select all links with lightbox class
|
$("a.lightbox").colorbox({maxHeight:"90%"}); // Select all links with lightbox class
|
||||||
$("a#twittersettings-link").fancybox({onClosed: function() { $("#twittersettings").attr("style","display: none;");}} );
|
$("a#twittersettings-link").colorbox({inline:true,onClosed: function() { $("#twittersettings").attr("style","display: none;");}} );
|
||||||
$("a#mapcontrol-link").fancybox({onClosed: function() { $("#mapcontrol").attr("style","display: none;");}} );
|
$("a#mapcontrol-link").colorbox({inline:true,onClosed: function() { $("#mapcontrol").attr("style","display: none;");}} );
|
||||||
$("a#closeicon").fancybox({onClosed: function() { $("#boxsettings").attr("style","display: none;");}} );
|
$("a#closeicon").colorbox({inline:true,onClosed: function() { $("#boxsettings").attr("style","display: none;");}} );
|
||||||
});
|
});
|
||||||
|
|
||||||
$(window).load(function() {
|
$(window).load(function() {
|
||||||
|
|
|
@ -1,100 +0,0 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<base href="$baseurl/" />
|
|
||||||
<meta name="generator" content="$generator" />
|
|
||||||
<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
|
||||||
<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />
|
|
||||||
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
|
||||||
<link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
|
|
||||||
<link rel="search"
|
|
||||||
href="$baseurl/opensearch"
|
|
||||||
type="application/opensearchdescription+xml"
|
|
||||||
title="Search in Friendica" />
|
|
||||||
|
|
||||||
<!--[if IE]>
|
|
||||||
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
<script type="text/javascript" src="$baseurl/js/jquery.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/js/acl.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js"></script>
|
|
||||||
<script type="text/javascript" src="$baseurl/js/main.js"></script>
|
|
||||||
<!-- in dispy -->
|
|
||||||
<script>
|
|
||||||
var updateInterval = $update_interval;
|
|
||||||
var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
|
|
||||||
|
|
||||||
function confirmDelete() { return confirm("$delitem"); }
|
|
||||||
function commentOpen(obj,id) {
|
|
||||||
if(obj.value == '$comment') {
|
|
||||||
obj.value = '';
|
|
||||||
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
|
||||||
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
|
||||||
$("#mod-cmnt-wrap-" + id).show();
|
|
||||||
openMenu("comment-edit-submit-wrapper-" + id);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function commentClose(obj,id) {
|
|
||||||
if(obj.value == '') {
|
|
||||||
obj.value = '$comment';
|
|
||||||
$("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
|
|
||||||
$("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
|
|
||||||
$("#mod-cmnt-wrap-" + id).hide();
|
|
||||||
closeMenu("comment-edit-submit-wrapper-" + id);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function commentInsert(obj,id) {
|
|
||||||
var tmpStr = $("#comment-edit-text-" + id).val();
|
|
||||||
if(tmpStr == '$comment') {
|
|
||||||
tmpStr = '';
|
|
||||||
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
|
||||||
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
|
||||||
openMenu("comment-edit-submit-wrapper-" + id);
|
|
||||||
}
|
|
||||||
var ins = $(obj).html();
|
|
||||||
ins = ins.replace('<','<');
|
|
||||||
ins = ins.replace('>','>');
|
|
||||||
ins = ins.replace('&','&');
|
|
||||||
ins = ins.replace('"','"');
|
|
||||||
$("#comment-edit-text-" + id).val(tmpStr + ins);
|
|
||||||
}
|
|
||||||
|
|
||||||
function qCommentInsert(obj,id) {
|
|
||||||
var tmpStr = $("#comment-edit-text-" + id).val();
|
|
||||||
if(tmpStr == '$comment') {
|
|
||||||
tmpStr = '';
|
|
||||||
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
|
||||||
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
|
||||||
openMenu("comment-edit-submit-wrapper-" + id);
|
|
||||||
}
|
|
||||||
var ins = $(obj).val();
|
|
||||||
ins = ins.replace('<','<');
|
|
||||||
ins = ins.replace('>','>');
|
|
||||||
ins = ins.replace('&','&');
|
|
||||||
ins = ins.replace('"','"');
|
|
||||||
$("#comment-edit-text-" + id).val(tmpStr + ins);
|
|
||||||
$(obj).val('');
|
|
||||||
}
|
|
||||||
|
|
||||||
window.showMore = "$showmore";
|
|
||||||
window.showFewer = "$showfewer";
|
|
||||||
|
|
||||||
function showHideCommentBox(id) {
|
|
||||||
if( $('#comment-edit-form-' + id).is(':visible')) {
|
|
||||||
$('#comment-edit-form-' + id).hide();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$('#comment-edit-form-' + id).show();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
|
@ -11,9 +11,9 @@ 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',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
$(".jothidden").show();
|
$(".jothidden").show();
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -102,9 +102,9 @@ 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',
|
'inline' : true,
|
||||||
'transitionOut' : 'elastic'
|
'transition' : 'elastic'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (typeof cb!="undefined") cb();
|
if (typeof cb!="undefined") cb();
|
||||||
|
@ -268,7 +268,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);
|
||||||
})
|
})
|
||||||
|
@ -286,7 +286,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");
|
||||||
}
|
}
|
||||||
|
|