カテゴリ | |
---|---|
サマリ | 添付ファイルの表示について |
バージョン | 1.3.7 |
投稿者 | psychedesire |
状態 | 完了 |
投稿日 | 2004-12-17 (金) 22:45:12 |
はじめまして。つい最近pukiwikiを導入し始めました。 http://hhh.psychedesire.org/ ココの、右の添付ファイル一覧を
thm_13.png [削除]<BR> thm_12.png [削除]<BR>
のように改行させたいのですが、 どこを変えればよいのかわかりません。 ご教授お願いいたします。。。
if($args[0]===FALSE) $ret.= "$_msg_attachfile:<br>"; $ret.= join("<br>\n",$attach_files)."\n";
//-------- call from skin function attach_filelist() { global $vars, $_attach_messages; $page = isset($vars['page']) ? $vars['page'] : ''; $obj = & new AttachPages($page, 0); if (! isset($obj->pages[$page])) { return ''; } else { return $_attach_messages['msg_file'] . ': ' . $obj->toString($page, TRUE) . "\n"; } }と
// ファイル一覧を取得(inline) function to_flat() { $ret = ''; $files = array(); foreach (array_keys($this->files) as $file) { if (isset($this->files[$file][0])) { $files[$file] = & $this->files[$file][0]; } } uasort($files, array('AttachFile', 'datecomp')); foreach (array_keys($files) as $file) { $ret .= $files[$file]->toString(TRUE, TRUE) . ' '; } return $ret; }のあたり。': 'とか' 'を変えればなんとなくわかるはず。 -- 2010-06-27 (日) 15:39:54