You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							88 lines
						
					
					
						
							2.2 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							88 lines
						
					
					
						
							2.2 KiB
						
					
					
				
								<!--*********************************************************************************
							 | 
						|
								** The contents of this file are subject to the vtiger CRM Public License Version 1.0
							 | 
						|
								 * ("License"); You may not use this file except in compliance with the License
							 | 
						|
								 * The Original Code is:  vtiger CRM Open Source
							 | 
						|
								 * The Initial Developer of the Original Code is vtiger.
							 | 
						|
								 * Portions created by vtiger are Copyright (C) vtiger.
							 | 
						|
								 * All Rights Reserved.
							 | 
						|
								*
							 | 
						|
								 ********************************************************************************/
							 | 
						|
								-->
							 | 
						|
								<!-- BEGIN: main -->
							 | 
						|
								<script>
							 | 
						|
								function massDelete()
							 | 
						|
								{
							 | 
						|
									x = document.massdelete.selected_id.length;
							 | 
						|
									idstring = "";
							 | 
						|
								
							 | 
						|
									if ( x == undefined)
							 | 
						|
									{
							 | 
						|
									
							 | 
						|
										if (document.massdelete.selected_id.checked)
							 | 
						|
										{
							 | 
						|
											document.massdelete.idlist.value=document.massdelete.selected_id.value;
							 | 
						|
											//alert(document.massdelete.idlist.value);
							 | 
						|
										}
							 | 
						|
										else 
							 | 
						|
										{
							 | 
						|
											alert("Please select atleast one entity");
							 | 
						|
											return false;
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
									else
							 | 
						|
									{
							 | 
						|
										xx = 0;
							 | 
						|
										for(i = 0; i < x ; i++)
							 | 
						|
										{
							 | 
						|
											if(document.massdelete.selected_id[i].checked)
							 | 
						|
											{
							 | 
						|
												idstring = document.massdelete.selected_id[i].value +";"+idstring
							 | 
						|
											xx++	
							 | 
						|
											}
							 | 
						|
										}
							 | 
						|
										if (xx != 0)
							 | 
						|
										{
							 | 
						|
											document.massdelete.idlist.value=idstring;
							 | 
						|
											//alert(document.massdelete.idlist.value);
							 | 
						|
										}
							 | 
						|
										else
							 | 
						|
										{
							 | 
						|
											alert("Please select atleast one entity");
							 | 
						|
											return false;
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
								document.massdelete.action="index.php?module=Users&action=massdelete&return_module=HelpDesk&return_action=TicketsList"
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								</script>
							 | 
						|
								<script type="text/javascript" language="JavaScript">
							 | 
						|
								function clear_form(form) {
							 | 
						|
									for (j = 0; j < form.elements.length; j++) {
							 | 
						|
										if (form.elements[j].type == 'text' || form.elements[j].type == 'select-one') {
							 | 
						|
											form.elements[j].value = '';
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
								}
							 | 
						|
								</script>
							 | 
						|
								<table cellpadding="0" cellspacing="0" width="100%" border="0" class="FormBorder"><tbody>
							 | 
						|
								
							 | 
						|
									<tr height="20">
							 | 
						|
										<td COLSPAN="30" class="listFormHeaderLinks">
							 | 
						|
											<table border="0" cellpadding="0" cellspacing="0" width="100%">
							 | 
						|
											<tr>
							 | 
						|
											<td>  {RECORD_COUNTS}</td>
							 | 
						|
											   {NAVIGATION}
							 | 
						|
											</tr>
							 | 
						|
											</table>
							 | 
						|
										</td>
							 | 
						|
									</tr>
							 | 
						|
									<tr><td colspan="30" height="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td></tr>
							 | 
						|
									{LISTHEADER}
							 | 
						|
										<tr><td colspan="30" height="1" class="blackLine"><IMG SRC="{IMAGE_PATH}blank.gif"></td></tr>
							 | 
						|
									{LISTENTITY}
							 | 
						|
									</form>
							 | 
						|
								</table>
							 | 
						|
								<br>
							 | 
						|
								<!-- END: main -->
							 | 
						|
								
							 | 
						|
								
							 |