<?php
$template = <<<END
<section class="bg2 bg-pattern2" id="flow">
<!--{def item/title}-->
<h2 class="c">{val item/title}</h2>
<!--{/def}-->
<div class="list-normal1 flow">
<!--{each item/list}-->
<div class="list {val item/list/view}">
<div class="text">
<h4>{val item/list/subtitle}</h4>
<p class="markdown-body">{rval item/list/text}</p>
</div>
</div>
<!--{/each}-->
</div><!--/.list-normal1-->
</section>
END;

$biz63_kiji = array(
	"title" => "biz63制作の流れ",
	"name" => "biz63_kiji",			// 名称、重複すると正しく動作しません
	"template" => $template,		// ブロックのテンプレートファイル
	"input" => array(
		"help" => array(
			"title" => "使い方",
			"type" => "comment",
			"link" => DOCUMENT1 . "/?act=biz63_kiji",
			"class" => "notice",
		),
		"title" => array(
			"title" => "タイトル",
			"type" => "text",
		),
		"dummy1" => array(
			"title" => " ",
			"type" => "comment",
		),
		"subtitle1" => array(
			"title" => "サブタイトル1",
			"type" => "text",
		),
		"text1" => array(
			"title" => "内容1",
			"type" => "textarea",
		),
		"view1" => array(
			"title" => "出現1",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"dummy2" => array(
			"title" => " ",
			"type" => "comment",
		),
		"subtitle2" => array(
			"title" => "サブタイトル2",
			"type" => "text",
		),
		"text2" => array(
			"title" => "内容2",
			"type" => "textarea",
		),
		"view2" => array(
			"title" => "出現2",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"dummy3" => array(
			"title" => " ",
			"type" => "comment",
		),
		"subtitle3" => array(
			"title" => "サブタイトル3",
			"type" => "text",
		),
		"text3" => array(
			"title" => "内容3",
			"type" => "textarea",
		),
		"view3" => array(
			"title" => "出現3",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"dummy4" => array(
			"title" => " ",
			"type" => "comment",
		),
		"subtitle4" => array(
			"title" => "サブタイトル4",
			"type" => "text",
		),
		"text4" => array(
			"title" => "内容4",
			"type" => "textarea",
		),
		"view4" => array(
			"title" => "出現4",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"dummy5" => array(
			"title" => " ",
			"type" => "comment",
		),
		"subtitle5" => array(
			"title" => "サブタイトル5",
			"type" => "text",
		),
		"text5" => array(
			"title" => "内容5",
			"type" => "textarea",
		),
		"view5" => array(
			"title" => "出現5",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
		"dummy6" => array(
			"title" => " ",
			"type" => "comment",
		),
		"subtitle6" => array(
			"title" => "サブタイトル6",
			"type" => "text",
		),
		"text6" => array(
			"title" => "内容6",
			"type" => "textarea",
		),
		"view6" => array(
			"title" => "出現6",
			"type" => "select",
			"list" => array(
				"" => "なし",
				"up" => "上から",
				"down" => "下から",
				"transform1" => "横回転",
				"transform2" => "縦回転",
				"blur" => "徐々に",
			),
		),
	),
	"repeat" => array("subtitle", "text", "view"),
);

block_add($biz63_kiji);
