You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by pa...@apache.org on 2001/12/22 04:01:05 UTC

cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html customizer-portletset-add.vm customizer-portletset-addset.vm customizer-portletset-general.vm customizer-portletset-layout.vm customizer-portletset.vm

paulsp      01/12/21 19:01:05

  Modified:    webapp/WEB-INF/templates/vm/portlets/html
                        customizer-portletset-add.vm
                        customizer-portletset-addset.vm
                        customizer-portletset-general.vm
                        customizer-portletset-layout.vm
                        customizer-portletset.vm
  Log:
  o Internationalize customization
  o Return look and feel to 1.3a1
  o General HTML cleanup
  
  Revision  Changes    Path
  1.4       +97 -84    jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset-add.vm
  
  Index: customizer-portletset-add.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset-add.vm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- customizer-portletset-add.vm	2001/12/10 17:25:56	1.3
  +++ customizer-portletset-add.vm	2001/12/22 03:01:05	1.4
  @@ -1,89 +1,102 @@
  -<FORM action="$jlink" method="post">
  -#if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action" /> #end
  -<center>
  -<table width="80%" border="1" cellspacing="0">
  -<tr><td>
  -<table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
  -  <tr>
  -    <td bgcolor="$!{skin.TitleBackgroundColor}" align="left" class=MENUBUTTON><font color="$!{skin.TitleColor}"><b>Select</b></font></td>
  -    <td bgcolor="$!{skin.TitleBackgroundColor}" align="left" class=MENUBUTTON><font color="$!{skin.TitleColor}"><b>Title</b></font></td>
  -    <td bgcolor="$!{skin.TitleBackgroundColor}" align="left" class=MENUBUTTON><font color="$!{skin.TitleColor}"><b>Description</b></font></td>
  -  </tr>  
  -##
  -#set ($IX="a")
  -#set ($COUNTI="0")
  -#foreach ($portlet in $browser)
  -#set ($COUNTI="1")
  -##Display rows in alternating colors
  -#if ($IX=="a")
  -  <tr valign=top bgcolor="#FAFAFA">
  -#set ($IX="b")
  -#else
  -  <tr valign=top bgcolor="#F0F0F0">
  -#set ($IX="a")
  -#end
  -
  -    <td align="center">
  -
  -  ## Insert a image for already used portlets!
  -  #set ($FF="")
  -  #foreach ($entry in $runs)
  -    #if ($entry.parent == $portlet.Name)
  -      #set ($FF="checked")
  -##      <img src="images/ok.gif" width=14" height="14" border="0" VSpace="2" alt="active" /></TD><TD align="center">
  -    #end
  -  #end
  +<br>
  +<form action="$jlink" method="post">
  +  #if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action" > #end 
  +  <center>
  +    <table width="80%" border="1" cellspacing="0">
  +      <tr>
  +        <td>
  +          <table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
  +            <tr>
  +              <th #if (${skin.TitleBackgroundColor}) bgcolor="${skin.TitleBackgroundColor}" #end align="left">
  +                #if ($skin.TitleColor) <font color="$skin.TitleColor"> #end
  +                $l10n.CUSTOMIZER_ADD
  +                #if ($skin.TitleColor) </font> #end
  +              </th>
  +              <th #if (${skin.TitleBackgroundColor}) bgcolor="${skin.TitleBackgroundColor}" #end align="left">
  +                #if ($skin.TitleColor) <font color="$skin.TitleColor"> #end
  +                $l10n.CUSTOMIZER_TITLE
  +                #if ($skin.TitleColor) </font> #end
  +              </th>
  +              <th #if (${skin.TitleBackgroundColor}) bgcolor="${skin.TitleBackgroundColor}" #end align="left">
  +                #if ($skin.TitleColor) <font color="$skin.TitleColor"> #end
  +                $l10n.CUSTOMIZER_DESCRIPTION
  +                #if ($skin.TitleColor) </font> #end
  +              </th>
  +            </tr>  
  +            ##
  +            #set ($IX="a")
  +            #set ($COUNTI="0")
  +            #foreach ($portlet in $browser)
  +              #set ($COUNTI="1")
  +              ##Display rows in alternating colors
  +              #if ($IX=="a")
  +              <tr valign=top bgcolor="#FAFAFA">
  +              #set ($IX="b")
  +              #else
  +              <tr valign=top bgcolor="#F0F0F0">
  +              #set ($IX="a")
  +              #end
   
  -  ## Portlet is not used - use blank image!
  -  #if ($FF!="checked")
  -##    <img src="images/blank.gif" width=14" height="2" border="0" /></TD><TD align="center">
  -    <input type="checkbox" name="pname" value="$portlet.Name" $FF /></td>
  -  #else
  -    <input type="checkbox" name="pname" value="$portlet.Name" $FF DISABLED READONLY/></td>
  -  #end
  +                <td align="center">
  +                  ## Insert a image for already used portlets!
  +                  #set ($FF="")
  +                  #foreach ($entry in $runs)
  +                    #if ($entry.parent == $portlet.Name)
  +                    #set ($FF="checked")
  +                    #end
  +                  #end
  +                  ## Portlet is not used - use blank image!
  +                  
  +                  <input type="checkbox" name="pname" value="$portlet.Name" $FF #if ($FF=="checked")DISABLED READONLY #end></td>
  +                </td>
   
  -  ## Display checkbox for portlet selection
  -    <td valign="top" align="left">
  -#if ($portlet.Title) $portlet.Title #else $portlet.Name #end
  -    </td>
  -    <td valign="top" align="left">
  -#if ($portlet.Description) $portlet.Description #else Unavailable #end
  -    </td>
  -  </tr>
  -#end
  -#if ($COUNTI=="0")
  -  <tr><td colspan=4>No entries available!</td></tr>
  -#end
  -##
  +                ## Display checkbox for portlet selection
  +                <td valign="top" align="left">
  +                  #if ($portlet.Title) $portlet.Title #else $portlet.Name #end
  +                </td>
  +                <td valign="top" align="left">
  +                  #if ($portlet.Description) $portlet.Description #else $l10n.CUSTOMIZER_NODESCRIPTION #end
  +                </td>
  +              </tr>
  +               #end
  +               #if ($COUNTI=="0")
  +               <tr>
  +                 <td align="center" colspan=4>$l10n.CUSTOMIZER_NOTHINGDEFINED</td>
  +               </tr>
  +               #end
  +               ##
  +             </table>
  +          </td>
  +       </tr>
  +    </table>
  +  </center>
   </table>
  -</td></tr>
  -</table>
  -</center>
  -<br/><br/>
  -<table cellpadding="1" cellspacing="3" border="0" width="100%" class=MENUBAR>
  -<tr>
  -  <td align="center" class=MENUBUTTON>
  -#if ($prev)
  -      <a href="$jlink.addPathInfo("start",$prev)"><nobr>&nbsp;&nbsp;&lt;&lt; Prev&nbsp;&nbsp;</nobr></a>
  -#else
  -<nobr>&nbsp;&nbsp;&lt;&lt; Prev&nbsp;&nbsp;</nobr>
  -#end
  -  </td><td align="center" class=MENUBUTTON>
  -#if ($next)
  -      <a href="$jlink.addPathInfo("start",$next)"><nobr>&nbsp;&nbsp;Next &gt;&gt;&nbsp;&nbsp;</nobr></a>
  -#else
  -<nobr>&nbsp;&nbsp;Next &gt;&gt;&nbsp;&nbsp;</nobr>
  -#end
  -  </td>  
  -  <td align="center" width="70%">&nbsp;</td>
  -  <td align="left"> 
  -#if (($!mtype=="wml") || ($!mtype=="WML"))
  -      <input type="submit" name="eventSubmit_doAdd" value="Add &amp; Save" class="BUTON"/>
  -#else
  -      <input type="submit" name="eventSubmit_doAdd" value="Add" class="BUTON"/>
  -#end      
  -  </td>
  -</tr>
  -</table>
  +<center>
  +  <table cellspacing="2">
  +    <tr>
  +      <td>
  +        #if ($prev)
  +        <a href="$jlink.addPathInfo("start",$prev)">$l10n.CUSTOMIZER_PREVIOUSBTN</a>
  +        #else
  +        &nbsp;
  +        #end
  +      </td>
  +      <td>
  +        <input type="submit" name="eventSubmit_doAdd" value="$l10n.CUSTOMIZER_APPLY">
  +      </td>
  +      <td>
  +        <input type="reset" name="eventSubmit_doAdd" value="$l10n.CUSTOMIZER_CANCEL">
  +      </td>
  +      <td>
  +        #if ($next)
  +        <a href="$jlink.addPathInfo("start",$next)">$l10n.CUSTOMIZER_NEXTBTN</a>
  +        #else
  +        &nbsp;
  +        #end
  +        </td>
  +      </tr>
  +    </table>
  +  </center>
   
  +</form>
     
  
  
  
  1.3       +21 -24    jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset-addset.vm
  
  Index: customizer-portletset-addset.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset-addset.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- customizer-portletset-addset.vm	2001/12/06 06:03:40	1.2
  +++ customizer-portletset-addset.vm	2001/12/22 03:01:05	1.3
  @@ -1,26 +1,23 @@
  -## This file has been modified by Andreas Kempf, mailto: A.Kempf@web.de
  -## Date: 10/31/01
  -## Changes:
  -## + Added CSS Styles
  -## --------------------------------------------------------------------
  +<br>
   <form action="$jlink" method="post">
  -#if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action" /> #end
  -<table width="100%" cellspacing="0" cellpadding="0">
  -  <tr valign="center">
  -    <td width="100%">
  -      <br/>Type the name of the pane to add:<br /><input type="text" name="title" value=""><br/><br/><br/>
  -    </td>
  -  </tr>
  -  <tr valign="bottom">
  -    <td align="right">
  -
  -    <table cellpadding="3" cellspacing="1" border="0" width="100%" class=MENUBAR>
  -    <tr><td align="right">
  -      <input type="submit" name="eventSubmit_doAddset" value="Add" class="BUTON"/>
  -    </td></tr>
  -    </table>
  -    
  -    </td>
  -  </tr>
  -</table>
  +  #if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action"> #end
  +  <table width="100%" cellspacing="2" cellpadding="0">
  +    <tr>
  +      <td align="left" nowrap width="20%">
  +        $l10n.CUSTOMIZER_NEWPANENAME :
  +      </td>
  +      <td align="left" nowrap width="20%">
  +        <input type="text" name="title" value="">
  +      </td>
  +      <td>&nbsp;</td>
  +    </tr>
  +    <tr>
  +      <td>&nbsp;</td>
  +    </tr>
  +    <tr width="100%">
  +      <td align="center" colspan="3">
  +        <input type="submit" name="eventSubmit_doAddset" value="$l10n.CUSTOMIZER_APPLY">
  +      </td>
  +     </tr>
  +  </table>
   </form>
  
  
  
  1.3       +24 -17    jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset-general.vm
  
  Index: customizer-portletset-general.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset-general.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- customizer-portletset-general.vm	2001/12/06 06:03:40	1.2
  +++ customizer-portletset-general.vm	2001/12/22 03:01:05	1.3
  @@ -1,19 +1,26 @@
  +<br>
   <form action="$jlink" method="post">
  -#if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action" /> #end
  -<table width="100%" cellspacing="0" cellpadding="0">
  -  <tr valign="center">
  -    <td>
  -        <br/>Set a title for this pane:<br/><input type="text" name="title" value="$!set.Title" /><br/><br/><br/>
  -    </td>
  -  </tr>
  -  <tr valign="bottom">
  -    <td valign="middle" align="right">
  -    <table cellpadding="3" cellspacing="1" border="0" width="100%" class=MENUBAR>
  -    <tr><td align="right">
  -      <input type="submit" name="eventSubmit_doSave" value="Save" class="BUTON"/>&nbsp;&nbsp; <input type="submit" name="eventSubmit_doApply" value="Save &amp; Apply" class="BUTON"/>
  -    </td></tr>
  +  #if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action"> #end
  +  <table cellspacing="2" cellpadding="0">
  +    <tr>
  +      <td>
  +        Set a title for this pane :
  +      </td>
  +      <td>
  +        <input type="text" name="title" value="$!set.Title" >
  +      </td>
  +    </tr>
  +  </table>
  +  <center>
  +    <table cellspacing="2">
  +      <tr>
  +        <td>
  +          <input type="submit" name="eventSubmit_doSave" value="$l10n.CUSTOMIZER_APPLY">
  +        </td>
  +        <td>
  +          <input type="reset" value="$l10n.CUSTOMIZER_CANCEL">
  +        </td>
  +      </tr>
       </table>
  -    </td>
  -  </tr>
  -</table>
  -</form>
  \ No newline at end of file
  +  </center>
  +</form>
  
  
  
  1.4       +89 -83    jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset-layout.vm
  
  Index: customizer-portletset-layout.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset-layout.vm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- customizer-portletset-layout.vm	2001/12/06 06:03:40	1.3
  +++ customizer-portletset-layout.vm	2001/12/22 03:01:05	1.4
  @@ -1,87 +1,93 @@
  -## This file has been modified by Andreas Kempf, mailto: A.Kempf@web.de
  -## Date: 10/31/01
  -## Changes:
  -## + Added CSS Styles
  -## + Disabled controller and skin selection for wml customization!
  -## --------------------------------------------------------------------
  -<table width="100%" cellspacing="0" cellpadding="0">
  -  <tr>
  -#if ($controllers)
  -    <td>
  -      <form name="controllers" action="$jlink" method="post">
  -      #if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action" /> #end
  -      <input type="hidden" name="eventSubmit_doLayout" value="layout" />
  -      Layout :
  -
  -
  -## No Controller-Selection for WML Profiles
  -#if (($!mtype=="wml") || ($!mtype=="WML"))
  -      <select name="controller" onChange="document.controllers.submit()" disabled>
  -#else
  -      <select name="controller" onChange="document.controllers.submit()">
  -#end      
  -
  -
  -#foreach ($controller in $controllers)
  -          <option value="$controller.Name" #if ($controller.Name == $currentController) SELECTED #end>
  -#if ($controller.Title) $controller.Title #else $controller.Name #end
  -#end
  -      </select>
  -## No submit-Button for WML Profiles
  -#if (($!mtype=="wml") || ($!mtype=="WML"))
  -      <input type="submit" value="OK" disabled class="BUTON"/>
  -#else
  -      <input type="submit" value="OK" class="BUTON"/>
  -#end
  -      </form>
  -    </td>
  -    <td width="2"></td>
  -#end
  -#if ($controls)
  -    <td>
  -      <form name="controls" action="$jlink" method="post">
  -      #if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action" /> #end
  -      <input type="hidden" name="eventSubmit_doControl" value="control" />
  -        Decoration :
  -        <select name="control" onChange="document.controls.submit()">
  -#foreach ($control in $controls)
  -          <option value="$control.Name" #if ($control.Name == $currentControl) SELECTED #end>
  -#if ($control.Title) $control.Title #else $control.Name #end
  -#end
  -        </select>
  -      <input type="submit" value="OK" class="BUTON"/>
  -      </form>
  -    </td>
  -    <td width="2"></td>
  -#end
  -#if ($skins)
  -    <td>
  -      <form name="skins" action="$jlink" method="post">
  -      #if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action" /> #end
  -      <input type="hidden" name="eventSubmit_doSkin" value="skin" />
  -        Colors :
  -
  -## No Controller-Selection for WML Profiles
  -#if (($!mtype=="wml") || ($!mtype=="WML"))
  -        <select name="skin" onChange="document.skins.submit()" disabled>
  -#else
  -        <select name="skin" onChange="document.skins.submit()">
  -#end      
  -#foreach ($skin in $skins)
  +<br>
  +<center>
  +  <table cellspacing="2" cellpadding="0">
  +    <tr valign="middle">
  +      #if ($controllers)
  +      <td>&nbsp;</td>
  +      <td>
  +        $l10n.CUSTOMIZER_LAYOUT :
  +      </td>
  +      <td valign="middle">
  +        <form name="controllers" action="$jlink" method="post">
  +          #if ($action)
  +            <input name="$jlink.ActionKey" type="hidden" value="$action">
  +          #end
  +            <input type="hidden" name="eventSubmit_doLayout" value="layout">
  +          ## No Controller-Selection for WML Profiles
  +          #if (($!mtype=="wml") || ($!mtype=="WML"))
  +            <select name="controller" onChange="document.controllers.submit()" disabled>
  +          #else
  +            <select name="controller" onChange="document.controllers.submit()">
  +          #end      
  +          #foreach ($controller in $controllers)
  +            <option value="$controller.Name"
  +              #if ($controller.Name == $currentController) SELECTED #end>
  +              #if ($controller.Title)
  +                $controller.Title 
  +              #else 
  +                $controller.Name
  +              #end
  +          #end
  +          </select>
  +          ## No submit-Button for WML Profiles
  +          #if (($!mtype=="wml") || ($!mtype=="WML"))
  +##            <input type="submit" value="OK" disabled class="BUTON">
  +          #else
  +##            <input type="submit" name="btn_submit" value="OK" disabled>
  +          #end
  +        </form>
  +      </td>
  +      #end
  +      #if ($controls)
  +      <td>&nbsp;</td>
  +      <td valign="middle">
  +        $l10n.CUSTOMIZER_DECORATION  :
  +      </td>
  +      <td valign="middle">
  +        <form name="controls" action="$jlink" method="post">
  +          #if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action"> #end
  +          <input type="hidden" name="eventSubmit_doControl" value="control">
  +          <select name="control" onChange="document.controls.submit()">
  +          #foreach ($control in $controls)
  +            <option value="$control.Name" #if ($control.Name == $currentControl) SELECTED #end>
  +            #if ($control.Title) $control.Title #else $control.Name #end
  +          #end
  +          </select>
  +##        <input type="submit" value="OK" class="BUTON"/>
  +        </form>
  +      </td>
  +      #end
  +      #if ($skins)
  +      <td>&nbsp;</td>
  +      <td valign="middle">
  +        $l10n.CUSTOMIZER_SKIN :
  +      </td>
  +      <td valign="middle">
  +        <form name="skins" action="$jlink" method="post">
  +        #if ($action) <input name="$jlink.ActionKey" type="hidden" value="$action" > #end
  +        <input type="hidden" name="eventSubmit_doSkin" value="skin">        ## No Controller-Selection for WML Profiles
  +        #if (($!mtype=="wml") || ($!mtype=="WML"))
  +          <select name="skin" onChange="document.skins.submit()" disabled>
  +        #else
  +          <select name="skin" onChange="document.skins.submit()">
  +        #end      
  +        #foreach ($skin in $skins)
             <option value="$skin.Name" #if ($skin.Name == $currentSkin) SELECTED #end>
  -#if ($skin.Title) $skin.Title #else $skin.Name #end
  -#end
  +           #if ($skin.Title) $skin.Title #else $skin.Name #end
  +        #end
           </select>
   
  -## No submit-Button for WML Profiles
  -#if (($!mtype=="wml") || ($!mtype=="WML"))
  -      <input type="submit" value="OK" disabled class="BUTON"/>
  -#else
  -      <input type="submit" value="OK" class="BUTON"/>
  -#end
  -      </form>
  -    </td>
  -#end
  -  </tr>
  -</table>
  +        ## No submit-Button for WML Profiles
  +        #if (($!mtype=="wml") || ($!mtype=="WML"))
  +##        <input type="submit" value="OK" disabled>
  +        #else
  +##        <input type="submit" value="OK">
  +        #end
  +        </form>
  +      </td>
  +      #end
  +      <td>&nbsp;</td>
  +    </tr>
  +  </table>
  +</center>
   $!set.Controller.getContent($data)
  
  
  
  1.7       +51 -32    jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset.vm
  
  Index: customizer-portletset.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset.vm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- customizer-portletset.vm	2001/12/06 06:03:40	1.6
  +++ customizer-portletset.vm	2001/12/22 03:01:05	1.7
  @@ -1,40 +1,59 @@
  -<table width="100%" cellspacing="3" cellpadding="1" border="0" class=MENUBAR>
  +<table width="100%" cellspacing="3" cellpadding="1" border="0">
     <tr>
  -    <td align="center" nowrap width="20%" class=UPPERCASE>
  -## Show customizer content-type
  -    $!mtype    
  +    <td align="left" nowrap width="20%" >
  +      ## Show customizer content-type
  +      #if ($mtype)
  +        $l10n.CUSTOMIZER_MEDIATYPE : <b>$mtype</b>
  +      #else
  +        &nbsp;
  +      #end
  +    </td>
  +
  +    <td align="center"  width="20%" valign="middle">
  +      <form action="$jlink.addPathInfo("mode","layout")">
  +        <input type="submit" value="$l10n.CUSTOMIZER_EDITLAYOUT">
  +      </form>
  +    </td>
  +
  +    <td nowrap align="center" width="20%">
  +      <form action="$jlink.addPathInfo("mode","add")">
  +        #if ($allowportlet=="true")
  +          <input type="submit" value="$l10n.CUSTOMIZER_ADDPORTLET" >
  +        #else
  +          <input type="submit" value="$l10n.CUSTOMIZER_ADDPORTLET" disabled >
  +        #end
  +      </form>
  +   </td>
  +  
  +   <td nowrap align="center" width="20%">
  +      <form action="$jlink.addPathInfo("mode","addset")">
  +        #if ($allowpane=="true")
  +          <input type="submit" value="$l10n.CUSTOMIZER_ADDPANE" >
  +        #else
  +          <input type="submit" value="$l10n.CUSTOMIZER_ADDPANE" disabled >
  +        #end
  +      </form>
  +    </td>
  +
  +    <td nowrap align="center" width="20%">
  +      <form action="$jlink.addPathInfo("mode","general")">
  +        #if ($allowproperties=="true")
  +          <input type="submit" value="$l10n.CUSTOMIZER_EDITPROPERTIES">
  +        #else
  +          <input type="submit" value="$l10n.CUSTOMIZER_EDITPROPERTIES" disabled>
  +        #end
  +      </form>
       </td>
  -    <td align="center" nowrap class=MENUBUTTON width="20%">
  -    <a href="$jlink.addPathInfo("mode","layout")">Layout</a>
  -    </td>
  -    <td nowrap align="center" class=MENUBUTTON width="20%">
  -#if ($allowportlet=="true")
  -      <a href="$jlink.addPathInfo("mode","add")">Add portlet</a>
  -#else
  -&nbsp;-&nbsp;
  -#end
  -    </td>
  -    <td nowrap align="center" class=MENUBUTTON width="20%">
  -#if ($allowpane=="true")
  -      <a href="$jlink.addPathInfo("mode","addset")">Add pane</a>   
  -#else
  -&nbsp;-&nbsp;
  -#end
  -    </td>
  -    <td nowrap align="center" class=MENUBUTTON width="20%">
  -#if ($allowproperties=="true")
  -      <a href="$jlink.addPathInfo("mode","general")">Properties</a>
  -#else
  -&nbsp;-&nbsp;
  -#end
  -    </td>
     </tr>
  -#if ($panename && $panename!="*")
  +
  +  #if ($panename && $panename!="*")
     <tr>
  -    <td colspan=5 class=PANETITLE>
  -      <img src="images/is_pane.gif" alt="Selected pane" width=14" height="14" border="0" hspace="2" />&nbsp;&nbsp;$!panename&nbsp;&nbsp;<small>[edit pane]</small>
  +    <td colspan=5 valign="middle">
  +      $l10n.CUSTOMIZER_PANE : 
  +##      <img src="images/is_pane.gif" alt="$l10n.CUSTOMIZER_SELECTEDPANE" width=14" height="14" border="0" hspace="2">
  +      &nbsp;&nbsp;$!panename
       </td>
     </tr>
  -#end
  +  #end
   </table>  
   #parse ($feature)
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>