article feature
This commit is contained in:
@@ -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
9
view/js/mod_articles.js
Normal 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');
|
||||
|
||||
});
|
||||
8
view/pdl/mod_articles.pdl
Normal file
8
view/pdl/mod_articles.pdl
Normal 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]
|
||||
Reference in New Issue
Block a user