* adjust the code.

This commit is contained in:
chencongzhi520@gmail.com
2013-07-06 03:00:01 +00:00
parent 8386fa93a7
commit bcf35c4b7b
20 changed files with 84 additions and 86 deletions
+16 -15
View File
@@ -13,22 +13,23 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<?php echo html::hidden("date", date('Y-m-d'));?>
<?php for($i = 1; $i <= 5; $i++):?>
<?php
echo html::input("names[$i]", '', "placeholder='{$lang->todo->common}{$lang->todo->name}'");
echo html::hidden("types[$i]", 'custom');
echo html::hidden("pris[$i]", 3);
echo html::hidden("descs[$i]", '');
echo html::hidden("begins[$i]", '2400');
echo html::hidden("ends[$i]", '2400');
?>
<?php endfor;?>
<?php
echo html::hidden("date", date('Y-m-d'));
for($i = 1; $i <= 5; $i++)
{
echo html::input("names[$i]", '', "placeholder='{$lang->todo->common}{$lang->todo->name}'");
echo html::hidden("types[$i]", 'custom');
echo html::hidden("pris[$i]", 3);
echo html::hidden("descs[$i]", '');
echo html::hidden("begins[$i]", '2400');
echo html::hidden("ends[$i]", '2400');
}
?>
<p class='a-center'>
<?php
echo html::submitButton('', "data-inline='true' data-theme='b'");
echo html::backButton("data-inline='true'");
?>
<?php
echo html::submitButton('', "data-inline='true' data-theme='b'");
echo html::backButton("data-inline='true'");
?>
</p>
</form>
<?php include '../../common/view/m.footer.html.php';?>