Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[ljcom] r10792: LJSV-1684: Component theme, spam/unspam ...

Committer: mchervonniy
LJSV-1684: Component theme, spam/unspam buttons in coments
U   trunk/bin/upgrading/s2layers/component/layout.s2
Modified: trunk/bin/upgrading/s2layers/component/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/component/layout.s2	2011-08-03 03:23:20 UTC (rev 10791)
+++ trunk/bin/upgrading/s2layers/component/layout.s2	2011-08-03 06:06:01 UTC (rev 10792)
@@ -96,6 +96,8 @@
     property string track_comment_img { noui = 1; }
     property string untrack_comment_img { noui = 1; }
     property string tracking_parent_img { noui = 1; }
+    property string spam_comment_img { noui = 1; }
+    property string unspam_comment_img { noui = 1; }
     property Color outside_border { noui = 1; }
     property Color inside_border { noui = 1; }
     property Color system_border { noui = 1; }
@@ -754,6 +756,8 @@
     $*track_comment_img = palimg_modify("component/btn_track.gif", [PalItem(7, $*entry_fgcolor), PalItem(5, $*comments_bgcolor)]);
     $*untrack_comment_img = palimg_modify("component/btn_tracking.gif", [PalItem(9, $*entry_fgcolor), PalItem(7, $*comments_bgcolor)]);
     $*tracking_parent_img = palimg_modify("component/btn_tracking_thread.gif", [PalItem(8, $*entry_fgcolor), PalItem(6, $*comments_bgcolor)]);
+    $*spam_comment_img = "$*SITEROOT/img/btn_spam.gif";
+    $*unspam_comment_img = "$*SITEROOT/img/btn_unspam.gif";
 
     if($*comp_fgcolor.as_string == "") { $*comp_fgcolor = $*entry_fgcolor; }
     if($*header_fgcolor.as_string == "") { $*header_fgcolor = $*entry_fgcolor; }
@@ -2923,6 +2927,8 @@
         "watch_thread" => $*track_comment_img,
         "unwatch_thread" => $*untrack_comment_img,
         "watching_parent" => $*tracking_parent_img,
+        "spam_comment" => $*spam_comment_img,
+        "unspam_comment" => $*unspam_comment_img,
     };
     foreach var string k ($c.link_keyseq) {
         $link = $c->get_link($k);

Tags: fiskus_boulder, ljcom, s2
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