Links to thread
This commit is contained in:
parent
53edeeb59a
commit
f746f628ec
9
II/T.pm
9
II/T.pm
@ -94,7 +94,16 @@ sub post {
|
|||||||
|
|
||||||
my $post = II::T->pre( $data->{post} );
|
my $post = II::T->pre( $data->{post} );
|
||||||
|
|
||||||
|
my $cut;
|
||||||
|
if ( $data->{subg} =~ /Re:\s(.+)/ ) {
|
||||||
|
$cut = $1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$cut = $data->{subg};
|
||||||
|
}
|
||||||
|
|
||||||
$p->param( SUBG => $data->{subg} );
|
$p->param( SUBG => $data->{subg} );
|
||||||
|
$p->param( CUT => $cut );
|
||||||
$p->param( TIME => "$time" );
|
$p->param( TIME => "$time" );
|
||||||
$p->param( FROM => $data->{from} );
|
$p->param( FROM => $data->{from} );
|
||||||
$p->param( TO => $data->{to} );
|
$p->param( TO => $data->{to} );
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
/*position: relative;*/
|
/*position: relative;*/
|
||||||
background-color: #C7BA6C;
|
background-color: #C7BA6C;
|
||||||
border-color: #999;
|
border-color: #999;
|
||||||
|
color: #222;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class=post>
|
<div class=post>
|
||||||
<h2><TMPL_VAR NAME=SUBG></h2>
|
<a href="/s?subg=<TMPL_VAR NAME=CUT>&echo=<TMPL_VAR NAME=ECHO>"><h2><TMPL_VAR NAME=SUBG></h2></a>
|
||||||
<div class=mail>
|
<div class=mail>
|
||||||
<i><TMPL_VAR NAME=TIME></i><br>
|
<i><TMPL_VAR NAME=TIME></i><br>
|
||||||
From: <strong><TMPL_VAR NAME=FROM></strong><br>
|
From: <strong><TMPL_VAR NAME=FROM></strong><br>
|
||||||
|
Loading…
Reference in New Issue
Block a user