• R/O
  • HTTP
  • SSH
  • HTTPS

pukiwiki: Commit


Commit MetaInfo

Revision80627825cdd845d3058f1d9952fafc031cafee8c (tree)
Time2016-02-13 03:40:31
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack2/377 Add 'Template pages' label for template page list

Change Summary

Incremental Difference

--- a/en.lng.php
+++ b/en.lng.php
@@ -1,8 +1,8 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone.
3-// $Id: en.lng.php,v 1.16 2007/02/11 05:53:29 henoheno Exp $
4-// Copyright (C)
5-// 2002-2005 PukiWiki Developers Team
3+// en.lng.php
4+// Copyright
5+// 2002-2016 PukiWiki Development Team
66 // 2001-2002 Originally written by yu-ji
77 // License: GPL v2 or (at your option) any later version
88 //
@@ -71,6 +71,7 @@ $_btn_template = 'Use page as template';
7171 $_btn_load = 'Load';
7272 $_btn_edit = 'Edit';
7373 $_btn_delete = 'Delete';
74+$_label_template_pages = 'Template pages';
7475
7576 ///////////////////////////////////////
7677 // Authentication
--- a/ja.lng.php
+++ b/ja.lng.php
@@ -1,8 +1,8 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone.
3-// $Id: ja.lng.php,v 1.15 2007/02/11 05:53:29 henoheno Exp $
4-// Copyright (C)
5-// 2002-2005 PukiWiki Developers Team
3+// ja.lng.php
4+// Copyright
5+// 2002-2016 PukiWiki Development Team
66 // 2001-2002 Originally written by yu-ji
77 // License: GPL v2 or (at your option) any later version
88 //
@@ -73,6 +73,7 @@ $_btn_template = '雛形とするページ';
7373 $_btn_load = '読込';
7474 $_btn_edit = '編集';
7575 $_btn_delete = '削除';
76+$_label_template_pages = 'テンプレートページ';
7677
7778 ///////////////////////////////////////
7879 // Authentication
--- a/lib/html.php
+++ b/lib/html.php
@@ -1,7 +1,7 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone.
33 // html.php
4-// Copyright (C)
4+// Copyright
55 // 2002-2016 PukiWiki Development Team
66 // 2001-2002 Originally written by yu-ji
77 // License: GPL v2 or (at your option) any later version
@@ -190,7 +190,7 @@ function edit_form($page, $postdata, $digest = FALSE, $b_template = TRUE)
190190 global $_btn_preview, $_btn_repreview, $_btn_update, $_btn_cancel, $_msg_help;
191191 global $whatsnew, $_btn_template, $_btn_load, $load_template_func;
192192 global $notimeupdate;
193- global $_title_list;
193+ global $_title_list, $_label_template_pages;
194194
195195 // Newly generate $digest or not
196196 if ($digest === FALSE) $digest = md5(join('', get_source($page)));
@@ -253,7 +253,7 @@ function edit_form($page, $postdata, $digest = FALSE, $b_template = TRUE)
253253 $template = <<<EOD
254254 <select name="template_page">
255255 <option value="">-- $_btn_template --</option>
256- <optgroup label="$_btn_template">
256+ <optgroup label="$_label_template_pages">
257257 $s_tpages
258258 </optgroup>
259259 <optgroup label="$_title_list">
Show on old repository browser