Changeset 653242c in github
- Timestamp:
- Apr 20, 2008 6:49:15 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- f025740
- Parents:
- ea090ca
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/main.inc (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rea090ca r653242c 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2008/04/20 (estadtherr) 5 ---------- 6 - fix parse_attrib_string to handle unquoted values, which fixes 7 display issues with HTML messages that do not quote attributes 3 8 4 9 2008/04/17 (alec) -
program/include/main.inc
rea090ca r653242c 379 379 { 380 380 global $CONFIG; 381 381 382 382 // return table name if configured 383 383 $config_key = 'db_table_'.$table; … … 385 385 if (strlen($CONFIG[$config_key])) 386 386 return $CONFIG[$config_key]; 387 387 388 388 return $table; 389 389 } … … 392 392 /** 393 393 * Return correct name for a specific database sequence 394 * (used for Post res only)394 * (used for Postgres only) 395 395 * 396 396 * @param string Secuence name … … 400 400 { 401 401 global $CONFIG; 402 402 403 403 // return table name if configured 404 404 $config_key = 'db_sequence_'.$sequence; … … 406 406 if (strlen($CONFIG[$config_key])) 407 407 return $CONFIG[$config_key]; 408 408 409 409 return $sequence; 410 410 } … … 1484 1484 { 1485 1485 $attrib = array(); 1486 preg_match_all('/\s*([-_a-z]+)=(["\']) ([^"]+)\2/Ui', stripslashes($str), $regs, PREG_SET_ORDER);1486 preg_match_all('/\s*([-_a-z]+)=(["\'])??(?(2)([^"\']+)\2|(\S+?))/Ui', stripslashes($str), $regs, PREG_SET_ORDER); 1487 1487 1488 1488 // convert attributes to an associative array (name => value) 1489 1489 if ($regs) 1490 1490 foreach ($regs as $attr) 1491 $attrib[strtolower($attr[1])] = $attr[3]; 1491 { 1492 $attrib[strtolower($attr[1])] = $attr[3] . $attr[4]; 1493 } 1492 1494 1493 1495 return $attrib; … … 1634 1636 * Date will be added automatically to the line. 1635 1637 * 1636 * @param $name Name of logfile1637 * @param $line Line to append1638 * @param $name name of log file 1639 * @param line Line to append 1638 1640 */ 1639 1641 function write_log($name, $line)
Note: See TracChangeset
for help on using the changeset viewer.
