diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/blog_list_post.tpl | 2 | ||||
| -rw-r--r-- | templates/center_list_blog_posts.php | 4 | ||||
| -rw-r--r-- | templates/crosspost.tpl | 4 | ||||
| -rw-r--r-- | templates/view_blog_post.tpl | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/templates/blog_list_post.tpl b/templates/blog_list_post.tpl index e022043..f9841b8 100644 --- a/templates/blog_list_post.tpl +++ b/templates/blog_list_post.tpl @@ -37,7 +37,7 @@ {if $gBitSystem->getConfig('blog_list_user_as') eq 'link'} {tr}By{/tr} {displayname hash=$aPost} {elseif $gBitSystem->getConfig('blog_list_user_as') eq 'avatar' && $aPost.avatar} - <img src="{$aPost.avatar.avatar}" class="avatar" /> + <img src="{$aPost.avatar}" class="avatar" /> {else} {tr}By{/tr} {displayname hash=$aPost nolink=true} {/if}<br/> diff --git a/templates/center_list_blog_posts.php b/templates/center_list_blog_posts.php index bd4bbc2..8cf8199 100644 --- a/templates/center_list_blog_posts.php +++ b/templates/center_list_blog_posts.php @@ -23,7 +23,7 @@ if( $gBitUser->hasPermission( 'p_blog_posts_read_future' ) || $gBitUser->isAdmin if( empty( $futuresHash['user_id'] )) { if( !empty( $gQueryUserId )) { $futuresHash['user_id'] = $gQueryUserId; - } elseif( $_REQUEST['user_id'] ) { + } elseif ( isset($_REQUEST['user_id']) ) { $futuresHash['user_id'] = $_REQUEST['user_id']; } } @@ -59,7 +59,7 @@ if( !empty( $moduleParams )) { if( empty( $listHash['user_id'] )) { if( !empty( $gQueryUserId )) { $listHash['user_id'] = $gQueryUserId; - } elseif( $_REQUEST['user_id'] ) { + } elseif( isset( $_REQUEST['user_id'] ) ) { $listHash['user_id'] = $_REQUEST['user_id']; } } diff --git a/templates/crosspost.tpl b/templates/crosspost.tpl index 20d3fc9..e1c2313 100644 --- a/templates/crosspost.tpl +++ b/templates/crosspost.tpl @@ -83,13 +83,13 @@ <div class="navigation"> {if $gContent_previous} <span class="left"> - Previous: <a href="{$gContent_previous->getDisplayUrl()}">{$gContent_previous->getTitle()|escape}</a> + Previous: <a href="{$gContent_previous->getContentUrl()}">{$gContent_previous->getTitle()|escape}</a> </span> {/if} {if $gContent_next} <span class="right"> - Next: <a href="{$gContent_next->getDisplayUrl()}">{$gContent_next->getTitle()|escape}</a> + Next: <a href="{$gContent_next->getContentUrl()}">{$gContent_next->getTitle()|escape}</a> </span> {/if} </div> diff --git a/templates/view_blog_post.tpl b/templates/view_blog_post.tpl index 70e9c00..552ff7f 100644 --- a/templates/view_blog_post.tpl +++ b/templates/view_blog_post.tpl @@ -52,13 +52,13 @@ <div class="navigation"> {if $gContent_previous} <span class="left"> - Previous: <a href="{$gContent_previous->getDisplayUrl()}">{$gContent_previous->getTitle()|escape}</a> + Previous: <a href="{$gContent_previous->getContentUrl()}">{$gContent_previous->getTitle()|escape}</a> </span> {/if} {if $gContent_next} <span class="right"> - Next: <a href="{$gContent_next->getDisplayUrl()}">{$gContent_next->getTitle()|escape}</a> + Next: <a href="{$gContent_next->getContentUrl()}">{$gContent_next->getTitle()|escape}</a> </span> {/if} </div> |
