Changeset 1036
- Timestamp:
- 06/22/09 09:47:02 (15 years ago)
- Location:
- trunk
- Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/setup/setup.inc.php
r704 r1036 52 52 $setup_info['calendar']['depends'][] = array( 53 53 'appname' => 'phpgwapi', 54 'versions' => Array('0.9.14','0.9.15','0.9.16','1.0.00', '1.0.0.00 7')54 'versions' => Array('0.9.14','0.9.15','0.9.16','1.0.00', '1.0.0.008') 55 55 ); -
trunk/expressoMail1_2/controller.php
r504 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 9 2 10 // Explode action from cExecuteForm function 3 11 $cExecuteFormReturn = false; -
trunk/expressoMail1_2/inc/class.ScriptS.inc.php
r564 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 3 10 //Inclui o arquivo contendo a classe SieveS; -
trunk/expressoMail1_2/inc/class.SieveS.inc.php
r2 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 //Conecta com o Servidor e o serviço Sieve; 3 10 class SieveS{ -
trunk/expressoMail1_2/inc/class.db_functions.inc.php
r1035 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 define('PHPGW_INCLUDE_ROOT','../'); 3 10 define('PHPGW_API_INC','../phpgwapi/inc'); -
trunk/expressoMail1_2/inc/class.exporteml.inc.php
r1035 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 /***************************************************************************************\ 3 10 * Export EML Format Message Mail * -
trunk/expressoMail1_2/inc/class.functions.inc.php
r94 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 class Functions{ 3 10 -
trunk/expressoMail1_2/inc/class.imap_attachment.inc.php
r271 r1036 1 <?php 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 class imap_attachment 3 10 { -
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r1035 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 include_once("class.functions.inc.php"); 3 10 include_once("class.ldap_functions.inc.php"); … … 1000 1007 } 1001 1008 // Malicious Code Remove 1002 $dirtyCodePattern = "/(<([\w]+ )([^>]*)on(mouse(move|over|down|up)|load|blur|change|click|dblclick|focus|key(down|up|press)|select)=[\"'][^>\"']*[\"']([^>]*)>)(.*)(<\/\\2>)?/isU";1009 $dirtyCodePattern = "/(<([\w]+[\w0-9]*)([^>]*)on(mouse(move|over|down|up)|load|blur|change|click|dblclick|focus|key(down|up|press)|select)(\ *)=(\ *)[\"'][^>\"']*[\"']([^>]*)>)(.*)(<\/\\2>)?/misU"; 1003 1010 preg_match_all($dirtyCodePattern,$body,$rest,PREG_PATTERN_ORDER); 1004 1011 foreach($rest[0] as $i => $val) 1005 if (!(preg_match("/ window\.open/i",$rest[1][$i]) && strtoupper($rest[4][$i]) == "CLICK" )) //Calendar events1012 if (!(preg_match("/javascript:window\.open\(\"\/index\.php\?menuaction=calendar\.uicalendar\.set_action\&cal_id=([^;'\"]+);?['\"]/i",$rest[1][$i]) && strtoupper($rest[4][$i]) == "CLICK" )) //Calendar events 1006 1013 $body = str_replace($rest[1][$i],"<".$rest[2][$i].$rest[3][$i].$rest[7][$i].">",$body); 1007 1014 … … 1013 1020 // Verify exception. 1014 1021 @preg_match("/<a href=\"notes:\/\/\//",$body,$matches); 1015 // I t no hasexception,then open the link in new window.1022 // If there is no exception,then open the link in new window. 1016 1023 if(count($matches)) 1017 1024 return $body; -
trunk/expressoMail1_2/inc/class.ldap_functions.inc.php
r925 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 include_once("class.imap_functions.inc.php"); 3 10 include_once("class.functions.inc.php"); -
trunk/expressoMail1_2/inc/class.message_components.inc.php
r567 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 3 10 class message_components { -
trunk/expressoMail1_2/inc/class.phpmailer.php
r1035 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 //////////////////////////////////////////////////// 3 10 // PHPMailer - PHP email class -
trunk/expressoMail1_2/inc/class.smtp.php
r756 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 //////////////////////////////////////////////////// 3 10 // SMTP - PHP SMTP class -
trunk/expressoMail1_2/inc/class.user.inc.php
r2 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 class user{ 3 10 -
trunk/expressoMail1_2/inc/fckeditor.php
r389 r1036 1 <?php 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 /* 3 10 * FCKeditor - The text editor for internet -
trunk/expressoMail1_2/inc/gd_functions.php
r1005 r1036 1 <?/* 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 *Author: 3 10 * JPEXS from http://www.hotscripts.com* ImageCreateFromBmp -
trunk/expressoMail1_2/inc/gotodownload.php
r1011 r1036 5 5 'noheader' => true 6 6 ); 7 7 8 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 9 9 … … 14 14 $msg_folder = $_GET['msg_folder']; 15 15 $msg_folder = mb_convert_encoding($msg_folder,"UTF7-IMAP", mb_detect_encoding($msg_folder, "UTF-8, ISO-8859-1", true)); 16 16 17 17 $encoding = strtolower($_GET['encoding']); 18 18 $fileContent = ""; 19 19 20 20 if($msg_number && $msg_part && $msg_folder && (intval($idx_file == '0' ? '1' : $idx_file))) { 21 21 $username = $_SESSION['phpgw_info']['expressomail']['user']['userid']; … … 32 32 } 33 33 $mbox_stream = imap_open("{".$imap_server.":".$imap_port.$imap_options."}".$msg_folder, $username, $password); 34 34 $fileContent = imap_fetchbody($mbox_stream, $msg_number, $msg_part, FT_UID); 35 35 /* 36 *Removed by Bug #54637 *include("class.imap_attachment.inc.php");38 *$imap_attachment = new imap_attachment();39 *$a = $imap_attachment->download_attachment($mbox_stream, $msg_number);40 *$filename = $a[$idx_file]['name'];41 */36 *Removed by Bug #546 37 *include("class.imap_attachment.inc.php"); 38 *$imap_attachment = new imap_attachment(); 39 *$a = $imap_attachment->download_attachment($mbox_stream, $msg_number); 40 *$filename = $a[$idx_file]['name']; 41 */ 42 42 $filename = $newfilename; 43 43 } 44 44 else 45 45 $filename = $idx_file; 46 47 $filename = $filename ? $filename : "attachment.bin";48 $newfilename = $newfilename ? $newfilename : $filename;49 $strFileType = strrev(substr(strrev(strtolower($filename)),0,4));50 51 downloadFile($strFileType, $filename, $newfilename, $fileContent, $encoding);52 53 function downloadFile($strFileType, $strFileName, $newFileName, $fileContent, $encoding) {54 $ContentType = "application/octet-stream";55 46 56 if ($strFileType == ".asf") 57 $ContentType = "video/x-ms-asf"; 58 if ($strFileType == ".avi") 59 $ContentType = "video/avi"; 60 if ($strFileType == ".doc") 61 $ContentType = "application/msword"; 62 if ($strFileType == ".zip") 63 $ContentType = "application/zip"; 64 if ($strFileType == ".xls") 65 $ContentType = "application/vnd.ms-excel"; 66 if ($strFileType == ".gif") 67 $ContentType = "image/gif"; 68 if ($strFileType == ".jpg" || $strFileType == "jpeg") 69 $ContentType = "image/jpeg"; 70 if ($strFileType == ".wav") 71 $ContentType = "audio/wav"; 72 if ($strFileType == ".mp3") 73 $ContentType = "audio/mpeg3"; 74 if ($strFileType == ".mpg" || $strFileType == "mpeg") 75 $ContentType = "video/mpeg"; 76 if ($strFileType == ".rtf") 77 $ContentType = "application/rtf"; 78 if ($strFileType == ".htm" || $strFileType == "html") 79 $ContentType = "text/html"; 80 if ($strFileType == ".xml") 81 $ContentType = "text/xml"; 82 if ($strFileType == ".xsl") 83 $ContentType = "text/xsl"; 84 if ($strFileType == ".css") 85 $ContentType = "text/css"; 86 if ($strFileType == ".php") 87 $ContentType = "text/php"; 88 if ($strFileType == ".asp") 89 $ContentType = "text/asp"; 90 if ($strFileType == ".pdf") 91 $ContentType = "application/pdf"; 92 if ($strFileType == ".txt") 93 $ContentType = "text/plain"; 94 if ($strFileType == ".log") 95 $ContentType = "text/plain"; 96 if ($strFileType == ".wmv") 97 $ContentType = "video/x-ms-wmv"; 98 if ($strFileType == ".sxc") 99 $ContentType = "application/vnd.sun.xml.calc"; 100 if ($strFileType == ".odt") 101 $ContentType = "application/vnd.oasis.opendocument.text"; 102 if ($strFileType == ".stc") 103 $ContentType = "application/vnd.sun.xml.calc.template"; 104 if ($strFileType == ".sxd") 105 $ContentType = "application/vnd.sun.xml.draw"; 106 if ($strFileType == ".std") 107 $ContentType = "application/vnd.sun.xml.draw.template"; 108 if ($strFileType == ".sxi") 109 $ContentType = "application/vnd.sun.xml.impress"; 110 if ($strFileType == ".sti") 111 $ContentType = "application/vnd.sun.xml.impress.template"; 112 if ($strFileType == ".sxm") 113 $ContentType = "application/vnd.sun.xml.math"; 114 if ($strFileType == ".sxw") 115 $ContentType = "application/vnd.sun.xml.writer"; 116 if ($strFileType == ".sxq") 117 $ContentType = "application/vnd.sun.xml.writer.global"; 118 if ($strFileType == ".stw") 119 $ContentType = "application/vnd.sun.xml.writer.template"; 120 if ($strFileType == ".ps") 121 $ContentType = "application/postscript"; 122 if ($strFileType == ".pps") 123 $ContentType = "application/vnd.ms-powerpoint"; 124 if ($strFileType == ".odt") 125 $ContentType = "application/vnd.oasis.opendocument.text"; 126 if ($strFileType == ".ott") 127 $ContentType = "application/vnd.oasis.opendocument.text-template"; 128 if ($strFileType == ".oth") 129 $ContentType = "application/vnd.oasis.opendocument.text-web"; 130 if ($strFileType == ".odm") 131 $ContentType = "application/vnd.oasis.opendocument.text-master"; 132 if ($strFileType == ".odg") 133 $ContentType = "application/vnd.oasis.opendocument.graphics"; 134 if ($strFileType == ".otg") 135 $ContentType = "application/vnd.oasis.opendocument.graphics-template"; 136 if ($strFileType == ".odp") 137 $ContentType = "application/vnd.oasis.opendocument.presentation"; 138 if ($strFileType == ".otp") 139 $ContentType = "application/vnd.oasis.opendocument.presentation-template"; 140 if ($strFileType == ".ods") 141 $ContentType = "application/vnd.oasis.opendocument.spreadsheet"; 142 if ($strFileType == ".ots") 143 $ContentType = "application/vnd.oasis.opendocument.spreadsheet-template"; 144 if ($strFileType == ".odc") 145 $ContentType = "application/vnd.oasis.opendocument.chart"; 146 if ($strFileType == ".odf") 147 $ContentType = "application/vnd.oasis.opendocument.formula"; 148 if ($strFileType == ".odi") 149 $ContentType = "application/vnd.oasis.opendocument.image"; 150 if ($strFileType == ".ndl") 151 $ContentType = "application/vnd.lotus-notes"; 152 153 header ("Content-Type: $ContentType"); 154 header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); 155 header("Pragma: public"); 156 header("Expires: 0"); // set expiration time 157 header ("Content-Disposition: attachment; filename=\"". addslashes($newFileName)."\""); 158 if($fileContent) { 159 if($encoding == 'base64') 160 echo imap_base64($fileContent); 161 else if($encoding == 'quoted-printable') 162 echo quoted_printable_decode($fileContent); 47 $filename = $filename ? $filename : "attachment.bin"; 48 $newfilename = $newfilename ? $newfilename : $filename; 49 $strFileType = strrev(substr(strrev(strtolower($filename)),0,4)); 50 51 downloadFile($strFileType, $filename, $newfilename, $fileContent, $encoding); 52 53 function downloadFile($strFileType, $strFileName, $newFileName, $fileContent, $encoding) { 54 $ContentType = "application/octet-stream"; 55 56 if ($strFileType == ".asf") 57 $ContentType = "video/x-ms-asf"; 58 if ($strFileType == ".avi") 59 $ContentType = "video/avi"; 60 if ($strFileType == ".doc") 61 $ContentType = "application/msword"; 62 if ($strFileType == ".zip") 63 $ContentType = "application/zip"; 64 if ($strFileType == ".xls") 65 $ContentType = "application/vnd.ms-excel"; 66 if ($strFileType == ".gif") 67 $ContentType = "image/gif"; 68 if ($strFileType == ".jpg" || $strFileType == "jpeg") 69 $ContentType = "image/jpeg"; 70 if ($strFileType == ".wav") 71 $ContentType = "audio/wav"; 72 if ($strFileType == ".mp3") 73 $ContentType = "audio/mpeg3"; 74 if ($strFileType == ".mpg" || $strFileType == "mpeg") 75 $ContentType = "video/mpeg"; 76 if ($strFileType == ".rtf") 77 $ContentType = "application/rtf"; 78 if ($strFileType == ".htm" || $strFileType == "html") 79 $ContentType = "text/html"; 80 if ($strFileType == ".xml") 81 $ContentType = "text/xml"; 82 if ($strFileType == ".xsl") 83 $ContentType = "text/xsl"; 84 if ($strFileType == ".css") 85 $ContentType = "text/css"; 86 if ($strFileType == ".php") 87 $ContentType = "text/php"; 88 if ($strFileType == ".asp") 89 $ContentType = "text/asp"; 90 if ($strFileType == ".pdf") 91 $ContentType = "application/pdf"; 92 if ($strFileType == ".txt") 93 $ContentType = "text/plain"; 94 if ($strFileType == ".log") 95 $ContentType = "text/plain"; 96 if ($strFileType == ".wmv") 97 $ContentType = "video/x-ms-wmv"; 98 if ($strFileType == ".sxc") 99 $ContentType = "application/vnd.sun.xml.calc"; 100 if ($strFileType == ".odt") 101 $ContentType = "application/vnd.oasis.opendocument.text"; 102 if ($strFileType == ".stc") 103 $ContentType = "application/vnd.sun.xml.calc.template"; 104 if ($strFileType == ".sxd") 105 $ContentType = "application/vnd.sun.xml.draw"; 106 if ($strFileType == ".std") 107 $ContentType = "application/vnd.sun.xml.draw.template"; 108 if ($strFileType == ".sxi") 109 $ContentType = "application/vnd.sun.xml.impress"; 110 if ($strFileType == ".sti") 111 $ContentType = "application/vnd.sun.xml.impress.template"; 112 if ($strFileType == ".sxm") 113 $ContentType = "application/vnd.sun.xml.math"; 114 if ($strFileType == ".sxw") 115 $ContentType = "application/vnd.sun.xml.writer"; 116 if ($strFileType == ".sxq") 117 $ContentType = "application/vnd.sun.xml.writer.global"; 118 if ($strFileType == ".stw") 119 $ContentType = "application/vnd.sun.xml.writer.template"; 120 if ($strFileType == ".ps") 121 $ContentType = "application/postscript"; 122 if ($strFileType == ".pps") 123 $ContentType = "application/vnd.ms-powerpoint"; 124 if ($strFileType == ".odt") 125 $ContentType = "application/vnd.oasis.opendocument.text"; 126 if ($strFileType == ".ott") 127 $ContentType = "application/vnd.oasis.opendocument.text-template"; 128 if ($strFileType == ".oth") 129 $ContentType = "application/vnd.oasis.opendocument.text-web"; 130 if ($strFileType == ".odm") 131 $ContentType = "application/vnd.oasis.opendocument.text-master"; 132 if ($strFileType == ".odg") 133 $ContentType = "application/vnd.oasis.opendocument.graphics"; 134 if ($strFileType == ".otg") 135 $ContentType = "application/vnd.oasis.opendocument.graphics-template"; 136 if ($strFileType == ".odp") 137 $ContentType = "application/vnd.oasis.opendocument.presentation"; 138 if ($strFileType == ".otp") 139 $ContentType = "application/vnd.oasis.opendocument.presentation-template"; 140 if ($strFileType == ".ods") 141 $ContentType = "application/vnd.oasis.opendocument.spreadsheet"; 142 if ($strFileType == ".ots") 143 $ContentType = "application/vnd.oasis.opendocument.spreadsheet-template"; 144 if ($strFileType == ".odc") 145 $ContentType = "application/vnd.oasis.opendocument.chart"; 146 if ($strFileType == ".odf") 147 $ContentType = "application/vnd.oasis.opendocument.formula"; 148 if ($strFileType == ".odi") 149 $ContentType = "application/vnd.oasis.opendocument.image"; 150 if ($strFileType == ".ndl") 151 $ContentType = "application/vnd.lotus-notes"; 152 153 header ("Content-Type: $ContentType"); 154 header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); 155 header("Pragma: public"); 156 header("Expires: 0"); // set expiration time 157 header ("Content-Disposition: attachment; filename=\"". addslashes($newFileName)."\""); 158 if($fileContent) { 159 if($encoding == 'base64') 160 echo imap_base64($fileContent); 161 else if($encoding == 'quoted-printable') 162 echo quoted_printable_decode($fileContent); 163 else 164 echo $fileContent; 165 } 163 166 else 164 echo $fileContent; 167 if ( ( strpos( $strFileName, ini_get( 'session.save_path' ) ) === 0 ) && ( strpos( $strFileName, '../' ) === false ) ) 168 readfile($strFileName); 165 169 } 166 else 167 if ( strpos( $strFileName, ini_get( 'session.save_path' ) ) !== false ) 168 readfile($strFileName); 169 } 170 ?> 170 ?> -
trunk/expressoMail1_2/inc/hook_admin.inc.php
r69 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 /**************************************************************************\ 3 10 * eGroupWare * -
trunk/expressoMail1_2/inc/hook_home.inc.php
r139 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 3 10 $current_app = 'expressoMail1_2'; -
trunk/expressoMail1_2/inc/hook_preferences.inc.php
r873 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 { 3 10 $title = $appname; -
trunk/expressoMail1_2/inc/hook_settings.inc.php
r1035 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 /**************************************************************************\ 3 10 * eGroupWare - ExpressoMail Preferences * -
trunk/expressoMail1_2/inc/load_lang.php
r604 r1036 1 <? 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 // Load the lang of the module. 3 10 if(!$_SESSION['phpgw_info']['expressomail']['lang']) -
trunk/expressoMail1_2/inc/show_embedded_attach.php
r205 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 $username = $_SESSION['phpgw_info']['expressomail']['user']['userid']; 3 10 $password = $_SESSION['phpgw_info']['expressomail']['user']['passwd']; -
trunk/expressoMail1_2/inc/show_img.php
r178 r1036 1 <?php 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 header("Content-Type: image/jpeg"); 3 10 if($_GET['msg_num'] && $_GET['msg_part'] && $_GET['msg_folder']) { -
trunk/expressoMail1_2/inc/show_thumbs.php
r178 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 $username = $_SESSION['phpgw_info']['expressomail']['user']['userid']; 3 10 $password = $_SESSION['phpgw_info']['expressomail']['user']['passwd']; -
trunk/expressoMail1_2/inc/show_user_photo.php
r175 r1036 1 1 <?php 2 $GLOBALS['phpgw_info']['flags'] = array( 3 'currentapp' => 'expressoMail1_2', 4 'nonavbar' => true, 5 'noheader' => true 6 ); 7 8 require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 2 9 function ldapRebind($ldap_connection, $ldap_url) 3 10 { -
trunk/expressoMail1_2/index.php
r1035 r1036 32 32 ); 33 33 34 include('../header.inc.php');34 require_once('../header.inc.php'); 35 35 $update_version = $GLOBALS['phpgw_info']['flags']['update_version']; 36 36 $_SESSION['phpgw_info']['expressomail']['user'] = $GLOBALS['phpgw_info']['user']; -
trunk/expressoMail1_2/preferences.php
r1035 r1036 10 10 11 11 12 include('../header.inc.php');12 require_once('../header.inc.php'); 13 13 include('inc/class.imap_functions.inc.php'); 14 14 include_once("inc/fckeditor.php"); -
trunk/help/setup/setup.inc.php
r194 r1036 26 26 $setup_info['help']['depends'][] = array( 27 27 'appname' => 'phpgwapi', 28 'versions' => Array('0.9.14','1.0.0.00 7')28 'versions' => Array('0.9.14','1.0.0.008') 29 29 ); 30 30 ?> -
trunk/phpgwapi/inc/class.sessions.inc.php
r694 r1036 650 650 $login = substr($login,0,30); 651 651 } 652 $GLOBALS['phpgw']->db->query('INSERT INTO phpgw_access_log(sessionid,loginid,ip,li,lo,account_id )'652 $GLOBALS['phpgw']->db->query('INSERT INTO phpgw_access_log(sessionid,loginid,ip,li,lo,account_id,browser)' 653 653 . " VALUES ('" . $sessionid . "','" . $this->db->db_addslashes($login). "','" 654 . $this->db->db_addslashes($user_ip) . "',$now,0," . (int)$account_id . ')',__LINE__,__FILE__);654 . $this->db->db_addslashes($user_ip) . "',$now,0," . (int)$account_id .",'".$this->db->db_addslashes($_SERVER[ 'HTTP_USER_AGENT' ])."')",__LINE__,__FILE__); 655 655 } 656 656 else if($sessionid != 'bad login or password') -
trunk/phpgwapi/setup/setup.inc.php
r2 r1036 14 14 $setup_info['phpgwapi']['name'] = 'phpgwapi'; 15 15 $setup_info['phpgwapi']['title'] = 'phpgwapi'; 16 $setup_info['phpgwapi']['version'] = '1.0.0.00 7';16 $setup_info['phpgwapi']['version'] = '1.0.0.008'; 17 17 $setup_info['phpgwapi']['versions']['current_header'] = '1.27'; 18 18 $setup_info['phpgwapi']['enable'] = 3; -
trunk/phpgwapi/setup/tables_update.inc.php
r2 r1036 1648 1648 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 1649 1649 } 1650 1651 $test[] = '1.0.0.007'; 1652 function phpgwapi_upgrade1_0_0_007() 1653 { 1654 1655 global $setup_info,$phpgw_setup; 1656 1657 $phpgw_setup->oProc->AddColumn('phpgw_access_log','browser', array ('type' => 'varchar', 'precision' => 200)); 1658 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.0.0.008'; 1659 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 1660 1661 } 1662 1650 1663 ?> -
trunk/preferences/setup/setup.inc.php
r2 r1036 28 28 $setup_info['preferences']['depends'][] = array( 29 29 'appname' => 'phpgwapi', 30 'versions' => Array('0.9.10', '0.9.11', '0.9.12', '0.9.13', '0.9.14','1.0.0.00 7')30 'versions' => Array('0.9.10', '0.9.11', '0.9.12', '0.9.13', '0.9.14','1.0.0.008') 31 31 ); 32 32 ?>
Note: See TracChangeset
for help on using the changeset viewer.