\n";
my @setup_check;
my @localtime_check;
my @adminonly_check;
$setup_check[$setup_en] = "checked";
$localtime_check[$localtime_en] = "checked";
$adminonly_check[$adminonly_en] = "checked";
my %check;
$check{number}[$number_en] = "checked";
$check{bgimage}[$bgimage_en] = "checked";
$check{backlink}[$backlink_en] = "checked";
$check{style_sheet}[$style_sheet_en] = "checked";
$check{head_insert}[$head_insert_en] = "checked";
$check{body_insert1}[$body_insert1_en] = "checked";
$check{body_insert2}[$body_insert2_en] = "checked";
$check{body_insert3}[$body_insert3_en] = "checked";
my $message = ("管理人パスワードを変更するには、$admindatを削除して、$scriptを実行しなおしてパスワードを再入力してください。
これらの設定は$setupfileに保存されます。また、$setupfileをエディタ等で変更してもこの設定ページに反映されます。
$scriptがバージョンアップされた場合、単純に$scriptだけを置き換えるだけで設定はそのまま使えます。
$admindatと$setupfileのファイル名はこの設定ページでは変更できません。変更したい場合は$scriptの中で変更してください。
管理用リンクを非表\示にしている場合にこのページにアクセスするには、$script?mode=setupを実行するとアクセスできます。
数字やカラー指定は必ず半角で指定してください。全角やブランクだとCGIが起動しなくなります。万一間違って全角で書いてしまった場合は、$setupfileをエディタで開きその場所を半角に正しく修正してください。それで直ります。",
"If you want to change your admin password, delete $admindat and open $script on your browser. Then set a new password.
The setup in this page is saved in $setupfile. If you modify $setupfile by an editor, it also reflicted to this page.
If you upgreaded $script, please simply replace $script. These setup will be inheritated.
The file names of $admindat and $setupfile can not be modified in this page. If you want to change them, please do it in this script.
If you want to access this page when you disable \"admin link\" display, please open $script?mode=setup.")[$lang];
print "
|
|
";
print qq(\n| \n);
print (('データディレクトリ','Data directory')[$lang]);
print qq( | \n);
print qq( | \n);
print qq(
\n);
print qq(\n| \n);
print (('データファイル','Data file')[$lang]);
print qq( | \n);
print qq( | \n);
print qq(
\n);
print qq(\n| \n);
print (('データファイルの基の名前','Data file base name')[$lang]);
print qq( | \n);
print qq( \n);
print (('暗号化されたファイルがnumber-basenameのファイル名でdatadirに保存されます。','An encrypted file will be saved as number-basename in datadir.')[$lang]);
print qq(\n | \n);
print qq(
\n);
print qq(\n| \n);
print (('ロックファイル','lock file')[$lang]);
print qq( | \n);
print qq( | \n);
print qq(
\n);
print qq(\n| \n);
print (('タイトル','Title')[$lang]);
print qq( | \n);
print qq( \n);
print (('ブラウザのタイトルバーに表示されるタイトルです。ページのタイトルは「body内挿入部」で自由にタイトル表示させることができます。','This is displayed in the title bar of the browser. The page title can be set in the "body insert" in this page.')[$lang]);
print qq( | \n);
print qq(
\n);
print qq(\n| \n);
print (('バックグラウンド','Background')[$lang]);
print qq( | \n\n);
print qq();
print (('画像を使う','Use image')[$lang]);
print "\n";
print qq();
print (('カラー設定にする ','Use color ')[$lang]);
print "\n";
print qq();
print (('画像を使う場合の画像ファイル ','Image file when to use an image ')[$lang]);
print "\n";
print qq();
print (('カラー設定の場合のカラー番号(白:\#ffffff 又は white)','')[$lang]);
print qq( | \n
\n);
print qq(\n| \n);
print (('トップへのリンク','Link to top')[$lang]);
print qq( | \n\n);
print qq();
print (('表示','Display')[$lang]);
print "\n";
print qq();
print (('非表示 ','Not display ')[$lang]);
print "\n";
print qq();
print (('リンク名 ','Link name ')[$lang]);
print qq();
print (('URL ','URL ')[$lang]);
print qq( | \n
\n);
print qq(\n| \n);
print (('表示幅','Display widthb')[$lang]);
print qq( | );
print (('ブラウザ全体の','Pacentage out of browser width')[$lang]);
print qq(%\n);
print qq( | \n
\n);
print qq(\n| \n);
print (('テーブルレイアウト','Table layout')[$lang]);
print qq( | \n\n);
print (('ヘッダーの背景色','Background color of the header')[$lang]);
print qq( \n);
print (('タイトル名','Title name')[$lang]);
print qq( \n);
print (('タイトルの幅','Title width')[$lang]);
print qq(% \n);
print (('タイトルの色','Title font color')[$lang]);
print qq( \n);
print (('日付名','Date name')[$lang]);
print qq( \n);
print (('日付の幅','Date width')[$lang]);
print qq(% \n);
print (('キー名','Key name')[$lang]);
print qq( \n);
print (('キー欄の幅','Key cell width')[$lang]);
print qq(% \n);
print (('オプション欄の幅','Option cell width')[$lang]);
print qq(% \n);
print (('ボタン欄の幅','Button cell width')[$lang]);
print qq(% \n);
print (('ボタン名','Button name')[$lang]);
print qq(% \n);
print qq( | \n
\n);
print qq(\n| \n);
print (('番号','Number')[$lang]);
print qq( | \n\n);
print qq();
print (('表示','Display')[$lang]);
print "\n";
print qq();
print (('非表示 ','Not display ')[$lang]);
print "\n";
print qq( | \n
\n);
print qq(\n| \n);
print (('管理用リンク表示','Amin link display')[$lang]);
print qq( | \n\n);
print qq();
print (('表示','On')[$lang]);
print qq();
print (('非表示 ','Off ')[$lang]);
print (('リンク名','Link name')[$lang]);
print qq(\n);
print qq( | \n
\n);
print qq(\n| \n);
print (('管理人オンリーモード','Admin only mode')[$lang]);
print qq( | \n\n);
print qq();
print (('管理人オンリーモード','Admin only mode')[$lang]);
print qq();
print (('ユーザーモード ','User mode ')[$lang]);
print qq( | \n
\n);
my $valid = (('有効','valid')[$lang]);
my $invalid = (('無効','invalid')[$lang]);
print qq(\n| \n);
print (('<body>内挿入文','sentense in <body>')[$lang]);
print " | \n";
print (('上部に表示される文をHTMLで記述。ここにイベントの予定や詳細等を記述することができます。その他リンク、画像なんでもHTMLで記述できます。タイトルを非表示にして凝ったタイトルをここに記述することもできます。 ページ上部','HTML format. You can discrive event detail here. Top of the page')[$lang]);
print qq($valid);
print qq($invalid \n);
print qq( \n);
print (('テーブルの上','above the title')[$lang]);
print qq($valid);
print qq($invalid \n);
print qq( \n);
print (('ページの一番下','bottom of the page')[$lang]);
print qq($valid);
print qq($invalid \n);
print qq( \n);
print qq( | \n
\n);
print qq(\n| \n);
print (('<head>内挿入文','sentense in <head>')[$lang]);
print qq( | \n\n);
print qq($valid\n);
print qq($invalid \n);
print (('HTML書式 ポップアップ広告やJavascript、<META>を挿入したい場合にここに記述する。 以下の記述が<head>〜</head>内に挿入される。 ','HTML format. Javascript, popup ads, <META> and so on can be inserted in here.')[$lang]);
print qq( \n);
print qq( | \n
\n);
print qq(\n| \n);
print (('スタイルシート','Style Sheet')[$lang]);
print qq( | \n\n);
print qq($valid\n);
print qq($invalid \n);
print qq( \n);
print qq( | \n
\n);
print qq(\n| \n);
print (('時間設定','Time')[$lang]);
print qq( | \n\n);
print qq();
print (('GMTからのオフセット','Offset from GMT')[$lang]);
print qq(\n);
print (('ローカルタイム ','Localtime ')[$lang]);
print (('GMTからのオフセットに設定した場合、GMTより','When set to GMT, an offset from GMT')[$lang]);
print qq(\n);
print (('時間(日本:+9時間)','hours (Japan : +9)')[$lang]);
print qq( | \n
\n);
print qq(
\n);
print qq(