Diff of /branches/2.5.4/cgi-bin/yabb2/Sources/BoardIndex.pm [r1084] .. [r1085] Maximize Restore

  Switch to side-by-side view

--- a/branches/2.5.4/cgi-bin/yabb2/Sources/BoardIndex.pm
+++ b/branches/2.5.4/cgi-bin/yabb2/Sources/BoardIndex.pm
@@ -1,6 +1,6 @@
 ###############################################################################
 # BoardIndex.pm                                                               #
-# $Date: 2013-06-25 15:33:13 +0000 (Tue, 25 Jun 2013) $
+# $Date: 2013-07-03 15:15:05 +0000 (Wed, 03 Jul 2013) $
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
@@ -19,7 +19,7 @@
 use English '-no_match_vars';
 our $VERSION = '2.5.4';
 
-$boardindexpmver = 'YaBB 2.5.4 $Revision: 1081 $';
+$boardindexpmver = 'YaBB 2.5.4 $Revision: 1085 $';
 if ( $action eq 'detailedversion' ) { return 1; }
 
 LoadLanguage('BoardIndex');
@@ -1069,7 +1069,8 @@
                         }
                         else {
                             $subdropdown =
-qq~<a href="javascript://" id="subdropa_$curboard" style="font-weight:bold" onclick="SubBoardList('$scripturl?board=$curboard','$curboard','$catid',$sub_count,$alternateboardcolor)"><img src="$imagesdir/$sub_arrow_dn" id="subdropbutton_$curboard" style="position: relative; top: 2px; cursor: pointer;" alt="" />&nbsp;$sub_txt</a>~;
+#qq~<a href="javascript://" id="subdropa_$curboard" style="font-weight:bold" onclick="SubBoardList('$scripturl?board=$curboard','$curboard','$catid',$sub_count,$alternateboardcolor)"><img src="$imagesdir/$sub_arrow_dn" id="subdropbutton_$curboard" style="position: relative; top: 2px; cursor: pointer;" alt="" />&nbsp;$sub_txt</a>~;
+                qq~<img src="$imagesdir/$sub_arrow_dn" onclick="SubBoardList('$scripturl?board=$curboard','$curboard','$catid',$sub_count,$alternateboardcolor)" id="subdropbutton_$curboard" style="position: relative; top: 2px; cursor: pointer;" alt="" />&nbsp;$sub_txt~;
                         }
                     }
                     $tmp_sublist =~
@@ -1161,9 +1162,9 @@
                     $templateblock =~
                       s/({|<)yabb moderators(}|>)/$showmods$showmodgroups/gsm;
                     $templateblock =~
-s/({|<)yabb threadcount(}|>)/${$uid.$curboard}{'threadcount'}/gsm;
-                    $templateblock =~
-s/({|<)yabb messagecount(}|>)/${$uid.$curboard}{'messagecount'}/gsm;
+					  s/({|<)yabb threadcount(}|>)/${$uid.$curboard}{'threadcount'}/gsm;
+                    $templateblock =~
+					  s/({|<)yabb messagecount(}|>)/${$uid.$curboard}{'messagecount'}/gsm;
                     $templateblock =~
                       s/({|<)yabb lastpostlink(}|>)/$lastpostlink/gsm;
                     $templateblock =~
@@ -1761,6 +1762,7 @@
             }
 
             $yynavigation .= qq~$boardtree~;
+            $yyjsstyle = 1;
             template();
         }
         elsif ($subboard_sel) {