<?php
$template = <<<END
<!--{def item/title}-->
<!-- yakuba1_label: 見出し -->
<section class="yakuba1_label<!--{def item/class}--> {val item/class}<!--{/def}-->">
<h2 class="c">{val item/title}<span class="small" style="display:block;opacity: 0.5;">{val item/subtitle}</span></h2>
</section>
<!--{/def}-->
END;

$yakuba1_label = array(
		"title" => "yakuba1見出し",
		"name" => "block8",			// 名称、重複すると正しく動作しません
		"template" => $template,		// ブロックのテンプレート
		"input" => array(
		"help" => array(
			"title" => "使い方",
			"type" => "comment",
			"link" => DOCUMENT1 . "/?act=yakuba1_label",
			"class" => "notice",
		),
			"title" => array(
				"title" => "タイトル",
				"type" => "text",
			),
			"subtitle" => array(
				"title" => "サブタイトル",
				"type" => "text",
			),
			"class" => array(
				"title" => "背景",
				"type" => "select",
				"list" => array(
					"" => "なし",
					"bg1" => "あり",
				),
			),
		),
	);

block_add($yakuba1_label);
