Fixed a bug in post's display

main
Inga 🏳‍🌈 14 years ago
parent cdd6516c59
commit 9d3bca576d
  1. 2
      Builder/IISMainHandler/build.txt
  2. 9
      static/css/modern/global.css
  3. 1
      templates/Modern/elems/PostInfo.xslt
  4. 44
      templates/Modern/elems/UserInfoBar.xslt

@ -1,5 +1,7 @@
body { font-size:11pt; } body { font-size:11pt; }
.zerosize { width:0px;height:0px;max-width:0px;max-height:0px; }
pre pre
{ {
overflow-x: auto; overflow-x: auto;
@ -48,6 +50,12 @@ pre
min-width:6em; min-width:6em;
max-width:6em; max-width:6em;
width:expression((this.scrollHeight >= 90) ? '90px' : 'auto'); width:expression((this.scrollHeight >= 90) ? '90px' : 'auto');
}
.userbar_additionalcontainer {
width:0px;
max-width:0px;
height:0px;
max-height:0px;
overflow:visible; overflow:visible;
} }
.userbar_additional { .userbar_additional {
@ -104,4 +112,3 @@ blockquote hr {
padding:0px; padding:0px;
margin:0px; margin:0px;
} }

@ -110,6 +110,7 @@
</div> </div>
</xsl:if> </xsl:if>
</div> </div>
<div style="clear:both;" class="zerosize"><xsl:comment>zerosize</xsl:comment></div>
</div> </div>
</xsl:template> </xsl:template>

@ -20,29 +20,31 @@
</xsl:choose> </xsl:choose>
</a> </a>
</div> </div>
<div class="userbar_additional" style="display:none"> <div class="userbar_additionalcontainer" style="display:none">
<xsl:if test="avatar"> <div class="userbar_additional">
<div class="userbar_name"> <xsl:if test="avatar">
<xsl:apply-templates select="current()" mode="userLink"/> <div class="userbar_name">
<xsl:apply-templates select="current()" mode="userLink"/>
</div>
</xsl:if>
<div class="userbar_title">
<xsl:value-of select="title"/>
</div> </div>
</xsl:if> <div class="userbar_regdate">
<div class="userbar_title"> <xsl:text>Ðåã.: </xsl:text>
<xsl:value-of select="title"/> <xsl:apply-templates select="regDate/date" mode="date"/>
</div> </div>
<div class="userbar_regdate"> <div class="userbar_totalposts">
<xsl:text>Ðåã.: </xsl:text> <xsl:text>Ñîîáùåíèé: </xsl:text>
<xsl:apply-templates select="regDate/date" mode="date"/> <xsl:value-of select="totalPosts"/>
</div>
<div class="userbar_totalposts">
<xsl:text>Ñîîáùåíèé: </xsl:text>
<xsl:value-of select="totalPosts"/>
</div>
<xsl:if test="location!=''">
<div class="userbar_location">
<xsl:text>Èç: </xsl:text>
<xsl:value-of select="location"/>
</div> </div>
</xsl:if> <xsl:if test="location!=''">
<div class="userbar_location">
<xsl:text>Èç: </xsl:text>
<xsl:value-of select="location"/>
</div>
</xsl:if>
</div>
</div> </div>
</div> </div>
</xsl:template> </xsl:template>

Loading…
Cancel
Save