phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/doc etemplate.html,1.15,1.16


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/doc etemplate.html,1.15,1.16
Date: Sat, 19 Oct 2002 07:15:27 -0400

Update of /cvsroot/phpgroupware/etemplate/doc
In directory subversions:/tmp/cvs-serv17456

Modified Files:
        etemplate.html 
Log Message:
- changed the way so_sql is loaded
- modified writeLangFile to include the types and return the message 

Index: etemplate.html
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/doc/etemplate.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** etemplate.html      16 Oct 2002 00:25:54 -0000      1.15
--- etemplate.html      19 Oct 2002 11:15:23 -0000      1.16
***************
*** 1,7 ****
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
  <html>
  <head>
    <title>phpGroupware: eTemplates - Templates and Dialog-Editor</title>
- <!-- $Id$ -->
  <STYLE type="text/css">
  <!--
--- 1,7 ----
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+ <!-- $Id$ -->
  <html>
  <head>
    <title>phpGroupware: eTemplates - Templates and Dialog-Editor</title>
  <STYLE type="text/css">
  <!--
***************
*** 168,178 ****
  
\**************************************************************************/</span>
  
! <span>/* $Id$ */</span>
  
! if(!isset($GLOBALS['phpgw_info']['flags']['included_classes']['so_sql']))
! {
!       include(PHPGW_API_INC . '/../../etemplate/inc/class.so_sql.inc.php');
!       $GLOBALS['phpgw_info']['flags']['included_classes']['so_sql'] = True;
! }
  </pre>
  
--- 168,175 ----
  
\**************************************************************************/</span>
  
! <span>/* $ Id: class.et_media.inc.php,v 1.2 2002/10/19 11:11:03 ralfbecker 
Exp $ */</span>
  
! include_once(PHPGW_INCLUDE_ROOT . '/etemplate/inc/class.so_sql.inc.php');
! $GLOBALS['phpgw_info']['flags']['included_classes']['so_sql'] = True;
  </pre>
  
***************
*** 455,463 ****
  
  <pre>
        function writeLangFile()
        {
!               $etm = new et_media(False);     <span>// no lang() on 
messages</span>
  
!               $this->tmpl->writeLangFile('et_media','en',$etm->messages);
        }
  </pre>
--- 452,466 ----
  
  <pre>
+       <span>/*!
+       @function writeLangFile
+       @abstract writes langfile with all templates and messages registered 
here
+       @discussion can be called via [write Langfile] in eTemplate editor or 
+       @discussion 
http://domain/phpgroupware/index.php?et_media.et_media.writeLangFile
+       */</span>
        function writeLangFile()
        {
!               $etm = new et_media(False);     <span>// no lang on 
messages</span>
  
!               return 
$this->tmpl->writeLangFile('et_media','en',$etm->messages+$etm->types);
        }
  </pre>





reply via email to

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