portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html customizer-portletset-add.vm
Date Mon, 03 Nov 2003 05:48:24 GMT
jford       2003/11/02 21:48:24

  Modified:    webapp/WEB-INF/templates/vm/portlets/html
                        customizer-portletset-add.vm
  Log:
  Added the ability to filter the customizer portlet list by parent and category
  
  
  PR:Bugzilla #24343
  
  Revision  Changes    Path
  1.19      +37 -1     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.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- customizer-portletset-add.vm	16 Jun 2003 20:24:14 -0000	1.18
  +++ customizer-portletset-add.vm	3 Nov 2003 05:48:24 -0000	1.19
  @@ -7,7 +7,9 @@
       <form action="$jslink.Template" method="post">
   #end
     #if ($action) <input name="$jslink.ActionKey" type="hidden" value="$action" > #end

  +
     <center>
  +  <!--
       <table width="80%" border="1" cellspacing="0">
        <tr>
          <td style="font-weight:bold">$l10n.CUSTOMIZER_FILTER_MSG 
  @@ -21,6 +23,41 @@
                </td>
            </tr>
         </table>
  +      -->
  +    <table width="80%" border="1" cellspacing="0">
  +	<tr>
  +		<td style="font-weight:bold">$l10n.CUSTOMIZER_CATEGORY_FILTER</td>
  +		<td>
  +			<input type="hidden" name="filter_field" value="category"/>
  +			<select name="category:filter_value">
  +				<option value="">All Portlets</option>
  +				#foreach($category in $categories)
  +					<option value="$category.name" #if($category_filter_value == $category.name) selected="true"
#end)>$category.name</option>
  +				#end
  +			</select>
  +		</td>
  +	
  +		<td style="font-weight:bold">$l10n.CUSTOMIZER_PARENT_FILTER</td>
  +		<td>
  +			<input type="hidden" name="filter_field" value="parent"/>
  +			<select name="parent:filter_value">
  +				<option value="">All Parents</option>
  +				#foreach($parent in $parents)
  +					#if($parent.Title)
  +						<option value="$parent.name" #if($parent_filter_value == $parent.name) selected="true"
#end>$parent.Title</option>
  +					#else
  +						<option value="$parent.name" #if($parent_filter_value == $parent.name) selected="true"
#end>$parent.name</option>
  +					#end
  +				#end
  +			</select>
  +		</td>
  +	
  +		<td><input type="submit" name="eventSubmit_doFilter" value="$l10n.CUSTOMIZER_FILTER"/>
  +	</tr>
  +
  +</table>  
  +      
  +      
       <table width="80%" border="1" cellspacing="0">
         <tr>
           <td>
  @@ -136,4 +173,3 @@
     </center>
   
   </form>
  -  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message