parent
dca8ed5ff8
commit
20c5fb0be2
@ -1 +1 @@ |
||||
286 |
||||
292 |
@ -1 +1 @@ |
||||
18 |
||||
24 |
@ -0,0 +1,45 @@ |
||||
<?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:import href="elems\UploadInfo.xslt"/> |
||||
<xsl:template name="specific"> |
||||
<table width="95%" align="center" cellpadding="1" cellspacing="1" class="tablesurround"> |
||||
<tr> |
||||
<td> |
||||
<table cellpadding="0" cellspacing="1" width="100%" class="tableborders"> |
||||
<tr class="tdheader"> |
||||
<td> |
||||
<table width="100%" cellspacing="1" cellpadding="3" border="0"> |
||||
<tr> |
||||
<td> |
||||
<xsl:text>ñòðàíèöû:</xsl:text> |
||||
<xsl:apply-templates select="uploads/pageOuter" mode="withCurrent"> |
||||
<xsl:with-param name="baseLink">/Upload/List/</xsl:with-param> |
||||
</xsl:apply-templates> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
<xsl:apply-templates select="uploads/upload"/> |
||||
<tr class="tdheader"> |
||||
<td> |
||||
<table width="100%" cellspacing="1" cellpadding="3" border="0"> |
||||
<tr> |
||||
<td> |
||||
<xsl:text>ñòðàíèöû:</xsl:text> |
||||
<xsl:apply-templates select="uploads/pageOuter" mode="withCurrent"> |
||||
<xsl:with-param name="baseLink">/Upload/List/</xsl:with-param> |
||||
</xsl:apply-templates> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,34 @@ |
||||
<?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="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 class="darktable"> |
||||
<td> |
||||
<xsl:text>Âûáåðèòå ôàéë äëÿ çàãðóçêè</xsl:text> |
||||
<xsl:text>Ìàêñèìàëüíûé ðàçìåð ôàéëà – 1ÌÁ, äîïóñòèìûå ðàçðåøåíèÿ: gif, jpg, png</xsl:text> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<form method="post" action="/do/Upload/"> |
||||
<input type="file" name="uploaded" class="formboxes" /><br/> |
||||
<input type="submit" name="buttlogin" value="Îòïðàâèòü!" class="buttons" /> |
||||
</form> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,61 @@ |
||||
<?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="UserInfoBar.xslt"/> |
||||
<xsl:template match="upload"> |
||||
<tr> |
||||
<td> |
||||
<table width="100%" cellspacing="1" cellpadding="3" border="0"> |
||||
<tr> |
||||
<td width="120" valign="top" class="darktable" rowspan="2"> |
||||
<xsl:apply-templates select="uploader/user" mode="userInfoBar"/> |
||||
</td> |
||||
<td class="subjecttable"> |
||||
<a target="_blank" class="separate"> |
||||
<xsl:attribute name="href">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute> |
||||
<img border="0" src="/static/images/book-read.gif" alt="" style="vertical-align: text-bottom" /> |
||||
</a> |
||||
<b class="separate"><xsl:value-of select="filename"/></b> |
||||
<xsl:if test="parentPost/post"> |
||||
<font class="small separate"> |
||||
<xsl:text>[</xsl:text> |
||||
<xsl:value-of select="size"/> |
||||
<xsl:text>]</xsl:text> |
||||
</font> |
||||
</xsl:if> |
||||
<br /> |
||||
<font class="small" style="padding-left:2em"><xsl:apply-templates select="uploadDate/date" mode="dateTime"/></font> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="lighttable"> |
||||
<table width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed"> |
||||
<tr> |
||||
<td> |
||||
<br /> |
||||
<font class="post"> |
||||
<img style="max-width:800px;max-height:600px;"> |
||||
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="id"/>/</xsl:attribute> |
||||
</img> |
||||
</font> |
||||
</td> |
||||
</tr> |
||||
<xsl:if test="uploader/user/signature != ''"> |
||||
<tr> |
||||
<td> |
||||
<div style="width:100%;max-height:50px;height: expression( this.scrollHeight > 49 ? '50px' : 'auto' );overflow:hidden"> |
||||
<font size="-2"><xsl:value-of select="poster/user/signature"/><br /></font> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</xsl:if> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</xsl:template> |
||||
|
||||
|
||||
</xsl:stylesheet> |
@ -0,0 +1,54 @@ |
||||
<?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:template match="user" mode="userInfoBar"> |
||||
<table border="0" cellpadding="0" cellspacing="0"> |
||||
<tr> |
||||
<td> |
||||
<a> |
||||
<xsl:attribute name="href">/User/<xsl:value-of select="id"/>/</xsl:attribute> |
||||
<xsl:value-of select="name"/> |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="small"> |
||||
<b><xsl:value-of select="title"/></b> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="small"> |
||||
<i></i> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="small"> |
||||
<i><font color="red"></font></i> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="small"> |
||||
<img src="/user/7901.jpg" alt="" width="80" height="80" /> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="small"> |
||||
<xsl:text>Ðåã.: </xsl:text> |
||||
<xsl:apply-templates select="regDate/date" mode="date"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="small"> |
||||
<xsl:text>Ñîîáùåíèé: </xsl:text> |
||||
<xsl:value-of select="totalPosts"/> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="small"> |
||||
<xsl:text>Èç: </xsl:text> |
||||
<xsl:value-of select="location"/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
@ -0,0 +1,33 @@ |
||||
<?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="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"> |
||||
<xsl:text>Ôàéë óñïåøíî çàãðóæåí.</xsl:text> |
||||
<br/> |
||||
<xsl:text>Òåïåðü âû ìîæåòå âñòàâëÿòü ññûëêè íà íåãî ñ ïîìîùüþ òýãà [uploadLink=</xsl:text> |
||||
<xsl:value-of select="uploadedId"/> |
||||
<xsl:text>]</xsl:text> |
||||
<br/> |
||||
<xsl:text>Äëÿ âñòàâêè êàðòèíêè âîñïîëüçóéòåñü òýãîì [uploadImage=</xsl:text> |
||||
<xsl:value-of select="uploadedId"/> |
||||
<xsl:text>]</xsl:text> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue