phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] api/skins/default phpgw.xsl, 1.1.1.1.2.23, 1.1.1.1.2.


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api/skins/default phpgw.xsl, 1.1.1.1.2.23, 1.1.1.1.2.24
Date: Tue, 18 Nov 2003 15:54:00 +0000

Update of /cvsroot/phpgroupware/api/skins/default
In directory subversions:/tmp/cvs-serv23479/api/skins/default

Modified Files:
      Tag: proposal-branch
        phpgw.xsl 
Log Message:
- Added new function phpgw->add_appmenu() which will create application menus.
  This new function also supports creating multiable application menus.  Which 
could be, tabs, simple bar, boxes, js menus, etc.  Its up to the skin to deside.


Index: phpgw.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/api/skins/default/phpgw.xsl,v
retrieving revision 1.1.1.1.2.23
retrieving revision 1.1.1.1.2.24
diff -C2 -d -r1.1.1.1.2.23 -r1.1.1.1.2.24
*** phpgw.xsl   9 Nov 2003 15:47:42 -0000       1.1.1.1.2.23
--- phpgw.xsl   18 Nov 2003 15:53:56 -0000      1.1.1.1.2.24
***************
*** 120,152 ****
                                                </table>
  
!                                               <xsl:if 
test="count(/PHPGW/API/appmenu/appmenu_item) > 0">
!                                                       <br />
!                                                       <table class="sidebox" 
cellSpacing="1" cellPadding="0" width="100%" border="0">
!                                                               <tr> 
!                                                                       <td 
class="sideboxtitle" align="center" height="28"><xsl:value-of 
select="/PHPGW/address@hidden'Application Menu']"/></td>
!                                                               </tr>
!                                                               <tr>
!                                                                       <td 
class="sideboxcontent" bgColor="#efefef">
!                                                                               
<table class="sideboxtext" cellSpacing="0" cellPadding="0" width="100%" 
border="0" valign="top">
!                                                                               
        <xsl:for-each select="/PHPGW/API/appmenu/appmenu_item">
!                                                                               
                <xsl:variable name="op" select="op" />
!                                                                               
                <tr>
!                                                                               
                        <td vAlign="top" align="center"><font 
color="#ff9933">*</font></td>
!                                                                               
                                <xsl:choose>
!                                                                               
                                        <xsl:when test="/PHPGW/API/form_lock = 
1">
!                                                                               
                                                <td width="100%" height="20" 
align="left" vAlign="top"><font class="fake_link"><xsl:value-of select="title" 
/></font></td>
!                                                                               
                                        </xsl:when>
!                                                                               
                                        <xsl:otherwise>
!                                                                               
                                                <td width="100%" height="20" 
align="left" vAlign="top"><a href="{$baseurl}&amp;op={$op}"><xsl:value-of 
select="title" /></a></td>
!                                                                               
                                        </xsl:otherwise>
!                                                                               
                                </xsl:choose>
!                                                                               
                </tr>
!                                                                               
        </xsl:for-each>
!                                                                               
</table>
!                                                                       </td>
!                                                               </tr>
!                                                       </table>
!                                               </xsl:if>
! 
                                        </xsl:if>
                                        </td>
--- 120,150 ----
                                                </table>
  
!                                               <xsl:for-each 
select="/PHPGW/API/appmenus/appmenus_item">
!                                               <br />
!                                               <table class="sidebox" 
cellSpacing="1" cellPadding="0" width="100%" border="0">
!                                                       <tr> 
!                                                               <td 
class="sideboxtitle" align="center" height="28"><xsl:value-of 
select="title"/></td>
!                                                       </tr>
!                                                       <tr>
!                                                               <td 
class="sideboxcontent" bgColor="#efefef">
!                                                                       <table 
class="sideboxtext" cellSpacing="0" cellPadding="0" width="100%" border="0" 
valign="top">
!                                                                               
<xsl:for-each select="links/links_item">
!                                                                               
        <tr>
!                                                                               
                <td vAlign="top" align="center"><font 
color="#ff9933">*</font></td>
!                                                                               
                        <xsl:choose>
!                                                                               
                                <xsl:when test="/PHPGW/API/form_lock = 1">
!                                                                               
                                        <td width="100%" height="20" 
align="left" vAlign="top"><font class="fake_link"><xsl:value-of select="title" 
/></font></td>
!                                                                               
                                </xsl:when>
!                                                                               
                                <xsl:otherwise>
!                                                                               
                                        <td width="100%" height="20" 
align="left" vAlign="top"><a href="{$baseurl}&amp;op={op}"><xsl:value-of 
select="title" /></a></td>
!                                                                               
                                </xsl:otherwise>
!                                                                               
                        </xsl:choose>
!                                                                               
        </tr>
!                                                                               
</xsl:for-each>
!                                                                       </table>
!                                                               </td>
!                                                       </tr>
!                                               </table>
!                                               </xsl:for-each>
                                        </xsl:if>
                                        </td>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]