|
From: <ir...@us...> - 2012-11-12 07:26:35
|
Revision: 10253
http://sourceforge.net/p/xoops/svn/10253
Author: irmtfan
Date: 2012-11-12 07:26:28 +0000 (Mon, 12 Nov 2012)
Log Message:
-----------
bug fix: in full div templates: replacing tr/td to span was incorrectly done
bug fix: add selecthtml=0 to the next search
Modified Paths:
--------------
XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt
XoopsModules/newbb/branches/irmtfan/newbb/search.php
XoopsModules/newbb/branches/irmtfan/newbb/templates_fulldiv_opacity/newbb_edit_post.html
Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt
===================================================================
--- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-11-09 13:27:35 UTC (rev 10252)
+++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-11-12 07:26:28 UTC (rev 10253)
@@ -1,3 +1,11 @@
+date 2012-11-12
+===================================
+1- bug fix: in full div templates set: in smarty replace: replacing tr/td to span was incorrectly done
+in newbb/templates_fulldiv_opacity/newbb_edit_post.html
+
+2- bug fix: in newbb/search.php: add selecthtml=0 to the next search link
+in newbb/search.php
+
date 2012-11-08
===================================
1- bug fix: in viewforum.php?forum=XXX : change sort fields u.uname => t.topic_poster | t.topic_time => t.topic_id | "t.topic_ratings"=>_MD_RATINGS, | p.post_time => t.topic_last_post_id
Modified: XoopsModules/newbb/branches/irmtfan/newbb/search.php
===================================================================
--- XoopsModules/newbb/branches/irmtfan/newbb/search.php 2012-11-09 13:27:35 UTC (rev 10252)
+++ XoopsModules/newbb/branches/irmtfan/newbb/search.php 2012-11-12 07:26:28 UTC (rev 10253)
@@ -219,7 +219,7 @@
if (count($next_search)>0) {
$items = array();
foreach ($next_search as $para => $val) {
- if (!empty($val)) $items[] = "{$para}={$val}";// irmtfan add { and }
+ if (!empty($val) || $para == "selecthtml") $items[] = "{$para}={$val}";// irmtfan add { and } - add $para when selecthtml = 0 (no strip)
}
if (count($items)>0) $paras = implode("&",$items);
unset($next_search);
Modified: XoopsModules/newbb/branches/irmtfan/newbb/templates_fulldiv_opacity/newbb_edit_post.html
===================================================================
--- XoopsModules/newbb/branches/irmtfan/newbb/templates_fulldiv_opacity/newbb_edit_post.html 2012-11-09 13:27:35 UTC (rev 10252)
+++ XoopsModules/newbb/branches/irmtfan/newbb/templates_fulldiv_opacity/newbb_edit_post.html 2012-11-12 07:26:28 UTC (rev 10253)
@@ -53,7 +53,7 @@
<div class="xoops-form-element-help"><{$element.description}></div>
<{/if}>
</div>
- <div class="_col_end odd"><{$element.body|replace:'tr':'span'|replace:'td':'span'}></div>
+ <div class="_col_end odd"><{$element.body|replace:'<tr':'<span'|replace:'<td':'<span'|replace:'</tr':'</span'|replace:'</td':'</span'}></div>
<div class="clear"></div>
<{/if}>
<{/foreach}>
|