XPressME Integration Kit

Trac

Changeset 444


Ignore:
Timestamp:
Nov 18, 2009, 10:17:23 AM (14 years ago)
Author:
toemon
Message:

カレンダブロックの曜日色が正常に表示されないバグ修正 Fixes #245

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php

    r428 r444  
    792792 
    793793        $week_begins = intval(get_option('start_of_week')); 
    794         $head_pattrn = '<thead>\s*<tr>\s*(<th[^>]*>.*<\/th>)\s*(<th[^>]*>.*<\/th>)\s*(<th[^>]*>.*<\/th>)\s*(<th[^>]*>.*<\/th>)\s*(<th[^>]*>.*<\/th>)\s*(<th[^>]*>.*<\/th>)\s*(<th[^>]*>.*<\/th>)\s*<\/tr>\s*<\/thead>'; 
     794        $head_pattrn = '<thead>\s*<tr>\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*(<th[^>]*>[^<]*<\/th>)\s*<\/tr>\s*<\/thead>'; 
    795795        if(preg_match('/'. $head_pattrn . '/s' ,$calendar,$head_match)){ 
    796796                $sun_index = 1 - $week_begins; 
Note: See TracChangeset for help on using the changeset viewer.