[Vtigercrm-commits] [vtiger-commits] r7047 - /vtigercrm/trunk/modules/Users/Announcements.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 13 10:03:02 EDT 2006


Author: saraj
Date: Tue Jun 13 08:02:58 2006
New Revision: 7047

Log:
Updated the announcement file

Modified:
    vtigercrm/trunk/modules/Users/Announcements.php

Modified: vtigercrm/trunk/modules/Users/Announcements.php
==============================================================================
--- vtigercrm/trunk/modules/Users/Announcements.php (original)
+++ vtigercrm/trunk/modules/Users/Announcements.php Tue Jun 13 08:02:58 2006
@@ -9,7 +9,8 @@
  *
  ********************************************************************************/
 
-require_once('XTemplate/xtpl.php');
+require_once('Smarty_setup.php');
+
 global $adb;
 global $current_user;
 global $theme;
@@ -21,6 +22,8 @@
 $title_prev=$adb->query_result($result,0,'title');
 $id=$adb->query_result($result,0,'creatorid');
 
+$smarty = new vtigerCRM_Smarty;
+
 $smarty->assign("ANNOUNCE",$announcement);
 $smarty->assign("MOD", return_module_language($current_language,'Settings'));
 $smarty->assign("IMAGE_PATH",$image_path);





More information about the vtigercrm-commits mailing list