summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-07 16:51:54 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-07 16:51:54 +0100
commitfcdc56318abb9c3952bbdefb3c83604c439780b6 (patch)
treedd9de1841c905b2f0c9d8d8428ad4a83d1c86f97
parentd29ad5032e2679048731174a588a690fecb9361e (diff)
downloadblogs-fcdc56318abb9c3952bbdefb3c83604c439780b6.tar.gz
blogs-fcdc56318abb9c3952bbdefb3c83604c439780b6.tar.bz2
blogs-fcdc56318abb9c3952bbdefb3c83604c439780b6.zip
Remove duplicate ipackage attributes from biticon callsHEADmaster
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rwxr-xr-xtemplates/blog_list_post.tpl10
-rwxr-xr-xtemplates/crosspost.tpl4
-rwxr-xr-xtemplates/list_blogs.tpl8
-rwxr-xr-xtemplates/print_blog_post.tpl4
-rwxr-xr-xtemplates/view_blog.tpl10
-rwxr-xr-xtemplates/view_blog_post.tpl14
6 files changed, 25 insertions, 25 deletions
diff --git a/templates/blog_list_post.tpl b/templates/blog_list_post.tpl
index a489efa..ccdc6c5 100755
--- a/templates/blog_list_post.tpl
+++ b/templates/blog_list_post.tpl
@@ -9,18 +9,18 @@
<div class="floaticon">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$aPost}
{if $gBitUser->hasPermission( 'p_blogs_admin' )}
- <a title="{tr}Crosspost{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?post_id={$aPost.post_id}">{biticon ipackage="icons" iname="stock_attach" ipackage="icons" iexplain="crosspost"}</a>
+ <a title="{tr}Crosspost{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?post_id={$aPost.post_id}">{biticon ipackage="icons" iname="stock_attach" iexplain="crosspost"}</a>
{/if}
- <a title="{tr}Print{/tr}" href="{$smarty.const.BLOGS_PKG_URL}print_blog_post.php?post_id={$aPost.post_id}">{biticon ipackage="icons" iname="document-print" ipackage="icons" iexplain="print"}</a>
+ <a title="{tr}Print{/tr}" href="{$smarty.const.BLOGS_PKG_URL}print_blog_post.php?post_id={$aPost.post_id}">{biticon ipackage="icons" iname="document-print" iexplain="print"}</a>
{if $gBitUser->hasPermission('p_blogs_send_post')}
- <a title="{tr}Email this post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}send_post.php?post_id={$aPost.post_id}">{biticon ipackage="icons" iname="internet-mail" ipackage="icons" iexplain="email this post"}</a>
+ <a title="{tr}Email this post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}send_post.php?post_id={$aPost.post_id}">{biticon ipackage="icons" iname="internet-mail" iexplain="email this post"}</a>
{/if}
{if ($aPost.ownsblog eq 'y') || ($gBitUser->mUserId && $aPost.user_id eq $gBitUser->mUserId) || $gBitUser->hasPermission( 'p_blogs_admin' )}
- <a title="{tr}Edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$aPost.blog_id|default:0}&amp;post_id={$aPost.post_id}">{biticon ipackage="icons" iname="edit" ipackage="icons" iexplain="edit"}</a>
+ <a title="{tr}Edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$aPost.blog_id|default:0}&amp;post_id={$aPost.post_id}">{biticon ipackage="icons" iname="edit" iexplain="edit"}</a>
<a title="{tr}History{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post_history.php?content_id={$aPost.content_id}">{biticon ipackage="icons" iname="appointment" iexplain="History"}</a>
- <a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?action=remove&amp;post_id={$aPost.post_id}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete"}</a>
+ <a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?action=remove&amp;post_id={$aPost.post_id}">{biticon ipackage="icons" iname="user-trash" iexplain="delete"}</a>
{/if}
</div>
{/if}
diff --git a/templates/crosspost.tpl b/templates/crosspost.tpl
index 18544e5..22c1285 100755
--- a/templates/crosspost.tpl
+++ b/templates/crosspost.tpl
@@ -19,8 +19,8 @@
{if $gContent->mInfo.blogs.$blogContentId && ($blogContentId != $crosspost.blog_content_id) }
{assign var="has_crosspost" value=true}
{$availBlogTitle|escape}
- &nbsp;<a title="{tr}Edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?blog_content_id={$blogContentId}&amp;post_id={$post_info.post_id}">{biticon ipackage="icons" iname="edit" ipackage="icons" iexplain="edit crosspost note"}</a>
- &nbsp;<a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?action=remove&amp;post_id={$post_info.post_id}&amp;blog_content_id={$blogContentId}&amp;status_id=300">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete this crossposting"}</a><br/>
+ &nbsp;<a title="{tr}Edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?blog_content_id={$blogContentId}&amp;post_id={$post_info.post_id}">{biticon ipackage="icons" iname="edit" iexplain="edit crosspost note"}</a>
+ &nbsp;<a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?action=remove&amp;post_id={$post_info.post_id}&amp;blog_content_id={$blogContentId}&amp;status_id=300">{biticon ipackage="icons" iname="user-trash" iexplain="delete this crossposting"}</a><br/>
{/if}
{/foreach}
{if !$has_crosspost}
diff --git a/templates/list_blogs.tpl b/templates/list_blogs.tpl
index f04efae..af938de 100755
--- a/templates/list_blogs.tpl
+++ b/templates/list_blogs.tpl
@@ -11,7 +11,7 @@
{minifind sort_mode=$sort_mode}
<ul class="list-inline navbar">
- <li>{biticon ipackage="icons" iname="go-next" ipackage="icons" iexplain="sort by"}</li>
+ <li>{biticon ipackage="icons" iname="go-next" iexplain="sort by"}</li>
{if $gBitSystem->isFeatureActive( 'blog_list_title' )}
<li>{smartlink ititle="Title" isort="title" offset=$offset}</li>
{/if}
@@ -53,13 +53,13 @@
{/if}
{if ($gBitUser->mUserId && $listBlog.user_id eq $gBitUser->mUserId) || ($gBitUser->hasPermission( 'p_blogs_admin' )) || ($listBlog.is_public eq 'y')}
- <a title="{tr}post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="edit" ipackage="icons" iexplain="post"}</a>
+ <a title="{tr}post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="edit" iexplain="post"}</a>
{/if}
{if ($gBitUser->mUserId && $listBlog.user_id eq $gBitUser->mUserId) || $gBitUser->hasPermission( 'p_blogs_admin' )}
- <a title="{tr}edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}edit.php?blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="view-list-text" ipackage="icons" iexplain="configure"}</a>
+ <a title="{tr}edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}edit.php?blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="view-list-text" iexplain="configure"}</a>
{/if}
{if ($gBitUser->mUserId && $listBlog.user_id eq $gBitUser->mUserId) || $gBitUser->hasPermission( 'p_blogs_admin' )}
- <a title="{tr}remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove=1&amp;blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete"}</a>
+ <a title="{tr}remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove=1&amp;blog_id={$listBlog.blog_id}">{biticon ipackage="icons" iname="user-trash" iexplain="delete"}</a>
{/if}
</div>
diff --git a/templates/print_blog_post.tpl b/templates/print_blog_post.tpl
index b0ef7a8..026eb52 100755
--- a/templates/print_blog_post.tpl
+++ b/templates/print_blog_post.tpl
@@ -60,8 +60,8 @@ a:hover { background-color : #deceae; }
&nbsp;<a href="{$smarty.const.BLOGS_PKG_URL}view_post.php?find={$find}&amp;blog_id={$post_info.blog_id}&amp;offset={$offset}&amp;sort_mode={$sort_mode}&amp;post_id={$post_info.post_id}">{tr}view comments{/tr}</a>
{/if}
</td><td>
-<a title="{tr}print{/tr}" href="{$smarty.const.BLOGS_PKG_URL}print_blog_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="document-print" ipackage="icons" iexplain="Print"}</a>
-<a title="{tr}email this post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}send_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="internet-mail" ipackage="icons" iexplain="Email"}</a>
+<a title="{tr}print{/tr}" href="{$smarty.const.BLOGS_PKG_URL}print_blog_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="document-print" iexplain="Print"}</a>
+<a title="{tr}email this post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}send_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="internet-mail" iexplain="Email"}</a>
</td></tr></table>
</div>
diff --git a/templates/view_blog.tpl b/templates/view_blog.tpl
index 0f2d58f..c2458a3 100755
--- a/templates/view_blog.tpl
+++ b/templates/view_blog.tpl
@@ -5,27 +5,27 @@
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$gContent->mInfo}
{if $gContent->hasUserPermission( 'p_blogs_post' )}
- <a title="{tr}post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$gContent->mBlogId}">{biticon ipackage="icons" iname="document-save" ipackage="icons" iexplain="post"}</a>
+ <a title="{tr}post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$gContent->mBlogId}">{biticon ipackage="icons" iname="document-save" iexplain="post"}</a>
{/if}
{if $gBitSystem->isPackageActive( 'rss' )}
- <a title="{tr}RSS feed{/tr}" href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?blog_id={$gContent->mBlogId}">{biticon ipackage="icons" iname="network-transmit" ipackage="icons" iexplain="RSS feed"}</a>
+ <a title="{tr}RSS feed{/tr}" href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?blog_id={$gContent->mBlogId}">{biticon ipackage="icons" iname="network-transmit" iexplain="RSS feed"}</a>
{/if}
{if $gContent->hasUpdatePermission()}
- <a title="{tr}Edit blog{/tr}" href="{$smarty.const.BLOGS_PKG_URL}edit.php?blog_id={$gContent->mBlogId}">{biticon ipackage="icons" iname="view-list-text" ipackage="icons" iexplain="edit"}</a>
+ <a title="{tr}Edit blog{/tr}" href="{$smarty.const.BLOGS_PKG_URL}edit.php?blog_id={$gContent->mBlogId}">{biticon ipackage="icons" iname="view-list-text" iexplain="edit"}</a>
{/if}
{if $gBitUser->isRegistered() && $gBitSystem->isFeatureActive( 'users_watches' )}
{if $user_watching_blog eq 'n'}
- <a title="{tr}monitor this blog{/tr}" href="{$smarty.const.BLOGS_PKG_URL}view.php?blog_id={$gContent->mBlogId}&amp;watch_event=blog_post&amp;watch_object={$gContent->mBlogId}&amp;watch_action=add">{biticon ipackage="icons" iname="emblem-important" ipackage="icons" iexplain="monitor this blog"}</a>
+ <a title="{tr}monitor this blog{/tr}" href="{$smarty.const.BLOGS_PKG_URL}view.php?blog_id={$gContent->mBlogId}&amp;watch_event=blog_post&amp;watch_object={$gContent->mBlogId}&amp;watch_action=add">{biticon ipackage="icons" iname="emblem-important" iexplain="monitor this blog"}</a>
{else}
<a title="{tr}stop monitoring this blog{/tr}" href="{$smarty.const.BLOGS_PKG_URL}view.php?blog_id={$gContent->mBlogId}&amp;watch_event=blog_post&amp;watch_object={$gContent->mBlogId}&amp;watch_action=remove">{biticon ipackage="icons" iname="weather-clear-night" iexplain="stop monitoring this blog"}</a>
{/if}
{/if}
{if ($gContent->hasUpdatePermission())}
- <a title="{tr}remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?remove=1&amp;blog_id={$gContent->getField('blog_id')}">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete"}</a>
+ <a title="{tr}remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?remove=1&amp;blog_id={$gContent->getField('blog_id')}">{biticon ipackage="icons" iname="user-trash" iexplain="delete"}</a>
{/if}
</div>
diff --git a/templates/view_blog_post.tpl b/templates/view_blog_post.tpl
index ad261e3..c6867b2 100755
--- a/templates/view_blog_post.tpl
+++ b/templates/view_blog_post.tpl
@@ -24,24 +24,24 @@
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$post_info}
{if $gBitUser->hasPermission( 'p_users_view_icons_and_tools' )}
{if $gBitSystem->isPackageActive( 'rss' ) && $gBitSystem->isFeatureActive( 'rss_blogs' )}
- <a href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?user_id={$post_info.user_id}">{biticon ipackage="icons" iname="network-transmit" ipackage="icons" iexplain="RSS feed"}</a>
+ <a href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?user_id={$post_info.user_id}">{biticon ipackage="icons" iname="network-transmit" iexplain="RSS feed"}</a>
{/if}
{if $gContent->hasUserPermission( 'p_blogs_admin' )}
- <a title="{tr}Crosspost{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="stock_attach" ipackage="icons" iexplain="Crosspost"}</a>
+ <a title="{tr}Crosspost{/tr}" href="{$smarty.const.BLOGS_PKG_URL}crosspost.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="stock_attach" iexplain="Crosspost"}</a>
{/if}
- <a title="{tr}Print{/tr}" href="{$smarty.const.BLOGS_PKG_URL}print_blog_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="document-print" ipackage="icons" iexplain="Print"}</a>
+ <a title="{tr}Print{/tr}" href="{$smarty.const.BLOGS_PKG_URL}print_blog_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="document-print" iexplain="Print"}</a>
{if $gBitUser->hasPermission('p_blogs_send_post')}
- <a title="{tr}Email This Post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}send_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="internet-mail" ipackage="icons" iexplain="Email This Post"}</a>
+ <a title="{tr}Email This Post{/tr}" href="{$smarty.const.BLOGS_PKG_URL}send_post.php?post_id={$post_info.post_id}">{biticon ipackage="icons" iname="internet-mail" iexplain="Email This Post"}</a>
{/if}
{if $gContent->hasUpdatePermission()}
- <a title="{tr}Edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$post_info.blog_id|default:0}&amp;post_id={$post_info.post_id}">{biticon ipackage="icons" iname="edit" ipackage="icons" iexplain="edit"}</a>
+ <a title="{tr}Edit{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$post_info.blog_id|default:0}&amp;post_id={$post_info.post_id}">{biticon ipackage="icons" iname="edit" iexplain="edit"}</a>
<a title="{tr}History{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post_history.php?content_id={$post_info.content_id}">{biticon ipackage="icons" iname="appointment" iexplain="History"}</a>
{/if}
{if $gContent->hasUserPermission( 'p_blogs_admin' )}
- <a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?action=remove&amp;post_id={$post_info.post_id}&amp;status_id=300">{biticon ipackage="icons" iname="user-trash" ipackage="icons" iexplain="delete"}</a>
+ <a title="{tr}Remove{/tr}" href="{$smarty.const.BLOGS_PKG_URL}post.php?action=remove&amp;post_id={$post_info.post_id}&amp;status_id=300">{biticon ipackage="icons" iname="user-trash" iexplain="delete"}</a>
{/if}
{/if}
</div>
@@ -130,7 +130,7 @@
{if !empty($pages) && $pages > 1}
<div class="pagination">
<a href="{$smarty.const.BLOGS_PKG_URL}view_post.php?blog_id={$smarty.request.blog_id}&amp;post_id={$smarty.request.post_id}&amp;page={$first_page}">{biticon ipackage="icons" iname="go-first" iexplain="first page"}</a>
- <a href="{$smarty.const.BLOGS_PKG_URL}view_post.php?blog_id={$smarty.request.blog_id}&amp;post_id={$smarty.request.post_id}&amp;page={$prev_page}">{biticon ipackage="icons" iname="go-previous" ipackage="icons" iexplain="previous page"}</a>
+ <a href="{$smarty.const.BLOGS_PKG_URL}view_post.php?blog_id={$smarty.request.blog_id}&amp;post_id={$smarty.request.post_id}&amp;page={$prev_page}">{biticon ipackage="icons" iname="go-previous" iexplain="previous page"}</a>
{tr}page{/tr}:{$page}/{$pages}
<a href="{$smarty.const.BLOGS_PKG_URL}view_post.php?blog_id={$smarty.request.blog_id}&amp;post_id={$smarty.request.post_id}&amp;page={$next_page}">{biticon ipackage="icons" iname="go-next" iexplain="next page"}</a>
<a href="{$smarty.const.BLOGS_PKG_URL}view_post.php?blog_id={$smarty.request.blog_id}&amp;post_id={$smarty.request.post_id}&amp;page={$last_page}">{biticon ipackage="icons" iname="go-last" iexplain="last page"}</a>