From 28746a12e1a4271ed189991dc5392328c78ce92f Mon Sep 17 00:00:00 2001
From: 2ch774 <2ch774@users.noreply.github.com>
Date: Sun, 12 Apr 2015 00:04:13 +0900
Subject: [PATCH] =?UTF-8?q?=E3=82=B9=E3=83=9E=E3=83=9B=E5=90=91=E3=81=91re?=
=?UTF-8?q?ad=E3=81=AB=E6=9B=B8=E3=81=8D=E8=BE=BC=E3=81=BF=E3=83=95?=
=?UTF-8?q?=E3=82=A9=E3=83=BC=E3=83=A0=E3=82=92=E8=BF=BD=E5=8A=A0=20?=
=?UTF-8?q?=E6=88=BB=E3=82=8B=E3=83=9C=E3=82=BF=E3=83=B3=E3=81=AE=E8=89=B2?=
=?UTF-8?q?=E3=82=92=E7=99=BD=E3=81=AB=E5=A4=89=E6=9B=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
lib/read_footer_i.inc.php | 39 ++++++++++++++++++++++++++++++++++++--
lib/read_header.inc.php | 10 +++++-----
lib/read_header_i.inc.php | 8 ++++++++
rep2/css/iphone.css | 9 +++++++++
rep2/iui/backButton.png | Bin 541 -> 472 bytes
rep2/js/iphone.js | 6 ++++++
6 files changed, 65 insertions(+), 7 deletions(-)
diff --git a/lib/read_footer_i.inc.php b/lib/read_footer_i.inc.php
index 42ba6efc3..229cb6a60 100644
--- a/lib/read_footer_i.inc.php
+++ b/lib/read_footer_i.inc.php
@@ -55,6 +55,37 @@
echo '';
+// {{{書き込みフォーム
+if ($_conf['bottom_res_form']) {
+ $bbs = $aThread->bbs;
+ $key = $aThread->key;
+ $host = $aThread->host;
+ $rescount = $aThread->rescount;
+ $ttitle_en = UrlSafeBase64::encode($aThread->ttitle);
+
+ $submit_value = '書き込む';
+
+ $key_idx = $aThread->keyidx;
+
+ // フォームのオプション読み込み
+ require_once P2_LIB_DIR . '/post_form_options.inc.php';
+
+ $htm['resform_ttitle'] = <<
';
if (!$aThread->diedat) {
if (empty($_conf['disable_res'])) {
- $escaped_url = "post_form.php?{$host_bbs_key_q}&rescount={$aThread->rescount}{$ttitle_en_q}{$_conf['k_at_a']}";
- echo toolbar_i_standard_button('img/glyphish/icons2/08-chat.png', '書込', $escaped_url);
+ if ($_conf['bottom_res_form']) {
+ echo toolbar_i_showhide_button('img/glyphish/icons2/08-chat.png', '書込', 'kakiko');
+ } else {
+ $escaped_url = "post_form.php?{$host_bbs_key_q}&rescount={$aThread->rescount}{$ttitle_en_q}{$_conf['k_at_a']}";
+ echo toolbar_i_standard_button('img/glyphish/icons2/08-chat.png', '書込', $escaped_url);
+ }
} else {
echo toolbar_i_opentab_button('img/glyphish/icons2/08-chat.png', '元スレ', $motothre_url);
}
diff --git a/lib/read_header.inc.php b/lib/read_header.inc.php
index 104d781b9..248f8fd50 100755
--- a/lib/read_header.inc.php
+++ b/lib/read_header.inc.php
@@ -305,11 +305,6 @@
EOP;
}
-if ($_conf['expack.editor.savedraft'] != '0') {
- echo << !KQsnf3#&UoAEnO0cP3|l4A&<{k|$#sE(83PzIW(YsC?#4VMHbHLJP0
zRh;M`lMHnYmILovFEoFX;7nHYHRsrHWh(Vsd+O4h-5&{)so#s|Su-nujbak@8~jty
zfqSR8h&_MX{DW0DjHvUsQC1B%Rg7A{t?mufaQBMi?sUSmBfgPQ!@UskMrQDzF6Mp!
XO0jRlU5e=@00000NkvXXu0mjf;Ly@O
delta 496
zcmV |