X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=expenses.php;h=4cfc0ea55ad1746ea523a0dbcf4b0b9198e898b3;hb=30470a2fe679c83c29259328c5ad60a32ce69d3d;hp=cea13e6b40c4dd83909dd1745c121c7f6fce675a;hpb=600a2f9ba49efc6f40a2693306f4be69acabd6a0;p=timetracker.git diff --git a/expenses.php b/expenses.php index cea13e6b..4cfc0ea5 100644 --- a/expenses.php +++ b/expenses.php @@ -127,7 +127,7 @@ if (MODE_PROJECTS == $user->tracking_mode || MODE_PROJECTS_AND_TASKS == $user->t 'empty'=>array(''=>$i18n->getKey('dropdown.select')))); } } -$form->addInput(array('type'=>'textarea', 'name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name)); +$form->addInput(array('type'=>'textarea','maxlength'=>'800','name'=>'item_name','style'=>'width: 250px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_item_name)); $form->addInput(array('type'=>'text','maxlength'=>'40','name'=>'cost','style'=>'width: 100px;','value'=>$cl_cost)); $form->addInput(array('type'=>'calendar','name'=>'date','highlight'=>'expenses','value'=>$cl_date)); // calendar $form->addInput(array('type'=>'hidden','name'=>'browser_today','value'=>'')); // User current date, which gets filled in on btn_submit click.