[Vtigercrm-commits] [vtiger development] #1420: XTemplate xtpl.php may be able to be removed, customized version of XTemplate-0.2.4-3

vtiger development vtiger-tickets at vtiger.fosslabs.com
Sat Jul 1 18:07:19 EDT 2006


#1420: XTemplate xtpl.php may be able to be removed, customized version of
XTemplate-0.2.4-3
---------------------------------------------------------------------------+
 Reporter:  jeffk                                                          |       Owner:  developer
     Type:  defect                                                         |      Status:  new      
 Priority:  major                                                          |   Milestone:  5.0.0    
Component:  vtigercrm                                                      |     Version:  5.0.0    
 Keywords:  dependencies packaging libraries php templating distributions  |  
---------------------------------------------------------------------------+
 Not sure how pervasive the switch to Smarty templating is at this time,
 but this ticket identifies the remaining uses of XTemplate's xtpl.php.

 I looked for the version of XTemplate snapshotted for the
 source:vtigercrm/DEPENDENCIES.txt list described in #1416.

 From what I can tell, the bundled xtpl.php is from
 XTemplate-0.2.4-3.tar.gz, with heavy customizations by SugarCRM between
 its release date of 2001-03-26 and 2004-10-06:
 {{{
         $Log: xtpl.php,v $
         Revision 1.2  2004/10/06 09:02:02  jack
         * Modifications made for 3.0 Beta Features

         Revision 1.8  2004/08/26 00:43:37  sugarmsi
         added an exists method to check if a block exists in a template

         Revision 1.7  2004/08/08 09:28:36  sugarjacob
         Fix: XTemplate changed to use <?php script declarations

         Revision 1.6  2004/07/31 22:13:22  sugarjacob
         Removing default setting of template language arrays.

         Revision 1.5  2004/07/31 21:37:36  sugarjacob
         Adding code to automatically assign the language strings to every
 template created.

         Revision 1.4  2004/07/16 08:21:57  sugarjacob
         Changing the XTemplate replacement mechanism to allow for '$' in
 the text being substituted.

         Revision 1.3  2004/06/11 23:39:47  sugarjacob
         Fixing issue with a variable not being an array in some cases.

         Revision 1.2  2004/06/11 23:34:17  sugarjacob
         Removing errors or notices about invalid indexs.

         Revision 1.1  2004/05/27 05:30:47  sugarjacob
         Moving project to SourceForge.

         Revision 1.1  2004/05/19 01:48:20  sugarcrm
         Adding files with binary option as appropriate.

         Revision 1.4  2001/03/26 23:25:02  cranx
         added keyword expansion to be more clear

         Revision 1.3  2001/03/26 23:14:56  cranx
         *** empty log message ***
 }}}
 The remaining uses of xtpl.php appear to be:
 {{{
 $ grep -R --exclude=*.svn*  xtpl.php *
 XTemplate/.svn/entries:   name="xtpl.php"
 XTemplate/xtpl.php:     $Id: xtpl.php,v 1.2 2004/10/06 09:02:02 jack Exp $
 XTemplate/xtpl.php:     $Log: xtpl.php,v $
 modules/CustomView/CustomAction.php:require_once('XTemplate/xtpl.php');
 modules/Accounts/Popup_picker.php:require_once('XTemplate/xtpl.php');
 modules/Import/ImportStepundo.php:require_once('XTemplate/xtpl.php');
 modules/Users/UpdateTab.php:require_once('XTemplate/xtpl.php');
 modules/Users/EditHomeOrder.php:require_once('XTemplate/xtpl.php');
 modules/Users/TabCustomise.php:require_once('XTemplate/xtpl.php');
 modules/Settings/EditFieldBlock.php:require_once('XTemplate/xtpl.php');
 modules/Products/AddProductToPriceBooks.php:require_once('XTemplate/xtpl.php');
 modules/Products/AddProductsToPriceBook.php:require_once('XTemplate/xtpl.php');
 modules/HelpDesk/CumulStatistics.php:require_once('XTemplate/xtpl.php');
 modules/HelpDesk/Convert.php:require_once('XTemplate/xtpl.php');
 themes/Aqua/loginheader.php:require_once('XTemplate/xtpl.php');
 themes/Aqua/header.php:require_once('XTemplate/xtpl.php');
 themes/blue/loginheader.php:require_once('XTemplate/xtpl.php');
 }}}
 If vtigercrm is really done with XTemplate and using Smarty exclusively,
 this modified library would be a good candidate to drop from the
 repository, pending some cleanup.

-- 
Ticket URL: <http://vtiger.fosslabs.com/cgi-bin/trac.cgi/ticket/1420>
vtiger development <http://vtiger.fosslabs.com/>
vtigerCRM


More information about the vtigercrm-commits mailing list