From 4bf9d2b890725d08280e24b155602d34764d30b4 Mon Sep 17 00:00:00 2001 From: Sushi-k Date: Tue, 28 Jul 2009 12:44:20 +0900 Subject: [PATCH] add: web base setting --- envSetting.php | 16 ++++++++++++++++ postsettings.php | 11 +++++++++++ systemSetting.php | 16 ++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100755 envSetting.php create mode 100755 postsettings.php create mode 100755 systemSetting.php diff --git a/envSetting.php b/envSetting.php new file mode 100755 index 0000000..c0fe753 --- /dev/null +++ b/envSetting.php @@ -0,0 +1,16 @@ +assign( "settings", $settings ); +$smarty->assign( "install_path", INSTALL_PATH ); +$smarty->assign( "post_to", "postsettings.php" ); +$smarty->assign( "sitetitle", "環境設定設定" ); +$smarty->assign( "message", '設定せずに番組表に戻る/システム設定へ' ); + +$smarty->display("envSetting.html"); +?> \ No newline at end of file diff --git a/postsettings.php b/postsettings.php new file mode 100755 index 0000000..5106531 --- /dev/null +++ b/postsettings.php @@ -0,0 +1,11 @@ +post(); +$settings->save(); + +jdialog("設定が保存されました", "index.php" ); +?> \ No newline at end of file diff --git a/systemSetting.php b/systemSetting.php new file mode 100755 index 0000000..0fd053e --- /dev/null +++ b/systemSetting.php @@ -0,0 +1,16 @@ +assign( "settings", $settings ); +$smarty->assign( "install_path", INSTALL_PATH ); +$smarty->assign( "post_to", "postsettings.php" ); +$smarty->assign( "sitetitle", "システム設定" ); +$smarty->assign( "message", '設定せずに番組表に戻る' ); + +$smarty->display("systemSetting.html"); +?> \ No newline at end of file -- 2.11.0