--- suikawiki/script/wiki.cgi 2002/08/30 04:31:11 1.24
+++ suikawiki/script/wiki.cgi 2002/09/28 09:43:07 1.25
@@ -83,7 +83,7 @@
my $file_conflict = "$modifier_dir_data/conflict.txt";
my $file_format = "$modifier_dir_data/format.txt";
my $url_cgi = 'wiki';
-my $url_stylesheet = 'wiki-style.css';
+my $url_stylesheet = $url_cgi.'?mycmd=TEXT_CSS;mypage=WikiHTMLStyle';
my $icontag = '';
my $maxrecent = 50;
my $cols = 80;
@@ -117,10 +117,12 @@
my $bracket_name = '\[\[(\S+?)\]\]';
my $embedded_name = '\[\[(#\S+?)\]\]';
my $interwiki_definition = '\[\[(\S+?)\ (\S+?)\]\]';
-my $interwiki_name = '([^:]+):i:([^:].*)';
+my $interwiki_name = 'i:([^:]+):([^:].*)';
##############################
my $embed_comment = '[[#comment]]';
my $embed_rcomment = '[[#rcomment]]';
+my $embed_comment_Name_Prompt = '名前:';
+my $DEFAULT_embed_comment_name = '名無しさん';
my $embed_interwiki = '^\[\[#(box|text|password):(\S+)\]\]$'; # Walrus add (5)
my %embed_command = (
searched => '^\[\[#searched:([^\]]+)\]\]$',
@@ -161,6 +163,7 @@
);
my %command_do = (
read => \&do_read,
+ TEXT_CSS => \&do_output_css,
edit => \&do_edit,
adminedit => \&do_adminedit,
adminchangepasswordform => \&do_adminchangepasswordform,
@@ -203,6 +206,7 @@
sub do_read {
&print_header($form{mypage});
&print_content($database{$form{mypage}});
+ print &text_to_html (q([[#comment]]));
my ($r, $c) = get_search_result ($form{mypage});
if ($c) {
print q{