diff --git a/www/admin/class_test.php b/www/admin/class_test.php
index 9f2ee147..47da9ce5 100644
--- a/www/admin/class_test.php
+++ b/www/admin/class_test.php
@@ -167,14 +167,14 @@ print "DB Version bigger than $to_db_version: ".$basic->dbCompareVersion('>='.$t
print "DB Version bigger $to_db_version: ".$basic->dbCompareVersion('>'.$to_db_version)."
";
/* $q = "SELECT FOO FRO BAR";
-// $q = "Select * from foo";
+// $q = "Select * from foo";
$foo = $basic->dbExecAsync($q);
print "[ERR] Query: ".$q."
";
print "[ERR] RESOURCE: $foo
";
while (($ret = $basic->dbCheckAsync()) === true)
{
print "[ERR]: $ret
";
-// sleep(5);
+ sleep(5);
} */
// search path check
diff --git a/www/admin/smarty_test.php b/www/admin/smarty_test.php
index 4300de3f..147d7313 100755
--- a/www/admin/smarty_test.php
+++ b/www/admin/smarty_test.php
@@ -18,5 +18,24 @@ require BASE.INCLUDES.'admin_set_paths.inc';
// smarty test
$cms->DATA['SMARTY_TEST'] = 'Test Data';
+// drop down test with optgroups
+$options = array (
+ '' => '選択してください',
+ '4/25(木)' => array (
+ '4/25(木) 11:00-11:50' => '4/25(木) 11:00-11:50',
+ '4/25(木) 12:20-13:00' => '4/25(木) 12:20-13:00'
+ ),
+ '4/26(金)' => array (
+ '4/26(金) 11:00-11:50' => '4/26(金) 11:00-11:50',
+ '4/26(金) 12:20-13:00' => '4/26(金) 12:20-13:00'
+ ),
+ '4/27(土)' => array (
+ '4/27(土) 11:00-11:50' => '4/27(土) 11:00-11:50',
+ '4/27(土) 12:20-13:00' => '4/27(土) 12:20-13:00'
+ )
+);
+
+$cms->DATA['drop_down_test'] = $options;
+
require BASE.INCLUDES.'admin_smarty.inc';
require BASE.INCLUDES.'admin_footer.inc';
diff --git a/www/layout/admin/default/templates/smarty_test.tpl b/www/layout/admin/default/templates/smarty_test.tpl
old mode 100644
new mode 100755
index 8d2bb078..5dfa26ea
--- a/www/layout/admin/default/templates/smarty_test.tpl
+++ b/www/layout/admin/default/templates/smarty_test.tpl
@@ -1,3 +1,8 @@