From: <dh...@us...> - 2012-07-02 08:32:46
|
Revision: 9773 http://xoops.svn.sourceforge.net/xoops/?rev=9773&view=rev Author: dhcst Date: 2012-07-02 08:32:37 +0000 (Mon, 02 Jul 2012) Log Message: ----------- fix select all topics in moderate Modified Paths: -------------- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewtopic.html XoopsModules/newbb/branches/alfred/newbb/topicmanager.php XoopsModules/newbb/branches/alfred/newbb/xoops_version.php Modified: XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html 2012-07-02 08:21:47 UTC (rev 9772) +++ XoopsModules/newbb/branches/alfred/newbb/templates/newbb_thread.html 2012-07-02 08:32:37 UTC (rev 9773) @@ -1,4 +1,5 @@ <{if $post_id == $topic_post.post_id}><div id="aktuell"></div><{/if}> + <table class="outer" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width: 0px;"> <tr> <th width="20%" align="left"> Modified: XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewtopic.html =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewtopic.html 2012-07-02 08:21:47 UTC (rev 9772) +++ XoopsModules/newbb/branches/alfred/newbb/templates/newbb_viewtopic.html 2012-07-02 08:32:37 UTC (rev 9773) @@ -65,7 +65,7 @@ <input type="hidden" name="topic_id" value="<{$topic_id}>" /> <input type="submit" name="submit" value="<{$smarty.const._SUBMIT}>" /> | <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$topic_id}>" target="_self" title="<{$smarty.const._MD_TYPE_VIEW}>"><{$smarty.const._MD_TYPE_VIEW}></a> - </form> + <{else}> <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$topic_id}>&status=active#admin" target="_self" title="<{$smarty.const._MD_TYPE_ADMIN}>"><{$smarty.const._MD_TYPE_ADMIN}></a> | <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/viewtopic.php?topic_id=<{$topic_id}>&status=pending#admin" target="_self" title="<{$smarty.const._MD_TYPE_PENDING}>"><{$smarty.const._MD_TYPE_PENDING}></a> | @@ -152,7 +152,7 @@ <div class="resultMsg"><{$smarty.const._MD_TOPICLOCK}></div> <br /> <{/if}> - +<{if $post_id == 0}><div id="aktuell"></div><{/if}> <{foreachq item=topic_post from=$topic_posts}> <{includeq file="db:newbb_thread.html" topic_post=$topic_post mode=$mode}> <br /> @@ -236,7 +236,6 @@ </div> </div> <div class="clear"></div> - <br /> <{includeq file='db:newbb_notification_select.html'}> Modified: XoopsModules/newbb/branches/alfred/newbb/topicmanager.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/topicmanager.php 2012-07-02 08:21:47 UTC (rev 9772) +++ XoopsModules/newbb/branches/alfred/newbb/topicmanager.php 2012-07-02 08:32:37 UTC (rev 9773) @@ -32,7 +32,7 @@ if ( isset($_POST['submit']) ) { foreach (array('forum', 'newforum', 'newtopic') as $getint) { - ${$getint} = intval( @$_POST[$getint]); + ${$getint} = intval(@$_POST[$getint]); } foreach (array('topic_id') as $getint) { ${$getint} = intval(@$_POST[$getint]); Modified: XoopsModules/newbb/branches/alfred/newbb/xoops_version.php =================================================================== --- XoopsModules/newbb/branches/alfred/newbb/xoops_version.php 2012-07-02 08:21:47 UTC (rev 9772) +++ XoopsModules/newbb/branches/alfred/newbb/xoops_version.php 2012-07-02 08:32:37 UTC (rev 9773) @@ -34,7 +34,7 @@ $modversion['min_php'] = "5.2"; $modversion['min_xoops'] = "2.5"; $modversion['min_admin'] = "1.1"; -$modversion['min_db'] = array('mysql'=>'5.0.7', 'mysqli'=>'5.0.7'); +$modversion['min_db'] = array('mysql'=>'5.0', 'mysqli'=>'5.0'); $modversion['system_menu'] = 1; $modversion['dirmoduleadmin'] = 'Frameworks/moduleclasses'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |