|
From: <sv...@de...> - 2005-05-19 12:35:10
|
Author: svera
Date: 2005-05-19 08:34:59 -0400 (Thu, 19 May 2005)
New Revision: 1094
Modified:
humano2/trunk/web/portal/site/xsl/showview.xsl
Log:
* File more clean
Modified: humano2/trunk/web/portal/site/xsl/showview.xsl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- humano2/trunk/web/portal/site/xsl/showview.xsl 2005-05-19 12:33:59 UT=
C (rev 1093)
+++ humano2/trunk/web/portal/site/xsl/showview.xsl 2005-05-19 12:34:59 UT=
C (rev 1094)
@@ -155,9 +155,6 @@
padding-left: 10px;
}
=20
-
-
-
</style>
<xsl:variable name=3D"RowCount" select=3D"count(/instances/instance)"/=
>
<xsl:variable name=3D"FieldCount" select=3D"count(/instances/attribute=
s/attribute/value)"/>
@@ -166,7 +163,8 @@
<xsl:variable name=3D"order" select=3D"/instances/infoView/order"/>
<xsl:variable name=3D"idEntity" select=3D"/instances/infoView/id_entit=
y"/>
<xsl:variable name=3D"classId" select=3D"/instances/infoView/classId"/=
>
-
+ <xsl:variable name=3D"nextPage" select=3D"/instances/infoView/nextPage=
"/>
+ <xsl:variable name=3D"prevPage" select=3D"/instances/infoView/prevPage=
"/>
<xsl:choose>
<xsl:when test=3D"$RowCount > 0 ">
<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D=
"0">
@@ -196,12 +194,10 @@
<td id=3D"RowTd{position()}" width=3D"9%" class=3D"celcontlist=
Sel1">
<input type=3D"checkbox" name=3D"intEntityId" value=3D"{$id_e=
ntity}" onClick=3D"CCA(this,'RowTd{$pos}')" onblur=3D"CCA(this,'RowTd{$po=
s}')"/>
</td>
- =09
<xsl:variable name=3D"IdRead" select=3D"value[position()=3D 1]=
/IdRead"/>
<xsl:for-each select=3D"value">
<xsl:variable name=3D"pos1" select=3D"position()-1"/>
<xsl:if test=3D"show =3D'1'">
- =09
<td class=3D"celcontlistSel1" id=3D"RowTd{$pos}">
<xsl:variable name=3D"idurl">
<xsl:choose>
@@ -213,16 +209,15 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
-
<xsl:if test=3D"text !=3D ''">
<font size=3D"1" face=3D"Verdana, Arial, Helvetica, sans=
-serif">
<xsl:choose>
<xsl:when test=3D"isPrimary=3D'true'">
- =09
<a href=3D"Data_structured.aspx?id_entity=3D{$idurl}&a=
mp;display=3DreadXslt.aspx&&iniClass=3D{/instances/infoView/class=
Id}&idView=3D{/instances/infoView/id_entity}&action=3Dread&fo=
rmsId=3D{$IdRead}" target=3D"mainFrame"><xsl:value-of select=3D"text"/></=
a>=09
</xsl:when>
<xsl:when test=3D"isSelfLookup=3D'true'">
- <a href=3D"Data_structured.aspx?id_entity=3D{$idurl}&a=
mp;display=3DreadXslt.aspx&action=3Dread&iniClass=3D{/instances/i=
nfoView/classId}&formsId=3D{$IdRead}" target=3D"mainFrame"><xsl:value=
-of select=3D"text"/></a>=09
+ <a href=3D"Data_structured.aspx?id_entity=3D{$idurl}&a=
mp;display=3DreadXslt.aspx&action=3Dread&iniClass=3D{/instances/i=
nfoView/classId}&formsId=3D{$IdRead}" target=3D"mainFrame">
+ <xsl:value-of select=3D"text"/></a>=09
</xsl:when>
<xsl:otherwise> =09
<xsl:value-of select=3D"text"/>=09
@@ -241,83 +236,22 @@
</xsl:for-each>
</table>
<table id=3D"toolbar" cellspacing=3D"0" cellpadding=3D"0" valign=3D=
"center"><tr><td align=3D"center">
-
- <!-- <a href=3D"#" onclick=3D"gotoPage({$currentPageNr}-1, {$recor=
dCount})">Previous</a>
- Page <xsl:value-of select=3D"$currentPageNr"/> of <xsl:value-of s=
elect=3D"$recordCount"/>
- <a href=3D"#" onclick=3D"gotoPage({$currentPageNr}+1, {$recordCou=
nt})">Next</a>
- =09
- Goto Page <input type=3D"text" name=3D"gotoPageNumber" value=3D"{=
$currentPageNr}" size=3D"3" />=20
- <input type=3D"button" value=3D"Go" size=3D"3" onclick=3D"gotoPag=
e(form.gotoPageNumber.value, {$recordCount})"/> -->
-
<input type=3D"hidden" name=3D"currentPageNr" value=3D"{$currentP=
ageNr}" />=20
<input type=3D"hidden" name=3D"order" value=3D"{$order}" />=20
<input type=3D"hidden" name=3D"recordCount" value=3D"{$recordCoun=
t}" />=20
<input type=3D"hidden" name=3D"id_entity" value=3D"{$idEntity}" /=
>=20
<input type=3D"hidden" name=3D"classId" value=3D"{$classId}" />=20
</td></tr></table>
- =09
</xsl:when>
<xsl:when test=3D"$RowCount =3D 0 ">
<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D=
"0">
<tr bgcolor=3D"#FFFFFF">
<td class=3D"topcenter-tables2">
- No Existen resultados para esta consulta.
+ There's no result's for this query.
</td>
</tr>
</table>=09
</xsl:when>
</xsl:choose>
-=09
- <!--
- <center>
- <table class=3D"mainTable">
- <tr class=3D"headerLine"> =20
- <td />
- <td />
- <xsl:for-each select=3D"/instances/a=
ttributes/attribute/value">
- <td>
- <xsl:value-of select=
=3D"."/>
- </td>
- </xsl:for-each>
- </tr>
- <xsl:for-each select=3D"/instances/instance"=
>
- <tr class=3D"line">
- <td>
- <input type=3D"checkbox" ></inpu=
t>
- </td>
- <td>
- <a>
- <xsl:attribute name=3D"href"=
>
- <xsl:value-of select=3D"=
url/update"/>
- </xsl:attribute>
- <xsl:attribute name=3D"targe=
t">
- <xsl:value-of select=3D"=
'mainFrame'"/>
- </xsl:attribute>
- Update
- </a>
- </td>
- <xsl:for-each select=3D"value">
- <td>
- <xsl:if test=3D"isPrimar=
y =3D 'true'">
- <a>
- <xsl:attribute n=
ame=3D"href">
- <xsl:value-o=
f select=3D"../url/show"/>
- </xsl:attribute>
- <xsl:attribute name=3D"target">
- <xsl:value-of select=3D"'mainFrame'"/>
- </xsl:attribute>
- <xsl:value-of se=
lect=3D"text" />
- </a>
- </xsl:if>
- <xsl:if test=3D"isPrimar=
y !=3D 'true'">
- <xsl:value-of select=
=3D"text" />
- </xsl:if>
- </td>
- </xsl:for-each>
- </tr>
- </xsl:for-each>
- </table>
- </center>
- -->
</xsl:template>
-</xsl:stylesheet>
+</xsl:stylesheet>
\ No newline at end of file
|