...
Réduction
...
/
...
restauration
...
de
...
fenêtre
...
Le
...
thème
...
universality
...
ne
...
propose
...
plus
...
de
...
bouton
...
de
...
réduction
...
ou
...
de
...
restauration
...
de
...
fenêtre.
...
Pour
...
les
...
ajouter,
...
éditez
...
le
...
fichier
...
${esup.root}/custom/uPortal/uportal-war/src/main/resources/layout/theme/universality/content.xsl
...
:
...
Lignes
...
75,
...
102,
...
141
...
modifiez
...
:
Bloc de code |
---|
} <xsl:copy-of select="."/> <!-- Write in the contents of the portlet. --> {code} |
Par
...
:
Bloc de code |
---|
} <xsl:if test="@minimized != 'true'"> <xsl:copy-of select="."/> <!-- Write in the contents of the portlet. --> </xsl:if> {code} |
Dans
...
la
...
partie
...
template
...
controls
...
,
...
ajoutez
...
:
Bloc de code |
---|
} <xsl:if test="not(//focused)"> <xsl:choose> <xsl:when test="@minimized='true'"> <!-- Unminimize. --> <a href="{$baseActionURL}?uP_tcattr=minimized&minimized_channelId={@ID}&minimized_{@ID}_value=false#{@ID}" class="portlet-control unminimize"> <span> <xsl:value-of select="$TOKEN[@name='PORTLET_UNMINIMIZE_LABEL']" /> </span> </a> </xsl:when> <xsl:otherwise> <!-- Minimize. --> <a href="{$baseActionURL}?uP_tcattr=minimized&minimized_channelId={@ID}&minimized_{@ID}_value=true#{@ID}" class="portlet-control minimize"> <span> <xsl:value-of select="$TOKEN[@name='PORTLET_MINIMIZE_LABEL']" /> </span> </a> </xsl:otherwise> </xsl:choose> </xsl:if> {code} h1. Détachement |
Détachement d'un
...
canal
...
iframe
...
Pour
...
ajouter
...
un
...
contrôle
...
de
...
détachement
...
d'un
...
canal
...
iframe
...
vers
...
un
...
nouvel
...
onglet/fenêtre,
...
éditez
...
le
...
fichier${esup.root}/custom/uPortal/uportal-war/src/main/resources/layout/theme/universality/content.xsl
...
:
...
Dans
...
la
...
partie
...
template
...
controls
...
,
...
ajoutez
...
:
Bloc de code |
---|
} <xsl:if test="parameter[@name='url']"> <!-- Detach iframe content. --> <xsl:choose> <xsl:when test="string-length(substring-after(parameter[@name='url']/@value,'service='))> 0"> <a href="{substring-after(parameter[@name='url']/@value,'service=')}" target="_blank" title="{$TOKEN[@name='PORTLET_DETACH_LONG_LABEL']}" class="portlet-control detach"> <span><xsl:value-of select="$TOKEN[@name='PORTLET_DETACH_LABEL']"/></span> </a> </xsl:when> <xsl:otherwise> <a href="{parameter[@name='url']/@value}" target="_blank" title="{$TOKEN[@name='PORTLET_DETACH_LONG_LABEL']}" class="portlet-control detach"> <span><xsl:value-of select="$TOKEN[@name='PORTLET_DETACH_LABEL']"/></span> </a> </xsl:otherwise> </xsl:choose> </xsl:if> {code} |