diff --git a/Zotlabs/Module/Filer.php b/Zotlabs/Module/Filer.php
index 6a57cdb2a..af59f28fb 100644
--- a/Zotlabs/Module/Filer.php
+++ b/Zotlabs/Module/Filer.php
@@ -49,8 +49,10 @@ class Filer extends \Zotlabs\Web\Controller {
}
$tpl = get_markup_template("filer_dialog.tpl");
$o = replace_macros($tpl, array(
- '$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),
+ '$field' => array('term', t('Enter a folder name'), '', '', $filetags, 'placeholder="' . t('or select an existing folder (doubleclick)') . '"'),
'$submit' => t('Save'),
+ '$title' => t('Save to Folder'),
+ '$cancel' => t('Cancel')
));
echo $o;
diff --git a/include/conversation.php b/include/conversation.php
index 45b3a53e8..167b10846 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -614,6 +614,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
$owner_photo = '';
$owner_name = '';
$sparkle = '';
+ $is_new = false;
if($mode === 'search' || $mode === 'community') {
if(((activity_match($item['verb'],ACTIVITY_LIKE)) || (activity_match($item['verb'],ACTIVITY_DISLIKE)))
@@ -682,6 +683,9 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
$has_tags = (($body['tags'] || $body['categories'] || $body['mentions'] || $body['attachments'] || $body['folders']) ? true : false);
+ if(strcmp(datetime_convert('UTC','UTC',$item['created']),datetime_convert('UTC','UTC','now - 12 hours')) > 0)
+ $is_new = true;
+
$tmp_item = array(
'template' => $tpl,
'toplevel' => 'toplevel_item',
@@ -738,6 +742,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
'wait' => t('Please wait'),
'thread_level' => 1,
'has_tags' => $has_tags,
+ 'is_new' => $is_new
);
$arr = array('item' => $item, 'output' => $tmp_item);
@@ -1176,7 +1181,7 @@ function builtin_activity_puller($item, &$conv_responses) {
if((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) {
$name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown'));
$url = (($item['author_xchan'] && $item['author']['xchan_photo_s'])
- ? '' . '' . $name . ''
+ ? '' . '' . $name . ''
: '' . $name . ''
);
diff --git a/include/widgets.php b/include/widgets.php
index f247470b3..b95cbfc26 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1485,7 +1485,7 @@ function widget_forums($arr) {
foreach($r1 as $rr) {
if($unseen && (! intval($rr['unseen'])))
continue;
- $o .= '
' . ((intval($rr['unseen'])) ? intval($rr['unseen']) : '') . ' ' . $rr['xchan_name'] . '';
+ $o .= '' . ((intval($rr['unseen'])) ? intval($rr['unseen']) : '') . ' ' . $rr['xchan_name'] . '';
}
$o .= '';
}
@@ -1540,7 +1540,7 @@ function widget_activity($arr) {
$o .= '' . t('Activity','widget') . '
';
}
diff --git a/view/css/conversation.css b/view/css/conversation.css
index b167e3961..e2adf8658 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -140,10 +140,6 @@ a.wall-item-name-link {
margin: 0px;
}
-.wall-item-title-end {
- clear: both;
-}
-
.wall-item-body {
word-wrap: break-word;
}
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index 4de9f9c6b..9673312a7 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -60,7 +60,7 @@ function contact_format(item) {
var desc = ((item.label) ? item.nick + ' ' + item.label : item.nick);
if(typeof desc === 'undefined') desc = '';
if(desc) desc = ' ('+desc+')';
- return "{2}{3}
".format(item.taggable, item.photo, item.name, desc, item.link);
+ return "{2}{3}
".format(item.taggable, item.photo, item.name, desc, item.link);
}
else
return "" + item.text + "
";
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index bcf987b2b..f0b08a738 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -358,10 +358,6 @@ footer {
filter:alpha(opacity=100);
}
-#view-contact-end {
- clear: both;
-}
-
#profile-photo-wrapper img {
width: 100%;
height: 100%;
@@ -502,10 +498,6 @@ footer {
height: 34px;
}
-#contact-block-end {
- clear: both;
-}
-
.contact-block-img {
width:47px;
height:47px;
@@ -529,15 +521,9 @@ footer {
}
.wall-item-conv {
- padding: 7px 10px;
background-color: $comment_item_colour;
}
-
-#conversation-end {
- clear: both;
-}
-
#nav-notifications-template {
display: none;
}
@@ -622,11 +608,6 @@ nav .acpopup {
text-align: center;
}
-.profile-match-break,
-.profile-match-end {
- clear: both;
-}
-
.profile-match-connect {
text-align: center;
font-weight: bold;
@@ -645,9 +626,6 @@ nav .acpopup {
float: right;
}
-#profile-match-wrapper-end {
- clear: both;
-}
.side-link {
margin-bottom: 15px;
}
@@ -660,10 +638,6 @@ nav .acpopup {
border: 1px solid #ddd;
}
-#group-members-end {
- clear: both;
-}
-
#group-separator {
margin-top: 10px;
margin-bottom: 10px;
@@ -676,11 +650,6 @@ nav .acpopup {
border: 1px solid #ddd;
}
-#group-all-contacts-end {
- clear: both;
- margin-bottom: 10px;
-}
-
#group-edit-desc {
margin-top: 15px;
}
@@ -694,10 +663,6 @@ nav .acpopup {
border: 1px solid #ddd;
}
-#prof-members-end {
- clear: both;
-}
-
#prof-separator {
margin-top: 10px;
margin-bottom: 10px;
@@ -710,11 +675,6 @@ nav .acpopup {
border: 1px solid #ddd;
}
-#prof-all-contacts-end {
- clear: both;
- margin-bottom: 10px;
-}
-
#prof-edit-desc {
margin-top: 15px;
}
@@ -728,10 +688,6 @@ nav .acpopup {
width: 80px;
margin-right: 15px;
}
-.notification-listing-end {
- clear: both;
- margin-bottom: 15px;
-}
/**
* OAuth
@@ -789,13 +745,6 @@ div.jGrowl div.jGrowl-notification {
min-height: 60px;
}
-#id_term_label {
- width:75px;
-}
-#id_term {
- width:100px;
-}
-
#nav-search-text-ac .autocomplete {
position: fixed;
top: 51px;
@@ -884,7 +833,8 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover {
display: block;
}
-.dropdown-notification {
+.dropdown-notification,
+.member-item {
line-height: 1.1em;
font-size: 0.75rem;
overflow: hidden;
@@ -897,10 +847,6 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover {
margin: 24px;
}
-.tabs-end {
- clear: both;
-}
-
.modal-header .contextual-help-tool {
/* Mostly duplicating ".modal-header .close" and ".close" layout settings from bootstrap */
float: right;
@@ -1335,11 +1281,6 @@ img.mail-conv-sender-photo {
border-top: 0px solid $comment_item_colour;
}
-.wall-item-like,
-.wall-item-dislike {
- font-size: 11px;
-}
-
.wall-item-photo {
border: none;
width: $top_photo !important;
@@ -1369,7 +1310,6 @@ img.mail-conv-sender-photo {
.chat-item-text,
.chat-item-text-self {
font-size: $font_size;
- clear: both;
}
.item-tool {
@@ -1483,14 +1423,21 @@ nav img {
border-radius: $radiuspx;
}
-.dropdown-menu-img-sm {
+.menu-img-3 {
width: 3.3em;
height: 3.3em;
margin-right: 5px;
float: left;
}
-.dropdown-menu-img-xs {
+.menu-img-2 {
+ height: 2.2em;
+ width: 2.2em;
+ margin-right: 5px;
+ float: left;
+}
+
+.menu-img-1 {
height: 1.1em;
width: 1.1em;
margin-right: 5px;
diff --git a/view/tpl/admin_aside.tpl b/view/tpl/admin_aside.tpl
index 70e1677af..99f139e57 100755
--- a/view/tpl/admin_aside.tpl
+++ b/view/tpl/admin_aside.tpl
@@ -12,17 +12,17 @@
{{if $admin.update}}
-
- - {{$admin.update.1}}
- - Important Changes
+
{{/if}}
@@ -30,9 +30,9 @@
{{if $plugins}}
@@ -40,7 +40,7 @@
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl
index f21f9c1bf..d07adb6b6 100644
--- a/view/tpl/chat.tpl
+++ b/view/tpl/chat.tpl
@@ -29,18 +29,18 @@
-
@@ -150,7 +150,7 @@ function update_inroom(inroom) {
$.each( inroom, function(index, item) {
var newNode = document.createElement('div');
newNode.setAttribute('class', 'member-item');
- $(newNode).html('

' + '
' + item.name + '' + item.status + '');
+ $(newNode).html(' ' + '
' + item.name + '' + item.status + '');
html.appendChild(newNode);
});
memberChange = chatRoomMembersChange(inroom); // get list of arrivals and departures
diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl
index ff4b79a4b..a81b8ec1e 100644
--- a/view/tpl/chatroomlist.tpl
+++ b/view/tpl/chatroomlist.tpl
@@ -1,9 +1,9 @@
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index 1868f926d..80a249743 100755
--- a/view/tpl/conv_item.tpl
+++ b/view/tpl/conv_item.tpl
@@ -4,10 +4,10 @@
{{/if}} {{/if}} -
+ {{/if}} + {{/if}} +
{{if $item.title_tosource}}{{if $item.plink}}{{/if}}{{/if}}{{$item.title}}{{if $item.title_tosource}}{{if $item.plink}}{{/if}}{{/if}}
-+ +
- {{if $item.share}} -- {{$item.share.0}}
+
+ {{if $item.like}}
+
{{/if}}
- {{if $item.plink}}
- - {{$item.plink.title}}
+ {{if $item.dislike}}
+
{{/if}}
- {{if $item.edpost}}
- - {{$item.edpost.1}}
+ {{if $item.isevent}}
+
+
+
+
+ {{$item.attend.0}}
+
+
+ {{$item.attend.1}}
+
+
+ {{$item.attend.2}}
+
+
+
{{/if}}
- {{if $item.tagger}}
- - {{$item.tagger.tagit}}
+ {{if $item.canvote}}
+
+
+
+
+ {{$item.conlabels.0}}
+
+
+ {{$item.conlabels.1}}
+
+
+ {{$item.conlabels.2}}
+
+
+
{{/if}}
- {{if $item.filer}}
- - {{$item.filer}}
- {{/if}}
- {{if $item.bookmark}}
- - {{$item.bookmark}}
- {{/if}}
- {{if $item.addtocal}}
- - {{$item.addtocal}}
- {{/if}}
- {{if $item.star}}
- - {{$item.star.toggle}}
- {{/if}}
- {{if $item.drop.dropping}}
- - {{$item.drop.delete}}
- {{/if}}
- {{if $item.item_photo_menu}}
-
- {{$item.item_photo_menu}}
- {{/if}}
-
-
+
+
+ {{if $item.share}}
+ {{$item.share.0}}
+ {{/if}}
+ {{if $item.plink}}
+ {{$item.plink.title}}
+ {{/if}}
+ {{if $item.edpost}}
+ {{$item.edpost.1}}
+ {{/if}}
+ {{if $item.tagger}}
+ {{$item.tagger.tagit}}
+ {{/if}}
+ {{if $item.filer}}
+ {{$item.filer}}
+ {{/if}}
+ {{if $item.bookmark}}
+ {{$item.bookmark}}
+ {{/if}}
+ {{if $item.addtocal}}
+ {{$item.addtocal}}
+ {{/if}}
+ {{if $item.star}}
+ {{$item.star.toggle}}
+ {{/if}}
+ {{if $item.thread_action_menu}}
+ {{foreach $item.thread_action_menu as $mitem}}
+ {{$mitem.title}}
+ {{/foreach}}
+ {{/if}}
+ {{if $item.drop.dropping}}
+ {{$item.drop.delete}}
+ {{/if}}
+ {{if $item.thread_author_menu}}
+
+ {{foreach $item.thread_author_menu as $mitem}}
+ {{$mitem.title}}
+ {{/foreach}}
+ {{/if}}
+ {{if $item.edpost && $item.dreport}}
+ {{$item.dreport}}
+ {{/if}}
+
+
{{foreach $response.list_part as $liker}}- {{$liker}}
{{/foreach}}
+{{foreach $response.list as $liker}}- {{$liker}}
{{/foreach}}
+{{$response.title}}
{{foreach $response.list as $liker}}- {{$liker}}
{{/foreach}}
+{{foreach $response.list as $liker}}- {{$liker}}
{{/foreach}}
{{$title}}
-- {{$all}}
+
-{{include file="field_combobox.tpl"}}
-
-
-
+
+
+
+
+
+
+ {{include file="field_combobox.tpl"}}
+
+
+
+
+
+
+
diff --git a/view/tpl/hdr.tpl b/view/tpl/hdr.tpl
index 5ab7d68fd..cccee2229 100644
--- a/view/tpl/hdr.tpl
+++ b/view/tpl/hdr.tpl
@@ -1,3 +1,3 @@
-
{2}{3}
{2}{3}
diff --git a/view/tpl/item_attach.tpl b/view/tpl/item_attach.tpl
index 83cc9a3cd..711b72e76 100644
--- a/view/tpl/item_attach.tpl
+++ b/view/tpl/item_attach.tpl
@@ -1,5 +1,5 @@
{{if $attaches}}
{{foreach $attaches as $a}}
-- {{$a.label}}
+ {{$a.label}}
{{/foreach}}
{{/if}}
diff --git a/view/tpl/item_filer.tpl b/view/tpl/item_filer.tpl
index 0cde5caf7..4eb621f93 100644
--- a/view/tpl/item_filer.tpl
+++ b/view/tpl/item_filer.tpl
@@ -1,8 +1,8 @@
{{if $categories}}
-
+
{{foreach $categories as $cat}}
- {{$cat.term}}
+ {{$cat.term}}
{{/foreach}}
-
+
{{/if}}
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index d846f3e34..535e6c66c 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -340,18 +340,12 @@ function enableOnUser(){
}
function itemFiler(id) {
-
- var bordercolor = $("input").css("border-color");
+ if($('#item-filer-dialog').length)
+ $('#item-filer-dialog').remove();
$.get('filer/', function(data){
- $.colorbox({html:data});
- $("#id_term").keypress(function(){
- $(this).css("border-color",bordercolor);
- })
- $("#select_term").change(function(){
- $("#id_term").css("border-color",bordercolor);
- })
-
+ $('body').append(data);
+ $('#item-filer-dialog').modal('show');
$("#filer_save").click(function(e){
e.preventDefault();
reply = $("#id_term").val();
@@ -362,9 +356,7 @@ function enableOnUser(){
// if(timer) clearTimeout(timer);
// timer = setTimeout(NavUpdate,3000);
liking = 1;
- $.colorbox.close();
- } else {
- $("#id_term").css("border-color","#FF0000");
+ $('#item-filer-dialog').modal('hide');
}
return false;
});
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl
index aa7e3aa5d..89ac927aa 100755
--- a/view/tpl/search_item.tpl
+++ b/view/tpl/search_item.tpl
@@ -1,7 +1,7 @@
-
+
-
-
+
+
{{if $item.photo}}
{{$item.photo}}
@@ -12,18 +12,20 @@
{{$item.event}}
{{/if}}
-
+ {{if $item.title && !$item.event}}
+
+ {{if $item.title_tosource}}{{if $item.plink}}{{/if}}{{/if}}{{$item.title}}{{if $item.title_tosource}}{{if $item.plink}}{{/if}}{{/if}}
+
+ {{if ! $item.is_new}}
+
-
- {{if $item.title}}
-
-
- {{/if}}
{{if $item.lock}}
{{if $item.verified}} {{elseif $item.forged}} {{/if}}{{if $item.location}}{{$item.location}}, {{/if}}{{$item.localtime}}{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}{{if $item.editedtime}} {{/if}} {{if $item.app}}{{$item.str_app}}{{/if}}
-
-
+ {{if $item.body}}
+
{{$item.body}}
-
+ {{/if}}
{{if $item.has_tags}}
-
+
+
+ {{$item.mentions}} {{$item.tags}} {{$item.categories}} {{$item.folders}}
+
+ {{**
{{if $item.mentions}}
{{$item.mentions}}
@@ -65,48 +71,44 @@
{{$item.folders}}
{{/if}}
-
+ **}}
{{/if}}
-
+
-
{{if $item.attachments}}
- {{$item.attachments}}
{{/if}}
-
-
-
{{if $item.conv}}
-
+
{{$item.conv.title}}
{{/if}}
-
+- {{$all}}
{{foreach $terms as $term}}
- - {{$term.name}}
+ - {{$term.name}}
{{/foreach}}
diff --git a/view/tpl/filer_dialog.tpl b/view/tpl/filer_dialog.tpl index 71e075958..61860d10f 100755 --- a/view/tpl/filer_dialog.tpl +++ b/view/tpl/filer_dialog.tpl @@ -1,6 +1,19 @@ -{{$title}}
+ +{4} +
{4}
+ {{/if}} + {{/if}} +
{{if $item.title_tosource}}{{if $item.plink}}{{/if}}{{/if}}{{$item.title}}{{if $item.title_tosource}}{{if $item.plink}}{{/if}}{{/if}}
-@@ -35,16 +37,20 @@
+
{{if $item.thread_action_menu}}
{{foreach $item.thread_action_menu as $mitem}}
- - {{$mitem.title}}
+ {{$mitem.title}}
{{/foreach}}
{{/if}}
{{if $item.drop.dropping}}
- - {{$item.drop.delete}}
+ {{$item.drop.delete}}
{{/if}}
{{if $item.thread_author_menu}}
-
+
{{foreach $item.thread_author_menu as $mitem}}
- - {{$mitem.title}}
+ {{$mitem.title}}
{{/foreach}}
{{/if}}
-
+
{{$item.attachments}}
+