parent
7202e45dde
commit
2025c058f7
@ -1 +1 @@ |
||||
1171 |
||||
1183 |
@ -0,0 +1,122 @@ |
||||
<?xml version="1.0" encoding="Windows-1251"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> |
||||
<xsl:import href="elems\Main.xslt"/> |
||||
<xsl:template name="specificTitle">Íàñòðîéêà àâàòàðîê</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="tdheader"> |
||||
<xsl:text>Íàñòðîéêà àâàòàðîê</xsl:text> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<p>Âàøè àâàòàðêè:</p> |
||||
<xsl:apply-templates select="avatars/upload"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<form method="post" action="/do/Avatars/SetAsDefault"> |
||||
<input type="hidden" name="uploadId" value=""/> |
||||
<input type="submit" class="buttons" value="Îòêëþ÷èòü àâàòàðêó"> |
||||
<xsl:if test="not(/root/currentAvatar)"> |
||||
<xsl:attribute name="disabled">disabled</xsl:attribute> |
||||
</xsl:if> |
||||
</input> |
||||
</form> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<br/> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="tdheader"> |
||||
<xsl:text>Âûáåðèòå àâàòàðêó äëÿ çàãðóçêè</xsl:text> |
||||
</td> |
||||
</tr> |
||||
<tr class="darktable"> |
||||
<td> |
||||
<xsl:text>Ìàêñèìàëüíûé ðàçìåð ôàéëà – 80ÊÁ, äîïóñòèìûå ðàçðåøåíèÿ: gif, jpg, png, svg, jpe, jpeg, jfif, jif</xsl:text> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<form method="post" action="/do/Avatars/Add" enctype="multipart/form-data"> |
||||
<input type="file" name="file" class="formboxes" /><br/> |
||||
<input type="submit" name="buttlogin" value="Îòïðàâèòü!" class="buttons" /> |
||||
</form> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<br/> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr class="tdheader"> |
||||
<td> |
||||
<xsl:text>Èëè óêàæèòå íîìåð ôàéëà â àïëîàäå</xsl:text> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<form method="post" action="/do/Avatars/Add"> |
||||
<input type="text" name="uploadId"/><br/> |
||||
<input type="submit" name="buttlogin" value="Îòïðàâèòü!" class="buttons" /> |
||||
</form> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
<xsl:template match="upload"> |
||||
<table border="0"> |
||||
<tr> |
||||
<td valign="middle"> |
||||
<img alt="" class="avatar"> |
||||
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute> |
||||
</img> |
||||
</td> |
||||
<td valign="middle"> |
||||
<form method="post" action="/do/Avatars/SetAsDefault"> |
||||
<input type="hidden" name="uploadId"> |
||||
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> |
||||
</input> |
||||
<input type="submit" class="buttons" value="Ñäåëàòü ñòàíäàðòíîé"> |
||||
<xsl:if test="/root/currentAvatar/upload/id = id"> |
||||
<xsl:attribute name="disabled">disabled</xsl:attribute> |
||||
</xsl:if> |
||||
</input> |
||||
</form><br/> |
||||
<form method="post" action="/do/Avatars/Remove"> |
||||
<input type="hidden" name="uploadId"> |
||||
<xsl:attribute name="value"><xsl:value-of select="id"/></xsl:attribute> |
||||
</input> |
||||
<input type="submit" class="buttons" value="Óäàëèòü"> |
||||
<xsl:if test="/root/currentAvatar/upload/id = id"> |
||||
<xsl:attribute name="disabled">disabled</xsl:attribute> |
||||
</xsl:if> |
||||
</input> |
||||
</form> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,48 @@ |
||||
<?xml version="1.0" encoding="Windows-1251"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> |
||||
<xsl:import href="..\elems\Main.xslt"/> |
||||
<xsl:template name="specificTitle">Äîáàâëåíèå àâàòàðêè</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="tdheader"> |
||||
<xsl:text>Äîáàâëåíèå àâàòàðêè</xsl:text> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<p>Âàøà àâàòàðêà áûëà óñïåøíî çàãðóæåíà</p> |
||||
<p align="center"> |
||||
<xsl:text>[←] </xsl:text> |
||||
<a id="actionLink_left"> |
||||
<xsl:attribute name="href">/My/Avatars/</xsl:attribute> |
||||
<xsl:text>Âåðíóòüñÿ ê íàñòðîéêàì àâàòàðîê</xsl:text> |
||||
</a> |
||||
<xsl:text> | </xsl:text> |
||||
<a id="actionLink_right"> |
||||
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="uploadedId"/></xsl:attribute> |
||||
<xsl:text>Ïðîñìîòðåòü àâàòàðêó</xsl:text> |
||||
</a> |
||||
<xsl:text> [→]</xsl:text> |
||||
</p> |
||||
<script type="text/javascript" language="Javascript"> |
||||
<xsl:text>assignArrowsHandlers();</xsl:text> |
||||
</script> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,48 @@ |
||||
<?xml version="1.0" encoding="Windows-1251"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> |
||||
<xsl:import href="..\elems\Main.xslt"/> |
||||
<xsl:template name="specificTitle">Óäàëåíèå àâàòàðêè</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="tdheader"> |
||||
<xsl:text>Óäàëåíèå àâàòàðêè</xsl:text> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<p>Âàøà àâàòàðêà áûëà óñïåøíî óäàëåíà. Òåì íå ìåíåå, â àïëîàäå îíà îñòàëàñü - àâàòàðêè óäàëÿþòñÿ òîëüêî èç ñïèñêà àâàòàðîê.</p> |
||||
<p align="center"> |
||||
<xsl:text>[←] </xsl:text> |
||||
<a id="actionLink_left"> |
||||
<xsl:attribute name="href">/My/Avatars/</xsl:attribute> |
||||
<xsl:text>Âåðíóòüñÿ ê íàñòðîéêàì àâàòàðîê</xsl:text> |
||||
</a> |
||||
<xsl:text> | </xsl:text> |
||||
<a id="actionLink_right"> |
||||
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="uploadedId"/></xsl:attribute> |
||||
<xsl:text>Ïðîñìîòðåòü óäàë¸ííóþ àâàòàðêó</xsl:text> |
||||
</a> |
||||
<xsl:text> [→]</xsl:text> |
||||
</p> |
||||
<script type="text/javascript" language="Javascript"> |
||||
<xsl:text>assignArrowsHandlers();</xsl:text> |
||||
</script> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,48 @@ |
||||
<?xml version="1.0" encoding="Windows-1251"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> |
||||
<xsl:import href="..\elems\Main.xslt"/> |
||||
<xsl:template name="specificTitle">Èçìåíåíèå àâàòàðêè</xsl:template> |
||||
<xsl:template name="specific"> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="tdheader"> |
||||
<xsl:text>Èçìåíåíèå àâàòàðêè</xsl:text> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="3" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<p>Íîâàÿ àâàòàðêà áûëà óñïåøíî óñòàíîâëåíà</p> |
||||
<p align="center"> |
||||
<xsl:text>[←] </xsl:text> |
||||
<a id="actionLink_left"> |
||||
<xsl:attribute name="href">/My/Avatars/</xsl:attribute> |
||||
<xsl:text>Âåðíóòüñÿ ê íàñòðîéêàì àâàòàðîê</xsl:text> |
||||
</a> |
||||
<xsl:text> | </xsl:text> |
||||
<a id="actionLink_right"> |
||||
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="uploadedId"/></xsl:attribute> |
||||
<xsl:text>Ïðîñìîòðåòü àâàòàðêó</xsl:text> |
||||
</a> |
||||
<xsl:text> [→]</xsl:text> |
||||
</p> |
||||
<script type="text/javascript" language="Javascript"> |
||||
<xsl:text>assignArrowsHandlers();</xsl:text> |
||||
</script> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue