Merge remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: fix /display bug; oembed audio bug; other tweaks Frost: reduce DOM elements by about 20%; other tweaks and fixes rev update errant div in events_reminder.tpl pass deleted flag to display rev update fix filer bug; some interface tweaks Update view/theme/frost/nav.tpl Update view/theme/frost-mobile/nav.tpl don't show birthday/event details on mobile devices rev update remove server-specific change update version of frost and frost-mobile Modify Javascript to improve page loading times rev update Friendicaland got bigger.
This commit is contained in:
commit
0e7f6d1417
148 changed files with 4705 additions and 6308 deletions
22
boot.php
22
boot.php
|
|
@ -11,7 +11,7 @@ require_once('include/cache.php');
|
|||
require_once('library/Mobile_Detect/Mobile_Detect.php');
|
||||
|
||||
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||
define ( 'FRIENDICA_VERSION', '3.0.1415' );
|
||||
define ( 'FRIENDICA_VERSION', '3.0.1420' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
|
||||
define ( 'DB_UPDATE_VERSION', 1154 );
|
||||
|
||||
|
|
@ -573,6 +573,13 @@ if(! class_exists('App')) {
|
|||
));
|
||||
}
|
||||
|
||||
function init_page_end() {
|
||||
$tpl = get_markup_template('end.tpl');
|
||||
$this->page['end'] = replace_macros($tpl,array(
|
||||
'$baseurl' => $this->get_baseurl() // FIXME for z_path!!!!
|
||||
));
|
||||
}
|
||||
|
||||
function set_curl_code($code) {
|
||||
$this->curl_code = $code;
|
||||
}
|
||||
|
|
@ -1244,6 +1251,12 @@ if(! function_exists('get_birthdays')) {
|
|||
if(! local_user())
|
||||
return $o;
|
||||
|
||||
$mobile_detect = new Mobile_Detect();
|
||||
$is_mobile = $mobile_detect->isMobile() || $mobile_detect->isTablet();
|
||||
|
||||
if($is_mobile)
|
||||
return $o;
|
||||
|
||||
$bd_format = t('g A l F d') ; // 8 AM Friday January 18
|
||||
$bd_short = t('F d');
|
||||
|
||||
|
|
@ -1323,6 +1336,13 @@ if(! function_exists('get_events')) {
|
|||
if(! local_user())
|
||||
return $o;
|
||||
|
||||
|
||||
$mobile_detect = new Mobile_Detect();
|
||||
$is_mobile = $mobile_detect->isMobile() || $mobile_detect->isTablet();
|
||||
|
||||
if($is_mobile)
|
||||
return $o;
|
||||
|
||||
$bd_format = t('g A l F d') ; // 8 AM Friday January 18
|
||||
$bd_short = t('F d');
|
||||
|
||||
|
|
|
|||
|
|
@ -1055,7 +1055,6 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
|
|||
$plaintext = true;
|
||||
|
||||
$tpl = get_markup_template('jot-header.tpl');
|
||||
|
||||
$a->page['htmlhead'] .= replace_macros($tpl, array(
|
||||
'$newpost' => 'true',
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
|
|
@ -1072,6 +1071,23 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
|
|||
));
|
||||
|
||||
|
||||
$tpl = get_markup_template('jot-end.tpl');
|
||||
$a->page['end'] .= replace_macros($tpl, array(
|
||||
'$newpost' => 'true',
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
|
||||
'$geotag' => $geotag,
|
||||
'$nickname' => $x['nickname'],
|
||||
'$ispublic' => t('Visible to <strong>everybody</strong>'),
|
||||
'$linkurl' => t('Please enter a link URL:'),
|
||||
'$vidurl' => t("Please enter a video link/URL:"),
|
||||
'$audurl' => t("Please enter an audio link/URL:"),
|
||||
'$term' => t('Tag term:'),
|
||||
'$fileas' => t('Save to Folder:'),
|
||||
'$whereareu' => t('Where are you right now?')
|
||||
));
|
||||
|
||||
|
||||
$tpl = get_markup_template("jot.tpl");
|
||||
|
||||
$jotplugins = '';
|
||||
|
|
@ -1147,6 +1163,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
|
|||
'$bang' => $x['bang'],
|
||||
'$profile_uid' => $x['profile_uid'],
|
||||
'$preview' => t('Preview'),
|
||||
'$mobileapp' => t('Friendica mobile web'),
|
||||
));
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -118,6 +118,12 @@ if(! x($_SESSION,'authenticated'))
|
|||
|
||||
$a->init_pagehead();
|
||||
|
||||
/**
|
||||
* Build the page ending -- this is stuff that goes right before
|
||||
* the closing </body> tag
|
||||
*/
|
||||
|
||||
$a->init_page_end();
|
||||
|
||||
|
||||
if(! x($_SESSION,'sysmsg'))
|
||||
|
|
|
|||
1
js/acl.min.js
vendored
Normal file
1
js/acl.min.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
function ACL(e,t){that=this,that.url=e,that.kp_timer=null,t==undefined&&(t=[]),that.allow_cid=t[0]||[],that.allow_gid=t[1]||[],that.deny_cid=t[2]||[],that.deny_gid=t[3]||[],that.group_uids=[],that.nw=4,that.list_content=$("#acl-list-content"),that.item_tpl=unescape($(".acl-list-item[rel=acl-template]").html()),that.showall=$("#acl-showall"),t.length==0&&that.showall.addClass("selected"),that.showall.click(that.on_showall),$(".acl-button-show").live("click",that.on_button_show),$(".acl-button-hide").live("click",that.on_button_hide),$("#acl-search").keypress(that.on_search),$("#acl-wrapper").parents("form").submit(that.on_submit),that.get(0,100)}ACL.prototype.on_submit=function(){aclfileds=$("#acl-fields").html(""),$(that.allow_gid).each(function(e,t){aclfileds.append("<input type='hidden' name='group_allow[]' value='"+t+"'>")}),$(that.allow_cid).each(function(e,t){aclfileds.append("<input type='hidden' name='contact_allow[]' value='"+t+"'>")}),$(that.deny_gid).each(function(e,t){aclfileds.append("<input type='hidden' name='group_deny[]' value='"+t+"'>")}),$(that.deny_cid).each(function(e,t){aclfileds.append("<input type='hidden' name='contact_deny[]' value='"+t+"'>")})},ACL.prototype.search=function(){var e=$("#acl-search").val();that.list_content.html(""),that.get(0,100,e)},ACL.prototype.on_search=function(e){that.kp_timer&&clearTimeout(that.kp_timer),that.kp_timer=setTimeout(that.search,1e3)},ACL.prototype.on_showall=function(e){return e.preventDefault(),e.stopPropagation(),that.showall.hasClass("selected")?!1:(that.showall.addClass("selected"),that.allow_cid=[],that.allow_gid=[],that.deny_cid=[],that.deny_gid=[],that.update_view(),!1)},ACL.prototype.on_button_show=function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),that.set_allow($(this).parent().attr("id")),!1},ACL.prototype.on_button_hide=function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),that.set_deny($(this).parent().attr("id")),!1},ACL.prototype.set_allow=function(e){type=e[0],id=parseInt(e.substr(1));switch(type){case"g":that.allow_gid.indexOf(id)<0?that.allow_gid.push(id):that.allow_gid.remove(id),that.deny_gid.indexOf(id)>=0&&that.deny_gid.remove(id);break;case"c":that.allow_cid.indexOf(id)<0?that.allow_cid.push(id):that.allow_cid.remove(id),that.deny_cid.indexOf(id)>=0&&that.deny_cid.remove(id)}that.update_view()},ACL.prototype.set_deny=function(e){type=e[0],id=parseInt(e.substr(1));switch(type){case"g":that.deny_gid.indexOf(id)<0?that.deny_gid.push(id):that.deny_gid.remove(id),that.allow_gid.indexOf(id)>=0&&that.allow_gid.remove(id);break;case"c":that.deny_cid.indexOf(id)<0?that.deny_cid.push(id):that.deny_cid.remove(id),that.allow_cid.indexOf(id)>=0&&that.allow_cid.remove(id)}that.update_view()},ACL.prototype.update_view=function(){that.allow_gid.length==0&&that.allow_cid.length==0&&that.deny_gid.length==0&&that.deny_cid.length==0?(that.showall.addClass("selected"),$("#jot-perms-icon").removeClass("lock").addClass("unlock"),$("#jot-public").show(),$(".profile-jot-net input").attr("disabled",!1),typeof editor!="undefined"&&editor!=0&&$("#profile-jot-desc").html(ispublic)):(that.showall.removeClass("selected"),$("#jot-perms-icon").removeClass("unlock").addClass("lock"),$("#jot-public").hide(),$(".profile-jot-net input").attr("disabled","disabled"),$("#profile-jot-desc").html(" ")),$("#acl-list-content .acl-list-item").each(function(){$(this).removeClass("groupshow grouphide")}),$("#acl-list-content .acl-list-item").each(function(){itemid=$(this).attr("id"),type=itemid[0],id=parseInt(itemid.substr(1)),btshow=$(this).children(".acl-button-show").removeClass("selected"),bthide=$(this).children(".acl-button-hide").removeClass("selected");switch(type){case"g":var e="";that.allow_gid.indexOf(id)>=0&&(btshow.addClass("selected"),bthide.removeClass("selected"),e="groupshow"),that.deny_gid.indexOf(id)>=0&&(btshow.removeClass("selected"),bthide.addClass("selected"),e="grouphide"),$(that.group_uids[id]).each(function(t,n){e=="grouphide"&&$("#c"+n).removeClass("groupshow");if(e!=""){var r=$("#c"+n).attr("class");if(r==undefined)return!0;var i=r.indexOf("grouphide");i==-1&&$("#c"+n).addClass(e)}});break;case"c":that.allow_cid.indexOf(id)>=0&&(btshow.addClass("selected"),bthide.removeClass("selected")),that.deny_cid.indexOf(id)>=0&&(btshow.removeClass("selected"),bthide.addClass("selected"))}})},ACL.prototype.get=function(e,t,n){var r={start:e,count:t,search:n};$.ajax({type:"POST",url:that.url,data:r,dataType:"json",success:that.populate})},ACL.prototype.populate=function(e){var t=Math.ceil(e.tot/that.nw)*42;that.list_content.height(t),$(e.items).each(function(){html="<div class='acl-list-item {4} {5}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>",html=html.format(this.photo,this.name,this.type,this.id,"",this.network,this.link),this.uids!=undefined&&(that.group_uids[this.id]=this.uids),that.list_content.append(html)}),that.update_view()};
|
||||
6
js/ajaxupload.min.js
vendored
Normal file
6
js/ajaxupload.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -275,7 +275,7 @@ aStates[249]="|'Adan|'Ataq|Abyan|Al Bayda'|Al Hudaydah|Al Jawf|Al Mahrah|Al Mahw
|
|||
aStates[250]="|Kosovo|Montenegro|Serbia|Vojvodina";
|
||||
aStates[251]="|Central|Copperbelt|Eastern|Luapula|Lusaka|North-Western|Northern|Southern|Western";
|
||||
aStates[252]="|Bulawayo|Harare|ManicalandMashonaland Central|Mashonaland East|Mashonaland West|Masvingo|Matabeleland North|Matabeleland South|Midlands";
|
||||
aStates[253]="|Self Hosted|Private Server|Architects Of Sleep|DFRN|Distributed Friend Network|Free-Beer.ch|Foojbook|Free-Haven|Friendica.eu|Friendika.me.4.it|Friendika - I Ask Questions|Frndc.com|Hikado|Hipatia|Hungerfreunde|Kaluguran Community|Kak Ste?|Karl.Markx.pm|Loozah Social Club|MyFriendica.net|MyFriendNetwork|Oi!|OpenMindSpace|Recolutionari.es|SPRACI|Sysfu Social Club|theshi.re|Tumpambae|Uzmiac|Other";
|
||||
aStates[253]="|Self Hosted|Private Server|Architects Of Sleep|DFRN|Distributed Friend Network|Free-Beer.ch|Foojbook|Free-Haven|Friendica.eu|Friendika.me.4.it|Friendika - I Ask Questions|Frndc.com|Hikado|Hipatia|Hungerfreunde|Kaluguran Community|Kak Ste|Karl.Markx.pm|Loozah Social Club|MyFriendica.net|MyFriendNetwork|Oi!|OpenMindSpace|Optimistisch|Recolutionari.es|Sparkling Network|SPRACI|Styliztique|Sysfu Social Club|Trevena|theshi.re|Tumpambae|Uzmiac|Other";
|
||||
/*
|
||||
* gArCountryInfo
|
||||
* (0) Country name
|
||||
|
|
|
|||
11
js/country.min.js
vendored
Normal file
11
js/country.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
js/fk.autocomplete.min.js
vendored
Normal file
5
js/fk.autocomplete.min.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/**
|
||||
* 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);
|
||||
6
js/jquery.htmlstream.min.js
vendored
Normal file
6
js/jquery.htmlstream.min.js
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/* jQuery ajax stream plugin
|
||||
* 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);
|
||||
1
js/main.min.js
vendored
Normal file
1
js/main.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
js/webtoolkit.base64.min.js
vendored
Normal file
6
js/webtoolkit.base64.min.js
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/**
|
||||
*
|
||||
* 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}};
|
||||
10
library/jquery_ac/friendica.complete.min.js
vendored
Normal file
10
library/jquery_ac/friendica.complete.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -45,22 +45,16 @@ function contacts_init(&$a) {
|
|||
$a->page['aside'] .= networks_widget('contacts',$_GET['nets']);
|
||||
$base = $a->get_baseurl();
|
||||
|
||||
$a->page['htmlhead'] .= '<script src="' . $a->get_baseurl(true) . '/library/jquery_ac/friendica.complete.js" ></script>';
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
|
||||
<script>$(document).ready(function() {
|
||||
var a;
|
||||
a = $("#contacts-search").autocomplete({
|
||||
serviceUrl: '$base/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
});
|
||||
a.setOptions({ params: { type: 'a' }});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
EOT;
|
||||
$tpl = get_markup_template("contacts-head.tpl");
|
||||
$a->page['htmlhead'] .= replace_macros($tpl,array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$base' => $base
|
||||
));
|
||||
$tpl = get_markup_template("contacts-end.tpl");
|
||||
$a->page['end'] .= replace_macros($tpl,array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$base' => $base
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -247,6 +241,10 @@ function contacts_content(&$a) {
|
|||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => $editselect,
|
||||
));
|
||||
$a->page['end'] .= replace_macros(get_markup_template('contact_end.tpl'), array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => $editselect,
|
||||
));
|
||||
|
||||
require_once('include/contact_selectors.php');
|
||||
|
||||
|
|
|
|||
|
|
@ -16,15 +16,7 @@ function display_content(&$a) {
|
|||
|
||||
$o = '<div id="live-display"></div>' . "\r\n";
|
||||
|
||||
$a->page['htmlhead'] .= <<<EOT
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
$(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
});
|
||||
</script>
|
||||
EOT;
|
||||
$a->page['htmlhead'] .= get_markup_template('display-head.tpl');
|
||||
|
||||
|
||||
$nick = (($a->argc > 1) ? $a->argv[1] : '');
|
||||
|
|
@ -126,7 +118,7 @@ EOT;
|
|||
|
||||
}
|
||||
else {
|
||||
$r = q("SELECT `id` FROM `item` WHERE `id` = '%s' OR `uri` = '%s' LIMIT 1",
|
||||
$r = q("SELECT `id`,`deleted` FROM `item` WHERE `id` = '%s' OR `uri` = '%s' LIMIT 1",
|
||||
dbesc($item_id),
|
||||
dbesc($item_id)
|
||||
);
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ function editpost_content(&$a) {
|
|||
$o .= '<h2>' . t('Edit post') . '</h2>';
|
||||
|
||||
$tpl = get_markup_template('jot-header.tpl');
|
||||
|
||||
$a->page['htmlhead'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
|
||||
|
|
@ -45,6 +44,15 @@ function editpost_content(&$a) {
|
|||
'$nickname' => $a->user['nickname']
|
||||
));
|
||||
|
||||
$tpl = get_markup_template('jot-end.tpl');
|
||||
$a->page['end'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
|
||||
'$ispublic' => ' ', // t('Visible to <strong>everybody</strong>'),
|
||||
'$geotag' => $geotag,
|
||||
'$nickname' => $a->user['nickname']
|
||||
));
|
||||
|
||||
|
||||
$tpl = get_markup_template("jot.tpl");
|
||||
|
||||
|
|
@ -124,6 +132,7 @@ function editpost_content(&$a) {
|
|||
'$profile_uid' => $_SESSION['uid'],
|
||||
'$preview' => t('Preview'),
|
||||
'$jotplugins' => $jotplugins,
|
||||
'$mobileapp' => t('Friendica mobile web'),
|
||||
));
|
||||
|
||||
return $o;
|
||||
|
|
|
|||
|
|
@ -145,6 +145,9 @@ function events_content(&$a) {
|
|||
$htpl = get_markup_template('event_head.tpl');
|
||||
$a->page['htmlhead'] .= replace_macros($htpl,array('$baseurl' => $a->get_baseurl()));
|
||||
|
||||
$etpl = get_markup_template('event_end.tpl');
|
||||
$a->page['end'] .= replace_macros($etpl,array('$baseurl' => $a->get_baseurl()));
|
||||
|
||||
$o ="";
|
||||
// tabs
|
||||
$tabs = profile_tabs($a, True);
|
||||
|
|
|
|||
|
|
@ -18,24 +18,17 @@ function message_init(&$a) {
|
|||
));
|
||||
$base = $a->get_baseurl();
|
||||
|
||||
$a->page['htmlhead'] .= '<script src="' . $a->get_baseurl(true) . '/library/jquery_ac/friendica.complete.js" ></script>';
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
$head_tpl = get_markup_template('message-head.tpl');
|
||||
$a->page['htmlhead'] .= replace_macros($head_tpl,array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$base' => $base
|
||||
));
|
||||
|
||||
<script>$(document).ready(function() {
|
||||
var a;
|
||||
a = $("#recip").autocomplete({
|
||||
serviceUrl: '$base/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
onSelect: function(value,data) {
|
||||
$("#recip-complete").val(data);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
EOT;
|
||||
$end_tpl = get_markup_template('message-end.tpl');
|
||||
$a->page['end'] .= replace_macros($end_tpl,array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$base' => $base
|
||||
));
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -242,7 +235,6 @@ function message_content(&$a) {
|
|||
|
||||
|
||||
$tpl = get_markup_template('msg-header.tpl');
|
||||
|
||||
$a->page['htmlhead'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
|
||||
|
|
@ -250,6 +242,14 @@ function message_content(&$a) {
|
|||
'$linkurl' => t('Please enter a link URL:')
|
||||
));
|
||||
|
||||
$tpl = get_markup_template('msg-end.tpl');
|
||||
$a->page['end'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
|
||||
'$nickname' => $a->user['nickname'],
|
||||
'$linkurl' => t('Please enter a link URL:')
|
||||
));
|
||||
|
||||
$preselect = (isset($a->argv[2])?array($a->argv[2]):false);
|
||||
|
||||
|
||||
|
|
@ -399,12 +399,17 @@ function message_content(&$a) {
|
|||
require_once("include/bbcode.php");
|
||||
|
||||
$tpl = get_markup_template('msg-header.tpl');
|
||||
|
||||
$a->page['htmlhead'] .= replace_macros($tpl, array(
|
||||
'$nickname' => $a->user['nickname'],
|
||||
'$baseurl' => $a->get_baseurl(true)
|
||||
));
|
||||
|
||||
$tpl = get_markup_template('msg-end.tpl');
|
||||
$a->page['end'] .= replace_macros($tpl, array(
|
||||
'$nickname' => $a->user['nickname'],
|
||||
'$baseurl' => $a->get_baseurl(true)
|
||||
));
|
||||
|
||||
|
||||
$mails = array();
|
||||
$seen = 0;
|
||||
|
|
|
|||
|
|
@ -69,30 +69,11 @@ function photos_init(&$a) {
|
|||
$a->page['aside'] .= $o;
|
||||
|
||||
|
||||
$a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "';" ;
|
||||
$tpl = get_markup_template("photos_head.tpl");
|
||||
$a->page['htmlhead'] .= replace_macros($tpl,array(
|
||||
'$ispublic' => t('everybody')
|
||||
));
|
||||
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $(this).text();
|
||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
EOT;
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
@ -962,7 +943,7 @@ function photos_content(&$a) {
|
|||
$selname = (($datum) ? hex2bin($datum) : '');
|
||||
|
||||
|
||||
$albumselect = '<select id="photos-upload-album-select" name="album" size="4">';
|
||||
$albumselect = '';
|
||||
|
||||
|
||||
$albumselect .= '<option value="" ' . ((! $selname) ? ' selected="selected" ' : '') . '> </option>';
|
||||
|
|
@ -977,8 +958,6 @@ function photos_content(&$a) {
|
|||
|
||||
$celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false);
|
||||
|
||||
$albumselect .= '</select>';
|
||||
|
||||
$uploader = '';
|
||||
|
||||
$ret = array('post_url' => $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'],
|
||||
|
|
@ -1195,15 +1174,12 @@ function photos_content(&$a) {
|
|||
|
||||
}
|
||||
|
||||
if(! $cmd !== 'edit') {
|
||||
$a->page['htmlhead'] .= '<script>
|
||||
$(document).keydown(function(event) {' . "\n";
|
||||
|
||||
if($prevlink)
|
||||
$a->page['htmlhead'] .= 'if(event.ctrlKey && event.keyCode == 37) { event.preventDefault(); window.location.href = \'' . $prevlink . '\'; }' . "\n";
|
||||
if($nextlink)
|
||||
$a->page['htmlhead'] .= 'if(event.ctrlKey && event.keyCode == 39) { event.preventDefault(); window.location.href = \'' . $nextlink . '\'; }' . "\n";
|
||||
$a->page['htmlhead'] .= '});</script>';
|
||||
if( $cmd === 'edit') {
|
||||
$tpl = get_markup_template('photo_edit_head.tpl');
|
||||
$a->page['htmlhead'] .= replace_macros($tpl,array(
|
||||
'$prevlink' => $prevlink,
|
||||
'$nextlink' => $nextlink
|
||||
));
|
||||
}
|
||||
|
||||
if($prevlink)
|
||||
|
|
|
|||
|
|
@ -279,6 +279,7 @@ function profile_photo_crop_ui_head(&$a, $ph){
|
|||
$a->config['imagecrop_resolution'] = $smallest;
|
||||
$a->config['imagecrop_ext'] = $ph->getExt();
|
||||
$a->page['htmlhead'] .= get_markup_template("crophead.tpl");
|
||||
$a->page['end'] .= get_markup_template("cropend.tpl");
|
||||
return;
|
||||
}}
|
||||
|
||||
|
|
|
|||
|
|
@ -546,6 +546,10 @@ function profiles_content(&$a) {
|
|||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => $editselect,
|
||||
));
|
||||
$a->page['end'] .= replace_macros(get_markup_template('profed_end.tpl'), array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => $editselect,
|
||||
));
|
||||
|
||||
|
||||
$opt_tpl = get_markup_template("profile-hide-friends.tpl");
|
||||
|
|
@ -557,9 +561,6 @@ function profiles_content(&$a) {
|
|||
'$no_selected' => (($r[0]['hide-friends'] == 0) ? " checked=\"checked\" " : "")
|
||||
));
|
||||
|
||||
$a->page['htmlhead'] .= "<script type=\"text/javascript\" src=\"js/country.js\" ></script>";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,30 +18,10 @@ function settings_init(&$a) {
|
|||
|
||||
// These lines provide the javascript needed by the acl selector
|
||||
|
||||
$a->page['htmlhead'] .= "<script> var ispublic = '" . t('everybody') . "';" ;
|
||||
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $(this).text();
|
||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
EOT;
|
||||
$tpl = get_markup_template("settings-head.tpl");
|
||||
$a->page['htmlhead'] .= replace_macros($tpl,array(
|
||||
'$ispublic' => t('everybody')
|
||||
));
|
||||
|
||||
|
||||
|
||||
|
|
@ -781,6 +761,11 @@ function settings_content(&$a) {
|
|||
'$theme_config' => $theme_config,
|
||||
));
|
||||
|
||||
$tpl = get_markup_template("settings_display_end.tpl");
|
||||
$a->page['end'] .= replace_macros($tpl, array(
|
||||
'$theme' => array('theme', t('Display Theme:'), $theme_selected, '', $themes)
|
||||
));
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -116,34 +116,41 @@ function wallmessage_content(&$a) {
|
|||
|
||||
|
||||
$tpl = get_markup_template('wallmsg-header.tpl');
|
||||
$a->page['htmlhead'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => '/(profile-jot-text|prvmail-text)/',
|
||||
'$nickname' => $user['nickname'],
|
||||
'$linkurl' => t('Please enter a link URL:')
|
||||
));
|
||||
|
||||
$a->page['htmlhead'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => '/(profile-jot-text|prvmail-text)/',
|
||||
'$nickname' => $user['nickname'],
|
||||
'$linkurl' => t('Please enter a link URL:')
|
||||
));
|
||||
$tpl = get_markup_template('wallmsg-end.tpl');
|
||||
$a->page['end'] .= replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(true),
|
||||
'$editselect' => '/(profile-jot-text|prvmail-text)/',
|
||||
'$nickname' => $user['nickname'],
|
||||
'$linkurl' => t('Please enter a link URL:')
|
||||
));
|
||||
|
||||
|
||||
|
||||
$tpl = get_markup_template('wallmessage.tpl');
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$header' => t('Send Private Message'),
|
||||
'$subheader' => sprintf( t('If you wish for %s to respond, please check that the privacy settings on your site allow private mail from unknown senders.'), $user['username']),
|
||||
'$to' => t('To:'),
|
||||
'$subject' => t('Subject:'),
|
||||
'$recipname' => $user['username'],
|
||||
'$nickname' => $user['nickname'],
|
||||
'$subjtxt' => ((x($_REQUEST,'subject')) ? strip_tags($_REQUEST['subject']) : ''),
|
||||
'$text' => ((x($_REQUEST,'body')) ? escape_tags(htmlspecialchars($_REQUEST['body'])) : ''),
|
||||
'$readonly' => '',
|
||||
'$yourmessage' => t('Your message:'),
|
||||
'$select' => $select,
|
||||
'$parent' => '',
|
||||
'$upload' => t('Upload photo'),
|
||||
'$insert' => t('Insert web link'),
|
||||
'$wait' => t('Please wait')
|
||||
));
|
||||
$tpl = get_markup_template('wallmessage.tpl');
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$header' => t('Send Private Message'),
|
||||
'$subheader' => sprintf( t('If you wish for %s to respond, please check that the privacy settings on your site allow private mail from unknown senders.'), $user['username']),
|
||||
'$to' => t('To:'),
|
||||
'$subject' => t('Subject:'),
|
||||
'$recipname' => $user['username'],
|
||||
'$nickname' => $user['nickname'],
|
||||
'$subjtxt' => ((x($_REQUEST,'subject')) ? strip_tags($_REQUEST['subject']) : ''),
|
||||
'$text' => ((x($_REQUEST,'body')) ? escape_tags(htmlspecialchars($_REQUEST['body'])) : ''),
|
||||
'$readonly' => '',
|
||||
'$yourmessage' => t('Your message:'),
|
||||
'$select' => $select,
|
||||
'$parent' => '',
|
||||
'$upload' => t('Upload photo'),
|
||||
'$insert' => t('Insert web link'),
|
||||
'$wait' => t('Please wait')
|
||||
));
|
||||
|
||||
return $o;
|
||||
}
|
||||
return $o;
|
||||
}
|
||||
|
|
|
|||
1822
util/messages.po
1822
util/messages.po
|
|
@ -6,9 +6,9 @@
|
|||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 3.0.1415\n"
|
||||
"Project-Id-Version: 3.0.1420\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-07-25 10:00-0700\n"
|
||||
"POT-Creation-Date: 2012-07-30 10:00-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -36,11 +36,11 @@ msgstr ""
|
|||
|
||||
#: ../../mod/crepair.php:115 ../../mod/wall_attach.php:44
|
||||
#: ../../mod/fsuggest.php:78 ../../mod/events.php:140 ../../mod/api.php:26
|
||||
#: ../../mod/api.php:31 ../../mod/photos.php:135 ../../mod/photos.php:957
|
||||
#: ../../mod/api.php:31 ../../mod/photos.php:116 ../../mod/photos.php:938
|
||||
#: ../../mod/editpost.php:10 ../../mod/install.php:151 ../../mod/poke.php:109
|
||||
#: ../../mod/notifications.php:66 ../../mod/contacts.php:145
|
||||
#: ../../mod/settings.php:106 ../../mod/settings.php:539
|
||||
#: ../../mod/settings.php:544 ../../mod/manage.php:86 ../../mod/network.php:6
|
||||
#: ../../mod/notifications.php:66 ../../mod/contacts.php:139
|
||||
#: ../../mod/settings.php:86 ../../mod/settings.php:519
|
||||
#: ../../mod/settings.php:524 ../../mod/manage.php:86 ../../mod/network.php:6
|
||||
#: ../../mod/notes.php:20 ../../mod/wallmessage.php:9
|
||||
#: ../../mod/wallmessage.php:33 ../../mod/wallmessage.php:79
|
||||
#: ../../mod/wallmessage.php:103 ../../mod/attach.php:33
|
||||
|
|
@ -48,15 +48,15 @@ msgstr ""
|
|||
#: ../../mod/register.php:38 ../../mod/regmod.php:116 ../../mod/item.php:125
|
||||
#: ../../mod/item.php:141 ../../mod/profile_photo.php:19
|
||||
#: ../../mod/profile_photo.php:142 ../../mod/profile_photo.php:153
|
||||
#: ../../mod/profile_photo.php:166 ../../mod/message.php:45
|
||||
#: ../../mod/message.php:175 ../../mod/allfriends.php:9
|
||||
#: ../../mod/profile_photo.php:166 ../../mod/message.php:38
|
||||
#: ../../mod/message.php:168 ../../mod/allfriends.php:9
|
||||
#: ../../mod/nogroup.php:25 ../../mod/wall_upload.php:53
|
||||
#: ../../mod/follow.php:9 ../../mod/display.php:138 ../../mod/profiles.php:7
|
||||
#: ../../mod/profiles.php:408 ../../mod/delegate.php:6
|
||||
#: ../../mod/suggest.php:28 ../../mod/invite.php:13 ../../mod/invite.php:81
|
||||
#: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:510
|
||||
#: ../../addon/facebook/facebook.php:516 ../../addon/dav/layout.fnk.php:353
|
||||
#: ../../include/items.php:3813 ../../index.php:309
|
||||
#: ../../addon/facebook/facebook.php:516 ../../addon/dav/layout.fnk.php:354
|
||||
#: ../../include/items.php:3813 ../../index.php:315
|
||||
msgid "Permission denied."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -85,8 +85,8 @@ msgstr ""
|
|||
msgid "Return to contact editor"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/crepair.php:148 ../../mod/settings.php:559
|
||||
#: ../../mod/settings.php:585 ../../mod/admin.php:664 ../../mod/admin.php:673
|
||||
#: ../../mod/crepair.php:148 ../../mod/settings.php:539
|
||||
#: ../../mod/settings.php:565 ../../mod/admin.php:664 ../../mod/admin.php:673
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -123,17 +123,17 @@ msgid "New photo from this URL"
|
|||
msgstr ""
|
||||
|
||||
#: ../../mod/crepair.php:166 ../../mod/fsuggest.php:107
|
||||
#: ../../mod/events.php:436 ../../mod/photos.php:992 ../../mod/photos.php:1063
|
||||
#: ../../mod/photos.php:1309 ../../mod/photos.php:1349
|
||||
#: ../../mod/photos.php:1389 ../../mod/photos.php:1420
|
||||
#: ../../mod/events.php:439 ../../mod/photos.php:971 ../../mod/photos.php:1042
|
||||
#: ../../mod/photos.php:1285 ../../mod/photos.php:1325
|
||||
#: ../../mod/photos.php:1365 ../../mod/photos.php:1396
|
||||
#: ../../mod/install.php:246 ../../mod/install.php:284
|
||||
#: ../../mod/localtime.php:45 ../../mod/poke.php:169 ../../mod/content.php:691
|
||||
#: ../../mod/contacts.php:343 ../../mod/settings.php:557
|
||||
#: ../../mod/settings.php:711 ../../mod/settings.php:772
|
||||
#: ../../mod/settings.php:973 ../../mod/group.php:85 ../../mod/message.php:294
|
||||
#: ../../mod/message.php:473 ../../mod/admin.php:422 ../../mod/admin.php:661
|
||||
#: ../../mod/contacts.php:341 ../../mod/settings.php:537
|
||||
#: ../../mod/settings.php:691 ../../mod/settings.php:752
|
||||
#: ../../mod/settings.php:958 ../../mod/group.php:85 ../../mod/message.php:294
|
||||
#: ../../mod/message.php:478 ../../mod/admin.php:422 ../../mod/admin.php:661
|
||||
#: ../../mod/admin.php:797 ../../mod/admin.php:996 ../../mod/admin.php:1083
|
||||
#: ../../mod/profiles.php:577 ../../mod/invite.php:119
|
||||
#: ../../mod/profiles.php:578 ../../mod/invite.php:119
|
||||
#: ../../addon/fromgplus/fromgplus.php:40
|
||||
#: ../../addon/facebook/facebook.php:619
|
||||
#: ../../addon/snautofollow/snautofollow.php:64 ../../addon/bg/bg.php:90
|
||||
|
|
@ -149,6 +149,7 @@ msgstr ""
|
|||
#: ../../addon/notimeline/notimeline.php:64 ../../addon/blockem/blockem.php:57
|
||||
#: ../../addon/qcomment/qcomment.php:61
|
||||
#: ../../addon/openstreetmap/openstreetmap.php:70
|
||||
#: ../../addon/group_text/group_text.php:84
|
||||
#: ../../addon/libravatar/libravatar.php:99
|
||||
#: ../../addon/libertree/libertree.php:90 ../../addon/altpager/altpager.php:87
|
||||
#: ../../addon/mathjax/mathjax.php:42 ../../addon/editplain/editplain.php:84
|
||||
|
|
@ -179,16 +180,16 @@ msgstr ""
|
|||
msgid "Help:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/help.php:34 ../../addon/dav/layout.fnk.php:116
|
||||
#: ../../mod/help.php:34 ../../addon/dav/layout.fnk.php:225
|
||||
#: ../../include/nav.php:86
|
||||
msgid "Help"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/help.php:38 ../../index.php:218
|
||||
#: ../../mod/help.php:38 ../../index.php:224
|
||||
msgid "Not Found"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/help.php:41 ../../index.php:221
|
||||
#: ../../mod/help.php:41 ../../index.php:227
|
||||
msgid "Page not found."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -218,90 +219,90 @@ msgstr ""
|
|||
msgid "Event title and start time are required."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:260
|
||||
#: ../../mod/events.php:263
|
||||
msgid "l, F j"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:282
|
||||
#: ../../mod/events.php:285
|
||||
msgid "Edit event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:304 ../../include/text.php:1110
|
||||
#: ../../mod/events.php:307 ../../include/text.php:1110
|
||||
msgid "link to source"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:328 ../../view/theme/diabook/theme.php:131
|
||||
#: ../../include/nav.php:52 ../../boot.php:1614
|
||||
#: ../../mod/events.php:331 ../../view/theme/diabook/theme.php:131
|
||||
#: ../../include/nav.php:52 ../../boot.php:1634
|
||||
msgid "Events"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:329
|
||||
#: ../../mod/events.php:332
|
||||
msgid "Create New Event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:330 ../../addon/dav/layout.fnk.php:154
|
||||
#: ../../mod/events.php:333 ../../addon/dav/layout.fnk.php:263
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:331 ../../mod/install.php:205
|
||||
#: ../../addon/dav/layout.fnk.php:157
|
||||
#: ../../mod/events.php:334 ../../mod/install.php:205
|
||||
#: ../../addon/dav/layout.fnk.php:266
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:404
|
||||
#: ../../mod/events.php:407
|
||||
msgid "hour:minute"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:414
|
||||
#: ../../mod/events.php:417
|
||||
msgid "Event details"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:415
|
||||
#: ../../mod/events.php:418
|
||||
#, php-format
|
||||
msgid "Format is %s %s. Starting date and Title are required."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:417
|
||||
#: ../../mod/events.php:420
|
||||
msgid "Event Starts:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:417 ../../mod/events.php:431
|
||||
#: ../../mod/events.php:420 ../../mod/events.php:434
|
||||
msgid "Required"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:420
|
||||
#: ../../mod/events.php:423
|
||||
msgid "Finish date/time is not known or not relevant"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:422
|
||||
#: ../../mod/events.php:425
|
||||
msgid "Event Finishes:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:425
|
||||
#: ../../mod/events.php:428
|
||||
msgid "Adjust for viewer timezone"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:427
|
||||
#: ../../mod/events.php:430
|
||||
msgid "Description:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:429 ../../mod/directory.php:132
|
||||
#: ../../mod/events.php:432 ../../mod/directory.php:132
|
||||
#: ../../include/event.php:40 ../../include/bb2diaspora.php:447
|
||||
#: ../../boot.php:1179
|
||||
#: ../../boot.php:1186
|
||||
msgid "Location:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:431
|
||||
#: ../../mod/events.php:434
|
||||
msgid "Title:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/events.php:433
|
||||
#: ../../mod/events.php:436
|
||||
msgid "Share this event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/tagrm.php:11 ../../mod/tagrm.php:94
|
||||
#: ../../mod/dfrn_request.php:845 ../../mod/settings.php:558
|
||||
#: ../../mod/settings.php:584 ../../addon/js_upload/js_upload.php:45
|
||||
#: ../../mod/dfrn_request.php:845 ../../mod/settings.php:538
|
||||
#: ../../mod/settings.php:564 ../../addon/js_upload/js_upload.php:45
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -318,6 +319,7 @@ msgid "Select a tag to remove: "
|
|||
msgstr ""
|
||||
|
||||
#: ../../mod/tagrm.php:93 ../../mod/delegate.php:130
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:468
|
||||
msgid "Remove"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -345,55 +347,55 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#: ../../mod/api.php:105 ../../mod/dfrn_request.php:833
|
||||
#: ../../mod/settings.php:889 ../../mod/settings.php:895
|
||||
#: ../../mod/settings.php:903 ../../mod/settings.php:907
|
||||
#: ../../mod/settings.php:912 ../../mod/settings.php:918
|
||||
#: ../../mod/settings.php:924 ../../mod/settings.php:930
|
||||
#: ../../mod/settings.php:960 ../../mod/settings.php:961
|
||||
#: ../../mod/settings.php:962 ../../mod/settings.php:963
|
||||
#: ../../mod/settings.php:964 ../../mod/register.php:234
|
||||
#: ../../mod/profiles.php:554
|
||||
#: ../../mod/settings.php:874 ../../mod/settings.php:880
|
||||
#: ../../mod/settings.php:888 ../../mod/settings.php:892
|
||||
#: ../../mod/settings.php:897 ../../mod/settings.php:903
|
||||
#: ../../mod/settings.php:909 ../../mod/settings.php:915
|
||||
#: ../../mod/settings.php:945 ../../mod/settings.php:946
|
||||
#: ../../mod/settings.php:947 ../../mod/settings.php:948
|
||||
#: ../../mod/settings.php:949 ../../mod/register.php:234
|
||||
#: ../../mod/profiles.php:558
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/api.php:106 ../../mod/dfrn_request.php:834
|
||||
#: ../../mod/settings.php:889 ../../mod/settings.php:895
|
||||
#: ../../mod/settings.php:903 ../../mod/settings.php:907
|
||||
#: ../../mod/settings.php:912 ../../mod/settings.php:918
|
||||
#: ../../mod/settings.php:924 ../../mod/settings.php:930
|
||||
#: ../../mod/settings.php:960 ../../mod/settings.php:961
|
||||
#: ../../mod/settings.php:962 ../../mod/settings.php:963
|
||||
#: ../../mod/settings.php:964 ../../mod/register.php:235
|
||||
#: ../../mod/profiles.php:555
|
||||
#: ../../mod/settings.php:874 ../../mod/settings.php:880
|
||||
#: ../../mod/settings.php:888 ../../mod/settings.php:892
|
||||
#: ../../mod/settings.php:897 ../../mod/settings.php:903
|
||||
#: ../../mod/settings.php:909 ../../mod/settings.php:915
|
||||
#: ../../mod/settings.php:945 ../../mod/settings.php:946
|
||||
#: ../../mod/settings.php:947 ../../mod/settings.php:948
|
||||
#: ../../mod/settings.php:949 ../../mod/register.php:235
|
||||
#: ../../mod/profiles.php:559
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:46 ../../boot.php:1607
|
||||
#: ../../mod/photos.php:46 ../../boot.php:1627
|
||||
msgid "Photo Albums"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:54 ../../mod/photos.php:156 ../../mod/photos.php:971
|
||||
#: ../../mod/photos.php:1055 ../../mod/photos.php:1070
|
||||
#: ../../mod/photos.php:1498 ../../mod/photos.php:1510
|
||||
#: ../../mod/photos.php:54 ../../mod/photos.php:137 ../../mod/photos.php:952
|
||||
#: ../../mod/photos.php:1034 ../../mod/photos.php:1049
|
||||
#: ../../mod/photos.php:1474 ../../mod/photos.php:1486
|
||||
#: ../../addon/communityhome/communityhome.php:110
|
||||
#: ../../view/theme/diabook/theme.php:598
|
||||
msgid "Contact Photos"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:61 ../../mod/photos.php:1080 ../../mod/photos.php:1548
|
||||
#: ../../mod/photos.php:61 ../../mod/photos.php:1059 ../../mod/photos.php:1524
|
||||
msgid "Upload New Photos"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:72 ../../mod/settings.php:21
|
||||
#: ../../mod/photos.php:74 ../../mod/settings.php:23
|
||||
msgid "everybody"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:145
|
||||
#: ../../mod/photos.php:126
|
||||
msgid "Contact information unavailable"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:156 ../../mod/photos.php:660 ../../mod/photos.php:1055
|
||||
#: ../../mod/photos.php:1070 ../../mod/profile_photo.php:60
|
||||
#: ../../mod/photos.php:137 ../../mod/photos.php:641 ../../mod/photos.php:1034
|
||||
#: ../../mod/photos.php:1049 ../../mod/profile_photo.php:60
|
||||
#: ../../mod/profile_photo.php:67 ../../mod/profile_photo.php:74
|
||||
#: ../../mod/profile_photo.php:177 ../../mod/profile_photo.php:261
|
||||
#: ../../mod/profile_photo.php:270
|
||||
|
|
@ -403,23 +405,23 @@ msgstr ""
|
|||
msgid "Profile Photos"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:166
|
||||
#: ../../mod/photos.php:147
|
||||
msgid "Album not found."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:184 ../../mod/photos.php:1064
|
||||
#: ../../mod/photos.php:165 ../../mod/photos.php:1043
|
||||
msgid "Delete Album"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:247 ../../mod/photos.php:1310
|
||||
#: ../../mod/photos.php:228 ../../mod/photos.php:1286
|
||||
msgid "Delete Photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:591
|
||||
#: ../../mod/photos.php:572
|
||||
msgid "was tagged in a"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:591 ../../mod/like.php:145 ../../mod/tagger.php:70
|
||||
#: ../../mod/photos.php:572 ../../mod/like.php:145 ../../mod/tagger.php:70
|
||||
#: ../../addon/communityhome/communityhome.php:163
|
||||
#: ../../view/theme/diabook/theme.php:570 ../../include/text.php:1362
|
||||
#: ../../include/diaspora.php:1793 ../../include/conversation.php:114
|
||||
|
|
@ -427,193 +429,193 @@ msgstr ""
|
|||
msgid "photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:591
|
||||
#: ../../mod/photos.php:572
|
||||
msgid "by"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:696 ../../addon/js_upload/js_upload.php:315
|
||||
#: ../../mod/photos.php:677 ../../addon/js_upload/js_upload.php:315
|
||||
msgid "Image exceeds size limit of "
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:704
|
||||
#: ../../mod/photos.php:685
|
||||
msgid "Image file is empty."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:736 ../../mod/profile_photo.php:126
|
||||
#: ../../mod/photos.php:717 ../../mod/profile_photo.php:126
|
||||
#: ../../mod/wall_upload.php:99
|
||||
msgid "Unable to process image."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:763 ../../mod/profile_photo.php:266
|
||||
#: ../../mod/photos.php:744 ../../mod/profile_photo.php:266
|
||||
#: ../../mod/wall_upload.php:125
|
||||
msgid "Image upload failed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:849 ../../mod/community.php:16
|
||||
#: ../../mod/photos.php:830 ../../mod/community.php:16
|
||||
#: ../../mod/dfrn_request.php:759 ../../mod/viewcontacts.php:17
|
||||
#: ../../mod/display.php:7 ../../mod/search.php:71 ../../mod/directory.php:29
|
||||
msgid "Public access denied."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:859
|
||||
#: ../../mod/photos.php:840
|
||||
msgid "No photos selected"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:938
|
||||
#: ../../mod/photos.php:919
|
||||
msgid "Access to this item is restricted."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1002
|
||||
#: ../../mod/photos.php:981
|
||||
#, php-format
|
||||
msgid "You have used %1$.2f Mbytes of %2$.2f Mbytes photo storage."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1005
|
||||
#: ../../mod/photos.php:984
|
||||
#, php-format
|
||||
msgid "You have used %1$.2f Mbytes of photo storage."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1011
|
||||
#: ../../mod/photos.php:990
|
||||
msgid "Upload Photos"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1015 ../../mod/photos.php:1059
|
||||
#: ../../mod/photos.php:994 ../../mod/photos.php:1038
|
||||
msgid "New album name: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1016
|
||||
#: ../../mod/photos.php:995
|
||||
msgid "or existing album name: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1017
|
||||
#: ../../mod/photos.php:996
|
||||
msgid "Do not show a status post for this upload"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1019 ../../mod/photos.php:1305
|
||||
#: ../../mod/photos.php:998 ../../mod/photos.php:1281
|
||||
msgid "Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1074
|
||||
#: ../../mod/photos.php:1053
|
||||
msgid "Edit Album"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1098 ../../mod/photos.php:1531
|
||||
#: ../../mod/photos.php:1077 ../../mod/photos.php:1507
|
||||
msgid "View Photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1133
|
||||
#: ../../mod/photos.php:1112
|
||||
msgid "Permission denied. Access to this item may be restricted."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1135
|
||||
#: ../../mod/photos.php:1114
|
||||
msgid "Photo not available"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1185
|
||||
#: ../../mod/photos.php:1164
|
||||
msgid "View photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1185
|
||||
#: ../../mod/photos.php:1164
|
||||
msgid "Edit photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1186
|
||||
#: ../../mod/photos.php:1165
|
||||
msgid "Use as profile photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1192 ../../mod/content.php:601
|
||||
#: ../../mod/photos.php:1171 ../../mod/content.php:601
|
||||
#: ../../include/conversation.php:606
|
||||
msgid "Private Message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1214
|
||||
#: ../../mod/photos.php:1190
|
||||
msgid "View Full Size"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1282
|
||||
#: ../../mod/photos.php:1258
|
||||
msgid "Tags: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1285
|
||||
#: ../../mod/photos.php:1261
|
||||
msgid "[Remove any tag]"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1295
|
||||
#: ../../mod/photos.php:1271
|
||||
msgid "Rotate CW (right)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1296
|
||||
#: ../../mod/photos.php:1272
|
||||
msgid "Rotate CCW (left)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1298
|
||||
#: ../../mod/photos.php:1274
|
||||
msgid "New album name"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1301
|
||||
#: ../../mod/photos.php:1277
|
||||
msgid "Caption"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1303
|
||||
#: ../../mod/photos.php:1279
|
||||
msgid "Add a Tag"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1307
|
||||
#: ../../mod/photos.php:1283
|
||||
msgid "Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1327 ../../mod/content.php:665
|
||||
#: ../../mod/photos.php:1303 ../../mod/content.php:665
|
||||
#: ../../include/conversation.php:670
|
||||
msgid "I like this (toggle)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1328 ../../mod/content.php:666
|
||||
#: ../../mod/photos.php:1304 ../../mod/content.php:666
|
||||
#: ../../include/conversation.php:671
|
||||
msgid "I don't like this (toggle)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1329 ../../include/conversation.php:1112
|
||||
#: ../../mod/photos.php:1305 ../../include/conversation.php:1128
|
||||
msgid "Share"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1330 ../../mod/editpost.php:104
|
||||
#: ../../mod/photos.php:1306 ../../mod/editpost.php:112
|
||||
#: ../../mod/content.php:482 ../../mod/content.php:842
|
||||
#: ../../mod/wallmessage.php:145 ../../mod/message.php:293
|
||||
#: ../../mod/message.php:474 ../../include/conversation.php:487
|
||||
#: ../../include/conversation.php:847 ../../include/conversation.php:1131
|
||||
#: ../../mod/wallmessage.php:152 ../../mod/message.php:293
|
||||
#: ../../mod/message.php:479 ../../include/conversation.php:487
|
||||
#: ../../include/conversation.php:847 ../../include/conversation.php:1147
|
||||
msgid "Please wait"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1346 ../../mod/photos.php:1386
|
||||
#: ../../mod/photos.php:1417 ../../mod/content.php:688
|
||||
#: ../../mod/photos.php:1322 ../../mod/photos.php:1362
|
||||
#: ../../mod/photos.php:1393 ../../mod/content.php:688
|
||||
#: ../../include/conversation.php:693
|
||||
msgid "This is you"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1348 ../../mod/photos.php:1388
|
||||
#: ../../mod/photos.php:1419 ../../mod/content.php:690
|
||||
#: ../../mod/photos.php:1324 ../../mod/photos.php:1364
|
||||
#: ../../mod/photos.php:1395 ../../mod/content.php:690
|
||||
#: ../../include/conversation.php:695 ../../boot.php:569
|
||||
msgid "Comment"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1350 ../../mod/editpost.php:125
|
||||
#: ../../mod/photos.php:1326 ../../mod/editpost.php:133
|
||||
#: ../../mod/content.php:700 ../../include/conversation.php:705
|
||||
#: ../../include/conversation.php:1149
|
||||
#: ../../include/conversation.php:1165
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1447 ../../mod/content.php:439
|
||||
#: ../../mod/content.php:720 ../../mod/settings.php:620
|
||||
#: ../../mod/settings.php:709 ../../mod/group.php:168 ../../mod/admin.php:668
|
||||
#: ../../mod/photos.php:1423 ../../mod/content.php:439
|
||||
#: ../../mod/content.php:720 ../../mod/settings.php:600
|
||||
#: ../../mod/settings.php:689 ../../mod/group.php:168 ../../mod/admin.php:668
|
||||
#: ../../include/conversation.php:444 ../../include/conversation.php:725
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1537
|
||||
#: ../../mod/photos.php:1513
|
||||
msgid "View Album"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/photos.php:1546
|
||||
#: ../../mod/photos.php:1522
|
||||
msgid "Recent Photos"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -671,75 +673,79 @@ msgstr ""
|
|||
msgid "Edit post"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:80 ../../include/conversation.php:1098
|
||||
#: ../../mod/editpost.php:88 ../../include/conversation.php:1114
|
||||
msgid "Post to Email"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:95 ../../mod/content.php:707
|
||||
#: ../../mod/settings.php:619 ../../include/conversation.php:712
|
||||
#: ../../mod/editpost.php:103 ../../mod/content.php:707
|
||||
#: ../../mod/settings.php:599 ../../include/conversation.php:712
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:96 ../../mod/wallmessage.php:143
|
||||
#: ../../mod/message.php:291 ../../mod/message.php:471
|
||||
#: ../../include/conversation.php:1113
|
||||
#: ../../mod/editpost.php:104 ../../mod/wallmessage.php:150
|
||||
#: ../../mod/message.php:291 ../../mod/message.php:476
|
||||
#: ../../include/conversation.php:1129
|
||||
msgid "Upload photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:97 ../../include/conversation.php:1115
|
||||
#: ../../mod/editpost.php:105 ../../include/conversation.php:1131
|
||||
msgid "Attach file"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:98 ../../mod/wallmessage.php:144
|
||||
#: ../../mod/message.php:292 ../../mod/message.php:472
|
||||
#: ../../include/conversation.php:1117
|
||||
#: ../../mod/editpost.php:106 ../../mod/wallmessage.php:151
|
||||
#: ../../mod/message.php:292 ../../mod/message.php:477
|
||||
#: ../../include/conversation.php:1133
|
||||
msgid "Insert web link"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:99
|
||||
#: ../../mod/editpost.php:107
|
||||
msgid "Insert YouTube video"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:100
|
||||
#: ../../mod/editpost.php:108
|
||||
msgid "Insert Vorbis [.ogg] video"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:101
|
||||
#: ../../mod/editpost.php:109
|
||||
msgid "Insert Vorbis [.ogg] audio"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:102 ../../include/conversation.php:1123
|
||||
#: ../../mod/editpost.php:110 ../../include/conversation.php:1139
|
||||
msgid "Set your location"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:103 ../../include/conversation.php:1125
|
||||
#: ../../mod/editpost.php:111 ../../include/conversation.php:1141
|
||||
msgid "Clear browser location"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:105 ../../include/conversation.php:1132
|
||||
#: ../../mod/editpost.php:113 ../../include/conversation.php:1148
|
||||
msgid "Permission settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:113 ../../include/conversation.php:1141
|
||||
#: ../../mod/editpost.php:121 ../../include/conversation.php:1157
|
||||
msgid "CC: email addresses"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:114 ../../include/conversation.php:1142
|
||||
#: ../../mod/editpost.php:122 ../../include/conversation.php:1158
|
||||
msgid "Public post"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:117 ../../include/conversation.php:1128
|
||||
#: ../../mod/editpost.php:125 ../../include/conversation.php:1144
|
||||
msgid "Set title"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:119 ../../include/conversation.php:1130
|
||||
#: ../../mod/editpost.php:127 ../../include/conversation.php:1146
|
||||
msgid "Categories (comma-separated list)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:120 ../../include/conversation.php:1144
|
||||
#: ../../mod/editpost.php:128 ../../include/conversation.php:1160
|
||||
msgid "Example: bob@example.com, mary@example.com"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/editpost.php:135 ../../include/conversation.php:1166
|
||||
msgid "Friendica mobile web"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/dfrn_request.php:93
|
||||
msgid "This introduction has already been accepted."
|
||||
msgstr ""
|
||||
|
|
@ -821,7 +827,7 @@ msgstr ""
|
|||
msgid "Disallowed profile URL."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/dfrn_request.php:570 ../../mod/contacts.php:122
|
||||
#: ../../mod/dfrn_request.php:570 ../../mod/contacts.php:116
|
||||
msgid "Failed to update contact record."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -909,7 +915,7 @@ msgstr ""
|
|||
msgid "StatusNet/Federated Social Web"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/dfrn_request.php:839 ../../mod/settings.php:654
|
||||
#: ../../mod/dfrn_request.php:839 ../../mod/settings.php:634
|
||||
#: ../../include/contact_selectors.php:80
|
||||
msgid "Diaspora"
|
||||
msgstr ""
|
||||
|
|
@ -1249,7 +1255,7 @@ msgid "is interested in:"
|
|||
msgstr ""
|
||||
|
||||
#: ../../mod/match.php:58 ../../mod/suggest.php:59
|
||||
#: ../../include/contact_widgets.php:9 ../../boot.php:1123
|
||||
#: ../../include/contact_widgets.php:9 ../../boot.php:1130
|
||||
msgid "Connect"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1307,7 +1313,7 @@ msgstr[0] ""
|
|||
msgstr[1] ""
|
||||
|
||||
#: ../../mod/content.php:587 ../../addon/page/page.php:76
|
||||
#: ../../addon/page/page.php:110 ../../addon/showmore/showmore.php:114
|
||||
#: ../../addon/page/page.php:110 ../../addon/showmore/showmore.php:119
|
||||
#: ../../include/contact_widgets.php:188 ../../include/conversation.php:592
|
||||
#: ../../boot.php:570
|
||||
msgid "show more"
|
||||
|
|
@ -1412,8 +1418,8 @@ msgid "Discard"
|
|||
msgstr ""
|
||||
|
||||
#: ../../mod/notifications.php:51 ../../mod/notifications.php:160
|
||||
#: ../../mod/notifications.php:206 ../../mod/contacts.php:316
|
||||
#: ../../mod/contacts.php:370
|
||||
#: ../../mod/notifications.php:206 ../../mod/contacts.php:314
|
||||
#: ../../mod/contacts.php:368
|
||||
msgid "Ignore"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1438,7 +1444,7 @@ msgstr ""
|
|||
msgid "Introductions"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/notifications.php:100 ../../mod/message.php:183
|
||||
#: ../../mod/notifications.php:100 ../../mod/message.php:176
|
||||
#: ../../include/nav.php:128
|
||||
msgid "Messages"
|
||||
msgstr ""
|
||||
|
|
@ -1465,7 +1471,7 @@ msgid "suggested by %s"
|
|||
msgstr ""
|
||||
|
||||
#: ../../mod/notifications.php:153 ../../mod/notifications.php:200
|
||||
#: ../../mod/contacts.php:376
|
||||
#: ../../mod/contacts.php:374
|
||||
msgid "Hide this contact from others"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1587,307 +1593,307 @@ msgstr ""
|
|||
msgid "Home Notifications"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:83 ../../mod/contacts.php:163
|
||||
#: ../../mod/contacts.php:77 ../../mod/contacts.php:157
|
||||
msgid "Could not access contact record."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:97
|
||||
#: ../../mod/contacts.php:91
|
||||
msgid "Could not locate selected profile."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:120
|
||||
#: ../../mod/contacts.php:114
|
||||
msgid "Contact updated."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:185
|
||||
#: ../../mod/contacts.php:179
|
||||
msgid "Contact has been blocked"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:185
|
||||
#: ../../mod/contacts.php:179
|
||||
msgid "Contact has been unblocked"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:199
|
||||
#: ../../mod/contacts.php:193
|
||||
msgid "Contact has been ignored"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:199
|
||||
#: ../../mod/contacts.php:193
|
||||
msgid "Contact has been unignored"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:215
|
||||
#: ../../mod/contacts.php:209
|
||||
msgid "Contact has been archived"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:215
|
||||
#: ../../mod/contacts.php:209
|
||||
msgid "Contact has been unarchived"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:228
|
||||
#: ../../mod/contacts.php:222
|
||||
msgid "Contact has been removed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:258
|
||||
#: ../../mod/contacts.php:256
|
||||
#, php-format
|
||||
msgid "You are mutual friends with %s"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:262
|
||||
#: ../../mod/contacts.php:260
|
||||
#, php-format
|
||||
msgid "You are sharing with %s"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:267
|
||||
#: ../../mod/contacts.php:265
|
||||
#, php-format
|
||||
msgid "%s is sharing with you"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:284
|
||||
#: ../../mod/contacts.php:282
|
||||
msgid "Private communications are not available for this contact."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:287
|
||||
#: ../../mod/contacts.php:285
|
||||
msgid "Never"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:291
|
||||
#: ../../mod/contacts.php:289
|
||||
msgid "(Update was successful)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:291
|
||||
#: ../../mod/contacts.php:289
|
||||
msgid "(Update was not successful)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:293
|
||||
#: ../../mod/contacts.php:291
|
||||
msgid "Suggest friends"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:297
|
||||
#: ../../mod/contacts.php:295
|
||||
#, php-format
|
||||
msgid "Network type: %s"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:300 ../../include/contact_widgets.php:183
|
||||
#: ../../mod/contacts.php:298 ../../include/contact_widgets.php:183
|
||||
#, php-format
|
||||
msgid "%d contact in common"
|
||||
msgid_plural "%d contacts in common"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: ../../mod/contacts.php:305
|
||||
#: ../../mod/contacts.php:303
|
||||
msgid "View all contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:310 ../../mod/contacts.php:369
|
||||
#: ../../mod/contacts.php:308 ../../mod/contacts.php:367
|
||||
#: ../../mod/admin.php:670
|
||||
msgid "Unblock"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:310 ../../mod/contacts.php:369
|
||||
#: ../../mod/contacts.php:308 ../../mod/contacts.php:367
|
||||
#: ../../mod/admin.php:669
|
||||
msgid "Block"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:313
|
||||
#: ../../mod/contacts.php:311
|
||||
msgid "Toggle Blocked status"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:316 ../../mod/contacts.php:370
|
||||
#: ../../mod/contacts.php:314 ../../mod/contacts.php:368
|
||||
msgid "Unignore"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:319
|
||||
#: ../../mod/contacts.php:317
|
||||
msgid "Toggle Ignored status"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:323
|
||||
#: ../../mod/contacts.php:321
|
||||
msgid "Unarchive"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:323
|
||||
#: ../../mod/contacts.php:321
|
||||
msgid "Archive"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:326
|
||||
#: ../../mod/contacts.php:324
|
||||
msgid "Toggle Archive status"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:329
|
||||
#: ../../mod/contacts.php:327
|
||||
msgid "Repair"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:332
|
||||
#: ../../mod/contacts.php:330
|
||||
msgid "Advanced Contact Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:338
|
||||
#: ../../mod/contacts.php:336
|
||||
msgid "Communications lost with this contact!"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:341
|
||||
#: ../../mod/contacts.php:339
|
||||
msgid "Contact Editor"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:344
|
||||
#: ../../mod/contacts.php:342
|
||||
msgid "Profile Visibility"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:345
|
||||
#: ../../mod/contacts.php:343
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Please choose the profile you would like to display to %s when viewing your "
|
||||
"profile securely."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:346
|
||||
#: ../../mod/contacts.php:344
|
||||
msgid "Contact Information / Notes"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:347
|
||||
#: ../../mod/contacts.php:345
|
||||
msgid "Edit contact notes"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:352 ../../mod/contacts.php:544
|
||||
#: ../../mod/contacts.php:350 ../../mod/contacts.php:542
|
||||
#: ../../mod/viewcontacts.php:62 ../../mod/nogroup.php:40
|
||||
#, php-format
|
||||
msgid "Visit %s's profile [%s]"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:353
|
||||
#: ../../mod/contacts.php:351
|
||||
msgid "Block/Unblock contact"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:354
|
||||
#: ../../mod/contacts.php:352
|
||||
msgid "Ignore contact"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:355
|
||||
#: ../../mod/contacts.php:353
|
||||
msgid "Repair URL settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:356
|
||||
#: ../../mod/contacts.php:354
|
||||
msgid "View conversations"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:358
|
||||
#: ../../mod/contacts.php:356
|
||||
msgid "Delete contact"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:362
|
||||
#: ../../mod/contacts.php:360
|
||||
msgid "Last update:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:364
|
||||
#: ../../mod/contacts.php:362
|
||||
msgid "Update public posts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:366 ../../mod/admin.php:1141
|
||||
#: ../../mod/contacts.php:364 ../../mod/admin.php:1141
|
||||
msgid "Update now"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:373
|
||||
#: ../../mod/contacts.php:371
|
||||
msgid "Currently blocked"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:374
|
||||
#: ../../mod/contacts.php:372
|
||||
msgid "Currently ignored"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:375
|
||||
#: ../../mod/contacts.php:373
|
||||
msgid "Currently archived"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:376
|
||||
#: ../../mod/contacts.php:374
|
||||
msgid ""
|
||||
"Replies/likes to your public posts <strong>may</strong> still be visible"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:429
|
||||
#: ../../mod/contacts.php:427
|
||||
msgid "Suggestions"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:432
|
||||
#: ../../mod/contacts.php:430
|
||||
msgid "Suggest potential friends"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:435 ../../mod/group.php:191
|
||||
#: ../../mod/contacts.php:433 ../../mod/group.php:191
|
||||
msgid "All Contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:438
|
||||
#: ../../mod/contacts.php:436
|
||||
msgid "Show all contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:441
|
||||
#: ../../mod/contacts.php:439
|
||||
msgid "Unblocked"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:444
|
||||
#: ../../mod/contacts.php:442
|
||||
msgid "Only show unblocked contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:448
|
||||
#: ../../mod/contacts.php:446
|
||||
msgid "Blocked"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:451
|
||||
#: ../../mod/contacts.php:449
|
||||
msgid "Only show blocked contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:455
|
||||
#: ../../mod/contacts.php:453
|
||||
msgid "Ignored"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:458
|
||||
#: ../../mod/contacts.php:456
|
||||
msgid "Only show ignored contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:462
|
||||
#: ../../mod/contacts.php:460
|
||||
msgid "Archived"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:465
|
||||
#: ../../mod/contacts.php:463
|
||||
msgid "Only show archived contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:469
|
||||
#: ../../mod/contacts.php:467
|
||||
msgid "Hidden"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:472
|
||||
#: ../../mod/contacts.php:470
|
||||
msgid "Only show hidden contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:520
|
||||
#: ../../mod/contacts.php:518
|
||||
msgid "Mutual Friendship"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:524
|
||||
#: ../../mod/contacts.php:522
|
||||
msgid "is a fan of yours"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:528
|
||||
#: ../../mod/contacts.php:526
|
||||
msgid "you are a fan of"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:545 ../../mod/nogroup.php:41
|
||||
#: ../../mod/contacts.php:543 ../../mod/nogroup.php:41
|
||||
msgid "Edit contact"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:566 ../../view/theme/diabook/theme.php:129
|
||||
#: ../../mod/contacts.php:564 ../../view/theme/diabook/theme.php:129
|
||||
#: ../../include/nav.php:139
|
||||
msgid "Contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:570
|
||||
#: ../../mod/contacts.php:568
|
||||
msgid "Search your contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:571 ../../mod/directory.php:57
|
||||
#: ../../mod/contacts.php:569 ../../mod/directory.php:57
|
||||
msgid "Finding: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/contacts.php:572 ../../mod/directory.php:59
|
||||
#: ../../mod/contacts.php:570 ../../mod/directory.php:59
|
||||
#: ../../include/contact_widgets.php:33
|
||||
msgid "Find"
|
||||
msgstr ""
|
||||
|
|
@ -1912,7 +1918,7 @@ msgstr ""
|
|||
#: ../../addon/facebook/facebook.php:1200
|
||||
#: ../../addon/public_server/public_server.php:62
|
||||
#: ../../addon/testdrive/testdrive.php:67 ../../include/items.php:3213
|
||||
#: ../../boot.php:772
|
||||
#: ../../boot.php:779
|
||||
msgid "Administrator"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1922,7 +1928,7 @@ msgid ""
|
|||
"Password reset failed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/lostpass.php:83 ../../boot.php:905
|
||||
#: ../../mod/lostpass.php:83 ../../boot.php:912
|
||||
msgid "Password Reset"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -1966,98 +1972,98 @@ msgstr ""
|
|||
msgid "Reset"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:50 ../../include/nav.php:137
|
||||
#: ../../mod/settings.php:30 ../../include/nav.php:137
|
||||
msgid "Account settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:55
|
||||
#: ../../mod/settings.php:35
|
||||
msgid "Display settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:61
|
||||
#: ../../mod/settings.php:41
|
||||
msgid "Connector settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:66
|
||||
#: ../../mod/settings.php:46
|
||||
msgid "Plugin settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:71
|
||||
#: ../../mod/settings.php:51
|
||||
msgid "Connected apps"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:76
|
||||
#: ../../mod/settings.php:56
|
||||
msgid "Export personal data"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:81
|
||||
#: ../../mod/settings.php:61
|
||||
msgid "Remove account"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:89 ../../mod/admin.php:756 ../../mod/admin.php:961
|
||||
#: ../../addon/dav/layout.fnk.php:116 ../../addon/mathjax/mathjax.php:36
|
||||
#: ../../mod/settings.php:69 ../../mod/admin.php:756 ../../mod/admin.php:961
|
||||
#: ../../addon/dav/layout.fnk.php:225 ../../addon/mathjax/mathjax.php:36
|
||||
#: ../../view/theme/diabook/theme.php:643
|
||||
#: ../../view/theme/diabook/theme.php:773 ../../include/nav.php:137
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:133
|
||||
#: ../../mod/settings.php:113
|
||||
msgid "Missing some important data!"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:136 ../../mod/settings.php:583
|
||||
#: ../../mod/settings.php:116 ../../mod/settings.php:563
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:241
|
||||
#: ../../mod/settings.php:221
|
||||
msgid "Failed to connect with email account using the settings provided."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:246
|
||||
#: ../../mod/settings.php:226
|
||||
msgid "Email settings updated."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:305
|
||||
#: ../../mod/settings.php:285
|
||||
msgid "Passwords do not match. Password unchanged."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:310
|
||||
#: ../../mod/settings.php:290
|
||||
msgid "Empty passwords are not allowed. Password unchanged."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:321
|
||||
#: ../../mod/settings.php:301
|
||||
msgid "Password changed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:323
|
||||
#: ../../mod/settings.php:303
|
||||
msgid "Password update failed. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:388
|
||||
#: ../../mod/settings.php:368
|
||||
msgid " Please use a shorter name."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:390
|
||||
#: ../../mod/settings.php:370
|
||||
msgid " Name too short."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:396
|
||||
#: ../../mod/settings.php:376
|
||||
msgid " Not valid email."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:398
|
||||
#: ../../mod/settings.php:378
|
||||
msgid " Cannot change to that email."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:452
|
||||
#: ../../mod/settings.php:432
|
||||
msgid "Private forum has no privacy permissions. Using default privacy group."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:456
|
||||
#: ../../mod/settings.php:436
|
||||
msgid "Private forum has no privacy permissions and no default privacy group."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:486 ../../addon/facebook/facebook.php:495
|
||||
#: ../../mod/settings.php:466 ../../addon/facebook/facebook.php:495
|
||||
#: ../../addon/impressum/impressum.php:77
|
||||
#: ../../addon/openstreetmap/openstreetmap.php:80
|
||||
#: ../../addon/mathjax/mathjax.php:66 ../../addon/piwik/piwik.php:105
|
||||
|
|
@ -2065,429 +2071,430 @@ msgstr ""
|
|||
msgid "Settings updated."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:556 ../../mod/settings.php:582
|
||||
#: ../../mod/settings.php:618
|
||||
#: ../../mod/settings.php:536 ../../mod/settings.php:562
|
||||
#: ../../mod/settings.php:598
|
||||
msgid "Add application"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:560 ../../mod/settings.php:586
|
||||
#: ../../mod/settings.php:540 ../../mod/settings.php:566
|
||||
#: ../../addon/statusnet/statusnet.php:570
|
||||
msgid "Consumer Key"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:561 ../../mod/settings.php:587
|
||||
#: ../../mod/settings.php:541 ../../mod/settings.php:567
|
||||
#: ../../addon/statusnet/statusnet.php:569
|
||||
msgid "Consumer Secret"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:562 ../../mod/settings.php:588
|
||||
#: ../../mod/settings.php:542 ../../mod/settings.php:568
|
||||
msgid "Redirect"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:563 ../../mod/settings.php:589
|
||||
#: ../../mod/settings.php:543 ../../mod/settings.php:569
|
||||
msgid "Icon url"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:574
|
||||
#: ../../mod/settings.php:554
|
||||
msgid "You can't edit this application."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:617
|
||||
#: ../../mod/settings.php:597
|
||||
msgid "Connected Apps"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:621
|
||||
#: ../../mod/settings.php:601
|
||||
msgid "Client key starts with"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:622
|
||||
#: ../../mod/settings.php:602
|
||||
msgid "No name"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:623
|
||||
#: ../../mod/settings.php:603
|
||||
msgid "Remove authorization"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:634
|
||||
#: ../../mod/settings.php:614
|
||||
msgid "No Plugin settings configured"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:642 ../../addon/widgets/widgets.php:123
|
||||
#: ../../mod/settings.php:622 ../../addon/widgets/widgets.php:123
|
||||
msgid "Plugin Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:654 ../../mod/settings.php:655
|
||||
#: ../../mod/settings.php:634 ../../mod/settings.php:635
|
||||
#, php-format
|
||||
msgid "Built-in support for %s connectivity is %s"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:654 ../../mod/settings.php:655
|
||||
#: ../../mod/settings.php:634 ../../mod/settings.php:635
|
||||
msgid "enabled"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:654 ../../mod/settings.php:655
|
||||
#: ../../mod/settings.php:634 ../../mod/settings.php:635
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:655
|
||||
#: ../../mod/settings.php:635
|
||||
msgid "StatusNet"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:687
|
||||
#: ../../mod/settings.php:667
|
||||
msgid "Email access is disabled on this site."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:693
|
||||
#: ../../mod/settings.php:673
|
||||
msgid "Connector Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:698
|
||||
#: ../../mod/settings.php:678
|
||||
msgid "Email/Mailbox Setup"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:699
|
||||
#: ../../mod/settings.php:679
|
||||
msgid ""
|
||||
"If you wish to communicate with email contacts using this service "
|
||||
"(optional), please specify how to connect to your mailbox."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:700
|
||||
#: ../../mod/settings.php:680
|
||||
msgid "Last successful email check:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:702
|
||||
#: ../../mod/settings.php:682
|
||||
msgid "IMAP server name:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:703
|
||||
#: ../../mod/settings.php:683
|
||||
msgid "IMAP port:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:704
|
||||
#: ../../mod/settings.php:684
|
||||
msgid "Security:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:704 ../../mod/settings.php:709
|
||||
#: ../../mod/settings.php:684 ../../mod/settings.php:689
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:191
|
||||
msgid "None"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:705
|
||||
#: ../../mod/settings.php:685
|
||||
msgid "Email login name:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:706
|
||||
#: ../../mod/settings.php:686
|
||||
msgid "Email password:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:707
|
||||
#: ../../mod/settings.php:687
|
||||
msgid "Reply-to address:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:708
|
||||
#: ../../mod/settings.php:688
|
||||
msgid "Send public posts to all email contacts:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:709
|
||||
#: ../../mod/settings.php:689
|
||||
msgid "Action after import:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:709
|
||||
#: ../../mod/settings.php:689
|
||||
msgid "Mark as seen"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:709
|
||||
#: ../../mod/settings.php:689
|
||||
msgid "Move to folder"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:710
|
||||
#: ../../mod/settings.php:690
|
||||
msgid "Move to folder:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:770
|
||||
#: ../../mod/settings.php:750
|
||||
msgid "Display Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:776
|
||||
#: ../../mod/settings.php:756 ../../mod/settings.php:766
|
||||
msgid "Display Theme:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:777
|
||||
#: ../../mod/settings.php:757
|
||||
msgid "Update browser every xx seconds"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:777
|
||||
#: ../../mod/settings.php:757
|
||||
msgid "Minimum of 10 seconds, no maximum"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:778
|
||||
#: ../../mod/settings.php:758
|
||||
msgid "Number of items to display on the network page:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:778
|
||||
#: ../../mod/settings.php:758
|
||||
msgid "Maximum of 100 items"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:779
|
||||
#: ../../mod/settings.php:759
|
||||
msgid "Don't show emoticons"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:850
|
||||
#: ../../mod/settings.php:835
|
||||
msgid "Normal Account Page"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:851
|
||||
#: ../../mod/settings.php:836
|
||||
msgid "This account is a normal personal profile"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:854
|
||||
#: ../../mod/settings.php:839
|
||||
msgid "Soapbox Page"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:855
|
||||
#: ../../mod/settings.php:840
|
||||
msgid "Automatically approve all connection/friend requests as read-only fans"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:858
|
||||
#: ../../mod/settings.php:843
|
||||
msgid "Community Forum/Celebrity Account"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:859
|
||||
#: ../../mod/settings.php:844
|
||||
msgid "Automatically approve all connection/friend requests as read-write fans"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:862
|
||||
#: ../../mod/settings.php:847
|
||||
msgid "Automatic Friend Page"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:863
|
||||
#: ../../mod/settings.php:848
|
||||
msgid "Automatically approve all connection/friend requests as friends"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:866
|
||||
#: ../../mod/settings.php:851
|
||||
msgid "Private Forum [Experimental]"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:867
|
||||
#: ../../mod/settings.php:852
|
||||
msgid "Private forum - approved members only"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:879
|
||||
#: ../../mod/settings.php:864
|
||||
msgid "OpenID:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:879
|
||||
#: ../../mod/settings.php:864
|
||||
msgid "(Optional) Allow this OpenID to login to this account."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:889
|
||||
#: ../../mod/settings.php:874
|
||||
msgid "Publish your default profile in your local site directory?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:895
|
||||
#: ../../mod/settings.php:880
|
||||
msgid "Publish your default profile in the global social directory?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:903
|
||||
#: ../../mod/settings.php:888
|
||||
msgid "Hide your contact/friend list from viewers of your default profile?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:907
|
||||
#: ../../mod/settings.php:892
|
||||
msgid "Hide your profile details from unknown viewers?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:912
|
||||
#: ../../mod/settings.php:897
|
||||
msgid "Allow friends to post to your profile page?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:918
|
||||
#: ../../mod/settings.php:903
|
||||
msgid "Allow friends to tag your posts?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:924
|
||||
#: ../../mod/settings.php:909
|
||||
msgid "Allow us to suggest you as a potential friend to new members?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:930
|
||||
#: ../../mod/settings.php:915
|
||||
msgid "Permit unknown people to send you private mail?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:938
|
||||
#: ../../mod/settings.php:923
|
||||
msgid "Profile is <strong>not published</strong>."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:941 ../../mod/profile_photo.php:214
|
||||
#: ../../mod/settings.php:926 ../../mod/profile_photo.php:214
|
||||
msgid "or"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:946
|
||||
#: ../../mod/settings.php:931
|
||||
msgid "Your Identity Address is"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:957
|
||||
#: ../../mod/settings.php:942
|
||||
msgid "Automatically expire posts after this many days:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:957
|
||||
#: ../../mod/settings.php:942
|
||||
msgid "If empty, posts will not expire. Expired posts will be deleted"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:958
|
||||
#: ../../mod/settings.php:943
|
||||
msgid "Advanced expiration settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:959
|
||||
#: ../../mod/settings.php:944
|
||||
msgid "Advanced Expiration"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:960
|
||||
#: ../../mod/settings.php:945
|
||||
msgid "Expire posts:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:961
|
||||
#: ../../mod/settings.php:946
|
||||
msgid "Expire personal notes:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:962
|
||||
#: ../../mod/settings.php:947
|
||||
msgid "Expire starred posts:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:963
|
||||
#: ../../mod/settings.php:948
|
||||
msgid "Expire photos:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:964
|
||||
#: ../../mod/settings.php:949
|
||||
msgid "Only expire posts by others:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:971
|
||||
#: ../../mod/settings.php:956
|
||||
msgid "Account Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:979
|
||||
#: ../../mod/settings.php:964
|
||||
msgid "Password Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:980
|
||||
#: ../../mod/settings.php:965
|
||||
msgid "New Password:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:981
|
||||
#: ../../mod/settings.php:966
|
||||
msgid "Confirm:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:981
|
||||
#: ../../mod/settings.php:966
|
||||
msgid "Leave password fields blank unless changing"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:985
|
||||
#: ../../mod/settings.php:970
|
||||
msgid "Basic Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:986 ../../include/profile_advanced.php:15
|
||||
#: ../../mod/settings.php:971 ../../include/profile_advanced.php:15
|
||||
msgid "Full Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:987
|
||||
#: ../../mod/settings.php:972
|
||||
msgid "Email Address:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:988
|
||||
#: ../../mod/settings.php:973
|
||||
msgid "Your Timezone:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:989
|
||||
#: ../../mod/settings.php:974
|
||||
msgid "Default Post Location:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:990
|
||||
#: ../../mod/settings.php:975
|
||||
msgid "Use Browser Location:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:993
|
||||
#: ../../mod/settings.php:978
|
||||
msgid "Security and Privacy Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:995
|
||||
#: ../../mod/settings.php:980
|
||||
msgid "Maximum Friend Requests/Day:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:995 ../../mod/settings.php:1014
|
||||
#: ../../mod/settings.php:980 ../../mod/settings.php:999
|
||||
msgid "(to prevent spam abuse)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:996
|
||||
#: ../../mod/settings.php:981
|
||||
msgid "Default Post Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:997
|
||||
#: ../../mod/settings.php:982
|
||||
msgid "(click to open/close)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1014
|
||||
#: ../../mod/settings.php:999
|
||||
msgid "Maximum private messages per day from unknown people:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1017
|
||||
#: ../../mod/settings.php:1002
|
||||
msgid "Notification Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1018
|
||||
#: ../../mod/settings.php:1003
|
||||
msgid "By default post a status message when:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1019
|
||||
#: ../../mod/settings.php:1004
|
||||
msgid "accepting a friend request"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1020
|
||||
#: ../../mod/settings.php:1005
|
||||
msgid "joining a forum/community"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1021
|
||||
#: ../../mod/settings.php:1006
|
||||
msgid "making an <em>interesting</em> profile change"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1022
|
||||
#: ../../mod/settings.php:1007
|
||||
msgid "Send a notification email when:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1023
|
||||
#: ../../mod/settings.php:1008
|
||||
msgid "You receive an introduction"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1024
|
||||
#: ../../mod/settings.php:1009
|
||||
msgid "Your introductions are confirmed"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1025
|
||||
#: ../../mod/settings.php:1010
|
||||
msgid "Someone writes on your profile wall"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1026
|
||||
#: ../../mod/settings.php:1011
|
||||
msgid "Someone writes a followup comment"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1027
|
||||
#: ../../mod/settings.php:1012
|
||||
msgid "You receive a private message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1028
|
||||
#: ../../mod/settings.php:1013
|
||||
msgid "You receive a friend suggestion"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1029
|
||||
#: ../../mod/settings.php:1014
|
||||
msgid "You are tagged in a post"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1030
|
||||
#: ../../mod/settings.php:1015
|
||||
msgid "You are poked/prodded/etc. in a post"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1033
|
||||
#: ../../mod/settings.php:1018
|
||||
msgid "Advanced Account/Page Type Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/settings.php:1034
|
||||
#: ../../mod/settings.php:1019
|
||||
msgid "Change the behaviour of this account for special situations"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2589,14 +2596,15 @@ msgstr ""
|
|||
msgid "Invalid contact."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/notes.php:44 ../../boot.php:1621
|
||||
#: ../../mod/notes.php:44 ../../boot.php:1641
|
||||
msgid "Personal Notes"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/notes.php:63 ../../mod/filer.php:30
|
||||
#: ../../addon/facebook/facebook.php:770
|
||||
#: ../../addon/privacy_image_cache/privacy_image_cache.php:236
|
||||
#: ../../addon/dav/layout.fnk.php:384 ../../include/text.php:677
|
||||
#: ../../addon/dav/layout.fnk.php:441 ../../addon/dav/layout.fnk.php:488
|
||||
#: ../../include/text.php:677
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2605,7 +2613,7 @@ msgstr ""
|
|||
msgid "Number of daily wall messages for %s exceeded. Message failed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:56 ../../mod/message.php:66
|
||||
#: ../../mod/wallmessage.php:56 ../../mod/message.php:59
|
||||
msgid "No recipient selected."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2613,15 +2621,15 @@ msgstr ""
|
|||
msgid "Unable to check your home location."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:62 ../../mod/message.php:73
|
||||
#: ../../mod/wallmessage.php:62 ../../mod/message.php:66
|
||||
msgid "Message could not be sent."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:65 ../../mod/message.php:76
|
||||
#: ../../mod/wallmessage.php:65 ../../mod/message.php:69
|
||||
msgid "Message collection failure."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:68 ../../mod/message.php:79
|
||||
#: ../../mod/wallmessage.php:68 ../../mod/message.php:72
|
||||
msgid "Message sent."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2629,34 +2637,35 @@ msgstr ""
|
|||
msgid "No recipient."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:124 ../../mod/message.php:250
|
||||
#: ../../include/conversation.php:1066
|
||||
#: ../../mod/wallmessage.php:123 ../../mod/wallmessage.php:131
|
||||
#: ../../mod/message.php:242 ../../mod/message.php:250
|
||||
#: ../../include/conversation.php:1065 ../../include/conversation.php:1082
|
||||
msgid "Please enter a link URL:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:131 ../../mod/message.php:278
|
||||
#: ../../mod/wallmessage.php:138 ../../mod/message.php:278
|
||||
msgid "Send Private Message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:132
|
||||
#: ../../mod/wallmessage.php:139
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you wish for %s to respond, please check that the privacy settings on "
|
||||
"your site allow private mail from unknown senders."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:133 ../../mod/message.php:279
|
||||
#: ../../mod/message.php:462
|
||||
#: ../../mod/wallmessage.php:140 ../../mod/message.php:279
|
||||
#: ../../mod/message.php:467
|
||||
msgid "To:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:134 ../../mod/message.php:284
|
||||
#: ../../mod/message.php:464
|
||||
#: ../../mod/wallmessage.php:141 ../../mod/message.php:284
|
||||
#: ../../mod/message.php:469
|
||||
msgid "Subject:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/wallmessage.php:140 ../../mod/message.php:288
|
||||
#: ../../mod/message.php:467 ../../mod/invite.php:113
|
||||
#: ../../mod/wallmessage.php:147 ../../mod/message.php:288
|
||||
#: ../../mod/message.php:472 ../../mod/invite.php:113
|
||||
msgid "Your message:"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2798,7 +2807,7 @@ msgstr ""
|
|||
msgid "Group name changed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/group.php:72 ../../mod/profperm.php:19 ../../index.php:308
|
||||
#: ../../mod/group.php:72 ../../mod/profperm.php:19 ../../index.php:314
|
||||
msgid "Permission denied"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2840,7 +2849,7 @@ msgstr ""
|
|||
|
||||
#: ../../mod/profperm.php:103 ../../view/theme/diabook/theme.php:128
|
||||
#: ../../include/profile_advanced.php:7 ../../include/profile_advanced.php:84
|
||||
#: ../../include/nav.php:50 ../../boot.php:1597
|
||||
#: ../../include/nav.php:50 ../../boot.php:1617
|
||||
msgid "Profile"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2944,7 +2953,7 @@ msgstr ""
|
|||
msgid "Choose a nickname: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/register.php:269 ../../include/nav.php:81 ../../boot.php:871
|
||||
#: ../../mod/register.php:269 ../../include/nav.php:81 ../../boot.php:878
|
||||
msgid "Register"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -2987,7 +2996,7 @@ msgid "Access denied."
|
|||
msgstr ""
|
||||
|
||||
#: ../../mod/fbrowser.php:25 ../../view/theme/diabook/theme.php:130
|
||||
#: ../../include/nav.php:51 ../../boot.php:1604
|
||||
#: ../../include/nav.php:51 ../../boot.php:1624
|
||||
msgid "Photos"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -3081,7 +3090,7 @@ msgstr ""
|
|||
msgid "Upload Profile Photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profile_photo.php:212
|
||||
#: ../../mod/profile_photo.php:212 ../../addon/dav/layout.fnk.php:152
|
||||
msgid "Upload"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -3131,15 +3140,15 @@ msgstr ""
|
|||
msgid "New Message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/message.php:70
|
||||
#: ../../mod/message.php:63
|
||||
msgid "Unable to locate contact information."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/message.php:198
|
||||
#: ../../mod/message.php:191
|
||||
msgid "Message deleted."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/message.php:228
|
||||
#: ../../mod/message.php:221
|
||||
msgid "Conversation removed."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -3162,7 +3171,7 @@ msgstr ""
|
|||
msgid "%s and You"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/message.php:350 ../../mod/message.php:455
|
||||
#: ../../mod/message.php:350 ../../mod/message.php:460
|
||||
msgid "Delete conversation"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -3181,17 +3190,17 @@ msgstr[1] ""
|
|||
msgid "Message not available."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/message.php:438
|
||||
#: ../../mod/message.php:443
|
||||
msgid "Delete message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/message.php:457
|
||||
#: ../../mod/message.php:462
|
||||
msgid ""
|
||||
"No secure communications available. You <strong>may</strong> be able to "
|
||||
"respond from the sender's profile page."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/message.php:461
|
||||
#: ../../mod/message.php:466
|
||||
msgid "Send Reply"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -3798,7 +3807,7 @@ msgstr ""
|
|||
msgid "FTP Password"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profile.php:21 ../../boot.php:1036
|
||||
#: ../../mod/profile.php:21 ../../boot.php:1043
|
||||
msgid "Requested profile is not available."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -3963,7 +3972,7 @@ msgstr ""
|
|||
msgid "Address"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:205 ../../addon/dav/layout.fnk.php:310
|
||||
#: ../../mod/profiles.php:205 ../../addon/dav/common/wdcal_edit.inc.php:183
|
||||
msgid "Location"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -4010,210 +4019,211 @@ msgstr ""
|
|||
msgid "Profile unavailable to clone."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:553
|
||||
#: ../../mod/profiles.php:557
|
||||
msgid "Hide your contact/friend list from viewers of this profile?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:576
|
||||
#: ../../mod/profiles.php:577
|
||||
msgid "Edit Profile Details"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:578
|
||||
#: ../../mod/profiles.php:579
|
||||
msgid "View this profile"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:579
|
||||
#: ../../mod/profiles.php:580
|
||||
msgid "Create a new profile using these settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:580
|
||||
#: ../../mod/profiles.php:581
|
||||
msgid "Clone this profile"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:581
|
||||
#: ../../mod/profiles.php:582
|
||||
msgid "Delete this profile"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:582
|
||||
#: ../../mod/profiles.php:583
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:583
|
||||
#: ../../mod/profiles.php:584
|
||||
msgid "Your Full Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:584
|
||||
#: ../../mod/profiles.php:585
|
||||
msgid "Title/Description:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:585
|
||||
#: ../../mod/profiles.php:586
|
||||
msgid "Your Gender:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:586
|
||||
#: ../../mod/profiles.php:587
|
||||
#, php-format
|
||||
msgid "Birthday (%s):"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:587
|
||||
#: ../../mod/profiles.php:588
|
||||
msgid "Street Address:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:588
|
||||
#: ../../mod/profiles.php:589
|
||||
msgid "Locality/City:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:589
|
||||
#: ../../mod/profiles.php:590
|
||||
msgid "Postal/Zip Code:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:590
|
||||
#: ../../mod/profiles.php:591
|
||||
msgid "Country:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:591
|
||||
#: ../../mod/profiles.php:592
|
||||
msgid "Region/State:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:592
|
||||
#: ../../mod/profiles.php:593
|
||||
msgid "<span class=\"heart\">♥</span> Marital Status:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:593
|
||||
#: ../../mod/profiles.php:594
|
||||
msgid "Who: (if applicable)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:594
|
||||
#: ../../mod/profiles.php:595
|
||||
msgid "Examples: cathy123, Cathy Williams, cathy@example.com"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:595
|
||||
#: ../../mod/profiles.php:596
|
||||
msgid "Since [date]:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:596 ../../include/profile_advanced.php:46
|
||||
#: ../../mod/profiles.php:597 ../../include/profile_advanced.php:46
|
||||
msgid "Sexual Preference:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:597
|
||||
#: ../../mod/profiles.php:598
|
||||
msgid "Homepage URL:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:598 ../../include/profile_advanced.php:50
|
||||
#: ../../mod/profiles.php:599 ../../include/profile_advanced.php:50
|
||||
msgid "Hometown:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:599 ../../include/profile_advanced.php:54
|
||||
#: ../../mod/profiles.php:600 ../../include/profile_advanced.php:54
|
||||
msgid "Political Views:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:600
|
||||
#: ../../mod/profiles.php:601
|
||||
msgid "Religious Views:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:601
|
||||
#: ../../mod/profiles.php:602
|
||||
msgid "Public Keywords:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:602
|
||||
#: ../../mod/profiles.php:603
|
||||
msgid "Private Keywords:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:603 ../../include/profile_advanced.php:62
|
||||
#: ../../mod/profiles.php:604 ../../include/profile_advanced.php:62
|
||||
msgid "Likes:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:604 ../../include/profile_advanced.php:64
|
||||
#: ../../mod/profiles.php:605 ../../include/profile_advanced.php:64
|
||||
msgid "Dislikes:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:605
|
||||
#: ../../mod/profiles.php:606
|
||||
msgid "Example: fishing photography software"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:606
|
||||
#: ../../mod/profiles.php:607
|
||||
msgid "(Used for suggesting potential friends, can be seen by others)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:607
|
||||
#: ../../mod/profiles.php:608
|
||||
msgid "(Used for searching profiles, never shown to others)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:608
|
||||
#: ../../mod/profiles.php:609
|
||||
msgid "Tell us about yourself..."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:609
|
||||
#: ../../mod/profiles.php:610
|
||||
msgid "Hobbies/Interests"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:610
|
||||
#: ../../mod/profiles.php:611
|
||||
msgid "Contact information and Social Networks"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:611
|
||||
#: ../../mod/profiles.php:612
|
||||
msgid "Musical interests"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:612
|
||||
#: ../../mod/profiles.php:613
|
||||
msgid "Books, literature"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:613
|
||||
#: ../../mod/profiles.php:614
|
||||
msgid "Television"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:614
|
||||
#: ../../mod/profiles.php:615
|
||||
msgid "Film/dance/culture/entertainment"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:615
|
||||
#: ../../mod/profiles.php:616
|
||||
msgid "Love/romance"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:616
|
||||
#: ../../mod/profiles.php:617
|
||||
msgid "Work/employment"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:617
|
||||
#: ../../mod/profiles.php:618
|
||||
msgid "School/education"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:622
|
||||
#: ../../mod/profiles.php:623
|
||||
msgid ""
|
||||
"This is your <strong>public</strong> profile.<br />It <strong>may</strong> "
|
||||
"be visible to anybody using the internet."
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:632 ../../mod/directory.php:109
|
||||
#: ../../mod/profiles.php:633 ../../mod/directory.php:109
|
||||
msgid "Age: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:671
|
||||
#: ../../mod/profiles.php:672
|
||||
msgid "Edit/Manage Profiles"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:672 ../../boot.php:1145
|
||||
#: ../../mod/profiles.php:673 ../../boot.php:1152
|
||||
msgid "Change profile photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:673 ../../boot.php:1146
|
||||
#: ../../mod/profiles.php:674 ../../boot.php:1153
|
||||
msgid "Create New Profile"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:684 ../../boot.php:1156
|
||||
#: ../../mod/profiles.php:685 ../../boot.php:1163
|
||||
msgid "Profile Image"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:686 ../../boot.php:1159
|
||||
#: ../../mod/profiles.php:687 ../../boot.php:1166
|
||||
msgid "visible to everybody"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/profiles.php:687 ../../boot.php:1160
|
||||
#: ../../mod/profiles.php:688 ../../boot.php:1167
|
||||
msgid "Edit visibility"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/filer.php:29 ../../include/conversation.php:1070
|
||||
#: ../../mod/filer.php:29 ../../include/conversation.php:1069
|
||||
#: ../../include/conversation.php:1086
|
||||
msgid "Save to Folder:"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -4337,17 +4347,17 @@ msgid "Gender: "
|
|||
msgstr ""
|
||||
|
||||
#: ../../mod/directory.php:134 ../../include/profile_advanced.php:17
|
||||
#: ../../boot.php:1181
|
||||
#: ../../boot.php:1188
|
||||
msgid "Gender:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/directory.php:136 ../../include/profile_advanced.php:37
|
||||
#: ../../boot.php:1184
|
||||
#: ../../boot.php:1191
|
||||
msgid "Status:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../mod/directory.php:138 ../../include/profile_advanced.php:48
|
||||
#: ../../boot.php:1186
|
||||
#: ../../boot.php:1193
|
||||
msgid "Homepage:"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -4713,7 +4723,7 @@ msgstr ""
|
|||
msgid "Activate Real-Time Updates"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/facebook/facebook.php:799 ../../addon/dav/layout.fnk.php:360
|
||||
#: ../../addon/facebook/facebook.php:799 ../../addon/dav/layout.fnk.php:361
|
||||
msgid "The new values have been saved."
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -4831,6 +4841,156 @@ msgstr ""
|
|||
msgid "Connect on Friendica!"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:19
|
||||
msgid "bitchslap"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:19
|
||||
msgid "bitchslapped"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:20
|
||||
msgid "shag"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:20
|
||||
msgid "shagged"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:21
|
||||
msgid "do something obscenely biological to"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:21
|
||||
msgid "did something obscenely biological to"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:22
|
||||
msgid "point out the new poke feature to"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:22
|
||||
msgid "pointed out the new poke feature to"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:23
|
||||
msgid "declare undying love for"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:23
|
||||
msgid "declared undying love for"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:24
|
||||
msgid "set fire to"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:25
|
||||
msgid "patent"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:25
|
||||
msgid "patented"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:26
|
||||
msgid "stroke beard"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:26
|
||||
msgid "stroked their beard at"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:27
|
||||
msgid ""
|
||||
"bemoan the declining standards of modern secondary and tertiary education to"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:27
|
||||
msgid ""
|
||||
"bemoans the declining standards of modern secondary and tertiary education to"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:28
|
||||
msgid "hug"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:28
|
||||
msgid "hugged"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:29
|
||||
msgid "kiss"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:29
|
||||
msgid "kissed"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:30
|
||||
msgid "raise eyebrows at"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:30
|
||||
msgid "raised their eyebrows at"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:31
|
||||
msgid "insult"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:31
|
||||
msgid "insulted"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:32
|
||||
msgid "praise"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:32
|
||||
msgid "praised"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:33
|
||||
msgid "be dubious of"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:33
|
||||
msgid "was dubious of"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:34
|
||||
msgid "eat"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:34
|
||||
msgid "ate"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:35
|
||||
msgid "giggle and fawn at"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:35
|
||||
msgid "giggled and fawned at"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:36
|
||||
msgid "doubt"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:36
|
||||
msgid "doubted"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:37
|
||||
msgid "glare"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morepokes/morepokes.php:37
|
||||
msgid "glared at"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/yourls/yourls.php:55
|
||||
msgid "YourLS Settings"
|
||||
msgstr ""
|
||||
|
|
@ -4955,7 +5115,7 @@ msgstr ""
|
|||
#: ../../addon/communityhome/communityhome.php:34
|
||||
#: ../../addon/communityhome/twillingham/communityhome.php:28
|
||||
#: ../../addon/communityhome/twillingham/communityhome.php:34
|
||||
#: ../../include/nav.php:64 ../../boot.php:892
|
||||
#: ../../include/nav.php:64 ../../boot.php:899
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -4988,200 +5148,528 @@ msgstr ""
|
|||
msgid "event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_configuration.php:126
|
||||
msgid "U.S. Time Format (mm/dd/YYYY)"
|
||||
#: ../../addon/dav/dav_caldav_backend_virtual_friendica.inc.php:36
|
||||
msgid "Friendicy-Native events"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_configuration.php:205
|
||||
msgid "German Time Format (dd.mm.YYYY)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/calendar.fnk.php:517
|
||||
#: ../../addon/dav/common/calendar.fnk.php:533
|
||||
#: ../../addon/dav/layout.fnk.php:200
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/calendar.fnk.php:568
|
||||
#: ../../addon/dav/common/calendar.fnk.php:637
|
||||
#: ../../addon/dav/common/calendar.fnk.php:664
|
||||
#: ../../addon/dav/layout.fnk.php:231
|
||||
#: ../../addon/dav/common/wdcal_backend.inc.php:92
|
||||
#: ../../addon/dav/common/wdcal_backend.inc.php:166
|
||||
#: ../../addon/dav/common/wdcal_backend.inc.php:178
|
||||
#: ../../addon/dav/common/wdcal_backend.inc.php:206
|
||||
#: ../../addon/dav/common/wdcal_backend.inc.php:214
|
||||
#: ../../addon/dav/common/wdcal_backend.inc.php:229
|
||||
msgid "No access"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:119
|
||||
msgid "New event"
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:30
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:738
|
||||
msgid "Could not open component for editing"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:123
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:132
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:139
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:146
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:151
|
||||
msgid "Reload"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:162
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:224
|
||||
msgid "Not found"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:292 ../../addon/dav/layout.fnk.php:365
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:140
|
||||
#: ../../addon/dav/layout.fnk.php:143 ../../addon/dav/layout.fnk.php:422
|
||||
msgid "Go back to the calendar"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:300
|
||||
msgid "Starts"
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:144
|
||||
msgid "Event data"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:305
|
||||
msgid "Ends"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:312
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:315
|
||||
msgid "Notification"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:324
|
||||
msgid "Minutes"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:327
|
||||
msgid "Hours"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:330
|
||||
msgid "Days"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:331
|
||||
msgid "before"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:367
|
||||
msgid "Calendar Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:373
|
||||
msgid "Date format"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:382
|
||||
msgid "Time zone"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:387
|
||||
msgid "Limitations"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:391 ../../addon/libravatar/libravatar.php:82
|
||||
msgid "Warning"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:395
|
||||
msgid "Synchronization (iPhone, Thunderbird Lightning, Android, ...)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:402
|
||||
msgid "Synchronizing this calendar with the iPhone"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:413
|
||||
msgid "Synchronizing your Friendica-Contacts with the iPhone"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/dav_carddav_backend_friendica_community.inc.php:37
|
||||
msgid "Friendica-Contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/dav_carddav_backend_friendica_community.inc.php:38
|
||||
msgid "Your Friendica-Contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:244
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:146 ../../addon/dav/main.php:206
|
||||
msgid "Calendar"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:247
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:163
|
||||
msgid "Special color"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:169
|
||||
msgid "Subject"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:173
|
||||
msgid "Starts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:178
|
||||
msgid "Ends"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:185
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:188
|
||||
msgid "Recurrence"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:190
|
||||
msgid "Frequency"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:194
|
||||
#: ../../include/contact_selectors.php:59
|
||||
msgid "Daily"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:197
|
||||
#: ../../include/contact_selectors.php:60
|
||||
msgid "Weekly"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:200
|
||||
#: ../../include/contact_selectors.php:61
|
||||
msgid "Monthly"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:203
|
||||
msgid "Yearly"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:214
|
||||
#: ../../include/datetime.php:288
|
||||
msgid "days"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:215
|
||||
#: ../../include/datetime.php:287
|
||||
msgid "weeks"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:216
|
||||
#: ../../include/datetime.php:286
|
||||
msgid "months"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:217
|
||||
#: ../../include/datetime.php:285
|
||||
msgid "years"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:218
|
||||
msgid "Interval"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:218
|
||||
msgid "All %select% %time%"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:222
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:260
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:481
|
||||
msgid "Days"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:231
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:254
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:270
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:293
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:305 ../../include/text.php:880
|
||||
msgid "Sunday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:235
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:274
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:308 ../../include/text.php:880
|
||||
msgid "Monday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:238
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:277 ../../include/text.php:880
|
||||
msgid "Tuesday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:241
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:280 ../../include/text.php:880
|
||||
msgid "Wednesday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:244
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:283 ../../include/text.php:880
|
||||
msgid "Thursday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:247
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:286 ../../include/text.php:880
|
||||
msgid "Friday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:250
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:289 ../../include/text.php:880
|
||||
msgid "Saturday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:297
|
||||
msgid "First day of week:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:350
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:373
|
||||
msgid "Day of month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:354
|
||||
msgid "#num#th of each month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:357
|
||||
msgid "#num#th-last of each month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:360
|
||||
msgid "#num#th #wkday# of each month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:363
|
||||
msgid "#num#th-last #wkday# of each month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:372
|
||||
#: ../../addon/dav/layout.fnk.php:255
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:377
|
||||
msgid "#num#th of the given month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:380
|
||||
msgid "#num#th-last of the given month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:383
|
||||
msgid "#num#th #wkday# of the given month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:386
|
||||
msgid "#num#th-last #wkday# of the given month"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:413
|
||||
msgid "Repeat until"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:417
|
||||
msgid "Infinite"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:420
|
||||
msgid "Until the following date"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:423
|
||||
msgid "Number of times"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:429
|
||||
msgid "Exceptions"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:432
|
||||
msgid "none"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:449
|
||||
msgid "Notification"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:466
|
||||
msgid "Notify by"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:469
|
||||
msgid "E-Mail"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:470
|
||||
msgid "On Friendica / Display"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:474
|
||||
msgid "Time"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:478
|
||||
msgid "Hours"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:479
|
||||
msgid "Minutes"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:480
|
||||
msgid "Seconds"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:482
|
||||
msgid "Weeks"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:485
|
||||
msgid "before the"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:486
|
||||
msgid "start of the event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:487
|
||||
msgid "end of the event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:492
|
||||
msgid "Add a notification"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:687
|
||||
msgid "The event #name# will start at #date"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:696
|
||||
msgid "#name# is about to begin."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_edit.inc.php:769
|
||||
msgid "Saved"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_configuration.php:148
|
||||
msgid "U.S. Time Format (mm/dd/YYYY)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/wdcal_configuration.php:243
|
||||
msgid "German Time Format (dd.mm.YYYY)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/common/dav_caldav_backend_private.inc.php:39
|
||||
msgid "Private Events"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/dav_carddav_backend_virtual_friendica.inc.php:53
|
||||
msgid "Friendica-Contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/dav_carddav_backend_virtual_friendica.inc.php:54
|
||||
msgid "Your Friendica-Contacts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:99 ../../addon/dav/layout.fnk.php:136
|
||||
msgid ""
|
||||
"Something went wrong when trying to import the file. Sorry. Maybe some "
|
||||
"events were imported anyway."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:131
|
||||
msgid "Something went wrong when trying to import the file. Sorry."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:134
|
||||
msgid "The ICS-File has been imported."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:138
|
||||
msgid "No file was uploaded."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:147
|
||||
msgid "Import a ICS-file"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:150
|
||||
msgid "ICS-File"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:151
|
||||
msgid "Overwrite all #num# existing events"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:228
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:232
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:241
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:248
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:260
|
||||
msgid "Reload"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:271
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:313
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:380
|
||||
msgid "The calendar has been updated."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:393
|
||||
msgid "The new calendar has been created."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:417
|
||||
msgid "The calendar has been deleted."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:424
|
||||
msgid "Calendar Settings"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:430
|
||||
msgid "Date format"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:439
|
||||
msgid "Time zone"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:445
|
||||
msgid "Calendars"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:487
|
||||
msgid "Create a new calendar"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:496
|
||||
msgid "Limitations"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:500 ../../addon/libravatar/libravatar.php:82
|
||||
msgid "Warning"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:504
|
||||
msgid "Synchronization (iPhone, Thunderbird Lightning, Android, ...)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:511
|
||||
msgid "Synchronizing this calendar with the iPhone"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/layout.fnk.php:522
|
||||
msgid "Synchronizing your Friendica-Contacts with the iPhone"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:169
|
||||
msgid ""
|
||||
"The current version of this plugin has not been set up correctly. Please "
|
||||
"contact the system administrator of your installation of friendica to fix "
|
||||
"this."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:209
|
||||
msgid "Extended calendar with CalDAV-support"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:263
|
||||
#: ../../addon/dav/main.php:246 ../../addon/dav/main.php:247
|
||||
#: ../../include/delivery.php:463 ../../include/enotify.php:26
|
||||
#: ../../include/notifier.php:685
|
||||
msgid "noreply"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:249
|
||||
msgid "Notification: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:276
|
||||
msgid "The database tables have been installed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:264
|
||||
#: ../../addon/dav/main.php:277
|
||||
msgid "An error occurred during the installation."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:280
|
||||
#: ../../addon/dav/main.php:283
|
||||
msgid "The database tables have been updated."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:285
|
||||
msgid "An error occurred during the update."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:301
|
||||
msgid "No system-wide settings yet."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:283
|
||||
#: ../../addon/dav/main.php:304
|
||||
msgid "Database status"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:286
|
||||
#: ../../addon/dav/main.php:307
|
||||
msgid "Installed"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:289
|
||||
#: ../../addon/dav/main.php:310
|
||||
msgid "Upgrade needed"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:289
|
||||
#: ../../addon/dav/main.php:310
|
||||
msgid ""
|
||||
"Please back up all calendar data (the tables beginning with dav_*) before "
|
||||
"proceeding. While all calendar events <i>should</i> be converted to the new "
|
||||
"database structure, it's always safe to have a backup. Below, you can have a "
|
||||
"look at the database-queries that will be made when pressing the 'update'-"
|
||||
"button."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:310
|
||||
msgid "Upgrade"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:292
|
||||
#: ../../addon/dav/main.php:313
|
||||
msgid "Not installed"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:292
|
||||
#: ../../addon/dav/main.php:313
|
||||
msgid "Install"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:297
|
||||
#: ../../addon/dav/main.php:317
|
||||
msgid "Unknown"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:317
|
||||
msgid ""
|
||||
"Something really went wrong. I cannot recover from this state automatically, "
|
||||
"sorry. Please go to the database backend, back up the data, and delete all "
|
||||
"tables beginning with 'dav_' manually. Afterwards, this installation routine "
|
||||
"should be able to reinitialize the tables automatically."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:322
|
||||
msgid "Troubleshooting"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:298
|
||||
#: ../../addon/dav/main.php:323
|
||||
msgid "Manual creation of the database tables:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/main.php:299
|
||||
#: ../../addon/dav/main.php:324
|
||||
msgid "Show SQL-statements"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/calendar.friendica.fnk.php:151
|
||||
#: ../../addon/dav/calendar.friendica.fnk.php:193
|
||||
msgid "Private Calendar"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/calendar.friendica.fnk.php:158
|
||||
#: ../../addon/dav/calendar.friendica.fnk.php:194
|
||||
msgid "Friendica Events: Mine"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/dav/calendar.friendica.fnk.php:161
|
||||
#: ../../addon/dav/calendar.friendica.fnk.php:195
|
||||
msgid "Friendica Events: Contacts"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -5601,6 +6089,19 @@ msgstr ""
|
|||
msgid "The default zoom level. (1:world, 18:highest)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/group_text/group_text.php:46
|
||||
#: ../../addon/editplain/editplain.php:46
|
||||
msgid "Editplain settings updated."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/group_text/group_text.php:76
|
||||
msgid "Group Text"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/group_text/group_text.php:78
|
||||
msgid "Use a text only (non-image) group selector in the \"group edit\" menu"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/libravatar/libravatar.php:14
|
||||
msgid "Could NOT install Libravatar successfully.<br>It requires PHP >= 5.3"
|
||||
msgstr ""
|
||||
|
|
@ -5721,10 +6222,6 @@ msgid ""
|
|||
"be either the MathJax CDN or another installation of MathJax."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/editplain/editplain.php:46
|
||||
msgid "Editplain settings updated."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/editplain/editplain.php:76
|
||||
msgid "Editplain Settings"
|
||||
msgstr ""
|
||||
|
|
@ -5756,22 +6253,6 @@ msgstr ""
|
|||
msgid "Gravatar settings updated."
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morechoice/morechoice.php:129
|
||||
msgid "bitchslap"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morechoice/morechoice.php:129
|
||||
msgid "bitchslapped"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morechoice/morechoice.php:130
|
||||
msgid "shag"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/morechoice/morechoice.php:130
|
||||
msgid "shagged"
|
||||
msgstr ""
|
||||
|
||||
#: ../../addon/testdrive/testdrive.php:95
|
||||
msgid "Your Friendica test account is about to expire."
|
||||
msgstr ""
|
||||
|
|
@ -6564,18 +7045,6 @@ msgstr ""
|
|||
msgid "Twice daily"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/contact_selectors.php:59
|
||||
msgid "Daily"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/contact_selectors.php:60
|
||||
msgid "Weekly"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/contact_selectors.php:61
|
||||
msgid "Monthly"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/contact_selectors.php:77
|
||||
msgid "OStatus"
|
||||
msgstr ""
|
||||
|
|
@ -6844,11 +7313,6 @@ msgstr ""
|
|||
msgid "(no subject)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/delivery.php:463 ../../include/enotify.php:26
|
||||
#: ../../include/notifier.php:685
|
||||
msgid "noreply"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/Scrape.php:572
|
||||
msgid " on Last.fm"
|
||||
msgstr ""
|
||||
|
|
@ -6936,34 +7400,6 @@ msgstr ""
|
|||
msgid "rebuffed"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/text.php:880
|
||||
msgid "Monday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/text.php:880
|
||||
msgid "Tuesday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/text.php:880
|
||||
msgid "Wednesday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/text.php:880
|
||||
msgid "Thursday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/text.php:880
|
||||
msgid "Friday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/text.php:880
|
||||
msgid "Saturday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/text.php:880
|
||||
msgid "Sunday"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/text.php:884
|
||||
msgid "January"
|
||||
msgstr ""
|
||||
|
|
@ -7115,7 +7551,7 @@ msgstr ""
|
|||
msgid "Contacts not in any group"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/nav.php:46 ../../boot.php:891
|
||||
#: ../../include/nav.php:46 ../../boot.php:898
|
||||
msgid "Logout"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -7123,7 +7559,7 @@ msgstr ""
|
|||
msgid "End this session"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/nav.php:49 ../../boot.php:1590
|
||||
#: ../../include/nav.php:49 ../../boot.php:1610
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -7203,11 +7639,11 @@ msgstr ""
|
|||
msgid "Manage other pages"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/nav.php:138 ../../boot.php:1139
|
||||
#: ../../include/nav.php:138 ../../boot.php:1146
|
||||
msgid "Profiles"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/nav.php:138 ../../boot.php:1139
|
||||
#: ../../include/nav.php:138 ../../boot.php:1146
|
||||
msgid "Manage/edit profiles"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -7320,26 +7756,10 @@ msgstr ""
|
|||
msgid "less than a second ago"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/datetime.php:285
|
||||
msgid "years"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/datetime.php:286
|
||||
msgid "months"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/datetime.php:287
|
||||
msgid "week"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/datetime.php:287
|
||||
msgid "weeks"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/datetime.php:288
|
||||
msgid "days"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/datetime.php:289
|
||||
msgid "hour"
|
||||
msgstr ""
|
||||
|
|
@ -7834,63 +8254,63 @@ msgstr ""
|
|||
msgid "%s don't like this."
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1065
|
||||
#: ../../include/conversation.php:1064 ../../include/conversation.php:1081
|
||||
msgid "Visible to <strong>everybody</strong>"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1067
|
||||
#: ../../include/conversation.php:1066 ../../include/conversation.php:1083
|
||||
msgid "Please enter a video link/URL:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1068
|
||||
#: ../../include/conversation.php:1067 ../../include/conversation.php:1084
|
||||
msgid "Please enter an audio link/URL:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1069
|
||||
#: ../../include/conversation.php:1068 ../../include/conversation.php:1085
|
||||
msgid "Tag term:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1071
|
||||
#: ../../include/conversation.php:1070 ../../include/conversation.php:1087
|
||||
msgid "Where are you right now?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1114
|
||||
#: ../../include/conversation.php:1130
|
||||
msgid "upload photo"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1116
|
||||
#: ../../include/conversation.php:1132
|
||||
msgid "attach file"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1118
|
||||
#: ../../include/conversation.php:1134
|
||||
msgid "web link"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1119
|
||||
#: ../../include/conversation.php:1135
|
||||
msgid "Insert video link"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1120
|
||||
#: ../../include/conversation.php:1136
|
||||
msgid "video link"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1121
|
||||
#: ../../include/conversation.php:1137
|
||||
msgid "Insert audio link"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1122
|
||||
#: ../../include/conversation.php:1138
|
||||
msgid "audio link"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1124
|
||||
#: ../../include/conversation.php:1140
|
||||
msgid "set location"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1126
|
||||
#: ../../include/conversation.php:1142
|
||||
msgid "clear location"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/conversation.php:1133
|
||||
#: ../../include/conversation.php:1149
|
||||
msgid "permissions"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -7914,88 +8334,88 @@ msgstr ""
|
|||
msgid "show fewer"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:767
|
||||
#: ../../boot.php:774
|
||||
#, php-format
|
||||
msgid "Update %s failed. See error logs."
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:769
|
||||
#: ../../boot.php:776
|
||||
#, php-format
|
||||
msgid "Update Error at %s"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:870
|
||||
#: ../../boot.php:877
|
||||
msgid "Create a New Account"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:894
|
||||
#: ../../boot.php:901
|
||||
msgid "Nickname or Email address: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:895
|
||||
#: ../../boot.php:902
|
||||
msgid "Password: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:898
|
||||
#: ../../boot.php:905
|
||||
msgid "Or login using OpenID: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:904
|
||||
#: ../../boot.php:911
|
||||
msgid "Forgot your password?"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1071
|
||||
#: ../../boot.php:1078
|
||||
msgid "Edit profile"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1131
|
||||
#: ../../boot.php:1138
|
||||
msgid "Message"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1247 ../../boot.php:1326
|
||||
#: ../../boot.php:1260 ../../boot.php:1346
|
||||
msgid "g A l F d"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1248 ../../boot.php:1327
|
||||
#: ../../boot.php:1261 ../../boot.php:1347
|
||||
msgid "F d"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1293 ../../boot.php:1367
|
||||
#: ../../boot.php:1306 ../../boot.php:1387
|
||||
msgid "[today]"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1305
|
||||
#: ../../boot.php:1318
|
||||
msgid "Birthday Reminders"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1306
|
||||
#: ../../boot.php:1319
|
||||
msgid "Birthdays this week:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1360
|
||||
#: ../../boot.php:1380
|
||||
msgid "[No description]"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1378
|
||||
#: ../../boot.php:1398
|
||||
msgid "Event Reminders"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1379
|
||||
#: ../../boot.php:1399
|
||||
msgid "Events this week:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1593
|
||||
#: ../../boot.php:1613
|
||||
msgid "Status Messages and Posts"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1600
|
||||
#: ../../boot.php:1620
|
||||
msgid "Profile Details"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1617
|
||||
#: ../../boot.php:1637
|
||||
msgid "Events and Calendar"
|
||||
msgstr ""
|
||||
|
||||
#: ../../boot.php:1624
|
||||
#: ../../boot.php:1644
|
||||
msgid "Only You Can See This"
|
||||
msgstr ""
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
$("nav").bind('nav-update', function(e,data){
|
||||
var elm = $('#pending-update');
|
||||
var register = $(data).find('register').text();
|
||||
if (register=="0") { reigster=""; elm.hide();} else { elm.show(); }
|
||||
if (register=="0") { register=""; elm.hide();} else { elm.show(); }
|
||||
elm.html(register);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
0
view/contact_end.tpl
Normal file
0
view/contact_end.tpl
Normal file
0
view/contacts-end.tpl
Normal file
0
view/contacts-end.tpl
Normal file
17
view/contacts-head.tpl
Normal file
17
view/contacts-head.tpl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
<script src="$baseurl/library/jquery_ac/friendica.complete.js" ></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var a;
|
||||
a = $("#contacts-search").autocomplete({
|
||||
serviceUrl: '$base/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
});
|
||||
a.setOptions({ params: { type: 'a' }});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
0
view/cropend.tpl
Normal file
0
view/cropend.tpl
Normal file
8
view/display-head.tpl
Normal file
8
view/display-head.tpl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
$(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
});
|
||||
</script>
|
||||
|
||||
0
view/end.tpl
Normal file
0
view/end.tpl
Normal file
0
view/event_end.tpl
Normal file
0
view/event_end.tpl
Normal file
|
|
@ -5,6 +5,6 @@
|
|||
{{ for $events as $event }}
|
||||
<div class="event-list" id="event-$event.id"></a> <a href="events/$event.link">$event.title</a> $event.date </div>
|
||||
{{ endfor }}
|
||||
</div></div>
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
||||
|
|
|
|||
0
view/jot-end.tpl
Normal file
0
view/jot-end.tpl
Normal file
0
view/message-end.tpl
Normal file
0
view/message-end.tpl
Normal file
17
view/message-head.tpl
Normal file
17
view/message-head.tpl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<script src="$baseurl/library/jquery_ac/friendica.complete.js" ></script>
|
||||
|
||||
<script>$(document).ready(function() {
|
||||
var a;
|
||||
a = $("#recip").autocomplete({
|
||||
serviceUrl: '$base/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
onSelect: function(value,data) {
|
||||
$("#recip-complete").val(data);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
0
view/msg-end.tpl
Normal file
0
view/msg-end.tpl
Normal file
11
view/photo_edit_head.tpl
Normal file
11
view/photo_edit_head.tpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
<script>
|
||||
|
||||
$(document).keydown(function(event) {
|
||||
|
||||
if("$prevlink" != '') { if(event.ctrlKey && event.keyCode == 37) { event.preventDefault(); window.location.href = "$prevlink"; }}
|
||||
if("$nextlink" != '') { if(event.ctrlKey && event.keyCode == 39) { event.preventDefault(); window.location.href = "$nextlink"; }}
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
26
view/photos_head.tpl
Normal file
26
view/photos_head.tpl
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
<script>
|
||||
|
||||
var ispublic = "$ispublic";
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $(this).text();
|
||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
|
@ -12,7 +12,9 @@
|
|||
<div id="photos-upload-new-end"></div>
|
||||
<div id="photos-upload-exist-wrapper">
|
||||
<div id="photos-upload-existing-album-text">$existalbumtext</div>
|
||||
<select id="photos-upload-album-select" name="album" size="4">
|
||||
$albumselect
|
||||
</select>
|
||||
</div>
|
||||
<div id="photos-upload-exist-end"></div>
|
||||
|
||||
|
|
|
|||
0
view/profed_end.tpl
Normal file
0
view/profed_end.tpl
Normal file
|
|
@ -1,3 +1,5 @@
|
|||
<script type="text/javascript" src="js/country.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
|
|
|||
0
view/settings-end.tpl
Normal file
0
view/settings-end.tpl
Normal file
25
view/settings-head.tpl
Normal file
25
view/settings-head.tpl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
<script>
|
||||
var ispublic = "$ispublic";
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $(this).text();
|
||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
0
view/settings_display_end.tpl
Normal file
0
view/settings_display_end.tpl
Normal file
|
|
@ -14,3 +14,11 @@ Photo album display?
|
|||
|
||||
- Admin: access to more pages than summary?
|
||||
|
||||
- Embedded video playback is way too big
|
||||
|
||||
- Needs to be faster!
|
||||
- Reduce DOM elements (~2400 for 10 items, ~8400 for 40 items)
|
||||
- Automatically set limit of 10 items for Network and Profile?
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
22
view/theme/frost-mobile/acl_selector.tpl
Normal file
22
view/theme/frost-mobile/acl_selector.tpl
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<div id="acl-wrapper">
|
||||
<input id="acl-search">
|
||||
<a href="#" id="acl-showall">$showall</a>
|
||||
<div id="acl-list">
|
||||
<div id="acl-list-content">
|
||||
</div>
|
||||
</div>
|
||||
<span id="acl-fields"></span>
|
||||
</div>
|
||||
|
||||
<div class="acl-list-item" rel="acl-template" style="display:none">
|
||||
<img src="{0}"><p>{1}</p>
|
||||
<a href="#" class='acl-button-show'>$show</a>
|
||||
<a href="#" class='acl-button-hide'>$hide</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.allowCID = $allowcid;
|
||||
window.allowGID = $allowgid;
|
||||
window.denyCID = $denycid;
|
||||
window.denyGID = $denygid;
|
||||
</script>
|
||||
|
|
@ -1,15 +1,4 @@
|
|||
<script>
|
||||
// update pending count //
|
||||
$(function(){
|
||||
|
||||
$("nav").bind('nav-update', function(e,data){
|
||||
var elm = $('#pending-update');
|
||||
var register = $(data).find('register').text();
|
||||
if (register=="0") { reigster=""; elm.hide();} else { elm.show(); }
|
||||
elm.html(register);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<h4><a href="$admurl">$admtxt</a></h4>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
|
||||
|
|
|
|||
|
|
@ -1,39 +1,4 @@
|
|||
<!--<script>
|
||||
$(function(){
|
||||
|
||||
$("#cnftheme").fancybox({
|
||||
width: 800,
|
||||
autoDimensions: false,
|
||||
onStart: function(){
|
||||
var theme = $("#id_theme :selected").val();
|
||||
$("#cnftheme").attr('href',"$baseurl/admin/themes/"+theme);
|
||||
},
|
||||
onComplete: function(){
|
||||
$("div#fancybox-content form").submit(function(e){
|
||||
var url = $(this).attr('action');
|
||||
// can't get .serialize() to work...
|
||||
var data={};
|
||||
$(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();
|
||||
$.fancybox.close();
|
||||
})
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>-->
|
||||
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<!-- <script>
|
||||
$(document).ready( function () {
|
||||
$(document).mouseup(function(e) {
|
||||
var container = $("#comment-edit-wrapper-$id");
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>-->
|
||||
|
||||
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;" >
|
||||
<form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;" >
|
||||
|
|
@ -19,10 +19,10 @@
|
|||
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||
|
||||
<div class="comment-edit-photo" id="comment-edit-photo-$id" >
|
||||
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||
</div>
|
||||
<div class="comment-edit-photo-end"></div>
|
||||
<!--<div class="comment-edit-photo" id="comment-edit-photo-$id" >-->
|
||||
<a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-$id" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||
<!--</div>-->
|
||||
<!--<div class="comment-edit-photo-end"></div>-->
|
||||
<ul class="comment-edit-bb-$id">
|
||||
<li><a class="editicon boldbb shadow"
|
||||
style="cursor: pointer;" title="$edbold"
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
style="cursor: pointer;" title="$edvideo"
|
||||
onclick="insertFormatting('$comment','video', $id);"></a></li>-->
|
||||
</ul>
|
||||
<div class="comment-edit-bb-end"></div>
|
||||
<!--<div class="comment-edit-bb-end"></div>-->
|
||||
<!-- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
|
||||
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
|
||||
{{ if $qcomment }}
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->
|
||||
</div>
|
||||
|
||||
<div class="comment-edit-end"></div>
|
||||
<!--<div class="comment-edit-end"></div>-->
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
88
view/theme/frost-mobile/contact_edit.tpl
Normal file
88
view/theme/frost-mobile/contact_edit.tpl
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
|
||||
<h2>$header</h2>
|
||||
|
||||
<div id="contact-edit-wrapper" >
|
||||
|
||||
$tab_str
|
||||
|
||||
<div id="contact-edit-drop-link" >
|
||||
<a href="contacts/$contact_id/drop" class="icon drophide" id="contact-edit-drop-link" onclick="return confirmDelete();" title="$delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);"></a>
|
||||
</div>
|
||||
|
||||
<div id="contact-edit-drop-link-end"></div>
|
||||
|
||||
|
||||
<div id="contact-edit-nav-wrapper" >
|
||||
<div id="contact-edit-links">
|
||||
<ul>
|
||||
<li><div id="contact-edit-rel">$relation_text</div></li>
|
||||
<li><div id="contact-edit-nettype">$nettype</div></li>
|
||||
{{ if $lost_contact }}
|
||||
<li><div id="lost-contact-message">$lost_contact</div></li>
|
||||
{{ endif }}
|
||||
{{ if $insecure }}
|
||||
<li><div id="insecure-message">$insecure</div></li>
|
||||
{{ endif }}
|
||||
{{ if $blocked }}
|
||||
<li><div id="block-message">$blocked</div></li>
|
||||
{{ endif }}
|
||||
{{ if $ignored }}
|
||||
<li><div id="ignore-message">$ignored</div></li>
|
||||
{{ endif }}
|
||||
{{ if $archived }}
|
||||
<li><div id="archive-message">$archived</div></li>
|
||||
{{ endif }}
|
||||
|
||||
<li> </li>
|
||||
|
||||
{{ if $common_text }}
|
||||
<li><div id="contact-edit-common"><a href="$common_link">$common_text</a></div></li>
|
||||
{{ endif }}
|
||||
{{ if $all_friends }}
|
||||
<li><div id="contact-edit-allfriends"><a href="allfriends/$contact_id">$all_friends</a></div></li>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
<li><a href="network/?cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li>
|
||||
{{ if $lblsuggest }}
|
||||
<li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li>
|
||||
{{ endif }}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="contact-edit-nav-end"></div>
|
||||
|
||||
|
||||
<form action="contacts/$contact_id" method="post" >
|
||||
<input type="hidden" name="contact_id" value="$contact_id">
|
||||
|
||||
{{ if $poll_enabled }}
|
||||
<div id="contact-edit-poll-wrapper">
|
||||
<div id="contact-edit-last-update-text">$lastupdtext <span id="contact-edit-last-updated">$last_update</span></div>
|
||||
<span id="contact-edit-poll-text">$updpub $poll_interval</span> <span id="contact-edit-update-now" class="button"><a id="update_now_link" href="contacts/$contact_id/update" >$udnow</a></span>
|
||||
</div>
|
||||
{{ endif }}
|
||||
<div id="contact-edit-end" ></div>
|
||||
|
||||
{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
|
||||
|
||||
<div id="contact-edit-info-wrapper">
|
||||
<h4>$lbl_info1</h4>
|
||||
<textarea id="contact-edit-info" rows="8" cols="35" name="info">$info</textarea>
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
<div id="contact-edit-info-end"></div>
|
||||
|
||||
|
||||
<div id="contact-edit-profile-select-text">
|
||||
<h4>$lbl_vis1</h4>
|
||||
<p>$lbl_vis2</p>
|
||||
</div>
|
||||
$profile_select
|
||||
<div id="contact-edit-profile-select-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<!--<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "$editselect",
|
||||
elements: "contact-edit-info",
|
||||
plugins : "bbcode",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_styles : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
content_css: "$baseurl/view/custom_tinymce.css"
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
-->
|
||||
4
view/theme/frost-mobile/contacts-end.tpl
Normal file
4
view/theme/frost-mobile/contacts-end.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<script src="$baseurl/library/jquery_ac/friendica.complete.min.js" ></script>
|
||||
|
||||
|
||||
5
view/theme/frost-mobile/contacts-head.tpl
Normal file
5
view/theme/frost-mobile/contacts-head.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script>
|
||||
window.autocompleteType = 'contacts-head';
|
||||
</script>
|
||||
|
||||
27
view/theme/frost-mobile/cropbody.tpl
Normal file
27
view/theme/frost-mobile/cropbody.tpl
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<h1>$title</h1>
|
||||
<p id="cropimage-desc">
|
||||
$desc
|
||||
</p>
|
||||
<div id="cropimage-wrapper">
|
||||
<img src="$image_url" id="croppa" class="imgCrop" alt="$title" />
|
||||
</div>
|
||||
<div id="cropimage-preview-wrapper" >
|
||||
<div id="previewWrap" ></div>
|
||||
</div>
|
||||
|
||||
<form action="profile_photo/$resource" id="crop-image-form" method="post" />
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
<input type="hidden" name="cropfinal" value="1" />
|
||||
<input type="hidden" name="xstart" id="x1" />
|
||||
<input type="hidden" name="ystart" id="y1" />
|
||||
<input type="hidden" name="xfinal" id="x2" />
|
||||
<input type="hidden" name="yfinal" id="y2" />
|
||||
<input type="hidden" name="height" id="height" />
|
||||
<input type="hidden" name="width" id="width" />
|
||||
|
||||
<div id="crop-image-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="$done" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
4
view/theme/frost-mobile/cropend.tpl
Normal file
4
view/theme/frost-mobile/cropend.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script>
|
||||
<script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
|
||||
<script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script>
|
||||
<script type="text/javascript" language="javascript">initCrop();</script>
|
||||
1
view/theme/frost-mobile/crophead.tpl
Normal file
1
view/theme/frost-mobile/crophead.tpl
Normal file
|
|
@ -0,0 +1 @@
|
|||
<link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" />
|
||||
|
|
@ -36,6 +36,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if(x($page,'end')) echo $page['end']; ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
|||
4
view/theme/frost-mobile/display-head.tpl
Normal file
4
view/theme/frost-mobile/display-head.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<script>
|
||||
window.autoCompleteType = 'display-head';
|
||||
</script>
|
||||
|
||||
19
view/theme/frost-mobile/end.tpl
Normal file
19
view/theme/frost-mobile/end.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!--[if IE]>
|
||||
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<!--<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
|
||||
<script type="text/javascript">
|
||||
tinyMCE.init({ mode : "none"});
|
||||
</script>-->
|
||||
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
||||
<script type="text/javascript">var $j = jQuery.noConflict();</script>
|
||||
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost-mobile/js/fk.autocomplete.min.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/view/theme/frost-mobile/js/acl.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost-mobile/js/theme.min.js"></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost-mobile/js/main.min.js" ></script>
|
||||
|
||||
4
view/theme/frost-mobile/event_end.tpl
Normal file
4
view/theme/frost-mobile/event_end.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script>
|
||||
|
||||
|
||||
|
|
@ -1,139 +1,6 @@
|
|||
<link rel='stylesheet' type='text/css' href='$baseurl/library/fullcalendar/fullcalendar.css' />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script>
|
||||
|
||||
<script>
|
||||
function showEvent(eventid) {
|
||||
/* $.get(
|
||||
'$baseurl/events/?id='+eventid,
|
||||
function(data){
|
||||
$.fancybox(data);
|
||||
}
|
||||
); */
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#events-calendar').fullCalendar({
|
||||
events: '$baseurl/events/json/',
|
||||
header: {
|
||||
left: 'prev,next today',
|
||||
center: 'title',
|
||||
right: 'month,agendaWeek,agendaDay'
|
||||
},
|
||||
timeFormat: 'H(:mm)',
|
||||
eventClick: function(calEvent, jsEvent, view) {
|
||||
showEvent(calEvent.id);
|
||||
},
|
||||
|
||||
eventRender: function(event, element, view) {
|
||||
//console.log(view.name);
|
||||
if (event.item['author-name']==null) return;
|
||||
switch(view.name){
|
||||
case "month":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:10px;width:10px'>{1} : {2}".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.title
|
||||
));
|
||||
break;
|
||||
case "agendaWeek":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:12px; width:12px'>{1}<p>{2}</p><p>{3}</p>".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.item.desc,
|
||||
event.item.location
|
||||
));
|
||||
break;
|
||||
case "agendaDay":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:24px;width:24px'>{1}<p>{2}</p><p>{3}</p>".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.item.desc,
|
||||
event.item.location
|
||||
));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
// center on date
|
||||
var args=location.href.replace(baseurl,"").split("/");
|
||||
if (args.length>=4) {
|
||||
$("#events-calendar").fullCalendar('gotoDate',args[2] , args[3]-1);
|
||||
}
|
||||
|
||||
// show event popup
|
||||
var hash = location.hash.split("-")
|
||||
if (hash.length==2 && hash[0]=="#link") showEvent(hash[1]);
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<!--<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>-->
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
/*
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
*/
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#event-share-checkbox').change(function() {
|
||||
|
||||
if ($('#event-share-checkbox').is(':checked')) {
|
||||
$('#acl-wrapper').show();
|
||||
}
|
||||
else {
|
||||
$('#acl-wrapper').hide();
|
||||
}
|
||||
}).trigger('change');
|
||||
|
||||
|
||||
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $(this).text();
|
||||
$('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
|
||||
});
|
||||
|
||||
window.aclType = 'event_head';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
6
view/theme/frost-mobile/field_checkbox.tpl
Normal file
6
view/theme/frost-mobile/field_checkbox.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
<div class='field checkbox'>
|
||||
<label id='label_id_$field.0' for='id_$field.0'>$field.1</label>
|
||||
<input type="checkbox" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="checked"{{ endif }}><br />
|
||||
<span class='field_help' id='help_id_$field.0'>$field.3</span>
|
||||
</div>
|
||||
9
view/theme/frost-mobile/field_themeselect.tpl
Normal file
9
view/theme/frost-mobile/field_themeselect.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
<div class='field select'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<select name='$field.0' id='id_$field.0' onchange="previewTheme(this);" >
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }}
|
||||
</select>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<div id="theme-preview"></div>
|
||||
</div>
|
||||
|
|
@ -16,90 +16,12 @@
|
|||
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/view/theme/frost-mobile/js/acl.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost-mobile/js/main.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost-mobile/js/theme.js"></script>
|
||||
<script>
|
||||
|
||||
window.delItem = "$delitem";
|
||||
window.commentEmptyText = "$comment";
|
||||
window.showMore = "$showmore";
|
||||
window.showFewer = "$showfewer";
|
||||
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('');
|
||||
}
|
||||
|
||||
function showHideComments(id) {
|
||||
if( $('#collapsed-comments-' + id).is(':visible')) {
|
||||
$('#collapsed-comments-' + id).hide();
|
||||
$('#hide-comments-' + id).html('$showmore');
|
||||
}
|
||||
else {
|
||||
$('#collapsed-comments-' + id).show();
|
||||
$('#hide-comments-' + id).html('$showfewer');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
|
|
|||
5
view/theme/frost-mobile/jot-end.tpl
Normal file
5
view/theme/frost-mobile/jot-end.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script type="text/javascript" src="$baseurl/js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script>if(typeof window.jotInit != 'undefined') initEditor();</script>
|
||||
|
||||
|
|
@ -1,212 +1,15 @@
|
|||
|
||||
<script type="text/javascript" src="$baseurl/js/ajaxupload.js" ></script>
|
||||
|
||||
<script>
|
||||
var ispublic = '$ispublic';
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
/* enable tinymce on focus and click */
|
||||
$("#profile-jot-text").focus(enableOnUser);
|
||||
$("#profile-jot-text").click(enableOnUser);
|
||||
|
||||
var uploader = new window.AjaxUpload(
|
||||
'wall-image-upload',
|
||||
{ action: 'wall_upload/$nickname',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
var file_uploader = new window.AjaxUpload(
|
||||
'wall-file-upload',
|
||||
{ action: 'wall_attach/$nickname',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
});
|
||||
|
||||
/* function deleteCheckedItems() {
|
||||
var checkedstr = '';
|
||||
|
||||
$('.item-select').each( function() {
|
||||
if($(this).is(':checked')) {
|
||||
if(checkedstr.length != 0) {
|
||||
checkedstr = checkedstr + ',' + $(this).val();
|
||||
}
|
||||
else {
|
||||
checkedstr = $(this).val();
|
||||
}
|
||||
}
|
||||
});
|
||||
$.post('item', { dropitems: checkedstr }, function(data) {
|
||||
window.location.reload();
|
||||
});
|
||||
}*/
|
||||
|
||||
function jotGetLink() {
|
||||
reply = prompt("$linkurl");
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?binurl=' + reply, function(data) {
|
||||
addeditortext(data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function jotVideoURL() {
|
||||
reply = prompt("$vidurl");
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[video]' + reply + '[/video]');
|
||||
}
|
||||
}
|
||||
|
||||
function jotAudioURL() {
|
||||
reply = prompt("$audurl");
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[audio]' + reply + '[/audio]');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function jotGetLocation() {
|
||||
reply = prompt("$whereareu", $('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$('#jot-location').val(reply);
|
||||
}
|
||||
}
|
||||
|
||||
function jotShare(id) {
|
||||
if ($('#jot-popup').length != 0) $('#jot-popup').show();
|
||||
|
||||
$('#like-rotator-' + id).show();
|
||||
$.get('share/' + id, function(data) {
|
||||
if (!editor) $("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$('#like-rotator-' + id).hide();
|
||||
$(window).scrollTop(0);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/* function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?binurl=' + reply, function(data) {
|
||||
if (!editor) $("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
});
|
||||
}
|
||||
}*/
|
||||
|
||||
function itemTag(id) {
|
||||
reply = prompt("$term");
|
||||
if(reply && reply.length) {
|
||||
reply = reply.replace('#','');
|
||||
if(reply.length) {
|
||||
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
|
||||
$.get('tagger/' + id + '?term=' + reply);
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function itemFiler(id) {
|
||||
|
||||
$.get('filer/', function(data){
|
||||
|
||||
var promptText = $('#id_term_label', data).text();
|
||||
|
||||
reply = prompt(promptText);
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
$.get('filer/' + id + '?term=' + reply, NavUpdate);
|
||||
/* if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
/* $.fancybox.close();*/
|
||||
}
|
||||
});
|
||||
|
||||
/* var bordercolor = $("input").css("border-color");
|
||||
|
||||
$.get('filer/', function(data){
|
||||
$.fancybox(data);
|
||||
$("#id_term").keypress(function(){
|
||||
$(this).css("border-color",bordercolor);
|
||||
})
|
||||
$("#select_term").change(function(){
|
||||
$("#id_term").css("border-color",bordercolor);
|
||||
})
|
||||
|
||||
$("#filer_save").click(function(e){
|
||||
e.preventDefault();
|
||||
reply = $("#id_term").val();
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
$.get('filer/' + id + '?term=' + reply);
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
$.fancybox.close();
|
||||
} else {
|
||||
$("#id_term").css("border-color","#FF0000");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
*/
|
||||
}
|
||||
|
||||
function jotClearLocation() {
|
||||
$('#jot-coord').val('');
|
||||
$('#profile-nolocation-wrapper').hide();
|
||||
}
|
||||
|
||||
function addeditortext(data) {
|
||||
if(plaintext == 'none') {
|
||||
var currentText = $("#profile-jot-text").val();
|
||||
$("#profile-jot-text").val(currentText + data);
|
||||
}
|
||||
/* else
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);*/
|
||||
}
|
||||
|
||||
$geotag
|
||||
|
||||
window.editSelect = $editselect;
|
||||
window.isPublic = "$ispublic";
|
||||
window.nickname = "$nickname";
|
||||
window.linkURL = "$linkurl";
|
||||
window.vidURL = "$vidurl";
|
||||
window.audURL = "$audurl";
|
||||
window.whereAreU = "$whereareu";
|
||||
window.term = "$term";
|
||||
window.baseURL = "$baseurl";
|
||||
window.geoTag = function () { $geotag }
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
<input type="hidden" name="location" id="jot-location" value="$defloc" />
|
||||
<input type="hidden" name="coord" id="jot-coord" value="" />
|
||||
<input type="hidden" name="post_id" value="$post_id" />
|
||||
<input type="hidden" name="source" value="$mobileapp" />
|
||||
<input type="hidden" name="preview" id="jot-preview" value="0" />
|
||||
<div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none"></div>
|
||||
<div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>
|
||||
|
|
@ -82,4 +83,4 @@
|
|||
<div id="profile-jot-end"></div>
|
||||
</form>
|
||||
</div>
|
||||
{{ if $content }}<script>initEditor();</script>{{ endif }}
|
||||
{{ if $content }}<script>window.jotInit = true;</script>{{ endif }}
|
||||
|
|
|
|||
|
|
@ -13,41 +13,41 @@ function ACL(backend_url, preset){
|
|||
that.group_uids = [];
|
||||
that.nw = 2; //items per row. should be calulated from #acl-list.width
|
||||
|
||||
that.list_content = $("#acl-list-content");
|
||||
that.item_tpl = unescape($(".acl-list-item[rel=acl-template]").html());
|
||||
that.showall = $("#acl-showall");
|
||||
that.list_content = $j("#acl-list-content");
|
||||
that.item_tpl = unescape($j(".acl-list-item[rel=acl-template]").html());
|
||||
that.showall = $j("#acl-showall");
|
||||
|
||||
if (preset.length==0) that.showall.addClass("selected");
|
||||
|
||||
/*events*/
|
||||
that.showall.click(that.on_showall);
|
||||
$(".acl-button-show").live('click', that.on_button_show);
|
||||
$(".acl-button-hide").live('click', that.on_button_hide);
|
||||
$("#acl-search").keypress(that.on_search);
|
||||
$("#acl-wrapper").parents("form").submit(that.on_submit);
|
||||
$j(".acl-button-show").live('click', that.on_button_show);
|
||||
$j(".acl-button-hide").live('click', that.on_button_hide);
|
||||
$j("#acl-search").keypress(that.on_search);
|
||||
$j("#acl-wrapper").parents("form").submit(that.on_submit);
|
||||
|
||||
/* startup! */
|
||||
that.get(0,100);
|
||||
}
|
||||
|
||||
ACL.prototype.on_submit = function(){
|
||||
aclfileds = $("#acl-fields").html("");
|
||||
$(that.allow_gid).each(function(i,v){
|
||||
aclfileds = $j("#acl-fields").html("");
|
||||
$j(that.allow_gid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='group_allow[]' value='"+v+"'>");
|
||||
});
|
||||
$(that.allow_cid).each(function(i,v){
|
||||
$j(that.allow_cid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='contact_allow[]' value='"+v+"'>");
|
||||
});
|
||||
$(that.deny_gid).each(function(i,v){
|
||||
$j(that.deny_gid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='group_deny[]' value='"+v+"'>");
|
||||
});
|
||||
$(that.deny_cid).each(function(i,v){
|
||||
$j(that.deny_cid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='contact_deny[]' value='"+v+"'>");
|
||||
});
|
||||
}
|
||||
|
||||
ACL.prototype.search = function(){
|
||||
var srcstr = $("#acl-search").val();
|
||||
var srcstr = $j("#acl-search").val();
|
||||
that.list_content.html("");
|
||||
that.get(0,100, srcstr);
|
||||
}
|
||||
|
|
@ -82,10 +82,10 @@ ACL.prototype.on_button_show = function(event){
|
|||
event.stopPropagation();
|
||||
|
||||
/*that.showall.removeClass("selected");
|
||||
$(this).siblings(".acl-button-hide").removeClass("selected");
|
||||
$(this).toggleClass("selected");*/
|
||||
$j(this).siblings(".acl-button-hide").removeClass("selected");
|
||||
$j(this).toggleClass("selected");*/
|
||||
|
||||
that.set_allow($(this).parent().attr('id'));
|
||||
that.set_allow($j(this).parent().attr('id'));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
@ -95,10 +95,10 @@ ACL.prototype.on_button_hide = function(event){
|
|||
event.stopPropagation();
|
||||
|
||||
/*that.showall.removeClass("selected");
|
||||
$(this).siblings(".acl-button-show").removeClass("selected");
|
||||
$(this).toggleClass("selected");*/
|
||||
$j(this).siblings(".acl-button-show").removeClass("selected");
|
||||
$j(this).toggleClass("selected");*/
|
||||
|
||||
that.set_deny($(this).parent().attr('id'));
|
||||
that.set_deny($j(this).parent().attr('id'));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
@ -156,32 +156,32 @@ ACL.prototype.update_view = function(){
|
|||
that.deny_gid.length==0 && that.deny_cid.length==0){
|
||||
that.showall.addClass("selected");
|
||||
/* jot acl */
|
||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$('#jot-public').show();
|
||||
$('.profile-jot-net input').attr('disabled', false);
|
||||
$j('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$j('#jot-public').show();
|
||||
$j('.profile-jot-net input').attr('disabled', false);
|
||||
if(typeof editor != 'undefined' && editor != false) {
|
||||
$('#profile-jot-desc').html(ispublic);
|
||||
$j('#profile-jot-desc').html(ispublic);
|
||||
}
|
||||
|
||||
} else {
|
||||
that.showall.removeClass("selected");
|
||||
/* jot acl */
|
||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$('#jot-public').hide();
|
||||
$('.profile-jot-net input').attr('disabled', 'disabled');
|
||||
$('#profile-jot-desc').html(' ');
|
||||
$j('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$j('#jot-public').hide();
|
||||
$j('.profile-jot-net input').attr('disabled', 'disabled');
|
||||
$j('#profile-jot-desc').html(' ');
|
||||
}
|
||||
$("#acl-list-content .acl-list-item").each(function(){
|
||||
$(this).removeClass("groupshow grouphide");
|
||||
$j("#acl-list-content .acl-list-item").each(function(){
|
||||
$j(this).removeClass("groupshow grouphide");
|
||||
});
|
||||
|
||||
$("#acl-list-content .acl-list-item").each(function(){
|
||||
itemid = $(this).attr('id');
|
||||
$j("#acl-list-content .acl-list-item").each(function(){
|
||||
itemid = $j(this).attr('id');
|
||||
type = itemid[0];
|
||||
id = parseInt(itemid.substr(1));
|
||||
|
||||
btshow = $(this).children(".acl-button-show").removeClass("selected");
|
||||
bthide = $(this).children(".acl-button-hide").removeClass("selected");
|
||||
btshow = $j(this).children(".acl-button-show").removeClass("selected");
|
||||
bthide = $j(this).children(".acl-button-hide").removeClass("selected");
|
||||
|
||||
switch(type){
|
||||
case "g":
|
||||
|
|
@ -197,16 +197,16 @@ ACL.prototype.update_view = function(){
|
|||
uclass="grouphide";
|
||||
}
|
||||
|
||||
$(that.group_uids[id]).each(function(i,v) {
|
||||
$j(that.group_uids[id]).each(function(i,v) {
|
||||
if(uclass == "grouphide")
|
||||
$("#c"+v).removeClass("groupshow");
|
||||
$j("#c"+v).removeClass("groupshow");
|
||||
if(uclass != "") {
|
||||
var cls = $("#c"+v).attr('class');
|
||||
var cls = $j("#c"+v).attr('class');
|
||||
if( cls == undefined)
|
||||
return true;
|
||||
var hiding = cls.indexOf('grouphide');
|
||||
if(hiding == -1)
|
||||
$("#c"+v).addClass(uclass);
|
||||
$j("#c"+v).addClass(uclass);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -234,7 +234,7 @@ ACL.prototype.get = function(start,count, search){
|
|||
search:search,
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
$j.ajax({
|
||||
type:'POST',
|
||||
url: that.url,
|
||||
data: postdata,
|
||||
|
|
@ -246,7 +246,7 @@ ACL.prototype.get = function(start,count, search){
|
|||
ACL.prototype.populate = function(data){
|
||||
/* var height = Math.ceil(data.tot / that.nw) * 42;
|
||||
that.list_content.height(height);*/
|
||||
$(data.items).each(function(){
|
||||
$j(data.items).each(function(){
|
||||
html = "<div class='acl-list-item {4} {5}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>";
|
||||
html = html.format( this.photo, this.name, this.type, this.id, '', this.network, this.link );
|
||||
if (this.uids!=undefined) that.group_uids[this.id] = this.uids;
|
||||
|
|
|
|||
1
view/theme/frost-mobile/js/acl.min.js
vendored
Normal file
1
view/theme/frost-mobile/js/acl.min.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
function ACL(e,t){that=this,that.url=e,that.kp_timer=null,t==undefined&&(t=[]),that.allow_cid=t[0]||[],that.allow_gid=t[1]||[],that.deny_cid=t[2]||[],that.deny_gid=t[3]||[],that.group_uids=[],that.nw=2,that.list_content=$j("#acl-list-content"),that.item_tpl=unescape($j(".acl-list-item[rel=acl-template]").html()),that.showall=$j("#acl-showall"),t.length==0&&that.showall.addClass("selected"),that.showall.click(that.on_showall),$j(".acl-button-show").live("click",that.on_button_show),$j(".acl-button-hide").live("click",that.on_button_hide),$j("#acl-search").keypress(that.on_search),$j("#acl-wrapper").parents("form").submit(that.on_submit),that.get(0,100)}ACL.prototype.on_submit=function(){aclfileds=$j("#acl-fields").html(""),$j(that.allow_gid).each(function(e,t){aclfileds.append("<input type='hidden' name='group_allow[]' value='"+t+"'>")}),$j(that.allow_cid).each(function(e,t){aclfileds.append("<input type='hidden' name='contact_allow[]' value='"+t+"'>")}),$j(that.deny_gid).each(function(e,t){aclfileds.append("<input type='hidden' name='group_deny[]' value='"+t+"'>")}),$j(that.deny_cid).each(function(e,t){aclfileds.append("<input type='hidden' name='contact_deny[]' value='"+t+"'>")})},ACL.prototype.search=function(){var e=$j("#acl-search").val();that.list_content.html(""),that.get(0,100,e)},ACL.prototype.on_search=function(e){that.kp_timer&&clearTimeout(that.kp_timer),that.kp_timer=setTimeout(that.search,1e3)},ACL.prototype.on_showall=function(e){return e.preventDefault(),e.stopPropagation(),that.showall.hasClass("selected")?!1:(that.showall.addClass("selected"),that.allow_cid=[],that.allow_gid=[],that.deny_cid=[],that.deny_gid=[],that.update_view(),!1)},ACL.prototype.on_button_show=function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),that.set_allow($j(this).parent().attr("id")),!1},ACL.prototype.on_button_hide=function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),that.set_deny($j(this).parent().attr("id")),!1},ACL.prototype.set_allow=function(e){type=e[0],id=parseInt(e.substr(1));switch(type){case"g":that.allow_gid.indexOf(id)<0?that.allow_gid.push(id):that.allow_gid.remove(id),that.deny_gid.indexOf(id)>=0&&that.deny_gid.remove(id);break;case"c":that.allow_cid.indexOf(id)<0?that.allow_cid.push(id):that.allow_cid.remove(id),that.deny_cid.indexOf(id)>=0&&that.deny_cid.remove(id)}that.update_view()},ACL.prototype.set_deny=function(e){type=e[0],id=parseInt(e.substr(1));switch(type){case"g":that.deny_gid.indexOf(id)<0?that.deny_gid.push(id):that.deny_gid.remove(id),that.allow_gid.indexOf(id)>=0&&that.allow_gid.remove(id);break;case"c":that.deny_cid.indexOf(id)<0?that.deny_cid.push(id):that.deny_cid.remove(id),that.allow_cid.indexOf(id)>=0&&that.allow_cid.remove(id)}that.update_view()},ACL.prototype.update_view=function(){that.allow_gid.length==0&&that.allow_cid.length==0&&that.deny_gid.length==0&&that.deny_cid.length==0?(that.showall.addClass("selected"),$j("#jot-perms-icon").removeClass("lock").addClass("unlock"),$j("#jot-public").show(),$j(".profile-jot-net input").attr("disabled",!1),typeof editor!="undefined"&&editor!=0&&$j("#profile-jot-desc").html(ispublic)):(that.showall.removeClass("selected"),$j("#jot-perms-icon").removeClass("unlock").addClass("lock"),$j("#jot-public").hide(),$j(".profile-jot-net input").attr("disabled","disabled"),$j("#profile-jot-desc").html(" ")),$j("#acl-list-content .acl-list-item").each(function(){$j(this).removeClass("groupshow grouphide")}),$j("#acl-list-content .acl-list-item").each(function(){itemid=$j(this).attr("id"),type=itemid[0],id=parseInt(itemid.substr(1)),btshow=$j(this).children(".acl-button-show").removeClass("selected"),bthide=$j(this).children(".acl-button-hide").removeClass("selected");switch(type){case"g":var e="";that.allow_gid.indexOf(id)>=0&&(btshow.addClass("selected"),bthide.removeClass("selected"),e="groupshow"),that.deny_gid.indexOf(id)>=0&&(btshow.removeClass("selected"),bthide.addClass("selected"),e="grouphide"),$j(that.group_uids[id]).each(function(t,n){e=="grouphide"&&$j("#c"+n).removeClass("groupshow");if(e!=""){var r=$j("#c"+n).attr("class");if(r==undefined)return!0;var i=r.indexOf("grouphide");i==-1&&$j("#c"+n).addClass(e)}});break;case"c":that.allow_cid.indexOf(id)>=0&&(btshow.addClass("selected"),bthide.removeClass("selected")),that.deny_cid.indexOf(id)>=0&&(btshow.removeClass("selected"),bthide.addClass("selected"))}})},ACL.prototype.get=function(e,t,n){var r={start:e,count:t,search:n};$j.ajax({type:"POST",url:that.url,data:r,dataType:"json",success:that.populate})},ACL.prototype.populate=function(e){$j(e.items).each(function(){html="<div class='acl-list-item {4} {5}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>",html=html.format(this.photo,this.name,this.type,this.id,"",this.network,this.link),this.uids!=undefined&&(that.group_uids[this.id]=this.uids),that.list_content.append(html)}),that.update_view()};
|
||||
5
view/theme/frost-mobile/js/fk.autocomplete.min.js
vendored
Normal file
5
view/theme/frost-mobile/js/fk.autocomplete.min.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/**
|
||||
* 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=$j(e).offset(),n=$j(e).width(),r=$j(e).height();else{var i=e.getContainer();typeof i!="undefined"&&(style=$j(i).offset(),n=$j(i).width(),r=$j(i).height())}style.top=style.top+r,style.width=n,style.position="absolute",style.display="none",this.cont=$j("<div class='acpopup'></div>"),this.cont.css(style),$j("body").append(this.cont)}function ContactAutocomplete(e,t){this.pattern=/@([^ \n]+)$/,this.popup=null;var n=this;$j(e).unbind("keydown"),$j(e).unbind("keyup"),$j(e).keydown(function(e){n.popup!==null&&n.popup.onkey(e)}),$j(e).keyup(function(e){cpos=$j(this).getSelection(),cpos.start==cpos.end&&(match=$j(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(){$j(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"};$j.ajax({type:"POST",url:this.url,data:t,dataType:"json",success:function(t){e.cont.html(""),t.tot>0?(e.cont.show(),$j(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=$j("<div class='acpopupitem' title='"+n+"'>"+e+"</div>");i.click(function(e){t=$j(this).attr("title").replace(new RegExp(" - .*"),""),typeof r.element.container=="undefined"?(el=$j(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())}),$j(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"),$j(this.cont.children()[this.idsel]).addClass("selected");e.keyCode=="27"&&this.close()},function(e){$j.fn.contact_autocomplete=function(e){this.each(function(){new ContactAutocomplete(this,e)})}}(jQuery);
|
||||
|
|
@ -33,14 +33,14 @@
|
|||
var last_popup_menu = null;
|
||||
var last_popup_button = null;
|
||||
|
||||
$(function() {
|
||||
$.ajaxSetup({cache: false});
|
||||
$j(function() {
|
||||
$j.ajaxSetup({cache: false});
|
||||
|
||||
msie = $.browser.msie ;
|
||||
msie = $j.browser.msie ;
|
||||
|
||||
/* setup tooltips *//*
|
||||
$("a,.tt").each(function(){
|
||||
var e = $(this);
|
||||
$j("a,.tt").each(function(){
|
||||
var e = $j(this);
|
||||
var pos="bottom";
|
||||
if (e.hasClass("tttop")) pos="top";
|
||||
if (e.hasClass("ttbottom")) pos="bottom";
|
||||
|
|
@ -52,19 +52,19 @@
|
|||
|
||||
|
||||
/* setup onoff widgets */
|
||||
$(".onoff input").each(function(){
|
||||
val = $(this).val();
|
||||
id = $(this).attr("id");
|
||||
$("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
|
||||
$j(".onoff input").each(function(){
|
||||
val = $j(this).val();
|
||||
id = $j(this).attr("id");
|
||||
$j("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
|
||||
|
||||
});
|
||||
$(".onoff > a").click(function(event){
|
||||
$j(".onoff > a").click(function(event){
|
||||
event.preventDefault();
|
||||
var input = $(this).siblings("input");
|
||||
var input = $j(this).siblings("input");
|
||||
var val = 1-input.val();
|
||||
var id = input.attr("id");
|
||||
$("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
|
||||
$("#"+id+"_onoff ."+ (val==1?"on":"off")).removeClass("hidden");
|
||||
$j("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
|
||||
$j("#"+id+"_onoff ."+ (val==1?"on":"off")).removeClass("hidden");
|
||||
input.val(val);
|
||||
//console.log(id);
|
||||
});
|
||||
|
|
@ -76,98 +76,98 @@
|
|||
function close_last_popup_menu(e) {
|
||||
|
||||
if( last_popup_menu ) {
|
||||
if( '#' + last_popup_menu.attr('id') !== $(e.target).attr('rel')) {
|
||||
if( '#' + last_popup_menu.attr('id') !== $j(e.target).attr('rel')) {
|
||||
last_popup_menu.hide();
|
||||
if (last_popup_menu.attr('id') == "nav-notifications-menu" ) $('section').show();
|
||||
if (last_popup_menu.attr('id') == "nav-notifications-menu" ) $j('section').show();
|
||||
last_popup_button.removeClass("selected");
|
||||
last_popup_menu = null;
|
||||
last_popup_button = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
$('img[rel^=#]').click(function(e){
|
||||
$j('img[rel^=#]').click(function(e){
|
||||
|
||||
close_last_popup_menu(e);
|
||||
menu = $( $(this).attr('rel') );
|
||||
menu = $j( $j(this).attr('rel') );
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
if (menu.attr('popup')=="false") return false;
|
||||
|
||||
// $(this).parent().toggleClass("selected");
|
||||
// $j(this).parent().toggleClass("selected");
|
||||
// menu.toggle();
|
||||
|
||||
if (menu.css("display") == "none") {
|
||||
$(this).parent().addClass("selected");
|
||||
$j(this).parent().addClass("selected");
|
||||
menu.show();
|
||||
if (menu.attr('id') == "nav-notifications-menu" ) $('section').hide();
|
||||
if (menu.attr('id') == "nav-notifications-menu" ) $j('section').hide();
|
||||
last_popup_menu = menu;
|
||||
last_popup_button = $(this).parent();
|
||||
last_popup_button = $j(this).parent();
|
||||
} else {
|
||||
$(this).parent().removeClass("selected");
|
||||
$j(this).parent().removeClass("selected");
|
||||
menu.hide();
|
||||
if (menu.attr('id') == "nav-notifications-menu" ) $('section').show();
|
||||
if (menu.attr('id') == "nav-notifications-menu" ) $j('section').show();
|
||||
last_popup_menu = null;
|
||||
last_popup_button = null;
|
||||
}
|
||||
return false;
|
||||
});
|
||||
$('html').click(function(e) {
|
||||
$j('html').click(function(e) {
|
||||
close_last_popup_menu(e);
|
||||
});
|
||||
|
||||
// fancyboxes
|
||||
/*$("a.popupbox").fancybox({
|
||||
/*$j("a.popupbox").fancybox({
|
||||
'transitionIn' : 'elastic',
|
||||
'transitionOut' : 'elastic'
|
||||
});*/
|
||||
|
||||
|
||||
/* notifications template */
|
||||
var notifications_tpl= unescape($("#nav-notifications-template[rel=template]").html());
|
||||
var notifications_all = unescape($('<div>').append( $("#nav-notifications-see-all").clone() ).html()); //outerHtml hack
|
||||
var notifications_mark = unescape($('<div>').append( $("#nav-notifications-mark-all").clone() ).html()); //outerHtml hack
|
||||
var notifications_empty = unescape($("#nav-notifications-menu").html());
|
||||
var notifications_tpl= unescape($j("#nav-notifications-template[rel=template]").html());
|
||||
var notifications_all = unescape($j('<div>').append( $j("#nav-notifications-see-all").clone() ).html()); //outerHtml hack
|
||||
var notifications_mark = unescape($j('<div>').append( $j("#nav-notifications-mark-all").clone() ).html()); //outerHtml hack
|
||||
var notifications_empty = unescape($j("#nav-notifications-menu").html());
|
||||
|
||||
/* nav update event */
|
||||
$('nav').bind('nav-update', function(e,data){;
|
||||
var invalid = $(data).find('invalid').text();
|
||||
$j('nav').bind('nav-update', function(e,data){;
|
||||
var invalid = $j(data).find('invalid').text();
|
||||
if(invalid == 1) { window.location.href=window.location.href }
|
||||
|
||||
var net = $(data).find('net').text();
|
||||
if(net == 0) { net = ''; $('#net-update').removeClass('show') } else { $('#net-update').addClass('show') }
|
||||
$('#net-update').html(net);
|
||||
var net = $j(data).find('net').text();
|
||||
if(net == 0) { net = ''; $j('#net-update').removeClass('show') } else { $j('#net-update').addClass('show') }
|
||||
$j('#net-update').html(net);
|
||||
|
||||
var home = $(data).find('home').text();
|
||||
if(home == 0) { home = ''; $('#home-update').removeClass('show') } else { $('#home-update').addClass('show') }
|
||||
$('#home-update').html(home);
|
||||
var home = $j(data).find('home').text();
|
||||
if(home == 0) { home = ''; $j('#home-update').removeClass('show') } else { $j('#home-update').addClass('show') }
|
||||
$j('#home-update').html(home);
|
||||
|
||||
var intro = $(data).find('intro').text();
|
||||
if(intro == 0) { intro = ''; $('#intro-update').removeClass('show') } else { $('#intro-update').addClass('show') }
|
||||
$('#intro-update').html(intro);
|
||||
var intro = $j(data).find('intro').text();
|
||||
if(intro == 0) { intro = ''; $j('#intro-update').removeClass('show') } else { $j('#intro-update').addClass('show') }
|
||||
$j('#intro-update').html(intro);
|
||||
|
||||
var mail = $(data).find('mail').text();
|
||||
if(mail == 0) { mail = ''; $('#mail-update').removeClass('show') } else { $('#mail-update').addClass('show') }
|
||||
$('#mail-update').html(mail);
|
||||
var mail = $j(data).find('mail').text();
|
||||
if(mail == 0) { mail = ''; $j('#mail-update').removeClass('show') } else { $j('#mail-update').addClass('show') }
|
||||
$j('#mail-update').html(mail);
|
||||
|
||||
var intro = $(data).find('intro').text();
|
||||
if(intro == 0) { intro = ''; $('#intro-update-li').removeClass('show') } else { $('#intro-update-li').addClass('show') }
|
||||
$('#intro-update-li').html(intro);
|
||||
var intro = $j(data).find('intro').text();
|
||||
if(intro == 0) { intro = ''; $j('#intro-update-li').removeClass('show') } else { $j('#intro-update-li').addClass('show') }
|
||||
$j('#intro-update-li').html(intro);
|
||||
|
||||
var mail = $(data).find('mail').text();
|
||||
if(mail == 0) { mail = ''; $('#mail-update-li').removeClass('show') } else { $('#mail-update-li').addClass('show') }
|
||||
$('#mail-update-li').html(mail);
|
||||
var mail = $j(data).find('mail').text();
|
||||
if(mail == 0) { mail = ''; $j('#mail-update-li').removeClass('show') } else { $j('#mail-update-li').addClass('show') }
|
||||
$j('#mail-update-li').html(mail);
|
||||
|
||||
var eNotif = $(data).find('notif')
|
||||
var eNotif = $j(data).find('notif')
|
||||
|
||||
if (eNotif.children("note").length==0){
|
||||
$("#nav-notifications-menu").html(notifications_empty);
|
||||
$j("#nav-notifications-menu").html(notifications_empty);
|
||||
} else {
|
||||
nnm = $("#nav-notifications-menu");
|
||||
nnm = $j("#nav-notifications-menu");
|
||||
nnm.html(notifications_all + notifications_mark);
|
||||
//nnm.attr('popup','true');
|
||||
eNotif.children("note").each(function(){
|
||||
e = $(this);
|
||||
e = $j(this);
|
||||
text = e.text().format("<span class='contactname'>"+e.attr('name')+"</span>");
|
||||
html = notifications_tpl.format(e.attr('href'),e.attr('photo'), text, e.attr('date'), e.attr('seen'));
|
||||
nnm.append(html);
|
||||
|
|
@ -175,21 +175,21 @@
|
|||
}
|
||||
notif = eNotif.attr('count');
|
||||
if (notif>0){
|
||||
$("#nav-notifications-linkmenu").addClass("on");
|
||||
$j("#nav-notifications-linkmenu").addClass("on");
|
||||
} else {
|
||||
$("#nav-notifications-linkmenu").removeClass("on");
|
||||
$j("#nav-notifications-linkmenu").removeClass("on");
|
||||
}
|
||||
if(notif == 0) { notif = ''; $('#notify-update').removeClass('show') } else { $('#notify-update').addClass('show') }
|
||||
$('#notify-update').html(notif);
|
||||
if(notif == 0) { notif = ''; $j('#notify-update').removeClass('show') } else { $j('#notify-update').addClass('show') }
|
||||
$j('#notify-update').html(notif);
|
||||
|
||||
var eSysmsg = $(data).find('sysmsgs');
|
||||
var eSysmsg = $j(data).find('sysmsgs');
|
||||
eSysmsg.children("notice").each(function(){
|
||||
text = $(this).text();
|
||||
$.jGrowl(text, { sticky: true, theme: 'notice', life: 1000 });
|
||||
text = $j(this).text();
|
||||
$j.jGrowl(text, { sticky: false, theme: 'notice', life: 1500 });
|
||||
});
|
||||
eSysmsg.children("info").each(function(){
|
||||
text = $(this).text();
|
||||
$.jGrowl(text, { sticky: false, theme: 'info', life: 1000 });
|
||||
text = $j(this).text();
|
||||
$j.jGrowl(text, { sticky: false, theme: 'info', life: 1000 });
|
||||
});
|
||||
|
||||
});
|
||||
|
|
@ -197,7 +197,7 @@
|
|||
|
||||
NavUpdate();
|
||||
// Allow folks to stop the ajax page updates with the pause/break key
|
||||
/* $(document).keydown(function(event) {
|
||||
/* $j(document).keydown(function(event) {
|
||||
if(event.keyCode == '8') {
|
||||
var target = event.target || event.srcElement;
|
||||
if (!/input|textarea/i.test(target.nodeName)) {
|
||||
|
|
@ -211,7 +211,7 @@
|
|||
if (event.ctrlKey) {
|
||||
totStopped = true;
|
||||
}
|
||||
$('#pause').html('<img src="images/pause.gif" alt="pause" style="border: 1px solid black;" />');
|
||||
$j('#pause').html('<img src="images/pause.gif" alt="pause" style="border: 1px solid black;" />');
|
||||
} else {
|
||||
unpause();
|
||||
}
|
||||
|
|
@ -229,27 +229,27 @@
|
|||
|
||||
if(! stopped) {
|
||||
var pingCmd = 'ping' + ((localUser != 0) ? '?f=&uid=' + localUser : '');
|
||||
$.get(pingCmd,function(data) {
|
||||
$(data).find('result').each(function() {
|
||||
$j.get(pingCmd,function(data) {
|
||||
$j(data).find('result').each(function() {
|
||||
// send nav-update event
|
||||
$('nav').trigger('nav-update', this);
|
||||
$j('nav').trigger('nav-update', this);
|
||||
|
||||
|
||||
// start live update
|
||||
|
||||
|
||||
|
||||
if($('#live-network').length) { src = 'network'; liveUpdate(); }
|
||||
if($('#live-profile').length) { src = 'profile'; liveUpdate(); }
|
||||
if($('#live-community').length) { src = 'community'; liveUpdate(); }
|
||||
if($('#live-notes').length) { src = 'notes'; liveUpdate(); }
|
||||
if($('#live-display').length) {
|
||||
if($j('#live-network').length) { src = 'network'; liveUpdate(); }
|
||||
if($j('#live-profile').length) { src = 'profile'; liveUpdate(); }
|
||||
if($j('#live-community').length) { src = 'community'; liveUpdate(); }
|
||||
if($j('#live-notes').length) { src = 'notes'; liveUpdate(); }
|
||||
if($j('#live-display').length) {
|
||||
if(liking) {
|
||||
liking = 0;
|
||||
window.location.href=window.location.href
|
||||
}
|
||||
}
|
||||
if($('#live-photos').length) {
|
||||
if($j('#live-photos').length) {
|
||||
if(liking) {
|
||||
liking = 0;
|
||||
window.location.href=window.location.href
|
||||
|
|
@ -266,8 +266,8 @@
|
|||
}
|
||||
|
||||
function liveUpdate() {
|
||||
if((src == null) || (stopped) || (! profile_uid)) { $('.like-rotator').hide(); return; }
|
||||
if(($('.comment-edit-text-full').length) || (in_progress)) {
|
||||
if((src == null) || (stopped) || (! profile_uid)) { $j('.like-rotator').hide(); return; }
|
||||
if(($j('.comment-edit-text-full').length) || (in_progress)) {
|
||||
if(livetime) {
|
||||
clearTimeout(livetime);
|
||||
}
|
||||
|
|
@ -283,34 +283,34 @@
|
|||
var udargs = ((netargs.length) ? '/' + netargs : '');
|
||||
var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0);
|
||||
|
||||
$.get(update_url,function(data) {
|
||||
$j.get(update_url,function(data) {
|
||||
in_progress = false;
|
||||
// $('.collapsed-comments',data).each(function() {
|
||||
// var ident = $(this).attr('id');
|
||||
// var is_hidden = $('#' + ident).is(':hidden');
|
||||
// if($('#' + ident).length) {
|
||||
// $('#' + ident).replaceWith($(this));
|
||||
// $j('.collapsed-comments',data).each(function() {
|
||||
// var ident = $j(this).attr('id');
|
||||
// var is_hidden = $j('#' + ident).is(':hidden');
|
||||
// if($j('#' + ident).length) {
|
||||
// $j('#' + ident).replaceWith($j(this));
|
||||
// if(is_hidden)
|
||||
// $('#' + ident).hide();
|
||||
// $j('#' + ident).hide();
|
||||
// }
|
||||
//});
|
||||
|
||||
// add a new thread
|
||||
|
||||
$('.tread-wrapper',data).each(function() {
|
||||
var ident = $(this).attr('id');
|
||||
$j('.tread-wrapper',data).each(function() {
|
||||
var ident = $j(this).attr('id');
|
||||
|
||||
if($('#' + ident).length == 0 && profile_page == 1) {
|
||||
$('img',this).each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
if($j('#' + ident).length == 0 && profile_page == 1) {
|
||||
$j('img',this).each(function() {
|
||||
$j(this).attr('src',$j(this).attr('dst'));
|
||||
});
|
||||
$('#' + prev).after($(this));
|
||||
$j('#' + prev).after($j(this));
|
||||
}
|
||||
else {
|
||||
$('img',this).each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
$j('img',this).each(function() {
|
||||
$j(this).attr('src',$j(this).attr('dst'));
|
||||
});
|
||||
$('#' + ident).replaceWith($(this));
|
||||
$j('#' + ident).replaceWith($j(this));
|
||||
}
|
||||
prev = ident;
|
||||
});
|
||||
|
|
@ -319,45 +319,45 @@
|
|||
|
||||
/*prev = 'live-' + src;
|
||||
|
||||
$('.wall-item-outside-wrapper',data).each(function() {
|
||||
var ident = $(this).attr('id');
|
||||
$j('.wall-item-outside-wrapper',data).each(function() {
|
||||
var ident = $j(this).attr('id');
|
||||
|
||||
if($('#' + ident).length == 0 && prev != 'live-' + src) {
|
||||
$('img',this).each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
if($j('#' + ident).length == 0 && prev != 'live-' + src) {
|
||||
$j('img',this).each(function() {
|
||||
$j(this).attr('src',$j(this).attr('dst'));
|
||||
});
|
||||
$('#' + prev).after($(this));
|
||||
$j('#' + prev).after($j(this));
|
||||
}
|
||||
else {
|
||||
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
|
||||
if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
|
||||
$('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
|
||||
$('#' + ident + ' ' + '.hide-comments-total').replaceWith($(this).find('.hide-comments-total'));
|
||||
$('#' + ident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
|
||||
$('#' + ident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
|
||||
$('#' + ident + ' ' + '.my-comment-photo').each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
$j('#' + ident + ' ' + '.wall-item-ago').replaceWith($j(this).find('.wall-item-ago'));
|
||||
if($j('#' + ident + ' ' + '.comment-edit-text-empty').length)
|
||||
$j('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($j(this).find('.wall-item-comment-wrapper'));
|
||||
$j('#' + ident + ' ' + '.hide-comments-total').replaceWith($j(this).find('.hide-comments-total'));
|
||||
$j('#' + ident + ' ' + '.wall-item-like').replaceWith($j(this).find('.wall-item-like'));
|
||||
$j('#' + ident + ' ' + '.wall-item-dislike').replaceWith($j(this).find('.wall-item-dislike'));
|
||||
$j('#' + ident + ' ' + '.my-comment-photo').each(function() {
|
||||
$j(this).attr('src',$j(this).attr('dst'));
|
||||
});
|
||||
}
|
||||
prev = ident;
|
||||
});*/
|
||||
|
||||
$('.like-rotator').hide();
|
||||
$j('.like-rotator').hide();
|
||||
if(commentBusy) {
|
||||
commentBusy = false;
|
||||
$('body').css('cursor', 'auto');
|
||||
$j('body').css('cursor', 'auto');
|
||||
}
|
||||
/* autocomplete @nicknames */
|
||||
$(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||
});
|
||||
}
|
||||
|
||||
function imgbright(node) {
|
||||
$(node).removeClass("drophide").addClass("drop");
|
||||
$j(node).removeClass("drophide").addClass("drop");
|
||||
}
|
||||
|
||||
function imgdull(node) {
|
||||
$(node).removeClass("drop").addClass("drophide");
|
||||
$j(node).removeClass("drop").addClass("drophide");
|
||||
}
|
||||
|
||||
// Since our ajax calls are asynchronous, we will give a few
|
||||
|
|
@ -372,8 +372,8 @@
|
|||
|
||||
function dolike(ident,verb) {
|
||||
unpause();
|
||||
$('#like-rotator-' + ident.toString()).show();
|
||||
$.get('like/' + ident.toString() + '?verb=' + verb, NavUpdate );
|
||||
$j('#like-rotator-' + ident.toString()).show();
|
||||
$j.get('like/' + ident.toString() + '?verb=' + verb, NavUpdate );
|
||||
// if(timer) clearTimeout(timer);
|
||||
// timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
|
|
@ -381,21 +381,21 @@
|
|||
|
||||
function dostar(ident) {
|
||||
ident = ident.toString();
|
||||
//$('#like-rotator-' + ident).show();
|
||||
$.get('starred/' + ident, function(data) {
|
||||
//$j('#like-rotator-' + ident).show();
|
||||
$j.get('starred/' + ident, function(data) {
|
||||
if(data.match(/1/)) {
|
||||
$('#starred-' + ident).addClass('starred');
|
||||
$('#starred-' + ident).removeClass('unstarred');
|
||||
$('#star-' + ident).addClass('hidden');
|
||||
$('#unstar-' + ident).removeClass('hidden');
|
||||
$j('#starred-' + ident).addClass('starred');
|
||||
$j('#starred-' + ident).removeClass('unstarred');
|
||||
$j('#star-' + ident).addClass('hidden');
|
||||
$j('#unstar-' + ident).removeClass('hidden');
|
||||
}
|
||||
else {
|
||||
$('#starred-' + ident).addClass('unstarred');
|
||||
$('#starred-' + ident).removeClass('starred');
|
||||
$('#star-' + ident).removeClass('hidden');
|
||||
$('#unstar-' + ident).addClass('hidden');
|
||||
$j('#starred-' + ident).addClass('unstarred');
|
||||
$j('#starred-' + ident).removeClass('starred');
|
||||
$j('#star-' + ident).removeClass('hidden');
|
||||
$j('#unstar-' + ident).addClass('hidden');
|
||||
}
|
||||
//$('#like-rotator-' + ident).hide();
|
||||
//$j('#like-rotator-' + ident).hide();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -430,31 +430,31 @@
|
|||
}
|
||||
else {
|
||||
lockvisible = true;
|
||||
$.get('lockview/' + id, function(data) {
|
||||
$('#panel').html(data);
|
||||
$('#panel').css({ 'left': cursor.x + 5 , 'top': cursor.y + 5});
|
||||
$('#panel').show();
|
||||
$j.get('lockview/' + id, function(data) {
|
||||
$j('#panel').html(data);
|
||||
$j('#panel').css({ 'left': cursor.x + 5 , 'top': cursor.y + 5});
|
||||
$j('#panel').show();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function lockviewhide() {
|
||||
lockvisible = false;
|
||||
$('#panel').hide();
|
||||
$j('#panel').hide();
|
||||
}
|
||||
|
||||
function post_comment(id) {
|
||||
unpause();
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
$("#comment-preview-inp-" + id).val("0");
|
||||
$.post(
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j("#comment-preview-inp-" + id).val("0");
|
||||
$j.post(
|
||||
"item",
|
||||
$("#comment-edit-form-" + id).serialize(),
|
||||
$j("#comment-edit-form-" + id).serialize(),
|
||||
function(data) {
|
||||
if(data.success) {
|
||||
$("#comment-edit-wrapper-" + id).hide();
|
||||
$("#comment-edit-text-" + id).val('');
|
||||
$j("#comment-edit-wrapper-" + id).hide();
|
||||
$j("#comment-edit-text-" + id).val('');
|
||||
var tarea = document.getElementById("comment-edit-text-" + id);
|
||||
if(tarea)
|
||||
commentClose(tarea,id);
|
||||
|
|
@ -472,16 +472,16 @@
|
|||
|
||||
|
||||
function preview_comment(id) {
|
||||
$("#comment-preview-inp-" + id).val("1");
|
||||
$("#comment-edit-preview-" + id).show();
|
||||
$.post(
|
||||
$j("#comment-preview-inp-" + id).val("1");
|
||||
$j("#comment-edit-preview-" + id).show();
|
||||
$j.post(
|
||||
"item",
|
||||
$("#comment-edit-form-" + id).serialize(),
|
||||
$j("#comment-edit-form-" + id).serialize(),
|
||||
function(data) {
|
||||
if(data.preview) {
|
||||
|
||||
$("#comment-edit-preview-" + id).html(data.preview);
|
||||
$("#comment-edit-preview-" + id + " a").click(function() { return false; });
|
||||
$j("#comment-edit-preview-" + id).html(data.preview);
|
||||
$j("#comment-edit-preview-" + id + " a").click(function() { return false; });
|
||||
}
|
||||
},
|
||||
"json"
|
||||
|
|
@ -492,21 +492,21 @@
|
|||
|
||||
|
||||
function preview_post() {
|
||||
$("#jot-preview").val("1");
|
||||
$("#jot-preview-content").show();
|
||||
$j("#jot-preview").val("1");
|
||||
$j("#jot-preview-content").show();
|
||||
tinyMCE.triggerSave();
|
||||
$.post(
|
||||
$j.post(
|
||||
"item",
|
||||
$("#profile-jot-form").serialize(),
|
||||
$j("#profile-jot-form").serialize(),
|
||||
function(data) {
|
||||
if(data.preview) {
|
||||
$("#jot-preview-content").html(data.preview);
|
||||
$("#jot-preview-content" + " a").click(function() { return false; });
|
||||
$j("#jot-preview-content").html(data.preview);
|
||||
$j("#jot-preview-content" + " a").click(function() { return false; });
|
||||
}
|
||||
},
|
||||
"json"
|
||||
);
|
||||
$("#jot-preview").val("0");
|
||||
$j("#jot-preview").val("0");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -515,7 +515,7 @@
|
|||
// unpause auto reloads if they are currently stopped
|
||||
totStopped = false;
|
||||
stopped = false;
|
||||
$('#pause').html('');
|
||||
$j('#pause').html('');
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -543,40 +543,40 @@
|
|||
}
|
||||
|
||||
function groupChangeMember(gid, cid, sec_token) {
|
||||
$('body .fakelink').css('cursor', 'wait');
|
||||
$.get('group/' + gid + '/' + cid + "?t=" + sec_token, function(data) {
|
||||
$('#group-update-wrapper').html(data);
|
||||
$('body .fakelink').css('cursor', 'auto');
|
||||
$j('body .fakelink').css('cursor', 'wait');
|
||||
$j.get('group/' + gid + '/' + cid + "?t=" + sec_token, function(data) {
|
||||
$j('#group-update-wrapper').html(data);
|
||||
$j('body .fakelink').css('cursor', 'auto');
|
||||
});
|
||||
}
|
||||
|
||||
function profChangeMember(gid,cid) {
|
||||
$('body .fakelink').css('cursor', 'wait');
|
||||
$.get('profperm/' + gid + '/' + cid, function(data) {
|
||||
$('#prof-update-wrapper').html(data);
|
||||
$('body .fakelink').css('cursor', 'auto');
|
||||
$j('body .fakelink').css('cursor', 'wait');
|
||||
$j.get('profperm/' + gid + '/' + cid, function(data) {
|
||||
$j('#prof-update-wrapper').html(data);
|
||||
$j('body .fakelink').css('cursor', 'auto');
|
||||
});
|
||||
}
|
||||
|
||||
function contactgroupChangeMember(gid,cid) {
|
||||
$('body').css('cursor', 'wait');
|
||||
$.get('contactgroup/' + gid + '/' + cid, function(data) {
|
||||
$('body').css('cursor', 'auto');
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j.get('contactgroup/' + gid + '/' + cid, function(data) {
|
||||
$j('body').css('cursor', 'auto');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function checkboxhighlight(box) {
|
||||
if($(box).is(':checked')) {
|
||||
$(box).addClass('checkeditem');
|
||||
if($j(box).is(':checked')) {
|
||||
$j(box).addClass('checkeditem');
|
||||
}
|
||||
else {
|
||||
$(box).removeClass('checkeditem');
|
||||
$j(box).removeClass('checkeditem');
|
||||
}
|
||||
}
|
||||
|
||||
function notifyMarkAll() {
|
||||
$.get('notify/mark/all', function(data) {
|
||||
$j.get('notify/mark/all', function(data) {
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,1000);
|
||||
});
|
||||
|
|
@ -655,9 +655,9 @@ Array.prototype.remove = function(item) {
|
|||
};
|
||||
|
||||
function previewTheme(elm) {
|
||||
theme = $(elm).val();
|
||||
$.getJSON('pretheme?f=&theme=' + theme,function(data) {
|
||||
$('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><div id="theme-version">' + data.version + '</div><div id="theme-credits">' + data.credits + '</div><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
|
||||
theme = $j(elm).val();
|
||||
$j.getJSON('pretheme?f=&theme=' + theme,function(data) {
|
||||
$j('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><div id="theme-version">' + data.version + '</div><div id="theme-credits">' + data.credits + '</div><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
|||
1
view/theme/frost-mobile/js/main.min.js
vendored
Normal file
1
view/theme/frost-mobile/js/main.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,44 +1,217 @@
|
|||
$(document).ready(function() {
|
||||
$j(document).ready(function() {
|
||||
|
||||
/*$('html').click(function() { $("#nav-notifications-menu" ).hide(); });*/
|
||||
/* enable tinymce on focus and click */
|
||||
$j("#profile-jot-text").focus(enableOnUser);
|
||||
$j("#profile-jot-text").click(enableOnUser);
|
||||
|
||||
$('.group-edit-icon').hover(
|
||||
if(typeof window.AjaxUpload != "undefined") {
|
||||
switch(window.ajaxType) {
|
||||
case 'jot-header':
|
||||
var uploader = new window.AjaxUpload(
|
||||
'wall-image-upload',
|
||||
{ action: 'wall_upload/'+window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
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) {
|
||||
addeditortext(response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
break;
|
||||
case 'msg-header':
|
||||
var uploader = new window.AjaxUpload(
|
||||
'prvmail-upload',
|
||||
{ action: 'wall_upload/' + window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(typeof acl=="undefined"){
|
||||
acl = new ACL(
|
||||
baseurl+"/acl",
|
||||
[ window.allowCID,window.allowGID,window.denyCID,window.denyGID ]
|
||||
);
|
||||
}
|
||||
|
||||
/*$j('html').click(function() { $j("#nav-notifications-menu" ).hide(); });*/
|
||||
|
||||
/*$j('.group-edit-icon').hover(
|
||||
function() {
|
||||
$(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
$j(this).addClass('icon'); $j(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
$j(this).removeClass('icon'); $j(this).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
$('.sidebar-group-element').hover(
|
||||
$j('.sidebar-group-element').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');},
|
||||
id = $j(this).attr('id');
|
||||
$j('#edit-' + id).addClass('icon'); $j('#edit-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');}
|
||||
id = $j(this).attr('id');
|
||||
$j('#edit-' + id).removeClass('icon');$j('#edit-' + id).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
|
||||
$('.savedsearchdrop').hover(
|
||||
$j('.savedsearchdrop').hover(
|
||||
function() {
|
||||
$(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
$j(this).addClass('drop'); $j(this).addClass('icon'); $j(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
$j(this).removeClass('drop'); $j(this).removeClass('icon'); $j(this).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
$('.savedsearchterm').hover(
|
||||
$j('.savedsearchterm').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).addClass('icon'); $('#drop-' + id).addClass('drophide'); $('#drop-' + id).removeClass('iconspacer');},
|
||||
id = $j(this).attr('id');
|
||||
$j('#drop-' + id).addClass('icon'); $j('#drop-' + id).addClass('drophide'); $j('#drop-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');}
|
||||
);
|
||||
id = $j(this).attr('id');
|
||||
$j('#drop-' + id).removeClass('icon');$j('#drop-' + id).removeClass('drophide'); $j('#drop-' + id).addClass('iconspacer');}
|
||||
);*/
|
||||
|
||||
$(".popupbox").click(function () {
|
||||
var parent = $( $(this).attr('href') ).parent();
|
||||
if(window.autoCompleteType == "display-head") {
|
||||
//$j(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
//$j(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
if(window.aclType == "event_head") {
|
||||
$j('#events-calendar').fullCalendar({
|
||||
events: baseurl + '/events/json/',
|
||||
header: {
|
||||
left: 'prev,next today',
|
||||
center: 'title',
|
||||
right: 'month,agendaWeek,agendaDay'
|
||||
},
|
||||
timeFormat: 'H(:mm)',
|
||||
eventClick: function(calEvent, jsEvent, view) {
|
||||
showEvent(calEvent.id);
|
||||
},
|
||||
|
||||
eventRender: function(event, element, view) {
|
||||
//console.log(view.name);
|
||||
if (event.item['author-name']==null) return;
|
||||
switch(view.name){
|
||||
case "month":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:10px;width:10px'>{1} : {2}".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.title
|
||||
));
|
||||
break;
|
||||
case "agendaWeek":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:12px; width:12px'>{1}<p>{2}</p><p>{3}</p>".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.item.desc,
|
||||
event.item.location
|
||||
));
|
||||
break;
|
||||
case "agendaDay":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:24px;width:24px'>{1}<p>{2}</p><p>{3}</p>".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.item.desc,
|
||||
event.item.location
|
||||
));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// center on date
|
||||
var args=location.href.replace(baseurl,"").split("/");
|
||||
if (args.length>=4) {
|
||||
$j("#events-calendar").fullCalendar('gotoDate',args[2] , args[3]-1);
|
||||
}
|
||||
|
||||
// show event popup
|
||||
var hash = location.hash.split("-")
|
||||
if (hash.length==2 && hash[0]=="#link") showEvent(hash[1]);
|
||||
}
|
||||
|
||||
if(window.aclType == "settings-head" || window.aclType == "photos_head" || window.aclType == "event_head") {
|
||||
$j('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$j('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $j(this).text();
|
||||
$j('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$j('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$j('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$j('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
}
|
||||
|
||||
switch(window.autocompleteType) {
|
||||
case 'msg-header':
|
||||
var a = $j("#recip").autocomplete({
|
||||
serviceUrl: baseurl + '/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
onSelect: function(value,data) {
|
||||
$j("#recip-complete").val(data);
|
||||
}
|
||||
});
|
||||
break;
|
||||
case 'contacts-head':
|
||||
var a = $j("#contacts-search").autocomplete({
|
||||
serviceUrl: baseurl + '/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
});
|
||||
a.setOptions({ params: { type: 'a' }});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
$j('#event-share-checkbox').change(function() {
|
||||
|
||||
if ($j('#event-share-checkbox').is(':checked')) {
|
||||
$j('#acl-wrapper').show();
|
||||
}
|
||||
else {
|
||||
$j('#acl-wrapper').hide();
|
||||
}
|
||||
}).trigger('change');
|
||||
|
||||
|
||||
$j(".popupbox").click(function () {
|
||||
var parent = $j( $j(this).attr('href') ).parent();
|
||||
if (parent.css('display') == 'none') {
|
||||
parent.show();
|
||||
} else {
|
||||
|
|
@ -49,17 +222,29 @@ $(document).ready(function() {
|
|||
|
||||
});
|
||||
|
||||
// update pending count //
|
||||
$j(function(){
|
||||
|
||||
$j("nav").bind('nav-update', function(e,data){
|
||||
var elm = $j('#pending-update');
|
||||
var register = $j(data).find('register').text();
|
||||
if (register=="0") { register=""; elm.hide();} else { elm.show(); }
|
||||
elm.html(register);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
function insertFormatting(comment,BBcode,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);
|
||||
$("#comment-edit-text-" + id).val(tmpStr);
|
||||
}
|
||||
var tmpStr = $j("#comment-edit-text-" + id).val();
|
||||
if(tmpStr == comment) {
|
||||
tmpStr = "";
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
$j("#comment-edit-text-" + id).val(tmpStr);
|
||||
}
|
||||
|
||||
textarea = document.getElementById("comment-edit-text-" +id);
|
||||
if (document.selection) {
|
||||
|
|
@ -81,52 +266,50 @@ function insertFormatting(comment,BBcode,id) {
|
|||
}
|
||||
|
||||
function cmtBbOpen(id) {
|
||||
$(".comment-edit-bb-" + id).show();
|
||||
$j(".comment-edit-bb-" + id).show();
|
||||
}
|
||||
function cmtBbClose(id) {
|
||||
$(".comment-edit-bb-" + id).hide();
|
||||
$j(".comment-edit-bb-" + id).hide();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// TinyMCE stuff
|
||||
// Needs to be in "jot-header.tpl" if the "$editselect" variable is used
|
||||
|
||||
var editor=false;
|
||||
var textlen = 0;
|
||||
var plaintext = 'none';//'$editselect';
|
||||
var plaintext = 'none';//window.editSelect;
|
||||
var ispublic = window.isPublic;
|
||||
|
||||
function initEditor(cb){
|
||||
if (editor==false){
|
||||
// $("#profile-jot-text-loading").show();
|
||||
// $j("#profile-jot-text-loading").show();
|
||||
if(plaintext == 'none') {
|
||||
// $("#profile-jot-text-loading").hide();
|
||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
// $j("#profile-jot-text-loading").hide();
|
||||
$j("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$j("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
editor = true;
|
||||
/* $("a#jot-perms-icon").fancybox({
|
||||
/* $j("a#jot-perms-icon").fancybox({
|
||||
'transitionIn' : 'none',
|
||||
'transitionOut' : 'none'
|
||||
});*/
|
||||
$("a#jot-perms-icon, a#settings-default-perms-menu").click(function () {
|
||||
var parent = $("#profile-jot-acl-wrapper").parent();
|
||||
$j("a#jot-perms-icon, a#settings-default-perms-menu").click(function () {
|
||||
var parent = $j("#profile-jot-acl-wrapper").parent();
|
||||
if (parent.css('display') == 'none') {
|
||||
parent.show();
|
||||
} else {
|
||||
parent.hide();
|
||||
}
|
||||
// $("#profile-jot-acl-wrapper").parent().toggle();
|
||||
// $j("#profile-jot-acl-wrapper").parent().toggle();
|
||||
return false;
|
||||
});
|
||||
$(".jothidden").show();
|
||||
$j(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
return;
|
||||
}
|
||||
/* tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: $editselect,
|
||||
editor_selector: window.editSelect,
|
||||
auto_focus: "profile-jot-text",
|
||||
plugins : "bbcode,paste,autoresize, inlinepopups",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
|
|
@ -169,37 +352,37 @@ function initEditor(cb){
|
|||
}
|
||||
|
||||
textlen = txt.length;
|
||||
if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
|
||||
$('#profile-jot-desc').html(ispublic);
|
||||
if(textlen != 0 && $j('#jot-perms-icon').is('.unlock')) {
|
||||
$j('#profile-jot-desc').html(ispublic);
|
||||
}
|
||||
else {
|
||||
$('#profile-jot-desc').html(' ');
|
||||
$j('#profile-jot-desc').html(' ');
|
||||
}
|
||||
|
||||
//Character count
|
||||
|
||||
if(textlen <= 140) {
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('grey');
|
||||
$j('#character-counter').removeClass('red');
|
||||
$j('#character-counter').removeClass('orange');
|
||||
$j('#character-counter').addClass('grey');
|
||||
}
|
||||
if((textlen > 140) && (textlen <= 420)) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').addClass('orange');
|
||||
$j('#character-counter').removeClass('grey');
|
||||
$j('#character-counter').removeClass('red');
|
||||
$j('#character-counter').addClass('orange');
|
||||
}
|
||||
if(textlen > 420) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('red');
|
||||
$j('#character-counter').removeClass('grey');
|
||||
$j('#character-counter').removeClass('orange');
|
||||
$j('#character-counter').addClass('red');
|
||||
}
|
||||
$('#character-counter').text(textlen);
|
||||
$j('#character-counter').text(textlen);
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$(".jothidden").show();
|
||||
$j("#profile-jot-text-loading").hide();
|
||||
$j(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
});
|
||||
|
||||
|
|
@ -207,7 +390,7 @@ function initEditor(cb){
|
|||
});
|
||||
editor = true;
|
||||
// setup acl popup
|
||||
$("a#jot-perms-icon").fancybox({
|
||||
$j("a#jot-perms-icon").fancybox({
|
||||
'transitionIn' : 'elastic',
|
||||
'transitionOut' : 'elastic'
|
||||
}); */
|
||||
|
|
@ -218,7 +401,364 @@ function initEditor(cb){
|
|||
|
||||
function enableOnUser(){
|
||||
if (editor) return;
|
||||
$(this).val("");
|
||||
$j(this).val("");
|
||||
initEditor();
|
||||
}
|
||||
|
||||
function wallInitEditor() {
|
||||
var plaintext = window.editSelect;
|
||||
|
||||
if(plaintext != 'none') {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
convert_urls: false,
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
var editorId = ed.editorId;
|
||||
var textarea = $j('#'+editorId);
|
||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
||||
$j('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
||||
textarea.attr('tabindex', null);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
$j("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function initCrop() {
|
||||
function onEndCrop( coords, dimensions ) {
|
||||
$( 'x1' ).value = coords.x1;
|
||||
$( 'y1' ).value = coords.y1;
|
||||
$( 'x2' ).value = coords.x2;
|
||||
$( 'y2' ).value = coords.y2;
|
||||
$( 'width' ).value = dimensions.width;
|
||||
$( 'height' ).value = dimensions.height;
|
||||
}
|
||||
|
||||
Event.observe( window, 'load', function() {
|
||||
new Cropper.ImgWithPreview(
|
||||
'croppa',
|
||||
{
|
||||
previewWrap: 'previewWrap',
|
||||
minWidth: 175,
|
||||
minHeight: 175,
|
||||
maxWidth: 640,
|
||||
maxHeight: 640,
|
||||
ratioDim: { x: 100, y:100 },
|
||||
displayOnInit: true,
|
||||
onEndCrop: onEndCrop
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function confirmDelete() { return confirm(window.delItem); }
|
||||
function commentOpen(obj,id) {
|
||||
if(obj.value == window.commentEmptyText) {
|
||||
obj.value = "";
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
||||
$j("#mod-cmnt-wrap-" + id).show();
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
}
|
||||
function commentClose(obj,id) {
|
||||
if(obj.value == "") {
|
||||
obj.value = window.commentEmptyText;
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
|
||||
$j("#mod-cmnt-wrap-" + id).hide();
|
||||
closeMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function commentInsert(obj,id) {
|
||||
var tmpStr = $j("#comment-edit-text-" + id).val();
|
||||
if(tmpStr == window.commentEmptyText) {
|
||||
tmpStr = "";
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
var ins = $j(obj).html();
|
||||
ins = ins.replace("<","<");
|
||||
ins = ins.replace(">",">");
|
||||
ins = ins.replace("&","&");
|
||||
ins = ins.replace(""",'"');
|
||||
$j("#comment-edit-text-" + id).val(tmpStr + ins);
|
||||
}
|
||||
|
||||
function qCommentInsert(obj,id) {
|
||||
var tmpStr = $j("#comment-edit-text-" + id).val();
|
||||
if(tmpStr == window.commentEmptyText) {
|
||||
tmpStr = "";
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
var ins = $j(obj).val();
|
||||
ins = ins.replace("<","<");
|
||||
ins = ins.replace(">",">");
|
||||
ins = ins.replace("&","&");
|
||||
ins = ins.replace(""",'"');
|
||||
$j("#comment-edit-text-" + id).val(tmpStr + ins);
|
||||
$j(obj).val("");
|
||||
}
|
||||
|
||||
function showHideComments(id) {
|
||||
if( $j("#collapsed-comments-" + id).is(":visible")) {
|
||||
$j("#collapsed-comments-" + id).hide();
|
||||
$j("#hide-comments-" + id).html(window.showMore);
|
||||
}
|
||||
else {
|
||||
$j("#collapsed-comments-" + id).show();
|
||||
$j("#hide-comments-" + id).html(window.showFewer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*function deleteCheckedItems() {
|
||||
var checkedstr = '';
|
||||
|
||||
$j('.item-select').each( function() {
|
||||
if($j(this).is(':checked')) {
|
||||
if(checkedstr.length != 0) {
|
||||
checkedstr = checkedstr + ',' + $j(this).val();
|
||||
}
|
||||
else {
|
||||
checkedstr = $j(this).val();
|
||||
}
|
||||
}
|
||||
});
|
||||
$j.post('item', { dropitems: checkedstr }, function(data) {
|
||||
window.location.reload();
|
||||
});
|
||||
}*/
|
||||
|
||||
function jotVideoURL() {
|
||||
reply = prompt(window.vidURL);
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[video]' + reply + '[/video]');
|
||||
}
|
||||
}
|
||||
|
||||
function jotAudioURL() {
|
||||
reply = prompt(window.audURL);
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[audio]' + reply + '[/audio]');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function jotGetLocation() {
|
||||
reply = prompt(window.whereAreU, $j('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$j('#jot-location').val(reply);
|
||||
}
|
||||
}
|
||||
|
||||
function jotShare(id) {
|
||||
if ($j('#jot-popup').length != 0) $j('#jot-popup').show();
|
||||
|
||||
$j('#like-rotator-' + id).show();
|
||||
$j.get('share/' + id, function(data) {
|
||||
if (!editor) $j("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$j('#like-rotator-' + id).hide();
|
||||
$j(window).scrollTop(0);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
switch(window.ajaxType) {
|
||||
case 'jot-header':
|
||||
function jotGetLink() {
|
||||
reply = prompt(window.linkURL);
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?binurl=' + reply, function(data) {
|
||||
addeditortext(data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?binurl=' + reply, function(data) {
|
||||
if (!editor) $j("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'msg-header':
|
||||
case 'wallmsg-header':
|
||||
// TINYMCE -- BAD
|
||||
function jotGetLink() {
|
||||
reply = prompt(window.linkURL);
|
||||
if(reply && reply.length) {
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
function showEvent(eventid) {
|
||||
/* $j.get(
|
||||
baseurl + '/events/?id='+eventid,
|
||||
function(data){
|
||||
$j.fancybox(data);
|
||||
}
|
||||
);*/
|
||||
}
|
||||
|
||||
|
||||
function itemTag(id) {
|
||||
reply = prompt(window.term);
|
||||
if(reply && reply.length) {
|
||||
reply = reply.replace('#','');
|
||||
if(reply.length) {
|
||||
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
|
||||
$j.get('tagger/' + id + '?term=' + reply, NavUpdate);
|
||||
/*if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function itemFiler(id) {
|
||||
|
||||
$j.get('filer/', function(data){
|
||||
|
||||
var promptText = $j('#id_term_label', data).text();
|
||||
|
||||
reply = prompt(promptText);
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j.get('filer/' + id + '?term=' + reply, NavUpdate);
|
||||
/* if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
/* $j.fancybox.close();*/
|
||||
}
|
||||
});
|
||||
|
||||
/* var bordercolor = $j("input").css("border-color");
|
||||
|
||||
$j.get('filer/', function(data){
|
||||
$j.fancybox(data);
|
||||
$j("#id_term").keypress(function(){
|
||||
$j(this).css("border-color",bordercolor);
|
||||
})
|
||||
$j("#select_term").change(function(){
|
||||
$j("#id_term").css("border-color",bordercolor);
|
||||
})
|
||||
|
||||
$j("#filer_save").click(function(e){
|
||||
e.preventDefault();
|
||||
reply = $j("#id_term").val();
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j.get('filer/' + id + '?term=' + reply);
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
$j.fancybox.close();
|
||||
} else {
|
||||
$j("#id_term").css("border-color","#FF0000");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
*/
|
||||
}
|
||||
|
||||
function jotClearLocation() {
|
||||
$j('#jot-coord').val('');
|
||||
$j('#profile-nolocation-wrapper').hide();
|
||||
}
|
||||
|
||||
function addeditortext(data) {
|
||||
if(plaintext == 'none') {
|
||||
var currentText = $j("#profile-jot-text").val();
|
||||
$j("#profile-jot-text").val(currentText + data);
|
||||
}
|
||||
/*else
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);*/
|
||||
}
|
||||
|
||||
if(typeof window.geoTag === 'function') window.geoTag();
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,121 +0,0 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
$.ajaxSetup({
|
||||
cache: false
|
||||
});
|
||||
|
||||
|
||||
$('.system-menu-link').click(function() {
|
||||
handleNavMenu('#system-menu-list');
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.contacts-menu-link').click(function() {
|
||||
handleNavMenu('#contacts-menu-list');
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.network-menu-link').click(function() {
|
||||
handleNavMenu('#network-menu-list');
|
||||
return false;
|
||||
});
|
||||
|
||||
/* $('.nav-load-page-link').click(function() {
|
||||
getPageContent( $(this).attr('href') );
|
||||
hideNavMenu( '#' + $(this).closest('ul').attr('id') );
|
||||
return false;
|
||||
});*/
|
||||
|
||||
/* $('#nav-network-link').click(function() {
|
||||
getPageContent('/network', '#network-menu-list');
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#nav-home-link').click(function() {
|
||||
|
||||
var username = $('#site-location').text();
|
||||
username = username.substring(0, username.indexOf('@'));
|
||||
|
||||
getPageContent('/profile/' + username, '#network-menu-list');
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#nav-community-link').click(function() {
|
||||
getPageContent('/community', '#network-menu-list');
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#nav-messages-link').click(function() {
|
||||
getPageContent('/message');
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#nav-contacts-link').click(function() {
|
||||
getPageContent('/contacts', '#contacts-menu-list');
|
||||
return false;
|
||||
});*/
|
||||
|
||||
});
|
||||
|
||||
$(document).mouseup(function (clickPos) {
|
||||
|
||||
var sysMenu = $("#system-menu-list");
|
||||
var sysMenuLink = $(".system-menu-link");
|
||||
var contactsMenu = $("#contacts-menu-list");
|
||||
var contactsMenuLink = $(".contacts-menu-link");
|
||||
var networkMenu = $("#network-menu-list");
|
||||
var networkMenuLink = $(".network-menu-link");
|
||||
|
||||
if( !sysMenu.is(clickPos.target) && !sysMenuLink.is(clickPos.target) && sysMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#system-menu-list");
|
||||
}
|
||||
if( !contactsMenu.is(clickPos.target) && !contactsMenuLink.is(clickPos.target) && contactsMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#contacts-menu-list");
|
||||
}
|
||||
if( !networkMenu.is(clickPos.target) && !networkMenuLink.is(clickPos.target) && networkMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#network-menu-list");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
function getPageContent(url) {
|
||||
|
||||
var pos = $('.main-container').position();
|
||||
|
||||
$('.main-container').css('margin-left', pos.left);
|
||||
$('.main-content-container').hide(0, function () {
|
||||
$('.main-content-loading').show(0);
|
||||
});
|
||||
|
||||
$.get(url, function(html) {
|
||||
console.log($('.main-content-container').html());
|
||||
$('.main-content-container').html( $('.main-content-container', html).html() );
|
||||
console.log($('.main-content-container').html());
|
||||
$('.main-content-loading').hide(function() {
|
||||
$('.main-content-container').fadeIn(800,function() {
|
||||
$('.main-container').css('margin-left', 'auto'); // This sucks -- if the CSS specification changes, this will be wrong
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function handleNavMenu(menuID) {
|
||||
if( $(menuID).hasClass('menu-visible') ) {
|
||||
hideNavMenu(menuID);
|
||||
}
|
||||
else {
|
||||
showNavMenu(menuID);
|
||||
}
|
||||
}
|
||||
|
||||
function showNavMenu(menuID) {
|
||||
$(menuID).show();
|
||||
$(menuID).addClass('menu-visible');
|
||||
}
|
||||
|
||||
function hideNavMenu(menuID) {
|
||||
$(menuID).hide();
|
||||
$(menuID).removeClass('menu-visible');
|
||||
}
|
||||
|
||||
1
view/theme/frost-mobile/js/theme.min.js
vendored
Normal file
1
view/theme/frost-mobile/js/theme.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -40,4 +40,4 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript"> $(document).ready(function() { $("#id_$lname.0").focus();} );</script>
|
||||
<script type="text/javascript">window.loginName = "$lname.0";</script>
|
||||
|
|
|
|||
4
view/theme/frost-mobile/message-end.tpl
Normal file
4
view/theme/frost-mobile/message-end.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<script src="$baseurl/library/jquery_ac/friendica.complete.min.js" ></script>
|
||||
|
||||
|
||||
0
view/theme/frost-mobile/message-head.tpl
Normal file
0
view/theme/frost-mobile/message-head.tpl
Normal file
|
|
@ -1,97 +1,9 @@
|
|||
|
||||
<script language="javascript" type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
/*
|
||||
var plaintext = '$editselect';
|
||||
|
||||
if(plaintext != 'none') {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
convert_urls: false,
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
var editorId = ed.editorId;
|
||||
var textarea = $('#'+editorId);
|
||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
||||
$('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
||||
textarea.attr('tabindex', null);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
else*/
|
||||
$("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
|
||||
|
||||
</script>
|
||||
<script type="text/javascript" src="js/ajaxupload.js" ></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var uploader = new window.AjaxUpload(
|
||||
'prvmail-upload',
|
||||
{ action: 'wall_upload/$nickname',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
function jotGetLink() {
|
||||
reply = prompt("$linkurl");
|
||||
if(reply && reply.length) {
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
window.nickname = "$nickname";
|
||||
window.linkURL = "$linkurl";
|
||||
var plaintext = "none";
|
||||
window.ajaxType = 'msg-header';
|
||||
window.autocompleteType = 'msg-header';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
<!-- <div id="site-location">$sitelocation</div> -->
|
||||
|
||||
{{ if $nav.login }}<a id="nav-login-link" class="nav-login-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a> {{ endif }}
|
||||
|
||||
<span id="nav-link-wrapper" >
|
||||
|
||||
<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->
|
||||
|
|
@ -13,6 +11,20 @@
|
|||
<img rel="#system-menu-list" class="nav-link" src="/view/theme/frost-mobile/images/menu.png">
|
||||
<!-- </a>-->
|
||||
<ul id="system-menu-list" class="nav-menu-list">
|
||||
{{ if $nav.login }}
|
||||
<a id="nav-login-link" class="nav-load-page-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.register }}
|
||||
<a id="nav-register-link" class="nav-load-page-link $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.manage }}
|
||||
<li>
|
||||
<a id="nav-manage-link" class="nav-load-page-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>
|
||||
</li>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.settings }}
|
||||
<li><a id="nav-settings-link" class="$nav.settings.2 nav-load-page-link" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>
|
||||
{{ endif }}
|
||||
|
|
@ -118,11 +130,8 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
{{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
|
||||
|
||||
{{ if $nav.manage }}<a id="nav-manage-link" class="nav-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>{{ endif }}
|
||||
</span>
|
||||
<span id="nav-end"></span>
|
||||
<!--<span id="nav-end"></span>-->
|
||||
<span id="banner">$banner</span>
|
||||
</nav>
|
||||
|
||||
|
|
|
|||
4
view/theme/frost-mobile/oembed_video.tpl
Executable file
4
view/theme/frost-mobile/oembed_video.tpl
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
<a href='$embedurl' onclick='this.innerHTML=Base64.decode("$escapedhtml"); return false;' style='float:left; margin: 1em; position: relative;'>
|
||||
<img width='$tw' height='$th' src='$turl' >
|
||||
<div style='position: absolute; top: 0px; left: 0px; width: $twpx; height: $thpx; background: url($baseurl/images/icons/48/play.png) no-repeat center center;'></div>
|
||||
</a>
|
||||
7
view/theme/frost-mobile/photo_edit_head.tpl
Normal file
7
view/theme/frost-mobile/photo_edit_head.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
<script>
|
||||
window.prevLink = "$prevlink";
|
||||
window.nextLink = "$nextlink";
|
||||
window.photoEdit = true;
|
||||
|
||||
</script>
|
||||
5
view/theme/frost-mobile/photos_head.tpl
Normal file
5
view/theme/frost-mobile/photos_head.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script>
|
||||
window.isPublic = "$ispublic";
|
||||
</script>
|
||||
|
||||
|
|
@ -12,21 +12,21 @@
|
|||
<div id="photos-upload-new-end"></div>
|
||||
<div id="photos-upload-exist-wrapper">
|
||||
<div id="photos-upload-existing-album-text">$existalbumtext</div>
|
||||
<select id="photos-upload-album-select" name="album">
|
||||
$albumselect
|
||||
</select>
|
||||
</div>
|
||||
<div id="photos-upload-exist-end"></div>
|
||||
|
||||
|
||||
<div id="photos-upload-noshare-div" class="photos-upload-noshare-div" >
|
||||
<input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" checked />
|
||||
<div id="photos-upload-noshare-label">
|
||||
<label id="photos-upload-noshare-text" for="photos-upload-noshare" >$nosharetext</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="photos-upload-perms" class="photos-upload-perms" >
|
||||
<a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="popupbox button" />
|
||||
<span id="jot-perms-icon" class="icon $lockstate photo-perms-icon" ></span><div class="photo-jot-perms-text">$permissions</div>
|
||||
<a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="button popupbox" />
|
||||
<span id="jot-perms-icon" class="icon $lockstate" ></span>$permissions
|
||||
</a>
|
||||
<div id="photos-upload-perms-end"></div>
|
||||
|
||||
|
|
@ -45,6 +45,3 @@
|
|||
<div class="photos-upload-end" ></div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$("#photos-upload-album-select").removeAttr('size');
|
||||
</script>
|
||||
|
|
|
|||
8
view/theme/frost-mobile/profed_end.tpl
Normal file
8
view/theme/frost-mobile/profed_end.tpl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
<script type="text/javascript" src="js/country.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
Fill_Country('$country_name');
|
||||
Fill_States('$region');
|
||||
</script>
|
||||
|
||||
|
|
@ -1,36 +1,5 @@
|
|||
<!--<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "$editselect",
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "none";
|
||||
</script>
|
||||
-->
|
||||
|
||||
|
|
|
|||
|
|
@ -319,4 +319,4 @@ $lbl_school
|
|||
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript">Fill_Country('$country_name');Fill_States('$region');</script>
|
||||
|
||||
|
|
|
|||
5
view/theme/frost-mobile/settings-head.tpl
Normal file
5
view/theme/frost-mobile/settings-head.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script>
|
||||
window.isPublic = "$ispublic";
|
||||
</script>
|
||||
|
||||
2
view/theme/frost-mobile/settings_display_end.tpl
Normal file
2
view/theme/frost-mobile/settings_display_end.tpl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<script>$j(function(){ previewTheme($j("#id_$theme.0")[0]); });</script>
|
||||
|
||||
|
|
@ -360,7 +360,7 @@ section {
|
|||
}
|
||||
.tabs li { margin: 0px 0px 20px 0px; padding-left: 1em; list-style: none; }
|
||||
.tabs a {
|
||||
padding: 0.2em 2em;
|
||||
padding: 0.4em 2em;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 8px;
|
||||
-moz-border-radius: 8px;
|
||||
|
|
@ -629,9 +629,11 @@ input#dfrn-url {
|
|||
|
||||
#cropimage-wrapper, #cropimage-preview-wrapper {
|
||||
float: left;
|
||||
padding: 30px;
|
||||
padding: 10px;
|
||||
}
|
||||
.imgCrop {
|
||||
max-width: 280px;
|
||||
}
|
||||
|
||||
#crop-image-form {
|
||||
margin-top: 30px;
|
||||
clear: both;
|
||||
|
|
@ -1183,7 +1185,7 @@ input#dfrn-url {
|
|||
display: none;
|
||||
z-index: 10000;
|
||||
}
|
||||
.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none }
|
||||
.wall-item-photo-menu { margin:0px; padding: 0px; list-style: none }
|
||||
.wall-item-photo-menu li a { display: block; padding: 2px; }
|
||||
.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }
|
||||
|
||||
|
|
@ -1203,7 +1205,7 @@ input#dfrn-url {
|
|||
height: 30px !important;
|
||||
}
|
||||
|
||||
.wallwall .wall-item-photo-end {
|
||||
.wallwall /*.wall-item-photo-end*/ {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
|
@ -1245,7 +1247,7 @@ input#dfrn-url {
|
|||
|
||||
.wall-item-like-buttons {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.like-rotator {
|
||||
|
|
@ -1292,18 +1294,18 @@ input#dfrn-url {
|
|||
float: right;
|
||||
}
|
||||
|
||||
.wall-item-delete-end {
|
||||
/*.wall-item-delete-end {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
|
||||
.wall-item-delete-icon {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
.wall-item-wrapper-end {
|
||||
/*.wall-item-wrapper-end {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
.wall-item-name-link {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
|
|
@ -1341,9 +1343,9 @@ input#dfrn-url {
|
|||
/*width: 450px;*/
|
||||
}
|
||||
|
||||
.wall-item-title-end {
|
||||
/*.wall-item-title-end {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
|
||||
.wall-item-body {
|
||||
text-align: justify;
|
||||
|
|
@ -1368,7 +1370,7 @@ input#dfrn-url {
|
|||
/* background-image: url("head.jpg");
|
||||
background-position: 0 -20px;
|
||||
background-repeat: repeat-x;*/
|
||||
padding: 5px 10px 0px;
|
||||
padding: 5px 5px 0px;
|
||||
height: 32px;
|
||||
}
|
||||
.wall-item-author {
|
||||
|
|
@ -1392,6 +1394,7 @@ input#dfrn-url {
|
|||
}
|
||||
|
||||
.comment-wwedit-wrapper {
|
||||
display: block;
|
||||
margin-top: 15px;
|
||||
background: #f3f3f3;
|
||||
margin-left: 10px;
|
||||
|
|
@ -1860,9 +1863,17 @@ input#dfrn-url {
|
|||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#contact-edit-last-update-text {
|
||||
float: left;
|
||||
clear: left;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#contact-edit-poll-text {
|
||||
float: left;
|
||||
clear: left;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 5px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
#contact-edit-update-now {
|
||||
|
|
@ -1886,7 +1897,7 @@ input#dfrn-url {
|
|||
|
||||
#contact-edit-drop-link {
|
||||
float: right;
|
||||
margin-right: 20px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#contact-edit-nav-end {
|
||||
|
|
@ -1897,6 +1908,19 @@ input#dfrn-url {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
#update_now_link {
|
||||
float: left;
|
||||
clear: left;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#label_id_hidden, #id_hidden {
|
||||
margin-top: 30px;
|
||||
}
|
||||
#help_id_hidden {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#contact-edit-end {
|
||||
clear: both;
|
||||
margin-top: 15px;
|
||||
|
|
@ -1904,11 +1928,13 @@ input#dfrn-url {
|
|||
|
||||
#contact-profile-selector {
|
||||
width: 175px;
|
||||
margin-left: 175px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.contact-edit-submit {
|
||||
margin-top: 20px;
|
||||
padding: 0.2em 0.5em;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2489,6 +2515,10 @@ aside input[type='text'] {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
#photos-upload-perms-menu {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#photos-upload-perms-menu:hover {
|
||||
color: #0000FF;
|
||||
text-decoration: underline;
|
||||
|
|
@ -3432,7 +3462,7 @@ aside input[type='text'] {
|
|||
background-image: url('../../../images/icons.png');
|
||||
}
|
||||
.article { background-position: 0px 0px;}
|
||||
.audio { display: none; background-position: -16px 0px;}
|
||||
.icon.audio { display: none; background-position: -16px 0px;}
|
||||
.block { background-position: -32px 0px;}
|
||||
/*.drop { background-position: -48px 0px;}
|
||||
.drophide { background-position: -64px 0px;}*/
|
||||
|
|
@ -3542,7 +3572,8 @@ aside input[type='text'] {
|
|||
background-image: url('images/unlock.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.video { display: none; background-position: -48px -32px;}
|
||||
.icon.video { display: none; background-position: -48px -32px;}
|
||||
.oembed.video a { display: block; }
|
||||
.youtube { background-position: -64px -32px;}
|
||||
/*.attach { background-position: -80px -32px; }*/
|
||||
.icon.attach {
|
||||
|
|
@ -3604,9 +3635,9 @@ aside input[type='text'] {
|
|||
margin: 20px 10px 0 0;
|
||||
visibility: none;
|
||||
}
|
||||
[class^="comment-edit-bb-end"] {
|
||||
/*[class^="comment-edit-bb-end"] {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
.editicon {
|
||||
display: inline-block;
|
||||
background-size: 100% 100%;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* Name: Frost--mobile version
|
||||
* Description: Like frosted glass
|
||||
* Credits: Navigation icons taken from http://iconza.com. Other icons taken from http://thenounproject.com, including: Like, Dislike, Black Lock, Unlock, Pencil, Tag, Camera, Paperclip (Marie Coons), Folder (Sergio Calcara), Chain-link (Andrew Fortnum), Speaker (Harold Kim), Quotes (Henry Ryder), Video Camera (Anas Ramadan), and Left Arrow, Right Arrow, and Delete X (all three P.J. Onori). All under Attribution (CC BY 3.0). Others from The Noun Project are public domain or No Rights Reserved (CC0).
|
||||
* Version: Version 0.1
|
||||
* Version: Version 0.2
|
||||
* Author: Zach P <windforest@f.shmuz.in>
|
||||
* Maintainer: Zach P <windforest@f.shmuz.in>
|
||||
*/
|
||||
|
|
@ -19,5 +19,7 @@ function frost_mobile_init(&$a) {
|
|||
$a->page['htmlhead'] = str_replace('$stylesheet', $a->get_baseurl() . '/view/theme/frost-mobile/login-style.css', $a->page['htmlhead']);
|
||||
|
||||
}
|
||||
if( $a->module === 'login' )
|
||||
$a->page['end'] .= '<script type="text/javascript"> $j(document).ready(function() { $j("#id_" + window.loginName).focus();} );</script>';
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<a name="$item.id" ></a>
|
||||
<div class="wall-item-outside-wrapper$item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" >
|
||||
<!--<div class="wall-item-outside-wrapper$item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" >-->
|
||||
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||
<div class="wall-item-info" id="wall-item-info-$item.id">
|
||||
<!-- <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
||||
|
|
@ -16,29 +16,29 @@
|
|||
</ul>
|
||||
</div>-->
|
||||
</div>
|
||||
<div class="wall-item-photo-end"></div>
|
||||
<!--<div class="wall-item-photo-end"></div>-->
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||
{{ if $item.lock }}<!--<div class="wall-item-lock">--><img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /><!--</div>-->
|
||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-author">
|
||||
<!--<div class="wall-item-author">-->
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
||||
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||
|
||||
</div>
|
||||
<!--</div>-->
|
||||
<br />
|
||||
|
||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||
<div class="wall-item-title-end"></div>
|
||||
<!--<div class="wall-item-title-end"></div>-->
|
||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||
<div class="body-tag">
|
||||
<!--<div class="body-tag">-->
|
||||
{{ for $item.tags as $tag }}
|
||||
<span class='tag'>$tag</span>
|
||||
<span class='body-tag tag'>$tag</span>
|
||||
{{ endfor }}
|
||||
</div>
|
||||
<!--</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
{{ endif }}
|
||||
{{ if $item.plink }}
|
||||
<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link$item.sparkle"></a></div>
|
||||
<!--<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a></div>-->
|
||||
{{ endif }}
|
||||
{{ if $item.edpost }}
|
||||
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||
|
|
@ -64,19 +64,19 @@
|
|||
{{ if $item.filer }}
|
||||
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||
{{ endif }}
|
||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
</div>
|
||||
<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" id="wall-item-delete-wrapper-$item.id" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
<!--</div>-->
|
||||
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||
<div class="wall-item-delete-end"></div>
|
||||
<!--<div class="wall-item-delete-end"></div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-wrapper-end"></div>
|
||||
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||
<div class="wall-item-comment-wrapper" >
|
||||
<!--<div class="wall-item-comment-wrapper" >-->
|
||||
$item.comment
|
||||
</div>
|
||||
<!--</div>-->
|
||||
|
||||
<div class="wall-item-outside-wrapper-end$item.indent" ></div>
|
||||
</div>
|
||||
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||
<!--</div>-->
|
||||
|
|
|
|||
5
view/theme/frost-mobile/wallmsg-end.tpl
Normal file
5
view/theme/frost-mobile/wallmsg-end.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
wallInitEditor();
|
||||
</script>
|
||||
|
||||
|
|
@ -1,82 +1,6 @@
|
|||
<!--
|
||||
<script language="javascript" type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
var plaintext = '$editselect';
|
||||
|
||||
if(plaintext != 'none') {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
convert_urls: false,
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
var editorId = ed.editorId;
|
||||
var textarea = $('#'+editorId);
|
||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
||||
$('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
||||
textarea.attr('tabindex', null);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
$("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
|
||||
|
||||
window.editSelect = "none";
|
||||
window.ajaxType = "wallmsg-header";
|
||||
</script>
|
||||
<script>
|
||||
|
||||
function jotGetLink() {
|
||||
reply = prompt("$linkurl");
|
||||
if(reply && reply.length) {
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
-->
|
||||
|
|
|
|||
87
view/theme/frost-mobile/wallwall_item.tpl
Normal file
87
view/theme/frost-mobile/wallwall_item.tpl
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
<a name="$item.id" ></a>
|
||||
<!--<div class="wall-item-outside-wrapper$item.indent$item.previewing wallwall" id="wall-item-outside-wrapper-$item.id" >-->
|
||||
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||
<div class="wall-item-info wallwall" id="wall-item-info-$item.id">
|
||||
<div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
|
||||
<a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
|
||||
<img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a>
|
||||
</div>
|
||||
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
|
||||
<!-- <div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id"
|
||||
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">-->
|
||||
<div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id">
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
|
||||
<!--<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||
$item.item_photo_menu
|
||||
</ul>
|
||||
<!-- </div>-->
|
||||
|
||||
</div>
|
||||
<!--<div class="wall-item-photo-end"></div>-->
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="wall-item-author">-->
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall<br />
|
||||
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||
<!--</div>-->
|
||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||
<!--<div class="wall-item-title-end"></div>-->
|
||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||
<!--<div class="body-tag">-->
|
||||
{{ for $item.tags as $tag }}
|
||||
<span class='body-tag tag'>$tag</span>
|
||||
{{ endfor }}
|
||||
<!--</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||
{{ if $item.vote }}
|
||||
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
|
||||
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
|
||||
<a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
|
||||
{{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
|
||||
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{ if $item.plink }}
|
||||
<!--<div class="wall-item-links-wrapper">--><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a><!--</div>-->
|
||||
{{ endif }}
|
||||
{{ if $item.edpost }}
|
||||
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $item.star }}
|
||||
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
|
||||
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.filer }}
|
||||
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||
{{ endif }}
|
||||
|
||||
<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
<!--</div>-->
|
||||
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||
<!--<div class="wall-item-delete-end"></div>-->
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||
<div class="wall-item-comment-separator"></div>
|
||||
<!--<div class="wall-item-comment-wrapper">-->
|
||||
$item.comment
|
||||
<!--</div>-->
|
||||
|
||||
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||
<!--</div>-->
|
||||
|
||||
22
view/theme/frost/acl_selector.tpl
Normal file
22
view/theme/frost/acl_selector.tpl
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<div id="acl-wrapper">
|
||||
<input id="acl-search">
|
||||
<a href="#" id="acl-showall">$showall</a>
|
||||
<div id="acl-list">
|
||||
<div id="acl-list-content">
|
||||
</div>
|
||||
</div>
|
||||
<span id="acl-fields"></span>
|
||||
</div>
|
||||
|
||||
<div class="acl-list-item" rel="acl-template" style="display:none">
|
||||
<img src="{0}"><p>{1}</p>
|
||||
<a href="#" class='acl-button-show'>$show</a>
|
||||
<a href="#" class='acl-button-hide'>$hide</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.allowCID = $allowcid;
|
||||
window.allowGID = $allowgid;
|
||||
window.denyCID = $denycid;
|
||||
window.denyGID = $denygid;
|
||||
</script>
|
||||
|
|
@ -1,15 +1,4 @@
|
|||
<script>
|
||||
// update pending count //
|
||||
$(function(){
|
||||
|
||||
$("nav").bind('nav-update', function(e,data){
|
||||
var elm = $('#pending-update');
|
||||
var register = $(data).find('register').text();
|
||||
if (register=="0") { reigster=""; elm.hide();} else { elm.show(); }
|
||||
elm.html(register);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<h4><a href="$admurl">$admtxt</a></h4>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
|
||||
|
|
|
|||
56
view/theme/frost/admin_site.tpl
Normal file
56
view/theme/frost/admin_site.tpl
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
|
||||
<form action="$baseurl/admin/site" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
{{ inc field_input.tpl with $field=$sitename }}{{ endinc }}
|
||||
{{ inc field_textarea.tpl with $field=$banner }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$language }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$theme }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$ssl_policy }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
<h3>$registration</h3>
|
||||
{{ inc field_input.tpl with $field=$register_text }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$register_policy }}{{ endinc }}
|
||||
|
||||
{{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
<h3>$upload</h3>
|
||||
{{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }}
|
||||
|
||||
<h3>$corporate</h3>
|
||||
{{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$no_community_page }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$ostatus_disabled }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$diaspora_enabled }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$dfrn_only }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
<h3>$advanced</h3>
|
||||
{{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$proxy }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$timeout }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$delivery_interval }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$poll_interval }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$maxloadavg }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<!-- <script>
|
||||
$(document).ready( function () {
|
||||
$(document).mouseup(function(e) {
|
||||
var container = $("#comment-edit-wrapper-$id");
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>-->
|
||||
|
||||
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
|
||||
<form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
|
||||
|
|
@ -19,10 +19,10 @@
|
|||
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||
|
||||
<div class="comment-edit-photo" id="comment-edit-photo-$id" >
|
||||
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||
</div>
|
||||
<div class="comment-edit-photo-end"></div>
|
||||
<!-- <div class="comment-edit-photo" id="comment-edit-photo-$id" >-->
|
||||
<a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-$id" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||
<!-- </div>-->
|
||||
<!--<div class="comment-edit-photo-end"></div>-->
|
||||
<ul class="comment-edit-bb-$id">
|
||||
<li><a class="editicon boldbb shadow"
|
||||
style="cursor: pointer;" title="$edbold"
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
style="cursor: pointer;" title="$edvideo"
|
||||
onclick="insertFormatting('$comment','video', $id);"></a></li>
|
||||
</ul>
|
||||
<div class="comment-edit-bb-end"></div>
|
||||
<!-- <div class="comment-edit-bb-end"></div>-->
|
||||
<!-- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
|
||||
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
|
||||
{{ if $qcomment }}
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>
|
||||
</div>
|
||||
|
||||
<div class="comment-edit-end"></div>
|
||||
<!--<div class="comment-edit-end"></div>-->
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
6
view/theme/frost/contact_end.tpl
Normal file
6
view/theme/frost/contact_end.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "$editselect";
|
||||
contactInitEditor();
|
||||
</script>
|
||||
|
||||
0
view/theme/frost/contact_head.tpl
Normal file
0
view/theme/frost/contact_head.tpl
Normal file
4
view/theme/frost/contacts-end.tpl
Normal file
4
view/theme/frost/contacts-end.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<script src="$baseurl/library/jquery_ac/friendica.complete.min.js" ></script>
|
||||
|
||||
|
||||
5
view/theme/frost/contacts-head.tpl
Normal file
5
view/theme/frost/contacts-head.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script>
|
||||
window.autocompleteType = 'contacts-head';
|
||||
</script>
|
||||
|
||||
|
|
@ -18,10 +18,10 @@
|
|||
|
||||
<div id="conversation-end"></div>
|
||||
|
||||
<!--{{ if $dropping }}
|
||||
{{ if $dropping }}
|
||||
<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-desc" >$dropping</div>
|
||||
</div>
|
||||
<div id="item-delete-selected-end"></div>
|
||||
{{ endif }}-->
|
||||
{{ endif }}
|
||||
|
|
|
|||
27
view/theme/frost/cropbody.tpl
Normal file
27
view/theme/frost/cropbody.tpl
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<h1>$title</h1>
|
||||
<p id="cropimage-desc">
|
||||
$desc
|
||||
</p>
|
||||
<div id="cropimage-wrapper">
|
||||
<img src="$image_url" id="croppa" class="imgCrop" alt="$title" />
|
||||
</div>
|
||||
<div id="cropimage-preview-wrapper" >
|
||||
<div id="previewWrap" ></div>
|
||||
</div>
|
||||
|
||||
<form action="profile_photo/$resource" id="crop-image-form" method="post" />
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
<input type="hidden" name="cropfinal" value="1" />
|
||||
<input type="hidden" name="xstart" id="x1" />
|
||||
<input type="hidden" name="ystart" id="y1" />
|
||||
<input type="hidden" name="xfinal" id="x2" />
|
||||
<input type="hidden" name="yfinal" id="y2" />
|
||||
<input type="hidden" name="height" id="height" />
|
||||
<input type="hidden" name="width" id="width" />
|
||||
|
||||
<div id="crop-image-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="$done" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
4
view/theme/frost/cropend.tpl
Normal file
4
view/theme/frost/cropend.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script>
|
||||
<script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
|
||||
<script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script>
|
||||
<script type="text/javascript" language="javascript">initCrop();</script>
|
||||
1
view/theme/frost/crophead.tpl
Normal file
1
view/theme/frost/crophead.tpl
Normal file
|
|
@ -0,0 +1 @@
|
|||
<link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" />
|
||||
|
|
@ -37,6 +37,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if(x($page,'end')) echo $page['end']; ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
|||
4
view/theme/frost/display-head.tpl
Normal file
4
view/theme/frost/display-head.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<script>
|
||||
window.autoCompleteType = 'display-head';
|
||||
</script>
|
||||
|
||||
19
view/theme/frost/end.tpl
Normal file
19
view/theme/frost/end.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!--[if IE]>
|
||||
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
|
||||
<script type="text/javascript">
|
||||
tinyMCE.init({ mode : "none"});
|
||||
</script>
|
||||
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
||||
<script type="text/javascript">var $j = jQuery.noConflict();</script>
|
||||
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/fk.autocomplete.min.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/view/theme/frost/js/acl.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.min.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/theme.min.js"></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/main.min.js" ></script>
|
||||
|
||||
7
view/theme/frost/event_end.tpl
Normal file
7
view/theme/frost/event_end.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
eventInitEditor();
|
||||
</script>
|
||||
|
||||
6
view/theme/frost/event_head.tpl
Normal file
6
view/theme/frost/event_head.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<link rel='stylesheet' type='text/css' href='$baseurl/library/fullcalendar/fullcalendar.css' />
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.aclType = 'event_head';
|
||||
</script>
|
||||
|
||||
18
view/theme/frost/field_combobox.tpl
Normal file
18
view/theme/frost/field_combobox.tpl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
<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" >
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$val">{{ endfor }}
|
||||
</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>
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$val">$val</option>{{ endfor }}
|
||||
</select>
|
||||
|
||||
<span class='field_help'>$field.3</span>
|
||||
</div>
|
||||
|
||||
9
view/theme/frost/field_themeselect.tpl
Normal file
9
view/theme/frost/field_themeselect.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
<div class='field select'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<select name='$field.0' id='id_$field.0' onchange="previewTheme(this);" >
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }}
|
||||
</select>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<div id="theme-preview"></div>
|
||||
</div>
|
||||
|
|
@ -13,93 +13,11 @@
|
|||
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/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
||||
<script type="text/javascript">
|
||||
tinyMCE.init({ mode : "none"});
|
||||
</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/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/js/acl.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/main.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/frost/js/theme.js"></script>
|
||||
<script>
|
||||
|
||||
window.delItem = "$delitem";
|
||||
window.commentEmptyText = "$comment";
|
||||
window.showMore = "$showmore";
|
||||
window.showFewer = "$showfewer";
|
||||
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('');
|
||||
}
|
||||
|
||||
function showHideComments(id) {
|
||||
if( $('#collapsed-comments-' + id).is(':visible')) {
|
||||
$('#collapsed-comments-' + id).hide();
|
||||
$('#hide-comments-' + id).html('$showmore');
|
||||
}
|
||||
else {
|
||||
$('#collapsed-comments-' + id).show();
|
||||
$('#hide-comments-' + id).html('$showfewer');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
|
|
|||
5
view/theme/frost/jot-end.tpl
Normal file
5
view/theme/frost/jot-end.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script type="text/javascript" src="$baseurl/js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script>if(typeof window.jotInit != 'undefined') initEditor();</script>
|
||||
|
||||
|
|
@ -1,317 +1,15 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
var editor=false;
|
||||
var textlen = 0;
|
||||
var plaintext = '$editselect';
|
||||
|
||||
function initEditor(cb){
|
||||
if (editor==false){
|
||||
$("#profile-jot-text-loading").show();
|
||||
if(plaintext == 'none') {
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
editor = true;
|
||||
$("a#jot-perms-icon").fancybox({
|
||||
'transitionIn' : 'elastic',
|
||||
'transitionOut' : 'elastic'
|
||||
});
|
||||
$(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
return;
|
||||
}
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: $editselect,
|
||||
auto_focus: "profile-jot-text",
|
||||
plugins : "bbcode,paste,autoresize, inlinepopups",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
convert_urls: false,
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
file_browser_callback : "fcFileBrowser",
|
||||
setup : function(ed) {
|
||||
cPopup = null;
|
||||
ed.onKeyDown.add(function(ed,e) {
|
||||
if(cPopup !== null)
|
||||
cPopup.onkey(e);
|
||||
});
|
||||
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
var txt = tinyMCE.activeEditor.getContent();
|
||||
match = txt.match(/@([^ \n]+)$/);
|
||||
if(match!==null) {
|
||||
if(cPopup === null) {
|
||||
cPopup = new ACPopup(this,baseurl+"/acl");
|
||||
}
|
||||
if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
|
||||
if(! cPopup.ready) cPopup = null;
|
||||
}
|
||||
else {
|
||||
if(cPopup !== null) { cPopup.close(); cPopup = null; }
|
||||
}
|
||||
|
||||
textlen = txt.length;
|
||||
if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
|
||||
$('#profile-jot-desc').html(ispublic);
|
||||
}
|
||||
else {
|
||||
$('#profile-jot-desc').html(' ');
|
||||
}
|
||||
|
||||
//Character count
|
||||
|
||||
if(textlen <= 140) {
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('grey');
|
||||
}
|
||||
if((textlen > 140) && (textlen <= 420)) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').addClass('orange');
|
||||
}
|
||||
if(textlen > 420) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('red');
|
||||
}
|
||||
$('#character-counter').text(textlen);
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
editor = true;
|
||||
// setup acl popup
|
||||
$("a#jot-perms-icon").fancybox({
|
||||
'transitionIn' : 'none',
|
||||
'transitionOut' : 'none'
|
||||
});
|
||||
} else {
|
||||
if (typeof cb!="undefined") cb();
|
||||
}
|
||||
}
|
||||
|
||||
function enableOnUser(){
|
||||
if (editor) return;
|
||||
$(this).val("");
|
||||
initEditor();
|
||||
}
|
||||
|
||||
</script>
|
||||
<script type="text/javascript" src="$baseurl/js/ajaxupload.js" ></script>
|
||||
<script>
|
||||
var ispublic = '$ispublic';
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
/* enable tinymce on focus and click */
|
||||
$("#profile-jot-text").focus(enableOnUser);
|
||||
$("#profile-jot-text").click(enableOnUser);
|
||||
|
||||
var uploader = new window.AjaxUpload(
|
||||
'wall-image-upload',
|
||||
{ action: 'wall_upload/$nickname',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
var file_uploader = new window.AjaxUpload(
|
||||
'wall-file-upload',
|
||||
{ action: 'wall_attach/$nickname',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
});
|
||||
|
||||
function deleteCheckedItems() {
|
||||
var checkedstr = '';
|
||||
|
||||
$('.item-select').each( function() {
|
||||
if($(this).is(':checked')) {
|
||||
if(checkedstr.length != 0) {
|
||||
checkedstr = checkedstr + ',' + $(this).val();
|
||||
}
|
||||
else {
|
||||
checkedstr = $(this).val();
|
||||
}
|
||||
}
|
||||
});
|
||||
$.post('item', { dropitems: checkedstr }, function(data) {
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
|
||||
function jotGetLink() {
|
||||
reply = prompt("$linkurl");
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?binurl=' + reply, function(data) {
|
||||
addeditortext(data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function jotVideoURL() {
|
||||
reply = prompt("$vidurl");
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[video]' + reply + '[/video]');
|
||||
}
|
||||
}
|
||||
|
||||
function jotAudioURL() {
|
||||
reply = prompt("$audurl");
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[audio]' + reply + '[/audio]');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function jotGetLocation() {
|
||||
reply = prompt("$whereareu", $('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$('#jot-location').val(reply);
|
||||
}
|
||||
}
|
||||
|
||||
function jotShare(id) {
|
||||
if ($('#jot-popup').length != 0) $('#jot-popup').show();
|
||||
|
||||
$('#like-rotator-' + id).show();
|
||||
$.get('share/' + id, function(data) {
|
||||
if (!editor) $("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$('#like-rotator-' + id).hide();
|
||||
$(window).scrollTop(0);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?binurl=' + reply, function(data) {
|
||||
if (!editor) $("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function itemTag(id) {
|
||||
reply = prompt("$term");
|
||||
if(reply && reply.length) {
|
||||
reply = reply.replace('#','');
|
||||
if(reply.length) {
|
||||
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
|
||||
$.get('tagger/' + id + '?term=' + reply);
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function itemFiler(id) {
|
||||
|
||||
var bordercolor = $("input").css("border-color");
|
||||
|
||||
$.get('filer/', function(data){
|
||||
$.fancybox(data);
|
||||
$("#id_term").keypress(function(){
|
||||
$(this).css("border-color",bordercolor);
|
||||
})
|
||||
$("#select_term").change(function(){
|
||||
$("#id_term").css("border-color",bordercolor);
|
||||
})
|
||||
|
||||
$("#filer_save").click(function(e){
|
||||
e.preventDefault();
|
||||
reply = $("#id_term").val();
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
$.get('filer/' + id + '?term=' + reply, NavUpdate);
|
||||
/* if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
$.fancybox.close();
|
||||
} else {
|
||||
$("#id_term").css("border-color","#FF0000");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function jotClearLocation() {
|
||||
$('#jot-coord').val('');
|
||||
$('#profile-nolocation-wrapper').hide();
|
||||
}
|
||||
|
||||
function addeditortext(data) {
|
||||
if(plaintext == 'none') {
|
||||
var currentText = $("#profile-jot-text").val();
|
||||
$("#profile-jot-text").val(currentText + data);
|
||||
}
|
||||
else
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
}
|
||||
|
||||
$geotag
|
||||
|
||||
window.editSelect = $editselect;
|
||||
window.isPublic = "$ispublic";
|
||||
window.nickname = "$nickname";
|
||||
window.linkURL = "$linkurl";
|
||||
window.vidURL = "$vidurl";
|
||||
window.audURL = "$audurl";
|
||||
window.whereAreU = "$whereareu";
|
||||
window.term = "$term";
|
||||
window.baseURL = "$baseurl";
|
||||
window.geoTag = function () { $geotag }
|
||||
window.ajaxType = 'jot-header';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
85
view/theme/frost/jot.tpl
Normal file
85
view/theme/frost/jot.tpl
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
|
||||
<div id="profile-jot-wrapper" >
|
||||
<div id="profile-jot-banner-wrapper">
|
||||
<div id="profile-jot-desc" > </div>
|
||||
<div id="character-counter" class="grey"></div>
|
||||
</div>
|
||||
<div id="profile-jot-banner-end"></div>
|
||||
|
||||
<form id="profile-jot-form" action="$action" method="post" >
|
||||
<input type="hidden" name="type" value="$ptyp" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="return" value="$return_path" />
|
||||
<input type="hidden" name="location" id="jot-location" value="$defloc" />
|
||||
<input type="hidden" name="coord" id="jot-coord" value="" />
|
||||
<input type="hidden" name="post_id" value="$post_id" />
|
||||
<input type="hidden" name="preview" id="jot-preview" value="0" />
|
||||
<div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none"></div>
|
||||
<div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>
|
||||
<div id="jot-text-wrap">
|
||||
<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
|
||||
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
|
||||
</div>
|
||||
|
||||
<div id="profile-jot-submit-wrapper" class="jothidden">
|
||||
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
|
||||
|
||||
<div id="profile-upload-wrapper" style="display: $visitor;" >
|
||||
<div id="wall-image-upload-div" ><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="$upload"></a></div>
|
||||
</div>
|
||||
<div id="profile-attach-wrapper" style="display: $visitor;" >
|
||||
<div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="$attach"></a></div>
|
||||
</div>
|
||||
|
||||
<div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
|
||||
<a id="profile-link" class="icon link" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>
|
||||
</div>
|
||||
<div id="profile-video-wrapper" style="display: $visitor;" >
|
||||
<a id="profile-video" class="icon video" title="$video" onclick="jotVideoURL();return false;"></a>
|
||||
</div>
|
||||
<div id="profile-audio-wrapper" style="display: $visitor;" >
|
||||
<a id="profile-audio" class="icon audio" title="$audio" onclick="jotAudioURL();return false;"></a>
|
||||
</div>
|
||||
<div id="profile-location-wrapper" style="display: $visitor;" >
|
||||
<a id="profile-location" class="icon globe" title="$setloc" onclick="jotGetLocation();return false;"></a>
|
||||
</div>
|
||||
<div id="profile-nolocation-wrapper" style="display: none;" >
|
||||
<a id="profile-nolocation" class="icon noglobe" title="$noloc" onclick="jotClearLocation();return false;"></a>
|
||||
</div>
|
||||
|
||||
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
|
||||
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate" title="$permset" ></a>$bang
|
||||
</div>
|
||||
|
||||
<span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span>
|
||||
|
||||
<div id="profile-jot-perms-end"></div>
|
||||
|
||||
|
||||
<div id="profile-jot-plugin-wrapper">
|
||||
$jotplugins
|
||||
</div>
|
||||
|
||||
<div id="profile-rotator-wrapper" style="display: $visitor;" >
|
||||
<img id="profile-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
|
||||
</div>
|
||||
|
||||
<div id="jot-preview-content" style="display:none;"></div>
|
||||
|
||||
<div style="display: none;">
|
||||
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
|
||||
$acl
|
||||
<hr style="clear:both"/>
|
||||
<div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
|
||||
<div id="profile-jot-email-end"></div>
|
||||
$jotnets
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id="profile-jot-end"></div>
|
||||
</form>
|
||||
</div>
|
||||
{{ if $content }}<script>window.jotInit = true;</script>{{ endif }}
|
||||
258
view/theme/frost/js/acl.js
Normal file
258
view/theme/frost/js/acl.js
Normal file
|
|
@ -0,0 +1,258 @@
|
|||
function ACL(backend_url, preset){
|
||||
that = this;
|
||||
|
||||
that.url = backend_url;
|
||||
|
||||
that.kp_timer = null;
|
||||
|
||||
if (preset==undefined) preset = [];
|
||||
that.allow_cid = (preset[0] || []);
|
||||
that.allow_gid = (preset[1] || []);
|
||||
that.deny_cid = (preset[2] || []);
|
||||
that.deny_gid = (preset[3] || []);
|
||||
that.group_uids = [];
|
||||
that.nw = 4; //items per row. should be calulated from #acl-list.width
|
||||
|
||||
that.list_content = $j("#acl-list-content");
|
||||
that.item_tpl = unescape($j(".acl-list-item[rel=acl-template]").html());
|
||||
that.showall = $j("#acl-showall");
|
||||
|
||||
if (preset.length==0) that.showall.addClass("selected");
|
||||
|
||||
/*events*/
|
||||
that.showall.click(that.on_showall);
|
||||
$j(".acl-button-show").live('click', that.on_button_show);
|
||||
$j(".acl-button-hide").live('click', that.on_button_hide);
|
||||
$j("#acl-search").keypress(that.on_search);
|
||||
$j("#acl-wrapper").parents("form").submit(that.on_submit);
|
||||
|
||||
/* startup! */
|
||||
that.get(0,100);
|
||||
}
|
||||
|
||||
ACL.prototype.on_submit = function(){
|
||||
aclfileds = $j("#acl-fields").html("");
|
||||
$j(that.allow_gid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='group_allow[]' value='"+v+"'>");
|
||||
});
|
||||
$j(that.allow_cid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='contact_allow[]' value='"+v+"'>");
|
||||
});
|
||||
$j(that.deny_gid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='group_deny[]' value='"+v+"'>");
|
||||
});
|
||||
$j(that.deny_cid).each(function(i,v){
|
||||
aclfileds.append("<input type='hidden' name='contact_deny[]' value='"+v+"'>");
|
||||
});
|
||||
}
|
||||
|
||||
ACL.prototype.search = function(){
|
||||
var srcstr = $j("#acl-search").val();
|
||||
that.list_content.html("");
|
||||
that.get(0,100, srcstr);
|
||||
}
|
||||
|
||||
ACL.prototype.on_search = function(event){
|
||||
if (that.kp_timer) clearTimeout(that.kp_timer);
|
||||
that.kp_timer = setTimeout( that.search, 1000);
|
||||
}
|
||||
|
||||
ACL.prototype.on_showall = function(event){
|
||||
event.preventDefault()
|
||||
event.stopPropagation();
|
||||
|
||||
if (that.showall.hasClass("selected")){
|
||||
return false;
|
||||
}
|
||||
that.showall.addClass("selected");
|
||||
|
||||
that.allow_cid = [];
|
||||
that.allow_gid = [];
|
||||
that.deny_cid = [];
|
||||
that.deny_gid = [];
|
||||
|
||||
that.update_view();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
ACL.prototype.on_button_show = function(event){
|
||||
event.preventDefault()
|
||||
event.stopImmediatePropagation()
|
||||
event.stopPropagation();
|
||||
|
||||
/*that.showall.removeClass("selected");
|
||||
$j(this).siblings(".acl-button-hide").removeClass("selected");
|
||||
$j(this).toggleClass("selected");*/
|
||||
|
||||
that.set_allow($j(this).parent().attr('id'));
|
||||
|
||||
return false;
|
||||
}
|
||||
ACL.prototype.on_button_hide = function(event){
|
||||
event.preventDefault()
|
||||
event.stopImmediatePropagation()
|
||||
event.stopPropagation();
|
||||
|
||||
/*that.showall.removeClass("selected");
|
||||
$j(this).siblings(".acl-button-show").removeClass("selected");
|
||||
$j(this).toggleClass("selected");*/
|
||||
|
||||
that.set_deny($j(this).parent().attr('id'));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
ACL.prototype.set_allow = function(itemid){
|
||||
type = itemid[0];
|
||||
id = parseInt(itemid.substr(1));
|
||||
switch(type){
|
||||
case "g":
|
||||
if (that.allow_gid.indexOf(id)<0){
|
||||
that.allow_gid.push(id)
|
||||
}else {
|
||||
that.allow_gid.remove(id);
|
||||
}
|
||||
if (that.deny_gid.indexOf(id)>=0) that.deny_gid.remove(id);
|
||||
break;
|
||||
case "c":
|
||||
if (that.allow_cid.indexOf(id)<0){
|
||||
that.allow_cid.push(id)
|
||||
} else {
|
||||
that.allow_cid.remove(id);
|
||||
}
|
||||
if (that.deny_cid.indexOf(id)>=0) that.deny_cid.remove(id);
|
||||
break;
|
||||
}
|
||||
that.update_view();
|
||||
}
|
||||
|
||||
ACL.prototype.set_deny = function(itemid){
|
||||
type = itemid[0];
|
||||
id = parseInt(itemid.substr(1));
|
||||
switch(type){
|
||||
case "g":
|
||||
if (that.deny_gid.indexOf(id)<0){
|
||||
that.deny_gid.push(id)
|
||||
} else {
|
||||
that.deny_gid.remove(id);
|
||||
}
|
||||
if (that.allow_gid.indexOf(id)>=0) that.allow_gid.remove(id);
|
||||
break;
|
||||
case "c":
|
||||
if (that.deny_cid.indexOf(id)<0){
|
||||
that.deny_cid.push(id)
|
||||
} else {
|
||||
that.deny_cid.remove(id);
|
||||
}
|
||||
if (that.allow_cid.indexOf(id)>=0) that.allow_cid.remove(id);
|
||||
break;
|
||||
}
|
||||
that.update_view();
|
||||
}
|
||||
|
||||
ACL.prototype.update_view = function(){
|
||||
if (that.allow_gid.length==0 && that.allow_cid.length==0 &&
|
||||
that.deny_gid.length==0 && that.deny_cid.length==0){
|
||||
that.showall.addClass("selected");
|
||||
/* jot acl */
|
||||
$j('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$j('#jot-public').show();
|
||||
$j('.profile-jot-net input').attr('disabled', false);
|
||||
if(typeof editor != 'undefined' && editor != false) {
|
||||
$j('#profile-jot-desc').html(ispublic);
|
||||
}
|
||||
|
||||
} else {
|
||||
that.showall.removeClass("selected");
|
||||
/* jot acl */
|
||||
$j('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$j('#jot-public').hide();
|
||||
$j('.profile-jot-net input').attr('disabled', 'disabled');
|
||||
$j('#profile-jot-desc').html(' ');
|
||||
}
|
||||
$j("#acl-list-content .acl-list-item").each(function(){
|
||||
$j(this).removeClass("groupshow grouphide");
|
||||
});
|
||||
|
||||
$j("#acl-list-content .acl-list-item").each(function(){
|
||||
itemid = $j(this).attr('id');
|
||||
type = itemid[0];
|
||||
id = parseInt(itemid.substr(1));
|
||||
|
||||
btshow = $j(this).children(".acl-button-show").removeClass("selected");
|
||||
bthide = $j(this).children(".acl-button-hide").removeClass("selected");
|
||||
|
||||
switch(type){
|
||||
case "g":
|
||||
var uclass = "";
|
||||
if (that.allow_gid.indexOf(id)>=0){
|
||||
btshow.addClass("selected");
|
||||
bthide.removeClass("selected");
|
||||
uclass="groupshow";
|
||||
}
|
||||
if (that.deny_gid.indexOf(id)>=0){
|
||||
btshow.removeClass("selected");
|
||||
bthide.addClass("selected");
|
||||
uclass="grouphide";
|
||||
}
|
||||
|
||||
$j(that.group_uids[id]).each(function(i,v) {
|
||||
if(uclass == "grouphide")
|
||||
$j("#c"+v).removeClass("groupshow");
|
||||
if(uclass != "") {
|
||||
var cls = $j("#c"+v).attr('class');
|
||||
if( cls == undefined)
|
||||
return true;
|
||||
var hiding = cls.indexOf('grouphide');
|
||||
if(hiding == -1)
|
||||
$j("#c"+v).addClass(uclass);
|
||||
}
|
||||
});
|
||||
|
||||
break;
|
||||
case "c":
|
||||
if (that.allow_cid.indexOf(id)>=0){
|
||||
btshow.addClass("selected");
|
||||
bthide.removeClass("selected");
|
||||
}
|
||||
if (that.deny_cid.indexOf(id)>=0){
|
||||
btshow.removeClass("selected");
|
||||
bthide.addClass("selected");
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
ACL.prototype.get = function(start,count, search){
|
||||
var postdata = {
|
||||
start:start,
|
||||
count:count,
|
||||
search:search,
|
||||
}
|
||||
|
||||
$j.ajax({
|
||||
type:'POST',
|
||||
url: that.url,
|
||||
data: postdata,
|
||||
dataType: 'json',
|
||||
success:that.populate
|
||||
});
|
||||
}
|
||||
|
||||
ACL.prototype.populate = function(data){
|
||||
var height = Math.ceil(data.tot / that.nw) * 42;
|
||||
that.list_content.height(height);
|
||||
$j(data.items).each(function(){
|
||||
html = "<div class='acl-list-item {4} {5}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>";
|
||||
html = html.format( this.photo, this.name, this.type, this.id, '', this.network, this.link );
|
||||
if (this.uids!=undefined) that.group_uids[this.id] = this.uids;
|
||||
//console.log(html);
|
||||
that.list_content.append(html);
|
||||
});
|
||||
that.update_view();
|
||||
}
|
||||
|
||||
1
view/theme/frost/js/acl.min.js
vendored
Normal file
1
view/theme/frost/js/acl.min.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
function ACL(e,t){that=this,that.url=e,that.kp_timer=null,t==undefined&&(t=[]),that.allow_cid=t[0]||[],that.allow_gid=t[1]||[],that.deny_cid=t[2]||[],that.deny_gid=t[3]||[],that.group_uids=[],that.nw=4,that.list_content=$j("#acl-list-content"),that.item_tpl=unescape($j(".acl-list-item[rel=acl-template]").html()),that.showall=$j("#acl-showall"),t.length==0&&that.showall.addClass("selected"),that.showall.click(that.on_showall),$j(".acl-button-show").live("click",that.on_button_show),$j(".acl-button-hide").live("click",that.on_button_hide),$j("#acl-search").keypress(that.on_search),$j("#acl-wrapper").parents("form").submit(that.on_submit),that.get(0,100)}ACL.prototype.on_submit=function(){aclfileds=$j("#acl-fields").html(""),$j(that.allow_gid).each(function(e,t){aclfileds.append("<input type='hidden' name='group_allow[]' value='"+t+"'>")}),$j(that.allow_cid).each(function(e,t){aclfileds.append("<input type='hidden' name='contact_allow[]' value='"+t+"'>")}),$j(that.deny_gid).each(function(e,t){aclfileds.append("<input type='hidden' name='group_deny[]' value='"+t+"'>")}),$j(that.deny_cid).each(function(e,t){aclfileds.append("<input type='hidden' name='contact_deny[]' value='"+t+"'>")})},ACL.prototype.search=function(){var e=$j("#acl-search").val();that.list_content.html(""),that.get(0,100,e)},ACL.prototype.on_search=function(e){that.kp_timer&&clearTimeout(that.kp_timer),that.kp_timer=setTimeout(that.search,1e3)},ACL.prototype.on_showall=function(e){return e.preventDefault(),e.stopPropagation(),that.showall.hasClass("selected")?!1:(that.showall.addClass("selected"),that.allow_cid=[],that.allow_gid=[],that.deny_cid=[],that.deny_gid=[],that.update_view(),!1)},ACL.prototype.on_button_show=function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),that.set_allow($j(this).parent().attr("id")),!1},ACL.prototype.on_button_hide=function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),that.set_deny($j(this).parent().attr("id")),!1},ACL.prototype.set_allow=function(e){type=e[0],id=parseInt(e.substr(1));switch(type){case"g":that.allow_gid.indexOf(id)<0?that.allow_gid.push(id):that.allow_gid.remove(id),that.deny_gid.indexOf(id)>=0&&that.deny_gid.remove(id);break;case"c":that.allow_cid.indexOf(id)<0?that.allow_cid.push(id):that.allow_cid.remove(id),that.deny_cid.indexOf(id)>=0&&that.deny_cid.remove(id)}that.update_view()},ACL.prototype.set_deny=function(e){type=e[0],id=parseInt(e.substr(1));switch(type){case"g":that.deny_gid.indexOf(id)<0?that.deny_gid.push(id):that.deny_gid.remove(id),that.allow_gid.indexOf(id)>=0&&that.allow_gid.remove(id);break;case"c":that.deny_cid.indexOf(id)<0?that.deny_cid.push(id):that.deny_cid.remove(id),that.allow_cid.indexOf(id)>=0&&that.allow_cid.remove(id)}that.update_view()},ACL.prototype.update_view=function(){that.allow_gid.length==0&&that.allow_cid.length==0&&that.deny_gid.length==0&&that.deny_cid.length==0?(that.showall.addClass("selected"),$j("#jot-perms-icon").removeClass("lock").addClass("unlock"),$j("#jot-public").show(),$j(".profile-jot-net input").attr("disabled",!1),typeof editor!="undefined"&&editor!=0&&$j("#profile-jot-desc").html(ispublic)):(that.showall.removeClass("selected"),$j("#jot-perms-icon").removeClass("unlock").addClass("lock"),$j("#jot-public").hide(),$j(".profile-jot-net input").attr("disabled","disabled"),$j("#profile-jot-desc").html(" ")),$j("#acl-list-content .acl-list-item").each(function(){$j(this).removeClass("groupshow grouphide")}),$j("#acl-list-content .acl-list-item").each(function(){itemid=$j(this).attr("id"),type=itemid[0],id=parseInt(itemid.substr(1)),btshow=$j(this).children(".acl-button-show").removeClass("selected"),bthide=$j(this).children(".acl-button-hide").removeClass("selected");switch(type){case"g":var e="";that.allow_gid.indexOf(id)>=0&&(btshow.addClass("selected"),bthide.removeClass("selected"),e="groupshow"),that.deny_gid.indexOf(id)>=0&&(btshow.removeClass("selected"),bthide.addClass("selected"),e="grouphide"),$j(that.group_uids[id]).each(function(t,n){e=="grouphide"&&$j("#c"+n).removeClass("groupshow");if(e!=""){var r=$j("#c"+n).attr("class");if(r==undefined)return!0;var i=r.indexOf("grouphide");i==-1&&$j("#c"+n).addClass(e)}});break;case"c":that.allow_cid.indexOf(id)>=0&&(btshow.addClass("selected"),bthide.removeClass("selected")),that.deny_cid.indexOf(id)>=0&&(btshow.removeClass("selected"),bthide.addClass("selected"))}})},ACL.prototype.get=function(e,t,n){var r={start:e,count:t,search:n};$j.ajax({type:"POST",url:that.url,data:r,dataType:"json",success:that.populate})},ACL.prototype.populate=function(e){var t=Math.ceil(e.tot/that.nw)*42;that.list_content.height(t),$j(e.items).each(function(){html="<div class='acl-list-item {4} {5}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>",html=html.format(this.photo,this.name,this.type,this.id,"",this.network,this.link),this.uids!=undefined&&(that.group_uids[this.id]=this.uids),that.list_content.append(html)}),that.update_view()};
|
||||
194
view/theme/frost/js/fk.autocomplete.js
Normal file
194
view/theme/frost/js/fk.autocomplete.js
Normal file
|
|
@ -0,0 +1,194 @@
|
|||
/**
|
||||
* 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 );
|
||||
|
||||
|
||||
|
||||
|
||||
5
view/theme/frost/js/fk.autocomplete.min.js
vendored
Normal file
5
view/theme/frost/js/fk.autocomplete.min.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/**
|
||||
* 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=$j(e).offset(),n=$j(e).width(),r=$j(e).height();else{var i=e.getContainer();typeof i!="undefined"&&(style=$j(i).offset(),n=$j(i).width(),r=$j(i).height())}style.top=style.top+r,style.width=n,style.position="absolute",style.display="none",this.cont=$j("<div class='acpopup'></div>"),this.cont.css(style),$j("body").append(this.cont)}function ContactAutocomplete(e,t){this.pattern=/@([^ \n]+)$/,this.popup=null;var n=this;$j(e).unbind("keydown"),$j(e).unbind("keyup"),$j(e).keydown(function(e){n.popup!==null&&n.popup.onkey(e)}),$j(e).keyup(function(e){cpos=$j(this).getSelection(),cpos.start==cpos.end&&(match=$j(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(){$j(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"};$j.ajax({type:"POST",url:this.url,data:t,dataType:"json",success:function(t){e.cont.html(""),t.tot>0?(e.cont.show(),$j(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=$j("<div class='acpopupitem' title='"+n+"'>"+e+"</div>");i.click(function(e){t=$j(this).attr("title").replace(new RegExp(" - .*"),""),typeof r.element.container=="undefined"?(el=$j(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())}),$j(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"),$j(this.cont.children()[this.idsel]).addClass("selected");e.keyCode=="27"&&this.close()},function(e){$j.fn.contact_autocomplete=function(e){this.each(function(){new ContactAutocomplete(this,e)})}}(jQuery);
|
||||
|
|
@ -33,14 +33,14 @@
|
|||
var last_popup_menu = null;
|
||||
var last_popup_button = null;
|
||||
|
||||
$(function() {
|
||||
$.ajaxSetup({cache: false});
|
||||
$j(function() {
|
||||
$j.ajaxSetup({cache: false});
|
||||
|
||||
msie = $.browser.msie ;
|
||||
msie = $j.browser.msie ;
|
||||
|
||||
/* setup tooltips *//*
|
||||
$("a,.tt").each(function(){
|
||||
var e = $(this);
|
||||
$j("a,.tt").each(function(){
|
||||
var e = $j(this);
|
||||
var pos="bottom";
|
||||
if (e.hasClass("tttop")) pos="top";
|
||||
if (e.hasClass("ttbottom")) pos="bottom";
|
||||
|
|
@ -52,19 +52,19 @@
|
|||
|
||||
|
||||
/* setup onoff widgets */
|
||||
$(".onoff input").each(function(){
|
||||
val = $(this).val();
|
||||
id = $(this).attr("id");
|
||||
$("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
|
||||
$j(".onoff input").each(function(){
|
||||
val = $j(this).val();
|
||||
id = $j(this).attr("id");
|
||||
$j("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
|
||||
|
||||
});
|
||||
$(".onoff > a").click(function(event){
|
||||
$j(".onoff > a").click(function(event){
|
||||
event.preventDefault();
|
||||
var input = $(this).siblings("input");
|
||||
var input = $j(this).siblings("input");
|
||||
var val = 1-input.val();
|
||||
var id = input.attr("id");
|
||||
$("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
|
||||
$("#"+id+"_onoff ."+ (val==1?"on":"off")).removeClass("hidden");
|
||||
$j("#"+id+"_onoff ."+ (val==0?"on":"off")).addClass("hidden");
|
||||
$j("#"+id+"_onoff ."+ (val==1?"on":"off")).removeClass("hidden");
|
||||
input.val(val);
|
||||
//console.log(id);
|
||||
});
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
function close_last_popup_menu(e) {
|
||||
|
||||
if( last_popup_menu ) {
|
||||
if( '#' + last_popup_menu.attr('id') !== $(e.target).attr('rel')) {
|
||||
if( '#' + last_popup_menu.attr('id') !== $j(e.target).attr('rel')) {
|
||||
last_popup_menu.hide();
|
||||
last_popup_button.removeClass("selected");
|
||||
last_popup_menu = null;
|
||||
|
|
@ -84,16 +84,16 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
$('a[rel^=#]').click(function(e){
|
||||
$j('a[rel^=#]').click(function(e){
|
||||
|
||||
close_last_popup_menu(e);
|
||||
menu = $( $(this).attr('rel') );
|
||||
menu = $j( $j(this).attr('rel') );
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
if (menu.attr('popup')=="false") return false;
|
||||
|
||||
$(this).parent().toggleClass("selected");
|
||||
$j(this).parent().toggleClass("selected");
|
||||
menu.slideToggle('fast');
|
||||
|
||||
if (menu.css("display") == "none") {
|
||||
|
|
@ -101,66 +101,66 @@
|
|||
last_popup_button = null;
|
||||
} else {
|
||||
last_popup_menu = menu;
|
||||
last_popup_button = $(this).parent();
|
||||
last_popup_button = $j(this).parent();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
$('html').click(function(e) {
|
||||
$j('html').click(function(e) {
|
||||
close_last_popup_menu(e);
|
||||
});
|
||||
|
||||
// fancyboxes
|
||||
$("a.popupbox").fancybox({
|
||||
$j("a.popupbox").fancybox({
|
||||
'transitionIn' : 'none',
|
||||
'transitionOut' : 'none'
|
||||
});
|
||||
|
||||
|
||||
/* notifications template */
|
||||
var notifications_tpl= unescape($("#nav-notifications-template[rel=template]").html());
|
||||
var notifications_all = unescape($('<div>').append( $("#nav-notifications-see-all").clone() ).html()); //outerHtml hack
|
||||
var notifications_mark = unescape($('<div>').append( $("#nav-notifications-mark-all").clone() ).html()); //outerHtml hack
|
||||
var notifications_empty = unescape($("#nav-notifications-menu").html());
|
||||
var notifications_tpl= unescape($j("#nav-notifications-template[rel=template]").html());
|
||||
var notifications_all = unescape($j('<div>').append( $j("#nav-notifications-see-all").clone() ).html()); //outerHtml hack
|
||||
var notifications_mark = unescape($j('<div>').append( $j("#nav-notifications-mark-all").clone() ).html()); //outerHtml hack
|
||||
var notifications_empty = unescape($j("#nav-notifications-menu").html());
|
||||
|
||||
/* nav update event */
|
||||
$('nav').bind('nav-update', function(e,data){;
|
||||
var invalid = $(data).find('invalid').text();
|
||||
$j('nav').bind('nav-update', function(e,data){;
|
||||
var invalid = $j(data).find('invalid').text();
|
||||
if(invalid == 1) { window.location.href=window.location.href }
|
||||
|
||||
var net = $(data).find('net').text();
|
||||
if(net == 0) { net = ''; $('#net-update').removeClass('show') } else { $('#net-update').addClass('show') }
|
||||
$('#net-update').html(net);
|
||||
var net = $j(data).find('net').text();
|
||||
if(net == 0) { net = ''; $j('#net-update').removeClass('show') } else { $j('#net-update').addClass('show') }
|
||||
$j('#net-update').html(net);
|
||||
|
||||
var home = $(data).find('home').text();
|
||||
if(home == 0) { home = ''; $('#home-update').removeClass('show') } else { $('#home-update').addClass('show') }
|
||||
$('#home-update').html(home);
|
||||
var home = $j(data).find('home').text();
|
||||
if(home == 0) { home = ''; $j('#home-update').removeClass('show') } else { $j('#home-update').addClass('show') }
|
||||
$j('#home-update').html(home);
|
||||
|
||||
var intro = $(data).find('intro').text();
|
||||
if(intro == 0) { intro = ''; $('#intro-update').removeClass('show') } else { $('#intro-update').addClass('show') }
|
||||
$('#intro-update').html(intro);
|
||||
var intro = $j(data).find('intro').text();
|
||||
if(intro == 0) { intro = ''; $j('#intro-update').removeClass('show') } else { $j('#intro-update').addClass('show') }
|
||||
$j('#intro-update').html(intro);
|
||||
|
||||
var mail = $(data).find('mail').text();
|
||||
if(mail == 0) { mail = ''; $('#mail-update').removeClass('show') } else { $('#mail-update').addClass('show') }
|
||||
$('#mail-update').html(mail);
|
||||
var mail = $j(data).find('mail').text();
|
||||
if(mail == 0) { mail = ''; $j('#mail-update').removeClass('show') } else { $j('#mail-update').addClass('show') }
|
||||
$j('#mail-update').html(mail);
|
||||
|
||||
var intro = $(data).find('intro').text();
|
||||
if(intro == 0) { intro = ''; $('#intro-update-li').removeClass('show') } else { $('#intro-update-li').addClass('show') }
|
||||
$('#intro-update-li').html(intro);
|
||||
var intro = $j(data).find('intro').text();
|
||||
if(intro == 0) { intro = ''; $j('#intro-update-li').removeClass('show') } else { $j('#intro-update-li').addClass('show') }
|
||||
$j('#intro-update-li').html(intro);
|
||||
|
||||
var mail = $(data).find('mail').text();
|
||||
if(mail == 0) { mail = ''; $('#mail-update-li').removeClass('show') } else { $('#mail-update-li').addClass('show') }
|
||||
$('#mail-update-li').html(mail);
|
||||
var mail = $j(data).find('mail').text();
|
||||
if(mail == 0) { mail = ''; $j('#mail-update-li').removeClass('show') } else { $j('#mail-update-li').addClass('show') }
|
||||
$j('#mail-update-li').html(mail);
|
||||
|
||||
var eNotif = $(data).find('notif')
|
||||
var eNotif = $j(data).find('notif')
|
||||
|
||||
if (eNotif.children("note").length==0){
|
||||
$("#nav-notifications-menu").html(notifications_empty);
|
||||
$j("#nav-notifications-menu").html(notifications_empty);
|
||||
} else {
|
||||
nnm = $("#nav-notifications-menu");
|
||||
nnm = $j("#nav-notifications-menu");
|
||||
nnm.html(notifications_all + notifications_mark);
|
||||
//nnm.attr('popup','true');
|
||||
eNotif.children("note").each(function(){
|
||||
e = $(this);
|
||||
e = $j(this);
|
||||
text = e.text().format("<span class='contactname'>"+e.attr('name')+"</span>");
|
||||
html = notifications_tpl.format(e.attr('href'),e.attr('photo'), text, e.attr('date'), e.attr('seen'));
|
||||
nnm.append(html);
|
||||
|
|
@ -168,21 +168,21 @@
|
|||
}
|
||||
notif = eNotif.attr('count');
|
||||
if (notif>0){
|
||||
$("#nav-notifications-linkmenu").addClass("on");
|
||||
$j("#nav-notifications-linkmenu").addClass("on");
|
||||
} else {
|
||||
$("#nav-notifications-linkmenu").removeClass("on");
|
||||
$j("#nav-notifications-linkmenu").removeClass("on");
|
||||
}
|
||||
if(notif == 0) { notif = ''; $('#notify-update').removeClass('show') } else { $('#notify-update').addClass('show') }
|
||||
$('#notify-update').html(notif);
|
||||
if(notif == 0) { notif = ''; $j('#notify-update').removeClass('show') } else { $j('#notify-update').addClass('show') }
|
||||
$j('#notify-update').html(notif);
|
||||
|
||||
var eSysmsg = $(data).find('sysmsgs');
|
||||
var eSysmsg = $j(data).find('sysmsgs');
|
||||
eSysmsg.children("notice").each(function(){
|
||||
text = $(this).text();
|
||||
$.jGrowl(text, { sticky: true, theme: 'notice' });
|
||||
text = $j(this).text();
|
||||
$j.jGrowl(text, { sticky: false, theme: 'notice', life: 2000 }); // originally: sticky: true,
|
||||
});
|
||||
eSysmsg.children("info").each(function(){
|
||||
text = $(this).text();
|
||||
$.jGrowl(text, { sticky: false, theme: 'info', life: 1500 });
|
||||
text = $j(this).text();
|
||||
$j.jGrowl(text, { sticky: false, theme: 'info', life: 1500 });
|
||||
});
|
||||
|
||||
});
|
||||
|
|
@ -190,7 +190,7 @@
|
|||
|
||||
NavUpdate();
|
||||
// Allow folks to stop the ajax page updates with the pause/break key
|
||||
$(document).keydown(function(event) {
|
||||
$j(document).keydown(function(event) {
|
||||
if(event.keyCode == '8') {
|
||||
var target = event.target || event.srcElement;
|
||||
if (!/input|textarea/i.test(target.nodeName)) {
|
||||
|
|
@ -204,7 +204,7 @@
|
|||
if (event.ctrlKey) {
|
||||
totStopped = true;
|
||||
}
|
||||
$('#pause').html('<img src="images/pause.gif" alt="pause" style="border: 1px solid black;" />');
|
||||
$j('#pause').html('<img src="images/pause.gif" alt="pause" style="border: 1px solid black;" />');
|
||||
} else {
|
||||
unpause();
|
||||
}
|
||||
|
|
@ -222,27 +222,27 @@
|
|||
|
||||
if(! stopped) {
|
||||
var pingCmd = 'ping' + ((localUser != 0) ? '?f=&uid=' + localUser : '');
|
||||
$.get(pingCmd,function(data) {
|
||||
$(data).find('result').each(function() {
|
||||
$j.get(pingCmd,function(data) {
|
||||
$j(data).find('result').each(function() {
|
||||
// send nav-update event
|
||||
$('nav').trigger('nav-update', this);
|
||||
$j('nav').trigger('nav-update', this);
|
||||
|
||||
|
||||
// start live update
|
||||
|
||||
|
||||
|
||||
if($('#live-network').length) { src = 'network'; liveUpdate(); }
|
||||
if($('#live-profile').length) { src = 'profile'; liveUpdate(); }
|
||||
if($('#live-community').length) { src = 'community'; liveUpdate(); }
|
||||
if($('#live-notes').length) { src = 'notes'; liveUpdate(); }
|
||||
if($('#live-display').length) {
|
||||
if($j('#live-network').length) { src = 'network'; liveUpdate(); }
|
||||
if($j('#live-profile').length) { src = 'profile'; liveUpdate(); }
|
||||
if($j('#live-community').length) { src = 'community'; liveUpdate(); }
|
||||
if($j('#live-notes').length) { src = 'notes'; liveUpdate(); }
|
||||
if($j('#live-display').length) {
|
||||
if(liking) {
|
||||
liking = 0;
|
||||
window.location.href=window.location.href
|
||||
}
|
||||
}
|
||||
if($('#live-photos').length) {
|
||||
if($j('#live-photos').length) {
|
||||
if(liking) {
|
||||
liking = 0;
|
||||
window.location.href=window.location.href
|
||||
|
|
@ -259,8 +259,8 @@
|
|||
}
|
||||
|
||||
function liveUpdate() {
|
||||
if((src == null) || (stopped) || (! profile_uid)) { $('.like-rotator').hide(); return; }
|
||||
if(($('.comment-edit-text-full').length) || (in_progress)) {
|
||||
if((src == null) || (stopped) || (! profile_uid)) { $j('.like-rotator').hide(); return; }
|
||||
if(($j('.comment-edit-text-full').length) || (in_progress)) {
|
||||
if(livetime) {
|
||||
clearTimeout(livetime);
|
||||
}
|
||||
|
|
@ -276,34 +276,34 @@
|
|||
var udargs = ((netargs.length) ? '/' + netargs : '');
|
||||
var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0);
|
||||
|
||||
$.get(update_url,function(data) {
|
||||
$j.get(update_url,function(data) {
|
||||
in_progress = false;
|
||||
// $('.collapsed-comments',data).each(function() {
|
||||
// var ident = $(this).attr('id');
|
||||
// var is_hidden = $('#' + ident).is(':hidden');
|
||||
// if($('#' + ident).length) {
|
||||
// $('#' + ident).replaceWith($(this));
|
||||
// $j('.collapsed-comments',data).each(function() {
|
||||
// var ident = $j(this).attr('id');
|
||||
// var is_hidden = $j('#' + ident).is(':hidden');
|
||||
// if($j('#' + ident).length) {
|
||||
// $j('#' + ident).replaceWith($j(this));
|
||||
// if(is_hidden)
|
||||
// $('#' + ident).hide();
|
||||
// $j('#' + ident).hide();
|
||||
// }
|
||||
//});
|
||||
|
||||
// add a new thread
|
||||
|
||||
$('.tread-wrapper',data).each(function() {
|
||||
var ident = $(this).attr('id');
|
||||
$j('.tread-wrapper',data).each(function() {
|
||||
var ident = $j(this).attr('id');
|
||||
|
||||
if($('#' + ident).length == 0 && profile_page == 1) {
|
||||
$('img',this).each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
if($j('#' + ident).length == 0 && profile_page == 1) {
|
||||
$j('img',this).each(function() {
|
||||
$j(this).attr('src',$j(this).attr('dst'));
|
||||
});
|
||||
$('#' + prev).after($(this));
|
||||
$j('#' + prev).after($j(this));
|
||||
}
|
||||
else {
|
||||
$('img',this).each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
$j('img',this).each(function() {
|
||||
$j(this).attr('src',$j(this).attr('dst'));
|
||||
});
|
||||
$('#' + ident).replaceWith($(this));
|
||||
$j('#' + ident).replaceWith($j(this));
|
||||
}
|
||||
prev = ident;
|
||||
});
|
||||
|
|
@ -312,45 +312,45 @@
|
|||
|
||||
/*prev = 'live-' + src;
|
||||
|
||||
$('.wall-item-outside-wrapper',data).each(function() {
|
||||
var ident = $(this).attr('id');
|
||||
$j('.wall-item-outside-wrapper',data).each(function() {
|
||||
var ident = $j(this).attr('id');
|
||||
|
||||
if($('#' + ident).length == 0 && prev != 'live-' + src) {
|
||||
$('img',this).each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
if($j('#' + ident).length == 0 && prev != 'live-' + src) {
|
||||
$j('img',this).each(function() {
|
||||
$j(this).attr('src',$j(this).attr('dst'));
|
||||
});
|
||||
$('#' + prev).after($(this));
|
||||
$j('#' + prev).after($j(this));
|
||||
}
|
||||
else {
|
||||
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
|
||||
if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
|
||||
$('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
|
||||
$('#' + ident + ' ' + '.hide-comments-total').replaceWith($(this).find('.hide-comments-total'));
|
||||
$('#' + ident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
|
||||
$('#' + ident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
|
||||
$('#' + ident + ' ' + '.my-comment-photo').each(function() {
|
||||
$(this).attr('src',$(this).attr('dst'));
|
||||
$j('#' + ident + ' ' + '.wall-item-ago').replaceWith($j(this).find('.wall-item-ago'));
|
||||
if($j('#' + ident + ' ' + '.comment-edit-text-empty').length)
|
||||
$j('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($j(this).find('.wall-item-comment-wrapper'));
|
||||
$j('#' + ident + ' ' + '.hide-comments-total').replaceWith($j(this).find('.hide-comments-total'));
|
||||
$j('#' + ident + ' ' + '.wall-item-like').replaceWith($j(this).find('.wall-item-like'));
|
||||
$j('#' + ident + ' ' + '.wall-item-dislike').replaceWith($j(this).find('.wall-item-dislike'));
|
||||
$j('#' + ident + ' ' + '.my-comment-photo').each(function() {
|
||||
$j(this).attr('src',$j(this).attr('dst'));
|
||||
});
|
||||
}
|
||||
prev = ident;
|
||||
});*/
|
||||
|
||||
$('.like-rotator').hide();
|
||||
$j('.like-rotator').hide();
|
||||
if(commentBusy) {
|
||||
commentBusy = false;
|
||||
$('body').css('cursor', 'auto');
|
||||
$j('body').css('cursor', 'auto');
|
||||
}
|
||||
/* autocomplete @nicknames */
|
||||
$(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||
});
|
||||
}
|
||||
|
||||
function imgbright(node) {
|
||||
$(node).removeClass("drophide").addClass("drop");
|
||||
$j(node).removeClass("drophide").addClass("drop");
|
||||
}
|
||||
|
||||
function imgdull(node) {
|
||||
$(node).removeClass("drop").addClass("drophide");
|
||||
$j(node).removeClass("drop").addClass("drophide");
|
||||
}
|
||||
|
||||
// Since our ajax calls are asynchronous, we will give a few
|
||||
|
|
@ -365,8 +365,8 @@
|
|||
|
||||
function dolike(ident,verb) {
|
||||
unpause();
|
||||
$('#like-rotator-' + ident.toString()).show();
|
||||
$.get('like/' + ident.toString() + '?verb=' + verb, NavUpdate );
|
||||
$j('#like-rotator-' + ident.toString()).show();
|
||||
$j.get('like/' + ident.toString() + '?verb=' + verb, NavUpdate );
|
||||
// if(timer) clearTimeout(timer);
|
||||
// timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
|
|
@ -374,21 +374,21 @@
|
|||
|
||||
function dostar(ident) {
|
||||
ident = ident.toString();
|
||||
// $('#like-rotator-' + ident).show();
|
||||
$.get('starred/' + ident, function(data) {
|
||||
// $j('#like-rotator-' + ident).show();
|
||||
$j.get('starred/' + ident, function(data) {
|
||||
if(data.match(/1/)) {
|
||||
$('#starred-' + ident).addClass('starred');
|
||||
$('#starred-' + ident).removeClass('unstarred');
|
||||
$('#star-' + ident).addClass('hidden');
|
||||
$('#unstar-' + ident).removeClass('hidden');
|
||||
$j('#starred-' + ident).addClass('starred');
|
||||
$j('#starred-' + ident).removeClass('unstarred');
|
||||
$j('#star-' + ident).addClass('hidden');
|
||||
$j('#unstar-' + ident).removeClass('hidden');
|
||||
}
|
||||
else {
|
||||
$('#starred-' + ident).addClass('unstarred');
|
||||
$('#starred-' + ident).removeClass('starred');
|
||||
$('#star-' + ident).removeClass('hidden');
|
||||
$('#unstar-' + ident).addClass('hidden');
|
||||
$j('#starred-' + ident).addClass('unstarred');
|
||||
$j('#starred-' + ident).removeClass('starred');
|
||||
$j('#star-' + ident).removeClass('hidden');
|
||||
$j('#unstar-' + ident).addClass('hidden');
|
||||
}
|
||||
// $('#like-rotator-' + ident).hide();
|
||||
// $j('#like-rotator-' + ident).hide();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -423,31 +423,31 @@
|
|||
}
|
||||
else {
|
||||
lockvisible = true;
|
||||
$.get('lockview/' + id, function(data) {
|
||||
$('#panel').html(data);
|
||||
$('#panel').css({ 'left': cursor.x + 5 , 'top': cursor.y + 5});
|
||||
$('#panel').show();
|
||||
$j.get('lockview/' + id, function(data) {
|
||||
$j('#panel').html(data);
|
||||
$j('#panel').css({ 'left': cursor.x + 5 , 'top': cursor.y + 5});
|
||||
$j('#panel').show();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function lockviewhide() {
|
||||
lockvisible = false;
|
||||
$('#panel').hide();
|
||||
$j('#panel').hide();
|
||||
}
|
||||
|
||||
function post_comment(id) {
|
||||
unpause();
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
$("#comment-preview-inp-" + id).val("0");
|
||||
$.post(
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j("#comment-preview-inp-" + id).val("0");
|
||||
$j.post(
|
||||
"item",
|
||||
$("#comment-edit-form-" + id).serialize(),
|
||||
$j("#comment-edit-form-" + id).serialize(),
|
||||
function(data) {
|
||||
if(data.success) {
|
||||
$("#comment-edit-wrapper-" + id).hide();
|
||||
$("#comment-edit-text-" + id).val('');
|
||||
$j("#comment-edit-wrapper-" + id).hide();
|
||||
$j("#comment-edit-text-" + id).val('');
|
||||
var tarea = document.getElementById("comment-edit-text-" + id);
|
||||
if(tarea)
|
||||
commentClose(tarea,id);
|
||||
|
|
@ -465,16 +465,16 @@
|
|||
|
||||
|
||||
function preview_comment(id) {
|
||||
$("#comment-preview-inp-" + id).val("1");
|
||||
$("#comment-edit-preview-" + id).show();
|
||||
$.post(
|
||||
$j("#comment-preview-inp-" + id).val("1");
|
||||
$j("#comment-edit-preview-" + id).show();
|
||||
$j.post(
|
||||
"item",
|
||||
$("#comment-edit-form-" + id).serialize(),
|
||||
$j("#comment-edit-form-" + id).serialize(),
|
||||
function(data) {
|
||||
if(data.preview) {
|
||||
|
||||
$("#comment-edit-preview-" + id).html(data.preview);
|
||||
$("#comment-edit-preview-" + id + " a").click(function() { return false; });
|
||||
$j("#comment-edit-preview-" + id).html(data.preview);
|
||||
$j("#comment-edit-preview-" + id + " a").click(function() { return false; });
|
||||
}
|
||||
},
|
||||
"json"
|
||||
|
|
@ -485,21 +485,21 @@
|
|||
|
||||
|
||||
function preview_post() {
|
||||
$("#jot-preview").val("1");
|
||||
$("#jot-preview-content").show();
|
||||
$j("#jot-preview").val("1");
|
||||
$j("#jot-preview-content").show();
|
||||
tinyMCE.triggerSave();
|
||||
$.post(
|
||||
$j.post(
|
||||
"item",
|
||||
$("#profile-jot-form").serialize(),
|
||||
$j("#profile-jot-form").serialize(),
|
||||
function(data) {
|
||||
if(data.preview) {
|
||||
$("#jot-preview-content").html(data.preview);
|
||||
$("#jot-preview-content" + " a").click(function() { return false; });
|
||||
$j("#jot-preview-content").html(data.preview);
|
||||
$j("#jot-preview-content" + " a").click(function() { return false; });
|
||||
}
|
||||
},
|
||||
"json"
|
||||
);
|
||||
$("#jot-preview").val("0");
|
||||
$j("#jot-preview").val("0");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -508,7 +508,7 @@
|
|||
// unpause auto reloads if they are currently stopped
|
||||
totStopped = false;
|
||||
stopped = false;
|
||||
$('#pause').html('');
|
||||
$j('#pause').html('');
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -536,40 +536,40 @@
|
|||
}
|
||||
|
||||
function groupChangeMember(gid, cid, sec_token) {
|
||||
$('body .fakelink').css('cursor', 'wait');
|
||||
$.get('group/' + gid + '/' + cid + "?t=" + sec_token, function(data) {
|
||||
$('#group-update-wrapper').html(data);
|
||||
$('body .fakelink').css('cursor', 'auto');
|
||||
$j('body .fakelink').css('cursor', 'wait');
|
||||
$j.get('group/' + gid + '/' + cid + "?t=" + sec_token, function(data) {
|
||||
$j('#group-update-wrapper').html(data);
|
||||
$j('body .fakelink').css('cursor', 'auto');
|
||||
});
|
||||
}
|
||||
|
||||
function profChangeMember(gid,cid) {
|
||||
$('body .fakelink').css('cursor', 'wait');
|
||||
$.get('profperm/' + gid + '/' + cid, function(data) {
|
||||
$('#prof-update-wrapper').html(data);
|
||||
$('body .fakelink').css('cursor', 'auto');
|
||||
$j('body .fakelink').css('cursor', 'wait');
|
||||
$j.get('profperm/' + gid + '/' + cid, function(data) {
|
||||
$j('#prof-update-wrapper').html(data);
|
||||
$j('body .fakelink').css('cursor', 'auto');
|
||||
});
|
||||
}
|
||||
|
||||
function contactgroupChangeMember(gid,cid) {
|
||||
$('body').css('cursor', 'wait');
|
||||
$.get('contactgroup/' + gid + '/' + cid, function(data) {
|
||||
$('body').css('cursor', 'auto');
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j.get('contactgroup/' + gid + '/' + cid, function(data) {
|
||||
$j('body').css('cursor', 'auto');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function checkboxhighlight(box) {
|
||||
if($(box).is(':checked')) {
|
||||
$(box).addClass('checkeditem');
|
||||
if($j(box).is(':checked')) {
|
||||
$j(box).addClass('checkeditem');
|
||||
}
|
||||
else {
|
||||
$(box).removeClass('checkeditem');
|
||||
$j(box).removeClass('checkeditem');
|
||||
}
|
||||
}
|
||||
|
||||
function notifyMarkAll() {
|
||||
$.get('notify/mark/all', function(data) {
|
||||
$j.get('notify/mark/all', function(data) {
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,1000);
|
||||
});
|
||||
|
|
@ -648,9 +648,9 @@ Array.prototype.remove = function(item) {
|
|||
};
|
||||
|
||||
function previewTheme(elm) {
|
||||
theme = $(elm).val();
|
||||
$.getJSON('pretheme?f=&theme=' + theme,function(data) {
|
||||
$('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><div id="theme-version">' + data.version + '</div><div id="theme-credits">' + data.credits + '</div><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
|
||||
theme = $j(elm).val();
|
||||
$j.getJSON('pretheme?f=&theme=' + theme,function(data) {
|
||||
$j('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><div id="theme-version">' + data.version + '</div><div id="theme-credits">' + data.credits + '</div><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
|||
1
view/theme/frost/js/main.min.js
vendored
Normal file
1
view/theme/frost/js/main.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$j(document).ready(function() {
|
||||
|
||||
window.navMenuTimeout = {
|
||||
'#network-menu-list-timeout': null,
|
||||
|
|
@ -12,72 +12,494 @@ $(document).ready(function() {
|
|||
'#system-menu-list-closing': false
|
||||
};
|
||||
|
||||
$.ajaxSetup({
|
||||
/* $j.ajaxSetup({
|
||||
cache: false
|
||||
});
|
||||
});*/
|
||||
|
||||
|
||||
$('.nav-menu-link').hover(function() {
|
||||
showNavMenu($(this).attr('rel'));
|
||||
if(typeof acl=="undefined"){
|
||||
acl = new ACL(
|
||||
baseurl+"/acl",
|
||||
[ window.allowCID,window.allowGID,window.denyCID,window.denyGID ]
|
||||
);
|
||||
}
|
||||
|
||||
/* enable tinymce on focus and click */
|
||||
$j("#profile-jot-text").focus(enableOnUser);
|
||||
$j("#profile-jot-text").click(enableOnUser);
|
||||
|
||||
|
||||
$j('.nav-menu-link').hover(function() {
|
||||
showNavMenu($j(this).attr('rel'));
|
||||
}, function() {
|
||||
hideNavMenu($(this).attr('rel'));
|
||||
hideNavMenu($j(this).attr('rel'));
|
||||
});
|
||||
|
||||
/* $('html').click(function() { $("#nav-notifications-menu" ).hide(); });*/
|
||||
/* $j('html').click(function() { $j("#nav-notifications-menu" ).hide(); });*/
|
||||
|
||||
$('.group-edit-icon').hover(
|
||||
$j('.group-edit-icon').hover(
|
||||
function() {
|
||||
$(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
$j(this).addClass('icon'); $j(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
$j(this).removeClass('icon'); $j(this).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
$('.sidebar-group-element').hover(
|
||||
$j('.sidebar-group-element').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');},
|
||||
id = $j(this).attr('id');
|
||||
$j('#edit-' + id).addClass('icon'); $j('#edit-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');}
|
||||
id = $j(this).attr('id');
|
||||
$j('#edit-' + id).removeClass('icon');$j('#edit-' + id).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
|
||||
$('.savedsearchdrop').hover(
|
||||
$j('.savedsearchdrop').hover(
|
||||
function() {
|
||||
$(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
$j(this).addClass('drop'); $j(this).addClass('icon'); $j(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
$j(this).removeClass('drop'); $j(this).removeClass('icon'); $j(this).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
$('.savedsearchterm').hover(
|
||||
$j('.savedsearchterm').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).addClass('icon'); $('#drop-' + id).addClass('drophide'); $('#drop-' + id).removeClass('iconspacer');},
|
||||
id = $j(this).attr('id');
|
||||
$j('#drop-' + id).addClass('icon'); $j('#drop-' + id).addClass('drophide'); $j('#drop-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');}
|
||||
id = $j(this).attr('id');
|
||||
$j('#drop-' + id).removeClass('icon');$j('#drop-' + id).removeClass('drophide'); $j('#drop-' + id).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
/* $('.nav-load-page-link').click(function() {
|
||||
getPageContent( $(this).attr('href') );
|
||||
hideNavMenu( '#' + $(this).closest('ul').attr('id') );
|
||||
/* $j('.nav-load-page-link').click(function() {
|
||||
getPageContent( $j(this).attr('href') );
|
||||
hideNavMenu( '#' + $j(this).closest('ul').attr('id') );
|
||||
return false;
|
||||
});*/
|
||||
|
||||
if(window.autoCompleteType == "display-head") {
|
||||
//$j(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
//$j(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
if(window.aclType == "event_head") {
|
||||
$j('#events-calendar').fullCalendar({
|
||||
events: baseurl + '/events/json/',
|
||||
header: {
|
||||
left: 'prev,next today',
|
||||
center: 'title',
|
||||
right: 'month,agendaWeek,agendaDay'
|
||||
},
|
||||
timeFormat: 'H(:mm)',
|
||||
eventClick: function(calEvent, jsEvent, view) {
|
||||
showEvent(calEvent.id);
|
||||
},
|
||||
|
||||
eventRender: function(event, element, view) {
|
||||
//console.log(view.name);
|
||||
if (event.item['author-name']==null) return;
|
||||
switch(view.name){
|
||||
case "month":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:10px;width:10px'>{1} : {2}".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.title
|
||||
));
|
||||
break;
|
||||
case "agendaWeek":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:12px; width:12px'>{1}<p>{2}</p><p>{3}</p>".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.item.desc,
|
||||
event.item.location
|
||||
));
|
||||
break;
|
||||
case "agendaDay":
|
||||
element.find(".fc-event-title").html(
|
||||
"<img src='{0}' style='height:24px;width:24px'>{1}<p>{2}</p><p>{3}</p>".format(
|
||||
event.item['author-avatar'],
|
||||
event.item['author-name'],
|
||||
event.item.desc,
|
||||
event.item.location
|
||||
));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// center on date
|
||||
var args=location.href.replace(baseurl,"").split("/");
|
||||
if (args.length>=4) {
|
||||
$j("#events-calendar").fullCalendar('gotoDate',args[2] , args[3]-1);
|
||||
}
|
||||
|
||||
// show event popup
|
||||
var hash = location.hash.split("-")
|
||||
if (hash.length==2 && hash[0]=="#link") showEvent(hash[1]);
|
||||
}
|
||||
|
||||
$j('#event-share-checkbox').change(function() {
|
||||
|
||||
if ($j('#event-share-checkbox').is(':checked')) {
|
||||
$j('#acl-wrapper').show();
|
||||
}
|
||||
else {
|
||||
$j('#acl-wrapper').hide();
|
||||
}
|
||||
}).trigger('change');
|
||||
|
||||
|
||||
if(window.aclType == "settings-head" || window.aclType == "photos_head" || window.aclType == "event_head") {
|
||||
$j('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$j('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $j(this).text();
|
||||
$j('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$j('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$j('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$j('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
}
|
||||
// For event_end.tpl
|
||||
/* $j('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$j('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $j(this).text();
|
||||
$j('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$j('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');*/
|
||||
|
||||
|
||||
switch(window.autocompleteType) {
|
||||
case 'msg-header':
|
||||
var a = $j("#recip").autocomplete({
|
||||
serviceUrl: baseurl + '/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
onSelect: function(value,data) {
|
||||
$j("#recip-complete").val(data);
|
||||
}
|
||||
});
|
||||
break;
|
||||
case 'contacts-head':
|
||||
var a = $j("#contacts-search").autocomplete({
|
||||
serviceUrl: baseurl + '/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
});
|
||||
a.setOptions({ params: { type: 'a' }});
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if(typeof window.AjaxUpload != "undefined") {
|
||||
switch(window.ajaxType) {
|
||||
case 'jot-header':
|
||||
var uploader = new window.AjaxUpload(
|
||||
'wall-image-upload',
|
||||
{ action: 'wall_upload/'+window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
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) {
|
||||
addeditortext(response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
break;
|
||||
case 'msg-header':
|
||||
var uploader = new window.AjaxUpload(
|
||||
'prvmail-upload',
|
||||
{ action: 'wall_upload/' + window.nickname,
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,response);
|
||||
$j('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
// update pending count //
|
||||
$j(function(){
|
||||
|
||||
$j("nav").bind('nav-update', function(e,data){
|
||||
var elm = $j('#pending-update');
|
||||
var register = $j(data).find('register').text();
|
||||
if (register=="0") { register=""; elm.hide();} else { elm.show(); }
|
||||
elm.html(register);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$j(function(){
|
||||
|
||||
$j("#cnftheme").fancybox({
|
||||
width: 800,
|
||||
autoDimensions: false,
|
||||
onStart: function(){
|
||||
var theme = $j("#id_theme :selected").val();
|
||||
$j("#cnftheme").attr('href', baseurl + "/admin/themes/"+theme);
|
||||
},
|
||||
onComplete: function(){
|
||||
$j("div#fancybox-content form").submit(function(e){
|
||||
var url = $j(this).attr('action');
|
||||
// can't get .serialize() to work...
|
||||
var data={};
|
||||
$j(this).find("input").each(function(){
|
||||
data[$j(this).attr('name')] = $j(this).val();
|
||||
});
|
||||
$j(this).find("select").each(function(){
|
||||
data[$j(this).attr('name')] = $j(this).children(":selected").val();
|
||||
});
|
||||
console.log(":)", url, data);
|
||||
|
||||
$j.post(url, data, function(data) {
|
||||
if(timer) clearTimeout(timer);
|
||||
NavUpdate();
|
||||
$j.fancybox.close();
|
||||
})
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
if(typeof window.photoEdit != 'undefined') {
|
||||
|
||||
$j(document).keydown(function(event) {
|
||||
|
||||
if(window.prevLink != '') { if(event.ctrlKey && event.keyCode == 37) { event.preventDefault(); window.location.href = window.prevLink; }}
|
||||
if(window.nextLink != '') { if(event.ctrlKey && event.keyCode == 39) { event.preventDefault(); window.location.href = window.nextLink; }}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
switch(window.ajaxType) {
|
||||
case 'jot-header':
|
||||
function jotGetLink() {
|
||||
reply = prompt(window.linkURL);
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?binurl=' + reply, function(data) {
|
||||
addeditortext(data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?binurl=' + reply, function(data) {
|
||||
if (!editor) $j("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'msg-header':
|
||||
case 'wallmsg-header':
|
||||
function jotGetLink() {
|
||||
reply = prompt(window.linkURL);
|
||||
if(reply && reply.length) {
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
$j('#profile-rotator').show();
|
||||
$j.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$j('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
function showEvent(eventid) {
|
||||
$j.get(
|
||||
baseurl + '/events/?id='+eventid,
|
||||
function(data){
|
||||
$j.fancybox(data);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
function initCrop() {
|
||||
function onEndCrop( coords, dimensions ) {
|
||||
$( 'x1' ).value = coords.x1;
|
||||
$( 'y1' ).value = coords.y1;
|
||||
$( 'x2' ).value = coords.x2;
|
||||
$( 'y2' ).value = coords.y2;
|
||||
$( 'width' ).value = dimensions.width;
|
||||
$( 'height' ).value = dimensions.height;
|
||||
}
|
||||
|
||||
Event.observe( window, 'load', function() {
|
||||
new Cropper.ImgWithPreview(
|
||||
'croppa',
|
||||
{
|
||||
previewWrap: 'previewWrap',
|
||||
minWidth: 175,
|
||||
minHeight: 175,
|
||||
maxWidth: 640,
|
||||
maxHeight: 640,
|
||||
ratioDim: { x: 100, y:100 },
|
||||
displayOnInit: true,
|
||||
onEndCrop: onEndCrop
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
$j(document).mouseup(function (clickPos) {
|
||||
|
||||
var sysMenu = $j("#system-menu-list");
|
||||
var sysMenuLink = $j(".system-menu-link");
|
||||
var contactsMenu = $j("#contacts-menu-list");
|
||||
var contactsMenuLink = $j(".contacts-menu-link");
|
||||
var networkMenu = $j("#network-menu-list");
|
||||
var networkMenuLink = $j(".network-menu-link");
|
||||
|
||||
if( !sysMenu.is(clickPos.target) && !sysMenuLink.is(clickPos.target) && sysMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#system-menu-list");
|
||||
}
|
||||
if( !contactsMenu.is(clickPos.target) && !contactsMenuLink.is(clickPos.target) && contactsMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#contacts-menu-list");
|
||||
}
|
||||
if( !networkMenu.is(clickPos.target) && !networkMenuLink.is(clickPos.target) && networkMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#network-menu-list");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
function getPageContent(url) {
|
||||
|
||||
var pos = $j('.main-container').position();
|
||||
|
||||
$j('.main-container').css('margin-left', pos.left);
|
||||
$j('.main-content-container').hide(0, function () {
|
||||
$j('.main-content-loading').show(0);
|
||||
});
|
||||
|
||||
$j.get(url, function(html) {
|
||||
console.log($j('.main-content-container').html());
|
||||
$j('.main-content-container').html( $j('.main-content-container', html).html() );
|
||||
console.log($j('.main-content-container').html());
|
||||
$j('.main-content-loading').hide(function() {
|
||||
$j('.main-content-container').fadeIn(800,function() {
|
||||
$j('.main-container').css('margin-left', 'auto'); // This sucks -- if the CSS specification changes, this will be wrong
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
*/
|
||||
|
||||
function showNavMenu(menuID) {
|
||||
|
||||
if(window.navMenuTimeout[menuID + '-closing']) {
|
||||
window.navMenuTimeout[menuID + '-closing'] = false;
|
||||
clearTimeout(window.navMenuTimeout[menuID + '-timeout']);
|
||||
}
|
||||
else {
|
||||
window.navMenuTimeout[menuID + '-opening'] = true;
|
||||
|
||||
window.navMenuTimeout[menuID + '-timeout'] = setTimeout( function () {
|
||||
$j(menuID).slideDown('fast').show();
|
||||
window.navMenuTimeout[menuID + '-opening'] = false;
|
||||
}, 200);
|
||||
}
|
||||
}
|
||||
|
||||
function hideNavMenu(menuID) {
|
||||
|
||||
if(window.navMenuTimeout[menuID + '-opening']) {
|
||||
window.navMenuTimeout[menuID + '-opening'] = false;
|
||||
clearTimeout(window.navMenuTimeout[menuID + '-timeout']);
|
||||
}
|
||||
else {
|
||||
window.navMenuTimeout[menuID + '-closing'] = true;
|
||||
|
||||
window.navMenuTimeout[menuID + '-timeout'] = setTimeout( function () {
|
||||
$j(menuID).slideUp('fast');
|
||||
window.navMenuTimeout[menuID + '-closing'] = false;
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function insertFormatting(comment,BBcode,id) {
|
||||
|
||||
var tmpStr = $("#comment-edit-text-" + id).val();
|
||||
var tmpStr = $j("#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");
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
$("#comment-edit-text-" + id).val(tmpStr);
|
||||
$j("#comment-edit-text-" + id).val(tmpStr);
|
||||
}
|
||||
|
||||
textarea = document.getElementById("comment-edit-text-" +id);
|
||||
|
|
@ -100,85 +522,500 @@ function insertFormatting(comment,BBcode,id) {
|
|||
}
|
||||
|
||||
function cmtBbOpen(id) {
|
||||
$(".comment-edit-bb-" + id).show();
|
||||
$j(".comment-edit-bb-" + id).show();
|
||||
}
|
||||
function cmtBbClose(id) {
|
||||
$(".comment-edit-bb-" + id).hide();
|
||||
$j(".comment-edit-bb-" + id).hide();
|
||||
}
|
||||
|
||||
/*
|
||||
$(document).mouseup(function (clickPos) {
|
||||
function confirmDelete() { return confirm(window.delItem); }
|
||||
|
||||
var sysMenu = $("#system-menu-list");
|
||||
var sysMenuLink = $(".system-menu-link");
|
||||
var contactsMenu = $("#contacts-menu-list");
|
||||
var contactsMenuLink = $(".contacts-menu-link");
|
||||
var networkMenu = $("#network-menu-list");
|
||||
var networkMenuLink = $(".network-menu-link");
|
||||
|
||||
if( !sysMenu.is(clickPos.target) && !sysMenuLink.is(clickPos.target) && sysMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#system-menu-list");
|
||||
function commentOpen(obj,id) {
|
||||
if(obj.value == window.commentEmptyText) {
|
||||
obj.value = "";
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
||||
$j("#mod-cmnt-wrap-" + id).show();
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
if( !contactsMenu.is(clickPos.target) && !contactsMenuLink.is(clickPos.target) && contactsMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#contacts-menu-list");
|
||||
}
|
||||
function commentClose(obj,id) {
|
||||
if(obj.value == "") {
|
||||
obj.value = window.commentEmptyText;
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
|
||||
$j("#mod-cmnt-wrap-" + id).hide();
|
||||
closeMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
if( !networkMenu.is(clickPos.target) && !networkMenuLink.is(clickPos.target) && networkMenu.has(clickPos.target).length === 0) {
|
||||
hideNavMenu("#network-menu-list");
|
||||
}
|
||||
|
||||
|
||||
function commentInsert(obj,id) {
|
||||
var tmpStr = $j("#comment-edit-text-" + id).val();
|
||||
if(tmpStr == window.commentEmptyText) {
|
||||
tmpStr = "";
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
});
|
||||
var ins = $j(obj).html();
|
||||
ins = ins.replace("<","<");
|
||||
ins = ins.replace(">",">");
|
||||
ins = ins.replace("&","&");
|
||||
ins = ins.replace(""",'"');
|
||||
$j("#comment-edit-text-" + id).val(tmpStr + ins);
|
||||
}
|
||||
|
||||
function qCommentInsert(obj,id) {
|
||||
var tmpStr = $j("#comment-edit-text-" + id).val();
|
||||
if(tmpStr == window.commentEmptyText) {
|
||||
tmpStr = "";
|
||||
$j("#comment-edit-text-" + id).addClass("comment-edit-text-full");
|
||||
$j("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
var ins = $j(obj).val();
|
||||
ins = ins.replace("<","<");
|
||||
ins = ins.replace(">",">");
|
||||
ins = ins.replace("&","&");
|
||||
ins = ins.replace(""",'"');
|
||||
$j("#comment-edit-text-" + id).val(tmpStr + ins);
|
||||
$j(obj).val("");
|
||||
}
|
||||
|
||||
function showHideComments(id) {
|
||||
if( $j("#collapsed-comments-" + id).is(":visible")) {
|
||||
$j("#collapsed-comments-" + id).hide();
|
||||
$j("#hide-comments-" + id).html(window.showMore);
|
||||
}
|
||||
else {
|
||||
$j("#collapsed-comments-" + id).show();
|
||||
$j("#hide-comments-" + id).html(window.showFewer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function getPageContent(url) {
|
||||
|
||||
var pos = $('.main-container').position();
|
||||
function enableOnUser(){
|
||||
if (editor) return;
|
||||
$j(this).val("");
|
||||
initEditor();
|
||||
}
|
||||
|
||||
$('.main-container').css('margin-left', pos.left);
|
||||
$('.main-content-container').hide(0, function () {
|
||||
$('.main-content-loading').show(0);
|
||||
});
|
||||
|
||||
$.get(url, function(html) {
|
||||
console.log($('.main-content-container').html());
|
||||
$('.main-content-container').html( $('.main-content-container', html).html() );
|
||||
console.log($('.main-content-container').html());
|
||||
$('.main-content-loading').hide(function() {
|
||||
$('.main-content-container').fadeIn(800,function() {
|
||||
$('.main-container').css('margin-left', 'auto'); // This sucks -- if the CSS specification changes, this will be wrong
|
||||
var editor=false;
|
||||
var textlen = 0;
|
||||
var plaintext = window.editSelect;
|
||||
var ispublic = window.isPublic;
|
||||
|
||||
function initEditor(cb){
|
||||
if (editor==false){
|
||||
$j("#profile-jot-text-loading").show();
|
||||
if(plaintext == 'none') {
|
||||
$j("#profile-jot-text-loading").hide();
|
||||
$j("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$j("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
editor = true;
|
||||
$j("a#jot-perms-icon").fancybox({
|
||||
'transitionIn' : 'elastic',
|
||||
'transitionOut' : 'elastic'
|
||||
});
|
||||
$j(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
return;
|
||||
}
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: window.editSelect,
|
||||
auto_focus: "profile-jot-text",
|
||||
plugins : "bbcode,paste,autoresize, inlinepopups",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
convert_urls: false,
|
||||
content_css: window.baseURL + "/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
file_browser_callback : "fcFileBrowser",
|
||||
setup : function(ed) {
|
||||
cPopup = null;
|
||||
ed.onKeyDown.add(function(ed,e) {
|
||||
if(cPopup !== null)
|
||||
cPopup.onkey(e);
|
||||
});
|
||||
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
var txt = tinyMCE.activeEditor.getContent();
|
||||
match = txt.match(/@([^ \n]+)$/);
|
||||
if(match!==null) {
|
||||
if(cPopup === null) {
|
||||
cPopup = new ACPopup(this,baseurl+"/acl");
|
||||
}
|
||||
if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
|
||||
if(! cPopup.ready) cPopup = null;
|
||||
}
|
||||
else {
|
||||
if(cPopup !== null) { cPopup.close(); cPopup = null; }
|
||||
}
|
||||
|
||||
textlen = txt.length;
|
||||
if(textlen != 0 && $j('#jot-perms-icon').is('.unlock')) {
|
||||
$j('#profile-jot-desc').html(ispublic);
|
||||
}
|
||||
else {
|
||||
$j('#profile-jot-desc').html(' ');
|
||||
}
|
||||
|
||||
//Character count
|
||||
|
||||
if(textlen <= 140) {
|
||||
$j('#character-counter').removeClass('red');
|
||||
$j('#character-counter').removeClass('orange');
|
||||
$j('#character-counter').addClass('grey');
|
||||
}
|
||||
if((textlen > 140) && (textlen <= 420)) {
|
||||
$j('#character-counter').removeClass('grey');
|
||||
$j('#character-counter').removeClass('red');
|
||||
$j('#character-counter').addClass('orange');
|
||||
}
|
||||
if(textlen > 420) {
|
||||
$j('#character-counter').removeClass('grey');
|
||||
$j('#character-counter').removeClass('orange');
|
||||
$j('#character-counter').addClass('red');
|
||||
}
|
||||
$j('#character-counter').text(textlen);
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
$j("#profile-jot-text-loading").hide();
|
||||
$j(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
editor = true;
|
||||
// setup acl popup
|
||||
$j("a#jot-perms-icon").fancybox({
|
||||
'transitionIn' : 'none',
|
||||
'transitionOut' : 'none'
|
||||
});
|
||||
} else {
|
||||
if (typeof cb!="undefined") cb();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function msgInitEditor() {
|
||||
if(plaintext != 'none') {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
convert_urls: false,
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
var editorId = ed.editorId;
|
||||
var textarea = $j('#'+editorId);
|
||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
||||
$j('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
||||
textarea.attr('tabindex', null);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
$j("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
|
||||
function profInitEditor() {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : window.editSelect,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function eventInitEditor() {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function contactInitEditor () {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : window.editSelect,
|
||||
elements: "contact-edit-info",
|
||||
plugins : "bbcode",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_styles : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
content_css: baseurl + "/view/custom_tinymce.css"
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function wallInitEditor() {
|
||||
var plaintext = window.editSelect;
|
||||
|
||||
if(plaintext != 'none') {
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode,paste",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
convert_urls: false,
|
||||
content_css: baseurl + "/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
var editorId = ed.editorId;
|
||||
var textarea = $j('#'+editorId);
|
||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
||||
$j('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
||||
textarea.attr('tabindex', null);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
$j("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
function deleteCheckedItems() {
|
||||
var checkedstr = '';
|
||||
|
||||
$j('.item-select').each( function() {
|
||||
if($j(this).is(':checked')) {
|
||||
if(checkedstr.length != 0) {
|
||||
checkedstr = checkedstr + ',' + $j(this).val();
|
||||
}
|
||||
else {
|
||||
checkedstr = $j(this).val();
|
||||
}
|
||||
}
|
||||
});
|
||||
$j.post('item', { dropitems: checkedstr }, function(data) {
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function jotVideoURL() {
|
||||
reply = prompt(window.vidURL);
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[video]' + reply + '[/video]');
|
||||
}
|
||||
}
|
||||
|
||||
function jotAudioURL() {
|
||||
reply = prompt(window.audURL);
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[audio]' + reply + '[/audio]');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function jotGetLocation() {
|
||||
reply = prompt(window.whereAreU, $j('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$j('#jot-location').val(reply);
|
||||
}
|
||||
}
|
||||
|
||||
function jotShare(id) {
|
||||
if ($j('#jot-popup').length != 0) $j('#jot-popup').show();
|
||||
|
||||
$j('#like-rotator-' + id).show();
|
||||
$j.get('share/' + id, function(data) {
|
||||
if (!editor) $j("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$j('#like-rotator-' + id).hide();
|
||||
$j(window).scrollTop(0);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function itemTag(id) {
|
||||
reply = prompt(window.term);
|
||||
if(reply && reply.length) {
|
||||
reply = reply.replace('#','');
|
||||
if(reply.length) {
|
||||
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
|
||||
$j.get('tagger/' + id + '?term=' + reply, NavUpdate);
|
||||
/*if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function itemFiler(id) {
|
||||
|
||||
var bordercolor = $j("input").css("border-color");
|
||||
|
||||
$j.get('filer/', function(data){
|
||||
$j.fancybox(data);
|
||||
$j("#id_term").keypress(function(){
|
||||
$j(this).css("border-color",bordercolor);
|
||||
})
|
||||
$j("#select_term").change(function(){
|
||||
$j("#id_term").css("border-color",bordercolor);
|
||||
})
|
||||
|
||||
$j("#filer_save").click(function(e){
|
||||
e.preventDefault();
|
||||
reply = $j("#id_term").val();
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$j('body').css('cursor', 'wait');
|
||||
$j.get('filer/' + id + '?term=' + reply, NavUpdate);
|
||||
/* if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);*/
|
||||
liking = 1;
|
||||
$j.fancybox.close();
|
||||
} else {
|
||||
$j("#id_term").css("border-color","#FF0000");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
}
|
||||
*/
|
||||
|
||||
function showNavMenu(menuID) {
|
||||
|
||||
if(window.navMenuTimeout[menuID + '-closing']) {
|
||||
window.navMenuTimeout[menuID + '-closing'] = false;
|
||||
clearTimeout(window.navMenuTimeout[menuID + '-timeout']);
|
||||
}
|
||||
else {
|
||||
window.navMenuTimeout[menuID + '-opening'] = true;
|
||||
|
||||
window.navMenuTimeout[menuID + '-timeout'] = setTimeout( function () {
|
||||
$(menuID).slideDown('fast').show();
|
||||
window.navMenuTimeout[menuID + '-opening'] = false;
|
||||
}, 200);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function hideNavMenu(menuID) {
|
||||
|
||||
if(window.navMenuTimeout[menuID + '-opening']) {
|
||||
window.navMenuTimeout[menuID + '-opening'] = false;
|
||||
clearTimeout(window.navMenuTimeout[menuID + '-timeout']);
|
||||
}
|
||||
else {
|
||||
window.navMenuTimeout[menuID + '-closing'] = true;
|
||||
|
||||
window.navMenuTimeout[menuID + '-timeout'] = setTimeout( function () {
|
||||
$(menuID).slideUp('fast');
|
||||
window.navMenuTimeout[menuID + '-closing'] = false;
|
||||
}, 500);
|
||||
}
|
||||
function jotClearLocation() {
|
||||
$j('#jot-coord').val('');
|
||||
$j('#profile-nolocation-wrapper').hide();
|
||||
}
|
||||
|
||||
function addeditortext(data) {
|
||||
if(plaintext == 'none') {
|
||||
var currentText = $j("#profile-jot-text").val();
|
||||
$j("#profile-jot-text").val(currentText + data);
|
||||
}
|
||||
else
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
}
|
||||
|
||||
if(typeof window.geoTag === 'function') window.geoTag();
|
||||
|
||||
|
||||
|
|
|
|||
1
view/theme/frost/js/theme.min.js
vendored
Normal file
1
view/theme/frost/js/theme.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -39,4 +39,4 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript"> $(document).ready(function() { $("#id_$lname.0").focus();} );</script>
|
||||
<script type="text/javascript">window.loginName = "$lname.0";</script>
|
||||
|
|
|
|||
4
view/theme/frost/message-end.tpl
Normal file
4
view/theme/frost/message-end.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<script src="$baseurl/library/jquery_ac/friendica.complete.min.js" ></script>
|
||||
|
||||
|
||||
0
view/theme/frost/message-head.tpl
Normal file
0
view/theme/frost/message-head.tpl
Normal file
9
view/theme/frost/msg-end.tpl
Normal file
9
view/theme/frost/msg-end.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
<!--<script language="javascript" type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>-->
|
||||
<script type="text/javascript" src="js/ajaxupload.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
msgInitEditor();
|
||||
</script>
|
||||
|
||||
|
||||
9
view/theme/frost/msg-header.tpl
Normal file
9
view/theme/frost/msg-header.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.nickname = "$nickname";
|
||||
window.linkURL = "$linkurl";
|
||||
var plaintext = "$editselect";
|
||||
window.ajaxType = 'msg-header';
|
||||
window.autocompleteType = 'msg-header';
|
||||
</script>
|
||||
|
||||
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
<div id="site-location">$sitelocation</div>
|
||||
|
||||
{{ if $nav.login }}<a id="nav-login-link" class="nav-login-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a> {{ endif }}
|
||||
|
||||
<span id="nav-link-wrapper" >
|
||||
|
||||
<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->
|
||||
|
|
@ -13,6 +11,20 @@
|
|||
<img class="system-menu-link" src="/view/theme/frost/images/menu.png">
|
||||
</a>
|
||||
<ul id="system-menu-list" class="nav-menu-list">
|
||||
{{ if $nav.login }}
|
||||
<a id="nav-login-link" class="nav-load-page-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.register }}
|
||||
<a id="nav-register-link" class="nav-load-page-link $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.manage }}
|
||||
<li>
|
||||
<a id="nav-manage-link" class="nav-load-page-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>
|
||||
</li>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.settings }}
|
||||
<li><a id="nav-settings-link" class="$nav.settings.2 nav-load-page-link" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>
|
||||
{{ endif }}
|
||||
|
|
@ -117,12 +129,9 @@
|
|||
{{ endif }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
|
||||
|
||||
{{ if $nav.manage }}<a id="nav-manage-link" class="nav-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>{{ endif }}
|
||||
</span>
|
||||
<span id="nav-end"></span>
|
||||
<!--<span id="nav-end"></span>-->
|
||||
<span id="banner">$banner</span>
|
||||
</nav>
|
||||
|
||||
|
|
|
|||
7
view/theme/frost/photo_edit_head.tpl
Normal file
7
view/theme/frost/photo_edit_head.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
<script>
|
||||
window.prevLink = "$prevlink";
|
||||
window.nextLink = "$nextlink";
|
||||
window.photoEdit = true;
|
||||
|
||||
</script>
|
||||
5
view/theme/frost/photos_head.tpl
Normal file
5
view/theme/frost/photos_head.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script>
|
||||
window.isPublic = "$ispublic";
|
||||
</script>
|
||||
|
||||
|
|
@ -12,7 +12,9 @@
|
|||
<div id="photos-upload-new-end"></div>
|
||||
<div id="photos-upload-exist-wrapper">
|
||||
<div id="photos-upload-existing-album-text">$existalbumtext</div>
|
||||
<select id="photos-upload-album-select" name="album" size="4">
|
||||
$albumselect
|
||||
</select>
|
||||
</div>
|
||||
<div id="photos-upload-exist-end"></div>
|
||||
|
||||
|
|
@ -46,10 +48,3 @@
|
|||
</div>
|
||||
</form>
|
||||
|
||||
<!--
|
||||
<script>
|
||||
$("a#photos-upload-perms-menu").fancybox({
|
||||
'transitionIn' : 'none',
|
||||
'transitionOut' : 'none'
|
||||
});
|
||||
</script>-->
|
||||
|
|
|
|||
9
view/theme/frost/profed_end.tpl
Normal file
9
view/theme/frost/profed_end.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
<script type="text/javascript" src="js/country.min.js" ></script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
profInitEditor();
|
||||
Fill_Country('$country_name');
|
||||
Fill_States('$region');
|
||||
</script>
|
||||
|
||||
5
view/theme/frost/profed_head.tpl
Normal file
5
view/theme/frost/profed_head.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "$editselect";
|
||||
</script>
|
||||
|
||||
|
|
@ -319,4 +319,4 @@ $lbl_school
|
|||
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript">Fill_Country('$country_name');Fill_States('$region');</script>
|
||||
|
||||
|
|
|
|||
5
view/theme/frost/settings-head.tpl
Normal file
5
view/theme/frost/settings-head.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script>
|
||||
window.isPublic = "$ispublic";
|
||||
</script>
|
||||
|
||||
2
view/theme/frost/settings_display_end.tpl
Normal file
2
view/theme/frost/settings_display_end.tpl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<script>$j(function(){ previewTheme($j("#id_$theme.0")[0]); });</script>
|
||||
|
||||
|
|
@ -1157,7 +1157,7 @@ input#dfrn-url {
|
|||
display: none;
|
||||
z-index: 10000;
|
||||
}
|
||||
.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none }
|
||||
.wall-item-photo-menu { margin:0px; padding: 0px; list-style: none }
|
||||
.wall-item-photo-menu li a { display: block; padding: 2px; }
|
||||
.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }
|
||||
|
||||
|
|
@ -1177,7 +1177,7 @@ input#dfrn-url {
|
|||
height: 30px !important;
|
||||
}
|
||||
|
||||
.wallwall .wall-item-photo-end {
|
||||
.wallwall /*.wall-item-photo-end*/ {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
|
@ -1267,18 +1267,18 @@ input#dfrn-url {
|
|||
float: right;
|
||||
}
|
||||
|
||||
.wall-item-delete-end {
|
||||
/*.wall-item-delete-end {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
|
||||
.wall-item-delete-icon {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
.wall-item-wrapper-end {
|
||||
/*.wall-item-wrapper-end {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
.wall-item-name-link {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
|
|
@ -1311,9 +1311,9 @@ input#dfrn-url {
|
|||
/*width: 450px;*/
|
||||
}
|
||||
|
||||
.wall-item-title-end {
|
||||
/*.wall-item-title-end {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
|
||||
.wall-item-body {
|
||||
text-align: justify;
|
||||
|
|
@ -1357,6 +1357,7 @@ input#dfrn-url {
|
|||
}
|
||||
|
||||
.comment-wwedit-wrapper {
|
||||
display: block;
|
||||
margin-top: 15px;
|
||||
background: #f3f3f3;
|
||||
margin-left: 50px;
|
||||
|
|
@ -2222,7 +2223,7 @@ aside input[type='text'] {
|
|||
|
||||
.widget {
|
||||
border: 1px solid #DDDDDD;
|
||||
padding: 8px;
|
||||
padding: 1em 2em;
|
||||
margin-top: 5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
|
|
@ -3524,9 +3525,9 @@ aside input[type='text'] {
|
|||
margin: 10px 10px 0 0;
|
||||
visibility: none;
|
||||
}
|
||||
[class^="comment-edit-bb-end"] {
|
||||
/*[class^="comment-edit-bb-end"] {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
.editicon {
|
||||
display: inline-block;
|
||||
/* background-image: url(bbedit.png);
|
||||
|
|
|
|||
|
|
@ -1,3658 +0,0 @@
|
|||
/**
|
||||
* duepuntozero Frindika style
|
||||
* Fabio Comuni <fabrix.xm@gmail.com>
|
||||
*
|
||||
* Heavily modified for Frost
|
||||
* Zach P
|
||||
*/
|
||||
|
||||
|
||||
/* generals */
|
||||
body {
|
||||
font-family: helvetica,arial,freesans,clean,sans-serif;
|
||||
font-size: 12px;
|
||||
/* line-height: 24px;*/
|
||||
background-color: #ffffff;
|
||||
background-image: url(head.jpg);
|
||||
background-repeat: repeat-x;
|
||||
color: #505050;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
div.container {
|
||||
display: block;
|
||||
width: 785 px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
a, a:visited, a:link { color: #3465a4; text-decoration: none; }
|
||||
a:hover {text-decoration: underline; }
|
||||
|
||||
input {
|
||||
border: 1px solid #666666;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
img { border :0px; }
|
||||
|
||||
#id_openid_url, .openid input {
|
||||
background: url(login-bg.gif) no-repeat;
|
||||
background-position: 0 50%;
|
||||
padding-left: 18px;
|
||||
}
|
||||
.openid:hover {
|
||||
|
||||
}
|
||||
|
||||
#id_openid_url {
|
||||
width: 384px;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Courier, monospace;
|
||||
white-space: pre;
|
||||
display: block;
|
||||
overflow: auto;
|
||||
border: 1px solid #444;
|
||||
background: #EEE;
|
||||
color: #444;
|
||||
padding: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background-color: #f4f8f9;
|
||||
border-left: 4px solid #dae4ee;
|
||||
padding: 0.4em;
|
||||
}
|
||||
|
||||
.icollapse-wrapper, .ccollapse-wrapper {
|
||||
border: 1px solid #CCC;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.hide-comments-outer {
|
||||
margin-left: 0px;
|
||||
font-weight: 700;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.hide-comments-outer:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
.hide-comments {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#panel {
|
||||
background-color: ivory;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
width: 30%;
|
||||
padding: 25px;
|
||||
border: 1px solid #444;
|
||||
}
|
||||
|
||||
.heart {
|
||||
color: #FF0000;
|
||||
font-size: 100%;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* nav */
|
||||
nav {
|
||||
height: 94px;
|
||||
width: 1100px;
|
||||
display: block;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
nav #site-location {
|
||||
color: #888a85;
|
||||
font-size: 0.8em;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.error-message {
|
||||
color: #FF0000;
|
||||
font-size: 1.1em;
|
||||
border: 1px solid #FF8888;
|
||||
background-color: #FFEEEE;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.info-message {
|
||||
color: #204a87;
|
||||
font-size: 1.1em;
|
||||
border: 1px solid #3465a4;
|
||||
background-color: #d7e3f1;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
||||
nav #banner {
|
||||
display: block;
|
||||
margin-top: 14px;
|
||||
position: absolute;
|
||||
}
|
||||
nav #banner #logo-text a {
|
||||
font-size: 40px;
|
||||
font-weight: bold;
|
||||
margin-left: 3px;
|
||||
color: #000000;
|
||||
|
||||
}
|
||||
nav #banner #logo-text a:hover { text-decoration: none; }
|
||||
|
||||
|
||||
/* ZP REMOVE? nav-commlink */
|
||||
.nav-commlink, .nav-login-link {
|
||||
display: block;
|
||||
height: 15px;
|
||||
margin-top: 67px;
|
||||
margin-right: 2px;
|
||||
/*padding: 6px 10px;*/
|
||||
padding: 6px 3px;
|
||||
float: left;
|
||||
bottom: 140px;
|
||||
border: 1px solid #babdb6;
|
||||
border-bottom: 0px;
|
||||
background-color: #aec0d3;
|
||||
color: #565854;
|
||||
-moz-border-radius: 3px 3px 0px 0px;
|
||||
border-radius: 3px 3px 0px 0px;
|
||||
}
|
||||
|
||||
.nav-commlink.selected {
|
||||
background-color: #ffffff;
|
||||
border-bottom: 1px solid #ffffff;
|
||||
color: #000000 !important;
|
||||
margin-top: 64px;
|
||||
padding-top: 6px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.nav-ajax-left.show {
|
||||
position: absolute;
|
||||
font-size: 0.8em;
|
||||
top: 25px;
|
||||
right: 5px;
|
||||
padding: 1px 2px;
|
||||
border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
background-color: gold !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
nav #nav-link-wrapper .nav-link {
|
||||
/*border-right: 1px solid #babdb6;*/
|
||||
}
|
||||
|
||||
nav .nav-link img {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 0.2em;
|
||||
margin-right: 1em;
|
||||
margin-left: 1em;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.nav-button-container {
|
||||
float: right;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-button-container .nav-ajax-left {
|
||||
}
|
||||
/*
|
||||
#system-menu-list {
|
||||
line-height: 18px;
|
||||
position: absolute;
|
||||
right: -33px;
|
||||
width: 10em;
|
||||
padding: 1em 0px;
|
||||
}
|
||||
|
||||
#contacts-menu-list {
|
||||
line-height: 18px;
|
||||
position: absolute;
|
||||
right: -33px;
|
||||
width: 10em;
|
||||
padding: 1em 0px;
|
||||
}
|
||||
|
||||
#network-menu-list {
|
||||
line-height: 18px;
|
||||
position: absolute;
|
||||
right: -33px;
|
||||
width: 10em;
|
||||
padding: 1em 0px;
|
||||
}
|
||||
*/
|
||||
.nav-menu-list {
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
|
||||
border-left: 1px solid #AAAAAA;/*#444444;*/
|
||||
border-right: 1px solid #AAAAAA;
|
||||
border-top: 1px solid #AAAAAA;
|
||||
border-bottom: 1px solid #AAAAAA;
|
||||
|
||||
-moz-box-shadow: 3px 3px 5px #555;
|
||||
-webkit-box-shadow: 3px 3px 5px #555;
|
||||
box-shadow: 3px 3px 5px #555;
|
||||
|
||||
background: #FFFFFF;
|
||||
|
||||
display: none;
|
||||
list-style: none;
|
||||
|
||||
width: 10em;
|
||||
position: absolute;
|
||||
margin: 0px;
|
||||
right: -33px;
|
||||
padding: 1em 0px;
|
||||
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
|
||||
|
||||
div.main-container {
|
||||
width: 1180px;
|
||||
margin: 0px auto;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.main-content-loading {
|
||||
position: absolute;
|
||||
top: 200px;
|
||||
left: 50%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* aside */
|
||||
aside {
|
||||
display: block;
|
||||
min-height: 112px;
|
||||
|
||||
width: 250px;
|
||||
|
||||
padding: 1em;
|
||||
margin: 1em 0px 0px 0px;
|
||||
|
||||
position: absolute;
|
||||
|
||||
/* float:left;*/
|
||||
}
|
||||
|
||||
#dfrn-request-link {
|
||||
display: block;
|
||||
color: #FFFFFF;
|
||||
-webkit-border-radius: 5px ;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
font-weight: bold;
|
||||
background: #3465a4 url('friendika-16.png') no-repeat 95% center;
|
||||
}
|
||||
#wallmessage-link {
|
||||
display: block;
|
||||
color: #FFFFFF;
|
||||
-webkit-border-radius: 5px ;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
font-weight: bold;
|
||||
background-color: #3465a4;
|
||||
}
|
||||
|
||||
/* section */
|
||||
div.section-wrapper {
|
||||
width: 565px;
|
||||
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
padding-right:2em;
|
||||
|
||||
display: block;
|
||||
|
||||
background-color: #ffffff;
|
||||
background-image: url(border.jpg);
|
||||
background-position: top right;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
section {
|
||||
margin: 0px 0px 0px 0px;
|
||||
|
||||
width: 100%;
|
||||
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
padding-top: 1em;
|
||||
|
||||
background-image: url(border.jpg);
|
||||
background-position: top left;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
min-height: 112px;
|
||||
border-top: 1px solid #babdb6;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
height: 27px;
|
||||
background-image: url(head.jpg);
|
||||
background-repeat: repeat-x;
|
||||
background-position: 0px -20px;
|
||||
border-bottom: 1px solid #babdb6;
|
||||
padding:0px;
|
||||
}
|
||||
.tabs li { margin: 0px; list-style: none; }
|
||||
.tab {
|
||||
display:block;
|
||||
float:left;
|
||||
padding: 0.4em;
|
||||
/*margin-right: 1em;*/
|
||||
margin-right: 3px ;
|
||||
}
|
||||
.tab.active {
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* footer */
|
||||
footer {
|
||||
display: none;
|
||||
|
||||
}
|
||||
|
||||
.birthday-today, .event-today {
|
||||
font-weight: bold;
|
||||
}
|
||||
/*
|
||||
div.wall-item-content-wrapper.shiny {
|
||||
background-image: url('shiny.png');
|
||||
background-position: -5px 30px;
|
||||
background-repeat:no-repeat;
|
||||
}*/
|
||||
|
||||
.preview {
|
||||
background: #FFFFC8;
|
||||
}
|
||||
|
||||
#theme-preview {
|
||||
margin: 15px 0 15px 150px;
|
||||
}
|
||||
|
||||
/* from default */
|
||||
#jot-perms-icon,
|
||||
#profile-location,
|
||||
#profile-nolocation,
|
||||
#profile-youtube,
|
||||
#profile-video,
|
||||
#profile-audio,
|
||||
#profile-link,
|
||||
#profile-title,
|
||||
#wall-image-upload,
|
||||
#wall-file-upload,
|
||||
#profile-upload-wrapper,
|
||||
#wall-image-upload-div,
|
||||
#wall-file-upload-div,
|
||||
.hover, .focus {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#jot-perms-icon {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#jot-title, #jot-category {
|
||||
border: 0px;
|
||||
margin: 0px;
|
||||
height: 20px;
|
||||
width: 530px;
|
||||
margin-bottom: 5px;
|
||||
font-weight: bold;
|
||||
border: 1px solid #ffffff;
|
||||
}
|
||||
|
||||
#jot-title::-webkit-input-placeholder{font-weight: normal;}
|
||||
#jot-category::-webkit-input-placeholder{font-weight: normal;}
|
||||
#jot-title:-moz-placeholder{font-weight: normal;}
|
||||
#jot-category:-moz-placeholder{font-weight: normal;}
|
||||
|
||||
|
||||
#jot-title:hover,
|
||||
#jot-title:focus,
|
||||
#jot-category:hover,
|
||||
#jot-category:focus {
|
||||
border: 1px solid #cccccc;
|
||||
}
|
||||
|
||||
.jothidden { display:none; }
|
||||
|
||||
|
||||
.fakelink, .fakelink:visited, .fakelink:link {
|
||||
color: #3465a4;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.lockview {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#group-sidebar {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.group-selected, .nets-selected, .fileas-selected, .categories-selected {
|
||||
padding: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #CCCCCC;
|
||||
background: #F8F8F8;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.settings-widget .selected {
|
||||
padding: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #CCCCCC;
|
||||
background: #F8F8F8;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.fakelink:hover {
|
||||
color: #3465a4;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
.smalltext {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
#sysmsg {
|
||||
/*width: 600px;*/
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#register-fill-ext {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#label-register-name, #label-register-email, #label-register-nickname, #label-register-openid {
|
||||
float: left;
|
||||
width: 350px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#register-name, #register-email, #register-nickname {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
#register-openid {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
#register-name-end, #register-email-end, #register-nickname-end, #register-submit-end, #register-openid-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#register-nickname-desc {
|
||||
margin-top: 30px;
|
||||
width: 650px;
|
||||
}
|
||||
#register-sitename {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#register-submit-button {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
#login_standard {
|
||||
width: 210px;
|
||||
float: left;
|
||||
}
|
||||
#login_openid {
|
||||
width: 210px;
|
||||
margin-left: 250px;
|
||||
}
|
||||
|
||||
#login_standard input,
|
||||
#login_openid input {
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
#login-extra-links {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#register-link, #lost-password-link {
|
||||
float: left;
|
||||
font-size: 80%;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
#login-name-end, #login-password-end, #login-extra-end, #login-submit-end {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
#login-submit-button {
|
||||
/* margin-top: 10px; */
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
|
||||
input#dfrn-url {
|
||||
float: left;
|
||||
background: url(friendika-16.png) no-repeat;
|
||||
background-position: 2px center;
|
||||
font-size: 17px;
|
||||
padding-left: 21px;
|
||||
height: 21px;
|
||||
background-color: #FFFFFF;
|
||||
color: #000000;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#dfrn-url-label {
|
||||
float: left;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
#dfrn-request-url-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#knowyouyes, #knowyouno {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#dfrn-request-knowyou-yes-wrapper, #dfrn-request-knowyou-no-wrapper {
|
||||
|
||||
float: none;
|
||||
}
|
||||
#dfrn-request-knowyou-yes-label, #dfrn-request-knowyou-no-label {
|
||||
float: left;
|
||||
width: 75px;
|
||||
margin-left: 50px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
#dfrn-request-knowyou-break, #dfrn-request-knowyou-end {
|
||||
clear: both;
|
||||
|
||||
}
|
||||
|
||||
#dfrn-request-message-wrapper {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
#dfrn-request-submit-wrapper {
|
||||
clear: both;
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
#dfrn-request-info-wrapper {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#cropimage-wrapper, #cropimage-preview-wrapper {
|
||||
float: left;
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
#crop-image-form {
|
||||
margin-top: 30px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.intro-wrapper {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.intro-fullname {
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
.intro-desc {
|
||||
margin-bottom: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.intro-note {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.intro-end {
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.intro-form {
|
||||
float: left;
|
||||
}
|
||||
.intro-approve-form {
|
||||
clear: both;
|
||||
}
|
||||
.intro-approve-as-friend-end {
|
||||
clear: both;
|
||||
}
|
||||
.intro-submit-approve, .intro-submit-ignore {
|
||||
margin-right: 20px;
|
||||
}
|
||||
.intro-submit-approve {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.intro-approve-as-friend-label, .intro-approve-as-fan-label {
|
||||
float: left;
|
||||
width: 100px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.intro-approve-as-friend, .intro-approve-as-fan {
|
||||
float: left;
|
||||
}
|
||||
.intro-form-end {
|
||||
clear: both;
|
||||
}
|
||||
.intro-approve-as-friend-desc {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.intro-approve-as-end {
|
||||
clear: both;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.intro-end {
|
||||
clear: both;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.aprofile dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
#page-profile .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
#profile-vcard-break {
|
||||
clear: both;
|
||||
}
|
||||
#profile-extra-links {
|
||||
clear: both;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#profile-extra-links ul {
|
||||
list-style-type: none;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
|
||||
#profile-extra-links li {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
#profile-edit-links ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#profile-edit-links li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.profile-edit-side-div {
|
||||
float: right;
|
||||
}
|
||||
.profile-edit-side-link {
|
||||
opacity: 0.3;
|
||||
filter:alpha(opacity=30);
|
||||
}
|
||||
.profile-edit-side-link:hover {
|
||||
opacity: 1.0;
|
||||
filter:alpha(opacity=100);
|
||||
}
|
||||
|
||||
.view-contact-wrapper {
|
||||
margin-top: 20px;
|
||||
float: left;
|
||||
margin-left: 20px;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.contact-wrapper {
|
||||
float: left;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#view-contact-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
#viewcontacts {
|
||||
margin-top: 15px;
|
||||
}
|
||||
#profile-edit-default-desc {
|
||||
color: #FF0000;
|
||||
border: 1px solid #FF8888;
|
||||
background-color: #FFEEEE;
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
#profile-edit-clone-link-wrapper {
|
||||
float: left;
|
||||
margin-left: 50px;
|
||||
margin-bottom: 20px;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
|
||||
#profile-edit-links-end {
|
||||
clear: both;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.profile-listing-photo {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.profile-edit-submit-wrapper {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#profile-photo-link-select-wrapper {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
#profile-photo-submit-wrapper {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#profile-photo-wrapper img {
|
||||
width:175px;
|
||||
height:175px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
#profile-edit-profile-name-label,
|
||||
#profile-edit-name-label,
|
||||
#profile-edit-pdesc-label,
|
||||
#profile-edit-gender-label,
|
||||
#profile-edit-dob-label,
|
||||
#profile-edit-address-label,
|
||||
#profile-edit-locality-label,
|
||||
#profile-edit-region-label,
|
||||
#profile-edit-postal-code-label,
|
||||
#profile-edit-country-name-label,
|
||||
#profile-edit-marital-label,
|
||||
#profile-edit-sexual-label,
|
||||
#profile-edit-politic-label,
|
||||
#profile-edit-religion-label,
|
||||
#profile-edit-pubkeywords-label,
|
||||
#profile-edit-prvkeywords-label,
|
||||
#profile-edit-homepage-label,
|
||||
#profile-edit-hometown-label {
|
||||
float: left;
|
||||
width: 175px;
|
||||
}
|
||||
|
||||
#profile-edit-profile-name,
|
||||
#profile-edit-name,
|
||||
#profile-edit-pdesc,
|
||||
#gender-select,
|
||||
#profile-edit-dob,
|
||||
#profile-edit-address,
|
||||
#profile-edit-locality,
|
||||
#profile-edit-region,
|
||||
#profile-edit-postal-code,
|
||||
#profile-edit-country-name,
|
||||
#marital-select,
|
||||
#sexual-select,
|
||||
#profile-edit-politic,
|
||||
#profile-edit-religion,
|
||||
#profile-edit-pubkeywords,
|
||||
#profile-edit-prvkeywords,
|
||||
#profile-in-dir-yes,
|
||||
#profile-in-dir-no,
|
||||
#profile-in-netdir-yes,
|
||||
#profile-in-netdir-no,
|
||||
#hide-wall-yes,
|
||||
#hide-wall-no,
|
||||
#hide-friends-yes,
|
||||
#hide-friends-no {
|
||||
float: left;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#settings-normal,
|
||||
#settings-soapbox,
|
||||
#settings-freelove,
|
||||
#settings-community {
|
||||
float: left;
|
||||
}
|
||||
#settings-notifications label {
|
||||
margin-left: 20px;
|
||||
}
|
||||
#settings-notify-desc, #settings-activity-desc {
|
||||
font-weight: bold;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
#settings-pagetype-desc {
|
||||
color: #666666;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#profile-in-dir-yes-label,
|
||||
#profile-in-dir-no-label,
|
||||
#profile-in-netdir-yes-label,
|
||||
#profile-in-netdir-no-label,
|
||||
#hide-wall-yes-label,
|
||||
#hide-wall-no-label,
|
||||
#hide-friends-yes-label,
|
||||
#hide-friends-no-label {
|
||||
margin-left: 125px;
|
||||
float: left;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
#profile-edit-with-label {
|
||||
width: 175px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#profile-publish-yes-reg,
|
||||
#profile-publish-no-reg {
|
||||
float: left;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#profile-publish-yes-label-reg,
|
||||
#profile-publish-no-label-reg {
|
||||
margin-left: 350px;
|
||||
float: left;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
#profile-publish-break-reg,
|
||||
#profile-publish-end-reg {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
#profile-edit-pdesc-desc,
|
||||
#profile-edit-pubkeywords-desc,
|
||||
#profile-edit-prvkeywords-desc {
|
||||
float: left;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
|
||||
#profile-edit-homepage, #profile-edit-hometown {
|
||||
float: left;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
#settings-normal-label,
|
||||
#settings-soapbox-label,
|
||||
#settings-community-label,
|
||||
#settings-freelove-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
}
|
||||
#settings-normal-desc,
|
||||
#settings-soapbox-desc,
|
||||
#settings-community-desc,
|
||||
#settings-freelove-desc {
|
||||
/*float: left;
|
||||
margin-left: 75px;*/
|
||||
clear: left;
|
||||
color: #666666;
|
||||
display: block;
|
||||
margin-bottom: 20px
|
||||
}
|
||||
|
||||
#profile-edit-profile-name-end,
|
||||
#profile-edit-name-end,
|
||||
#profile-edit-pdesc-end,
|
||||
#profile-edit-gender-end,
|
||||
#profile-edit-dob-end,
|
||||
#profile-edit-address-end,
|
||||
#profile-edit-locality-end,
|
||||
#profile-edit-region-end,
|
||||
#profile-edit-postal-code-end,
|
||||
#profile-edit-country-name-end,
|
||||
#profile-edit-marital-end,
|
||||
#profile-edit-sexual-end,
|
||||
#profile-edit-politic-end,
|
||||
#profile-edit-religion-end,
|
||||
#profile-edit-pubkeywords-end,
|
||||
#profile-edit-prvkeywords-end,
|
||||
#profile-edit-homepage-end,
|
||||
#profile-edit-hometown-end,
|
||||
#profile-in-dir-break,
|
||||
#profile-in-dir-end,
|
||||
#profile-in-netdir-break,
|
||||
#profile-in-netdir-end,
|
||||
#hide-wall-break,
|
||||
#hide-wall-end,
|
||||
#hide-friends-break,
|
||||
#hide-friends-end,
|
||||
#settings-normal-break,
|
||||
#settings-soapbox-break,
|
||||
#settings-community-break,
|
||||
#settings-freelove-break {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.settings-widget ul {
|
||||
list-style-type: none;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.settings-widget li {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
|
||||
#gender-select, #marital-select, #sexual-select {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
#profile-edit-profile-name-wrapper .required {
|
||||
color: #FF0000;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#contacts-display-wrapper {
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
#contacts-main {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.contact-entry-wrapper {
|
||||
float: left;
|
||||
/* width: 120px;
|
||||
height: 120px;*/
|
||||
padding-right: 17px;
|
||||
width: 95px;
|
||||
height: 170px;
|
||||
}
|
||||
#contacts-search-end {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.contact-entry-direction-icon {
|
||||
margin-top: 24px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.contact-entry-photo img {
|
||||
border: none;
|
||||
}
|
||||
.contact-entry-photo-end {
|
||||
clear: both;
|
||||
}
|
||||
.contact-entry-name {
|
||||
float: left;
|
||||
margin-left: 0px;
|
||||
margin-right: 10px;
|
||||
padding-bottom: 5px;
|
||||
width: 120px;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
}
|
||||
.contact-entry-details {
|
||||
font-style: italic;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.contact-entry-network {
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.contact-entry-edit-links {
|
||||
margin-top: 6px;
|
||||
margin-left: 10px;
|
||||
width: 16px;
|
||||
}
|
||||
.contact-entry-nav-wrapper {
|
||||
float: left;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.contact-entry-edit-links img {
|
||||
border: none;
|
||||
margin-right: 15px;
|
||||
}
|
||||
.contact-entry-photo {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
.contact-entry-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#fsuggest-desc, #fsuggest-submit-wrapper {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#network-star-link{
|
||||
margin-top: 10px;
|
||||
}
|
||||
.network-star {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
}
|
||||
#network-bmark-link {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.wall-item-content-wrapper {
|
||||
margin-top: 60px;
|
||||
padding-top: 30px;
|
||||
border-top: 2px solid #AAA;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.wall-item-content-wrapper.comment {
|
||||
margin-top: 10px;
|
||||
padding-top: none;
|
||||
margin-left: 50px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.wall-item-like, .wall-item-dislike {
|
||||
font-style: italic;
|
||||
margin-left: 0px;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.wall-item-like:hover, .wall-item-dislike:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
.wall-item-like.comment, .wall-item-dislike.comment {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
.wall-item-info {
|
||||
display: block;
|
||||
float: left;
|
||||
width:110px;
|
||||
margin-right:10px;
|
||||
}
|
||||
.comment .wall-item-info {
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.wall-item-photo-wrapper {
|
||||
margin-bottom: 10px;
|
||||
width: 100px;
|
||||
}
|
||||
.wall-item-photo-menu-button {
|
||||
display: block;
|
||||
position: absolute;
|
||||
background-image: url("photo-menu.jpg");
|
||||
background-position: top left;
|
||||
background-repeat: no-repeat;
|
||||
margin: 0px; padding: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
top: 94px; left:0px;
|
||||
overflow: hidden;
|
||||
text-indent: 40px;
|
||||
display: none;
|
||||
|
||||
}
|
||||
.wall-item-photo-menu {
|
||||
width: auto;
|
||||
border: 2px solid #444444;
|
||||
background: #FFFFFF;
|
||||
position: absolute;
|
||||
/* left: 10px; top: 90px;*/
|
||||
left: 0px; top:110px;
|
||||
display: none;
|
||||
z-index: 10000;
|
||||
}
|
||||
.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none }
|
||||
.wall-item-photo-menu li a { display: block; padding: 2px; }
|
||||
.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }
|
||||
|
||||
|
||||
.comment .wall-item-photo-menu-button { /*top: 44px;*/ top: 64px;}
|
||||
.comment .wall-item-photo-menu { /*top: 60px;*/ top: 80px; }
|
||||
|
||||
.wallwall .wwto {
|
||||
left: 50px;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
width: 30px
|
||||
}
|
||||
.wallwall .wwto img {
|
||||
width: 30px !important;
|
||||
height: 30px !important;
|
||||
}
|
||||
|
||||
.wallwall .wall-item-photo-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wall-item-arrowphoto-wrapper {
|
||||
position: absolute;
|
||||
left: 75px;
|
||||
top: 70px;
|
||||
z-index: 100;
|
||||
}
|
||||
.wall-item-wrapper {
|
||||
margin-left:10px;
|
||||
}
|
||||
.wall-item-lock {
|
||||
margin-top: 30px;
|
||||
left: 105px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
}
|
||||
.comment .wall-item-lock {
|
||||
left: 65px;
|
||||
}
|
||||
|
||||
.wall-item-ago {
|
||||
color: #888888;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.wall-item-location {
|
||||
overflow: hidden;
|
||||
/* add ellipsis on text overflow */
|
||||
/* this work on safari, opera, ie, chrome. */
|
||||
/* firefox users have to wait support or we */
|
||||
/* can use a jquery plugin http://bit.ly/zJskg */
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wall-item-like-buttons {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
/* padding-right: 10px; */
|
||||
/* border-right: 2px solid #fff; */
|
||||
}
|
||||
|
||||
.like-rotator {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.wall-item-like-buttons > a,
|
||||
.wall-item-like-buttons > img {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.wall-item-like-buttons img {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.wall-item-share-buttons {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.editpost {
|
||||
margin-left: 10px;
|
||||
float: left;
|
||||
}
|
||||
.star-item {
|
||||
margin-left: 10px;
|
||||
float: left;
|
||||
}
|
||||
.tag-item {
|
||||
margin-left: 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.filer-item {
|
||||
margin-left: 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.wall-item-links-wrapper {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.wall-item-delete-wrapper {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.wall-item-delete-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wall-item-delete-icon {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
.wall-item-wrapper-end {
|
||||
clear: both;
|
||||
}
|
||||
.wall-item-name-link {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
color: #3172BD;
|
||||
}
|
||||
.wall-item-photo {
|
||||
border: none;
|
||||
}
|
||||
.comment .wall-item-photo {
|
||||
width: 50px !important;
|
||||
height: 50px !important;
|
||||
}
|
||||
.wall-item-content {
|
||||
margin-left: 10px;
|
||||
padding-right: 1em;
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.wall-item-content img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.wall-item-title {
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
font-size: 1.6em;
|
||||
/*width: 450px;*/
|
||||
}
|
||||
|
||||
.wall-item-title-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wall-item-body {
|
||||
text-align: justify;
|
||||
float: left;
|
||||
/*width: 450px;*/
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.wall-item-tools {
|
||||
clear: both;
|
||||
/* background-image: url("head.jpg");
|
||||
background-position: 0 -20px;
|
||||
background-repeat: repeat-x;*/
|
||||
margin-top: 10px;
|
||||
margin-left: 0px;
|
||||
margin-bottom: 7px;
|
||||
/* padding: 5px 10px 0px;*/
|
||||
padding: 5px 10px 0px 2px;
|
||||
height: 28px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
.wall-item-author {
|
||||
/* margin-top: 10px;*/
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.comment .wall-item-tools {
|
||||
/* background:none;*/
|
||||
/* background-image: url("head.jpg");
|
||||
background-position: 0 -20px;
|
||||
background-repeat: repeat-x;*/
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.comment-edit-wrapper {
|
||||
margin-top: 15px;
|
||||
background: #f3f3f3;
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
.comment-wwedit-wrapper {
|
||||
margin-top: 15px;
|
||||
background: #f3f3f3;
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
.comment-edit-photo {
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
margin-bottom: 10px;
|
||||
width: 70px;
|
||||
float: left;
|
||||
}
|
||||
.comment-edit-photo img {
|
||||
width: 25px;
|
||||
}
|
||||
.comment-edit-text-empty, .comment-edit-text-full {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #cccccc;
|
||||
padding: 3px 1px 1px 3px;
|
||||
}
|
||||
|
||||
.comment-edit-text-empty {
|
||||
color: gray;
|
||||
height: 30px;
|
||||
width: 175px;
|
||||
overflow: auto;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.comment-edit-text-full {
|
||||
color: black;
|
||||
height: 150px;
|
||||
width: 350px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.comment-edit-text-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.comment-edit-submit {
|
||||
margin: 10px 0px 10px 110px;
|
||||
}
|
||||
|
||||
#profile-jot-plugin-wrapper,
|
||||
#profile-jot-submit-wrapper {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#profile-jot-submit {
|
||||
float: left;
|
||||
}
|
||||
#profile-upload-wrapper {
|
||||
float: left;
|
||||
margin-left: 30px;
|
||||
}
|
||||
#profile-attach-wrapper {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
#profile-rotator {
|
||||
float: left;
|
||||
margin-left: 30px;
|
||||
}
|
||||
#profile-link-wrapper {
|
||||
float: left;
|
||||
margin-left: 30px;
|
||||
}
|
||||
#profile-youtube-wrapper {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
#profile-video-wrapper {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
#profile-audio-wrapper {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
#profile-location-wrapper {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
#jot-preview-link {
|
||||
float: left;
|
||||
margin-left: 45px;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
|
||||
|
||||
#profile-nolocation-wrapper {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
#profile-title-wrapper {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#profile-jot-perms {
|
||||
float: left;
|
||||
margin-left: 100px;
|
||||
font-weight: bold;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
|
||||
#profile-jot-perms-end {
|
||||
/*clear: left;*/
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
#profile-jot-plugin-end{
|
||||
clear: both;
|
||||
}
|
||||
.profile-jot-net {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#profile-jot-networks-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#profile-jot-end {
|
||||
/*clear: both;*/
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
#about-jot-submit-wrapper {
|
||||
margin-top: 15px;
|
||||
}
|
||||
#about-jot-end {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
#contacts-main {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#profile-listing-desc {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
#profile-listing-new-link-wrapper {
|
||||
margin-left: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.profile-listing-photo-wrapper {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.profile-listing-edit-buttons-wrapper {
|
||||
clear: both;
|
||||
}
|
||||
.profile-listing-photo-edit-link {
|
||||
float: left;
|
||||
width: 125px;
|
||||
}
|
||||
.profile-listing-end {
|
||||
clear: both;
|
||||
}
|
||||
.profile-listing-edit-buttons-wrapper img{
|
||||
border: none;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.profile-listing {
|
||||
margin-top: 25px;
|
||||
}
|
||||
.profile-listing-name {
|
||||
float: left;
|
||||
margin-left: 32px;
|
||||
margin-top: 10px;
|
||||
color: #3172BD;
|
||||
font-weight: bold;
|
||||
width: 200px;
|
||||
|
||||
}
|
||||
.fortune {
|
||||
margin-top: 50px;
|
||||
color: #4444FF;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
|
||||
.directory-end {
|
||||
clear: both;
|
||||
}
|
||||
.directory-name {
|
||||
text-align: center;
|
||||
}
|
||||
.directory-photo {
|
||||
margin-left: 25px;
|
||||
}
|
||||
.directory-details {
|
||||
font-size: 0.7em;
|
||||
text-align: center;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.directory-item {
|
||||
float: left;
|
||||
/* width: 225px;
|
||||
height: 260px;*/
|
||||
padding-left: 25px;
|
||||
width: 150px;
|
||||
height: 225px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#directory-search-wrapper {
|
||||
margin-top: 20px;
|
||||
margin-right: 20px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
#directory-search-end {
|
||||
}
|
||||
|
||||
.directory-photo-img {
|
||||
width: 125px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
.pager {
|
||||
margin-top: 35px;
|
||||
margin-bottom: 20px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
font-size: 1.0em;
|
||||
}
|
||||
|
||||
|
||||
.pager_first,
|
||||
.pager_last,
|
||||
.pager_prev,
|
||||
.pager_next,
|
||||
.pager_n {
|
||||
/* background: #EEE;*/
|
||||
}
|
||||
|
||||
.pager_first a,
|
||||
.pager_last a,
|
||||
.pager_prev a,
|
||||
.pager_next a,
|
||||
.pager_n a {
|
||||
border: 1px solid black;
|
||||
border-radius: 7px;
|
||||
text-decoration: none;
|
||||
padding: 4px 6px 4px 3px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.pager_first a:hover,
|
||||
.pager_last a:hover,
|
||||
.pager_prev a:hover,
|
||||
.pager_next a:hover,
|
||||
.pager_n a:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
.pager_current {
|
||||
border: 1px solid black;
|
||||
border-radius: 7px;
|
||||
background: #FFCCCC;
|
||||
padding: 4px 6px 4px 3px;
|
||||
}
|
||||
|
||||
|
||||
#advanced-profile-name-wrapper,
|
||||
#advanced-profile-gender-wrapper,
|
||||
#advanced-profile-dob-wrapper,
|
||||
#advanced-profile-age-wrapper,
|
||||
#advanced-profile-marital-wrapper,
|
||||
#advanced-profile-sexual-wrapper,
|
||||
#advanced-profile-homepage-wrapper,
|
||||
#advanced-profile-politic-wrapper,
|
||||
#advanced-profile-religion-wrapper,
|
||||
#advanced-profile-about-wrapper,
|
||||
#advanced-profile-interest-wrapper,
|
||||
#advanced-profile-contact-wrapper,
|
||||
#advanced-profile-music-wrapper,
|
||||
#advanced-profile-book-wrapper,
|
||||
#advanced-profile-tv-wrapper,
|
||||
#advanced-profile-film-wrapper,
|
||||
#advanced-profile-romance-wrapper,
|
||||
#advanced-profile-work-wrapper,
|
||||
#advanced-profile-education-wrapper {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#advanced-profile-name-text,
|
||||
#advanced-profile-gender-text,
|
||||
#advanced-profile-dob-text,
|
||||
#advanced-profile-age-text,
|
||||
#advanced-profile-marital-text,
|
||||
#advanced-profile-sexual-text,
|
||||
#advanced-profile-homepage-text,
|
||||
#advanced-profile-politic-text,
|
||||
#advanced-profile-religion-text,
|
||||
#advanced-profile-about-text,
|
||||
#advanced-profile-interest-text,
|
||||
#advanced-profile-contact-text,
|
||||
#advanced-profile-music-text,
|
||||
#advanced-profile-book-text,
|
||||
#advanced-profile-tv-text,
|
||||
#advanced-profile-film-text,
|
||||
#advanced-profile-romance-text,
|
||||
#advanced-profile-work-text,
|
||||
#advanced-profile-education-text {
|
||||
width: 300px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#advanced-profile-name-end,
|
||||
#advanced-profile-gender-end,
|
||||
#advanced-profile-dob-end,
|
||||
#advanced-profile-age-end,
|
||||
#advanced-profile-marital-end,
|
||||
#advanced-profile-sexual-end,
|
||||
#advanced-profile-homepage-end,
|
||||
#advanced-profile-politic-end,
|
||||
#advanced-profile-religion-end {
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
#advanced-profile-about-end,
|
||||
#advanced-profile-interest-end,
|
||||
#advanced-profile-contact-end,
|
||||
#advanced-profile-music-end,
|
||||
#advanced-profile-book-end,
|
||||
#advanced-profile-tv-end,
|
||||
#advanced-profile-film-end,
|
||||
#advanced-profile-romance-end,
|
||||
#advanced-profile-work-end,
|
||||
#advanced-profile-education-end {
|
||||
|
||||
|
||||
}
|
||||
|
||||
#advanced-profile-name,
|
||||
#advanced-profile-gender,
|
||||
#advanced-profile-dob,
|
||||
#advanced-profile-age,
|
||||
#advanced-profile-marital,
|
||||
#advanced-profile-sexual,
|
||||
#advanced-profile-homepage,
|
||||
#advanced-profile-politic,
|
||||
#advanced-profile-religion {
|
||||
float: left;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#advanced-profile-about,
|
||||
#advanced-profile-interest,
|
||||
#advanced-profile-contact,
|
||||
#advanced-profile-music,
|
||||
#advanced-profile-book,
|
||||
#advanced-profile-tv,
|
||||
#advanced-profile-film,
|
||||
#advanced-profile-romance,
|
||||
#advanced-profile-work,
|
||||
#advanced-profile-education {
|
||||
margin-top: 10px;
|
||||
margin-left: 50px;
|
||||
margin-right: 20px;
|
||||
padding: 10px;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
|
||||
#advanced-profile-with {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#contact-edit-wrapper {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#contact-edit-banner-name {
|
||||
font-size: 1.4em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#contact-edit-poll-wrapper {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#contact-edit-poll-text {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#contact-edit-update-now {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#contact-edit-links{
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#contact-edit-links ul {
|
||||
list-style: none;
|
||||
list-style-type: none;
|
||||
margin-left: 0px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
#contact-edit-links li {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
#contact-edit-drop-link {
|
||||
float: right;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#contact-edit-nav-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#contact-edit-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#contact-edit-end {
|
||||
clear: both;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#contact-profile-selector {
|
||||
width: 175px;
|
||||
margin-left: 175px;
|
||||
}
|
||||
|
||||
.contact-edit-submit {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
.contact-photo-menu-button {
|
||||
position: absolute;
|
||||
background-image: url("photo-menu.jpg");
|
||||
background-position: top left;
|
||||
background-repeat: no-repeat;
|
||||
margin: 0px; padding: 0px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
top: 64px; left:0px;
|
||||
overflow: hidden;
|
||||
text-indent: 40px;
|
||||
display: none;
|
||||
|
||||
}
|
||||
.contact-photo-menu {
|
||||
width: auto;
|
||||
border: 2px solid #444444;
|
||||
background: #FFFFFF;
|
||||
position: absolute;
|
||||
left: 0px; top: 90px;
|
||||
display: none;
|
||||
z-index: 10000;
|
||||
}
|
||||
.contact-photo-menu ul { margin:0px; padding: 0px; list-style: none }
|
||||
.contact-photo-menu li a { display: block; padding: 2px; }
|
||||
.contact-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }
|
||||
|
||||
|
||||
#block-message, #ignore-message, #archive-message, #lost-contact-message {
|
||||
color: #FF0000;
|
||||
}
|
||||
|
||||
#profile-edit-insecure {
|
||||
margin-top: 20px;
|
||||
color: #FF0000;
|
||||
font-size: 1.1em;
|
||||
border: 1px solid #FF8888;
|
||||
background-color: #FFEEEE;
|
||||
padding-left: 5px;
|
||||
/*: 3px 3px 3px 5px; */
|
||||
width: 587px;
|
||||
}
|
||||
|
||||
#profile-jot-text {
|
||||
height: 20px;
|
||||
color:#cccccc;
|
||||
border: 1px solid #cccccc;
|
||||
padding: 3px 0px 0px 5px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
||||
/** acl **/
|
||||
#photo-edit-perms-select,
|
||||
#photos-upload-permissions-wrapper,
|
||||
#profile-jot-acl-wrapper{
|
||||
display:block!important;
|
||||
}
|
||||
|
||||
#photos-usage-message {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
|
||||
#acl-wrapper {
|
||||
width: 690px;
|
||||
float:left;
|
||||
}
|
||||
#acl-search {
|
||||
float:right;
|
||||
background: #ffffff url("../../../images/search_18.png") no-repeat right center;
|
||||
padding-right:20px;
|
||||
}
|
||||
#acl-showall {
|
||||
float: left;
|
||||
display: block;
|
||||
width: auto;
|
||||
height: 18px;
|
||||
background-color: #cccccc;
|
||||
background-image: url("../../../images/show_all_off.png");
|
||||
background-position: 7px 7px;
|
||||
background-repeat: no-repeat;
|
||||
padding: 7px 5px 0px 30px;
|
||||
-webkit-border-radius: 5px ;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
color: #999999;
|
||||
}
|
||||
#acl-showall.selected {
|
||||
color: #000000;
|
||||
background-color: #ff9900;
|
||||
background-image: url("../../../images/show_all_on.png");
|
||||
}
|
||||
|
||||
#acl-list {
|
||||
height: 210px;
|
||||
border: 1px solid #cccccc;
|
||||
clear: both;
|
||||
margin-top: 30px;
|
||||
overflow: auto;
|
||||
}
|
||||
#acl-list-content {
|
||||
|
||||
}
|
||||
.acl-list-item {
|
||||
display: block;
|
||||
width: 150px;
|
||||
height: 30px;
|
||||
border: 1px solid #cccccc;
|
||||
margin: 5px;
|
||||
float: left;
|
||||
}
|
||||
.acl-list-item img{
|
||||
width:22px;
|
||||
height: 22px;
|
||||
float: left;
|
||||
margin: 4px;
|
||||
}
|
||||
.acl-list-item p { height: 12px; font-size: 10px; margin: 0px; padding: 2px 0px 1px; overflow: hidden;}
|
||||
.acl-list-item a {
|
||||
font-size: 8px;
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 10px;
|
||||
float: left;
|
||||
color: #999999;
|
||||
background-color: #cccccc;
|
||||
background-position: 3px 3px;
|
||||
background-repeat: no-repeat;
|
||||
margin-right: 5px;
|
||||
-webkit-border-radius: 2px ;
|
||||
-moz-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
#acl-wrapper a:hover {
|
||||
text-decoration: none;
|
||||
color:#000000;
|
||||
}
|
||||
.acl-button-show { background-image: url("../../../images/show_off.png"); }
|
||||
.acl-button-hide { background-image: url("../../../images/hide_off.png"); }
|
||||
|
||||
.acl-button-show.selected {
|
||||
color: #000000;
|
||||
background-color: #9ade00;
|
||||
background-image: url("../../../images/show_on.png");
|
||||
}
|
||||
.acl-button-hide.selected {
|
||||
color: #000000;
|
||||
background-color: #ff4141;
|
||||
background-image: url("../../../images/hide_on.png");
|
||||
}
|
||||
.acl-list-item.groupshow { border-color: #9ade00; }
|
||||
.acl-list-item.grouphide { border-color: #ff4141; }
|
||||
/** /acl **/
|
||||
|
||||
|
||||
#group-new-submit-wrapper {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#group-edit-name-label {
|
||||
float: left;
|
||||
width: 175px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#group-edit-name {
|
||||
float: left;
|
||||
width: 225px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#group-edit-name-wrapper {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#group_members_select_label {
|
||||
display: block;
|
||||
float: left;
|
||||
width: 175px;
|
||||
}
|
||||
|
||||
.group_members_select {
|
||||
float: left;
|
||||
width: 230px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#group_members_select_end {
|
||||
clear: both;
|
||||
}
|
||||
#group-edit-name-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#prvmail-to-label, #prvmail-subject-label, #prvmail-message-label {
|
||||
margin-bottom: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#prvmail-submit {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
#prvmail-upload-wrapper,
|
||||
#prvmail-link-wrapper,
|
||||
#prvmail-rotator-wrapper {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
margin-right: 10px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
#prvmail-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.mail-list-sender,
|
||||
.mail-list-detail {
|
||||
float: left;
|
||||
}
|
||||
.mail-list-detail {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.mail-list-subject {
|
||||
font-size: 1.1em;
|
||||
margin-top: 10px;
|
||||
}
|
||||
a.mail-list-link {
|
||||
display: block;
|
||||
font-size: 1.3em;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
/*
|
||||
*a.mail-list-link:hover {
|
||||
* background-color: #15607B;
|
||||
* color: #F5F6FB;
|
||||
*}
|
||||
*/
|
||||
|
||||
.mail-list-outside-wrapper-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.mail-list-outside-wrapper {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.mail-list-delete-wrapper {
|
||||
float: right;
|
||||
margin-right: 30px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.mail-list-delete-icon {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.mail-conv-sender,
|
||||
.mail-conv-detail {
|
||||
float: left;
|
||||
}
|
||||
.mail-conv-detail {
|
||||
margin-left: 20px;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.mail-conv-subject {
|
||||
font-size: 1.4em;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.mail-conv-outside-wrapper-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.mail-conv-outside-wrapper {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.mail-conv-delete-wrapper {
|
||||
float: right;
|
||||
margin-right: 30px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
.mail-conv-break {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.mail-conv-delete-icon {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.message-links ul {
|
||||
list-style-type: none;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.message-links li {
|
||||
margin-top: 10px;
|
||||
float: left;
|
||||
}
|
||||
.message-links a {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
|
||||
.message-links-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#sidebar-group-list ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#sidebar-group-list .icon, #sidebar-group-list .iconspacer {
|
||||
display: inline-block;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
#sidebar-group-list li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.nets-ul, .fileas-ul, .categories-ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.nets-ul li, .fileas-ul li, .categories-ul li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.nets-link {
|
||||
margin-left: 24px;
|
||||
}
|
||||
.nets-all {
|
||||
margin-left: 42px;
|
||||
}
|
||||
|
||||
.fileas-link, .categories-link {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
.fileas-all, .categories-all {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
#search-save {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.groupsideedit {
|
||||
margin-right: 10px;
|
||||
}
|
||||
#saved-search-ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
.savedsearchdrop, .savedsearchterm {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.savedsearchterm {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
#side-follow-wrapper {
|
||||
margin-top: 20px;
|
||||
}
|
||||
#side-follow-url, #side-peoplefind-url {
|
||||
margin-top: 5px;
|
||||
}
|
||||
#side-follow-submit, #side-peoplefind-submit {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#side-match-link {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
aside input[type='text'] {
|
||||
width: 174px;
|
||||
}
|
||||
|
||||
.widget {
|
||||
border: 1px solid #DDDDDD;
|
||||
padding: 8px;
|
||||
margin-top: 5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
border-radius:5px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*.photos {
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
}*/
|
||||
|
||||
.photos-end {
|
||||
clear: both;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.photo-album-image-wrapper {
|
||||
float: left;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
margin-left: 15px;
|
||||
/* width: 200px; height: 200px;
|
||||
overflow: hidden;
|
||||
position: relative; */
|
||||
}
|
||||
.photo-album-image-wrapper .caption {
|
||||
display: none;
|
||||
width: 100%;
|
||||
/* position: absolute; */
|
||||
bottom: 0px;
|
||||
padding: 0.5em 0.5em 0px 0.5em;
|
||||
background-color: rgba(245, 245, 255, 0.8);
|
||||
border-bottom: 2px solid #CCC;
|
||||
margin: 0px;
|
||||
}
|
||||
.photo-album-image-wrapper a:hover .caption {
|
||||
display:block;
|
||||
}
|
||||
|
||||
#photo-album-end {
|
||||
clear: both;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.photo-top-image-wrapper {
|
||||
/* position: relative; */
|
||||
float: left;
|
||||
margin-top: 15px;
|
||||
margin-right: 15px;
|
||||
margin-left: 15px;
|
||||
margin-bottom: 15px;
|
||||
/* width: 200px; height: 200px;
|
||||
overflow: hidden; */
|
||||
}
|
||||
.photo-top-album-name {
|
||||
width: 100%;
|
||||
min-height: 2em;
|
||||
/* position: absolute; */
|
||||
bottom: 0px;
|
||||
padding: 0px 3px;
|
||||
padding-top: 0.5em;
|
||||
background-color: rgb(255, 255, 255);
|
||||
}
|
||||
#photo-top-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#photo-top-links {
|
||||
margin-bottom: 30px;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
#photos-upload-newalbum-div {
|
||||
float: left;
|
||||
width: 175px;
|
||||
}
|
||||
|
||||
#photos-upload-noshare {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#photos-upload-existing-album-text {
|
||||
float: left;
|
||||
width: 175px;
|
||||
}
|
||||
#photos-upload-newalbum {
|
||||
float: left;
|
||||
}
|
||||
#photos-upload-album-select {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#photos-upload-spacer {
|
||||
margin-top: 25px;
|
||||
}
|
||||
#photos-upload-new-end, #photos-upload-exist-end {
|
||||
clear: both;
|
||||
}
|
||||
#photos-upload-exist-end {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
#photos-upload-submit {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#photos_upload_applet_wrapper {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#photos-upload-no-java-message {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#profile-jot-desc {
|
||||
/*float: left;*/
|
||||
/*width: 480px;*/
|
||||
width: 100%;
|
||||
color: #FF0000;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#character-counter {
|
||||
float: right;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
#character-counter.grey {
|
||||
color: #888888;
|
||||
}
|
||||
|
||||
#character-counter.orange {
|
||||
color: orange;
|
||||
}
|
||||
#character-counter.red {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#profile-jot-banner-end {
|
||||
/* clear: both; */
|
||||
}
|
||||
|
||||
#photos-upload-select-files-text {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#photos-upload-perms-menu, #photos-upload-perms-menu:visited, #photos-upload-perms-menu:link {
|
||||
color: #8888FF;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#photos-upload-perms-menu:hover {
|
||||
color: #0000FF;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
#settings-default-perms-menu {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#photo-edit-caption-label, #photo-edit-tags-label, #photo-edit-albumname-label, #photo-edit-rotate-label {
|
||||
float: left;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
#photo-edit-perms-end {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#photo-edit-caption, #photo-edit-newtag, #photo-edit-albumname, #photo-edit-rotate {
|
||||
float: left;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
#photo-edit-link-wrap {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
#photo-like-div {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#photo-edit-caption-end, #photo-edit-tags-end, #photo-edit-albumname-end, #photo-edit-rotate-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#photo-edit-rotate-end {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#photo-edit-delete-button {
|
||||
margin-left: 200px;
|
||||
}
|
||||
#photo-edit-end {
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
#photo-caption {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#in-this-photo-text {
|
||||
color: #0000FF;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
#in-this-photo {
|
||||
margin-left: 60px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#photo-album-edit-submit, #photo-album-edit-drop {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#photo-album-edit-drop {
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
.group-delete-wrapper {
|
||||
float: right;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
#install-dbhost-label,
|
||||
#install-dbuser-label,
|
||||
#install-dbpass-label,
|
||||
#install-dbdata-label,
|
||||
#install-tz-desc {
|
||||
float: left;
|
||||
width: 250px;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
}
|
||||
|
||||
#install-dbhost,
|
||||
#install-dbuser,
|
||||
#install-dbpass,
|
||||
#install-dbdata {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#install-dbhost-end,
|
||||
#install-dbuser-end,
|
||||
#install-dbpass-end,
|
||||
#install-dbdata-end,
|
||||
#install-tz-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#install-form select#timezone_select {
|
||||
float: left;
|
||||
margin-top: 18px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#dfrn-request-networks {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#pause {
|
||||
position: fixed;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
.sparkle {
|
||||
cursor: url('lock.cur'), pointer;
|
||||
/* cursor: pointer !important; */
|
||||
}
|
||||
|
||||
.contact-block-div {
|
||||
float: left;
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
}
|
||||
.contact-block-textdiv {
|
||||
float: left;
|
||||
width: 150px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
#contact-block-end {
|
||||
clear: both;
|
||||
}
|
||||
.contact-block-link {
|
||||
float: left;
|
||||
}
|
||||
.contact-block-img {
|
||||
width:48px;
|
||||
height:48px;
|
||||
}
|
||||
|
||||
#tag-remove {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#tagrm li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#tagrm-submit, #tagrm-cancel {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
#tagrm-cancel {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.wall-item-conv {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#search-submit {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#search-box {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.location-label, .gender-label, .marital-label, .homepage-label {
|
||||
float: left;
|
||||
text-align: right;
|
||||
display: block;
|
||||
width: 65px;
|
||||
}
|
||||
|
||||
.adr, .x-gender, .marital-text, .homepage-url {
|
||||
float: left;
|
||||
display: block;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.profile-clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.cc-license {
|
||||
margin-top: 50px;
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
|
||||
#plugin-settings-link, #account-settings-link {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#uexport-link {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* end from default */
|
||||
|
||||
|
||||
.fn {
|
||||
padding: 0px 0px 5px 12px;
|
||||
font-size: 120%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.vcard .title {
|
||||
margin-bottom: 5px;
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.vcard dl {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#birthday-title {
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#birthday-adjust {
|
||||
float: left;
|
||||
font-size: 75%;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#birthday-title-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.birthday-list {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#birthday-wrapper {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#network-new-link {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
|
||||
.tool-wrapper {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.tool-link {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.eventcal {
|
||||
float: left;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#event-summary-text {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#event-share-checkbox {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#event-share-text {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#event-share-break {
|
||||
clear: both;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#event-summary {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.vevent {
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
|
||||
.vevent .event-summary {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.vevent .event-description, .vevent .event-location {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.vevent .event-start {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#new-event-link {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.edit-event-link, .plink-event-link {
|
||||
float: left;
|
||||
margin-top: 4px;
|
||||
margin-right: 4px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.event-description:before {
|
||||
content: url('../../../images/calendar.png');
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.event-start, .event-end {
|
||||
margin-left: 10px;
|
||||
width: 330px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.event-start .dtstart, .event-end .dtend {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.event-list-date {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.prevcal, .nextcal {
|
||||
float: left;
|
||||
margin-left: 32px;
|
||||
margin-right: 32px;
|
||||
margin-top: 64px;
|
||||
}
|
||||
.event-calendar-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
.calendar {
|
||||
font-family: Courier, monospace;
|
||||
}
|
||||
.today {
|
||||
font-weight: bold;
|
||||
color: #FF0000;
|
||||
}
|
||||
|
||||
.settings-block {
|
||||
border: 1px solid #AAA;
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.app-title {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#identity-manage-desc {
|
||||
margin-top:15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#identity-manage-choose {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#identity-submit {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#photo-prev-link, #photo-next-link {
|
||||
padding: 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#photo-photo {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#photo-photo-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.profile-match-photo {
|
||||
float: left;
|
||||
text-align: center;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.profile-match-name {
|
||||
float: left;
|
||||
text-align: center;
|
||||
width: 120px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.profile-match-break,
|
||||
.profile-match-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.profile-match-connect {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.profile-match-wrapper {
|
||||
float: left;
|
||||
padding: 10px;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
scroll: auto;
|
||||
}
|
||||
#profile-match-wrapper-end {
|
||||
clear: both;
|
||||
}
|
||||
.side-link {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#language-selector {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 16px;
|
||||
}
|
||||
|
||||
#group-members {
|
||||
margin-top: 20px;
|
||||
padding: 10px;
|
||||
height: 250px;
|
||||
overflow: auto;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#group-members-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#group-separator {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#group-all-contacts {
|
||||
padding: 10px;
|
||||
height: 450px;
|
||||
overflow: auto;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#group-all-contacts-end {
|
||||
clear: both;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#group-edit-desc {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
|
||||
#prof-members {
|
||||
margin-top: 20px;
|
||||
padding: 10px;
|
||||
height: 250px;
|
||||
overflow: auto;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#prof-members-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#prof-separator {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#prof-all-contacts {
|
||||
padding: 10px;
|
||||
height: 450px;
|
||||
overflow: auto;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#prof-all-contacts-end {
|
||||
clear: both;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#prof-edit-desc {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#crepair-name-label,
|
||||
#crepair-nick-label,
|
||||
#crepair-attag-label,
|
||||
#crepair-url-label,
|
||||
#crepair-request-label,
|
||||
#crepair-confirm-label,
|
||||
#crepair-notify-label,
|
||||
#crepair-photo-label,
|
||||
#crepair-poll-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#crepair-name,
|
||||
#crepair-nick,
|
||||
#crepair-attag,
|
||||
#crepair-url,
|
||||
#crepair-request,
|
||||
#crepair-confirm,
|
||||
#crepair-notify,
|
||||
#crepair-photo,
|
||||
#crepair-poll {
|
||||
float: left;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
|
||||
#netsearch-box {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#netsearch-box #search-submit {
|
||||
margin: 5px 0px 0px 0px;
|
||||
}
|
||||
|
||||
.required {
|
||||
color: #FF0000;
|
||||
}
|
||||
|
||||
#event-start-text, #event-finish-text {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#event-nofinish-checkbox, #event-nofinish-text, #event-adjust-checkbox, #event-adjust-text {
|
||||
float: left;
|
||||
}
|
||||
#event-datetime-break {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#event-nofinish-break, #event-adjust-break {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#event-desc-text, #event-location-text {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#event-submit {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.body-tag, .filesavetags, .categorytags {
|
||||
opacity: 0.5;
|
||||
filter:alpha(opacity=50);
|
||||
}
|
||||
|
||||
.body-tag:hover, .filesavetags:hover, .categorytags:hover {
|
||||
opacity: 1.0 !important;
|
||||
filter:alpha(opacity=100) !important;
|
||||
}
|
||||
|
||||
.item-select {
|
||||
opacity: 0.1;
|
||||
filter:alpha(opacity=10);
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
|
||||
}
|
||||
.item-select:hover, .checkeditem {
|
||||
opacity: 1;
|
||||
filter:alpha(opacity=100);
|
||||
}
|
||||
|
||||
|
||||
#item-delete-selected {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#item-delete-selected-end {
|
||||
clear: both;
|
||||
}
|
||||
#item-delete-selected-icon, #item-delete-selected-desc {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
}
|
||||
#item-delete-selected-desc:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#lang-select-icon {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
opacity: 0.2;
|
||||
filter:alpha(opacity=20);
|
||||
}
|
||||
|
||||
#lang-select-icon:hover {
|
||||
opacity: 1;
|
||||
filter:alpha(opacity=100);
|
||||
}
|
||||
|
||||
.notif-image {
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
.notification-listing-end {
|
||||
clear: both;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Plugins settings
|
||||
*/
|
||||
|
||||
.settings-block > h3,
|
||||
.settings-heading {
|
||||
border-bottom: 1px solid #babdb6;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Form fields
|
||||
*/
|
||||
.field {
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
overflow: auto;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.field label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.field input,
|
||||
.field textarea {
|
||||
width: 400px;
|
||||
}
|
||||
.field textarea { height: 100px; }
|
||||
.field_help {
|
||||
display: block;
|
||||
margin-left: 200px;
|
||||
color: #666666;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.field .onoff {
|
||||
float: left;
|
||||
width: 80px;
|
||||
}
|
||||
.field .onoff a {
|
||||
display: block;
|
||||
border:1px solid #666666;
|
||||
background-image:url("../../../images/onoff.jpg");
|
||||
background-repeat: no-repeat;
|
||||
padding: 4px 2px 2px 2px;
|
||||
height: 16px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.field .onoff .off {
|
||||
border-color:#666666;
|
||||
padding-left: 40px;
|
||||
background-position: left center;
|
||||
background-color: #cccccc;
|
||||
color: #666666;
|
||||
text-align: right;
|
||||
}
|
||||
.field .onoff .on {
|
||||
border-color:#204A87;
|
||||
padding-right: 40px;
|
||||
background-position: right center;
|
||||
background-color: #D7E3F1;
|
||||
color: #204A87;
|
||||
text-align: left;
|
||||
}
|
||||
.hidden { display: none!important; }
|
||||
|
||||
.field.radio .field_help { margin-left: 0px; }
|
||||
|
||||
/**
|
||||
* ADMIN
|
||||
*/
|
||||
#pending-update {
|
||||
float:right;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
background-color: #FF0000;
|
||||
padding: 0em 0.3em;
|
||||
|
||||
}
|
||||
#adminpage dl {
|
||||
clear: left;
|
||||
margin-bottom: 2px;
|
||||
padding-bottom: 2px;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
#adminpage dt {
|
||||
width: 200px;
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
#adminpage dd {
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
#adminpage h3 {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
}
|
||||
#adminpage .field label {
|
||||
font-weight: bold;
|
||||
}
|
||||
#adminpage .submit {
|
||||
clear:left;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#adminpage #pluginslist {
|
||||
margin: 0px; padding: 0px;
|
||||
}
|
||||
#adminpage .plugin {
|
||||
list-style: none;
|
||||
display: block;
|
||||
border: 1px solid #888888;
|
||||
padding: 1em;
|
||||
margin-bottom: 5px;
|
||||
clear: left;
|
||||
}
|
||||
#adminpage .plugin .desc { margin-left: 2.5em;}
|
||||
#adminpage .toggleplugin {
|
||||
float:left;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
#adminpage table {width:100%; border-bottom: 1px solid #000000; margin: 5px 0px;}
|
||||
#adminpage table th { text-align: left;}
|
||||
#adminpage td .icon { float: left;}
|
||||
#adminpage table#users img { width: 16px; height: 16px; }
|
||||
#adminpage table tr:hover { background-color: #bbc7d7; }
|
||||
#adminpage .selectall { text-align: right; }
|
||||
|
||||
/*
|
||||
* UPDATE
|
||||
*/
|
||||
.popup {
|
||||
width: 100%; height: 100%;
|
||||
top:0px; left:0px;
|
||||
position: absolute;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.popup .background {
|
||||
background-color: rgba(0,0,0,128);
|
||||
opacity: 0.5;
|
||||
width: 100%; height: 100%;
|
||||
position: absolute;
|
||||
top:0px; left:0px;
|
||||
}
|
||||
.popup .panel {
|
||||
top:25%;left:25%;width:50%;height:50%;
|
||||
padding: 1em;
|
||||
position: absolute;
|
||||
border: 4px solid #000000;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.popup .panel .panel_text { display: block; overflow: auto; height: 80%; }
|
||||
.popup .panel .panel_in { width: 100%; height: 100%; position: relative; }
|
||||
.popup .panel .panel_actions { width: 100%; bottom: 4px; left: 0px; position: absolute; }
|
||||
.panel_text .progress { width: 50%; overflow: hidden; height: auto; border: 1px solid #cccccc; margin-bottom: 5px}
|
||||
.panel_text .progress span {float: right; display: block; width: 25%; background-color: #eeeeee; text-align: right;}
|
||||
|
||||
/**
|
||||
* OAuth
|
||||
*/
|
||||
.oauthapp {
|
||||
height: auto; overflow: auto;
|
||||
border-bottom: 2px solid #cccccc;
|
||||
padding-bottom: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.oauthapp img {
|
||||
float: left;
|
||||
width: 48px; height: 48px;
|
||||
margin: 10px;
|
||||
}
|
||||
.oauthapp img.noicon {
|
||||
background-image: url("../../../images/icons/48/plugin.png");
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.oauthapp a {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/**
|
||||
* ICONS
|
||||
*/
|
||||
.iconspacer {
|
||||
display: block; width: 16px; height: 16px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-image: url('../../../images/icons.png');
|
||||
}
|
||||
.article { background-position: 0px 0px;}
|
||||
/*.audio { background-position: -16px 0px;}*/
|
||||
.audio {
|
||||
display: block; width: 24px; height: 24px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/speaker.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.block { background-position: -32px 0px;}
|
||||
/*.drop { background-position: -48px 0px;}*/
|
||||
.drop {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/drop-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 1.0;
|
||||
}
|
||||
/*.drophide { background-position: -64px 0px;}*/
|
||||
.drophide {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/drop-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.edit { background-position: -80px 0px;}
|
||||
/*.camera { background-position: -96px 0px;}*/
|
||||
.camera{
|
||||
display: block; width: 24px; height: 18px;
|
||||
margin-top: 4px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/camera.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
/*.dislike { background-position: -112px 0px;}*/
|
||||
.dislike {
|
||||
display: block; width: 15px; height: 16px;/* 23 24*/
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/disapprove-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.dislike:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
/*.like { background-position: -128px 0px;}*/
|
||||
.like {
|
||||
display: block; width: 15px; height: 16px;/* 23 24*/
|
||||
margin-right: 6px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/approve-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.like:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
/*.link { background-position: -144px 0px;}*/
|
||||
.link {
|
||||
display: block; width: 24px; height: 24px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/link.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
/*.globe { background-position: 0px -16px;}*/
|
||||
.globe {
|
||||
display: block; width: 24px; height: 24px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/globe.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.noglobe { background-position: -16px -16px;}
|
||||
.no { background-position: -32px -16px;}
|
||||
.pause { background-position: -48px -16px;}
|
||||
.play { background-position: -64px -16px;}
|
||||
/*.pencil { background-position: -80px -16px;}*/
|
||||
.pencil {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/pencil-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.pencil:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
/*.small-pencil { background-position: -96px -16px;}*/
|
||||
.small-pencil {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/pencil-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.small-pencil:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
/*.recycle { background-position: -112px -16px;}*/
|
||||
.recycle {
|
||||
display: block; width: 16px; height: 16px;/*24 23*/
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/recycle-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.recycle:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
/*.remote-link { background-position: -128px -16px;}*/
|
||||
.remote-link {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/remote-link-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.remote-link:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
.share { background-position: -144px -16px;}
|
||||
|
||||
.tools { background-position: 0px -32px;}
|
||||
/*.lock { background-position: -16px -32px;}*/
|
||||
.lock {
|
||||
display: block; width: 14px; height: 21px;
|
||||
margin-top: 1px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/lock-24.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
/*.unlock { background-position: -32px -32px;}*/
|
||||
.unlock {
|
||||
display: block; width: 14px; height: 24px;
|
||||
margin-top: -2px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/unlock-24.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
/*.video { background-position: -48px -32px;}*/
|
||||
.video {
|
||||
display: block; width: 24px; height: 24px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/video.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.youtube { background-position: -64px -32px;}
|
||||
/*.attach { background-position: -80px -32px; }*/
|
||||
.attach {
|
||||
display: block; width: 24px; height: 24px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/paperclip-24.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.language { background-position: -96px -32px; }
|
||||
.prev { background-position: -112px -32px; }
|
||||
.next { background-position: -128px -32px; }
|
||||
.on { background-position: -144px -32px; }
|
||||
|
||||
.off { background-position: 0px -48px; }
|
||||
/*.starred { background-position: -16px -48px; }*/
|
||||
.starred {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/star-yellow-16.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
/*.unstarred { background-position: -32px -48px; }*/
|
||||
.unstarred {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/star-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.unstarred:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
/*.tagged { background-position: -48px -48px; }*/
|
||||
.tagged {
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/tag-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.tagged:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
.yellow { background-position: -64px -48px; }
|
||||
|
||||
|
||||
.filer-icon {
|
||||
/* display: block; width: 16px; height: 16px;
|
||||
background-image: url('file.gif');*/
|
||||
display: block; width: 16px; height: 16px;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('images/folder-16.png');
|
||||
background-repeat: no-repeat;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.filer-icon:hover {
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
.icon.dim { opacity: 0.3;filter:alpha(opacity=30); }
|
||||
[class^="comment-edit-bb"] {
|
||||
list-style: none;
|
||||
display: none;
|
||||
margin: 0px 0 -5px 60px;
|
||||
width: 75%;
|
||||
}
|
||||
[class^="comment-edit-bb"] > li {
|
||||
display: inline-block;
|
||||
margin: 10px 10px 0 0;
|
||||
visibility: none;
|
||||
}
|
||||
[class^="comment-edit-bb-end"] {
|
||||
clear: both;
|
||||
}
|
||||
.editicon {
|
||||
display: inline-block;
|
||||
/* background-image: url(bbedit.png);
|
||||
background-color: #fff;*/
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #f3f3f3;
|
||||
text-decoration: none;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.editicon:hover {
|
||||
/* background-color: #ccc;*/
|
||||
opacity: 1.0;
|
||||
}
|
||||
.boldbb {
|
||||
/* background-position: 0px 0px;*/
|
||||
width: 15px;
|
||||
height: 16px;
|
||||
background-image: url('images/boldB-serif-16.png');
|
||||
}
|
||||
/*.boldbb:hover {
|
||||
background-position: 0px -16px;
|
||||
}*/
|
||||
.italicbb {
|
||||
/* background-position: -16px 0px;*/
|
||||
width: 9px;
|
||||
height: 16px;
|
||||
background-image: url('images/italicI-serif-16.png');
|
||||
}
|
||||
/*.italicbb:hover {
|
||||
background-position: -16px -16px;
|
||||
}*/
|
||||
.underlinebb {
|
||||
/* background-position: -32px 0px;*/
|
||||
width: 14px;
|
||||
height: 16px;
|
||||
background-image: url('images/underlineU-serif-16.png');
|
||||
}
|
||||
/*.underlinebb:hover {
|
||||
background-position: -32px -16px;
|
||||
}*/
|
||||
.quotebb {
|
||||
/* background-position: -48px 0px;*/
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-image: url('images/quote.png');
|
||||
}
|
||||
/*.quotebb:hover {
|
||||
background-position: -48px -16px;
|
||||
}*/
|
||||
.codebb {
|
||||
/* background-position: -64px 0px;*/
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-image: url('images/code.png');
|
||||
}
|
||||
/*.codebb:hover {
|
||||
background-position: -64px -16px;
|
||||
}*/
|
||||
.imagebb {
|
||||
/* background-position: -80px 0px;*/
|
||||
width: 20px;/*16*/
|
||||
height: 15px;/*12*/
|
||||
margin-bottom: 2px;
|
||||
background-image: url('images/camera.png');
|
||||
}
|
||||
/*.imagebb:hover {
|
||||
background-position: -80px -16px;
|
||||
}*/
|
||||
.urlbb {
|
||||
/* background-position: -96px 0px;*/
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-image: url('images/link.png');
|
||||
}
|
||||
/*.urlbb:hover {
|
||||
background-position: -96px -16px;
|
||||
}*/
|
||||
.videobb {
|
||||
/* background-position: -112px 0px;*/
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-image: url('images/video.png');
|
||||
}
|
||||
/*.videobb:hover {
|
||||
background-position: -112px -16px;
|
||||
}*/
|
||||
|
||||
.attachtype {
|
||||
display: block; width: 20px; height: 23px;
|
||||
float: left;
|
||||
background-image: url('../../../images/content-types.png');
|
||||
}
|
||||
|
||||
.body-attach {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.type-video { background-position: 0px 0px; }
|
||||
.type-image { background-position: -20px 0px; }
|
||||
.type-audio { background-position: -40px 0px; }
|
||||
.type-text { background-position: -60px 0px; }
|
||||
.type-unkn { background-position: -80px 0px; }
|
||||
|
||||
|
||||
/* autocomplete popup */
|
||||
.acpopup {
|
||||
max-height:150px;
|
||||
background-color:#ffffff;
|
||||
overflow:auto;
|
||||
z-index:100000;
|
||||
border:1px solid #cccccc;
|
||||
}
|
||||
.acpopupitem {
|
||||
background-color:#ffffff; padding: 4px;
|
||||
clear:left;
|
||||
}
|
||||
.acpopupitem img {
|
||||
float: left;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.acpopupitem.selected {
|
||||
color: #FFFFFF; background: #3465A4;
|
||||
}
|
||||
|
||||
/* popup notifications */
|
||||
div.jGrowl div.notice {
|
||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||
color: #ffffff;
|
||||
padding-left: 58px;
|
||||
}
|
||||
div.jGrowl div.info {
|
||||
background: #364e59 url("../../../images/icons/48/info.png") no-repeat 5px center;
|
||||
color: #ffffff;
|
||||
padding-left: 58px;
|
||||
}
|
||||
#jGrowl.top-right {
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
}
|
||||
.qcomment {
|
||||
border: 1px solid #EEE;
|
||||
padding: 3px;
|
||||
margin-top: 15px;
|
||||
margin-left: 25px;
|
||||
width: 125px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
|
||||
.qcomment option {
|
||||
width: 125px;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.qcomment {
|
||||
opacity: 0.3;
|
||||
filter:alpha(opacity=30);
|
||||
}
|
||||
.qcomment:hover {
|
||||
opacity: 1.0;
|
||||
filter:alpha(opacity=100);
|
||||
}
|
||||
|
||||
/* notifications popup menu */
|
||||
.nav-notify {
|
||||
display: none;
|
||||
position: absolute;
|
||||
font-size: 10px;
|
||||
padding: 1px 3px;
|
||||
top: 0px;
|
||||
right: -10px;
|
||||
min-width: 15px;
|
||||
text-align: right;
|
||||
}
|
||||
.nav-notify.show {
|
||||
display: block;
|
||||
}
|
||||
ul.notifications-menu-popup {
|
||||
position: absolute;
|
||||
display: none;
|
||||
width: 10em;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
list-style: none;
|
||||
z-index: 100000;
|
||||
right: 0px;
|
||||
}
|
||||
#nav-notifications-menu {
|
||||
width: 320px;
|
||||
max-height: 400px;
|
||||
overflow-y: scroll;overflow-style:scrollbar;
|
||||
background-color:#FFFFFF;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius:5px;
|
||||
border: 1px solid #AAA;
|
||||
-moz-box-shadow: 3px 3px 5px #555;
|
||||
-webkit-box-shadow: 3px 3px 5px #555;
|
||||
box-shadow: 3px 3px 5px #555;
|
||||
}
|
||||
#nav-notifications-menu .contactname { font-weight: bold; font-size: 0.9em; }
|
||||
#nav-notifications-menu img { float: left; margin-right: 5px; }
|
||||
#nav-notifications-menu .notif-when { font-size: 0.8em; display: block; }
|
||||
#nav-notifications-menu li {
|
||||
padding: 7px 0px 7px 10px;
|
||||
word-wrap:normal;
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
|
||||
#nav-notifications-menu li:hover {
|
||||
|
||||
}
|
||||
|
||||
#nav-notifications-menu a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.notif-item a {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.notif-item a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.notif-image {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
padding: 7px 7px 0px 0px;
|
||||
}
|
||||
|
||||
.notify-seen {
|
||||
background: #DDDDDD;
|
||||
}
|
||||
|
||||
#id_term_label {
|
||||
width:75px;
|
||||
}
|
||||
#id_term {
|
||||
width:100px;
|
||||
}
|
||||
|
||||
#recip {
|
||||
|
||||
}
|
||||
.autocomplete-w1 { background: #ffffff; no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
|
||||
.autocomplete { color:#000; border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px; _margin:0; _overflow-x:hidden; }
|
||||
.autocomplete .selected { background:#F0F0F0; }
|
||||
.autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; }
|
||||
|
||||
#datebrowse-sidebar select {
|
||||
margin-left: 40px;
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
#theme-version {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* Name: Frost
|
||||
* Description: Like frosted glass
|
||||
* Credits: Navigation icons taken from http://iconza.com. Other icons taken from http://thenounproject.com, including: Like, Dislike, Black Lock, Unlock, Pencil, Tag, Camera, Paperclip (Marie Coons), Folder (Sergio Calcara), Chain-link (Andrew Fortnum), Speaker (Harold Kim), Quotes (Henry Ryder), Video Camera (Anas Ramadan), and Left Arrow, Right Arrow, and Delete X (all three P.J. Onori). All under Attribution (CC BY 3.0). Others from The Noun Project are public domain or No Rights Reserved (CC0).
|
||||
* Version: Version 0.1
|
||||
* Version: Version 0.2
|
||||
* Author: Zach P <windforest@f.shmuz.in>
|
||||
* Maintainer: Zach P <windforest@f.shmuz.in>
|
||||
*/
|
||||
|
|
@ -17,7 +17,8 @@ function frost_init(&$a) {
|
|||
// making pages load faster
|
||||
if( $a->module === 'home' || $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
|
||||
$a->page['htmlhead'] = str_replace('$stylesheet', $a->get_baseurl() . '/view/theme/frost/login-style.css', $a->page['htmlhead']);
|
||||
|
||||
}
|
||||
if( $a->module === 'login' )
|
||||
$a->page['end'] .= '<script type="text/javascript"> $j(document).ready(function() { $j("#id_" + window.loginName).focus();} );</script>';
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<a name="$item.id" ></a>
|
||||
<div class="wall-item-outside-wrapper$item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" >
|
||||
<!--<div class="wall-item-outside-wrapper$item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" >-->
|
||||
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||
<div class="wall-item-info" id="wall-item-info-$item.id">
|
||||
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
||||
|
|
@ -9,33 +9,33 @@
|
|||
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" />
|
||||
</a>
|
||||
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||
<ul>
|
||||
<!--<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">-->
|
||||
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||
$item.item_photo_menu
|
||||
</ul>
|
||||
</div>
|
||||
<!--</div>-->
|
||||
</div>
|
||||
<div class="wall-item-photo-end"></div>
|
||||
<!--<div class="wall-item-photo-end"></div>-->
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||
{{ if $item.lock }}<!--<div class="wall-item-lock">--><img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /><!--</div>-->
|
||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-author">
|
||||
<!--<div class="wall-item-author">-->
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
||||
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||
|
||||
</div>
|
||||
<!--</div>-->
|
||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||
<div class="wall-item-title-end"></div>
|
||||
<!--<div class="wall-item-title-end"></div>-->
|
||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||
<div class="body-tag">
|
||||
<!-- <div class="body-tag">-->
|
||||
{{ for $item.tags as $tag }}
|
||||
<span class='tag'>$tag</span>
|
||||
<span class='body-tag tag'>$tag</span>
|
||||
{{ endfor }}
|
||||
</div>
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
</div>
|
||||
{{ endif }}
|
||||
{{ if $item.plink }}
|
||||
<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link$item.sparkle"></a></div>
|
||||
<!--<div class="wall-item-links-wrapper">--><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a><!--</div>-->
|
||||
{{ endif }}
|
||||
{{ if $item.edpost }}
|
||||
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||
|
|
@ -61,19 +61,19 @@
|
|||
{{ if $item.filer }}
|
||||
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||
{{ endif }}
|
||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
</div>
|
||||
<!-- <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" id="wall-item-delete-wrapper-$item.id" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
<!-- </div>-->
|
||||
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||
<div class="wall-item-delete-end"></div>
|
||||
<!--<div class="wall-item-delete-end"></div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-wrapper-end"></div>
|
||||
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||
<div class="wall-item-comment-wrapper" >
|
||||
<!--<div class="wall-item-comment-wrapper" >-->
|
||||
$item.comment
|
||||
</div>
|
||||
<!--</div>-->
|
||||
|
||||
<div class="wall-item-outside-wrapper-end$item.indent" ></div>
|
||||
</div>
|
||||
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||
<!--</div>-->
|
||||
|
|
|
|||
5
view/theme/frost/wallmsg-end.tpl
Normal file
5
view/theme/frost/wallmsg-end.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
wallInitEditor();
|
||||
</script>
|
||||
|
||||
6
view/theme/frost/wallmsg-header.tpl
Normal file
6
view/theme/frost/wallmsg-header.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.editSelect = "$editselect";
|
||||
window.ajaxType = "wallmsg-header";
|
||||
</script>
|
||||
|
||||
86
view/theme/frost/wallwall_item.tpl
Normal file
86
view/theme/frost/wallwall_item.tpl
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
<a name="$item.id" ></a>
|
||||
<!--<div class="wall-item-outside-wrapper$item.indent$item.previewing wallwall" id="wall-item-outside-wrapper-$item.id" >-->
|
||||
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||
<div class="wall-item-info wallwall" id="wall-item-info-$item.id">
|
||||
<div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
|
||||
<a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
|
||||
<img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a>
|
||||
</div>
|
||||
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
|
||||
<div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id"
|
||||
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
|
||||
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||
<!-- <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">-->
|
||||
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||
$item.item_photo_menu
|
||||
</ul>
|
||||
<!-- </div>-->
|
||||
|
||||
</div>
|
||||
<!--<div class="wall-item-photo-end"></div>-->
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="wall-item-author">-->
|
||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall<br />
|
||||
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||
<!--</div>-->
|
||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||
<!--<div class="wall-item-title-end"></div>-->
|
||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||
<!--<div class="body-tag">-->
|
||||
{{ for $item.tags as $tag }}
|
||||
<span class='body-tag tag'>$tag</span>
|
||||
{{ endfor }}
|
||||
<!--</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||
{{ if $item.vote }}
|
||||
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
|
||||
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
|
||||
<a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
|
||||
{{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
|
||||
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{ if $item.plink }}
|
||||
<!--<div class="wall-item-links-wrapper">--><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a><!--</div>-->
|
||||
{{ endif }}
|
||||
{{ if $item.edpost }}
|
||||
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $item.star }}
|
||||
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
|
||||
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.filer }}
|
||||
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||
{{ endif }}
|
||||
|
||||
<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
<!--</div>-->
|
||||
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||
<!--<div class="wall-item-delete-end"></div>-->
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||
<div class="wall-item-comment-separator"></div>
|
||||
<!--<div class="wall-item-comment-wrapper">-->
|
||||
$item.comment
|
||||
<!--</div>-->
|
||||
|
||||
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||
<!--</div>-->
|
||||
|
||||
0
view/wallmsg-end.tpl
Normal file
0
view/wallmsg-end.tpl
Normal file
Loading…
Add table
Add a link
Reference in a new issue