# コマンドテンプレート
package TDS::Tdf::Command::DIARY;
$Template = qq(<H2><A HREF="%href" NAME="%anchor">%date</A></H2>);
$EndTemplate = "<HR>\n";
$HrefTemplateDynamic = "./?%y%0m%part#%anchor";
$HrefTemplateStatic = "d%y%0m%part.%suffix#%anchor";
$Anchor = "%y%0m%{0d}0";
$DateFormat = "%year年%0m月%0d日(%Week)";

package TDS::Tdf::Command::NEW;
$Template = q(
<H3 CLASS="new"><A HREF="%href" NAME="%anchor">%mark</A>
%cat %ext_attrs</H3>
<DIV CLASS="section">);
$EndTemplate = "%footnote</DIV>\n";
$HrefTemplateDynamic = "./?%y%0m%part#%anchor";
$HrefTemplateStatic = "d%y%0m%part.%suffix#%anchor";
$Anchor = "%y%0m%0d%new";
$Mark = "#%new";

package TDS::Tdf::Command::SNEW;
$Template = q(
<H3 CLASS="new"><A HREF="%href" NAME="%anchor">%mark</A>
%cat %ext_attrs</H3>
<DIV CLASS="section">);
$EndTemplate = "%footnote</DIV>\n";
$HrefTemplateDynamic = "./?%y%0m%part#%anchor";
$HrefTemplateStatic = "d%y%0m%part.%suffix#%anchor";
$Anchor = "%y%0m%0d%new";
$Mark = "#%new";

package TDS::Tdf::Command::SUB;
$Template = q(
<H4><A HREF="%href" NAME="%anchor">%mark</A>
%ext_attrs:</H4> 
<DIV CLASS="sub">
);
$EndTemplate = "</DIV>";
$HrefTemplateDynamic = "./?%y%0m%part#%anchor";
$HrefTemplateStatic = "d%y%0m%part.%suffix#%anchor";
$Anchor = "%y%0m%0d%{new}S%sub";
$Mark = "＠";

package TDS::Tdf::Command::FN;
$Template = qq( <A HREF="\#%y%0m%0d%{new}F%fn"><SMALL>*%fn</SMALL></A> );

package TDS::Tdf::Command::FN_Content;
$Template = qq(\n<A NAME="%y%0m%0d%{new}F%fn" HREF="%href"><SMALL>*%fn</SMALL></A>:);
$EndTemplate = qq(<BR>);
$HrefTemplateDynamic = qq(./?%y%0m%part#%y%0m%0d%{new}F%fn);
$HrefTemplateStatic = qq(d%y%0m%part.%suffix#%y%0m%0d%{new}F%fn);

package TDS::Tdf::Command::FN_Formatter;
$Template = qq(<HR CLASS="section" STYLE="width: 40%; text-align: left;"><DIV CLASS="fn">%fn_content\n);
$EndTemplate = qq(</DIV>\n);


# 表示分説明文
package TDS::Explain;

$Recent = "最新 %num 日分";
$Month = "%year年%month月分";
$Day = "%year年%month月%day日分";
$Part = "%year年%month月%part";
$EachPart = "すべて,上旬,中旬,下旬";
$Search = "検索: %keyword";

# PIM テンプレート
package TDS::PIM::Schedule;
$ContentTemplate = qq(<LI><SPAN STYLE="color: %color; font-weight: bold;">%date</SPAN>%delim%content</LI>\n);
$ContentSpanTemplate = qq(<LI><SPAN STYLE="color: %color; font-weight: bold;">%start_date - %end_date</SPAN>%delim%content</LI>\n);
$DateFormat = qq(%0m/%0d(%week_holy));
$DateFormatMonthly = qq(%0m);
$BeginTemplate = "<UL>\n";
$EndTemplate = "</UL>\n";

$Delim = " ";

$NormalColor = "black";
$TodayColor  = "red";

package TDS::PIM::Todo;
$ContentTemplate = qq(<LI><SPAN STYLE="color: %color; font-weight: bold;">%priority</SPAN>%delim%content</LI>\n);
$BeginTemplate = "<UL>\n";
$EndTemplate = "</UL>\n";

$Delim = " ";

$NormalColor   = "black";
$EmphasisColor = "red";
$StrongColor   = "#f90";

# マクロテンプレート
package TDS::Renderer;

$LAST_MODIFIED = "%a, %d %b %Y %H:%M:%S %Z";
$RECENT = "[最新版]";
$REFRESH = "[更新]";
$NEXT_MONTH = "&gt;&gt;";
$PREV_MONTH = "&lt;&lt;";
$THIS_MONTH = "==";
$SUBMIT_JUMP = "ジャンプ";
$SUMMARY = "[一覧]";
$CATEGORY = 'ALL';
$SEARCH_SUBMIT =  "検索";
$SEARCH_RESULT = "<p>%diary 日 %num 件の日記にマッチしました</p>";
$SEARCH_SELECT_SORT =  "新しい順,古い順";
$SEARCH_SELECT_OBJECT = "指定した月,最近３ヶ月,最近一年,すべて";
$AUTHOR_MANAGEMENT =  "[著者管理]";
$TDF_EDITOR = "[TdfEditor]";
$URL_LIST = "[URL リスト]";
$DICTIONARY = "[辞書]";
$LOG_ANALYSE_ANCHOR =  "[アクセス解析]";
$COMMENT_SUBMIT = "送る";
$COMMENT_SHOW_ALL_SUBMIT = "過去のを表示";

# 一覧テンプレート
package TDS::Summary;
$YearTemplate = "<H2>%year</H2>\n<UL>\n";
$YearEndTemplate = "</UL>\n";
$MonthTemplate = qq(<LI><A HREF="%href">%month</A>: );
$MonthNolinkTemplate = qq(<LI>%month</A>);
$MonthEndTemplate = "</LI>\n";
$PartTemplate = qq([<A HREF="%href">%part_str</A>]);
$PartTemplateNone = qq((%part));
$PartEndTemplate = undef;
$EachPart = "上旬,中旬,下旬";

$MonthlyHrefTemplateDynamic = "./?%0y%0m";
$MonthlyHrefTemplateStatic  = "d%0y%0m.%suffix";
$PartlyHrefTemplateDynamic = "./?%0y%0m%part";
$PartlyHrefTemplateStatic  = "d%0y%0m%part.%suffix";

# カウンタテンプレート
package TDS::AccessLog::Counter;
$Template = "%all/%today(%times)";

# 一言
package TDS::Comment;
$DefaultComment = "読んだよ";

# カレンダー
package TDS::Calendar::Table;
$TableBorder = 0;
@WeekString = ('<SPAN STYLE="color: red;">Sun</SPAN>', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', '<SPAN STYLE="color: blue;">Sat</SPAN>');
$NextTemplate = "Next";
$PrevTemplate = "Prev";
$ThisTemplate = "%year/%month";

$HrefTemplateShowed = "#%anchor";
$HrefTemplateUnshowedDynamic = "./?%y%0m%part#%anchor";
$HrefTemplateUnshowedStatic = "d%y%0m%part.%suffix#%anchor";

1;
