gzuncompress
|
Server IP : 172.19.0.2 / Your IP : 216.73.216.178 Web Server : Apache/2.4 System : Linux 880f91b28fd7 5.15.0-117-generic #127~20.04.1-Ubuntu SMP Thu Jul 11 15:36:12 UTC 2024 x86_64 User : tomlinde ( 155017) PHP Version : 5.6.40 Disable Function : dl, syslog, opcache_get_status MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0700) : /home/webpages/lima-city/tomlinde/html/videoandreagallery/internals/themes/default/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] | [ Lock Shell ] | [ Logout ] |
|---|
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template name="imageArray"> <script type="text/javascript"> <!-- This template sets several Javascript variables: - myPics (Array with all pictures of the current folder) - currentPic (Variable containing the number of the first picture) - activeFolder (path to the current folder) - cacheSize (Array of the resolution of the avaiable cache resolutions) --> var myPics=new Array(); <xsl:choose> <xsl:when test="/page/active = 'Other'"> <xsl:for-each select="/page/img"><xsl:sort select="." /> myPics[<xsl:value-of select="position()-1"/>]="<xsl:value-of select="name"/>"; <xsl:if test="./@current = 'true'">var currentPic = <xsl:value-of select="position()-1"/>;</xsl:if> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:for-each select="//img[../path = /page/active] "><xsl:sort select="name" /> myPics[<xsl:value-of select="position()-1"/>]="<xsl:value-of select="name"/>"; <xsl:if test="./@current = 'true'">var currentPic = <xsl:value-of select="position()-1"/>;</xsl:if> </xsl:for-each> </xsl:otherwise> </xsl:choose> var activeFolder = "<xsl:value-of select="/page/active"/>"; var cacheSizes = new Array(); <xsl:for-each select="/page/cache/size"><xsl:sort select="number(substring-before(.,'x'))" data-type="number" /> cacheSizes[<xsl:value-of select="position()-1"/>]="<xsl:value-of select="."/>"; </xsl:for-each> </script> <script src="internals/themes/default/common.js" type="text/javascript"></script> </xsl:template> </xsl:stylesheet>