Modern design W3C compatibility improved

main
Inga 🏳‍🌈 14 years ago
parent d8080321be
commit 2abe84bb9a
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      static/css/modern/global.css
  3. 9
      templates/Modern/elems/BoardInfo.xslt
  4. 6
      templates/Modern/elems/Header.xslt
  5. 34
      templates/Modern/elems/Main.xslt
  6. 8
      templates/Modern/elems/PostInfo.xslt
  7. 36
      templates/Modern/elems/TextEditor.xslt
  8. 4
      templates/Modern/elems/UserInfoBar.xslt

@ -18,7 +18,7 @@ pre
font-size:10px; font-size:10px;
} }
[pseudolink], .pseudolink { [pseudolink], .pseudolink. a.pseudolink {
cursor:hand; cursor:hand;
} }
[spoiler] [inner] { [spoiler] [inner] {

@ -20,7 +20,6 @@
</h3> </h3>
<xsl:if test="description != ''"> <xsl:if test="description != ''">
<p class="boardcontainer_description"> <p class="boardcontainer_description">
<xsl:attribute name="href">/Forum/Board/<xsl:value-of select="id"/>/Threads/</xsl:attribute>
<xsl:value-of select="description"/> <xsl:value-of select="description"/>
</p> </p>
</xsl:if> </xsl:if>
@ -29,8 +28,8 @@
<p>Ñîîáùåíèé: <xsl:value-of select="totalPosts"/></p> <p>Ñîîáùåíèé: <xsl:value-of select="totalPosts"/></p>
<xsl:if test="subBoards/board"> <xsl:if test="subBoards/board">
<div style="float:left;text-align:left;"> <div style="float:left;text-align:left;">
<xsl:attribute name="onMouseOver">showChildren(this);</xsl:attribute> <xsl:attribute name="onmouseover">showChildren(this);</xsl:attribute>
<xsl:attribute name="onMouseOut">hideChildren(this);</xsl:attribute> <xsl:attribute name="onmouseout">hideChildren(this);</xsl:attribute>
<div default="default"> <div default="default">
<a class="pseudolink">Ïîäðàçäåëû</a> <a class="pseudolink">Ïîäðàçäåëû</a>
</div> </div>
@ -44,8 +43,8 @@
</div> </div>
</xsl:if> </xsl:if>
<div style="float:right;text-align:right;"> <div style="float:right;text-align:right;">
<xsl:attribute name="onMouseOver">showChildren(this);</xsl:attribute> <xsl:attribute name="onmouseover">showChildren(this);</xsl:attribute>
<xsl:attribute name="onMouseOut">hideChildren(this);</xsl:attribute> <xsl:attribute name="onmouseout">hideChildren(this);</xsl:attribute>
<div default="default"> <div default="default">
<a class="pseudolink">Èíôîðìàöèÿ</a> <a class="pseudolink">Èíôîðìàöèÿ</a>
</div> </div>

@ -62,7 +62,7 @@
<xsl:value-of select="currentUrl"/> <xsl:value-of select="currentUrl"/>
</xsl:attribute> </xsl:attribute>
</xsl:if> </xsl:if>
<img border="0"> <img border="0" alt="Switch to classic mode">
<xsl:attribute name="src"> <xsl:attribute name="src">
<xsl:text>/static/images/classic.jpg</xsl:text> <xsl:text>/static/images/classic.jpg</xsl:text>
</xsl:attribute> </xsl:attribute>
@ -77,7 +77,7 @@
<xsl:value-of select="currentUrl"/> <xsl:value-of select="currentUrl"/>
</xsl:attribute> </xsl:attribute>
</xsl:if> </xsl:if>
<img border="0"> <img border="0" alt="Switch to lite mode">
<xsl:attribute name="src"> <xsl:attribute name="src">
<xsl:text>/static/images/light</xsl:text> <xsl:text>/static/images/light</xsl:text>
<xsl:if test="not($isLiteEnabled='true')"> <xsl:if test="not($isLiteEnabled='true')">
@ -96,7 +96,7 @@
<xsl:value-of select="$rssRelativeLink"/> <xsl:value-of select="$rssRelativeLink"/>
</xsl:attribute> </xsl:attribute>
</xsl:if> </xsl:if>
<img border="0"> <img border="0" alt="Switch to RSS mode">
<xsl:attribute name="src"> <xsl:attribute name="src">
<xsl:text>/static/images/rss</xsl:text> <xsl:text>/static/images/rss</xsl:text>
<xsl:if test="not($isRssEnabled='true')"> <xsl:if test="not($isRssEnabled='true')">

@ -7,12 +7,12 @@
<html> <html>
<head> <head>
<meta http-equiv="x-ua-compatible" content="IE=8"/> <meta http-equiv="x-ua-compatible" content="IE=8"/>
<link rel="stylesheet" href="/static/css/modern/global.css?v3.2" type="text/css" /> <link rel="stylesheet" href="/static/css/modern/global.css?v3.3" type="text/css" />
<xsl:comment>[if lte IE 7]&gt;<![CDATA[ <xsl:comment>[if lte IE 7]&gt;<![CDATA[
<link rel="stylesheet" href="/static/css/modern/iefixes.css?v3.2" type="text/css" /> <link rel="stylesheet" href="/static/css/modern/iefixes.css?v3.3" type="text/css" />
]]>&lt;![endif]</xsl:comment> ]]>&lt;![endif]</xsl:comment>
<link rel="stylesheet" type="text/css" skin="skin"> <link rel="stylesheet" type="text/css" skin="skin">
<xsl:attribute name="href">/static/css/modern/penartur.css?v3.2</xsl:attribute> <xsl:attribute name="href">/static/css/modern/penartur.css?v3.3</xsl:attribute>
</link> </link>
<link rel="shortcut icon" href="/static/favicons/smirk.ico" type="image/x-icon" /> <link rel="shortcut icon" href="/static/favicons/smirk.ico" type="image/x-icon" />
<script language="Javascript" type="text/javascript" src="/static/js/common.js"><xsl:text> </xsl:text></script> <script language="Javascript" type="text/javascript" src="/static/js/common.js"><xsl:text> </xsl:text></script>
@ -34,7 +34,7 @@
</title> </title>
</head> </head>
<body> <body>
<xsl:attribute name="onLoad">machicharaInit();</xsl:attribute> <xsl:attribute name="onload">machicharaInit();</xsl:attribute>
<xsl:if test="not(get/param[@name='headers'] = 'false')"> <xsl:if test="not(get/param[@name='headers'] = 'false')">
<xsl:call-template name="header"/> <xsl:call-template name="header"/>
</xsl:if> </xsl:if>
@ -45,29 +45,29 @@
<div style="min-width:20px;width:20px;max-width:20px;overflow:visible;position:absolute;top:4em;right:0px;text-align:right;"> <div style="min-width:20px;width:20px;max-width:20px;overflow:visible;position:absolute;top:4em;right:0px;text-align:right;">
<div style="min-width:20px;width:20px;max-width:20px;overflow:visible;text-align:right;height:260px;min-height:260px;max-height:260px;"> <div style="min-width:20px;width:20px;max-width:20px;overflow:visible;text-align:right;height:260px;min-height:260px;max-height:260px;">
<div style="position:absolute;top:0px;right:20px;display:none" id="pokerPlaceholder"> <div style="position:absolute;top:0px;right:20px;display:none" id="pokerPlaceholder">
<img border="0" src="/static/images/poker.jpg" align="top"/> <img border="0" src="/static/images/poker.jpg" alt="poker" align="top"/>
</div> </div>
<div style="min-width:20px;width:20px;max-width:20px;text-align:right;"> <div style="min-width:20px;width:20px;max-width:20px;text-align:right;">
<xsl:attribute name="onMouseOver">document.getElementById("pokerPlaceholder").style.display = "block";</xsl:attribute> <xsl:attribute name="onmouseover">document.getElementById("pokerPlaceholder").style.display = "block";</xsl:attribute>
<xsl:attribute name="onMouseOut">document.getElementById("pokerPlaceholder").style.display = "none";</xsl:attribute> <xsl:attribute name="onmouseout">document.getElementById("pokerPlaceholder").style.display = "none";</xsl:attribute>
<img border="0" src="/static/images/tab_poker.png" align="top"/> <img border="0" src="/static/images/tab_poker.png" alt="tab_poker" align="top"/>
</div> </div>
</div> </div>
<br/> <br/>
<div style="min-width:20px;width:20px;max-width:20px;overflow:visible;text-align:right;height:260px;min-height:260px;max-height:260px;"> <div style="min-width:20px;width:20px;max-width:20px;overflow:visible;text-align:right;height:260px;min-height:260px;max-height:260px;">
<div style="position:absolute;top:0px;right:20px;display:none" id="courtesansPlaceholder"> <div style="position:absolute;top:0px;right:20px;display:none" id="courtesansPlaceholder">
<img border="0" src="/static/images/courtesans.jpg" align="top"/> <img border="0" src="/static/images/courtesans.jpg" alt="courtesans" align="top"/>
</div> </div>
<div style="min-width:20px;width:20px;max-width:20px;text-align:right;"> <div style="min-width:20px;width:20px;max-width:20px;text-align:right;">
<xsl:attribute name="onMouseOver">document.getElementById("courtesansPlaceholder").style.display = "block";</xsl:attribute> <xsl:attribute name="onmouseover">document.getElementById("courtesansPlaceholder").style.display = "block";</xsl:attribute>
<xsl:attribute name="onMouseOut">document.getElementById("courtesansPlaceholder").style.display = "none";</xsl:attribute> <xsl:attribute name="onmouseout">document.getElementById("courtesansPlaceholder").style.display = "none";</xsl:attribute>
<img border="0" src="/static/images/tab_courtesans.png" align="top"/> <img border="0" src="/static/images/tab_courtesans.png" alt="tab_courtesans" align="top"/>
</div> </div>
</div> </div>
</div> </div>
</xsl:if> </xsl:if>
<div style="display:none"> <div style="display:none">
<form action="" method="POST" id="systemForm"> <form action="" method="post" id="systemForm">
<input type="hidden" name="data"/> <input type="hidden" name="data"/>
</form> </form>
</div> </div>
@ -303,10 +303,10 @@
<xsl:value-of select="name"/> <xsl:value-of select="name"/>
<xsl:choose> <xsl:choose>
<xsl:when test="isAdministrator='true'"> <xsl:when test="isAdministrator='true'">
<img src="/static/images/adm.gif" border="0"/> <img src="/static/images/adm.gif" alt="Administrator" border="0"/>
</xsl:when> </xsl:when>
<xsl:when test="isModerator='true'"> <xsl:when test="isModerator='true'">
<img src="/static/images/mod.gif" border="0"/> <img src="/static/images/mod.gif" alt="Moderator" border="0"/>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
</a> </a>
@ -321,10 +321,10 @@
<xsl:value-of select="name"/> <xsl:value-of select="name"/>
<xsl:choose> <xsl:choose>
<xsl:when test="isAdministrator='true'"> <xsl:when test="isAdministrator='true'">
<img src="/static/images/adm.gif" border="0"/> <img src="/static/images/adm.gif" alt="Administrator" border="0"/>
</xsl:when> </xsl:when>
<xsl:when test="isModerator='true'"> <xsl:when test="isModerator='true'">
<img src="/static/images/mod.gif" border="0"/> <img src="/static/images/mod.gif" alt="Moderator" border="0"/>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose>
</a> </a>

@ -14,8 +14,8 @@
<xsl:if test="$isReplyDisabled='false'"> <xsl:if test="$isReplyDisabled='false'">
<xsl:if test="/root/session/sessionKey"> <xsl:if test="/root/session/sessionKey">
<xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/Reply/</xsl:attribute> <xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/Reply/</xsl:attribute>
<xsl:attribute name="onClick">submitSelText(this.href);return false;</xsl:attribute> <xsl:attribute name="onclick">submitSelText(this.href);return false;</xsl:attribute>
<xsl:attribute name="onMouseDown">submitSelText(this.href);return false;</xsl:attribute> <xsl:attribute name="onmousedown">submitSelText(this.href);return false;</xsl:attribute>
</xsl:if> </xsl:if>
</xsl:if> </xsl:if>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor"> <xsl:apply-templates select="postDate/date" mode="navigationImageFor">
@ -27,8 +27,8 @@
<a> <a>
<xsl:if test="/root/session/sessionKey"> <xsl:if test="/root/session/sessionKey">
<xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/PMReply/</xsl:attribute> <xsl:attribute name="href">/Post/<xsl:value-of select="id"/>/PMReply/</xsl:attribute>
<xsl:attribute name="onClick">submitSelText(this.href);return false;</xsl:attribute> <xsl:attribute name="onclick">submitSelText(this.href);return false;</xsl:attribute>
<xsl:attribute name="onMouseDown">submitSelText(this.href);return false;</xsl:attribute> <xsl:attribute name="onmousedown">submitSelText(this.href);return false;</xsl:attribute>
</xsl:if> </xsl:if>
<xsl:apply-templates select="postDate/date" mode="navigationImageFor"> <xsl:apply-templates select="postDate/date" mode="navigationImageFor">
<xsl:with-param name="src">email2.gif</xsl:with-param> <xsl:with-param name="src">email2.gif</xsl:with-param>

@ -9,9 +9,9 @@
<xsl:text>Ñîîáùåíèå</xsl:text> <xsl:text>Ñîîáùåíèå</xsl:text>
<br/> <br/>
<textarea cols="100" tabindex="2" rows="10" class="formboxes" name="Body"> <textarea cols="100" tabindex="2" rows="10" class="formboxes" name="Body">
<xsl:attribute name="onKeyUp">storeCaret(this);</xsl:attribute> <xsl:attribute name="onkeyup">storeCaret(this);</xsl:attribute>
<xsl:attribute name="onClick">storeCaret(this);</xsl:attribute> <xsl:attribute name="onclick">storeCaret(this);</xsl:attribute>
<xsl:attribute name="onKeyPress">checkKeyPressed(document.replier,event,false);</xsl:attribute> <xsl:attribute name="onkeypress">checkKeyPressed(document.replier,event,false);</xsl:attribute>
<xsl:choose> <xsl:choose>
<xsl:when test="bodyUBB"> <xsl:when test="bodyUBB">
<xsl:value-of select="bodyUBB"/> <xsl:value-of select="bodyUBB"/>
@ -40,59 +40,59 @@ function insertInBody(str) {
</tr> </tr>
<tr> <tr>
<td valign="top" align="left" nowrap="nowrap"> <td valign="top" align="left" nowrap="nowrap">
<a pseudolink="pseudolink" onClick="insertInBody(' :) ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :) ');">
<img src="/static/smileys/smile.gif" border="0" alt="smile" /> <img src="/static/smileys/smile.gif" border="0" alt="smile" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :( ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :( ');">
<img src="/static/smileys/frown.gif" border="0" alt="frown" /> <img src="/static/smileys/frown.gif" border="0" alt="frown" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :o ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :o ');">
<img src="/static/smileys/blush.gif" border="0" alt="blush" /> <img src="/static/smileys/blush.gif" border="0" alt="blush" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :D ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :D ');">
<img src="/static/smileys/laugh.gif" border="0" alt="laugh" /> <img src="/static/smileys/laugh.gif" border="0" alt="laugh" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' ;) ');"> <a pseudolink="pseudolink" onclick="insertInBody(' ;) ');">
<img src="/static/smileys/wink.gif" border="0" alt="wink" /> <img src="/static/smileys/wink.gif" border="0" alt="wink" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :p ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :p ');">
<img src="/static/smileys/tongue.gif" border="0" alt="tongue" /> <img src="/static/smileys/tongue.gif" border="0" alt="tongue" />
</a> </a>
<br/> <br/>
<a pseudolink="pseudolink" onClick="insertInBody(' :cool: ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :cool: ');">
<img src="/static/smileys/cool.gif" border="0" alt="cool" /> <img src="/static/smileys/cool.gif" border="0" alt="cool" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :crazy: ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :crazy: ');">
<img src="/static/smileys/crazy.gif" border="0" alt="crazy" /> <img src="/static/smileys/crazy.gif" border="0" alt="crazy" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :mad: ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :mad: ');">
<img src="/static/smileys/mad.gif" border="0" alt="mad" /> <img src="/static/smileys/mad.gif" border="0" alt="mad" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :shocked: ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :shocked: ');">
<img src="/static/smileys/shocked.gif" border="0" alt="shocked" /> <img src="/static/smileys/shocked.gif" border="0" alt="shocked" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :smirk: ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :smirk: ');">
<img src="/static/smileys/smirk.gif" border="0" alt="smirk" /> <img src="/static/smileys/smirk.gif" border="0" alt="smirk" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :grin: ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :grin: ');">
<img src="/static/smileys/grin.gif" border="0" alt="grin" /> <img src="/static/smileys/grin.gif" border="0" alt="grin" />
</a> </a>
<br/> <br/>
<a pseudolink="pseudolink" onClick="insertInBody(' :ooo: ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :ooo: ');">
<img src="/static/smileys/ooo.gif" border="0" alt="ooo" /> <img src="/static/smileys/ooo.gif" border="0" alt="ooo" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
<a pseudolink="pseudolink" onClick="insertInBody(' :confused: ');"> <a pseudolink="pseudolink" onclick="insertInBody(' :confused: ');">
<img src="/static/smileys/confused.gif" border="0" alt="confused" /> <img src="/static/smileys/confused.gif" border="0" alt="confused" />
</a> </a>
<xsl:text> &#160; </xsl:text> <xsl:text> &#160; </xsl:text>
@ -258,7 +258,7 @@ function insertInBody(str) {
</table> </table>
<br/> <br/>
<input type="checkbox" name="preview" value="1" class="formboxes" onClick="changeActionToSelf(this)" id="preview" /> <input type="checkbox" name="preview" value="1" class="formboxes" onclick="changeActionToSelf(this)" id="preview" />
<label for="preview"> ß õî÷ó ïðåäâàðèòåëüíî ïðîñìîòðåòü ñîîáùåíèå ïåðåä îòïðàâêîé</label> <label for="preview"> ß õî÷ó ïðåäâàðèòåëüíî ïðîñìîòðåòü ñîîáùåíèå ïåðåä îòïðàâêîé</label>
<xsl:if test="bodyIntermediate"> <xsl:if test="bodyIntermediate">
<br/> <br/>

@ -3,8 +3,8 @@
<xsl:template match="user" mode="userInfoBar"> <xsl:template match="user" mode="userInfoBar">
<div class="userbar"> <div class="userbar">
<xsl:attribute name="onMouseOver">showChildren(this);</xsl:attribute> <xsl:attribute name="onmouseover">showChildren(this);</xsl:attribute>
<xsl:attribute name="onMouseOut">hideChildren(this);</xsl:attribute> <xsl:attribute name="onmouseout">hideChildren(this);</xsl:attribute>
<div class="userbar_avatar" default="default"> <div class="userbar_avatar" default="default">
<a> <a>
<xsl:attribute name="href">/Users/User/<xsl:value-of select="id"/>/Info/</xsl:attribute> <xsl:attribute name="href">/Users/User/<xsl:value-of select="id"/>/Info/</xsl:attribute>

Loading…
Cancel
Save