- module === 'settings') && x($page,'aside')) echo $page['aside']; ?>
+ module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['aside']; ?>
diff --git a/view/theme/frost-mobile/end.tpl b/view/theme/frost-mobile/end.tpl
index d2679935c..8bc088421 100644
--- a/view/theme/frost-mobile/end.tpl
+++ b/view/theme/frost-mobile/end.tpl
@@ -1,18 +1,22 @@
-
-
+-->#}
+
+
+
-
-
-
+{##}
+{##}
+
+
+
diff --git a/view/theme/frost-mobile/generic_links_widget.tpl b/view/theme/frost-mobile/generic_links_widget.tpl
index 378346721..a976d4573 100644
--- a/view/theme/frost-mobile/generic_links_widget.tpl
+++ b/view/theme/frost-mobile/generic_links_widget.tpl
@@ -1,11 +1,12 @@
-
+-->#}
@@ -28,7 +28,4 @@
var updateInterval = $update_interval;
var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
-
-
-
diff --git a/view/theme/frost-mobile/jot-header.tpl b/view/theme/frost-mobile/jot-header.tpl
index b7aafc5ed..5d8cfa454 100644
--- a/view/theme/frost-mobile/jot-header.tpl
+++ b/view/theme/frost-mobile/jot-header.tpl
@@ -11,7 +11,8 @@
window.term = "$term";
window.baseURL = "$baseurl";
window.geoTag = function () { $geotag }
- window.ajaxType = 'jot-header';
+ window.jotId = "#profile-jot-text";
+ window.imageUploadButton = 'wall-image-upload';
diff --git a/view/theme/frost-mobile/jot.tpl b/view/theme/frost-mobile/jot.tpl
index d28cf57e4..b34515279 100644
--- a/view/theme/frost-mobile/jot.tpl
+++ b/view/theme/frost-mobile/jot.tpl
@@ -21,7 +21,7 @@
{{ endif }}
-
-
+{##}
{{if $desc}}
diff --git a/view/theme/frost-mobile/head.tpl b/view/theme/frost-mobile/head.tpl
index edfa5e4bb..a79b2916d 100644
--- a/view/theme/frost-mobile/head.tpl
+++ b/view/theme/frost-mobile/head.tpl
@@ -1,15 +1,15 @@
-
+-->#}
-
+{##}
$desc
{{endif}}
- -
+
- $item.label {{ endfor }} +
-
{{ for $items as $item }}
-
+ {##}
@@ -39,8 +39,10 @@
-
+ {##}
+
@@ -73,7 +75,7 @@
$acl
-
+
{{endif}}
diff --git a/view/theme/frost-mobile/wallmsg-end.tpl b/view/theme/frost-mobile/wallmsg-end.tpl
index d9e34d6fb..607413379 100644
--- a/view/theme/frost-mobile/wallmsg-end.tpl
+++ b/view/theme/frost-mobile/wallmsg-end.tpl
@@ -1,5 +1,2 @@
-
-
+
diff --git a/view/theme/frost-mobile/wallmsg-header.tpl b/view/theme/frost-mobile/wallmsg-header.tpl
index fc95f4d6c..8ed5ea130 100644
--- a/view/theme/frost-mobile/wallmsg-header.tpl
+++ b/view/theme/frost-mobile/wallmsg-header.tpl
@@ -1,6 +1,7 @@
+
$emailcc
$jotnets
diff --git a/view/theme/frost-mobile/js/acl.js b/view/theme/frost-mobile/js/acl.js
index d54df12a3..241e0c237 100644
--- a/view/theme/frost-mobile/js/acl.js
+++ b/view/theme/frost-mobile/js/acl.js
@@ -160,7 +160,7 @@ ACL.prototype.update_view = function(){
$j('#jot-public').show();
$j('.profile-jot-net input').attr('disabled', false);
if(typeof editor != 'undefined' && editor != false) {
- $j('#profile-jot-desc').html(ispublic);
+ $j('#profile-jot-desc').html(window.isPublic);
}
} else {
diff --git a/view/theme/frost-mobile/js/acl.min.js b/view/theme/frost-mobile/js/acl.min.js
index b543cbdd7..3a5d07298 100644
--- a/view/theme/frost-mobile/js/acl.min.js
+++ b/view/theme/frost-mobile/js/acl.min.js
@@ -1 +1 @@
-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=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");if(preset.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(i,v){aclfileds.append("")});$j(that.allow_cid).each(function(i,v){aclfileds.append("")});$j(that.deny_gid).each(function(i,v){aclfileds.append("")});$j(that.deny_cid).each(function(i,v){aclfileds.append("")})};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,1e3)};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.set_allow($j(this).parent().attr("id"));return false};ACL.prototype.on_button_hide=function(event){event.preventDefault();event.stopImmediatePropagation();event.stopPropagation();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");$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");$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){$j(data.items).each(function(){html=""+that.item_tpl+"
";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;that.list_content.append(html)});$j(".acl-list-item img[data-src]",that.list_content).each(function(i,el){$j(el).attr("src",$j(el).data("src"))});that.update_view()};
\ No newline at end of file
+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=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");if(preset.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(i,v){aclfileds.append("")});$j(that.allow_cid).each(function(i,v){aclfileds.append("")});$j(that.deny_gid).each(function(i,v){aclfileds.append("")});$j(that.deny_cid).each(function(i,v){aclfileds.append("")})};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,1e3)};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.set_allow($j(this).parent().attr("id"));return false};ACL.prototype.on_button_hide=function(event){event.preventDefault();event.stopImmediatePropagation();event.stopPropagation();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");$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(window.isPublic)}}else{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 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){$j(data.items).each(function(){html=""+that.item_tpl+"
";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;that.list_content.append(html)});$j(".acl-list-item img[data-src]",that.list_content).each(function(i,el){$j(el).attr("src",$j(el).data("src"))});that.update_view()};
\ No newline at end of file
diff --git a/view/theme/frost-mobile/js/main.js b/view/theme/frost-mobile/js/main.js
index 4ea2f7cda..de89ba919 100644
--- a/view/theme/frost-mobile/js/main.js
+++ b/view/theme/frost-mobile/js/main.js
@@ -287,7 +287,7 @@
}
function liveUpdate() {
- if((src == null) || (stopped) || (! profile_uid)) { $j('.like-rotator').hide(); return; }
+ if((src == null) || (stopped) || (typeof profile_uid == 'undefined') || (! profile_uid)) { $j('.like-rotator').hide(); return; }
if(($j('.comment-edit-text-full').length) || (in_progress)) {
if(livetime) {
clearTimeout(livetime);
@@ -407,13 +407,13 @@
});
}
- function imgbright(node) {
+/* function imgbright(node) {
$j(node).removeClass("drophide").addClass("drop");
}
function imgdull(node) {
$j(node).removeClass("drop").addClass("drophide");
- }
+ }*/
// Since our ajax calls are asynchronous, we will give a few
// seconds for the first ajax call (setting like/dislike), then
@@ -456,19 +456,19 @@
function getPosition(e) {
var cursor = {x:0, y:0};
- if ( e.touches[0].pageX || e.touches[0].pageY ) {
- cursor.x = e.touches[0].pageX;
- cursor.y = e.touches[0].pageY;
+ if ( e.pageX || e.pageY ) {
+ cursor.x = e.pageX;
+ cursor.y = e.pageY;
}
else {
- if( e.touches[0].clientX || e.touches[0].clientY ) {
- cursor.x = e.touches[0].clientX + (document.documentElement.scrollLeft || document.body.scrollLeft) - document.documentElement.clientLeft;
- cursor.y = e.touches[0].clientY + (document.documentElement.scrollTop || document.body.scrollTop) - document.documentElement.clientTop;
+ if( e.clientX || e.clientY ) {
+ cursor.x = e.clientX + (document.documentElement.scrollLeft || document.body.scrollLeft) - document.documentElement.clientLeft;
+ cursor.y = e.clientY + (document.documentElement.scrollTop || document.body.scrollTop) - document.documentElement.clientTop;
}
else {
- if( e.touches[0].x || e.touches[0].y ) {
- cursor.touches[0].x = e.touches[0].x;
- cursor.touches[0].y = e.touches[0].y;
+ if( e.x || e.y ) {
+ cursor.x = e.x;
+ cursor.y = e.y;
}
}
}
@@ -487,7 +487,7 @@
lockvisible = true;
$j.get('lockview/' + id, function(data) {
$j('#panel').html(data);
- $j('#panel').css({ 'left': cursor.x + 5 , 'top': cursor.y + 5});
+ $j('#panel').css({ 'left': 10 , 'top': cursor.y + 20});
$j('#panel').show();
});
}
diff --git a/view/theme/frost-mobile/js/main.min.js b/view/theme/frost-mobile/js/main.min.js
index aa4ce4427..3f6100e44 100644
--- a/view/theme/frost-mobile/js/main.min.js
+++ b/view/theme/frost-mobile/js/main.min.js
@@ -1 +1 @@
-function openClose(listID){listID="#"+listID.replace(/:/g,"\\:");listID=listID.replace(/\./g,"\\.");listID=listID.replace(/@/g,"\\@");if($j(listID).is(":visible")){$j(listID).hide();$j(listID+"-wrapper").show();alert($j(listID+"-wrapper").attr("id"))}else{$j(listID).show();$j(listID+"-wrapper").hide()}}function openMenu(theID){document.getElementById(theID).style.display="block"}function closeMenu(theID){document.getElementById(theID).style.display="none"}var src=null;var prev=null;var livetime=null;var msie=false;var stopped=false;var totStopped=false;var timer=null;var pr=0;var liking=0;var in_progress=false;var langSelect=false;var commentBusy=false;var last_popup_menu=null;var last_popup_button=null;$j(function(){$j.ajaxSetup({cache:false});msie=$j.browser.msie;collapseHeight();$j(".onoff input").each(function(){val=$j(this).val();id=$j(this).attr("id");$j("#"+id+"_onoff ."+(val==0?"on":"off")).addClass("hidden")});$j(".onoff > a").click(function(event){event.preventDefault();var input=$j(this).siblings("input");var val=1-input.val();var id=input.attr("id");$j("#"+id+"_onoff ."+(val==0?"on":"off")).addClass("hidden");$j("#"+id+"_onoff ."+(val==1?"on":"off")).removeClass("hidden");input.val(val)});function close_last_popup_menu(e){if(last_popup_menu){if("#"+last_popup_menu.attr("id")!==$j(e.target).attr("rel")){last_popup_menu.hide();if(last_popup_menu.attr("id")=="nav-notifications-menu")$j(".main-container").show();last_popup_button.removeClass("selected");last_popup_menu=null;last_popup_button=null}}}$j("img[rel^=#]").click(function(e){close_last_popup_menu(e);menu=$j($j(this).attr("rel"));e.preventDefault();e.stopPropagation();if(menu.attr("popup")=="false")return false;if(menu.css("display")=="none"){$j(this).parent().addClass("selected");menu.show();if(menu.attr("id")=="nav-notifications-menu")$j(".main-container").hide();last_popup_menu=menu;last_popup_button=$j(this).parent()}else{$j(this).parent().removeClass("selected");menu.hide();if(menu.attr("id")=="nav-notifications-menu")$j(".main-container").show();last_popup_menu=null;last_popup_button=null}return false});$j("html").click(function(e){close_last_popup_menu(e)});var notifications_tpl=unescape($j("#nav-notifications-template[rel=template]").html());var notifications_all=unescape($j("").append($j("#nav-notifications-see-all").clone()).html());var notifications_mark=unescape($j("
{{if $item.comment_lastcollapsed}}").append($j("#nav-notifications-mark-all").clone()).html());var notifications_empty=unescape($j("#nav-notifications-menu").html());$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=$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=$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=$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=$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=$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=$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=$j(data).find("notif");if(eNotif.children("note").length==0){$j("#nav-notifications-menu").html(notifications_empty)}else{nnm=$j("#nav-notifications-menu");nnm.html(notifications_all+notifications_mark);eNotif.children("note").each(function(){e=$j(this);text=e.text().format(""+e.attr("name")+"");html=notifications_tpl.format(e.attr("href"),e.attr("photo"),text,e.attr("date"),e.attr("seen"));nnm.append(html)});$j("img[data-src]",nnm).each(function(i,el){$j(el).attr("src",$j(el).data("src"))})}notif=eNotif.attr("count");if(notif>0){$j("#nav-notifications-linkmenu").addClass("on")}else{$j("#nav-notifications-linkmenu").removeClass("on")}if(notif==0){notif="";$j("#notify-update").removeClass("show")}else{$j("#notify-update").addClass("show")}$j("#notify-update").html(notif);var eSysmsg=$j(data).find("sysmsgs");eSysmsg.children("notice").each(function(){text=$j(this).text();$j.jGrowl(text,{sticky:false,theme:"notice",life:1e3})});eSysmsg.children("info").each(function(){text=$j(this).text();$j.jGrowl(text,{sticky:false,theme:"info",life:1e3})})});NavUpdate()});function NavUpdate(){if(!stopped){var pingCmd="ping"+(localUser!=0?"?f=&uid="+localUser:"");$j.get(pingCmd,function(data){$j(data).find("result").each(function(){$j("nav").trigger("nav-update",this);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){src="display";liveUpdate()}if($j("#live-photos").length){if(liking){liking=0;window.location.href=window.location.href}}})})}timer=setTimeout(NavUpdate,updateInterval)}function liveUpdate(){if(src==null||stopped||!profile_uid){$j(".like-rotator").hide();return}if($j(".comment-edit-text-full").length||in_progress){if(livetime){clearTimeout(livetime)}livetime=setTimeout(liveUpdate,1e4);return}if(livetime!=null)livetime=null;prev="live-"+src;in_progress=true;var udargs=netargs.length?"/"+netargs:"";var update_url="update_"+src+udargs+"&p="+profile_uid+"&page="+profile_page+"&msie="+(msie?1:0);$j.get(update_url,function(data){in_progress=false;$j(".toplevel_item",data).each(function(){var ident=$j(this).attr("id");if($j("#"+ident).length==0&&profile_page==1){$j("img",this).each(function(){$j(this).attr("src",$j(this).attr("dst"))});$j("#"+prev).after($j(this))}else{var id=$j(".hide-comments-total",this).attr("id");if(typeof id!="undefined"){id=id.split("-")[3];var commentsOpen=$j("#collapsed-comments-"+id).is(":visible")}$j("img",this).each(function(){$j(this).attr("src",$j(this).attr("dst"))});$j("html").height($j("html").height());$j("#"+ident).replaceWith($j(this));if(typeof id!="undefined"){if(commentsOpen)showHideComments(id)}$j("html").height("auto")}prev=ident});collapseHeight();$j(".like-rotator").hide();if(commentBusy){commentBusy=false;$j("body").css("cursor","auto")}$j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl")})}function collapseHeight(elems){var elemName=".wall-item-body:not(.divmore)";if(typeof elems!="undefined"){elemName=elems+" "+elemName}$j(elemName).each(function(){if($j(this).height()>350){$j("html").height($j("html").height());$j(this).divgrow({initialHeight:300,showBrackets:false,speed:0});$j(this).addClass("divmore");$j("html").height("auto")}})}function imgbright(node){$j(node).removeClass("drophide").addClass("drop")}function imgdull(node){$j(node).removeClass("drop").addClass("drophide")}function dolike(ident,verb){unpause();$j("#like-rotator-"+ident.toString()).show();$j.get("like/"+ident.toString()+"?verb="+verb,NavUpdate);liking=1}function dostar(ident){ident=ident.toString();$j.get("starred/"+ident,function(data){if(data.match(/1/)){$j("#starred-"+ident).addClass("starred");$j("#starred-"+ident).removeClass("unstarred");$j("#star-"+ident).addClass("hidden");$j("#unstar-"+ident).removeClass("hidden")}else{$j("#starred-"+ident).addClass("unstarred");$j("#starred-"+ident).removeClass("starred");$j("#star-"+ident).removeClass("hidden");$j("#unstar-"+ident).addClass("hidden")}})}function getPosition(e){var cursor={x:0,y:0};if(e.touches[0].pageX||e.touches[0].pageY){cursor.x=e.touches[0].pageX;cursor.y=e.touches[0].pageY}else{if(e.touches[0].clientX||e.touches[0].clientY){cursor.x=e.touches[0].clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)-document.documentElement.clientLeft;cursor.y=e.touches[0].clientY+(document.documentElement.scrollTop||document.body.scrollTop)-document.documentElement.clientTop}else{if(e.touches[0].x||e.touches[0].y){cursor.touches[0].x=e.touches[0].x;cursor.touches[0].y=e.touches[0].y}}}return cursor}var lockvisible=false;function lockview(event,id){event=event||window.event;cursor=getPosition(event);if(lockvisible){lockviewhide()}else{lockvisible=true;$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;$j("#panel").hide()}function post_comment(id){unpause();commentBusy=true;$j("body").css("cursor","wait");$j("#comment-preview-inp-"+id).val("0");$j.post("item",$j("#comment-edit-form-"+id).serialize(),function(data){if(data.success){$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);if(timer)clearTimeout(timer);timer=setTimeout(NavUpdate,10)}if(data.reload){window.location.href=data.reload}},"json");return false}function preview_comment(id){$j("#comment-preview-inp-"+id).val("1");$j("#comment-edit-preview-"+id).show();$j.post("item",$j("#comment-edit-form-"+id).serialize(),function(data){if(data.preview){$j("#comment-edit-preview-"+id).html(data.preview);$j("#comment-edit-preview-"+id+" a").click(function(){return false})}},"json");return true}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);collapseHeight("#collapsed-comments-"+id)}}function preview_post(){$j("#jot-preview").val("1");$j("#jot-preview-content").show();tinyMCE.triggerSave();$j.post("item",$j("#profile-jot-form").serialize(),function(data){if(data.preview){$j("#jot-preview-content").html(data.preview);$j("#jot-preview-content"+" a").click(function(){return false})}},"json");$j("#jot-preview").val("0");return true}function unpause(){totStopped=false;stopped=false;$j("#pause").html("")}function bin2hex(s){var v,i,f=0,a=[];s+="";f=s.length;for(i=0;i'+data.desc+'
'+data.version+'
'+data.credits+"
")})}
\ No newline at end of file
+function openClose(listID){listID="#"+listID.replace(/:/g,"\\:");listID=listID.replace(/\./g,"\\.");listID=listID.replace(/@/g,"\\@");if($j(listID).is(":visible")){$j(listID).hide();$j(listID+"-wrapper").show();alert($j(listID+"-wrapper").attr("id"))}else{$j(listID).show();$j(listID+"-wrapper").hide()}}function openMenu(theID){document.getElementById(theID).style.display="block"}function closeMenu(theID){document.getElementById(theID).style.display="none"}var src=null;var prev=null;var livetime=null;var msie=false;var stopped=false;var totStopped=false;var timer=null;var pr=0;var liking=0;var in_progress=false;var langSelect=false;var commentBusy=false;var last_popup_menu=null;var last_popup_button=null;$j(function(){$j.ajaxSetup({cache:false});msie=$j.browser.msie;collapseHeight();$j(".onoff input").each(function(){val=$j(this).val();id=$j(this).attr("id");$j("#"+id+"_onoff ."+(val==0?"on":"off")).addClass("hidden")});$j(".onoff > a").click(function(event){event.preventDefault();var input=$j(this).siblings("input");var val=1-input.val();var id=input.attr("id");$j("#"+id+"_onoff ."+(val==0?"on":"off")).addClass("hidden");$j("#"+id+"_onoff ."+(val==1?"on":"off")).removeClass("hidden");input.val(val)});function close_last_popup_menu(e){if(last_popup_menu){if("#"+last_popup_menu.attr("id")!==$j(e.target).attr("rel")){last_popup_menu.hide();if(last_popup_menu.attr("id")=="nav-notifications-menu")$j(".main-container").show();last_popup_button.removeClass("selected");last_popup_menu=null;last_popup_button=null}}}$j("img[rel^=#]").click(function(e){close_last_popup_menu(e);menu=$j($j(this).attr("rel"));e.preventDefault();e.stopPropagation();if(menu.attr("popup")=="false")return false;if(menu.css("display")=="none"){$j(this).parent().addClass("selected");menu.show();if(menu.attr("id")=="nav-notifications-menu")$j(".main-container").hide();last_popup_menu=menu;last_popup_button=$j(this).parent()}else{$j(this).parent().removeClass("selected");menu.hide();if(menu.attr("id")=="nav-notifications-menu")$j(".main-container").show();last_popup_menu=null;last_popup_button=null}return false});$j("html").click(function(e){close_last_popup_menu(e)});var notifications_tpl=unescape($j("#nav-notifications-template[rel=template]").html());var notifications_all=unescape($j("").append($j("#nav-notifications-see-all").clone()).html());var notifications_mark=unescape($j("
diff --git a/view/theme/frost-mobile/msg-header.tpl b/view/theme/frost-mobile/msg-header.tpl index 5215092e4..fb6e0684b 100644 --- a/view/theme/frost-mobile/msg-header.tpl +++ b/view/theme/frost-mobile/msg-header.tpl @@ -3,7 +3,8 @@ window.nickname = "$nickname"; window.linkURL = "$linkurl"; var plaintext = "none"; - window.ajaxType = 'msg-header'; + window.jotId = "#prvmail-text"; + window.imageUploadButton = 'prvmail-upload'; window.autocompleteType = 'msg-header'; diff --git a/view/theme/frost-mobile/nav.tpl b/view/theme/frost-mobile/nav.tpl index 01aafabf0..c03ea05d9 100644 --- a/view/theme/frost-mobile/nav.tpl +++ b/view/theme/frost-mobile/nav.tpl @@ -1,15 +1,15 @@ diff --git a/view/theme/frost-mobile/photo_edit.tpl b/view/theme/frost-mobile/photo_edit.tpl index 5631b2eba..4265f8c98 100644 --- a/view/theme/frost-mobile/photo_edit.tpl +++ b/view/theme/frost-mobile/photo_edit.tpl @@ -3,30 +3,35 @@ +
diff --git a/view/theme/frost-mobile/smarty3/contact_edit.tpl b/view/theme/frost-mobile/smarty3/contact_edit.tpl index b18fff6b4..924acb0c1 100644 --- a/view/theme/frost-mobile/smarty3/contact_edit.tpl +++ b/view/theme/frost-mobile/smarty3/contact_edit.tpl @@ -11,7 +11,7 @@ {{$tab_str}} @@ -79,7 +79,7 @@
diff --git a/view/theme/frost-mobile/smarty3/conversation.tpl b/view/theme/frost-mobile/smarty3/conversation.tpl
index 31cfb54d2..f6810bb10 100644
--- a/view/theme/frost-mobile/smarty3/conversation.tpl
+++ b/view/theme/frost-mobile/smarty3/conversation.tpl
@@ -25,10 +25,10 @@
-
-{{/if}}
+
+{{/if}}-->*}}
diff --git a/view/theme/frost-mobile/smarty3/end.tpl b/view/theme/frost-mobile/smarty3/end.tpl
index c51bc4167..435c190fb 100644
--- a/view/theme/frost-mobile/smarty3/end.tpl
+++ b/view/theme/frost-mobile/smarty3/end.tpl
@@ -6,18 +6,22 @@
-
-
+-->*}}
+
+
+
-
-
-
+{{**}}
+{{**}}
+
+
+
diff --git a/view/theme/frost-mobile/smarty3/generic_links_widget.tpl b/view/theme/frost-mobile/smarty3/generic_links_widget.tpl
index 6c9700764..705ddb57c 100644
--- a/view/theme/frost-mobile/smarty3/generic_links_widget.tpl
+++ b/view/theme/frost-mobile/smarty3/generic_links_widget.tpl
@@ -4,13 +4,14 @@
*
*}}
-
+-->*}}
@@ -33,7 +33,4 @@
var updateInterval = {{$update_interval}};
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
-
-
-
diff --git a/view/theme/frost-mobile/smarty3/jot-header.tpl b/view/theme/frost-mobile/smarty3/jot-header.tpl
index d792ec1a1..bfaf3d5e0 100644
--- a/view/theme/frost-mobile/smarty3/jot-header.tpl
+++ b/view/theme/frost-mobile/smarty3/jot-header.tpl
@@ -16,7 +16,8 @@
window.term = "{{$term}}";
window.baseURL = "{{$baseurl}}";
window.geoTag = function () { {{$geotag}} }
- window.ajaxType = 'jot-header';
+ window.jotId = "#profile-jot-text";
+ window.imageUploadButton = 'wall-image-upload';
diff --git a/view/theme/frost-mobile/smarty3/jot.tpl b/view/theme/frost-mobile/smarty3/jot.tpl
index 40c410717..1dcfc0b21 100644
--- a/view/theme/frost-mobile/smarty3/jot.tpl
+++ b/view/theme/frost-mobile/smarty3/jot.tpl
@@ -26,7 +26,7 @@
{{/if}}
- ").append($j("#nav-notifications-mark-all").clone()).html());var notifications_empty=unescape($j("#nav-notifications-menu").html());$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=$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=$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=$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=$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=$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=$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=$j(data).find("notif");if(eNotif.children("note").length==0){$j("#nav-notifications-menu").html(notifications_empty)}else{nnm=$j("#nav-notifications-menu");nnm.html(notifications_all+notifications_mark);eNotif.children("note").each(function(){e=$j(this);text=e.text().format(""+e.attr("name")+"");html=notifications_tpl.format(e.attr("href"),e.attr("photo"),text,e.attr("date"),e.attr("seen"));nnm.append(html)});$j("img[data-src]",nnm).each(function(i,el){$j(el).attr("src",$j(el).data("src"))})}notif=eNotif.attr("count");if(notif>0){$j("#nav-notifications-linkmenu").addClass("on")}else{$j("#nav-notifications-linkmenu").removeClass("on")}if(notif==0){notif="";$j("#notify-update").removeClass("show")}else{$j("#notify-update").addClass("show")}$j("#notify-update").html(notif);var eSysmsg=$j(data).find("sysmsgs");eSysmsg.children("notice").each(function(){text=$j(this).text();$j.jGrowl(text,{sticky:false,theme:"notice",life:1e3})});eSysmsg.children("info").each(function(){text=$j(this).text();$j.jGrowl(text,{sticky:false,theme:"info",life:1e3})})});NavUpdate()});function NavUpdate(){if(!stopped){var pingCmd="ping"+(localUser!=0?"?f=&uid="+localUser:"");$j.get(pingCmd,function(data){$j(data).find("result").each(function(){$j("nav").trigger("nav-update",this);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){src="display";liveUpdate()}if($j("#live-photos").length){if(liking){liking=0;window.location.href=window.location.href}}})})}timer=setTimeout(NavUpdate,updateInterval)}function liveUpdate(){if(src==null||stopped||typeof profile_uid=="undefined"||!profile_uid){$j(".like-rotator").hide();return}if($j(".comment-edit-text-full").length||in_progress){if(livetime){clearTimeout(livetime)}livetime=setTimeout(liveUpdate,1e4);return}if(livetime!=null)livetime=null;prev="live-"+src;in_progress=true;var udargs=netargs.length?"/"+netargs:"";var update_url="update_"+src+udargs+"&p="+profile_uid+"&page="+profile_page+"&msie="+(msie?1:0);$j.get(update_url,function(data){in_progress=false;$j(".toplevel_item",data).each(function(){var ident=$j(this).attr("id");if($j("#"+ident).length==0&&profile_page==1){$j("img",this).each(function(){$j(this).attr("src",$j(this).attr("dst"))});$j("#"+prev).after($j(this))}else{var id=$j(".hide-comments-total",this).attr("id");if(typeof id!="undefined"){id=id.split("-")[3];var commentsOpen=$j("#collapsed-comments-"+id).is(":visible")}$j("img",this).each(function(){$j(this).attr("src",$j(this).attr("dst"))});$j("html").height($j("html").height());$j("#"+ident).replaceWith($j(this));if(typeof id!="undefined"){if(commentsOpen)showHideComments(id)}$j("html").height("auto")}prev=ident});collapseHeight();$j(".like-rotator").hide();if(commentBusy){commentBusy=false;$j("body").css("cursor","auto")}$j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl")})}function collapseHeight(elems){var elemName=".wall-item-body:not(.divmore)";if(typeof elems!="undefined"){elemName=elems+" "+elemName}$j(elemName).each(function(){if($j(this).height()>350){$j("html").height($j("html").height());$j(this).divgrow({initialHeight:300,showBrackets:false,speed:0});$j(this).addClass("divmore");$j("html").height("auto")}})}function dolike(ident,verb){unpause();$j("#like-rotator-"+ident.toString()).show();$j.get("like/"+ident.toString()+"?verb="+verb,NavUpdate);liking=1}function dostar(ident){ident=ident.toString();$j.get("starred/"+ident,function(data){if(data.match(/1/)){$j("#starred-"+ident).addClass("starred");$j("#starred-"+ident).removeClass("unstarred");$j("#star-"+ident).addClass("hidden");$j("#unstar-"+ident).removeClass("hidden")}else{$j("#starred-"+ident).addClass("unstarred");$j("#starred-"+ident).removeClass("starred");$j("#star-"+ident).removeClass("hidden");$j("#unstar-"+ident).addClass("hidden")}})}function getPosition(e){var cursor={x:0,y:0};if(e.pageX||e.pageY){cursor.x=e.pageX;cursor.y=e.pageY}else{if(e.clientX||e.clientY){cursor.x=e.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)-document.documentElement.clientLeft;cursor.y=e.clientY+(document.documentElement.scrollTop||document.body.scrollTop)-document.documentElement.clientTop}else{if(e.x||e.y){cursor.x=e.x;cursor.y=e.y}}}return cursor}var lockvisible=false;function lockview(event,id){event=event||window.event;cursor=getPosition(event);if(lockvisible){lockviewhide()}else{lockvisible=true;$j.get("lockview/"+id,function(data){$j("#panel").html(data);$j("#panel").css({left:10,top:cursor.y+20});$j("#panel").show()})}}function lockviewhide(){lockvisible=false;$j("#panel").hide()}function post_comment(id){unpause();commentBusy=true;$j("body").css("cursor","wait");$j("#comment-preview-inp-"+id).val("0");$j.post("item",$j("#comment-edit-form-"+id).serialize(),function(data){if(data.success){$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);if(timer)clearTimeout(timer);timer=setTimeout(NavUpdate,10)}if(data.reload){window.location.href=data.reload}},"json");return false}function preview_comment(id){$j("#comment-preview-inp-"+id).val("1");$j("#comment-edit-preview-"+id).show();$j.post("item",$j("#comment-edit-form-"+id).serialize(),function(data){if(data.preview){$j("#comment-edit-preview-"+id).html(data.preview);$j("#comment-edit-preview-"+id+" a").click(function(){return false})}},"json");return true}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);collapseHeight("#collapsed-comments-"+id)}}function preview_post(){$j("#jot-preview").val("1");$j("#jot-preview-content").show();tinyMCE.triggerSave();$j.post("item",$j("#profile-jot-form").serialize(),function(data){if(data.preview){$j("#jot-preview-content").html(data.preview);$j("#jot-preview-content"+" a").click(function(){return false})}},"json");$j("#jot-preview").val("0");return true}function unpause(){totStopped=false;stopped=false;$j("#pause").html("")}function bin2hex(s){var v,i,f=0,a=[];s+="";f=s.length;for(i=0;i'+data.desc+'
'+data.version+'
'+data.credits+"
")})}
\ No newline at end of file
diff --git a/view/theme/frost-mobile/js/theme.js b/view/theme/frost-mobile/js/theme.js
index 178202ce5..bb0d9dccc 100644
--- a/view/theme/frost-mobile/js/theme.js
+++ b/view/theme/frost-mobile/js/theme.js
@@ -4,58 +4,6 @@ $j(document).ready(function() {
$j("#profile-jot-text").focus(enableOnUser);
$j("#profile-jot-text").click(enableOnUser);
- if(typeof window.AjaxUpload != "undefined") {
- switch(window.ajaxType) {
- case 'jot-header':
- var uploader = new window.AjaxUpload(
- 'wall-image-upload',
- { action: 'wall_upload/'+window.nickname+'?nomce=1',
- 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+'?nomce=1',
- 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+'?nomce=1',
- 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 window.aclInit !="undefined" && 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(
@@ -93,11 +41,115 @@ $j(document).ready(function() {
$j('#drop-' + id).removeClass('icon');$j('#drop-' + id).removeClass('drophide'); $j('#drop-' + id).addClass('iconspacer');}
);*/
- if(window.autoCompleteType == "display-head") {
+
+ $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 {
+ parent.hide();
+ }
+ return false;
+ });
+
+
+
+ if(typeof window.AjaxUpload != "undefined") {
+ var uploader = new window.AjaxUpload(
+ window.imageUploadButton,
+ { action: 'wall_upload/'+window.nickname+'?nomce=1',
+ name: 'userfile',
+ onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
+ onComplete: function(file,response) {
+ addeditortext(window.jotId, response);
+ $j('#profile-rotator').hide();
+ }
+ }
+ );
+
+ if($j('#wall-file-upload').length) {
+ var file_uploader = new window.AjaxUpload(
+ 'wall-file-upload',
+ { action: 'wall_attach/'+window.nickname+'?nomce=1',
+ name: 'userfile',
+ onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
+ onComplete: function(file,response) {
+ addeditortext(window.jotId, response);
+ $j('#profile-rotator').hide();
+ }
+ }
+ );
+ }
+ }
+
+
+ if(typeof window.aclInit !="undefined" && typeof acl=="undefined"){
+ acl = new ACL(
+ baseurl+"/acl",
+ [ window.allowCID,window.allowGID,window.denyCID,window.denyGID ]
+ );
+ }
+
+ 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;
+ case 'display-head':
+ $j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
+ break;
+ default:
+ break;
+ }
+
+
+/* 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 == "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');
}
if(window.aclType == "event_head") {
@@ -159,67 +211,6 @@ $j(document).ready(function() {
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 {
- parent.hide();
- }
- return false;
- });
-
});
// update pending count //
@@ -242,50 +233,52 @@ function homeRedirect() {
}
-function insertFormatting(comment,BBcode,id) {
-
- 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);
+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;
}
- textarea = document.getElementById("comment-edit-text-" +id);
- if (document.selection) {
- textarea.focus();
- selected = document.selection.createRange();
- if (BBcode == "url"){
- selected.text = "["+BBcode+"=http://]" + selected.text + "[/"+BBcode+"]";
- } else
- selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]";
- } else if (textarea.selectionStart || textarea.selectionStart == "0") {
- var start = textarea.selectionStart;
- var end = textarea.selectionEnd;
- if (BBcode == "url"){
- textarea.value = textarea.value.substring(0, start) + "["+BBcode+"=http://]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
- } else
- textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
- }
- return true;
+ 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 cmtBbOpen(id) {
- $j(".comment-edit-bb-" + id).show();
-}
-function cmtBbClose(id) {
- $j(".comment-edit-bb-" + id).hide();
+
+function showEvent(eventid) {
+/* $j.get(
+ baseurl + '/events/?id='+eventid,
+ function(data){
+ $j.colorbox({html:data});
+ }
+ );*/
}
+/*
+ * TinyMCE/Editor
+ */
var editor=false;
var textlen = 0;
var plaintext = 'none';//window.editSelect;
- var ispublic = window.isPublic;
+//var ispublic = window.isPublic;
function initEditor(cb){
if (editor==false){
@@ -412,7 +405,7 @@ function enableOnUser(){
initEditor();
}
-function wallInitEditor() {
+/*function wallInitEditor() {
var plaintext = window.editSelect;
if(plaintext != 'none') {
@@ -454,131 +447,34 @@ function wallInitEditor() {
}
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 showHideCommentBox(id) {
- if( $j('#comment-edit-form-' + id).is(':visible')) {
- $j('#comment-edit-form-' + id).hide();
- }
- else {
- $j('#comment-edit-form-' + id).show();
- }
}*/
-/*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();
- });
-}*/
+/*
+ * Jot
+ */
+
+function addeditortext(textElem, data) {
+ if(window.editSelect == 'none') {
+ var currentText = $j(textElem).val();
+ $j(textElem).val(currentText + data);
+ }
+/* else
+ tinyMCE.execCommand('mceInsertRawHTML',false,data);*/
+}
function jotVideoURL() {
reply = prompt(window.vidURL);
if(reply && reply.length) {
- addeditortext('[video]' + reply + '[/video]');
+ addeditortext("#profile-jot-text", '[video]' + reply + '[/video]');
}
}
function jotAudioURL() {
reply = prompt(window.audURL);
if(reply && reply.length) {
- addeditortext('[audio]' + reply + '[/audio]');
+ addeditortext("#profile-jot-text", '[audio]' + reply + '[/audio]');
}
}
@@ -597,7 +493,7 @@ function jotShare(id) {
$j.get('share/' + id, function(data) {
if (!editor) $j("#profile-jot-text").val("");
initEditor(function(){
- addeditortext(data);
+ addeditortext("#profile-jot-text", data);
$j('#like-rotator-' + id).hide();
$j(window).scrollTop(0);
});
@@ -605,85 +501,74 @@ function jotShare(id) {
});
}
-function linkdropper(event) {
+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(window.jotId, data);
+ $j('#profile-rotator').hide();
+ });
+ }
+}
+
+/*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(window.jotId, 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 jotClearLocation() {
+ $j('#jot-coord').val('');
+ $j('#profile-nolocation-wrapper').hide();
}
-function showEvent(eventid) {
-/* $j.get(
- baseurl + '/events/?id='+eventid,
- function(data){
- $j.colorbox({html:data});
- }
- );*/
-}
+if(typeof window.geoTag === 'function') window.geoTag();
+
+/*
+ * Items
+ */
+
+function confirmDelete() { return confirm(window.delItem); }
+
+/*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 itemTag(id) {
reply = prompt(window.term);
if(reply && reply.length) {
@@ -750,20 +635,111 @@ function itemFiler(id) {
*/
}
-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);
+
+/*
+ * Comments
+ */
+
+
+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);
}
- /*else
- tinyMCE.execCommand('mceInsertRawHTML',false,data);*/
}
-if(typeof window.geoTag === 'function') window.geoTag();
+
+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 showHideCommentBox(id) {
+ if( $j('#comment-edit-form-' + id).is(':visible')) {
+ $j('#comment-edit-form-' + id).hide();
+ }
+ else {
+ $j('#comment-edit-form-' + id).show();
+ }
+}*/
+
+
+function insertFormatting(comment,BBcode,id) {
+
+ 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) {
+ textarea.focus();
+ selected = document.selection.createRange();
+ if (BBcode == "url"){
+ selected.text = "["+BBcode+"=http://]" + selected.text + "[/"+BBcode+"]";
+ } else
+ selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]";
+ } else if (textarea.selectionStart || textarea.selectionStart == "0") {
+ var start = textarea.selectionStart;
+ var end = textarea.selectionEnd;
+ if (BBcode == "url"){
+ textarea.value = textarea.value.substring(0, start) + "["+BBcode+"=http://]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
+ } else
+ textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
+ }
+ return true;
+}
+
+function cmtBbOpen(id) {
+ $j(".comment-edit-bb-" + id).show();
+}
+function cmtBbClose(id) {
+ $j(".comment-edit-bb-" + id).hide();
+}
diff --git a/view/theme/frost-mobile/js/theme.min.js b/view/theme/frost-mobile/js/theme.min.js
index a7562d5e9..47b0bb9b8 100644
--- a/view/theme/frost-mobile/js/theme.min.js
+++ b/view/theme/frost-mobile/js/theme.min.js
@@ -1 +1 @@
-$j(document).ready(function(){$j("#profile-jot-text").focus(enableOnUser);$j("#profile-jot-text").click(enableOnUser);if(typeof window.AjaxUpload!="undefined"){switch(window.ajaxType){case"jot-header":var uploader=new window.AjaxUpload("wall-image-upload",{action:"wall_upload/"+window.nickname+"?nomce=1",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+"?nomce=1",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+"?nomce=1",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 window.aclInit!="undefined"&&typeof acl=="undefined"){acl=new ACL(baseurl+"/acl",[window.allowCID,window.allowGID,window.denyCID,window.denyGID])}if(window.autoCompleteType=="display-head"){$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){if(event.item["author-name"]==null)return;switch(view.name){case"month":element.find(".fc-event-title").html("{1} : {2}".format(event.item["author-avatar"],event.item["author-name"],event.title));break;case"agendaWeek":element.find(".fc-event-title").html("{1}{2}
{3}
".format(event.item["author-avatar"],event.item["author-name"],event.item.desc,event.item.location));break;case"agendaDay":element.find(".fc-event-title").html("{1}{2}
{3}
".format(event.item["author-avatar"],event.item["author-name"],event.item.desc,event.item.location));break}}});var args=location.href.replace(baseurl,"").split("/");if(args.length>=4){$j("#events-calendar").fullCalendar("gotoDate",args[2],args[3]-1)}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{parent.hide()}return false})});$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 homeRedirect(){$j("html").fadeOut("slow",function(){window.location=baseurl+"/login"})}function insertFormatting(comment,BBcode,id){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){textarea.focus();selected=document.selection.createRange();if(BBcode=="url"){selected.text="["+BBcode+"=http://]"+selected.text+"[/"+BBcode+"]"}else selected.text="["+BBcode+"]"+selected.text+"[/"+BBcode+"]"}else if(textarea.selectionStart||textarea.selectionStart=="0"){var start=textarea.selectionStart;var end=textarea.selectionEnd;if(BBcode=="url"){textarea.value=textarea.value.substring(0,start)+"["+BBcode+"=http://]"+textarea.value.substring(start,end)+"[/"+BBcode+"]"+textarea.value.substring(end,textarea.value.length)}else textarea.value=textarea.value.substring(0,start)+"["+BBcode+"]"+textarea.value.substring(start,end)+"[/"+BBcode+"]"+textarea.value.substring(end,textarea.value.length)}return true}function cmtBbOpen(id){$j(".comment-edit-bb-"+id).show()}function cmtBbClose(id){$j(".comment-edit-bb-"+id).hide()}var editor=false;var textlen=0;var plaintext="none";var ispublic=window.isPublic;function initEditor(cb){if(editor==false){if(plaintext=="none"){$j("#profile-jot-text").css({height:200,color:"#000"});$j("#profile-jot-text").contact_autocomplete(baseurl+"/acl");editor=true;$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()}return false});$j(".jothidden").show();if(typeof cb!="undefined")cb();return}}else{if(typeof cb!="undefined")cb()}}function enableOnUser(){if(editor)return;$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,forced_root_block:"div",convert_urls:false,content_css:baseurl+"/view/custom_tinymce.css",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 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":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){}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);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);liking=1}})}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)}}if(typeof window.geoTag==="function")window.geoTag(); \ No newline at end of file +$j(document).ready(function(){$j("#profile-jot-text").focus(enableOnUser);$j("#profile-jot-text").click(enableOnUser);$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{parent.hide()}return false});if(typeof window.AjaxUpload!="undefined"){var uploader=new window.AjaxUpload(window.imageUploadButton,{action:"wall_upload/"+window.nickname+"?nomce=1",name:"userfile",onSubmit:function(file,ext){$j("#profile-rotator").show()},onComplete:function(file,response){addeditortext(window.jotId,response);$j("#profile-rotator").hide()}});if($j("#wall-file-upload").length){var file_uploader=new window.AjaxUpload("wall-file-upload",{action:"wall_attach/"+window.nickname+"?nomce=1",name:"userfile",onSubmit:function(file,ext){$j("#profile-rotator").show()},onComplete:function(file,response){addeditortext(window.jotId,response);$j("#profile-rotator").hide()}})}}if(typeof window.aclInit!="undefined"&&typeof acl=="undefined"){acl=new ACL(baseurl+"/acl",[window.allowCID,window.allowGID,window.denyCID,window.denyGID])}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;case"display-head":$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");break;default:break}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")}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){if(event.item["author-name"]==null)return;switch(view.name){case"month":element.find(".fc-event-title").html("{1} : {2}".format(event.item["author-avatar"],event.item["author-name"],event.title));break;case"agendaWeek":element.find(".fc-event-title").html("{1}{2}
{3}
".format(event.item["author-avatar"],event.item["author-name"],event.item.desc,event.item.location));break;case"agendaDay":element.find(".fc-event-title").html("{1}{2}
{3}
".format(event.item["author-avatar"],event.item["author-name"],event.item.desc,event.item.location));break}}});var args=location.href.replace(baseurl,"").split("/");if(args.length>=4){$j("#events-calendar").fullCalendar("gotoDate",args[2],args[3]-1)}var hash=location.hash.split("-");if(hash.length==2&&hash[0]=="#link")showEvent(hash[1])}});$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 homeRedirect(){$j("html").fadeOut("slow",function(){window.location=baseurl+"/login"})}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 showEvent(eventid){}var editor=false;var textlen=0;var plaintext="none";function initEditor(cb){if(editor==false){if(plaintext=="none"){$j("#profile-jot-text").css({height:200,color:"#000"});$j("#profile-jot-text").contact_autocomplete(baseurl+"/acl");editor=true;$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()}return false});$j(".jothidden").show();if(typeof cb!="undefined")cb();return}}else{if(typeof cb!="undefined")cb()}}function enableOnUser(){if(editor)return;$j(this).val("");initEditor()}function addeditortext(textElem,data){if(window.editSelect=="none"){var currentText=$j(textElem).val();$j(textElem).val(currentText+data)}}function jotVideoURL(){reply=prompt(window.vidURL);if(reply&&reply.length){addeditortext("#profile-jot-text","[video]"+reply+"[/video]")}}function jotAudioURL(){reply=prompt(window.audURL);if(reply&&reply.length){addeditortext("#profile-jot-text","[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("#profile-jot-text",data);$j("#like-rotator-"+id).hide();$j(window).scrollTop(0)})})}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(window.jotId,data);$j("#profile-rotator").hide()})}}function jotClearLocation(){$j("#jot-coord").val("");$j("#profile-nolocation-wrapper").hide()}if(typeof window.geoTag==="function")window.geoTag();function confirmDelete(){return confirm(window.delItem)}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);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);liking=1}})}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 insertFormatting(comment,BBcode,id){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){textarea.focus();selected=document.selection.createRange();if(BBcode=="url"){selected.text="["+BBcode+"=http://]"+selected.text+"[/"+BBcode+"]"}else selected.text="["+BBcode+"]"+selected.text+"[/"+BBcode+"]"}else if(textarea.selectionStart||textarea.selectionStart=="0"){var start=textarea.selectionStart;var end=textarea.selectionEnd;if(BBcode=="url"){textarea.value=textarea.value.substring(0,start)+"["+BBcode+"=http://]"+textarea.value.substring(start,end)+"[/"+BBcode+"]"+textarea.value.substring(end,textarea.value.length)}else textarea.value=textarea.value.substring(0,start)+"["+BBcode+"]"+textarea.value.substring(start,end)+"[/"+BBcode+"]"+textarea.value.substring(end,textarea.value.length)}return true}function cmtBbOpen(id){$j(".comment-edit-bb-"+id).show()}function cmtBbClose(id){$j(".comment-edit-bb-"+id).hide()} \ No newline at end of file diff --git a/view/theme/frost-mobile/login-style.css b/view/theme/frost-mobile/login-style.css index bbb60ebab..4c8533071 100644 --- a/view/theme/frost-mobile/login-style.css +++ b/view/theme/frost-mobile/login-style.css @@ -99,7 +99,7 @@ div.section-wrapper { margin-top: 50px; } -#login_openid input { +#login_openid input, input.openid { background: url(login-bg.gif) no-repeat; background-position: 0 50%; width: 182px; diff --git a/view/theme/frost-mobile/login_head.tpl b/view/theme/frost-mobile/login_head.tpl index 47651ad8a..14734821c 100644 --- a/view/theme/frost-mobile/login_head.tpl +++ b/view/theme/frost-mobile/login_head.tpl @@ -1,2 +1,2 @@ - +{##} diff --git a/view/theme/frost-mobile/mail_conv.tpl b/view/theme/frost-mobile/mail_conv.tpl index 3529fcffa..ed32dac5a 100644 --- a/view/theme/frost-mobile/mail_conv.tpl +++ b/view/theme/frost-mobile/mail_conv.tpl @@ -12,7 +12,7 @@ - +diff --git a/view/theme/frost-mobile/msg-header.tpl b/view/theme/frost-mobile/msg-header.tpl index 5215092e4..fb6e0684b 100644 --- a/view/theme/frost-mobile/msg-header.tpl +++ b/view/theme/frost-mobile/msg-header.tpl @@ -3,7 +3,8 @@ window.nickname = "$nickname"; window.linkURL = "$linkurl"; var plaintext = "none"; - window.ajaxType = 'msg-header'; + window.jotId = "#prvmail-text"; + window.imageUploadButton = 'prvmail-upload'; window.autocompleteType = 'msg-header'; diff --git a/view/theme/frost-mobile/nav.tpl b/view/theme/frost-mobile/nav.tpl index 01aafabf0..c03ea05d9 100644 --- a/view/theme/frost-mobile/nav.tpl +++ b/view/theme/frost-mobile/nav.tpl @@ -1,15 +1,15 @@ diff --git a/view/theme/frost-mobile/photo_edit.tpl b/view/theme/frost-mobile/photo_edit.tpl index 5631b2eba..4265f8c98 100644 --- a/view/theme/frost-mobile/photo_edit.tpl +++ b/view/theme/frost-mobile/photo_edit.tpl @@ -3,30 +3,35 @@ +
+
+
+
+
+
-
-
-
-
+{##}
- $rotatecw
-
- -
- $rotateccw
-
-
+
+
+
+
+
+ +
+
+
diff --git a/view/theme/frost-mobile/settings.tpl b/view/theme/frost-mobile/settings.tpl
index 5a40b96bc..3e8b33d7f 100644
--- a/view/theme/frost-mobile/settings.tpl
+++ b/view/theme/frost-mobile/settings.tpl
@@ -81,7 +81,7 @@ $unkmail
$permissions $permdesc
-
+{##}
@@ -89,7 +89,7 @@ $unkmail
diff --git a/view/theme/frost-mobile/smarty3/contact_edit.tpl b/view/theme/frost-mobile/smarty3/contact_edit.tpl index b18fff6b4..924acb0c1 100644 --- a/view/theme/frost-mobile/smarty3/contact_edit.tpl +++ b/view/theme/frost-mobile/smarty3/contact_edit.tpl @@ -11,7 +11,7 @@ {{$tab_str}} @@ -79,7 +79,7 @@
{{$lbl_info1}}
- +
-
+{{**}}
{{if $desc}}
diff --git a/view/theme/frost-mobile/smarty3/head.tpl b/view/theme/frost-mobile/smarty3/head.tpl
index 1799a7494..d11d072f2 100644
--- a/view/theme/frost-mobile/smarty3/head.tpl
+++ b/view/theme/frost-mobile/smarty3/head.tpl
@@ -4,17 +4,17 @@
*
*}}
-
+-->*}}
-
+{{**}}
{{$desc}}
{{/if}}
- -
+
- {{$item.label}} {{/foreach}} +
-
{{foreach $items as $item}}
-
+ {{**}}
@@ -44,8 +44,10 @@
-
+ {{**}}
+
* Maintainer: Zach P
*/
diff --git a/view/theme/frost-mobile/threaded_conversation.tpl b/view/theme/frost-mobile/threaded_conversation.tpl
index 25cfe6621..9d7f5c325 100644
--- a/view/theme/frost-mobile/threaded_conversation.tpl
+++ b/view/theme/frost-mobile/threaded_conversation.tpl
@@ -6,10 +6,10 @@ $live_update
-
+{{ endif }}-->#}
diff --git a/view/theme/frost-mobile/wall_thread.tpl b/view/theme/frost-mobile/wall_thread.tpl
index 901ed76c1..6d34602a7 100644
--- a/view/theme/frost-mobile/wall_thread.tpl
+++ b/view/theme/frost-mobile/wall_thread.tpl
@@ -6,7 +6,7 @@
{{endif}}
-
+ {##}
@@ -78,7 +80,7 @@
{{if $item.comment_lastcollapsed}}
{{/if}}
diff --git a/view/theme/frost-mobile/smarty3/wallmsg-end.tpl b/view/theme/frost-mobile/smarty3/wallmsg-end.tpl
index a0da3e095..594f3f79b 100644
--- a/view/theme/frost-mobile/smarty3/wallmsg-end.tpl
+++ b/view/theme/frost-mobile/smarty3/wallmsg-end.tpl
@@ -3,8 +3,5 @@
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
*
*}}
-
-
+
diff --git a/view/theme/frost-mobile/smarty3/wallmsg-header.tpl b/view/theme/frost-mobile/smarty3/wallmsg-header.tpl
index 1d6cb69a1..5f65cc001 100644
--- a/view/theme/frost-mobile/smarty3/wallmsg-header.tpl
+++ b/view/theme/frost-mobile/smarty3/wallmsg-header.tpl
@@ -6,6 +6,7 @@
diff --git a/view/theme/frost-mobile/style.css b/view/theme/frost-mobile/style.css
index 1082c40d7..8c61a9f8b 100644
--- a/view/theme/frost-mobile/style.css
+++ b/view/theme/frost-mobile/style.css
@@ -42,7 +42,7 @@ a:hover {text-decoration: underline; }
input {
border: 1px solid #666666;
-/* -moz-border-radius: 3px;*/
+ -moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 3px;
@@ -120,12 +120,17 @@ blockquote {
}
#panel {
- background-color: ivory;
position: absolute;
-/* z-index: 2;*/
- width: 30%;
+ z-index: 2;
padding: 25px;
- border: 1px solid #444;
+ margin-right: 10px;
+
+ /*background-color: ivory;
+ border: 1px solid #444;*/
+
+ border-radius: 7px;
+ background-color: #222;
+ color: #eee;
}
.heart {
@@ -201,7 +206,7 @@ nav #banner #logo-text a:hover { text-decoration: none; }
border-bottom: 0px;
background-color: #aec0d3;
color: #565854;
-/* -moz-border-radius: 3px 3px 0px 0px;*/
+ -moz-border-radius: 3px 3px 0px 0px;
-webkit-border-radius: 3px 3px 0px 0px;
border-radius: 3px 3px 0px 0px;
}
@@ -222,7 +227,7 @@ nav #banner #logo-text a:hover { text-decoration: none; }
right: 2px;
padding: 1px 2px;
border-radius: 4px;
-/* -moz-border-radius: 4px;*/
+ -moz-border-radius: 4px;
-webkit-border-radius: 4px;
background-color: gold !important;
}
@@ -270,7 +275,7 @@ nav .nav-link {
/* right: -33px;*/
padding: 1em 0px;
-/* -moz-box-shadow: 3px 3px 5px #555;*/
+ -moz-box-shadow: 3px 3px 5px #555;
-webkit-box-shadow: 3px 3px 5px #555;
box-shadow: 3px 3px 5px #555;
@@ -323,7 +328,7 @@ div.main-container {
display: block;
color: #FFFFFF;
-webkit-border-radius: 5px ;
-/* -moz-border-radius: 5px;*/
+ -moz-border-radius: 5px;
border-radius: 5px;
padding: 5px;
font-weight: bold;
@@ -333,7 +338,7 @@ div.main-container {
display: block;
color: #FFFFFF;
-webkit-border-radius: 5px ;
-/* -moz-border-radius: 5px;*/
+ -moz-border-radius: 5px;
border-radius: 5px;
padding: 5px;
font-weight: bold;
@@ -383,23 +388,26 @@ section {
border-bottom: 1px solid #babdb6;
padding:0px;
}
+.tabs.links-widget {
+ border: none;
+}
.tabs li { margin: 0px 0px 20px 0px; padding-left: 1em; list-style: none; }
.tabs a {
padding: 0.4em 2em;
border: 1px solid #aaa;
border-radius: 8px;
-/* -moz-border-radius: 8px;*/
+ -moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
.tab {
/*display:block;*/
- /*float:left;*/
+ float:left;
padding-left: 1em;
padding-right: 0.4em;
padding-top: 0.4em;
padding-bottom: 0.4em;
- /*margin-right: 1em;*/
- margin-right: 3px ;
+ margin-right: 0.5em;
+ margin-bottom: 0.4em;
}
.tab.active {
font-weight: bold;
@@ -408,6 +416,10 @@ section {
#events-tab {
display: none;
}
+#tabs-end {
+ padding-top: 0.3em;
+ clear: both;
+}
/* footer */
@@ -468,9 +480,9 @@ footer {
border: 1px solid #ffffff;
}
-#jot-title::-webkit-input-placeholder{font-weight: normal;}
+/*#jot-title::-webkit-input-placeholder{font-weight: normal;}
#jot-category::-webkit-input-placeholder{font-weight: normal;}
-/*#jot-title:-moz-placeholder{font-weight: normal;}
+#jot-title:-moz-placeholder{font-weight: normal;}
#jot-category:-moz-placeholder{font-weight: normal;}*/
@@ -501,7 +513,7 @@ footer {
.group-selected, .nets-selected, .fileas-selected, .categories-selected {
padding: 3px;
-/* -moz-border-radius: 3px;*/
+ -moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border: 1px solid #CCCCCC;
@@ -616,6 +628,7 @@ input#dfrn-url {
background-color: #FFFFFF;
color: #000000;
margin-bottom: 20px;
+ max-width: 90%;
}
#dfrn-url-label {
@@ -649,9 +662,16 @@ input#dfrn-url {
#dfrn-request-message-wrapper {
margin-bottom: 50px;
}
+#dfrn-request-message-wrapper textarea {
+ max-width: 90%;
+}
#dfrn-request-submit-wrapper {
clear: both;
- margin-left: 50px;
+ /*margin-left: 50px;*/
+}
+#dfrn-request-submit-wrapper input {
+ font-size: 18px;
+ padding: 5px 10px;
}
#dfrn-request-info-wrapper {
@@ -755,6 +775,9 @@ input#dfrn-url {
#profile-extra-links li {
margin-top: 5px;
+ max-width: 300px;
+ margin-left: auto;
+ margin-right: auto;
}
#profile-edit-links ul {
@@ -944,6 +967,8 @@ input#dfrn-url {
margin-bottom: 20px;
}
+
+
#profile-publish-yes-reg,
#profile-publish-no-reg {
float: left;
@@ -1165,20 +1190,26 @@ input#dfrn-url {
.wall-item-content-wrapper {
padding-top: 1em;
+/* padding-left: 0.25em;
+ padding-right: 0.25em;*/
+
border-top: 2px solid #AAAAAA;
position: relative;
-
}
.wall-item-content-wrapper.comment {
margin-top: 15px;
- padding-top: 0px;
margin-left: 5px;
margin-right: 5px;
+
+ padding-top: 0px;
+/* padding-left: 0.5em
+ padding-right: 0.5em;*/
+
border: 2px solid #AAAAAA;
border-radius: 10px;
-webkit-border-radius: 10px;
-/* -moz-border-radius: 10px;*/
+ -moz-border-radius: 10px;
/* background: #EEEEEE;*/
}
@@ -1195,17 +1226,14 @@ input#dfrn-url {
.wall-item-info {
display: block;
float: left;
- width:110px;
+ width:126px;
margin-right:10px;
+ margin-bottom:10px;
}
.comment .wall-item-info {
- width: 70px;
+ width: 86px;
}
-.wall-item-photo-wrapper {
- margin-bottom: 10px;
- width: 100px;
-}
.wall-item-photo-menu-button {
display: block;
position: absolute;
@@ -1242,7 +1270,7 @@ input#dfrn-url {
left: 50px;
margin: 0;
position: absolute;
- top: 80px;
+ top: 67px;
width: 30px
}
.wallwall .wwto img {
@@ -1257,14 +1285,15 @@ input#dfrn-url {
.wall-item-arrowphoto-wrapper {
position: absolute;
left: 75px;
- top: 80px;
+ top: 67px;
/* z-index: 100;*/
}
.wall-item-lock {
margin-top: 1em;
left: 105px;
position: absolute;
- top: 1px;
+ top: 1px;
+ width: 32px;
}
.comment .wall-item-lock {
margin-top: 0px;
@@ -1362,55 +1391,22 @@ input#dfrn-url {
height: 50px !important;
}
.wall-item-content {
- float: left;
- margin-left: 3px;
+/* float: left;
+ max-width: 100%*/
/* padding-right: 1em;
max-height: 500px;
overflow: auto;*/
+ padding-left:0.25em;
+ padding-right:0.25em;
+ clear: left; /* I hate this, but it's the only way to keep the text from bunching to the right on the Android browser */
}
-
-.wall-item-content img {
- display: block;
- margin-top: 10px;
- margin-right: auto;
- margin-left: auto;
- max-width: 290px;
- border-radius: 7px;
-/* -moz-border-radius: 7px;*/
- -webkit-border-radius: 7px;
+.comment .wall-item-content {
+ padding-left:0.5em;
+ padding-right:0.5em;
}
-.wall-item-content img.smiley {
- display: inline;
- margin: auto;
- border-radius: 0;
- -webkit-border-radius: 0;
-}
-
-.wall-item-content blockquote {
- margin-left: 0px;
- margin-right: 0px;
-}
-
-.comment .wall-item-content img {
- max-width: 280px;
-}
-
-.comment .wall-item-content ul {
- padding-left: 1.5em;
-}
-
-.divgrow-showmore {
- display: block;
- clear: both;
- text-align: center;
- outline: 0;
- border-top: 1px dotted #888;
-}
-
-
.wall-item-title {
- float: left;
+ /*float: left;*/
font-weight: bold;
font-size: 1.6em;
/*width: 450px;*/
@@ -1423,14 +1419,44 @@ input#dfrn-url {
.wall-item-body {
text-align: justify;
float: left;
- clear: left;
-/* width: 300px;*/
+ max-width: 100%;
overflow: hidden;
margin-top: 10px;
- padding-right: 1em;
line-height: 23px;
}
+.wall-item-body img {
+ display: block;
+ margin-top: 2px;
+ margin-right: auto;
+ margin-left: auto;
+ /*max-width: 290px;*/
+ max-width: 100%;
+ border-radius: 7px;
+ -moz-border-radius: 7px;
+ -webkit-border-radius: 7px;
+}
+
+/*.comment .wall-item-body img {
+ max-width: 100%;
+}*/
+
+.wall-item-body img.smiley {
+ display: inline;
+ margin: auto;
+ border-radius: 0;
+ -webkit-border-radius: 0;
+}
+
+.wall-item-body blockquote {
+ margin-left: 0px;
+ margin-right: 0px;
+}
+
+.comment .wall-item-body ul {
+ padding-left: 1.5em;
+}
+
.wall-item-body iframe {
display: block;
clear: both;
@@ -1442,10 +1468,12 @@ input#dfrn-url {
overflow: hidden;
}
-.comment .wall-item-body {
- margin-left: 5px;
- padding-right: 0.5em;
-/* width: 280px;*/
+.divgrow-showmore {
+ display: block;
+ clear: both;
+ text-align: center;
+ outline: 0;
+ border-top: 1px dotted #888;
}
.wall-item-tools {
@@ -1484,6 +1512,8 @@ input#dfrn-url {
background: #f3f3f3;
margin-left: 10px;
margin-right: 10px;
+
+ max-width: 90%;
}
.comment-wwedit-wrapper.comment {
@@ -1493,10 +1523,15 @@ input#dfrn-url {
}
+.comment-edit-form {
+ padding-left: 1em;
+ padding-right: 1.5em;
+}
+
.comment-edit-photo {
margin-top: 15px;
- margin-left: 10px;
- margin-bottom: 10px;
+ /*margin-left: 10px;
+ margin-bottom: 10px;*/
width: 25px;
float: left;
}
@@ -1505,7 +1540,7 @@ input#dfrn-url {
}
.comment-edit-text-empty, .comment-edit-text-full {
/* float: left;*/
-/* -moz-border-radius: 3px;*/
+ -moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
border: 1px solid #cccccc;
@@ -1526,10 +1561,12 @@ input#dfrn-url {
color: black;
height: 150px;
/* width: 350px;
- overflow: auto;*/
+ overflow: auto;
width: 250px;
margin-top: 15px;
- margin-left: 20px;
+ margin-left: 20px;*/
+ width: 100%;
+ margin-top: 1.5em;
}
.comment .comment-edit-text-empty {
@@ -1548,11 +1585,33 @@ input#dfrn-url {
.comment-edit-submit {
font-size: 18px;
padding: 5px 10px;
- margin: 10px 0px 10px 110px;
+ margin: 10px 0px 10px 0px;
}
#profile-jot-wrapper {
- padding-left: 10px;
+ padding-left: 1em;
+ padding-right: 1em;
+}
+
+.shared_header {
+ border-top: 1px solid #aaa;
+ color: #999;
+
+ height: 42px; /* 32 px for the image plus 10 px for the margin around the image */
+ padding-top: 0.5em;
+ margin-top: 1em;
+ margin-bottom: 1em;
+
+}
+.shared_header img {
+ float: left;
+
+ margin: auto 1em auto auto;
+ padding: 0;
+
+ box-shadow: none;
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
}
#profile-jot-plugin-wrapper,
@@ -1773,7 +1832,7 @@ input#profile-jot-email {
padding: 0.2em 1em;
border: 1px solid #aaa;
border-radius: 10px;
-/* -moz-border-radius: 10px;*/
+ -moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
@@ -1833,7 +1892,7 @@ input#profile-jot-email {
padding: 0.2em 1em;
border: 1px solid #aaa;
border-radius: 10px;
-/* -moz-border-radius: 10px;*/
+ -moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
@@ -1842,7 +1901,7 @@ input#profile-jot-email {
float: left;
border: 1px solid black;
border-radius: 7px;
-/* -moz-border-radius: 7px;*/
+ -moz-border-radius: 7px;
-webkit-border-radius: 7px;
background: #FFCCCC;
font-size: 1.25em;
@@ -1857,6 +1916,7 @@ input#profile-jot-email {
#advanced-profile-gender-wrapper,
#advanced-profile-dob-wrapper,
#advanced-profile-age-wrapper,
+
#advanced-profile-marital-wrapper,
#advanced-profile-sexual-wrapper,
#advanced-profile-homepage-wrapper,
@@ -2031,6 +2091,10 @@ input#profile-jot-email {
margin-top: 30px;
}
+#contact-edit-info-wrapper, #contact-edit-info {
+ width: 90%;
+}
+
#contact-edit-end {
clear: both;
margin-top: 15px;
@@ -2042,7 +2106,11 @@ input#profile-jot-email {
}
.contact-edit-submit {
- margin-top: 20px;
+ clear: left;
+ display: block;
+
+ margin-top: 10px;
+ margin-bottom: 45px;
padding: 0.2em 0.5em;
font-size: 18px;
}
@@ -2070,7 +2138,7 @@ input#profile-jot-email {
left: -30px; top: 80px;
display: none;
z-index: 101;
-/* -moz-box-shadow: 3px 3px 5px #555;*/
+ -moz-box-shadow: 3px 3px 5px #555;
-webkit-box-shadow: 3px 3px 5px #555;
box-shadow: 3px 3px 5px #555;
}
@@ -2103,12 +2171,12 @@ input#profile-jot-email {
}
#profile-jot-text {
- width: 90%;
+ width: 100%;
height: 20px;
color:#cccccc;
border: 1px solid #cccccc;
padding: 3px 0px 0px 5px;
-/* -moz-border-radius: 3px;*/
+ -moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
@@ -2118,23 +2186,34 @@ input#profile-jot-email {
#photo-edit-perms-select,
#photos-upload-permissions-wrapper,
#profile-jot-acl-wrapper{
- display:block!important;
+ /*display:block!important;*/
}
#photos-usage-message {
margin-bottom: 15px;
}
-#profile-jot-acl-wrapper{
+#profile-jot-acl-wrapper {
/*width:270px;*/
- padding-left:10px;
- height:auto;
- overflow:visible;
+ height: auto;
+ overflow: visible;
+ margin-top: 1em;
+ display: inline-block;
+}
+
+#profile-jot-acl-wrapper,
+#photos-upload-permissions-wrapper,
+#photo-edit-perms-select {
+ padding: 0.7em;
+ border: 1px solid #888;
+ border-radius: 10px;
}
#acl-wrapper {
- /*width: 270px;*/
- float:left;
+ /*width: 270px;
+ float:left;*/
+ text-align: left;
+ clear: both;
}
#acl-search {
display: none;
@@ -2151,11 +2230,12 @@ input#profile-jot-email {
background-image: url("../../../images/show_all_off.png");
background-position: 7px 7px;
background-repeat: no-repeat;
- padding: 7px 5px 0px 30px;
+ padding: 7px 15px 7px 30px;
-webkit-border-radius: 5px ;
-/* -moz-border-radius: 5px;*/
+ -moz-border-radius: 5px;
border-radius: 5px;
color: #999999;
+ margin-bottom: 0.3em;
}
#acl-showall.selected {
color: #000000;
@@ -2174,11 +2254,11 @@ input#profile-jot-email {
}
.acl-list-item {
- display: block;
- width: 120px;
+ display: inline-block;
+ width: 190px;
height: 30px;
border: 1px solid #cccccc;
-/* -moz-border-radius: 4px;*/
+ -moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
margin-top: 5px;
@@ -2186,10 +2266,9 @@ input#profile-jot-email {
margin-right: 2px;
margin-left: 2px;
padding-left: 5px;
- float: left;
+ /*float: left;*/
}
.acl-list-item img{
- display: none;
width:22px;
height: 22px;
float: left;
@@ -2197,20 +2276,22 @@ input#profile-jot-email {
}
.acl-list-item p { height: 12px; font-size: 10px; margin: 0px; padding: 2px 0px 1px; overflow: hidden;}
.acl-list-item a {
- font-size: 8px;
+ font-size: 10px;
display: block;
- width: 40px;
+ width: 55px;
height: 10px;
float: left;
- color: #999999;
- background-color: #cccccc;
+ color: rgb(153, 153, 153);
+ background-color: rgb(204, 204, 204);
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;
+ -moz-border-radius: 2px;
+ border-radius: 2px 2px 2px 2px;
+
+ padding: 0px 5px 3px 15px;
}
#acl-wrapper a:hover {
text-decoration: none;
@@ -2255,6 +2336,7 @@ input#profile-jot-email {
#group-edit-name-wrapper {
+
}
@@ -2277,6 +2359,10 @@ input#profile-jot-email {
clear: both;
}
+#message-new {
+ font-size: 24px;
+}
+
#prvmail-to-label, #prvmail-subject-label, #prvmail-message-label {
margin-bottom: 10px;
margin-top: 20px;
@@ -2329,6 +2415,7 @@ a.mail-list-link {
.mail-list-outside-wrapper-end {
clear: both;
+
}
.mail-list-outside-wrapper {
@@ -2442,6 +2529,8 @@ a.mail-list-link {
}
#search-save {
+ font-size: 18px;
+ padding: 5px 10px;
margin-left: 5px;
}
.groupsideedit {
@@ -2483,11 +2572,14 @@ aside input[type='text'] {
border: 1px solid #DDDDDD;
padding: 18px;
margin-top: 5px;
-/* -moz-border-radius:5px;*/
+ -moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
-
}
+.widget.settings-widget {
+ padding: 0;
+}
+
/*.photos {
@@ -2529,8 +2621,10 @@ aside input[type='text'] {
}
.photo-top-image-wrapper {
-/* position: relative; */
- float: left;
+/* position: relative;
+ float: left;*/
+ display: inline-block;
+ vertical-align: top;
margin-top: 15px;
margin-right: 15px;
margin-left: 15px;
@@ -2541,7 +2635,7 @@ aside input[type='text'] {
.photo-top-image-wrapper img {
max-width: 290px;
border-radius: 10px;
-/* -moz-border-radius: 10px;*/
+ -moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
.photo-top-album-name {
@@ -2562,25 +2656,37 @@ aside input[type='text'] {
margin-left: 30px;
}
-#photos-upload-newalbum-div {
- float: left;
+#photos-upload-form {
+ text-align: center;
+}
+
+#photos-upload-newalbum-div, #photos-upload-existing-album-text {
+ /*float: left;*/
+ display: inline-block;
width: 175px;
+ text-align: left;
}
#photos-upload-noshare {
margin-bottom: 10px;
}
-#photos-upload-existing-album-text {
- float: left;
- width: 175px;
+#photos-upload-noshare-div {
+ margin-top: 2em;
+ margin-bottom: 15px;
}
+
+#photos-upload-noshare-label {
+ margin-left: 25px;
+}
+
#photos-upload-newalbum {
- float: left;
+ width: 15em;
}
#photos-upload-album-select {
- float: left;
+ width: 15.7em;
}
+
#photos-upload-spacer {
margin-top: 25px;
}
@@ -2590,9 +2696,6 @@ aside input[type='text'] {
#photos-upload-exist-end {
margin-bottom: 15px;
}
-#photos-upload-submit {
- margin-top: 15px;
-}
#photos_upload_applet_wrapper {
margin-bottom: 15px;
@@ -2647,8 +2750,18 @@ aside input[type='text'] {
margin-bottom: 15px;
}
+.photo-edit-input-text {
+ display: inline-block;
+ text-align: left;
+}
+
+#photo_edit_form {
+ text-align: center;
+}
+
#photo-edit-caption-label, #photo-edit-tags-label, #photo-edit-albumname-label, .photo-edit-rotate-label {
- float: left;
+ /*float: left;*/
+ display: inline-block;
width: 150px;
}
@@ -2656,25 +2769,17 @@ aside input[type='text'] {
font-weight: 700;
}
-#photos-upload-noshare-div {
- margin-top: 140px;
- margin-bottom: 15px;
-}
-
-#photos-upload-noshare-label {
- margin-left: 25px;
-}
-
-#photos-upload-noshare {
- float: left;
-}
-
.photo-perms-icon {
float: left;
}
#photo-edit-perms-menu, #photos-upload-perms-menu, #settings-default-perms-menu {
text-decoration: none;
+ display: inline-block;
+}
+
+#photos-upload-perms-menu #jot-perms-icon {
+ margin-right: 1em;
}
.photo-jot-perms-text {
@@ -2684,6 +2789,7 @@ aside input[type='text'] {
#photo-edit-perms, #photos-upload-perms, #settings-default-perms {
margin-top: 30px;
+ display: inline-block;
}
#photos-upload-perms {
margin-top: 15px;
@@ -2700,7 +2806,7 @@ aside input[type='text'] {
margin-top: 15px;
border: 1px solid #aaa;
border-radius: 10px;
-/* -moz-border-radius: 10px;*/
+ -moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
@@ -2709,13 +2815,18 @@ aside input[type='text'] {
}
#photo-edit-caption, #photo-edit-newtag, #photo-edit-albumname {
- float: left;
+ /*float: left;*/
margin-bottom: 25px;
}
+.photo-edit-rotate-choice {
+ display: inline-block;
+}
+
.photo-edit-rotate {
float: left;
margin-left: 20px;
+
}
#photo-edit-link-wrap {
margin-bottom: 15px;
@@ -2745,13 +2856,13 @@ aside input[type='text'] {
margin-left: 45px;
}
#photos-upload-choose {
- position: absolute;
+/* position: absolute;
top: 460px;
- left: 5px;
+ left: 5px;*/
+ margin-top: 1em;
}
#photos-upload-submit {
- margin-top: 30px;
- margin-left: 100px;
+ margin-top: 0px;
margin-bottom: 20px;
}
.settings-submit, .profile-edit-submit-button, .settings-features-submit {
@@ -2780,13 +2891,28 @@ aside input[type='text'] {
margin-bottom: 20px;
}
+#photo-album-edit-form {
+ max-width: 100%;
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+}
+#photo-album-edit-form input {
+ max-width: 100%;
+}
+#photo-album-edit-name-label {
+ display: block;
+}
+
#photo-album-edit-submit, #photo-album-edit-drop {
margin-top: 15px;
margin-bottom: 15px;
+
+ padding: 0.25em 0.5em;
+ font-size: 18px;
}
#photo-album-edit-drop {
- margin-left: 200px;
+ margin-left: 2em;
}
.group-delete-wrapper {
@@ -2888,6 +3014,8 @@ aside input[type='text'] {
}
#search-submit {
+ font-size: 18px;
+ padding: 5px 10px;
margin-left: 15px;
}
@@ -2935,7 +3063,7 @@ aside input[type='text'] {
.fn {
- padding: 0px 0px 5px 12px;
+ padding: 1em 0px 5px 12px;
font-size: 120%;
font-weight: bold;
}
@@ -3132,8 +3260,15 @@ aside input[type='text'] {
float: left;
}*/
+#photo-photo {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ text-align: center;
+}
+
#photo-photo img {
- max-width: 310px;
+ max-width: 100%;
}
#photo-photo-end {
@@ -3164,15 +3299,23 @@ aside input[type='text'] {
}
.profile-match-wrapper {
- float: left;
+ display: inline-block;
padding: 10px;
- width: 120px;
- height: 120px;
+ /*width: 120px;
+ height: 120px;*/
scroll: auto;
+ margin-bottom: 2em;
+ vertical-align: top;
+}
+.profile-match-wrapper .icon.drophide {
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 1em;
}
#profile-match-wrapper-end {
clear: both;
}
+
.side-link {
margin-bottom: 15px;
}
@@ -3394,6 +3537,7 @@ aside input[type='text'] {
}
+
/**
* Form fields
*/
@@ -3766,8 +3910,8 @@ aside input[type='text'] {
[class^="comment-edit-bb"] {
list-style: none;
display: none;
- margin: 0px 0 -5px 20px;
- width: 75%;
+ margin: 0px 0 -5px 0px;
+/* width: 75%;*/
}
[class^="comment-edit-bb"] > li {
display: inline-block;
@@ -3847,21 +3991,66 @@ aside input[type='text'] {
}
.attachtype {
- display: block; width: 20px; height: 23px;
+ display: block;
float: left;
- background-image: url('../../../images/content-types.png');
- background-position: -80px 0px;
+ background-size: 100% 100%;
+ width: 48px;
+ height: 48px;
+ background-image: url('images/oxygen/unknown.png');
}
.body-attach {
margin-top: 10px;
}
-.type-video { background-position: 0px 0px; }
+/*.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; }
+.type-unkn { background-position: -80px 0px; }*/
+.type-video {
+ background-image: url('images/oxygen/video-x-generic.png');
+ background-size: 100% 100%;
+ width: 48px;
+ height: 48px;
+}
+.type-image {
+ background-image: url('images/oxygen/image-x-generic.png');
+ background-size: 100% 100%;
+ width: 48px;
+ height: 48px;
+}
+.type-audio { background-image: url('images/oxygen/audio-x-generic.png');
+ background-size: 100% 100%;
+ width: 48px;
+ height: 48px;
+}
+
+.type-text {
+ background-image: url('images/oxygen/text-x-generic-2.png');
+ background-size: 100% 100%;
+ width: 48px;
+ height: 48px;
+}
+.subtype-msword, .subtype-vnd-openxmlformats-officedocument-wordprocessingml-document {
+ background-image: url('images/oxygen/application-msword.png');
+ background-size: 100% 100%;
+ width: 48px;
+ height: 48px;
+}
+.subtype-pdf {
+ background-image: url('images/oxygen/application-pdf.png');
+ background-size: 100% 100%;
+ width: 48px;
+ height: 48px;
+}
+/*.type-unkn {
+ background-image: url('images/oxygen/unknown.png');
+ background-size: 100% 100%;
+ width: 48px;
+ height: 48px;
+}*/
+
/* autocomplete popup */
@@ -3958,11 +4147,11 @@ ul.notifications-menu-popup {
height: auto;
/* overflow-y: scroll;overflow-style:scrollbar;*/
background-color:#FFFFFF;
-/* -moz-border-radius: 5px;*/
+ -moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius:5px;
border: 1px solid #AAA;
-/* -moz-box-shadow: 3px 3px 5px #555;*/
+ -moz-box-shadow: 3px 3px 5px #555;
-webkit-box-shadow: 3px 3px 5px #555;
box-shadow: 3px 3px 5px #555;
/* z-index: 103;*/
diff --git a/view/theme/frost-mobile/theme.php b/view/theme/frost-mobile/theme.php
index 00a9184dc..dd97045a6 100644
--- a/view/theme/frost-mobile/theme.php
+++ b/view/theme/frost-mobile/theme.php
@@ -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.2.17
+ * Version: Version 0.3
* Author: Zach P
{{$acl}}
-
+
diff --git a/view/theme/frost-mobile/smarty3/msg-header.tpl b/view/theme/frost-mobile/smarty3/msg-header.tpl index 977f571d1..b0a0f7945 100644 --- a/view/theme/frost-mobile/smarty3/msg-header.tpl +++ b/view/theme/frost-mobile/smarty3/msg-header.tpl @@ -8,7 +8,8 @@ window.nickname = "{{$nickname}}"; window.linkURL = "{{$linkurl}}"; var plaintext = "none"; - window.ajaxType = 'msg-header'; + window.jotId = "#prvmail-text"; + window.imageUploadButton = 'prvmail-upload'; window.autocompleteType = 'msg-header'; diff --git a/view/theme/frost-mobile/smarty3/nav.tpl b/view/theme/frost-mobile/smarty3/nav.tpl index d570c9f26..2c9f29d50 100644 --- a/view/theme/frost-mobile/smarty3/nav.tpl +++ b/view/theme/frost-mobile/smarty3/nav.tpl @@ -4,17 +4,17 @@ * *}} diff --git a/view/theme/frost-mobile/smarty3/photo_edit.tpl b/view/theme/frost-mobile/smarty3/photo_edit.tpl index a6668c9f1..87df97b4b 100644 --- a/view/theme/frost-mobile/smarty3/photo_edit.tpl +++ b/view/theme/frost-mobile/smarty3/photo_edit.tpl @@ -8,30 +8,35 @@ +
diff --git a/view/theme/frost-mobile/smarty3/threaded_conversation.tpl b/view/theme/frost-mobile/smarty3/threaded_conversation.tpl index 801d3e179..bf6eab47a 100644 --- a/view/theme/frost-mobile/smarty3/threaded_conversation.tpl +++ b/view/theme/frost-mobile/smarty3/threaded_conversation.tpl @@ -11,10 +11,10 @@ - +{{/if}}-->*}} diff --git a/view/theme/frost-mobile/smarty3/wall_thread.tpl b/view/theme/frost-mobile/smarty3/wall_thread.tpl index 1bbaf4420..18246114d 100644 --- a/view/theme/frost-mobile/smarty3/wall_thread.tpl +++ b/view/theme/frost-mobile/smarty3/wall_thread.tpl @@ -11,7 +11,7 @@ {{/if}}
-
+ {{**}}
+
{{$emailcc}}
{{$jotnets}}
diff --git a/view/theme/frost-mobile/smarty3/login_head.tpl b/view/theme/frost-mobile/smarty3/login_head.tpl
index 86805c61f..c2d9504ad 100644
--- a/view/theme/frost-mobile/smarty3/login_head.tpl
+++ b/view/theme/frost-mobile/smarty3/login_head.tpl
@@ -3,5 +3,5 @@
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
*
*}}
-
+{{**}}
diff --git a/view/theme/frost-mobile/smarty3/mail_conv.tpl b/view/theme/frost-mobile/smarty3/mail_conv.tpl
index 0e58de8f7..c6d9aa03a 100644
--- a/view/theme/frost-mobile/smarty3/mail_conv.tpl
+++ b/view/theme/frost-mobile/smarty3/mail_conv.tpl
@@ -17,7 +17,7 @@
-
+
diff --git a/view/theme/frost-mobile/smarty3/msg-header.tpl b/view/theme/frost-mobile/smarty3/msg-header.tpl index 977f571d1..b0a0f7945 100644 --- a/view/theme/frost-mobile/smarty3/msg-header.tpl +++ b/view/theme/frost-mobile/smarty3/msg-header.tpl @@ -8,7 +8,8 @@ window.nickname = "{{$nickname}}"; window.linkURL = "{{$linkurl}}"; var plaintext = "none"; - window.ajaxType = 'msg-header'; + window.jotId = "#prvmail-text"; + window.imageUploadButton = 'prvmail-upload'; window.autocompleteType = 'msg-header'; diff --git a/view/theme/frost-mobile/smarty3/nav.tpl b/view/theme/frost-mobile/smarty3/nav.tpl index d570c9f26..2c9f29d50 100644 --- a/view/theme/frost-mobile/smarty3/nav.tpl +++ b/view/theme/frost-mobile/smarty3/nav.tpl @@ -4,17 +4,17 @@ * *}} diff --git a/view/theme/frost-mobile/smarty3/photo_edit.tpl b/view/theme/frost-mobile/smarty3/photo_edit.tpl index a6668c9f1..87df97b4b 100644 --- a/view/theme/frost-mobile/smarty3/photo_edit.tpl +++ b/view/theme/frost-mobile/smarty3/photo_edit.tpl @@ -8,30 +8,35 @@ +
+
+
+
+
+
-
-
-
-
+{{**}}
- {{$rotatecw}}
-
- -
- {{$rotateccw}}
-
-
+
+
+
+
+
+ +
+
+
diff --git a/view/theme/frost-mobile/smarty3/settings.tpl b/view/theme/frost-mobile/smarty3/settings.tpl
index 8724a1244..73732e453 100644
--- a/view/theme/frost-mobile/smarty3/settings.tpl
+++ b/view/theme/frost-mobile/smarty3/settings.tpl
@@ -86,7 +86,7 @@
{{$permissions}} {{$permdesc}}
-
+{{**}}
@@ -94,7 +94,7 @@
diff --git a/view/theme/frost-mobile/smarty3/threaded_conversation.tpl b/view/theme/frost-mobile/smarty3/threaded_conversation.tpl index 801d3e179..bf6eab47a 100644 --- a/view/theme/frost-mobile/smarty3/threaded_conversation.tpl +++ b/view/theme/frost-mobile/smarty3/threaded_conversation.tpl @@ -11,10 +11,10 @@ - +{{/if}}-->*}} diff --git a/view/theme/frost-mobile/smarty3/wall_thread.tpl b/view/theme/frost-mobile/smarty3/wall_thread.tpl index 1bbaf4420..18246114d 100644 --- a/view/theme/frost-mobile/smarty3/wall_thread.tpl +++ b/view/theme/frost-mobile/smarty3/wall_thread.tpl @@ -11,7 +11,7 @@ {{/if}}
-
+{{**}}
-
+ {{**}}
+ {{**}}
-
+ {{**}}
{{$item.name}}{{if $item.owner_url}} {{$item.to}} {{$item.owner_name}} {{$item.vwall}}{{/if}}
{{if $item.owner_url}}
@@ -22,41 +22,41 @@
{{/if}}
-
- -->*}}
-
- {{if $item.lock}}
+ {{if $item.lock}}{{**}}{{**}}
{{else}}{{/if}}
{{$item.location}}
{{$item.ago}}
-
+ {{**}}
{{$item.title}}
-
+ {{**}}
{{$item.body}}
-
+ {{**}}
{{foreach $item.tags as $tag}}
{{$tag}}
{{/foreach}}
-
+ {{**}}
{{if $item.has_cats}}
{{/if}}
{{if $item.plink}}
-
+ {{**}}{{**}}
{{/if}}
{{if $item.edpost}}
@@ -96,35 +96,35 @@
{{/if}}
-
- {{if $item.drop.dropping}}{{/if}}
-
+ {{**}}
+ {{if $item.drop.dropping}}{{/if}}
+ {{**}}
{{if $item.drop.pagedrop}}{{/if}}
-
+ {{**}}
{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} [{{$remove}}] {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
@@ -80,7 +80,7 @@
{{$item.like}}
{{$item.dislike}}
{{if $item.threaded}}
{{if $item.comment}}
-
+ {{**}}
{{$item.comment}}
-
+ {{**}}
{{/if}}
{{/if}}
-
-
+{{**}}
+{{**}}
{{foreach $item.children as $child}}
{{include file="{{$child.template}}" item=$child}}
{{/foreach}}
{{if $item.flatten}}
-
+{{**}}
{{$item.comment}}
-
+{{**}}
{{/if}}
-
+{##}
-
+ {##}
+ {##}
-
+ {##}
$item.name{{ if $item.owner_url }} $item.to $item.owner_name $item.vwall{{ endif }}
{{ if $item.owner_url }}
@@ -17,41 +17,41 @@
{{ endif }}
-
- -->#}
-
- {{ if $item.lock }}
+ {{ if $item.lock }}{##}{##}
{{ else }}{{ endif }}
$item.location
$item.ago
-
+ {##}
$item.title
-
+ {##}
$item.body
-
+ {##}
{{ for $item.tags as $tag }}
$tag
{{ endfor }}
-
+ {##}
{{ if $item.has_cats }}
{{ endif }}
{{ if $item.plink }}
-
+ {##}{##}
{{ endif }}
{{ if $item.edpost }}
@@ -91,35 +91,35 @@
{{ endif }}
-
- {{ if $item.drop.dropping }}{{ endif }}
-
+ {##}
+ {{ if $item.drop.dropping }}{{ endif }}
+ {##}
{{ if $item.drop.pagedrop }}{{ endif }}
-
+ {##}
$item.txt_cats {{ for $item.categories as $cat }}$cat.name [$remove] {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
@@ -75,7 +75,7 @@
$item.like
$item.dislike
{{ if $item.threaded }}
{{ if $item.comment }}
-
+ {##}
$item.comment
-
+ {##}
{{ endif }}
{{ endif }}
-
-
+{##}
+{##}
{{ for $item.children as $child }}
{{ inc $child.template with $item=$child }}{{ endinc }}
{{ endfor }}
{{ if $item.flatten }}
-
+{##}
$item.comment
-
+{##}
{{ endif }}