[Vtigercrm-commits] [vtiger-commits] r5287 - /vtigercrm/trunk/Smarty/templates/ListView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 24 11:16:12 EDT 2006


Author: saraj
Date: Mon Apr 24 09:16:09 2006
New Revision: 5287

Log:
Added tagcloud for all listviews - Ahmed

Modified:
    vtigercrm/trunk/Smarty/templates/ListView.tpl

Modified: vtigercrm/trunk/Smarty/templates/ListView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListView.tpl Mon Apr 24 09:16:09 2006
@@ -370,11 +370,36 @@
 		       </td>
 		   </tr>
 	    </table>
-
    </form>	
 {$SELECT_SCRIPT}
 	</div>
-
+<table border=0 cellspacing=0 cellpadding=0 width=100% >
+						<tr><td align = "right" style="padding-right:20px">
+						<table width="250" border="0" cellspacing="0" cellpadding="0">
+						<tr>
+						<td colspan="3"><img src="{$IMAGE_PATH}cloud_top.gif" width=250 height=38 alt=""></td>
+						</tr>
+						<tr>
+						<td width="16" height="10"><img src="{$IMAGE_PATH}cloud_top_left.gif" width="16" height="10"></td>
+						<td width="221" height="10"><img src="{$IMAGE_PATH}tagcloud_03.gif" width="221" height="10"></td>
+						<td width="13" height="10"><img src="{$IMAGE_PATH}cloud_top_right.gif" width="13" height="10"></td>
+						</tr>
+						<tr>
+						<td class="cloudLft"></td>
+						<td>
+						<span id="tagfields"></span>
+						</td>
+						<td class="cloudRht"></td>
+						</tr>
+						<tr>
+						<td width="16" height="13"><img src="{$IMAGE_PATH}cloud_btm_left.gif" width="16" height="13"></td>
+						<td width="221" height="13"><img src="{$IMAGE_PATH}cloud_btm_bdr.gif" width="221" height="13"></td>
+						<td width="13" height="13"><img src="{$IMAGE_PATH}cloud_btm_right.gif" width="13" height="13"></td>
+						</tr>
+						</table>
+						
+						</td></tr>
+						</table>
      </td>
    </tr>
 </table>
@@ -479,4 +504,14 @@
 {/literal}
 {/if}
 
-
+<script>
+var data = "module={$MODULE}&action={$MODULE}Ajax&ajxaction=GETTAGCLOUD";
+var ajaxObj = new Ajax(ajaxTagCloudResp);
+ajaxObj.process("index.php?",data);
+function ajaxTagCloudResp(response)
+{ldelim}
+	var item = response.responseText;
+	getObj('tagfields').innerHTML = item;
+	
+{rdelim}
+</script>





More information about the vtigercrm-commits mailing list