예제 #1
0
 function _getForms()
 {
     // category
     list($this->parentArray, $this->parentKeys) = CLMCategoryTree::getTree();
     if (count($this->parentArray) > 0) {
         // nur, wenn Kategorien existieren
         $parentlist[] = JHtml::_('select.option', '0', CLMText::selectOpener(JText::_('NO_PARENT')), 'id', 'name');
         foreach ($this->parentArray as $key => $value) {
             $parentlist[] = JHtml::_('select.option', $key, $value, 'id', 'name');
         }
         $this->form['catidAlltime'] = JHtml::_('select.genericlist', $parentlist, 'catidAlltime', 'class="inputbox" size="1" style="max-width: 250px;"', 'id', 'name', intval($this->turnier->catidAlltime));
         $this->form['catidEdition'] = JHtml::_('select.genericlist', $parentlist, 'catidEdition', 'class="inputbox" size="1" style="max-width: 250px;"', 'id', 'name', intval($this->turnier->catidEdition));
     }
     // Saison
     $this->form['sid'] = CLMForm::selectSeason('sid', $this->turnier->sid);
     // Modus
     $this->form['modus'] = CLMForm::selectModus('typ', $this->turnier->typ, false, ' onChange="showFormRoundscount()";');
     // Tiebreakers
     $this->form['tiebr1'] = CLMForm::selectTiebreakers('tiebr1', $this->turnier->tiebr1);
     $this->form['tiebr2'] = CLMForm::selectTiebreakers('tiebr2', $this->turnier->tiebr2);
     $this->form['tiebr3'] = CLMForm::selectTiebreakers('tiebr3', $this->turnier->tiebr3);
     // stages/dg
     $this->form['dg'] = CLMForm::selectStages('dg', $this->turnier->dg);
     // director/tl
     $this->form['tl'] = CLMForm::selectDirector('tl', $this->turnier->tl);
     // bezirksveranstaltung?
     $this->form['bezirkTur'] = JHtml::_('select.booleanlist', 'bezirkTur', 'class="inputbox"', $this->turnier->bezirkTur);
     // vereinZPS
     // $this->form['vereinZPS']= CLMForm::selectVereinZPS('vereinZPS', $this->turnier->vereinZPS);
     $this->form['vereinZPS'] = CLMForm::selectVereinZPSuVerband('vereinZPS', $this->turnier->vereinZPS);
     // director/tl
     $this->form['tl'] = CLMForm::selectDirector('tl', $this->turnier->tl);
     // published
     $this->form['published'] = CLMForm::radioPublished('published', $this->turnier->published);
 }
예제 #2
0
?>
" class="text_area" onchange="document.adminForm.submit();" />
				<button onclick="this.form.submit();"><?php 
echo JText::_('Go');
?>
</button>
				<button onclick="document.getElementById('search').value='';this.form.getElementById('filter_sid').value='0';this.form.getElementById('filter_state').value='';this.form.submit();"><?php 
echo JText::_('RESET');
?>
</button>
			</td>
			<td nowrap="nowrap">
				<?php 
echo $this->form['parent'];
echo "&nbsp;&nbsp;&nbsp;" . CLMForm::selectSeason('filter_sid', $this->param['sid'], TRUE);
echo "&nbsp;&nbsp;&nbsp;" . CLMForm::selectModus('filter_modus', $this->param['modus'], TRUE);
echo "&nbsp;&nbsp;&nbsp;" . JHTML::_('grid.state', $this->param['state']);
?>
			</td>
		</tr>
	</table>

	<table class="adminlist">
		<thead>
		<tr>
		<th width="2%">
			<?php 
echo JText::_('NUM');
?>
		</th>
		<th width="2%">