|
Bonjour, en plus j'ai : ./BUILD/uPortal-2.5-esup-2.1.01/UpdateEsup/uPortalCRIM/webpages/stylesheets/org/jasig/portal/layout/AL_TabColumn/integratedModes/integratedModes.xsl ./BUILD/uPortal-2.5-esup-2.1.01/UpdateEsup/uPortal/webpages/stylesheets/org/jasig/portal/layout/AL_TabColumn/integratedModes/integratedModes.xsl ./BUILD/uPortal-2.5-esup-2.1.01/UpdateEsup/uPortalWAI/webpages/stylesheets/org/jasig/portal/layout/AL_TabColumn/integratedModes/integratedModes.xsl Comment savoir s'ils sont utilisés ? Je ne pense pas à priori. Merci. -------- Message original --------
Bonjour, Merci, j'ai pas tout compris dans le fichier ! à quel moment l'onglet est réactivé ? Comment se fait-il que ça soit un fonctionnement normal puisque les usagers naviguent et reviennent sur le même onglet ? Oui mais dans l'ENT nous avons dû récupérer une feuille de style qui est en pièces jointes et les fichiers integratedModes.xsl ne sont pas pris en compte ? avez-vous une piste ? dans le fichier en pièces jointes ? Merci. -------- Yves Pôle du Système d'Information Pages professionnelles ENS : http://perso.ens-lyon.fr/yves.daoulatian/ Julien Marchal a écrit : " type="cite"> Bonjour, |
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- xsl import --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:import href="page.xsl"/> <xsl:import href="channel-action.xsl"/> <xsl:import href="calculate.xsl"/> <xsl:import href="restrictions.xsl"/> <xsl:import href="menu.xsl"/> <xsl:import href="tabs.xsl"/> <xsl:import href="boxes-layout.xsl"/> <xsl:import href="flat-layout.xsl"/> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- xsl output --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:output method="html" indent="yes"/> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- xsl params and varialbes --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:param name="uP_productAndVersion">uPortal X.X.X</xsl:param> <!--These variables and parameters are used in all modes--> <xsl:param name="baseActionURL" select="'render.userLayoutRootNode.uP'"/> <!--modes: view (default), preferences, fragment--> <xsl:variable name="mode" select="/layout/@mode"/> <xsl:variable name="current_structure" select="/layout/@current_structure"/> <xsl:param name="mediaPath">media/org/jasig/portal/layout/AL_TabColumn/anywareModes</xsl:param> <xsl:param name="skin" select="'immII'"/> <xsl:variable name="mediaPathSkin" select="concat($mediaPath,'/',$skin,'/skin')"/> <!--<xsl:variable name="mediaPathBorder" select="concat($mediaPath,'/',$skin)"/>--> <xsl:variable name="mediaPathHeader" select="concat($mediaPath,'/',$skin,'/institutional')"/> <xsl:variable name="mediaPathMainBorder" select="concat($mediaPath,'/',$skin,'/mainBorder')"/> <xsl:variable name="mediaPathColumnBorder" select="concat($mediaPath,'/',$skin,'/columnBorder')"/> <xsl:variable name="mediaPathImg" select="concat($mediaPath,'/',$skin,'/img')"/> <xsl:variable name="mediaPathIcons" select="concat($mediaPath,'/',$skin,'/icons')"/> <xsl:param name="errorMessage" select="'no errorMessage passed'"/> <!-- <xsl:param name="errorMessage"> newNodID= <xsl:value-of select="/layout/@newNodeID"/> focusedTabID=<xsl:value-of select="/layout/@focusedTabID"/></xsl:param> --> <xsl:variable name="authenticated" select="/layout/@authenticated"/> <xsl:param name="authorizedChannelPublisher" select="'false'"/> <xsl:param name="authorizedFragmentPublisher" select="'false'"/> <xsl:param name="userName" select="'Guest'"/> <!--These variables and parameters are used in fragment mode--> <!-- <xsl:param name="currentFragmentID" select="'default_layout'"/> --> <!--These variables and parameters are used in preferences mode--> <xsl:param name="moveID" select="/layout/@selectedID"/> <xsl:param name="selectedID" select="/layout/@selectedID"/> <xsl:param name="focusedTabID" select="/layout/@focusedTabID"/> <xsl:param name="targetRestriction" select="/layout/@targetRestriction"/> <xsl:param name="targetAction" select="/layout/@targetAction"/> <!-- Commented out due to lack of evidence that it is used anywhere <xsl:variable name="unauthenticated" select="/layout/@unauthenticated"/> --> <xsl:variable name="userLayoutRoot" select="/layout/@userLayoutRoot"/> <xsl:param name="channelPublishID" select="'no channelPublishID passed'"/> <!-- <xsl:param name="uP_fragmentPublishID" select="'no fragmentPublishID passed'"/> --> <!-- <xsl:param name="uP_fragmentRootID" select="'no fragmentRootID passed'"/> --> <!-- Ajout ESUP CRIM --> <xsl:variable name="msgErrPref">Cet onglet a été créé par l'administrateur de l'espace numérique de travail, vous ne pouvez pas modifier son contenu.</xsl:variable> <xsl:variable name="nbcolumn"><xsl:value-of select="count(//column)" /></xsl:variable> <xsl:variable name="widthcanal"><xsl:value-of select="100 div count(//channel)" /></xsl:variable> <xsl:variable name="channelActif"> <xsl:choose> <!-- Soit il n'y a qu'un canal maximise --> <xsl:when test="count(/layout/content/column/ 'false'])=1"> <xsl:value-of select="/layout/content/column/ 'false']/@ID" /> </xsl:when> <!-- Soit on prend le premier de la premiere colonne --> <xsl:otherwise> <xsl:value-of select="/layout/content/column[1]/channel[1]/@ID" /> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- Fin Ajout ESUP CRIM --> <!-- Ajout Benjamin --> <!-- Selection le mode de layout --> <xsl:variable name="layoutMode"> <!-- <xsl:text>flat</xsl:text> --> <xsl:choose> <!-- Attention si le channel est maximisé - '' --> <!-- <xsl:when test="/layout/navigation/focusedTab/@name != 'Accueil' and /layout/navigation/focusedTab/@name != 'Admin Tools'"> --> <xsl:when test="$nbcolumn = 1"> <xsl:text>flat</xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>boxes</xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- Pour switcher facilement de afficher la xml à le cacher Changer le style #xml_dump dans la css --> <xsl:variable name="debug">false</xsl:variable> <!-- Fin Ajout Benjamin --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- focusedContent --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="focusedContent"> <div id="focusedContent"> <xsl:apply-templates select="*"/> </div> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- move_target --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="move_target"> <xsl:param name="type"/> <xsl:choose> <xsl:when test="$type='tab'"> <td> <span id="move_target_tabs"> <!-- Move target Icon for Tabs --> <a href="{$baseActionURL}?uP_move_target={$moveID}& & &uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true"> <img src="{$mediaPathIcons}/airplanetarget.png" alt="Cliquer pour sélectionner la destination" title="Cliquer pour sélectionner la destination" width="16" height="16" border="0"/> </a> </span> </td> <!-- End Move Target Icon --> </xsl:when> <xsl:when test="$type='column'"> <td> <span id="move_target_columns"> <a href="{$baseActionURL}?uP_move_target={$moveID}& & &uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true"> <img src="{$mediaPathIcons}/add_column_ani.png" alt="Cliquer pour déplacer la colonne ici" title="Cliquer pour déplacer la colonne ici" width="22" height="18" border="0"/> </a> </span> </td> </xsl:when> <xsl:when test="$type='channel'"> <table id="move_target_channels"><tr><td> <a href="{$baseActionURL}?uP_move_target={$moveID}& & &uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true"> <img src="{$mediaPathIcons}/add_channel_ani.png" alt="Cliquer pour déplacer le canal ici" title="Cliquer pour déplacer le canal ici" width="22" height="18" border="0"/> </a> </td></tr></table> </xsl:when> </xsl:choose> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- add_target --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="add_target"> <!-- <div id="add_target"> --> <!-- Add target Icon in the Tabline --> <xsl:if test="$targetRestriction='tab'"> <!-- <td> <span id="add_target_tabs"> <a href="{$baseActionURL}?uP_add_target=folder& & &uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_cancel_targets=true&uP_sparam=newNodeID&newNodeID="> <img src="{$mediaPathIcons}/airplanetarget.png" alt="Cliquer pour ajouter un nouvel onglet ici" title="Cliquer pour ajouter un nouvel onglet ici" width="16" height="16" border="0"/> </a> </span> </td> --> <li class="add_target_li"> <span id="add_target_tabs"> <a href="{$baseActionURL}?uP_add_target=folder& & &uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_cancel_targets=true&uP_sparam=newNodeID&newNodeID="> <img src="{$mediaPathIcons}/airplanetarget.png" alt="Cliquer pour ajouter un nouvel onglet ici" title="Cliquer pour ajouter un nouvel onglet ici" width="16" height="16" border="0"/> </a> </span> </li> </xsl:if> <!-- End Add Target Icon in the Tabline --> <!-- Add target Icon in the Columns --> <xsl:if test="$targetRestriction='column'"> <td> <span id="add_target_columns"> <a href="{$baseActionURL}?uP_add_target=folder& & &uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true&uP_sparam=newNodeID&newNodeID="> <img src="{$mediaPathIcons}/add_column_ani.png" alt="Cliquer pour ajouter une nouvelle colonne ici" title="Cliquer pour ajouter une nouvelle colonne ici" width="22" height="18" border="0"/> </a> </span> </td> </xsl:if> <!-- End Add Target Icon in the Columns --> <!-- Add target Icon in the Channels --> <xsl:if test="$targetRestriction='channel'"> <table id="add_target_channels"><tr><td> <a href="{$baseActionURL}?uP_add_target=channel& & &uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true&uP_sparam=newNodeID&newNodeID="> <img src="{$mediaPathIcons}/add_channel_ani.png" alt="Cliquer pour ajouter un nouveau canal ici" title="Cliquer pour ajouter un nouveau canal ici" width="22" height="18" border="0"/> </a> </td></tr></table> </xsl:if> <!-- End Add Target Icon in the Channels --> <!-- </div> --> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- mode="view" --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="@name" mode="view"> <span id="mode_view"> <xsl:value-of select="."/> </span> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- mode="preferences" --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="@name" mode="preferences"> <span id="mode_preferences"> <a class="uportal-navigation-category" href="#"> <xsl:value-of select="."/> </a> </span> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- login --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="login"/> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- actions --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="actions"> <div id="actions"> <span id="actions_fragment"> <!-- temporary fix until fragment mode added --> <xsl:choose> <xsl:when test=" $current_structure = 'fragment' ">Action sur le contenu des fragments</xsl:when> <xsl:otherwise>Préférences utilisateur</xsl:otherwise> </xsl:choose> </span> <xsl:call-template name="actionList"/> <xsl:choose> <xsl:when test="not($errorMessage='no errorMessage passed')"> <xsl:call-template name="messageRow"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="statusCheck"/> </xsl:otherwise> </xsl:choose> </div> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- statusCheck --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template name="statusCheck"/> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- messageRow --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template name="messageRow"> <div id="messageRow"> <xsl:call-template name="message"/> </div> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- message --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template name="message"> <xsl:param name="messageString" select="$errorMessage"/> <div id="message"> <!-- ~ --> <!-- Can be used for debugging - push messages out to the interface --> <!-- ~ --> <xsl:value-of select="$messageString"/> </div> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- column --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="column"> <xsl:choose> <xsl:when test="$layoutMode='boxes'"> <xsl:call-template name="boxes-column"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="flat-column"/> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- detachedChannelControls --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template name="detachedChannelControls"> <xsl:if test="not(@hasHelp='false')"> <xsl:call-template name="channel.action.help"/> </xsl:if> <xsl:if test="not(@hasAbout='false')"> <xsl:call-template name="channel.action.about"/> </xsl:if> <xsl:if test="not(@editable='false')"> <xsl:call-template name="channel.action.edit"/> </xsl:if> <xsl:if test="@printable='true'"> <xsl:call-template name="channel.action.print"/> </xsl:if> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- actionList --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template name="actionList"> <div id="actionList-info">Nombre de colonnes de cet onglet: <xsl:value-of select="$nbcolumn"/></div> <div id="actionList"> <xsl:choose> <xsl:when test=" $current_structure = 'fragment' "> <xsl:if test="not($targetRestriction='no targetRestriction parameter')"> <a href="{$baseActionURL}?uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Annuler <xsl:call-template name="i18n-preferences-actions"><xsl:with-param name="targetAction" select="$targetAction"/></xsl:call-template> </a> <span> |<xsl:text> </xsl:text> </span> </xsl:if> <!-- <a href="{$baseActionURL}?uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Cancel <xsl:value-of select="$targetAction"/> </a> <span> |<xsl:text> </xsl:text> </span> --> <!-- <a href="{$baseActionURL}?uP_sparam=mode&mode=view&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Return to Fragment Manager</a> <span> |<xsl:text> </xsl:text> </span> --> <!-- <a href="{$baseActionURL}?uP_request_add_targets=folder&uP_sparam=mode&mode=preferences&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=tab&uP_sparam=targetAction&targetAction=New Tab">New Tab</a> <span> |<xsl:text> </xsl:text> </span> --> <a href="{$baseActionURL}?uP_request_add_targets=folder&uP_sparam=mode&mode=preferences&uP_sparam=targetRestriction&targetRestriction=column&uP_sparam=targetAction&targetAction=New Column">Nouvelle Colonne</a> <span> |<xsl:text> </xsl:text> </span> <a href="{$baseActionURL}?uP_fname=contentsubscriber&uPcCS_action=init&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Nouveau Canal</a> <span> |<xsl:text> </xsl:text> </span> <!-- <a href="{$baseActionURL}?uP_fname=skinselector&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Skins</a> <span> |<xsl:text> </xsl:text> </span> --> <!-- <a href="{$baseActionURL}?uP_fname=user-locales-selector&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Languages</a> <xsl:if test="$authorizedFragmentPublisher='true'"> <span> |<xsl:text> </xsl:text> </span> --> <a href="{$baseActionURL}?uP_sparam=uP_save&uP_save=all">Sauvegarder le fragment</a> <span> |<xsl:text> </xsl:text> </span> <a href="{$baseActionURL}?uP_fname=fragment-manager&uPcFM_action=default&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true&uP_sparam=lastSessionTabID&lastSessionTabID={$focusedTabID}">Retourner à la gestion des fragments</a> <!-- </xsl:if> --> </xsl:when> <xsl:otherwise> <xsl:if test="not($targetRestriction='no targetRestriction parameter')"> <a href="{$baseActionURL}?uP_sparam=mode&mode={$mode}&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Annuler <xsl:call-template name="i18n-preferences-actions"><xsl:with-param name="targetAction" select="$targetAction"/></xsl:call-template> </a> <span> |<xsl:text> </xsl:text> </span> </xsl:if> <a href="{$baseActionURL}?uP_sparam=mode&mode=view&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Fermer le menu Préférences</a> <span> |<xsl:text> </xsl:text> </span> <a href="{$baseActionURL}?uP_request_add_targets=folder&uP_sparam=mode&mode=preferences&uP_sparam=focusedTabID&focusedTabID={$focusedTabID}&uP_sparam=targetRestriction&targetRestriction=tab&uP_sparam=targetAction&targetAction=New Tab">Nouvel Onglet</a> <span> |<xsl:text> </xsl:text> </span> <a href="{$baseActionURL}?uP_request_add_targets=folder&uP_sparam=mode&mode=preferences&uP_sparam=targetRestriction&targetRestriction=column&uP_sparam=targetAction&targetAction=New Column">Nouvelle Colonne</a> <span> |<xsl:text> </xsl:text> </span> <!-- TODO --> <!-- <xsl:if test="$nbcolumn != 1"> --> <a href="{$baseActionURL}?uP_fname=contentsubscriber&uPcCS_action=init&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Nouveau Canal</a> <span> |<xsl:text> </xsl:text> </span> <!-- </xsl:if> --> <a href="{$baseActionURL}?uP_fname=skinselector&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Skins</a> <span> |<xsl:text> </xsl:text> </span> <a href="{$baseActionURL}?uP_fname=user-locales-selector&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true">Langues</a> <xsl:if test="$authorizedFragmentPublisher='true'"> <span> |<xsl:text> </xsl:text> </span> <a href="{$baseActionURL}?uP_fname=fragment-manager&uPcFM_action=default&uP_sparam=targetRestriction&targetRestriction=no targetRestriction parameter&uP_sparam=targetAction&targetAction=no targetAction parameter&uP_sparam=selectedID&selectedID=&uP_cancel_targets=true&uP_sparam=lastSessionTabID&lastSessionTabID={$focusedTabID}">Fragments</a> </xsl:if> </xsl:otherwise> </xsl:choose> </div> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- channel --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template match="channel"> <xsl:choose> <xsl:when test="$layoutMode='boxes'"> <xsl:call-template name="boxes-channel"/> </xsl:when> <xsl:otherwise> <xsl:call-template name="flat-channel"/> </xsl:otherwise> </xsl:choose> </xsl:template> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <!-- debug --> <!-- - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:template name="debug"> <xsl:if test="$debug='true'"> <center> <div id="xml_dump"> <div>Nombre de colonnes de cet onglet: <xsl:value-of select="$nbcolumn"/></div> <h1>XML Source Dump</h1> <textarea cols="100" rows="100"> <xsl:copy-of select="/" /> </textarea> </div> </center> </xsl:if> </xsl:template> <xsl:template name="i18n-preferences-actions"> <xsl:param name="targetAction"/> <xsl:choose> <xsl:when test="$targetAction= 'New Tab'">Nouvel Onglet</xsl:when> <xsl:when test="$targetAction= 'New Column'">Nouvelle Colonne</xsl:when> <xsl:when test="$targetAction= 'New Channel'">Nouvelle Canal</xsl:when> <xsl:when test="$targetAction= 'New Fragment'">Nouveau Fragment</xsl:when> <xsl:otherwise>TOTO</xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
Archives gérées par MHonArc 2.6.16.