summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorGina Haeussge <gina@foosel.net>2010-06-26 17:50:16 +0200
committerGina Haeussge <gina@foosel.net>2010-06-26 17:50:16 +0200
commitb150cd2c5cb9ad4413773a774f6eaa17fbd3795e (patch)
treec7d0d919a122bda4564ff18cbfb31407c666093f /inc/html.php
parenta02d29338a87ce30f21853cf3a06bef660f2022c (diff)
downloadrpg-b150cd2c5cb9ad4413773a774f6eaa17fbd3795e.tar.gz
rpg-b150cd2c5cb9ad4413773a774f6eaa17fbd3795e.tar.bz2
FS#1901: prefill section name into summary when editing sections
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 7e842e052..3398e8fb9 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -137,7 +137,8 @@ function html_secedit_get_button($data) {
" editbutton_" . $secid . "'>" .
html_btn('secedit', $ID, '',
array_merge(array('do' => 'edit',
- 'rev' => $INFO['lastmod']), $data),
+ 'rev' => $INFO['lastmod'],
+ 'summary' => '['.$name.'] '), $data),
'post', $name) . '</div>';
}