Oracle (ex_ioracle) wrote in changelog,
Oracle
ex_ioracle
changelog

[livejournal] r17384: LJSV-1188: dont see custom userhead at f...

Committer: skomarov
LJSV-1188: dont see custom userhead at friends page
U   trunk/bin/upgrading/s2layers/deardiary/layout.s2
U   trunk/bin/upgrading/s2layers/lickable/layout.s2
U   trunk/bin/upgrading/s2layers/sturdygesture/layout.s2
Modified: trunk/bin/upgrading/s2layers/deardiary/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/deardiary/layout.s2	2010-09-15 19:28:28 UTC (rev 17383)
+++ trunk/bin/upgrading/s2layers/deardiary/layout.s2	2010-09-16 02:34:12 UTC (rev 17384)
@@ -533,8 +533,8 @@
 content: ": ";
 }
 .entryposter img, .collapsed_entry img {
-height: 14px;
-width: 10px;
+height: 17px;
+width: 17px;
 }
 
 .entryheader .entrytimestamp {
@@ -641,7 +641,7 @@
 function UserLite::lay_as_string() : string {
     var Image uiimg = userinfoicon($this);
     var string dir = $.journal_type == "C" ? "community" : "users";
-    return "<span class='ljuser_$.username' style='white-space:nowrap;'><a href='$*SITEROOT/userinfo.bml?user=$.username'><img src='$uiimg.url' alt='[info]' width='$uiimg.width' height='$uiimg.height' style='vertical-align:bottom;border:0;' /></a><a href='$*SITEROOT/$dir/$.username/'><b>$.username</b></a></span>";
+	return $this->ljuser();
 }
 
 function print_stylesheet() {

Modified: trunk/bin/upgrading/s2layers/lickable/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/lickable/layout.s2	2010-09-15 19:28:28 UTC (rev 17383)
+++ trunk/bin/upgrading/s2layers/lickable/layout.s2	2010-09-16 02:34:12 UTC (rev 17384)
@@ -801,8 +801,8 @@
 content: ": ";
 }
 .entryposter img, .collapsed_entry img {
-height: 12px;
-width: 10px;
+height: 17px;
+width: 17px;
 }
 
 .entryheader .entrytimestamp {
@@ -913,7 +913,7 @@
 function UserLite::lay_as_string() : string {
     var Image uiimg = userinfoicon($this);
     var string dir = $.journal_type == "C" ? "community" : "users";
-    return "<span class='ljuser_$.username' style='white-space:nowrap;'><a href='$*SITEROOT/userinfo.bml?user=$.username'><img src='$uiimg.url' alt='[info]' width='$uiimg.width' height='$uiimg.height' style='vertical-align:bottom;border:0;' /></a><a href='$*SITEROOT/$dir/$.username/'><b>$.username</b></a></span>";
+	return $this->ljuser();
 }
 
 function print_stylesheet() {

Modified: trunk/bin/upgrading/s2layers/sturdygesture/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/sturdygesture/layout.s2	2010-09-15 19:28:28 UTC (rev 17383)
+++ trunk/bin/upgrading/s2layers/sturdygesture/layout.s2	2010-09-16 02:34:12 UTC (rev 17384)
@@ -203,6 +203,13 @@
    background: none;
 }
 
+.box h1 .ljuser A,
+.box h2 .ljuser A,
+.box h3 .ljuser A {
+	background: none;
+	color: #0000FF;
+	}
+
 #navbar .box div.userpic {
 margin: 1em;
 text-align: center;
@@ -656,7 +663,7 @@
 function colored_ljuser(UserLite u, Color fg, Color bg) : string {
     var Image uiimg = userinfoicon($u);
     var string dir = $u.journal_type == "C" ? "community" : "users";
-    return """<span class="ljuser" style="white-space:nowrap;"><a href="$*SITEROOT/userinfo.bml?user=$u.username" style="color: $fg; background: $bg;"><img src="$uiimg.url" alt="[i]" width="$uiimg.width" height="$uiimg.height" style="vertical-align:bottom;border:0;" /></a><a href="$*SITEROOT/$dir/$u.username/" style="color: $fg; background: $bg; font-weight: bold;">$u.username</a></span>""";
+	return $u->ljuser();
 }
 function FriendsPage::print_entry_poster(Entry e) {
     var Friend f = $.friends{$e.journal.username};

Tags: ioracle, livejournal, 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