开发者

How to verify if a user visiting a Blogspot blog is the owner of that blog?

开发者 https://www.devze.com 2023-02-17 12:38 出处:网络
I would like to verify that the us开发者_如何学JAVAer is the owner of the blog by doing something like the following:

I would like to verify that the us开发者_如何学JAVAer is the owner of the blog by doing something like the following:

<b:if cond='is_admin'>
(display an admin button)
</b:if>

Any recommendations?

Thanks!


the answer is:

<b:if cond='data:post.editUrl'>
    <span expr:class='&quot;item-control &quot; + data:post.adminClass'>
        (display an admin button)
    </span>
</b:if>

I apologize for the inconvenience!

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号