<?php
$custom_script = <<<HTML
	if(attrs['column_1'].value == ''){
		attrs['column_1'].value = ' ';
	}
	if(attrs['column_2'].value == ''){
		attrs['column_2'].value = ' ';
	}
	if(attrs['column_3'].value == ''){
		attrs['column_3'].value = ' ';
	}
	if(attrs['column_4'].value == ''){
		attrs['column_4'].value = ' ';
	}
	if(attrs['column_5'].value == ''){
		attrs['column_5'].value = ' ';
	}
	if(attrs['column_6'].value == ''){
		attrs['column_6'].value = ' ';
	}
	return '\\n[one_sixth]'+attrs['column_1'].value+'[/one_sixth]\\n[one_sixth]'+attrs['column_2'].value+'[/one_sixth]\\n[one_sixth]'+attrs['column_3'].value+'[/one_sixth]\\n[one_sixth]'+attrs['column_4'].value+'[/one_sixth]\\n[one_sixth]'+attrs['column_5'].value+'[/one_sixth]\\n[one_sixth_last]'+attrs['column_6'].value+'[/one_sixth_last]\\n';
HTML;
return array(
	"title" => __("Six Columns Layout", THEME_ADMIN_DOMAIN),
	'contentOption' => 'column_1',
	"type" => 'custom',
	"options" => array(
		array(
			"name" => __("Column 1",THEME_ADMIN_DOMAIN),
			"id" => "column_1",
			"default" => "",
			"type" => "textarea"
		),
		array(
			"name" => __("Column 2",THEME_ADMIN_DOMAIN),
			"id" => "column_2",
			"default" => "",
			"type" => "textarea"
		),
		array(
			"name" => __("Column 3",THEME_ADMIN_DOMAIN),
			"id" => "column_3",
			"default" => "",
			"type" => "textarea"
		),
		array(
			"name" => __("Column 4",THEME_ADMIN_DOMAIN),
			"id" => "column_4",
			"default" => "",
			"type" => "textarea"
		),
		array(
			"name" => __("Column 5",THEME_ADMIN_DOMAIN),
			"id" => "column_5",
			"default" => "",
			"type" => "textarea"
		),
		array(
			"name" => __("Column 6",THEME_ADMIN_DOMAIN),
			"id" => "column_6",
			"default" => "",
			"type" => "textarea"
		),
	),
	"custom" => $custom_script,
);
