Lines Matching refs:form

742 		$form = new Form(array(
753 $form->setHiddenField('yearweek', $daterange['yearweek']);
754 $form->setHiddenField('call', 'plugin_timetrack');
755 $form->setHiddenField('cmd', 'overview');
756 $form->setHiddenField('pageid',$pageid);
759 …$form->addButton('back', sprintf('<< [KW%s]',$dateStart->sub($dateIntervalWeek)->format('W')))->va…
760 $form->addButton('today', $this->getLang('today') . ' [KW'. date('W') . ']')->val(date('YW'));
761 …$form->addButton('forward', sprintf('>> [KW%s]',$dateEnd->add($dateIntervalWeek)->format('W')))->v…
762 $html = $form->toHTML();
811 $form = new Form(array(
825 $form->setHiddenField('yearweek', $daterange['yearweek']);
826 $form->setHiddenField('call', 'plugin_timetrack');
827 $form->setHiddenField('cmd', $cmd);
828 $form->setHiddenField('pageid',$pageid);
831 …$form->addButton('back', sprintf('<< [KW%s]',$dateStart->sub($dateIntervalWeek)->format('W')))->va…
832 $form->addButton('today', $this->getLang('today') . ' [KW'. date('W') . ']')->val(date('YW'));
833 …$form->addButton('forward', sprintf('>> [KW%s]',$dateEnd->add($dateIntervalWeek)->format('W')))->v…
834 $form->addHTML('<h3>KW'.$dateStart->add($dateIntervalWeek)->format('W') . '</h3>');
835 $form->addTagOpen('table');
836 $form->addTagOpen('tr');
837 $form->addTagOpen('th');
838 $form->addHTML($this->getLang('project'));
839 $form->addTagClose('th');
840 $form->addTagOpen('th');
841 $form->addHTML($this->getLang('task'));
842 $form->addTagClose('th');
845 $form->addTagOpen('th');
846 $form->addHTML($dateName);
847 $form->addTagClose('th');
849 $form->addTagClose('tr');
860 $form->addTagOpen('tr');
863 $form->addElement(new TagOpenElement('th',array(
866 $form->addLabel($task['project_name']);
867 $form->addTagClose('th');
870 $form->addTagOpen('td');
871 $form->addLabel($task['task_name']);
872 $form->addTagClose('td');
888 $form->addTagOpen('td');
889 $el = $form->addTextInput("UserTime[$project_id][$task_id][$dateText]",'')
900 $form->addTagClose('td');
903 $form->addTagClose('tr');
908 $form->addTagOpen('tr');
909 $form->addTag('td')->attr('colspan',2);
910 $form->addTag('td');
911 $form->addTag('td');
912 $form->addTag('td');
913 $form->addTag('td');
914 $form->addTag('td');
915 $form->addTagClose('tr');
916 $form->addTagOpen('tr');
917 $form->addTagOpen('td')->attr('colspan',2);
918 $form->addHTML($this->getLang('sum_day_all'));
919 $form->addTagClose('td');
923 $form->addTagOpen('th')->attrs(array(
928 …$form->addHTML($date_sum_user[$dateText] + $weekData[$dateText]['value'] - $date_sum_db[$dateText]…
929 $form->addTagClose('th');
931 $form->addTagClose('tr');
933 $form->addTagClose('table');
935 return $form->toHTML();