This file contains hidden or 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 | |
return [ | |
'nav-back' => '戻る', | |
'nav-new' => '新規フォルダ', | |
'nav-upload' => 'アップロード', | |
'nav-thumbnails' => 'サムネイル', | |
'nav-list' => 'リスト', | |
'nav-sort' => 'ソート', | |
'nav-sort-alphabetic'=> 'ファイル名順', |
This file contains hidden or 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 Text | |
Plugin URI: http://www.webopixel.net/wordpress/631.html | |
Description: プラグイン開発説明用のプラグイン | |
Author: k.ishiwata | |
Version: 0.1 | |
Author URI: http://www.webopixel.net | |
*/ |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>File API Sample</title> | |
<style type="text/css"> | |
#file-input div.input { | |
padding: 60px; | |
border: solid 1px #333; | |
width: 300px; |
This file contains hidden or 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() { | |
var formatData = function(date) { | |
var d = new Date(date); | |
//ゼロパディング(2桁)にしない場合 | |
//return (d.getFullYear() + '.' + (d.getMonth() + 1) + '.' + d.getDate()); | |
return (d.getFullYear() + '.' + ("0"+(d.getMonth()+1)).slice(-2) + '.' + ("0"+d.getDate()).slice(-2)); | |
}; | |
var replaceURL = function(url){ | |
url = url.replace(/(\/l.php\?u=http%3A%2F%2F)([\x21-\x7e]+)(&h=[\x21-\x7e]+&s=1)/gi,'http://$2'); | |
return unescape(url); |
This file contains hidden or 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: Custom Meta Table | |
Plugin URI: http://www.webopixel.net/wordpress/637.html | |
Description: カスタムフィールドの値をオリジナルのテーブル(DB)に保存する | |
Author: k.ishiwata | |
Version: 0.1 | |
Author URI: http://www.webopixel.net/ | |
*/ | |
class CustomMetaTable { |