• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão4b285c2a8cbb3bdcf2d32f955d98f5252ad1ebd0 (tree)
Hora2017-09-09 22:48:32
Autorumorigu <umorigu@gmai...>
Commiterumorigu

Mensagem de Log

BugTrack/407 Show attached files on editing page

Mudança Sumário

Diff

--- a/lib/html.php
+++ b/lib/html.php
@@ -123,7 +123,8 @@ function catbody($title, $page, $body)
123123 ' ' . get_pg_passage($_page, FALSE) : '';
124124
125125 // List of attached files to the page
126- $attaches = ($attach_link && $is_read && exist_plugin_action('attach')) ?
126+ $show_attaches = $is_read || arg_check('edit');
127+ $attaches = ($attach_link && $show_attaches && exist_plugin_action('attach')) ?
127128 attach_filelist() : '';
128129
129130 // List of related pages