This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function check_route($input) { | |
$data = array( | |
'14' => array('abc', 'gc', 'gh'), | |
'15' => array('ab', 'ge'), | |
'16' => array('abc', 'gc', 'ghi'), | |
'24' => array('dc', 'h'), | |
'25' => array('de'), | |
'26' => array('dc', 'hi'), | |
'34' => array('bc', 'fgc', 'fgh'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright (c) 2014 Fumito MIZUNO | |
* License: MIT | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
require_once('yoyakulist.php'); | |
class Main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright (c) 2014 Fumito MIZUNO | |
* License: MIT | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
class Cart { | |
protected $capabilitylist; | |
protected $queuelist; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Show Warning Message on Dashboard | |
Plugin URI: http://www.rescuework.jp/ | |
Description: Displays warning messages on your WP's dashboard. | |
Author: Fumito MIZUNO | |
Version: 1.0 | |
License: GPL 2.0 or later http://www.gnu.org/licenses/gpl.html | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// put this file into local/views/apps/noviusos_form | |
// License: AGPL ver3.0 or later | |
$css = <<<EOS | |
dl.check_before_send dt { | |
float: left; | |
clear: left; | |
width: 200px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class WpautopTest extends PHPUnit_Framework_TestCase { | |
function autop_provider() | |
{ | |
return array( | |
array("<div>abcde\n\n</div>","<div>abcde\n</div>\n"), | |
array("<section>abcde\n\n</section>","<section>abcde\n</section>\n"), | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<meta content="text/html; charset=UTF-8" http-equiv="content-type" /> | |
<title>Test Suite</title> | |
</head> | |
<body> | |
<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody> | |
<tr><td><b>Test Suite</b></td></tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Translated by Fumito MIZUNO ( http://ounziw.com/ ) | |
* License for translation: CC-BY-SA | |
*/ | |
/** | |
* Twenty Twelve 関数と定義 | |
* | |
* テーマをセットアップし、ヘルパー関数を提供する。 | |
* ヘルパー関数はテーマでカスタムテンプレートタグとして使用する。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('C5_EXECUTE') or die("Access Denied."); | |
// Put this file into concrete/startup/localization.php | |
function remove_percent_from_text($text) { | |
$removed = array('$','%'); | |
$no_var_text = str_replace($removed,'_',$text); | |
$no_var_text .= ' '; // Space for Readability | |
return $no_var_text; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head profile="http://selenium-ide.openqa.org/profiles/test-case"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="selenium.base" href="http://localhost:8888/" /> | |
<title>mamp</title> | |
</head> | |
<body> | |
<table cellpadding="1" cellspacing="1" border="1"> |