X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=table_test.php;h=7cd5cda35d61590abf33c78b23c59d4998b90c6f;hb=a26a0989ad93cce9de9f45312990da9610e53045;hp=f8b4c7251edfb1b8fe2d50f9fca41d9287049b4a;hpb=7df94ddee8feb9bc19b681f2b58fc547df622c9b;p=timetracker.git diff --git a/table_test.php b/table_test.php index f8b4c725..7cd5cda3 100644 --- a/table_test.php +++ b/table_test.php @@ -104,7 +104,7 @@ $table->addColumn(new TableColumn('day_6', 'day 6', new TimeCellRenderer())); $table->setInteractive(false); $form->addInputElement($table); -$form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->getKey('button.submit'))); +$form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->get('button.submit'))); // Submit. if ($request->isPost()) { @@ -113,6 +113,6 @@ if ($request->isPost()) { } $smarty->assign('forms', array($form->getName()=>$form->toArray())); -$smarty->assign('title', $i18n->getKey('title.time')); +$smarty->assign('title', $i18n->get('title.time')); $smarty->assign('content_page_name', 'table_test.tpl'); $smarty->display('index.tpl');