GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge branch 'p2ex-nightly-hack' · unpush/p2-php@940b7a3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • conf
    • conf.inc.php
    • conf_hostcheck.php
    • conf_ic2.inc.php
  • css
    • ic2_iphone.css
    • iphone.css
    • iv2_iphone.css
    • menu_i.css
  • edit_aborn_word.php
  • edit_conf_user.php
  • editfavita.php
  • editfile.php
  • editpref.php
  • editrss.php
  • gsearch.php
  • ic2.php
  • ic2_fitimage.php
  • ic2_getter.php
  • ic2_manager.php
  • ic2_viewtable.php
  • img
    • iphone
      • btn-bg.png
      • close.png
    • touch-icon
      • p2-3g-bk.png
      • p2-3g.png
      • p2-ddns-bk.png
      • p2-ddns.png
      • p2-home-bk.png
      • p2-home.png
      • p2-local-bk.png
      • p2-local.png
      • p2-sans-bk.png
      • p2-sans.png
      • p2-serif-bk.png
      • p2-serif.png
      • p2-test-bk.png
      • p2-test.png
      • p2-wifi-bk.png
      • p2-wifi.png
  • index.php
  • info.php
  • info_sp.php
  • iv2.php
  • js
    • edit_conf_user.js
    • ic2_iphone.js
    • ic2_popinfo.js
    • iphone.js
    • iv2.js
    • iv2_iphone.js
    • menu_i.js
    • respopup_iphone.js
  • lib
    • brdctl.class.php
    • expack
      • expack_loader.class.php
      • ic2
        • editform.class.php
        • templates
          • _iv2_lightbox.tpl.html
          • ic2g.tpl.html
          • ic2mng.tpl.html
          • ic2s.tpl.html
          • ic2vt.tpl.html
          • info-h.tpl.html
          • info-v.tpl.html
          • iv2.tpl.html
          • iv2a.tpl.html
          • iv2i.tpl.html
          • iv2if.tpl.html
          • iv2ip.tpl.html
          • iv2m.tpl.html
          • preview.tpl.html
      • post_options_k.inc.php
      • rss
        • getimage.inc.php
        • read.inc.php
        • read_k.inc.php
        • subject.inc.php
      • tgrep
        • menu_quick.inc.php
        • menu_recent.inc.php
        • view.inc.php
        • view_k.inc.php
        • view_x.inc.php
    • favsetmng.class.php
    • hostcheck.class.php
    • menu.inc.php
    • menu_iphone.inc.php
    • p2util.class.php
    • post_form.inc.php
    • post_options_loader.inc.php
    • presetmng.class.php
    • read_footer.inc.php
    • read_footer_k.inc.php
    • read_header.inc.php
    • read_header_k.inc.php
    • sb_footer_k.inc.php
    • sb_header.inc.php
    • sb_header_k.inc.php
    • sb_print_k.inc.php
    • sb_toolbar_k.inc.php
    • showbrdmenuk.class.php
    • showthreadk.class.php
    • thread.class.php
  • login.php
  • login2ch.php
  • menu_i.php
  • menu_k.php
  • post.php
  • post_form.php
  • read.php
  • read_filter_k.php
  • read_new.php
  • read_new_k.php
  • read_res_hist.php
  • setting.php
  • spm_k.php
  • subject.php
  • tgrepc.php

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎conf/conf.inc.php‎

Copy file name to clipboardExpand all lines: conf/conf.inc.php
+32-26Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
*/
77

88
$_conf['p2version'] = '1.7.29'; // rep2のバージョン
9-
$_conf['p2expack'] = '080731.1729'; // 拡張パックのバージョン
10-
$_conf['p2name'] = 'pickle'; // rep2の名前
9+
$_conf['p2expack'] = '080815.0225'; // 拡張パックのバージョン
10+
$_conf['p2name'] = 'expack'; // rep2の名前
1111

1212
//======================================================================
1313
// 基本設定処理
@@ -248,12 +248,34 @@
248248

249249
$_conf['login_check_ip'] = 1; // ログイン時にIPアドレスを検証する
250250
$_conf['input_type_search'] = false;
251+
$_conf['extra_headers_ht'] = $_conf['extra_headers_xht'] = '';
251252

252253
$mobile = &Net_UserAgent_Mobile::singleton();
253254

255+
// iPhone, iPod Touch
256+
if (P2Util::isBrowserIphone()) {
257+
$_conf['ktai'] = true;
258+
$_conf['iphone'] = true;
259+
$_conf['disable_cookie'] = false;
260+
$_conf['accept_charset'] = 'UTF-8';
261+
$_conf['input_type_search'] = true;
262+
$_conf['extra_headers_ht'] = <<<EOS
263+
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes">
264+
<meta name="format-detection" content="telephone=no">
265+
<link rel="stylesheet" type="text/css" media="screen" href="css/iphone.css">
266+
<script type="text/javascript" src="js/iphone.js"></script>
267+
EOS;
268+
$_conf['extra_headers_xht'] = <<<EOS
269+
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes" />
270+
<meta name="format-detection" content="telephone=no" />
271+
<link rel="stylesheet" type="text/css" media="screen" href="css/iphone.css" />
272+
<script type="text/javascript" src="js/iphone.js"></script>
273+
EOS;
274+
254275
// PC
255-
if ($mobile->isNonMobile()) {
276+
} elseif ($mobile->isNonMobile()) {
256277
$_conf['ktai'] = false;
278+
$_conf['iphone'] = false;
257279
$_conf['disable_cookie'] = false;
258280

259281
if (P2Util::isBrowserSafariGroup()) {
@@ -271,6 +293,7 @@
271293
require_once P2_LIBRARY_DIR . '/hostcheck.class.php';
272294

273295
$_conf['ktai'] = true;
296+
$_conf['iphone'] = false;
274297
$_conf['accept_charset'] = 'Shift_JIS';
275298

276299
// ベンダ判定
@@ -313,28 +336,6 @@
313336
}
314337
}
315338

316-
// iPhone, iPod Touch
317-
if (P2Util::isBrowserIphone()) {
318-
$_conf['accept_charset'] = 'UTF-8';
319-
$_conf['input_type_search'] = true;
320-
$_conf['ktai'] = true;
321-
$_conf['iphone'] = true;
322-
$_conf['extra_headers_ht'] = <<<EOS
323-
<meta name="viewport" content="width=320" content="initial-scale=1.0">
324-
<link rel="stylesheet" type="text/css" media="screen" href="css/iphone.css?{$_conf['p2expack']}">
325-
<script type="text/javascript" src="js/iphone.js?{$_conf['p2expack']}"></script>
326-
EOS;
327-
$_conf['extra_headers_xht'] = <<<EOS
328-
<meta name="viewport" content="width=320" content="initial-scale=1.0" />
329-
<link rel="stylesheet" type="text/css" media="screen" href="css/iphone.css?{$_conf['p2expack']}" />
330-
<script type="text/javascript" src="js/iphone.js?{$_conf['p2expack']}"></script>
331-
EOS;
332-
} else {
333-
$_conf['iphone'] = false;
334-
$_conf['extra_headers_ht'] = $_conf['extra_headers_xht'] = '';
335-
}
336-
337-
338339
// }}}
339340
// {{{ クエリーによる強制ビュー指定
340341

@@ -385,7 +386,12 @@
385386
// {{{ DOCTYPE HTML 宣言
386387

387388
$ie_strict = false;
388-
if (!$_conf['ktai']) {
389+
if ($_conf['iphone']) {
390+
$_conf['doctype'] = <<<EODOC
391+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
392+
"http://www.w3.org/TR/html4/loose.dtd">\n
393+
EODOC;
394+
} elseif (!$_conf['ktai']) {
389395
if ($ie_strict) {
390396
$_conf['doctype'] = <<<EODOC
391397
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
Collapse file

‎conf/conf_hostcheck.php‎

Copy file name to clipboardExpand all lines: conf/conf_hostcheck.php
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,34 @@
3737

3838
// アクセスを許可するIPアドレス帯域
3939
// “IPアドレス => マスク”形式の連想配列
40+
// $_conf['secure']['auth_host'] == 1 かつ
41+
// $GLOBALS['_HOSTCHKCONF']['host_type']['custom'] = 1 のとき使われる
4042
$GLOBALS['_HOSTCHKCONF']['custom_allowed_host'] = array(
4143
//'192.168.0.0' => 24,
4244
);
4345

46+
// アクセスを許可するリモートホストの正規表現
47+
// preg_match()関数の第一引数として正しい文字列であること
48+
// 使用しない場合はnull
49+
// $_conf['secure']['auth_host'] == 1 かつ
50+
// $GLOBALS['_HOSTCHKCONF']['host_type']['custom'] = 1 のとき使われる
51+
$_HOSTCHKCONF['custom_allowed_host_regex'] = null;
52+
4453
// アクセスを拒否するIPアドレス帯域
4554
// “IPアドレス => マスク”形式の連想配列
55+
// $_conf['secure']['auth_host'] == 2 かつ
56+
// $GLOBALS['_HOSTCHKCONF']['host_type']['custom'] = 0 のとき使われる
4657
$GLOBALS['_HOSTCHKCONF']['custom_denied_host'] = array(
4758
//'192.168.0.0' => 24,
4859
);
4960

61+
// アクセスを拒否するリモートホストの正規表現
62+
// preg_match()関数の第一引数として正しい文字列であること
63+
// 使用しない場合はnull
64+
// $_conf['secure']['auth_host'] == 2 かつ
65+
// $GLOBALS['_HOSTCHKCONF']['host_type']['custom'] = 0 のとき使われる
66+
$_HOSTCHKCONF['custom_denied_host_regex'] = null;
67+
5068
// BBQキャッシュの有効期限 (秒数で指定、0なら永久焼き)
5169
$GLOBALS['_HOSTCHKCONF']['auth_bbq_burned_expire'] = 0;
5270

Collapse file

‎conf/conf_ic2.inc.php‎

Copy file name to clipboardExpand all lines: conf/conf_ic2.inc.php
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
// 携帯でもサムネイルをインライン表示する (off:0;on:1)
6565
// このときの大きさはPCと同じ
66-
$_conf['expack.ic2.general.inline'] = 0;
66+
$_conf['expack.ic2.general.inline'] = 1;
6767

6868
// 携帯用の画像を表示するときLocation ヘッダを使ってリダイレクトする (off:0;on:1)
6969
// offならPHPで適切なContent-Typeヘッダと画像を出力する
@@ -273,8 +273,7 @@
273273
// "設定名" => arrray(width, height, quality) の連想配列
274274
$_conf['expack.ic2.dynamic.presets'] = array(
275275
//"WQVGA待受" => array(240, 400, 90),
276-
//"W-ZERO3縦" => array(480, 599, 90),
277-
//"W-ZERO3横" => array(640, 439, 90),
276+
//"iPhone待受" => array(320, 480, 0),
278277
);
279278

280279
// }}}
Collapse file

‎css/ic2_iphone.css‎

Copy file name to clipboard
+122Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
/* ImageCache2 */
2+
3+
/* Preview */
4+
5+
div#ic2-preview {
6+
margin: -10px -10px 0 -10px;
7+
padding: 0;
8+
text-align: center;
9+
background-color: #666666;
10+
}
11+
12+
div#ic2-preview > a {
13+
display: inline-block;
14+
padding: 5px;
15+
color: #eeeeee;
16+
}
17+
18+
div#ic2-preview-info {
19+
margin: 0 -10px 10px -10px;
20+
padding: 10px;
21+
line-height: 100%;
22+
color: #ffffff;
23+
background-color: #333333;
24+
}
25+
26+
div#ic2-preview-info > div#ic2-preview-rating {
27+
margin: 5px 0 0 0;
28+
text-align: center;
29+
}
30+
31+
div#ic2-preview-edit {
32+
}
33+
34+
div#ic2-preview-edit > form {
35+
line-height: 45px;
36+
}
37+
38+
div#ic2-preview-edit input[type="text"] {
39+
padding-right: 3px;
40+
padding-left: 3px;
41+
-webkit-border-radius: 0;
42+
}
43+
44+
/* Pop-Up Information */
45+
46+
div#ic2-info {
47+
display: none;
48+
position: absolute;
49+
top: 0;
50+
left: 0;
51+
width: 300px;
52+
margin: 0;
53+
padding: 12px 6px 0 14px;
54+
z-index: 999;
55+
}
56+
57+
div#ic2-info-body {
58+
margin: 0;
59+
padding: 12px 10px 8px 10px;
60+
line-height: 100%;
61+
color: #ffffff;
62+
background-color: rgba(0, 0, 0, 0.8);
63+
-webkit-box-shadow: rgba(0, 0, 0, 0.7) 0 2px 5px;
64+
-webkit-border-radius: 8px;
65+
}
66+
67+
#ic2-info-preview,
68+
#ic2-info-message {
69+
margin: 0;
70+
padding: 2px;
71+
vertical-align: middle;
72+
}
73+
74+
#ic2-info-preview {
75+
background-image: url('../img/iphone/ck-wt.png');
76+
text-align:center;
77+
}
78+
79+
#ic2-info-message {
80+
line-height: 120%;
81+
word-break: break-all;
82+
}
83+
84+
#ic2-info-rating {
85+
margin: 5px 0 0 0;
86+
padding: 0;
87+
font-size: 8px;
88+
text-align: center;
89+
white-space: nowrap;
90+
}
91+
92+
div#ic2-info img {
93+
margin: 0;
94+
border-width: 0;
95+
}
96+
97+
img#ic2-info-closer {
98+
position: absolute;
99+
top: 0;
100+
left: 2px;
101+
}
102+
103+
div#ic2-info-rating img,
104+
img#ic2-info-closer,
105+
img.ic2-show-info {
106+
cursor: pointer;
107+
}
108+
109+
input[type="button"].ic2-show-info {
110+
font-size: small;
111+
}
112+
113+
/*
114+
* Local Variables:
115+
* mode: css
116+
* coding: cp932
117+
* tab-width: 4
118+
* c-basic-offset: 4
119+
* indent-tabs-mode: t
120+
* End:
121+
*/
122+
/* vim: set syn=css fenc=cp932 ai noet ts=4 sw=4 sts=4 fdm=marker: */

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.