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; }
.zerosize { width:0px;height:0px;max-width:0px;max-height:0px; }
pre
{
overflow-x: auto;
@ -48,6 +50,12 @@ pre
min-width:6em;
max-width:6em;
width:expression((this.scrollHeight >= 90) ? '90px' : 'auto');
}
.userbar_additionalcontainer {
width:0px;
max-width:0px;
height:0px;
max-height:0px;
overflow:visible;
}
.userbar_additional {
@ -104,4 +112,3 @@ blockquote hr {
padding:0px;
margin:0px;
}

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

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

Loading…
Cancel
Save