]> git.mjollnir.org Git - moodle.git/commitdiff
Use the name of the Site News forum on the front page ... instead of the
authormoodler <moodler>
Thu, 2 Jan 2003 10:48:01 +0000 (10:48 +0000)
committermoodler <moodler>
Thu, 2 Jan 2003 10:48:01 +0000 (10:48 +0000)
"Site News" string ...

index.php

index 3535e0a01eca8f8d101479f83deb8c7ac0508e59..a3de87b78472d0cd9d202444905fb3611db52aee 100644 (file)
--- a/index.php
+++ b/index.php
                  $subtext = get_string("subscribe", "forum");
              }
              $headertext = "<TABLE BORDER=0 WIDTH=100% CELLPADDING=0 CELLSPACING=0><TR>
-                            <TD>".get_string("sitenews")."</TD>
+                            <TD>$newsforum->name</TD>
                             <TD ALIGN=RIGHT><FONT SIZE=1>
                             <A HREF=\"mod/forum/subscribe.php?id=$newsforum->id\">$subtext</A>
                             </TD></TR></TABLE>";
          } else {
-             $headertext = get_string("sitenews");
+             $headertext = $newsforum->name;
          }
          print_heading_block($headertext);
          print_spacer(8,1);