remove some now-unnecessary templates
This commit is contained in:
parent
127b7a589e
commit
cc4d091db0
12 changed files with 0 additions and 481 deletions
|
@ -1,7 +0,0 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/view/theme/frost-mobile/login-style.css" type="text/css" media="all" />-->*}}
|
|
||||||
|
|
|
@ -1,194 +0,0 @@
|
||||||
/**
|
|
||||||
* Friendica people autocomplete
|
|
||||||
*
|
|
||||||
* require jQuery, jquery.textareas
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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 = $j(elm).offset();
|
|
||||||
w = $j(elm).width();
|
|
||||||
h = $j(elm).height();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
var container = elm.getContainer();
|
|
||||||
if(typeof container != "undefined") {
|
|
||||||
style = $j(container).offset();
|
|
||||||
w = $j(container).width();
|
|
||||||
h = $j(container).height();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
style.top=style.top+h;
|
|
||||||
style.width = w;
|
|
||||||
style.position = 'absolute';
|
|
||||||
/* style['max-height'] = '150px';
|
|
||||||
style.border = '1px solid red';
|
|
||||||
style.background = '#cccccc';
|
|
||||||
|
|
||||||
style.overflow = 'auto';
|
|
||||||
style['z-index'] = '100000';
|
|
||||||
*/
|
|
||||||
style.display = 'none';
|
|
||||||
|
|
||||||
this.cont = $j("<div class='acpopup'></div>");
|
|
||||||
this.cont.css(style);
|
|
||||||
|
|
||||||
$j("body").append(this.cont);
|
|
||||||
}
|
|
||||||
ACPopup.prototype.close = function(){
|
|
||||||
$j(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',
|
|
||||||
}
|
|
||||||
|
|
||||||
$j.ajax({
|
|
||||||
type:'POST',
|
|
||||||
url: this.url,
|
|
||||||
data: postdata,
|
|
||||||
dataType: 'json',
|
|
||||||
success:function(data){
|
|
||||||
that.cont.html("");
|
|
||||||
if (data.tot>0){
|
|
||||||
that.cont.show();
|
|
||||||
$j(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 = $j("<div class='acpopupitem' title='"+value+"'>"+label+"</div>");
|
|
||||||
elm.click(function(e){
|
|
||||||
t = $j(this).attr('title').replace(new RegExp(' \- .*'),'');
|
|
||||||
if(typeof(that.element.container) === "undefined") {
|
|
||||||
el=$j(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();
|
|
||||||
// alert(that.searchText + ':' + t);
|
|
||||||
newtxt = txt.replace(that.searchText,t+' ');
|
|
||||||
tinyMCE.activeEditor.setContent(newtxt);
|
|
||||||
tinyMCE.activeEditor.focus();
|
|
||||||
that.close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$j(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') { //cursor up
|
|
||||||
cmax = this.cont.children().size()-1;
|
|
||||||
this.idsel--;
|
|
||||||
if (this.idsel<0) this.idsel=cmax;
|
|
||||||
event.preventDefault();
|
|
||||||
}
|
|
||||||
if (event.keyCode == '40' || event.keyCode == '9') { //cursor down
|
|
||||||
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');
|
|
||||||
$j(this.cont.children()[this.idsel]).addClass('selected');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (event.keyCode == '27') { //ESC
|
|
||||||
this.close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function ContactAutocomplete(element,backend_url){
|
|
||||||
this.pattern=/@([^ \n]+)$/;
|
|
||||||
this.popup=null;
|
|
||||||
var that = this;
|
|
||||||
|
|
||||||
$j(element).unbind('keydown');
|
|
||||||
$j(element).unbind('keyup');
|
|
||||||
|
|
||||||
$j(element).keydown(function(event){
|
|
||||||
if (that.popup!==null) that.popup.onkey(event);
|
|
||||||
});
|
|
||||||
|
|
||||||
$j(element).keyup(function(event){
|
|
||||||
cpos = $j(this).getSelection();
|
|
||||||
if (cpos.start==cpos.end){
|
|
||||||
match = $j(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;}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* jQuery plugin 'contact_autocomplete'
|
|
||||||
*/
|
|
||||||
(function( $ ){
|
|
||||||
$j.fn.contact_autocomplete = function(backend_url) {
|
|
||||||
this.each(function(){
|
|
||||||
new ContactAutocomplete(this, backend_url);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
})( jQuery );
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
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=$j(elm).offset();w=$j(elm).width();h=$j(elm).height()}else{var container=elm.getContainer();if(typeof container!="undefined"){style=$j(container).offset();w=$j(container).width();h=$j(container).height()}}style.top=style.top+h;style.width=w;style.position="absolute";style.display="none";this.cont=$j("<div class='acpopup'></div>");this.cont.css(style);$j("body").append(this.cont)}ACPopup.prototype.close=function(){$j(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"};$j.ajax({type:"POST",url:this.url,data:postdata,dataType:"json",success:function(data){that.cont.html("");if(data.tot>0){that.cont.show();$j(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=$j("<div class='acpopupitem' title='"+value+"'>"+label+"</div>");elm.click(function(e){t=$j(this).attr("title").replace(new RegExp(" - .*"),"");if(typeof that.element.container==="undefined"){el=$j(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()}});$j(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");$j(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;$j(element).unbind("keydown");$j(element).unbind("keyup");$j(element).keydown(function(event){if(that.popup!==null)that.popup.onkey(event)});$j(element).keyup(function(event){cpos=$j(this).getSelection();if(cpos.start==cpos.end){match=$j(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($){$j.fn.contact_autocomplete=function(backend_url){this.each(function(){new ContactAutocomplete(this,backend_url)})}})(jQuery);
|
|
|
@ -1,7 +0,0 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/view/theme/frost-mobile/login-style.css" type="text/css" media="all" />-->*}}
|
|
||||||
|
|
|
@ -1,194 +0,0 @@
|
||||||
/**
|
|
||||||
* Friendica people autocomplete
|
|
||||||
*
|
|
||||||
* require jQuery, jquery.textareas
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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 = $j(elm).offset();
|
|
||||||
w = $j(elm).width();
|
|
||||||
h = $j(elm).height();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
var container = elm.getContainer();
|
|
||||||
if(typeof container != "undefined") {
|
|
||||||
style = $j(container).offset();
|
|
||||||
w = $j(container).width();
|
|
||||||
h = $j(container).height();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
style.top=style.top+h;
|
|
||||||
style.width = w;
|
|
||||||
style.position = 'absolute';
|
|
||||||
/* style['max-height'] = '150px';
|
|
||||||
style.border = '1px solid red';
|
|
||||||
style.background = '#cccccc';
|
|
||||||
|
|
||||||
style.overflow = 'auto';
|
|
||||||
style['z-index'] = '100000';
|
|
||||||
*/
|
|
||||||
style.display = 'none';
|
|
||||||
|
|
||||||
this.cont = $j("<div class='acpopup'></div>");
|
|
||||||
this.cont.css(style);
|
|
||||||
|
|
||||||
$j("body").append(this.cont);
|
|
||||||
}
|
|
||||||
ACPopup.prototype.close = function(){
|
|
||||||
$j(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',
|
|
||||||
}
|
|
||||||
|
|
||||||
$j.ajax({
|
|
||||||
type:'POST',
|
|
||||||
url: this.url,
|
|
||||||
data: postdata,
|
|
||||||
dataType: 'json',
|
|
||||||
success:function(data){
|
|
||||||
that.cont.html("");
|
|
||||||
if (data.tot>0){
|
|
||||||
that.cont.show();
|
|
||||||
$j(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 = $j("<div class='acpopupitem' title='"+value+"'>"+label+"</div>");
|
|
||||||
elm.click(function(e){
|
|
||||||
t = $j(this).attr('title').replace(new RegExp(' \- .*'),'');
|
|
||||||
if(typeof(that.element.container) === "undefined") {
|
|
||||||
el=$j(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();
|
|
||||||
// alert(that.searchText + ':' + t);
|
|
||||||
newtxt = txt.replace(that.searchText,t+' ');
|
|
||||||
tinyMCE.activeEditor.setContent(newtxt);
|
|
||||||
tinyMCE.activeEditor.focus();
|
|
||||||
that.close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$j(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') { //cursor up
|
|
||||||
cmax = this.cont.children().size()-1;
|
|
||||||
this.idsel--;
|
|
||||||
if (this.idsel<0) this.idsel=cmax;
|
|
||||||
event.preventDefault();
|
|
||||||
}
|
|
||||||
if (event.keyCode == '40' || event.keyCode == '9') { //cursor down
|
|
||||||
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');
|
|
||||||
$j(this.cont.children()[this.idsel]).addClass('selected');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (event.keyCode == '27') { //ESC
|
|
||||||
this.close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function ContactAutocomplete(element,backend_url){
|
|
||||||
this.pattern=/@([^ \n]+)$/;
|
|
||||||
this.popup=null;
|
|
||||||
var that = this;
|
|
||||||
|
|
||||||
$j(element).unbind('keydown');
|
|
||||||
$j(element).unbind('keyup');
|
|
||||||
|
|
||||||
$j(element).keydown(function(event){
|
|
||||||
if (that.popup!==null) that.popup.onkey(event);
|
|
||||||
});
|
|
||||||
|
|
||||||
$j(element).keyup(function(event){
|
|
||||||
cpos = $j(this).getSelection();
|
|
||||||
if (cpos.start==cpos.end){
|
|
||||||
match = $j(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;}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* jQuery plugin 'contact_autocomplete'
|
|
||||||
*/
|
|
||||||
(function( $ ){
|
|
||||||
$j.fn.contact_autocomplete = function(backend_url) {
|
|
||||||
this.each(function(){
|
|
||||||
new ContactAutocomplete(this, backend_url);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
})( jQuery );
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
1
view/theme/frost/js/fk.autocomplete.min.js
vendored
1
view/theme/frost/js/fk.autocomplete.min.js
vendored
|
@ -1 +0,0 @@
|
||||||
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=$j(elm).offset();w=$j(elm).width();h=$j(elm).height()}else{var container=elm.getContainer();if(typeof container!="undefined"){style=$j(container).offset();w=$j(container).width();h=$j(container).height()}}style.top=style.top+h;style.width=w;style.position="absolute";style.display="none";this.cont=$j("<div class='acpopup'></div>");this.cont.css(style);$j("body").append(this.cont)}ACPopup.prototype.close=function(){$j(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"};$j.ajax({type:"POST",url:this.url,data:postdata,dataType:"json",success:function(data){that.cont.html("");if(data.tot>0){that.cont.show();$j(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=$j("<div class='acpopupitem' title='"+value+"'>"+label+"</div>");elm.click(function(e){t=$j(this).attr("title").replace(new RegExp(" - .*"),"");if(typeof that.element.container==="undefined"){el=$j(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()}});$j(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");$j(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;$j(element).unbind("keydown");$j(element).unbind("keyup");$j(element).keydown(function(event){if(that.popup!==null)that.popup.onkey(event)});$j(element).keyup(function(event){cpos=$j(this).getSelection();if(cpos.start==cpos.end){match=$j(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($){$j.fn.contact_autocomplete=function(backend_url){this.each(function(){new ContactAutocomplete(this,backend_url)})}})(jQuery);
|
|
|
@ -1,23 +0,0 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
|
|
||||||
<div class='field combobox'>
|
|
||||||
<label for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label>
|
|
||||||
{{* html5 don't work on Chrome, Safari and IE9
|
|
||||||
<input id="id_{{$field.0}}" type="text" list="data_{{$field.0}}" >
|
|
||||||
<datalist id="data_{{$field.0}}" >
|
|
||||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{/foreach}}
|
|
||||||
</datalist> *}}
|
|
||||||
|
|
||||||
<input id="id_{{$field.0}}" type="text" value="{{$field.2}}">
|
|
||||||
<select id="select_{{$field.0}}" onChange="$j('#id_{{$field.0}}').val($j(this).val())">
|
|
||||||
<option value="">{{$field.5}}</option>
|
|
||||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}}
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<span class='field_help'>{{$field.3}}</span>
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
|
|
||||||
<div class='field input' id='wrapper_{{$field.0}}'>
|
|
||||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
|
||||||
<input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
|
|
||||||
<span class='field_help'>{{$field.3}}</span>
|
|
||||||
</div>
|
|
|
@ -1,11 +0,0 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
|
|
||||||
<div class='field input openid' id='wrapper_{{$field.0}}'>
|
|
||||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
|
||||||
<input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
|
|
||||||
<span class='field_help'>{{$field.3}}</span>
|
|
||||||
</div>
|
|
|
@ -1,11 +0,0 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
|
|
||||||
<div class='field password' id='wrapper_{{$field.0}}'>
|
|
||||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
|
||||||
<input type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
|
|
||||||
<span class='field_help'>{{$field.3}}</span>
|
|
||||||
</div>
|
|
|
@ -1,7 +0,0 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
{{*<!--<link rel="stylesheet" href="{{$baseurl}}/view/theme/frost/login-style.css" type="text/css" media="all" />-->*}}
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
{{*
|
|
||||||
* AUTOMATICALLY GENERATED TEMPLATE
|
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
|
||||||
*
|
|
||||||
*}}
|
|
||||||
<div id="datebrowse-sidebar" class="widget">
|
|
||||||
<h3>{{$title}}</h3>
|
|
||||||
<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script>
|
|
||||||
<select id="posted-date-selector" name="posted-date-select" onchange="dateSubmit($j(this).val());" size="{{$size}}">
|
|
||||||
{{foreach $dates as $d}}
|
|
||||||
<option value="{{$url}}/{{$d.1}}/{{$d.2}}" >{{$d.0}}</option>
|
|
||||||
{{/foreach}}
|
|
||||||
</select>
|
|
||||||
</div>
|
|
Loading…
Reference in a new issue