[Vtigercrm-commits] [vtiger-commits] r4504 - in /vtigercrm/trunk/modules/Home: Forms.php home_rss.php index.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 28 00:01:12 EST 2006
Author: saraj
Date: Mon Mar 27 22:01:05 2006
New Revision: 4504
Log:
junk code removed in homepage
Modified:
vtigercrm/trunk/modules/Home/Forms.php
vtigercrm/trunk/modules/Home/home_rss.php
vtigercrm/trunk/modules/Home/index.php
Modified: vtigercrm/trunk/modules/Home/Forms.php
==============================================================================
Binary files - no diff available.
Modified: vtigercrm/trunk/modules/Home/home_rss.php
==============================================================================
--- vtigercrm/trunk/modules/Home/home_rss.php (original)
+++ vtigercrm/trunk/modules/Home/home_rss.php Mon Mar 27 22:01:05 2006
@@ -32,10 +32,7 @@
//retrieving notifications******************************
//<<<<<<<<<<<<<<<< start of owner notify>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$query = "select crmentity.setype,crmentity.crmid,crmentity.smcreatorid,crmentity.modifiedtime from crmentity inner join ownernotify on crmentity.crmid=ownernotify.crmid";
-//where ownernotify.smownerid=".$current_user->id;
-//echo $query;
-//$notify=array ('Accounts' =>0,'Potentials'=>0,'Contacts'=>0,'Leads'=>0,'Vendor'=>0,'Products'=>0,'Faq'=>0,'HelpDesk'=>0,'Activities'=>0);
$result = $adb->query($query);
for($i=0;$i<$adb->num_rows($result);$i++)
{
@@ -120,24 +117,6 @@
-/* if($notify['Accounts']>0)
- $notify_values='Accounts '.$notify['Accounts'].'<br>';
- if($notify['Potentials']>0)
- $notify_values.='Potentials '.$notify['Potentials'].'<br>';
- if($notify['Contacts']>0)
- $notify_values.='Contacts '.$notify['Contacts'].'<br>';
- if($notify['Leads']>0)
- $notify_values.='Leads '.$notify['Leads'].'<br>';
- if($notify['Vendor']>0)
- $notify_values.='Vendor '.$notify['Vendor'].'<br>';
- if($notify['Products']>0)
- $notify_values.='Products '.$notify['Products'].'<br>';
- if($notify['Faq']>0)
- $notify_values.='Faq '.$notify['Faq'].'<br>';
- if($notify['HelpDesk']>0)
- $notify_values.='Ticket '.$notify['HelpDesk'].'<br>';
- if($notify['Activities']>0)
- $notify_values.='Activity '.$notify['Activities'];*/
//<<<<<<<<<<<<<<<< end of owner notify>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Variable reassignment and reformatting for author
@@ -145,9 +124,6 @@
$entry_author = getUserName($author_id);
$entry_author = htmlspecialchars ($entry_author);
- //$entry_text = strip_tags($db->query_result($tktresult,$i,'description'));
- //$entry_id = $db->query_result($tktresult,$i,'ticketid');
- //$entry_title = htmlspecialchars($db->query_result($tktresult,$i,'title'));
$entry_link = $site_URL."/index.php?modules=".$mod_notify[$i]['setype']."&action=DetailView&record=".$mod_notify[$i]['crmid'];
$entry_link = htmlspecialchars($entry_link);
$entry_time = $db->query_result($result,$i,'modifiedtime');
Modified: vtigercrm/trunk/modules/Home/index.php
==============================================================================
--- vtigercrm/trunk/modules/Home/index.php (original)
+++ vtigercrm/trunk/modules/Home/index.php Mon Mar 27 22:01:05 2006
@@ -39,12 +39,6 @@
$task_title = $mod_strings['LBL_OPEN_TASKS'];
-?>
-<table width=100% cellpadding="5" cellspacing="5" border="0">
-<tr>
-<td valign="top">
-<?php
-
// MWC Home Order Sorting functions given by mike
global $adb;
global $current_user;
More information about the vtigercrm-commits
mailing list