Changeset 1057
- Timestamp:
- 06/29/09 09:29:13 (15 years ago)
- Location:
- trunk
- Files:
-
- 11 added
- 4 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r1040 r1057 1009 1009 } 1010 1010 // Malicious Code Remove 1011 $dirtyCodePattern = "/(<([\w]+[\w0-9]*)( [^>]*)on(mouse(move|over|down|up)|load|blur|change|click|dblclick|focus|key(down|up|press)|select)(\ *)=(\*)[\"'][^>\"']*[\"']([^>]*)>)(.*)(<\/\\2>)?/misU";1011 $dirtyCodePattern = "/(<([\w]+[\w0-9]*)(.*)on(mouse(move|over|down|up)|load|blur|change|click|dblclick|focus|key(down|up|press)|select)([\n\ ]*)=([\n\ ]*)[\"'][^>\"']*[\"']([^>]*)>)(.*)(<\/\\2>)?/misU"; 1012 1012 preg_match_all($dirtyCodePattern,$body,$rest,PREG_PATTERN_ORDER); 1013 1013 foreach($rest[0] as $i => $val) 1014 1014 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 1015 1015 $body = str_replace($rest[1][$i],"<".$rest[2][$i].$rest[3][$i].$rest[7][$i].">",$body); 1016 1016 1017 1017 return "<span>".$body; -
trunk/expressoMail1_2/index.php
r1036 r1057 1 1 <?php 2 3 /* Begin: Check config needed for expressoMail */4 /* Config need for expressoMail work */5 $php_ini['session.auto_start'] = '1';6 $php_ini['magic_quotes_gpc'] = '';7 $php_ini['magic_quotes_runtime'] = '';8 $php_ini['magic_quotes_sybase'] = '';9 10 /* Config from php.ini */11 $php_ini_configs = array("session.auto_start","magic_quotes_gpc","magic_quotes_runtime","magic_quotes_sybase");12 /* Checking */13 $error = false;14 foreach($php_ini_configs as $config)15 {16 if ( ($f_phpini=ini_get($config)) != $php_ini[$config])17 {18 $error = true;19 echo "Erro: Config <font color=red>$config</font> from php.ini needs to be '" . $php_ini[$config] . "', but is set to '" . $f_phpini . "'.<br>";20 }21 }22 if ($error)23 exit;24 /* End: Check config needed for expressoMail */25 2 26 3 $GLOBALS['phpgw_info']['flags'] = array( -
trunk/phpgwapi/inc/adodb/session/adodb-session.php
r34 r1057 69 69 session_id(md5(uniqid(rand(), true))); 70 70 $ck = session_get_cookie_params(); 71 setcookie(session_name(), session_id(), false, $ck['path'], $ck['domain'], $ck['secure'] );71 setcookie(session_name(), session_id(), false, $ck['path'], $ck['domain'], $ck['secure'],true); 72 72 //@session_start(); 73 73 } … … 79 79 session_id($old_id); 80 80 if (empty($ck)) $ck = session_get_cookie_params(); 81 setcookie(session_name(), session_id(), false, $ck['path'], $ck['domain'], $ck['secure'] );81 setcookie(session_name(), session_id(), false, $ck['path'], $ck['domain'], $ck['secure'],true); 82 82 return false; 83 83 } -
trunk/phpgwapi/inc/adodb/session/old/adodb-session.php
r34 r1057 122 122 session_id(md5(uniqid(rand(), true))); 123 123 $ck = session_get_cookie_params(); 124 setcookie(session_name(), session_id(), false, $ck['path'], $ck['domain'], $ck['secure'] );124 setcookie(session_name(), session_id(), false, $ck['path'], $ck['domain'], $ck['secure'],true); 125 125 //@session_start(); 126 126 } … … 132 132 session_id($old_id); 133 133 if (empty($ck)) $ck = session_get_cookie_params(); 134 setcookie(session_name(), session_id(), false, $ck['path'], $ck['domain'], $ck['secure'] );134 setcookie(session_name(), session_id(), false, $ck['path'], $ck['domain'], $ck['secure'],true); 135 135 return false; 136 136 } -
trunk/phpgwapi/inc/class.sessions.inc.php
r1036 r1057 468 468 $this->phpgw_set_cookiedomain(); 469 469 } 470 setcookie($cookiename,$cookievalue,$cookietime,'/',$this->cookie_domain );470 setcookie($cookiename,$cookievalue,$cookietime,'/',$this->cookie_domain,null,true); 471 471 } 472 472 -
trunk/phpgwapi/templates/azul/css/cataratas.css
r1024 r1057 453 453 .toolbar 454 454 { 455 background-image:url(../../../../phpgwapi/templates/default/images/fundo_topo_fozi. png);455 background-image:url(../../../../phpgwapi/templates/default/images/fundo_topo_fozi.jpg); 456 456 position:absolute; 457 457 } … … 459 459 .logo_expresso 460 460 { 461 background:url(../../../../phpgwapi/templates/default/images/logo_expresso_fozi. png) no-repeat;461 background:url(../../../../phpgwapi/templates/default/images/logo_expresso_fozi.gif) no-repeat; 462 462 width: 264px; 463 463 height: 35px; … … 470 470 .content-folders { 471 471 padding: 0px 0px 0px 0px !important; 472 background: #a0b2cc url(../../../../phpgwapi/templates/default/images/folder_bg_fozi. png) no-repeat scroll center bottom !important;472 background: #a0b2cc url(../../../../phpgwapi/templates/default/images/folder_bg_fozi.jpg) no-repeat scroll center bottom !important; 473 473 } 474 474 -
trunk/phpgwapi/templates/azul/css/rochas.css
r1049 r1057 480 480 .content-folders { 481 481 padding: 0px 0px 0px 0px !important; 482 background: #ddf4fe url(../../../../phpgwapi/templates/default/images/folder_bg_canyon. png) no-repeat scroll center bottom !important;482 background: #ddf4fe url(../../../../phpgwapi/templates/default/images/folder_bg_canyon.jpg) no-repeat scroll center bottom !important; 483 483 } 484 484 .navbar_butOut -
trunk/phpgwapi/templates/azul/navbar.inc.php
r963 r1057 74 74 if ($GLOBALS['phpgw_info']['flags']['currentapp'] == $app) 75 75 { 76 $icon .= '<img id="'. $title.'_id" src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title . '" border="0" width="35" height="35" nowrap="nowrap"/></a>';76 $icon .= '<img id="'.str_replace('_','',$app).'id" src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title . '" border="0" width="35" height="35" nowrap="nowrap"/></a>'; 77 77 $current_app = True; 78 78 } 79 79 else 80 $icon .= '<img id="'. $title.'_id" src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title . '" border="0" width="24" height="24" nowrap="nowrap"/></a>';80 $icon .= '<img id="'.str_replace('_','',$app).'id" src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title . '" border="0" width="24" height="24" nowrap="nowrap"/></a>'; 81 81 82 82 // 020204 ndee
Note: See TracChangeset
for help on using the changeset viewer.