annotate envSetting.php @ 175:f68f63465a41 default tip

handles RecException instead of Exception
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 16 Apr 2013 15:24:02 +0900
parents 481e789605e3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
1 <?php
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
2 include_once("config.php");
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
3 include_once(INSTALL_PATH."/Smarty/Smarty.class.php");
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
4 include_once(INSTALL_PATH."/Settings.class.php");
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
5
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
6 $settings = Settings::factory();
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
7 $smarty = new Smarty();
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
8
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
9 $smarty->assign( "settings", $settings );
66
3d6e7c606896 testing: auto record with mode
yoneda <yoneda@recorder.localnet.mda.or.jp>
parents: 42
diff changeset
10 $smarty->assign( "record_mode", $RECORD_MODE );
42
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
11 $smarty->assign( "install_path", INSTALL_PATH );
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
12 $smarty->assign( "post_to", "postsettings.php" );
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
13 $smarty->assign( "sitetitle", "環境設定設定" );
142
481e789605e3 mod: EPGιƱͽ򹹿褦ѹӥ塼ɲ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents: 66
diff changeset
14 $smarty->assign( "message", '<a href="index.php">設定せずに番組表に戻る</a>/<a href="systemSetting.php">システム設定へ</a>/<a href="logViewer.php">動作ログを見る</a>' );
42
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
15
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
16 $smarty->display("envSetting.html");
142
481e789605e3 mod: EPGιƱͽ򹹿褦ѹӥ塼ɲ
epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
parents: 66
diff changeset
17 ?>