alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r11667: OPSC-427: Close "Games" at all

Committer: afedorov
OPSC-427: Close "Games" at all

U   trunk/htdocs/extra/index.bml
Modified: trunk/htdocs/extra/index.bml
===================================================================
--- trunk/htdocs/extra/index.bml	2012-04-04 11:13:06 UTC (rev 11666)
+++ trunk/htdocs/extra/index.bml	2012-04-04 13:02:41 UTC (rev 11667)
@@ -14,8 +14,10 @@
     $ret .= '<h2>'.$ML{'.extra.tools.header'}.'</h2>';
     $ret .= '<p>'.$ML{'.extra.tools.desc'}.'</p>';
     $ret .= '<h2>'.$ML{'.extra.games.header'}.'</h2>';
-    $ret .= '<p>'.$ML{'.extra.games.desc'}.'</p>';
-    $ret .= '<p>'.$ML{'.extra.games.links'}.'</p>';
+    if (LJ::is_enabled('userapps')) {
+        $ret .= '<p>'.$ML{'.extra.games.desc'}.'</p>';
+        $ret .= '<p>'.$ML{'.extra.games.links'}.'</p>';
+    }
 
     return $ret;
 

Tags: afedorov, bml, ljcom, red_alf
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments