Permalink
Browse files

Changed commands in Search View.

  'searchposttimefrom' -> 'tpf' means time/post/from.
    'searchposttimeto' -> 'tpt' means time/post/to.
    Added 'tpi' command to Search View.  It means time/post/instant.
  • Loading branch information...
1 parent 7310056 commit 8d168c4fbe8df51e19a766b707222e73ed269511 nakahiro committed Jun 23, 2000
Showing with 10 additions and 14 deletions.
  1. +1 −3 src/UI/SearchArticle.xml
  2. +1 −1 src/UI/ShowArticle.xml
  3. +8 −10 src/kb.cgi
View
4 src/UI/SearchArticle.xml
@@ -30,9 +30,7 @@
<li>空白で区切って複数のキーワードを指定すると,
それら全てを含むメッセージのみを検索することができます.
<br /><br />
-<li>日付で検索する場合は,
-「日付」をチェックした後,
-検索範囲を「yyyy/mm/dd」形式の日付で指定してください
+<li>日付で検索する場合は,検索範囲を「yyyy/mm/dd」形式の日付で指定してください
(例1999/01/01~1999/12/31).
始点と終点のどちらかを省略してもかまいません.
<li>アイコンで検索する場合は,検索する「アイコン」を指定した後,
View
2 src/UI/ShowArticle.xml
@@ -20,7 +20,7 @@
<kb:show_article_body />
-<p>--------------------</p>
+<hr />
<kb:show_article_original />
View
18 src/kb.cgi
@@ -46,7 +46,7 @@ $PC = 0; # for UNIX / WinNT
######################################################################
-# $Id: kb.cgi,v 5.78 2000-06-22 13:22:08 nakahiro Exp $
+# $Id: kb.cgi,v 5.79 2000-06-23 10:15:37 nakahiro Exp $
# KINOBOARDS: Kinoboards Is Network Opened BOARD System
# Copyright (C) 1995-2000 NAKAMURA Hiroshi.
@@ -2667,8 +2667,8 @@ sub hg_search_article_result
local( $SearchSubject ) = &cgi'tag( 'searchsubject' );
local( $SearchPerson ) = &cgi'tag( 'searchperson' );
local( $SearchArticle ) = &cgi'tag( 'searcharticle' );
- local( $SearchPostTimeFrom ) = &cgi'tag( 'searchposttimefrom' );
- local( $SearchPostTimeTo ) = &cgi'tag( 'searchposttimeto' );
+ local( $SearchPostTimeFrom ) = &cgi'tag( 'tpi' ) || &cgi'tag( 'searchposttimefrom' ) || &cgi'tag( 'tpf' );
+ local( $SearchPostTimeTo ) = &cgi'tag( 'tpi' ) || &cgi'tag( 'searchposttimeto' ) || &cgi'tag( 'tpt' );
local( $SearchIcon ) = &cgi'tag( 'searchicon' );
local( %iconHash );
@@ -3124,8 +3124,8 @@ sub hg_b_search_article_form
local( $SearchSubject ) = &cgi'tag( 'searchsubject' );
local( $SearchPerson ) = &cgi'tag( 'searchperson' );
local( $SearchArticle ) = &cgi'tag( 'searcharticle' );
- local( $SearchPostTimeFrom ) = &cgi'tag( 'searchposttimefrom' );
- local( $SearchPostTimeTo ) = &cgi'tag( 'searchposttimeto' );
+ local( $SearchPostTimeFrom ) = &cgi'tag( 'tpi' ) || &cgi'tag( 'searchposttimefrom' ) || &cgi'tag( 'tpf' );
+ local( $SearchPostTimeTo ) = &cgi'tag( 'tpi' ) || &cgi'tag( 'searchposttimeto' ) || &cgi'tag( 'tpt' );
local( $SearchIcon ) = &cgi'tag( 'searchicon' );
local( %iconHash );
@@ -3144,10 +3144,8 @@ sub hg_b_search_article_form
$contents .= &tagLabel( 'キーワード', 'key', 'K' ) . ': ' . &tagInputText( 'text', 'key', $Key, $KEYWORD_LENGTH ) . $HTML_BR . $HTML_BR;
- $contents .= $H_DATE . ': ' . &tagInputText( 'text', 'searchposttimefrom', ( $SearchPostTimeFrom || '' ), 11 ) . ' ' .
- &tagLabel( 'から', 'searchposttimefrom', 'S' ) .
- "&nbsp;&nbsp;&nbsp;\n" .
- &tagInputText( 'text', 'searchposttimeto', ( $SearchPostTimeTo || '' ), 11 ) . &tagLabel( 'の間', 'searchposttimeto', 'E' ) .
+ $contents .= $H_DATE . ': ' . &tagInputText( 'text', 'tpf', ( $SearchPostTimeFrom || '' ), 11 ) . ' ' . &tagLabel( 'から', 'tpf', 'S' ) . "&nbsp;&nbsp;&nbsp;\n" .
+ &tagInputText( 'text', 'tpt', ( $SearchPostTimeTo || '' ), 11 ) . &tagLabel( 'の間', 'tpt', 'E' ) .
"&nbsp;&nbsp;&nbsp;(yyyy/mm/dd形式で指定)\n" . $HTML_BR;
if ( $SYS_ICON )
@@ -4188,7 +4186,7 @@ sub dumpArtSummary
(( $flag&2 )? &tagA( $subject, "$cgi'REQUEST_URI#a$id" ) :
&linkP( "b=$BOARD_ESC&c=e&id=$id", $subject ));
- if ( $aids && ( $flag&1 || $flag&4 ))
+ if ( $aids )
{
$gHgStr .= ' ' . &linkP( "b=$BOARD_ESC&c=t&id=$id", $H_THREAD, '', $H_THREAD_L );
}

0 comments on commit 8d168c4

Please sign in to comment.