format_date(UTIME), '&_date;' => get_date($date_format), '&_time;' => get_date($time_format), ); ///////////////////////////////////////////////// // ユーザ定義ルール(保存時に置換) // 正規表現で記述してください。?(){}-*./+\$^|など // は \? のようにクォートしてください。 // 前後に必ず / を含めてください。行頭指定は ^ を頭に。 // 行末指定は $ を後ろに。 // // BugTrack2/106: Only variables can be passed by reference from PHP 5.0.5 $page_array = explode('/', $vars['page']); // with array_pop() $str_rules = array( 'now\?' => format_date(UTIME), 'date\?' => get_date($date_format), 'time\?' => get_date($time_format), '&now;' => format_date(UTIME), '&date;' => get_date($date_format), '&time;' => get_date($time_format), '&page;' => array_pop($page_array), '&fpage;' => $vars['page'], '&t;' => "\t", // 実行ファイル // アカハックURL // none ); unset($page_array); ?>