vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21133: LJSUP-11194: Update ?v= value for static...

Committer: vad
LJSUP-11194: Update ?v= value for static files
U   trunk/cgi-bin/cleanhtml.pl
U   trunk/cgi-bin/imageconf.pl
U   trunk/cgi-bin/ljtextutil.pl
U   trunk/cgi-bin/talklib.pl
U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2012-02-08 16:18:01 UTC (rev 21132)
+++ trunk/cgi-bin/cleanhtml.pl	2012-02-08 16:21:42 UTC (rev 21133)
@@ -1597,7 +1597,7 @@
     $$data = Encode::encode_utf8($$data);
 
     if ($suspend_msg) {
-        my $msg = qq{<div style="color: #000; font: 12px Verdana, Arial, Sans-Serif; background-color: #ffeeee; background-repeat: repeat-x; border: 1px solid #ff9999; padding: 8px; margin: 5px auto; width: auto; text-align: left; background-image: url('$LJ::IMGPREFIX/message-error.gif');">};
+        my $msg = qq{<div style="color: #000; font: 12px Verdana, Arial, Sans-Serif; background-color: #ffeeee; background-repeat: repeat-x; border: 1px solid #ff9999; padding: 8px; margin: 5px auto; width: auto; text-align: left; background-image: url('$LJ::IMGPREFIX/message-error.gif?v=4888');">};
         my $link_style = "color: #00c; text-decoration: underline; background: transparent; border: 0;";
 
         if ($unsuspend_supportid) {

Modified: trunk/cgi-bin/imageconf.pl
===================================================================
--- trunk/cgi-bin/imageconf.pl	2012-02-08 16:18:01 UTC (rev 21132)
+++ trunk/cgi-bin/imageconf.pl	2012-02-08 16:21:42 UTC (rev 21133)
@@ -6,168 +6,168 @@
 use vars qw(%img);
 
 $img{'ins_obj'} = {
-    'src' => '/ins-object.gif?v=1',
+    'src' => '/ins-object.gif?v=5587',
     'width' => 129,
     'height' => 52,
     'alt' => 'img.ins_obj',
 };
 
 $img{'btn_up'} = {
-    'src' => '/btn_up.gif?v=1',
+    'src' => '/btn_up.gif?v=17312',
     'width' => 22,
     'height' => 20,
     'alt' => 'img.btn_up',
 };
 
 $img{'btn_down'} = {
-    'src' => '/btn_dn.gif?v=1',
+    'src' => '/btn_dn.gif?v=17312',
     'width' => 22,
     'height' => 20,
     'alt' => 'img.btn_down',
 };
 
 $img{'btn_del'} = {
-    'src' => '/btn_del.gif?v=1',
+    'src' => '/btn_del.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.btn_del',
 };
 
 $img{'btn_spam'} = {
-    'src' => '/btn_spam.gif?v=1',
+    'src' => '/btn_spam.gif?v=11145',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.btn_spam',
 };
 
 $img{'btn_unspam'} = {
-    'src' => '/btn_unspam.gif?v=1',
+    'src' => '/btn_unspam.gif?v=11145',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.btn_unspam',
 };
 
 $img{'btn_freeze'} = {
-    'src' => '/btn_freeze.gif?v=1',
+    'src' => '/btn_freeze.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.btn_freeze',
 };
 
 $img{'btn_unfreeze'} = {
-    'src' => '/btn_unfreeze.gif?v=1',
+    'src' => '/btn_unfreeze.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.btn_unfreeze',
 };
 
 $img{'btn_scr'} = {
-    'src' => '/btn_scr.gif?v=1',
+    'src' => '/btn_scr.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.btn_scr',
 };
 
 $img{'btn_unscr'} = {
-    'src' => '/btn_unscr.gif?v=1',
+    'src' => '/btn_unscr.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.btn_unscr',
 };
 
 $img{'prev_entry'} = {
-    'src' => '/btn_prev.gif?v=1',
+    'src' => '/btn_prev.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.prev_entry',
 };
 
 $img{'next_entry'} = {
-    'src' => '/btn_next.gif?v=1',
+    'src' => '/btn_next.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.next_entry',
 };
 
 $img{'memadd'} = {
-    'src' => '/memadd.gif?v=1',
+    'src' => '/memadd.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.memadd',
 };
 
 $img{'editentry'} = {
-    'src' => '/btn_edit.gif?v=1',
+    'src' => '/btn_edit.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.editentry',
 };
 
 $img{'edittags'} = {
-    'src' => '/btn_edittags.gif?v=1',
+    'src' => '/btn_edittags.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.edittags',
 };
 
 $img{'tellfriend'} = {
-    'src' => '/btn_tellfriend.gif?v=1',
+    'src' => '/btn_tellfriend.gif?v=16326',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.tellfriend',
 };
 
 $img{'placeholder'} = {
-    'src' => '/imageplaceholder2.png',
+    'src' => '/imageplaceholder2.png?v=3635',
     'width' => 35,
     'height' => 35,
     'alt' => 'img.placeholder',
 };
 
 $img{'xml'} = {
-    'src' => '/xml.gif?v=1',
+    'src' => '/xml.gif?v=6803',
     'width' => 36,
     'height' => 14,
     'alt' => 'img.xml',
 };
 
 $img{'track'} = {
-    'src' => '/btn_track.gif?v=1',
+    'src' => '/btn_track.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.track',
 };
 
 $img{'track_active'} = {
-    'src' => '/btn_tracking.gif?v=1',
+    'src' => '/btn_tracking.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.track_active',
 };
 
 $img{'track_thread_active'} = {
-    'src' => '/btn_tracking_thread.gif?v=1',
+    'src' => '/btn_tracking_thread.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.track_thread_active',
 };
 
 $img{'flag'} = {
-    'src' => '/button-flag.gif?v=1',
+    'src' => '/button-flag.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.flag_btn',
 };
 
 $img{'editcomment'} = {
-    'src' => '/btn_edit.gif?v=1',
+    'src' => '/btn_edit.gif?v=17312',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.editcomment',
 };
 
 $img{'share'} = {
-    'src' => '/btn_share.gif?v=1',
+    'src' => '/btn_share.gif?v=18463',
     'width' => 24,
     'height' => 24,
     'alt' => 'img.share',

Modified: trunk/cgi-bin/ljtextutil.pl
===================================================================
--- trunk/cgi-bin/ljtextutil.pl	2012-02-08 16:18:01 UTC (rev 21132)
+++ trunk/cgi-bin/ljtextutil.pl	2012-02-08 16:21:42 UTC (rev 21133)
@@ -860,7 +860,7 @@
         my $user = LJ::load_user($1); 
         my $name = $user->username;
         my $html = '<a href="' . $user->profile_url . '" target="_blank"><img src="' 
-        . $LJ::IMGPREFIX . '/userinfo.gif" alt=""></a><a href="'
+        . $LJ::IMGPREFIX . '/userinfo.gif?v=17080" alt=""></a><a href="'
         . $user->journal_base . '" target="_blank">' . $name . '</a>';
         $args{event} =~ s#<lj\s+user="$name"\s*\/?>#$html#g;
     }

Modified: trunk/cgi-bin/talklib.pl
===================================================================
--- trunk/cgi-bin/talklib.pl	2012-02-08 16:18:01 UTC (rev 21132)
+++ trunk/cgi-bin/talklib.pl	2012-02-08 16:21:42 UTC (rev 21133)
@@ -3,8 +3,8 @@
 # <LJDEP>
 # link: htdocs/userinfo.bml, htdocs/go.bml, htdocs/tools/memadd.bml, htdocs/editjournal.bml
 # link: htdocs/tools/tellafriend.bml
-# img: htdocs/img/btn_prev.gif, htdocs/img/memadd.gif, htdocs/img/btn_edit.gif
-# img: htdocs/img/btn_next.gif, htdocs/img/btn_tellafriend.gif
+# img: htdocs/img/btn_prev.gif?v=17312, htdocs/img/memadd.gif?v=17312, htdocs/img/btn_edit.gif?v=17312
+# img: htdocs/img/btn_next.gif?v=17312, htdocs/img/btn_tellafriend.gif
 # </LJDEP>
 
 use strict;

Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2012-02-08 16:18:01 UTC (rev 21132)
+++ trunk/cgi-bin/weblib.pl	2012-02-08 16:21:42 UTC (rev 21133)
@@ -263,7 +263,7 @@
     my $post = shift || "";
     my $title = shift || "";
     # FIXME: use LJ::img() here, not hard-coding width/height
-    return "$pre<a href=\"$url\" class=\"helplink\" target=\"_blank\"><img src=\"$LJ::IMGPREFIX/help.gif\" alt=\"Help\" title=\"Help\" width=\"14\" height=\"14\" border=\"0\" />$title</a>$post";
+    return "$pre<a href=\"$url\" class=\"helplink\" target=\"_blank\"><img src=\"$LJ::IMGPREFIX/help.gif?v=6803\" alt=\"Help\" title=\"Help\" width=\"14\" height=\"14\" border=\"0\" />$title</a>$post";
 }
 
 # <LJFUNC>
@@ -2031,7 +2031,7 @@
     my $width  = delete $opts{width}  || 100;
     my $height = delete $opts{height} || 100;
     my $link   = delete $opts{link}   || '';
-    my $img    = delete $opts{img}    || "$LJ::IMGPREFIX/videoplaceholder.png";
+    my $img    = delete $opts{img}    || "$LJ::IMGPREFIX/videoplaceholder.png?v=8209";
 
     $width -= 2;
     $height -= 2;

Tags: livejournal, pl, vad, vadvs
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