<?php include_once( "../../../spider.inc.php" ); ?>
{module:system.package.LoadList}
{module:system.package.install.Session}

	{foreach:system.package.install.install_object_hash packageObject}
	{if:packageObject->getPackageId()=='topic'}{set:targetPackageObject packageObject}{/if}
	{/foreach}
	
	{if:is_object(targetPackageObject)}
	{set:definitionHash targetPackageObject->'definitionHash'}
	<h1>{write:targetPackageObject->getPackageViewName()}パッケージ</h1>

	<h2>RSS配信設定</h2>
	<table style="width:95%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:16em;">配信サイト名</th>
		<td>
			<input type="text" name="TOPIC_RSS_SITE_NAME" size="60" value="{write:definitionHash['TOPIC_RSS_SITE_NAME']}" />
		</td>
	</tr>
	<tr>
		<th style="width:16em;">配信サイト概要説明</th>
		<td>
			<input type="text" name="TOPIC_RSS_SITE_DESCRIPTION" size="80" value="{write:definitionHash['TOPIC_RSS_SITE_DESCRIPTION']}" />
		</td>
	</tr>
	<tr>
		<th style="width:16em;">配信サイト著作権者</th>
		<td>
			<input type="text" name="TOPIC_RSS_SITE_COPYRIGHT" size="50" value="{write:TOPIC_RSS_SITE_COPYRIGHT}" />
		</td>
	</tr>
	<tr>
		<th style="width:16em;">配信担当名</th>
		<td>
			<input type="text" name="TOPIC_RSS_SITE_EDITOR_NAME" size="50" value="{write:definitionHash['TOPIC_RSS_SITE_EDITOR_NAME']}" />
		</td>
	</tr>
	<tr>
		<th style="width:16em;">配信担当メールアドレス</th>
		<td>
			<input type="text" name="TOPIC_RSS_SITE_EDITOR_EMAIL" size="60" value="{write:definitionHash['TOPIC_RSS_SITE_EDITOR_EMAIL']}" />
		</td>
	</tr>
	<tr>
		<th style="width:16em;">カテゴリー表示</th>
		<td>
			<input type="text" name="TOPIC_RSS_SITE_CATEGORY" size="60" value="{write:definitionHash['TOPIC_RSS_SITE_CATEGORY']}" /><br />
			※ショッピング,技術情報,..等カンマ区切りで
		</td>
	</tr>
	</tbody>
	</table>
	{else}
	<p>操作が正しくありません</p>
	{/if}