Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r9840: LJSUP-7592: Remove link from "Current ve...

Committer: gariev
LJSUP-7592: Remove link from "Current version" in the footer of every service page.
U   trunk/cgi-bin/LJ/Hooks/Support.pm
Modified: trunk/cgi-bin/LJ/Hooks/Support.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Support.pm	2010-12-14 07:51:59 UTC (rev 9839)
+++ trunk/cgi-bin/LJ/Hooks/Support.pm	2010-12-14 09:01:33 UTC (rev 9840)
@@ -120,10 +120,8 @@
 });
 
 LJ::register_hook('current_version_html', sub {
-    my $news_account = (LJ::SUP->is_remote_sup()) ? "ru-news" : "news";
-    my $url = "http://$news_account.$LJ::DOMAIN/";
     my $text = LJ::Lang::ml('current.version');
-    return qq[<dl class="current-version"><dt><a href="$url">$text</a>:</dt><dd>v.$LJ::CURRENT_VERSION</dd></dl>];
+    return qq[<dl class="current-version"><dt>$text:</dt><dd>v.$LJ::CURRENT_VERSION</dd></dl>];
 });
 
 1;

Tags: gariev, ljcom, pm
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