public static function saison(&$row, $lists, $option) { // Nur CLM-Admin darf hier zugreifen (neue Saison) if (!JFactory::getUser()->authorise('core.manage.clm', 'com_clm')) { return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); } CLMViewSaisons::setSaisonToolbar(); JRequest::setVar('hidemainmenu', 1); JFilterOutput::objectHTMLSafe($row, ENT_QUOTES, 'extrainfo'); ?> <form action="index.php" method="post" name="adminForm" id="adminForm"> <div class="width-50 fltlft"> <fieldset class="adminform"> <legend><?php echo JText::_('SAISON_DETAILS'); ?> </legend> <table class="admintable"> <tr> <td class="key" width="20%" nowrap="nowrap"> <label for="name"><?php echo JText::_('SAISON') . ' : '; ?> </label> </td> <td> <input class="inputbox" type="text" name="name" id="name" size="50" maxlength="60" value="<?php echo $row->name; ?> " /> </td> </tr> <tr> <td class="key" nowrap="nowrap"><label for="published"><?php echo JText::_('JPUBLISHED') . ' : '; ?> </label> </td> <td><fieldset class="radio"> <?php echo $lists['published']; ?> </fieldset></td> </tr> <tr> <td class="key" nowrap="nowrap"><label for="archiv"><?php echo JText::_('SAISON_ARCHIVED') . ' : '; ?> </label> </td> <td><fieldset class="radio"> <?php echo $lists['archiv']; ?> </fieldset></td> </tr> <tr> <td class="key" width="20%" > <label for="datum"><?php echo JText::_('SAISON_DSB_DATE') . ' : '; ?> </label> </td> <td> <?php echo JHtml::_('calendar', $row->datum, 'datum', 'datum', '%Y-%m-%d', array('class' => 'inputbox', 'size' => '32', 'maxlength' => '19')); ?> </td> </tr> </table> </fieldset> </div> <div class="width-50 fltrt"> <fieldset class="adminform"> <legend><?php echo JText::_('REMARKS'); ?> </legend> <table class="adminlist"> <legend><?php echo JText::_('REMARKS_PUBLIC'); ?> </legend> <br> <tr> <td width="100%" valign="top"> <textarea class="inputbox" name="bemerkungen" id="bemerkungen" cols="40" rows="5" style="width:90%"><?php echo str_replace('&', '&', $row->bemerkungen); ?> </textarea> </td> </tr> </table> <table class="adminlist"> <tr><legend><?php echo JText::_('REMARKS_INTERNAL'); ?> </legend> <br> <td width="100%" valign="top"> <textarea class="inputbox" name="bem_int" id="bem_int" cols="40" rows="5" style="width:90%"><?php echo str_replace('&', '&', $row->bem_int); ?> </textarea> </td> </tr> </table> </fieldset> </div> <div class="clr"></div> <input type="hidden" name="section" value="saisons" /> <input type="hidden" name="option" value="com_clm" /> <input type="hidden" name="id" value="<?php echo $row->id; ?> " /> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </form> <?php }
function saison(&$row, $lists, $option) { CLMViewSaisons::setSaisonToolbar(); JRequest::setVar('hidemainmenu', 1); JFilterOutput::objectHTMLSafe($row, ENT_QUOTES, 'extrainfo'); ?> <form action="index.php" method="post" name="adminForm"> <div class="col width-50"> <fieldset class="adminform"> <legend><?php echo JText::_('SAISON_DETAILS'); ?> </legend> <table class="admintable"> <tr> <td class="key" width="20%" nowrap="nowrap"> <label for="name"><?php echo JText::_('SAISON') . ' : '; ?> </label> </td> <td> <input class="inputbox" type="text" name="name" id="name" size="50" maxlength="60" value="<?php echo $row->name; ?> " /> </td> </tr> <tr> <td class="key" nowrap="nowrap"><label for="published"><?php echo JText::_('PUBLISHED') . ' : '; ?> </label> </td> <td> <?php echo $lists['published']; ?> </td> </tr> <tr> <td class="key" nowrap="nowrap"><label for="archiv"><?php echo JText::_('SAISON_ARCHIVED') . ' : '; ?> </label> </td> <td> <?php echo $lists['archiv']; ?> </td> </tr> <tr> <td class="key" width="20%" > <label for="datum"><?php echo JText::_('SAISON_DSB_DATE') . ' : '; ?> </label> </td> <td> <?php echo JHTML::_('calendar', $row->datum, 'datum', 'datum', '%Y-%m-%d', array('class' => 'inputbox', 'size' => '32', 'maxlength' => '19')); ?> </td> </tr> </table> </fieldset> </div> <div class="col width-50"> <fieldset class="adminform"> <legend><?php echo JText::_('SAISON_BEMERKUNGEN'); ?> </legend> <table class="adminlist"> <legend><?php echo JText::_('SAISON_OEFFENTLICH'); ?> </legend> <br> <tr> <td width="100%" valign="top"> <textarea class="inputbox" name="bemerkungen" id="bemerkungen" cols="40" rows="5" style="width:90%"><?php echo str_replace('&', '&', $row->bemerkungen); ?> </textarea> </td> </tr> </table> <table class="adminlist"> <tr><legend><?php echo JText::_('SAISON_INTERN'); ?> </legend> <br> <td width="100%" valign="top"> <textarea class="inputbox" name="bem_int" id="bem_int" cols="40" rows="5" style="width:90%"><?php echo str_replace('&', '&', $row->bem_int); ?> </textarea> </td> </tr> </table> </fieldset> </div> <div class="clr"></div> <input type="hidden" name="section" value="saisons" /> <input type="hidden" name="option" value="com_clm" /> <input type="hidden" name="id" value="<?php echo $row->id; ?> " /> <input type="hidden" name="cid" value="<?php echo $row->cid; ?> " /> <input type="hidden" name="client_id" value="<?php echo $row->cid; ?> " /> <input type="hidden" name="task" value="" /> <?php echo JHTML::_('form.token'); ?> </form> <?php }