Changeset 1059


Ignore:
Timestamp:
06/29/09 17:33:04 (15 years ago)
Author:
amuller
Message:

Ticket #559 - Removendo inclusão de header.inc.php nas classes e colocando no controler

Location:
trunk/expressoMail1_2
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/controller.php

    r1037 r1059  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
     3        $GLOBALS['phpgw_info']['flags'] = array( 
     4                'currentapp' => 'expressoMail1_2', 
     5                'nonavbar'   => true, 
     6                'noheader'   => true 
     7        ); 
     8} 
     9require_once '../header.inc.php'; 
     10 
    211        //      Explode action from cExecuteForm function 
    312        $cExecuteFormReturn = false; 
  • trunk/expressoMail1_2/inc/class.ScriptS.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    11  
    122//Inclui o arquivo contendo a classe SieveS; 
    133include('class.SieveS.inc.php'); 
  • trunk/expressoMail1_2/inc/class.SieveS.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    112 
    123//Conecta com o Servidor e o serviço Sieve; 
  • trunk/expressoMail1_2/inc/class.db_functions.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    112define('PHPGW_INCLUDE_ROOT','../');      
    123define('PHPGW_API_INC','../phpgwapi/inc');       
  • trunk/expressoMail1_2/inc/class.dynamic_contacts.inc.php

    r555 r1059  
    1010        \**********************************************************************************/ 
    1111         
    12 $GLOBALS['phpgw_info']['flags'] = array( 
    13                 'currentapp' => 'expressoMail1_2', 
    14                 'noheader'   => True,  
    15                 'nonavbar'   => True, 
    16                 'enable_nextmatchs_class' => True 
    17         ); 
    18  
    19 include_once('../header.inc.php'); 
    2012include_once('class.db_functions.inc.php'); 
    2113include_once('class.functions.inc.php'); 
  • trunk/expressoMail1_2/inc/class.exporteml.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    102/***************************************************************************************\ 
    113* Export EML Format Message Mail                                                                                                                * 
  • trunk/expressoMail1_2/inc/class.functions.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    112        class Functions{ 
    123                 
  • trunk/expressoMail1_2/inc/class.imap_attachment.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    102class imap_attachment 
    113{ 
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r1057 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    102 
    113include_once("class.functions.inc.php"); 
  • trunk/expressoMail1_2/inc/class.ldap_functions.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    112include_once("class.imap_functions.inc.php"); 
    123include_once("class.functions.inc.php"); 
  • trunk/expressoMail1_2/inc/class.message_components.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    112    class message_components { 
    123 
  • trunk/expressoMail1_2/inc/class.phpmailer.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    112//////////////////////////////////////////////////// 
    123// PHPMailer - PHP email class 
  • trunk/expressoMail1_2/inc/class.smtp.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    112//////////////////////////////////////////////////// 
    123// SMTP - PHP SMTP class 
  • trunk/expressoMail1_2/inc/class.user.inc.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    102 
    113class user{ 
  • trunk/expressoMail1_2/inc/fckeditor.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    10  
    112/* 
    123 * FCKeditor - The text editor for internet 
  • trunk/expressoMail1_2/inc/load_lang.php

    r1040 r1059  
    11<?php 
    2 if(!isset($GLOBALS['phpgw_info'])){ 
    3         $GLOBALS['phpgw_info']['flags'] = array( 
    4                 'currentapp' => 'expressoMail1_2', 
    5                 'nonavbar'   => true, 
    6                 'noheader'   => true 
    7         ); 
    8 } 
    9 require_once '../header.inc.php'; 
    102 
    113// Load the lang of the module. 
Note: See TracChangeset for help on using the changeset viewer.