User:A.allison/DynamicPageList Changes

From WikiVet English
< User:A.allison
Revision as of 18:09, 4 February 2012 by A.allison (talk | contribs) (Created page with "===DynamicPagesList.php=== Starting line 554 now reads: <syntaxhighlight lang="php"> if ( $dbr->numRows( $res ) == 0 ) { if ( $suppressErrors == false ) { global $wgTitl...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Jump to navigation Jump to search

DynamicPagesList.php

Starting line 554 now reads: <syntaxhighlight lang="php"> if ( $dbr->numRows( $res ) == 0 ) { if ( $suppressErrors == false ) { global $wgTitle; $ns = $wgTitle->getNamespace(); if( $ns == 102){ // NS_VVH return htmlspecialchars( wfMsgForContent( 'intersection_noresultsVVH' ) ); }else{ return htmlspecialchars( wfMsgForContent( 'intersection_noresults' ) ); } } else { return ; } }

</syntaxhighlight>

DynamicPageList.i18n.php

Added line: <syntaxhighlight lang="css"> 'intersection_noresultsVVH' => 'Currently no cases',

</syntaxhighlight>