#author("2016-04-25T01:01:26+09:00","","")
#author("2016-05-25T12:37:47+09:00","","")
[[Computer/OpenSource]]

*PukiWiki [#y79cdf95]

**ハッシュ [#qb3eb786]

 $ slappasswd -h {SSHA} -s password

**文字サイズを大きくする [#rc79ecb3]

./skin/pukiwiki.css.phpの以下の部分を変更する.

 body,td {
        . . .
        font-size:100%;

元は90%.

**URL中のindex.phpを省略する [#m6aaaaaf]

次の部分のコメントアウトを解除する.

 $script_directory_index = 'index.php';

**編集画面の文字サイズを大きくする [#pa241349]

./skin/pukiwiki.css.phpの以下の部分を変更する.

 .edit_form { clear:both; }

これをたとえば

 .edit_form { width:800px; } textarea{width:800px; height:25em; border:1px solid #aa9; font-size:120%;}

のように変更する.

**スマートフォン対応 [#n8ff0f06]

pukiwiki.ini.phpの第474行くらいに次の記述を加える.

  array('pattern'=>'#\b(iPhone|iPod|Android)\b#',	'profile'=>'keitai'),

utf-8で表示できない場合はkeitai.skin.phpの第87–89行をコメントアウトする.

 //	header('Content-Type: text/html; charset=Shift_JIS');
 //	$title = mb_convert_encoding($title, 'SJIS', SOURCE_ENCODING);
 //	$body  = mb_convert_encoding($body,  'SJIS', SOURCE_ENCODING);

転送容量を大きくするにはkeitai.ini.phpの第110行の値を変更する.

 $max_size = 50;	// SKINで使用, KByte

携帯電話・スマートフォン用cssを作成する場合,keitai.skin.phpの第95–97行を次のように変更する.

 < ?><html><head>
 < <link rel="stylesheet" type="text/css" media="screen" href="skin/keitai.css.php" />
 < <title><?php

keitai.css.phpは存在しないので,pukiwiki.css.phpを改変して作成する.

**リンク [#ed2db1ec]

-http://mrs.suzu841.com/puki/


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS