view templates/envSetting.html @ 136:6754b6aa50cf

mod: ログ機能のためにconfig.phpを変更
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Sun, 21 Mar 2010 00:00:58 +0900
parents cce6f88590fd
children 10b2306693d9
line wrap: on
line source

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>{$sitetitle}</title>

<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<script type="text/javascript" src="js/messages_ja.js"></script>

<script type="text/javascript">
<!--
{literal}

	var PRG = {
		force_cont:function() {
			if( $('#id_force_cont_rec' ).val() == 0 ) {
				$('#id_rec_switch_time').attr('disabled','disabled');
			}
			else {
				$('#id_rec_switch_time').attr('disabled',false);
			}
		}
	}
	$(document).ready(function(){
		$("#env_setting").validate();
		PRG.force_cont();
	});

{/literal}

-->
</script>


<style type="text/css">
<!--
{literal}

body {padding:4px;margin:0;font-size:10pt; width: 85%;}
a {text-decoration:none;}

.bold {font-weight:bold;}
.small {font-size:75%;}

div.setting { padding: 0px; margin-left: 20px; margin-bottom: 20px;}

{/literal}
-->
</style>
</head>
<body>



<form id="env_setting" method="post" action="{$post_to}">

<div>{$message}</div>

<h2>吾帥ャ若取┃絎</h2>


<h3>違吾ャ若若佀</h3>
<div class="setting">
<div class="caption">泣若若・膓違吾ャ若若佀違荐絎違吾ャ若若c翫0障</div>
<input type="text" name="gr_tuners" value="{$settings->gr_tuners}" size="3" class="required digits" />
</div>

<h3>BSャ若若佀</h3>
<div class="setting">
<div class="caption">泣若若・膓BSャ若若佀違荐絎BSャ若若c翫0障</div>
<input type="text" name="bs_tuners" value="{$settings->bs_tuners}" size="3" class="required digits" />
</div>

<h3>CS牙祉</h3>
<div class="setting">
<div class="caption">荐絎茵CS冗潟篏障CS冗篏睡鴻篏帥荐絎</div>
<select name="cs_rec_flg" id="id_cs_rec_flg" >
  <option value="0" {if $settings->cs_rec_flg == 0} selected {/if}>茵</option>
  <option value="1" {if $settings->cs_rec_flg == 1} selected {/if}>茵</option>
</select>
</div>

<h2>牙脂∫h┃絎</h2>


<h3>牙脂紮篏茖鐚腱鐚</h3>
<div class="setting">
<div class="caption">epgrec腟紮牙祉紮障牙脂紮腱ц┃絎腟障荐絎с0腱篁ヤ180腱羣с</div>
<input type="text" name="former_time" value="{$settings->former_time}" size="4" class="required digits" min="0" max="179" />
</div>

<h3>牙紙激</h3>
<div class="setting">
<div class="caption">筝罨0篁ヤ腱違荐絎鴻腟絲障荐絎腱医牙紙綮吟違障荐絎g腟篋膣荐絎御с障0篁ュ腱荐絎翫g腟篋膣茵ャ羈ィ絅ゃ0с</div>
<input type="text" name="extra_time" value="{$settings->extra_time}" size="4" class="required digits" />
</div>

<h3>g腟篋膣</h3>
<div class="setting">
<div class="caption">荐絎茵epgrec翫篋膣腟牙紙膰g腟篋膣純障牙紙膰牙脂紮篏茖鐚牙祉潟潟帥с罘純篏帥cg腟篋膣翫腟緇醇с障ャ若若1伹<若若牙祉g腟篋膣純障<<荐絎</div>
<select name="force_cont_rec" id="id_force_cont_rec" onChange="javascript:PRG.force_cont()" >
  <option value="0" {if $settings->force_cont_rec == 0} selected {/if}>茵</option>
  <option value="1" {if $settings->force_cont_rec == 1} selected {/if}>茵</option>
</select>
</div>


<h3>牙祉潟潟帥</h3>
<div class="setting">
<div class="caption">g腟篋膣牙祉腟篋罨<牙祉紮障с篏茖鐚腱鐚荐絎障1篁ヤ腱違荐絎荐絎腱違祉牙紙膰障g腟篋膣紊掩障紊掩篏睡牙祉潟潟ャ若若箴絖障</div>
<input type="text" name="rec_switch_time" id="id_rec_switch_time" value="{$settings->rec_switch_time}" size="4" class="required digits" min="1" />
</div>


<h3>牙祉≪若</h3>
<div class="setting">
<div class="caption">若若牙祉膂≧牙祉茵腟牙祉≪若荐絎障config.php$RECORD_MODE茲違牙祉≪若脂蚊do-record.sh鴻帥ゃ冴с違牙祉≪若с障若若牙祉若若脂我牙祉≪若荐絎с障≪若0с
</div>
<select name="autorec_mode" id="id_autorec_mode" >
{foreach from=$record_mode item=mode name=recmode}
  <option value="{$smarty.foreach.recmode.index}" {if $settings->autorec_mode == $smarty.foreach.recmode.index} selected {/if}>{$mode.name}</option>
{/foreach}
</select>
</div>



<h3>mediatombd罘</h3>
<div class="setting">
<div class="caption">荐絎篏帥牙祉腟帥ゃ网荀mediatomb障mediatomb篏睡鴻篏帥荐絎荐絎mediatomb眼荐絎綽荀障荅潟ャ<潟с
</div>
<select name="mediatomb_update" id="id_mediatomb_update" >
  <option value="0" {if $settings->mediatomb_update == 0} selected {/if}>篏帥</option>
  <option value="1" {if $settings->mediatomb_update == 1} selected {/if}>篏帥</option>
</select>
</div>

<h3>牙祉<ゃ綵√</h3>
<div class="setting">
<div class="caption">epgrec牙祉<ゃ鴻帥ゃ冴с障筝罨<ゃ若荐ャ若篏睡с号絖篁ヤс

<table cellspacing="1" border="1">
<thead>
<tr>
  <th>号絖</th><th>臀緇絎</th>
</tr>
</thead>
<tbody>
 <tr><td>%TITLE%</td><td>腟帥ゃ</td></tr>
 <tr><td>%ST%</td><td>紮ユ鐚ex.200907201830)</td></tr>
 <tr><td>%ET%</td><td>腟篋ユ鐚筝鐚</td></tr>
 <tr><td>%TYPE%</td><td>GR障BS</td></tr>
 <tr><td>%CH%</td><td>c潟</td></tr>
 <tr><td>%DOW%</td><td>ワ3絖Sun-Mon鐚</td></tr>
 <tr><td>%DOWJ%</td><td>ワ羲√1絖-鐚</td></tr>
 <tr><td>%YEAR%</td><td>紮綛</td></tr>
 <tr><td>%MONTH%</td><td>紮</td></tr>
 <tr><td>%DAY%</td><td>紮</td></tr>
 <tr><td>%HOUR%</td><td>紮</td></tr>
 <tr><td>%MIN%</td><td>紮</td></tr>
 <tr><td>%SEC%</td><td>紮腱</td></tr>
 <tr><td>%DURATION%</td><td>牙紙鐚腱鐚</td></tr>
</tbody>
</table>
違<p>%YEAR%綛%MONTH%%DAY%%HOUR%%MIN%%SEC%腱_%TYPE%%CH%_%TITLE%</p>荐絎<p>2009綛0715124916腱_GR21_腟帥ゃ.ts</p>綵√牙祉<ゃ障%TYPE%%CH%羞激違腟牙祉<ゃ羈<ゃ激鴻UTF-8篁ュ絖潟若с<ゃユ茯篋ゃ翫config.php絎FILESYSTEM_ENCODING絖潟若荐絎с障UTF-8篁ュ絖潟若鴻茵cィ絅障</div>
<input type="text" name="filename_format" value="{$settings->filename_format}" size="40" class="required" />
</div>

<h2>腟茵茵腓肴┃絎</h2>

篁ヤ荐絎絎罕絖荀荐絎鴻с

<h3>若吾茵腓冴腟茵激鐚鐚</h3>
<div class="setting">
<div class="caption">1若吾茵腓冴腟茵激ц┃絎障罔羣8с</div>
<input type="text" name="program_length" value="{$settings->program_length}" size="2" class="required digits" min="2" max="24" />
</div>


<h3>1絮綛</h3>
<div class="setting">
<div class="caption">腟茵1絮綵綛祉違ц┃絎障罔羣150祉с</div>
<input type="text" id="ch_set_width" name="ch_set_width" value="{$settings->ch_set_width}" size="4" class="required digits" min="20" />
</div>


<h3>1蕭</h3>
<div class="setting">
<div class="caption">腟茵1蕭祉違ц┃絎障罔羣120祉с60у蚊祉違絎Firefoxゃ吟с腟蕭荀障Firefox篁ュ吟с絎違祉罩c潟潟違с</div>
<input type="text" id="height_per_hour" name="height_per_hour" value="{$settings->height_per_hour}" size="4" class="required digits" min="30" />
</div>


<input type="submit" value="荐絎篆絖" id="env_setting-submit" />
</form>
</body>
</html>