Skip to content

Commit

Permalink
1.08 Alpha 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Jan 1, 2021
1 parent 5c20d18 commit fde0f8b
Show file tree
Hide file tree
Showing 9 changed files with 1,264 additions and 238 deletions.
12 changes: 11 additions & 1 deletion docs/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
<h5>1.08 Alpha 3 [NOT RELEASED]</h5> Dev: XOOPS 2.5.11, PHP 7.4.13, 8.0
<h5>1.08 Alpha 3 [2021-01-01]</h5> Dev: XOOPS 2.5.11, PHP 7.4.13, PHP 8.0
<hr>
- fix in_array() for anonymous permissions (oswaldo/mamba)
- new voting/rating system (goffy/mamba)
- Category Moderator Fix for XoopsModules25x/publisher#151 (ihackcode)
- mb_strlen a category description when not null (ihackcode)
- fix missing Constants (mamba)
- refactor testdata buttons (mamba)
- PHP 8 adjustments (mamba)
- add blocksadmin.php translations (mamba)
- fix for ini_get('session.cookie_secure') (mamba)
- TCPDF check language constant (mamba)
- various fixes, PSR-12 and code cosmetics (mamba)


<h5>1.08 Alpha 2 [2020-07-08]</h5> Dev: XOOPS 2.5.11, PHP 7.4.7
<hr>
Expand Down
14 changes: 7 additions & 7 deletions item.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,13 @@
if ((0 != $helper->getConfig('com_rule')) && ((1 == $itemObj->cancomment()) || !$helper->getConfig('perm_com_art_level'))) {
require_once $GLOBALS['xoops']->path('include/comment_view.php');
// Problem with url_rewrite and posting comments :
$xoopsTpl->assign(
[
'editcomment_link' => PUBLISHER_URL . '/comment_edit.php?com_itemid=' . $com_itemid . '&amp;com_order=' . $com_order . '&amp;com_mode=' . $com_mode . $link_extra,
'deletecomment_link' => PUBLISHER_URL . '/comment_delete.php?com_itemid=' . $com_itemid . '&amp;com_order=' . $com_order . '&amp;com_mode=' . $com_mode . $link_extra,
'replycomment_link' => PUBLISHER_URL . '/comment_reply.php?com_itemid=' . $com_itemid . '&amp;com_order=' . $com_order . '&amp;com_mode=' . $com_mode . $link_extra,
]
);
// $xoopsTpl->assign(
// [
// 'editcomment_link' => PUBLISHER_URL . '/comment_edit.php?com_itemid=' . $com_itemid . '&amp;com_order=' . $com_order . '&amp;com_mode=' . $com_mode . $link_extra,
// 'deletecomment_link' => PUBLISHER_URL . '/comment_delete.php?com_itemid=' . $com_itemid . '&amp;com_order=' . $com_order . '&amp;com_mode=' . $com_mode . $link_extra,
// 'replycomment_link' => PUBLISHER_URL . '/comment_reply.php?com_itemid=' . $com_itemid . '&amp;com_order=' . $com_order . '&amp;com_mode=' . $com_mode . $link_extra,
// ]
// );
$xoopsTpl->_tpl_vars['commentsnav'] = str_replace(
"self.location.href='",
"self.location.href='" . PUBLISHER_URL . '/',
Expand Down
2 changes: 1 addition & 1 deletion templates/publisher_display_full.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<br>
<!-- End of if !$category || $category.subcats || ($category && $display_category_summary) //-->
<{/if}>
<{if $items}>
<{if $items|default:''}>
<{if $collapsable_heading == 1}>
<div class="publisher_collaps_title">
<a href='javascript:' onclick="toggle('bottomtable'); toggleIcon('bottomtableicon')">
Expand Down
8 changes: 4 additions & 4 deletions templates/publisher_footer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<table border="0" width="100%" cellspacing="1" cellpadding="0" align="center">
<tr>
<td colspan="3" align="left">
<div style="text-align: center; padding: 3px; margin:3px;"> <{$commentsnav}> <{$lang_notice}></div>
<div style="text-align: center; padding: 3px; margin:3px;"> <{$commentsnav}> <{$lang_notice|default:''}></div>
<div style="margin:3px; padding: 3px;">
<!-- start comments loop -->
<{if $comment_mode == "flat"}>
<{if $comment_mode|default:'' == "flat"}>
<{include file="db:system_comments_flat.tpl"}>
<{elseif $comment_mode == "thread"}>
<{elseif $comment_mode|default:'' == "thread"}>
<{include file="db:system_comments_thread.tpl"}>
<{elseif $comment_mode == "nest"}>
<{elseif $comment_mode|default:'' == "nest"}>
<{include file="db:system_comments_nest.tpl"}>
<{/if}>
<!-- end comments loop -->
Expand Down
Loading

0 comments on commit fde0f8b

Please sign in to comment.