Archives
This is the archive for 2月 2009
外山いつき いつき!駆ける
This is the archive for 2月 2009
class NP_QR extends NucleusPlugin { function supportsFeature ( $what ) { switch ( $what ) { case 'SqlTablePrefix': return 1; default: return 0; } } function getName(){ return 'QR Code disp for BLOG URL'; } function getAuthor(){ return '\'Yutaka\' (Yutaka Kawano)'; } function getURL() { return 'mailto:kawano@mii.ad.jp'; } function getVersion(){ return '1.0'; } function getDescription(){ return 'BLOG URLをQRコード出力します。'; } function getMinNucleusVersion(){ return '200'; } function install(){;} function unInstall() {;} function doAction($type){;} function doTemplateVar(&$item,$what) {;} function doSkinVar() { global $CONF,$blog, $blogid; // 携帯用プラグインを変更したので/i/は不要になった yuka // $mes=$CONF['IndexURL'].'i/'.createBlogidLink($blogid); $mes=$CONF['IndexURL'].createBlogidLink($blogid); $mes = rawurlencode($mes); $url=$CONF['IndexURL'].'nucleus/plugins/qrcode/qr_img.php?s=2&t=J&d='.$mes; print <<< END_OF_HTML END_OF_HTML; } } ?>