用户公开主页全局采用DOM无刷新加载
This commit is contained in:
1 parent
c3f66e9a14
commit
bb9a410ad6
14 files changed
+569
-231
No files matched your search
@@ -103,8 +103,8 @@ $is_can_new = !empty($ctx['is_can_new']);
|
||||
<?php endif; ?>
|
||||
<?php elseif (!empty($ctx['draft_count']) && $ctx['user_id'] > 0) : ?>
|
||||
<?php
|
||||
$draft_url = function_exists('aksrt_get_user_home_url')
|
||||
? add_query_arg(['tab' => 'post', 'post_status' => 'draft'], aksrt_get_user_home_url($ctx['user_id']))
|
||||
$draft_url = function_exists('aksrt_get_user_center_url')
|
||||
? add_query_arg('post_status', 'draft', aksrt_get_user_center_url('posts'))
|
||||
: '';
|
||||
?>
|
||||
<?php if ($draft_url !== '') : ?>
|
||||
|
||||
Reference in new issue
Block a user