article feature

This commit is contained in:
zotlabs
2017-11-22 15:39:06 -08:00
parent 8bd8af7d16
commit 6c178d4485
17 changed files with 481 additions and 5 deletions

View File

@@ -439,8 +439,9 @@ function NavUpdate() {
if($('#live-display').length) { src = 'display'; liveUpdate(); }
if($('#live-search').length) { src = 'search'; liveUpdate(); }
// if($('#live-cards').length) { src = 'cards'; liveUpdate(); }
// if($('#live-articles').length) { src = 'articles'; liveUpdate(); }
if($('#live-photos').length || $('#live-cards').length) {
if($('#live-photos').length || $('#live-cards').length || $('#live-articles').length ) {
if(liking) {
liking = 0;
window.location.href=window.location.href;

9
view/js/mod_articles.js Normal file
View File

@@ -0,0 +1,9 @@
$(document).ready( function() {
$(".autotime").timeago();
/* autocomplete @nicknames */
$(".comment-edit-form textarea").editor_autocomplete(baseurl+"/acl?f=&n=1");
/* autocomplete bbcode */
$(".comment-edit-form textarea").bbco_autocomplete('bbcode');
});

View File

@@ -0,0 +1,8 @@
[region=aside]
[widget=categories][var=articles]1[/var][/widget]
[widget=tasklist][/widget]
[widget=notes][/widget]
[/region]
[region=right_aside]
[widget=notifications][/widget]
[/region]