echo label(array('type' => 'table-start')); echolabel($blockarr['cache'], $theblcokvalue); echo label(array('type' => 'table-end')); echo label(array('type' => 'div-end')); if (!empty($blockarr['batch'])) { echo label(array('type' => 'div-start')); echo label(array('type' => 'title', 'alang' => 'block_batch')); echo label(array('type' => 'table-start')); echolabel($blockarr['batch'], $theblcokvalue); echo label(array('type' => 'table-end')); echo label(array('type' => 'div-end')); } echo label(array('type' => 'div-start')); echo label(array('type' => 'title', 'alang' => 'block_template')); echo label(array('type' => 'table-start')); echolabel($blockarr['template'], $theblcokvalue); echo label(array('type' => 'table-end')); echo label(array('type' => 'div-end')); foreach ($blockarr as $bkey => $bvalue) { if (!isset($bvalue['type'])) { $bvalue['type'] = 'eval'; } if (!isset($bvalue['alang'])) { $bvalue['alang'] = ''; } if (!isset($bvalue['options'])) { $bvalue['options'] = array(); } if (!isset($bvalue['other'])) { $bvalue['other'] = ''; }
echo '<table cellspacing="0" cellpadding="0" id="divblockmodel12" style="display:' . $divblockmodel1display . '" class="maintable">'; echo label(array('type' => 'table-end')); echo label(array('type' => 'div-start')); echo label(array('type' => 'title', 'alang' => 'block_model_2')); echo '<table cellspacing="0" cellpadding="0" id="divblockmodel2" style="display:' . $divblockmodel2display . '" class="maintable">'; echo label(array('type' => 'textarea', 'alang' => 'block_title_sql', 'name' => 'sql', 'cols' => 104, 'rows' => 10, 'width' => '30%', 'value' => $theblcokvalue['sql'])); echo label(array('type' => 'table-end')); echo label(array('type' => 'div-end')); if (!empty($blockarr['batch'])) { unset($blockarr['batch']['messagelen']); unset($blockarr['batch']['messagedot']); unset($blockarr['batch']['showdetail']); echo label(array('type' => 'div-start')); echo label(array('type' => 'title', 'alang' => 'block_batch')); echo label(array('type' => 'table-start')); echolabel($blockarr['batch'], $theblcokvalue); echo label(array('type' => 'table-end')); echo label(array('type' => 'div-end')); } foreach ($blockarr as $bkey => $bvalue) { if (!isset($bvalue['type'])) { $bvalue['type'] = 'eval'; } if (!isset($bvalue['alang'])) { $bvalue['alang'] = ''; } if (!isset($bvalue['options'])) { $bvalue['options'] = array(); } if (!isset($bvalue['other'])) { $bvalue['other'] = '';
</tr> <tr> <td><?php echolabel('CRON_LABEL_PASS'); ?> </td> <td> <input type="password" name="var[ftppass]" id="ftppass" value="<?php echo $this->definition->ftppass; ?> " size="30" /> </td> </tr> <tr> <td><?php echolabel('CRON_LABEL_DIR'); ?> </td> <td> <input type="text" name="var[ftpdir]" id="ftpdir" value="<?php echo $this->definition->ftpdir; ?> " size="30" /> </td> </tr> <tr> <td> </td> <td> <input type="button" name="testftp" value="<?php echo JText::_('CRON_BUTTON_TESTFTP'); ?>