1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: cogadmin
- (C) Copyright IBM Corp. 2005, 2013
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
- -->
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:uic="http://developer.cognos.com/schemas/uic/presentation/markup/" xmlns:pgr="http://developer.cognos.com/schemas/uic/presentation/cogadminpager/" xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:out="dummy-uri" exclude-result-prefixes="xsl pgr xts uic">
- <xsl:output method="xml" encoding="UTF-8" indent="no"/>
- <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
- <!--
-
- -->
- <xsl:template match="pgr:cogadminPagerTemplates">
- <out:template name="pgr:cogadminPager">
- <out:param name="pagerName" select="''"/>
- <out:param name="pageStart" select="''"/>
- <out:param name="pageEnd" select="''"/>
- <out:param name="pageMax" select="''"/>
- <out:param name="pageMore" select="''"/>
- <out:param name="linesPerPage" select="''"/>
-
- <uic:paginations>
- <uic:fromLabel>
- <xts:string id="IDS_PAGER_FROM"/>
- </uic:fromLabel>
- <uic:from>
- <out:value-of select="$pageStart"/>
- </uic:from>
- <uic:toLabel>
- <xts:string id="IDS_PAGER_TO"/>
- </uic:toLabel>
- <uic:to>
- <out:value-of select="$pageEnd"/>
- </uic:to>
- <uic:maxObjects>
- <out:value-of select="$pageMax"/>
- </uic:maxObjects>
- <uic:linesPerPage>
- <out:value-of select="$linesPerPage"/>
- </uic:linesPerPage>
- <uic:goto/>
- <uic:first>
- <out:if test="$pageStart <= 1 or $pageStart ='' or (not ($pageStart))">
- <uic:disabled>true</uic:disabled>
- </out:if>
- </uic:first>
- <uic:previous>
- <out:if test="$pageStart <= 1 or $pageStart = '' or (not ($pageStart))">
- <uic:disabled>true</uic:disabled>
- </out:if>
- </uic:previous>
- <uic:next>
- <out:if test="$pageMore = 'false' or $pageMore = '' or (not ($pageMore))">
- <uic:disabled>true</uic:disabled>
- </out:if>
- </uic:next>
- <uic:last>
- <out:if test="$pageMore = 'false' or $pageMore = '' or (not ($pageMore))">
- <uic:disabled>true</uic:disabled>
- </out:if>
- </uic:last>
- </uic:paginations>
- </out:template>
- </xsl:template>
- <xsl:template match="*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
|