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

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

block_add($beginner9_label);
