annotate envSetting.php @ 69:1033324d7ecc

Merge branch 'origin/testing'
author yoneda <yoneda@recorder.localnet.mda.or.jp>
date Tue, 03 Nov 2009 14:54:40 +0900
parents 3d6e7c606896
children 481e789605e3
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", "環境設定設定" );
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
14 $smarty->assign( "message", '<a href="index.php">設定せずに番組表に戻る</a>/<a href="systemSetting.php">システム設定へ</a>' );
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");
68de7a0e44cd add: web base setting
Sushi-k <epgrec@park.mda.or.jp>
parents:
diff changeset
17 ?>