phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: stocks/inc hook_about.inc.php,1.1,1.2


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: stocks/inc hook_about.inc.php,1.1,1.2
Date: Sun, 27 Jan 2002 18:36:55 -0500

Update of /cvsroot/phpgroupware/stocks/inc
In directory subversions:/tmp/cvs-serv18414/inc

Modified Files:
        hook_about.inc.php 
Log Message:
tpl for about hook

Index: hook_about.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/hook_about.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** hook_about.inc.php  21 Jan 2002 00:19:02 -0000      1.1
--- hook_about.inc.php  27 Jan 2002 23:36:53 -0000      1.2
***************
*** 13,19 ****
        function about_app($tpl,$handle)
        {
!               $s = '<b>' . lang('Stock Quotes') . '</b>';
!               $s .= '<p>' . lang('based on:') . '&nbsp;PStocks 
v.0.1&nbsp/&nbsp;' . lang('author:') . '&nbsp;Dan Steinman 
(address@hidden)</p>';
!               $s .= '<p>' . lang('written by:') . '&nbsp;Bettina 
Gille&nbsp;&nbsp;address@hidden<br>Joseph 
Engo&nbsp;&nbsp;&lt;address@hidden&gt;</p>';
                return $s;
        }
--- 13,24 ----
        function about_app($tpl,$handle)
        {
!               $t = 
CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir('stocks'));
!               $s = $t->set_file(array('about' => 'about.tpl'));
!               $s .= $t->set_var('app_title',lang('Stock Quotes'));
!               $s .= $t->set_var('based_on',lang('based on'));
!               $s .= $t->set_var('written_by',lang('written by'));
!               $s .= $t->set_var('source','PStocks v.0.1&nbsp;/&nbsp;Dan 
Steinman (address@hidden)');
!               $s .= $t->set_var('developers','Bettina 
Gille&nbsp;&nbsp;address@hidden<br>Joseph 
Engo&nbsp;&nbsp;&lt;address@hidden&gt;');
!               $s .= $t->fp('out','about');
                return $s;
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]