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 — expack: · unpush/p2-php@cc18ff8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • iv2.php
  • lib
    • expack/ic2/templates
      • iv2i.tpl.html
      • iv2ip.tpl.html
    • index_print_k.inc.php
  • menu_i.php
  • post.php
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎iv2.php‎

Copy file name to clipboardExpand all lines: iv2.php
+9-10Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -382,17 +382,16 @@
382382
$flexy->output();
383383
exit;
384384
}
385-
// セッション変数を操作
385+
// フィルタをリセット
386+
elseif (!empty($_GET['reset_filter'])) {
387+
unset($_SESSION['iv2i_filter']);
388+
session_write_close();
389+
}
390+
// フィルタを設定
386391
elseif (!empty($_GET['session_no_close'])) {
387-
// フィルタをリセット
388-
if (!empty($_GET['reset_filter'])) {
389-
unset($_SESSION['iv2i_filter']);
390-
// フィルタを設定
391-
} else {
392-
foreach ($overwritable_params as $ow_key) {
393-
if (isset($$ow_key)) {
394-
$_SESSION['iv2i_filter'][$ow_key] = $$ow_key;
395-
}
392+
foreach ($overwritable_params as $ow_key) {
393+
if (isset($$ow_key)) {
394+
$_SESSION['iv2i_filter'][$ow_key] = $$ow_key;
396395
}
397396
}
398397
session_write_close();
Collapse file

‎lib/expack/ic2/templates/iv2i.tpl.html‎

Copy file name to clipboardExpand all lines: lib/expack/ic2/templates/iv2i.tpl.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1>{title}</h1>
3939

4040
<div class="navi">
4141
<a href="{top_url}" flexy:raw="{ak[0]:h}">{as[0]:h}TOP</a>
42-
<a href="{php_self}?session_no_close=1&amp;reset_filter=1" flexy:raw="{ak[5]:h}">{as[5]:h}IC2::Viewer</a>
42+
<a href="{php_self}?reset_filter=1" flexy:raw="{ak[5]:h}">{as[5]:h}IC2::Viewer</a>
4343
<a href="{php_self}?page={page}&amp;show_iv2_kfilter=1" flexy:raw="{ak[7]:h}">{as[7]:h}検索・ソート</a>&nbsp;
4444
<form method="get" action="{php_self}">
4545
<input type="text" name="page" size="3"><input type="submit" value="GO">
Collapse file

‎lib/expack/ic2/templates/iv2ip.tpl.html‎

Copy file name to clipboardExpand all lines: lib/expack/ic2/templates/iv2ip.tpl.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h1>{title}</h1>
7474

7575
<div class="navi">
7676
<a href="{top_url}">TOP</a>
77-
<a href="{php_self}?session_no_close=1&amp;reset_filter=1">IC2::Viewer</a>
77+
<a href="{php_self}?reset_filter=1">IC2::Viewer</a>
7878
<a href="{php_self}?page={page}&amp;show_iv2_kfilter=1">検索・ソート</a>
7979
<form method="get" action="{php_self}">
8080
<input type="text" name="page" size="3" autocorrect="off" autocapitalize="off" placeholder="#"><input type="submit" value="GO">
Collapse file

‎lib/index_print_k.inc.php‎

Copy file name to clipboardExpand all lines: lib/index_print_k.inc.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function index_print_k()
4646
$rss_k_ht = "<a href=\"menu_k.php?view=rss{$m_rss_set_a}{$_conf['k_at_a']}\">RSS</a><br>";
4747
}
4848
if ($_conf['expack.ic2.enabled'] == 2 || $_conf['expack.ic2.enabled'] == 3) {
49-
$iv2_k_ht = "<a href=\"iv2.php{$_conf['k_at_q']}\">画像キャッシュ一覧</a><br>";
49+
$iv2_k_ht = "<a href=\"iv2.php?reset_filter=1{$_conf['k_at_a']}\">画像キャッシュ一覧</a><br>";
5050
}
5151

5252
//=========================================================
Collapse file

‎menu_i.php‎

Copy file name to clipboardExpand all lines: menu_i.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function p2SelectChild()
169169
<li><a href="#rss">RSS</a></li>
170170
<?php } ?>
171171
<?php if ($_conf['expack.ic2.enabled'] == 2 || $_conf['expack.ic2.enabled'] == 3) { ?>
172-
<li><a href="iv2.php" target="_self">画像キャッシュ一覧</a></li>
172+
<li><a href="iv2.php?reset_filter=1" target="_self">画像キャッシュ一覧</a></li>
173173
<?php } ?>
174174
<li><a href="#tgrep">スレッド検索</a></li>
175175

Collapse file

‎post.php‎

Copy file name to clipboardExpand all lines: post.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ function getKeyInSubject()
854854
function tab2space($in_str, $tabwidth = 4, $linebreak = "\n")
855855
{
856856
$out_str = '';
857-
$lines = preg_split('/\\r\n|\\r|\\n/', $in_str);
857+
$lines = preg_split('/\\r\\n|\\r|\\n/', $in_str);
858858
$ln = count($lines);
859859
$i = 0;
860860

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.