/** * Method to create the html string for control * @return string html */ public function getControlHtml() { $field = $this->field->getField(); //input $html = JHTML::calendar($field->attribute_value, $field->name, 'field' . $field->id, $field->dateFormatJs, $field->attributeArray); return $html; }
function display($tpl = null) { $mainframe =& JFactory::getApplication(); JToolBarHelper::title('RSMembership!', 'rsmembership'); JSubMenuHelper::addEntry(JText::_('RSM_TRANSACTIONS'), 'index.php?option=com_rsmembership&view=transactions'); JSubMenuHelper::addEntry(JText::_('RSM_MEMBERSHIPS'), 'index.php?option=com_rsmembership&view=memberships'); JSubMenuHelper::addEntry(JText::_('RSM_CATEGORIES'), 'index.php?option=com_rsmembership&view=categories'); JSubMenuHelper::addEntry(JText::_('RSM_MEMBERSHIP_EXTRAS'), 'index.php?option=com_rsmembership&view=extras'); JSubMenuHelper::addEntry(JText::_('RSM_MEMBERSHIP_UPGRADES'), 'index.php?option=com_rsmembership&view=upgrades'); JSubMenuHelper::addEntry(JText::_('RSM_COUPONS'), 'index.php?option=com_rsmembership&view=coupons', true); JSubMenuHelper::addEntry(JText::_('RSM_PAYMENT_INTEGRATIONS'), 'index.php?option=com_rsmembership&view=payments'); JSubMenuHelper::addEntry(JText::_('RSM_FILES'), 'index.php?option=com_rsmembership&view=files'); JSubMenuHelper::addEntry(JText::_('RSM_FILE_TERMS'), 'index.php?option=com_rsmembership&view=terms'); JSubMenuHelper::addEntry(JText::_('RSM_USERS'), 'index.php?option=com_rsmembership&view=users'); JSubMenuHelper::addEntry(JText::_('RSM_FIELDS'), 'index.php?option=com_rsmembership&view=fields'); JSubMenuHelper::addEntry(JText::_('RSM_REPORTS'), 'index.php?option=com_rsmembership&view=reports'); JSubMenuHelper::addEntry(JText::_('RSM_CONFIGURATION'), 'index.php?option=com_rsmembership&view=configuration'); JSubMenuHelper::addEntry(JText::_('RSM_UPDATES'), 'index.php?option=com_rsmembership&view=updates'); $task = JRequest::getVar('task', ''); if ($task == 'edit') { JToolBarHelper::title('RSMembership! <small>[' . JText::_('RSM_EDIT_TERM') . ']</small>', 'rsmembership'); JToolBarHelper::apply(); JToolBarHelper::save(); JToolBarHelper::cancel(); $this->assignRef('editor', JFactory::getEditor()); $row = $this->get('coupon'); $this->assignRef('row', $row); $calendars['date_start'] = JHTML::calendar($row->date_start > 0 ? date('Y-m-d', RSMembershipHelper::getCurrentDate($row->date_start)) : '', 'date_start', 'date_start'); $calendars['date_end'] = JHTML::calendar($row->date_end > 0 ? date('Y-m-d', RSMembershipHelper::getCurrentDate($row->date_end)) : '', 'date_end', 'date_end'); $lists['items'] = JHTML::_('select.genericlist', $this->get('memberships'), 'items[]', 'size="5" multiple="multiple"', 'id', 'name', $row->items); $lists['discount_type'] = JHTML::_('select.booleanlist', 'discount_type', 'class="inputbox"', $row->discount_type, JText::_('RSM_FIXED_VALUE'), JText::_('RSM_PERCENT'), 'discount_type'); $lists['published'] = JHTML::_('select.booleanlist', 'published', 'class="inputbox"', $row->published); $this->assignRef('lists', $lists); $this->assignRef('calendars', $calendars); } else { JToolBarHelper::addNewX('edit'); JToolBarHelper::editListX('edit'); JToolBarHelper::spacer(); JToolBarHelper::publishList(); JToolBarHelper::unpublishList(); JToolBarHelper::spacer(); JToolBarHelper::deleteList('RSM_CONFIRM_DELETE'); $filter_state = $mainframe->getUserStateFromRequest('rsmembership.filter_state', 'filter_state'); $mainframe->setUserState('rsmembership.filter_state', $filter_state); $lists['state'] = JHTML::_('grid.state', $filter_state); $this->assignRef('lists', $lists); $this->assignRef('sortColumn', JRequest::getVar('filter_order', 'date_added')); $this->assignRef('sortOrder', JRequest::getVar('filter_order_Dir', 'DESC')); $this->assignRef('coupons', $this->get('coupons')); $this->assignRef('pagination', $this->get('pagination')); $filter_word = JRequest::getString('search', ''); $this->assignRef('filter_word', $filter_word); } parent::display($tpl); }
static function editEndDate(&$auction, $isAdmin = false) { $cfg = BidsHelperTools::getConfig(); $dateFormat = BidsHelperDateTime::dateFormatConvert2JHTML(false); $fType = CustomFieldsFactory::getFieldType('date'); $calendarFormat = $fType->dateFormatConversion($dateFormat); $dateFormat = BidsHelperDateTime::dateFormatConvert2JHTML(false); if (!$cfg->bid_opt_enable_date) { if ($auction->id && $auction->published) { $html = JHTML::date(JFactory::getDate($auction->end_date)->toUnix(), $dateFormat); } else { $tooltipMsg = array(); if (intval($cfg->bid_opt_default_period) > 0) { $tooltipMsg[] = JText::_('COM_BIDS_AUTO_END_DATE_TOOLTIP_1') . ' ' . $cfg->bid_opt_default_period . ' ' . JText::_('COM_BIDS_DAYS'); } if ($cfg->bid_opt_allow_proxy && intval($cfg->bid_opt_proxy_default_period) > 0) { $tooltipMsg[] = JText::_('COM_BIDS_AUTO_END_DATE_TOOLTIP_2') . ' ' . $cfg->bid_opt_proxy_default_period . ' ' . JText::_('COM_BIDS_DAYS'); } if (($cfg->bid_opt_global_enable_bin || $cfg->bid_opt_enable_bin_only) && intval($cfg->bid_opt_bin_default_period) > 0) { $tooltipMsg[] = JText::_('COM_BIDS_AUTO_END_DATE_TOOLTIP_3') . ' ' . $cfg->bid_opt_bin_default_period . ' ' . JText::_('COM_BIDS_DAYS'); } if ($cfg->bid_opt_global_enable_reserve_price && intval($cfg->bid_opt_reserve_price_default_period) > 0) { $tooltipMsg[] = JText::_('COM_BIDS_AUTO_END_DATE_TOOLTIP_4') . ' ' . $cfg->bid_opt_reserve_price_default_period . ' ' . JText::_('COM_BIDS_DAYS'); } $html = count($tooltipMsg) ? JHtml::tooltip(implode('<br />', $tooltipMsg)) : '-'; } } else { if ($auction->published && !$isAdmin) { $html = JHTML::date(JFactory::getDate($auction->end_date)->toUnix(), $dateFormat); } else { $attribs = array('class' => 'inputbox required validate-start-date'); $date = $auction->end_date ? $auction->end_date : ''; $d = $date ? $date : ''; if (preg_match('/^[0-9][0-9]:[0-9][0-9]$/', $date)) { //if it's only end hour $d = ""; } $html = JHTML::calendar($d, 'end_date', 'end_date', $calendarFormat, $attribs); if ($d) { $html = str_replace(' value="' . htmlspecialchars($d, ENT_COMPAT, 'UTF-8') . '"', ' value="' . htmlspecialchars(JHtml::date($d, $cfg->bid_opt_date_format, false), ENT_COMPAT, 'UTF-8') . '"', $html); } if ($cfg->bid_opt_enable_hour) { $endHours = $auction->end_date ? JHTML::date($auction->end_date, 'H') : '00'; $endMinutes = $auction->end_date ? JHTML::date($auction->end_date, 'i') : '00'; $html .= ' <input name="end_hour" size="1" value="' . $endHours . '" maxlength="2" class="inputbox required" onblur="bidCheckHours(this)" /> : <input name="end_minutes" size="1" value="' . $endMinutes . '" maxlength="2" class="inputbox required" onblur="bidCheckMinutes(this)" />'; } $html .= ' ' . JHtml::image(JUri::root() . 'components/com_bids/images/requiredfield.gif', 'Required'); } } return $html; }
function render($id, $value = null, $label = null, $required = null, $params = null) { $req = $required == null ? '' : $required == 0 ? '' : 'required'; $req == 'required' ? $reqLabel = '*' : ($reqLabel = ''); $attrib = array('class' => $req, 'onBlur' => 'validate_attr(attr_' . $id . ')'); $return = '<div class="render"> <td class="key"> <label>' . $label . ' ' . $reqLabel . '</label> </td> <td colspan="2">' . JHTML::calendar($value, 'attr_' . $id, 'attr_' . $id, '%Y-%m-%d', $attrib) . '<div id="valid_' . $id . '" style="float: right; color: red"></div> </td> </div>'; return $return; }
/** * returns the html code for the form element * * @param array $attributes * @return string */ function render($attributes = array()) { if ($this->required) { if (isset($attributes['class'])) { $attributes['class'] .= ' required'; } else { $attributes['class'] = 'required'; } } if (!is_null($this->value)) { $selected = $this->value; } else { $selected = $this->default_value; } return JHTML::calendar($selected, 'custom' . $this->id, 'custom' . $this->id, '%Y-%m-%d', $this->attributesToString($attributes)); }
/** * Method to create the html string for control * @return string html */ public function getControlHtml() { $field = $this->field->getField(); $html = ''; //date control is displayed in a div without usable css class (Joomla! core) //we inclose the control in a div class="asterix-ancor" if (isset($field->attribute_required) && $field->attribute_required == 'required' && (isset($field->show_label) && $field->show_label == 1)) { $html .= '<div class="asterix-ancor">'; } //input $html .= JHTML::calendar($field->attribute_value, $field->name, 'field' . $field->id, $field->dateFormatJs, $field->attributeArray); //close additional div if (isset($this->field->attribute_required) && $this->field->attribute_required == 'required' && (isset($this->field->show_label) && $this->field->show_label == 1)) { $html .= '</div>'; } return $html; }
function display($tpl = null) { JToolBarHelper::title('RSMembership!', 'rsmembership'); JSubMenuHelper::addEntry(JText::_('RSM_TRANSACTIONS'), 'index.php?option=com_rsmembership&view=transactions', true); JSubMenuHelper::addEntry(JText::_('RSM_MEMBERSHIPS'), 'index.php?option=com_rsmembership&view=memberships'); JSubMenuHelper::addEntry(JText::_('RSM_CATEGORIES'), 'index.php?option=com_rsmembership&view=categories'); JSubMenuHelper::addEntry(JText::_('RSM_MEMBERSHIP_EXTRAS'), 'index.php?option=com_rsmembership&view=extras'); JSubMenuHelper::addEntry(JText::_('RSM_MEMBERSHIP_UPGRADES'), 'index.php?option=com_rsmembership&view=upgrades'); JSubMenuHelper::addEntry(JText::_('RSM_COUPONS'), 'index.php?option=com_rsmembership&view=coupons'); JSubMenuHelper::addEntry(JText::_('RSM_PAYMENT_INTEGRATIONS'), 'index.php?option=com_rsmembership&view=payments'); JSubMenuHelper::addEntry(JText::_('RSM_FILES'), 'index.php?option=com_rsmembership&view=files'); JSubMenuHelper::addEntry(JText::_('RSM_FILE_TERMS'), 'index.php?option=com_rsmembership&view=terms'); JSubMenuHelper::addEntry(JText::_('RSM_USERS'), 'index.php?option=com_rsmembership&view=users'); JSubMenuHelper::addEntry(JText::_('RSM_FIELDS'), 'index.php?option=com_rsmembership&view=fields'); JSubMenuHelper::addEntry(JText::_('RSM_REPORTS'), 'index.php?option=com_rsmembership&view=reports'); JSubMenuHelper::addEntry(JText::_('RSM_CONFIGURATION'), 'index.php?option=com_rsmembership&view=configuration'); JSubMenuHelper::addEntry(JText::_('RSM_UPDATES'), 'index.php?option=com_rsmembership&view=updates'); JToolBarHelper::custom('approve', 'approve', '', 'RSM_APPROVE'); JToolBarHelper::custom('deny', 'deny', '', 'RSM_DENY'); JToolBarHelper::spacer(); JToolBarHelper::deleteList('RSM_CONFIRM_DELETE'); switch ($this->getlayout()) { case 'default': $this->assignRef('sortColumn', $this->get('sortColumn')); $this->assignRef('sortOrder', $this->get('sortOrder')); $this->assignRef('transactions', $this->get('transactions')); $this->assignRef('cache', $this->get('cache')); $this->assignRef('pagination', $this->get('pagination')); $this->assignRef('filter_word', $this->get('filterWord')); $lists['types'] = JHTML::_('select.genericlist', $this->get('transactionTypes'), 'filter_type[]', 'multiple="multiple" size="5"', 'key', 'value', $this->get('filterType')); $lists['gateway'] = JHTML::_('select.genericlist', $this->get('gateways'), 'filter_gateway[]', 'multiple="multiple" size="5"', 'key', 'value', $this->get('filterGateway')); $lists['status'] = JHTML::_('select.genericlist', $this->get('statuses'), 'filter_status[]', 'multiple="multiple" size="5"', 'key', 'value', $this->get('filterStatus')); $this->assignRef('lists', $lists); $calendars['from'] = JHTML::calendar($this->get('dateFrom'), 'date_from', 'date_from'); $calendars['to'] = JHTML::calendar($this->get('dateTo'), 'date_to', 'date_to'); $this->assignRef('calendars', $calendars); break; case 'log': $this->assignRef('log', $this->get('Log')); break; } parent::display($tpl); }
function display() { $model = $this->getModel('auctions'); $lists = array(); $lists['users'] = JHTML::_('searchform.selectUsers',$model->getState('filters.users') ); $lists['active_users'] = JHTML::_('searchform.selectActiveUsers', $model->getState('filters.username') ); $lists['cats'] = JHTML::_('searchform.selectCategory', $model->getState('filters.cat') ); $lists['tags'] = JHTML::_('searchform.inputTags', $model->getState('filters.tagnames') ); $lists['after_calendar'] = JHTML::calendar($model->getState('filters.afterd'),'afterd','afterd','%Y-%m-%d'); $lists['before_calendar'] = JHTML::calendar($model->getState('filters.befored'),'befored','befored','%Y-%m-%d'); $lists['startprice'] = JHTML::_('searchform.inputPrice', 'startprice', $model->getState('filters.startprice') ); $lists['endprice'] = JHTML::_('searchform.inputPrice', 'endprice', $model->getState('filters.endprice') ); $lists['currency'] = JHTML::_('searchform.selectCurrency', 'currency', $model->getState('filters.currency')); $lists['inputReset'] = JHTML::_('searchform.inputReset'); //filters for integration fields $profile = BidsHelperTools::getUserProfileObject(); $integrationArray = $profile->getIntegrationArray(); foreach($integrationArray as $alias=>$fieldName) { if(''!=$fieldName) { $lists[$alias] = JHTML::_('searchform._selectProfileIntegrationFilter', $fieldName, $model->getState('filters.user_profile%'.$fieldName) ); } } JHTML::_('behavior.calendar'); JHTML::script(JURI::root() . 'components/com_bids/js/auctions.js'); $fields = CustomFieldsFactory::getSearchableFieldsList('auctions'); $fields_html=JHtml::_('customfields.displaysearchhtml',$fields,'divs'); $this->assign('lists', $lists); $this->assign("custom_fields_html", $fields_html ); parent::display('t_search.tpl'); }
<span class="add-on"><?php echo JText::_('COM_RAIDPLANNER_MINUTES'); ?> </span> </div> </div> </div> <div class="control-group"> <label class="control-label" for="invite_time_0"><?php echo JText::_('COM_RAIDPLANNER_INVITE_TIME'); ?> : </label> <div class="controls"> <?php echo JHTML::calendar($invite_time['date'], 'invite_time[0]', 'invite_time_0', $dateFormat, array('class' => 'input-small')); ?> <input type="text" name="invite_time[1]" id="invite_time_1" value="<?php echo $invite_time['time']; ?> " size="6" class="input-mini" /> </div> </div> <div class="control-group"> <label class="control-label" for="freeze_time"><?php echo JText::_('COM_RAIDPLANNER_FREEZE_TIME'); ?> : </label> <div class="controls"> <div class="input-append"> <input type="text" name="freeze_time" id="freeze_time" value="<?php
function display($tpl = null) { $mainframe =& JFactory::getApplication(); JToolBarHelper::title('RSForm! Pro', 'rsform'); if (RSFormProHelper::isJ16()) { $lang =& JFactory::getLanguage(); $lang->load('com_rsform.sys', JPATH_ADMINISTRATOR); JSubMenuHelper::addEntry(JText::_('COM_RSFORM_MANAGE_FORMS'), 'index.php?option=com_rsform&task=forms.manage'); JSubMenuHelper::addEntry(JText::_('COM_RSFORM_MANAGE_SUBMISSIONS'), 'index.php?option=com_rsform&task=submissions.manage', true); JSubMenuHelper::addEntry(JText::_('COM_RSFORM_CONFIGURATION'), 'index.php?option=com_rsform&task=configuration.edit'); JSubMenuHelper::addEntry(JText::_('COM_RSFORM_BACKUP_RESTORE'), 'index.php?option=com_rsform&task=backup.restore'); JSubMenuHelper::addEntry(JText::_('COM_RSFORM_UPDATES'), 'index.php?option=com_rsform&task=updates.manage'); JSubMenuHelper::addEntry(JText::_('COM_RSFORM_PLUGINS'), 'index.php?option=com_rsform&task=goto.plugins'); } $layout = $this->getLayout(); if ($layout == 'export') { JToolBarHelper::custom('submissions.export.task', 'archive', 'archive', JText::_('RSFP_EXPORT'), false); JToolBarHelper::spacer(); JToolBarHelper::cancel('submissions.manage'); $this->assignRef('formId', $this->get('formId')); $this->assignRef('headers', $this->get('headers')); $this->assignRef('staticHeaders', $this->get('staticHeaders')); $previewArray = array(); $i = 0; foreach ($this->staticHeaders as $header) { $i++; $previewArray[] = 'Value ' . $i; } foreach ($this->headers as $header) { $i++; $previewArray[] = 'Value ' . $i; } $this->assign('previewArray', $previewArray); $this->assignRef('formTitle', $this->get('formTitle')); $this->assignRef('exportSelected', $this->get('exportSelected')); $this->assign('exportSelectedCount', count($this->exportSelected)); $this->assign('exportAll', $this->exportSelectedCount == 0); $this->assign('exportType', $this->get('exportType')); $this->assign('exportFile', $this->get('exportFile')); $formTitle = $this->get('formTitle'); JToolBarHelper::title('RSForm! Pro <small>[' . JText::sprintf('RSFP_EXPORTING', $this->exportType, $formTitle) . ']</small>', 'rsform'); $tabs =& JPane::getInstance('Tabs', array(), true); $this->assignRef('tabs', $tabs); } elseif (strtolower($layout) == 'exportprocess') { $this->assign('limit', 500); $this->assign('total', $this->get('exportTotal')); $this->assign('file', JRequest::getCmd('ExportFile')); $this->assign('exportType', JRequest::getCmd('exportType')); $formTitle = $this->get('formTitle'); JToolBarHelper::title('RSForm! Pro <small>[' . JText::sprintf('RSFP_EXPORTING', $this->exportType, $formTitle) . ']</small>', 'rsform'); } elseif ($layout == 'edit') { JToolBarHelper::custom('submission.export.pdf', 'archive', 'archive', JText::_('RSFP_EXPORT_PDF'), false); JToolBarHelper::spacer(); JToolBarHelper::apply('submissions.apply'); JToolBarHelper::save('submissions.save'); JToolBarHelper::spacer(); JToolBarHelper::cancel('submissions.manage'); $this->assignRef('formId', $this->get('submissionFormId')); $this->assignRef('submissionId', $this->get('submissionId')); $this->assignRef('submission', $this->get('submission')); $this->assignRef('staticHeaders', $this->get('staticHeaders')); $this->assignRef('staticFields', $this->get('staticFields')); $this->assignRef('fields', $this->get('editFields')); } else { JToolBarHelper::custom('submissions.export.csv', 'archive', 'archive', JText::_('RSFP_EXPORT_CSV'), false); JToolBarHelper::custom('submissions.export.excel', 'archive', 'archive', JText::_('RSFP_EXPORT_EXCEL'), false); JToolBarHelper::custom('submissions.export.xml', 'archive', 'archive', JText::_('RSFP_EXPORT_XML'), false); JToolBarHelper::spacer(); JToolBarHelper::custom('submissions.cancelform', 'back', 'back', JText::_('RSFP_BACK_TO_FORM'), false); JToolBarHelper::spacer(); JToolBarHelper::custom('submissions.resend', 'send', 'send', JText::_('RSFP_RESEND_EMAILS'), false); JToolBarHelper::editListX('submissions.edit', RSFormProHelper::isJ16() ? JText::_('JTOOLBAR_EDIT') : JText::_('Edit')); JToolBarHelper::deleteList(JText::_('VALIDDELETEITEMS'), 'submissions.delete', RSFormProHelper::isJ16() ? JText::_('JTOOLBAR_DELETE') : JText::_('DELETE')); JToolBarHelper::spacer(); JToolBarHelper::cancel('submissions.cancel', RSFormProHelper::isJ16() ? JText::_('JTOOLBAR_CLOSE') : JText::_('Close')); $forms = $this->get('forms'); $formId = $this->get('formId'); $formTitle = $this->get('formTitle'); JToolBarHelper::title('RSForm! Pro <small>[' . $formTitle . ']</small>', 'rsform'); $this->assignRef('headers', $this->get('headers')); $this->assignRef('staticHeaders', $this->get('staticHeaders')); $this->assignRef('submissions', $this->get('submissions')); $this->assignRef('pagination', $this->get('pagination')); $this->assignRef('sortColumn', $this->get('sortColumn')); $this->assignRef('sortOrder', $this->get('sortOrder')); $this->assign('filter', $this->get('filter')); $this->assign('formId', $formId); $calendars['from'] = JHTML::calendar($this->get('dateFrom'), 'dateFrom', 'dateFrom'); $calendars['to'] = JHTML::calendar($this->get('dateTo'), 'dateTo', 'dateTo'); $this->assignRef('calendars', $calendars); $lists['Languages'] = JHTML::_('select.genericlist', $this->get('languages'), 'Language', '', 'value', 'text', $this->get('lang')); $lists['forms'] = JHTML::_('select.genericlist', $forms, 'formId', 'onchange="submissionChangeForm(this.value)"', 'value', 'text', $formId); $this->assignRef('lists', $lists); } parent::display($tpl); }
function display($tpl = null) { $mainframe = JFactory::getApplication(); JToolBarHelper::title('RSForm! Pro', 'rsform'); // adding the toolbar on 2.5 if (!RSFormProHelper::isJ('3.0')) { $this->addToolbar(); } $this->tooltipClass = RSFormProHelper::getTooltipClass(); $layout = strtolower($this->getLayout()); if ($layout == 'export') { JToolBarHelper::custom('submissions.export.task', 'archive', 'archive', JText::_('RSFP_EXPORT'), false); JToolBarHelper::spacer(); JToolBarHelper::cancel('submissions.manage'); $this->formId = $this->get('formId'); $this->headers = $this->get('headers'); $this->staticHeaders = $this->get('staticHeaders'); $previewArray = array(); $i = 0; foreach ($this->staticHeaders as $header) { $i++; $previewArray[] = 'Value ' . $i; } foreach ($this->headers as $header) { $i++; $previewArray[] = 'Value ' . $i; } $this->previewArray = $previewArray; $this->formTitle = $this->get('formTitle'); $this->exportSelected = $this->get('exportSelected'); $this->exportSelectedCount = count($this->exportSelected); $this->exportAll = $this->exportSelectedCount == 0; $this->exportType = $this->get('exportType'); $this->exportFile = $this->get('exportFile'); $formTitle = $this->get('formTitle'); JToolBarHelper::title('RSForm! Pro <small>[' . JText::sprintf('RSFP_EXPORTING', $this->exportType, $formTitle) . ']</small>', 'rsform'); // tabs $this->tabs = $this->get('RSTabs'); } elseif ($layout == 'exportprocess') { $this->limit = 500; $this->total = $this->get('exportTotal'); $this->file = JRequest::getCmd('ExportFile'); $this->exportType = JRequest::getCmd('exportType'); $this->formId = $this->get('FormId'); $formTitle = $this->get('formTitle'); JToolBarHelper::title('RSForm! Pro <small>[' . JText::sprintf('RSFP_EXPORTING', $this->exportType, $formTitle) . ']</small>', 'rsform'); } elseif ($layout == 'edit') { JToolBarHelper::custom('submission.export.pdf', 'archive', 'archive', JText::_('RSFP_EXPORT_PDF'), false); JToolBarHelper::spacer(); JToolBarHelper::apply('submissions.apply'); JToolBarHelper::save('submissions.save'); JToolBarHelper::spacer(); JToolBarHelper::cancel('submissions.manage'); $this->formId = $this->get('submissionFormId'); $this->submissionId = $this->get('submissionId'); $this->submission = $this->get('submission'); $this->staticHeaders = $this->get('staticHeaders'); $this->staticFields = $this->get('staticFields'); $this->fields = $this->get('editFields'); } else { JToolBarHelper::custom('submissions.export.csv', 'archive', 'archive', JText::_('RSFP_EXPORT_CSV'), false); JToolBarHelper::custom('submissions.export.ods', 'archive', 'archive', JText::_('RSFP_EXPORT_ODS'), false); JToolBarHelper::custom('submissions.export.excelxml', 'archive', 'archive', JText::_('RSFP_EXPORT_EXCEL_XML'), false); JToolBarHelper::custom('submissions.export.excel', 'archive', 'archive', JText::_('RSFP_EXPORT_EXCEL'), false); JToolBarHelper::custom('submissions.export.xml', 'archive', 'archive', JText::_('RSFP_EXPORT_XML'), false); JToolBarHelper::spacer(); $backIcon = RSFormProHelper::isJ('3.0') ? 'previous' : 'back'; $sendIcon = RSFormProHelper::isJ('3.0') ? 'mail' : 'send'; JToolBarHelper::custom('submissions.cancelform', $backIcon, $backIcon, JText::_('RSFP_BACK_TO_FORM'), false); JToolBarHelper::spacer(); JToolBarHelper::custom('submissions.resend', $sendIcon, $sendIcon, JText::_('RSFP_RESEND_EMAILS'), false); JToolbarHelper::editList('submissions.edit', JText::_('JTOOLBAR_EDIT')); JToolBarHelper::deleteList(JText::_('RSFP_ARE_YOU_SURE_DELETE'), 'submissions.delete', JText::_('JTOOLBAR_DELETE')); JToolBarHelper::spacer(); JToolBarHelper::cancel('submissions.cancel', JText::_('JTOOLBAR_CLOSE')); $forms = $this->get('forms'); $formId = $this->get('formId'); $formTitle = $this->get('formTitle'); JToolBarHelper::title('RSForm! Pro <small>[' . $formTitle . ']</small>', 'rsform'); $this->headers = $this->get('headers'); $this->uploads = $this->get('uploadFields'); $this->staticHeaders = $this->get('staticHeaders'); $this->submissions = $this->get('submissions'); $this->pagination = $this->get('pagination'); $this->sortColumn = $this->get('sortColumn'); $this->sortOrder = $this->get('sortOrder'); $this->filter = $this->get('filter'); $this->formId = $formId; $calendars['from'] = JHTML::calendar($this->get('dateFrom'), 'dateFrom', 'dateFrom'); $calendars['to'] = JHTML::calendar($this->get('dateTo'), 'dateTo', 'dateTo'); $this->calendars = $calendars; $lists['Languages'] = JHTML::_('select.genericlist', $this->get('languages'), 'Language', '', 'value', 'text', $this->get('lang')); $lists['forms'] = JHTML::_('select.genericlist', $forms, 'formId', 'onchange="submissionChangeForm(this.value)"', 'value', 'text', $formId); $this->lists = $lists; } parent::display($tpl); }
} ?> <div class="s5_regfloatleft s5_reglabel"> <label for="jform_profile_dob" id="jform_profile_dob-lbl" class="<?php echo $class; ?> " title="<?php echo JTEXT::_('PLG_USER_PROFILE_FIELD_DOB_LABEL'); ?> "><?php echo $lable; ?> </label> </div> <div class="s5_regfloatleft s5_reginput"> <?php echo JHTML::calendar('', 'jform[profile][dob]', 'jform_profile_dob1', '%Y-%m-%d', ''); ?> </div> <div style="clear:both;"></div> <?php } ?> <?php if ($pluginParams->get('register-require_tos') && $pluginParams->get('register_tos_article') > 0) { ?> <div class="s5_regfloatleft s5_regagreement"> <?php $db = JFactory::getDBO(); $q = 'SELECT introtext FROM #__content WHERE id ="' . $pluginParams->get('register_tos_article') . '"'; $db->setQuery($q); $introtext = $db->loadResult();
<td colspan="4" nowrap="nowrap" > <?php $jhotelreservation_datas = isset($jhotelreservation_datas) ? $jhotelreservation_datas : $startDate; echo JHTML::calendar($jhotelreservation_datas, 'jhotelreservation_datas', 'jhotelreservation_datas3', $appSettings->calendarFormat, array('class' => 'date_hotelreservation keyObserver inner-shadow', 'onchange' => "\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcheckStartDate(this.value,defaultStartDate,defaultEndDate);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetDepartureDate('jhotelreservation_datae3',this.value);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t")); ?> </td> </tr> <tr> <td class="td_title_hotelreservation" ><?php echo JText::_('LNG_DEPARTURE', true); ?> </td> <td colspan=4 nowrap> <?php $jhotelreservation_datae = isset($jhotelreservation_datae) ? $jhotelreservation_datae : $endDate; echo JHTML::calendar($jhotelreservation_datae, 'jhotelreservation_datae', 'jhotelreservation_datae3', $appSettings->calendarFormat, array('class' => 'date_hotelreservation keyObserver inner-shadow', 'onchange' => 'checkEndDate(this.value,defaultStartDate,defaultEndDate);')); ?> </td> </tr> <tr> <td class="td_title_hotelreservation"><?php echo JText::_('LNG_ROOMS', true); ?> </td> <td colspan=4 > <select id='jhotelreservation_rooms3' name='jhotelreservation_rooms' class = 'select_hotelreservation keyObserver' disabled="disabled" > <?php $i_min = 1; $i_max = 5;
$date1 = JoomleagueHelper::convertDate($row->round_date_first, 1); $append = ''; if ($date1 == '00-00-0000' || $date1 == '') { $append = ' style="background-color:#FFCCCC;" '; } echo JHTML::calendar($date1, 'round_date_first' . $row->id, 'round_date_first' . $row->id, '%d-%m-%Y', 'size="10" ' . $append . 'tabindex="3" ' . 'class="center" ' . 'onchange="document.getElementById(\'cb' . $i . '\').checked=true"'); ?> </td> <td class="center"> - </td> <td class="center"><?php $date2 = JoomleagueHelper::convertDate($row->round_date_last, 1); $append = ''; if ($date2 == '00-00-0000' || $date2 == '') { $append = ' style="background-color:#FFCCCC;"'; } echo JHTML::calendar($date2, 'round_date_last' . $row->id, 'round_date_last' . $row->id, '%d-%m-%Y', 'size="10" ' . $append . 'tabindex="3" ' . 'class="center" ' . 'onchange="document.getElementById(\'cb' . $i . '\').checked=true"'); ?> </td> <td class="center" class="nowrap"><?php $link2Title = JText::_('COM_JOOMLEAGUE_ADMIN_ROUNDS_EDIT_MATCHES_LINK'); $link2Params = "title='{$link2Title}'"; echo JHTML::link($link2, $link2Title, $link2Params); ?> </td> <td class="center" class="nowrap"><?php if ($row->countUnPublished == 0 && $row->countMatches > 0) { $imageTitle = JText::sprintf('COM_JOOMLEAGUE_ADMIN_ROUNDS_ALL_PUBLISHED', $row->countMatches); $imageFile = 'administrator/components/com_joomleague/assets/images/ok.png'; $imageParams = "title='{$imageTitle}'"; echo JHTML::image($imageFile, $imageTitle, $imageParams); } else {
echo $lsMessage; ?> </p> <?php } ?> <form id="contactForm" method="post" class="form-validate" onSubmit="return my1901contactValidate(this);" action="<?php echo $_SERVER['REQUEST_URI']; ?> "> <div class="cformlabel">Name</div><div class="cforminput"><input type="text" name="name" value="" onFocus="clear1901contactText(this)" class="inputbox" /></div> <div class="cformlabel">Email</div><div class="cforminput"><input type="text" name="email" value="" onFocus="clear1901contactText(this)" class="inputbox required validate-email" /></div> <div class="cformlabel">Phone</div><div class="cforminput"><input type="text" name="Phone" value="" onFocus="clear1901contactText(this)" class="inputbox" /></div> <div class="cformlabel">Nr. of Beds</div><div class="cforminput" style="width:50px;"><input type="text" name="bed" value="" onFocus="clear1901contactText(this)" class="inputbox" style="width:50px;"/></div><div class="cformlabel" style="width:80px;margin-left:15px;">Nr. of Guests</div><div class="cforminput" style="width:50px;"><input type="text" name="guest" value="" onFocus="clear1901contactText(this)" class="inputbox" style="width:50px;"/></div> <div class="cformlabel">Check in</div><div class="cforminput"><?php echo JHTML::calendar('', 'checkin', 'checkin', "%d-%m-%Y"); ?> </div> <div class="cformlabel">Check out</div><div class="cforminput"><?php echo JHTML::calendar('', 'checkout', 'checkout', "%d-%m-%Y"); ?> </div> <div class="clear"></div> <input type="submit" value="<?php echo $lsSubmitText; ?> " class="button" /> <input type="hidden" name="1901contactAction" value="send" /> <input type="hidden" name="check" value="post" /> </form> </div>
function calendar($value, $name, $id, $format) { JHTML::calendar($value, $name, $id, $format); }
" /> </td> </tr> <tr> <td class="key hasTip" title="<?php echo JText::_('COM_REDEVENT_EDIT_XREF_REGISTRATION_END_TIP'); ?> "> <label for="registrationend"><?php echo JText::_('COM_REDEVENT_EDIT_XREF_REGISTRATION_END') . ': '; ?> </label> </td> <td> <?php echo JHTML::calendar($this->xref->registrationend, 'registrationend', 'registrationend', '%Y-%m-%d %H:%M'); ?> </td> </tr> <tr> <td class="key hasTip" title="<?php echo JText::_('COM_REDEVENT_XREF_EXTERNAL_REGISTRATION_TIP'); ?> "> <label for="external_registration_url"><?php echo JText::_('COM_REDEVENT_XREF_EXTERNAL_REGISTRATION') . ': '; ?> </label> </td> <td> <input type="text" size="50" maxlength="255" name="external_registration_url" id="external_registration_url" value="<?php
public function getFilterBar() { $db = JFactory::getDBO(); $query = $db->getQuery(true); require_once JPATH_COMPONENT . '/helpers/adapters/filterbar.php'; // Transaction Types filter $options['filter_type'] = $this->getState($this->context . '.filter.filter_type'); $options['transaction_types'] = array(JHtml::_('select.option', '', JText::_('COM_RSMEMBERSHIP_TRANSACTION_ALL_TYPES')), JHtml::_('select.option', 'new', JText::_('COM_RSMEMBERSHIP_TRANSACTION_NEW')), JHtml::_('select.option', 'renew', JText::_('COM_RSMEMBERSHIP_TRANSACTION_RENEW')), JHtml::_('select.option', 'upgrade', JText::_('COM_RSMEMBERSHIP_TRANSACTION_UPGRADE')), JHtml::_('select.option', 'addextra', JText::_('COM_RSMEMBERSHIP_TRANSACTION_ADDEXTRA'))); // Gateway filter $options['filter_gateway'] = $this->getState($this->context . '.filter.filter_gateway'); $options['gateways'] = array(JHtml::_('select.option', '', JText::_('COM_RSMEMBERSHIP_TRANSACTION_ALL_GATEWAYS')), JHtml::_('select.option', 'No Gateway', JText::_('COM_RSMEMBERSHIP_NO_GATEWAY'))); $gateways = RSMembership::getPlugins(); foreach ($gateways as $plugin => $name) { if ($name == 'Credit Card') { $name = 'Authorize.Net'; } $options['gateways'][] = JHtml::_('select.option', $name, $name); } // Status filter $options['filter_status'] = $this->getState($this->context . '.filter.filter_status'); $statuses = array('pending', 'completed', 'denied'); $options['statuses'] = array(JHtml::_('select.option', '', JText::_('COM_RSMEMBERSHIP_TRANSACTION_ALL_STATUSES'))); foreach ($statuses as $status) { $options['statuses'][] = JHtml::_('select.option', $status, JText::_('COM_RSMEMBERSHIP_TRANSACTION_STATUS_' . $status)); } // Date from $options['date_from'] = $this->getState($this->context . '.filter.date_from'); // Date to $options['date_to'] = $this->getState($this->context . '.filter.date_to'); // search filter $options['search'] = array('label' => JText::_('JSEARCH_FILTER'), 'value' => $this->getState($this->context . '.filter.search')); $options['limitBox'] = $this->getPagination()->getLimitBox(); // use only the column header ordering $options['orderDir'] = true; $options['listOrder'] = $this->getState('list.ordering', 't.date'); $options['listDirn'] = $this->getState('list.direction', 'ASC'); $options['sortFields'] = array(JHtml::_('select.option', 't.id', JText::_('COM_RSMEMBERSHIP_ID')), JHtml::_('select.option', 't.gateway', JText::_('COM_RSMEMBERSHIP_GATEWAY')), JHtml::_('select.option', 't.status', JText::_('COM_RSMEMBERSHIP_STATUS')), JHtml::_('select.option', 't.coupon', JText::_('COM_RSMEMBERSHIP_MEMBERSHIP_COUPON')), JHtml::_('select.option', 't.price', JText::_('COM_RSMEMBERSHIP_PRICE')), JHtml::_('select.option', 't.ip', JText::_('COM_RSMEMBERSHIP_IP')), JHtml::_('select.option', 't.date', JText::_('COM_RSMEMBERSHIP_DATE')), JHtml::_('select.option', 't.type', JText::_('COM_RSMEMBERSHIP_TYPE')), JHtml::_('select.option', 'email', JText::_('COM_RSMEMBERSHIP_EMAIL'))); // Joomla 2.5 $options['rightItems'] = array(array('input' => '<button class="btn btn-warning" onclick="document.id(\'date_to\').value=\'\';document.id(\'date_from\').value=\'\';this.form.submit();" type="button">' . JText::_('JSEARCH_RESET') . '</button>'), array('input' => '<button class="btn btn-info" type="submit">' . JText::_('COM_RSMEMBERSHIP_FILTER') . '</button>'), array('input' => '<label class="fleft">' . JText::_('COM_RSMEMBERSHIP_TO') . '</label>' . JHTML::calendar($options['date_to'], 'date_to', 'date_to')), array('input' => '<label class="fleft">' . JText::_('COM_RSMEMBERSHIP_FROM') . '</label> ' . JHTML::calendar($options['date_from'], 'date_from', 'date_from')), array('input' => '<select name="filter_status" class="inputbox" onchange="this.form.submit()">' . "\n" . JHtml::_('select.options', $options['statuses'], 'value', 'text', $options['filter_status'], false) . "\n" . '</select>'), array('input' => '<select name="filter_gateway" class="inputbox" onchange="this.form.submit()">' . "\n" . JHtml::_('select.options', $options['gateways'], 'value', 'text', $options['filter_gateway'], false) . "\n" . '</select>'), array('input' => '<select name="filter_type" class="inputbox" onchange="this.form.submit()">' . "\n" . JHtml::_('select.options', $options['transaction_types'], 'value', 'text', $options['filter_type'], false) . "\n" . '</select>')); $bar = new RSFilterBar($options); return $bar; }
/** * Display the form to add or edit a cronjob * @param object cronjob * @param object parameters from attributes * @param array lists * @param object pluginmanager */ function edit($row, $params, $lists, &$pluginManager) { JRequest::setVar('hidemainmenu', 1); FabrikHelperHTML::script('namespace.js', 'administrator/components/com_fabrik/views/', true); FabrikHelperHTML::script('admincron.js', 'administrator/components/com_fabrik/views/', true); FabrikHelperHTML::tips(); $document =& JFactory::getDocument(); FabrikHelperHTML::addScriptDeclaration("\n\t\t\twindow.addEvent('domready', function(e) {\n\t\t\t\tnew adminCron({'sel':'" . $row->plugin . "'});\n\t\t\t});\n\n\t\t\tfunction submitbutton(pressbutton) {\n\t\t\t\tvar form = document.adminForm;\n\t\t\t\tif (pressbutton == 'cancel') {\n\t\t\t\t\tsubmitform( pressbutton);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t/* do field validation */\n\t\t\t\tif (form.label.value == '') {\n\t\t\t\t\talert( '" . JText::_('PLEASE ENTER A LABEL', true) . "');\n\t\t\t\t} else {\n\t\t\t\t\tsubmitform( pressbutton);\n\t\t\t\t}\n\t\t\t}\n\t\t\t"); FabrikViewCron::setCronToolbar(); FabrikHelperHTML::loadCalendar(); FabrikHelperHTML::cleanMootools(); ?> <form action="index.php" method="post" name="adminForm"> <div class="col100"> <fieldset class="adminform"> <legend><?php echo JText::_('DETAILS'); ?> </legend> <table class="admintable"> <tr> <td class="key"><label for="label"><?php echo JText::_('LABEL'); ?> </label></td> <td><input class="inputbox" type="text" id="label" name="label" size="75" value="<?php echo $row->label; ?> " /></td> </tr> <tr> <td class="key"><label for="frequency"><?php echo JText::_('EVERY'); ?> </label></td> <td><input class="inputbox" type="text" id="frequency" name="frequency" size="4" value="<?php echo $row->frequency; ?> " /></td> </tr> <tr> <td class="key"><label for="unit"><?php echo JText::_('UNIT'); ?> </label></td> <td><?php echo $lists['unit']; ?> </td> </tr> <tr> <td class="key"><label for="lastrun"><?php echo JText::_('STARTING FROM'); ?> </label></td> <td><?php echo JHTML::calendar($row->lastrun, 'lastrun', 'lastrun', '%Y-%m-%d %H:%M:%S', array('size' => 23)); ?> </td> </tr> <tr> <td class="key"><label for="state"><?php echo JText::_('PUBLISHED'); ?> </label></td> <td> <input type="checkbox" id="state" name="state" value="1" <?php echo $row->state ? 'checked="checked"' : ''; ?> /> </td> </tr> <tr> <td colspan="2"> <?php echo stripslashes($params->render()); ?> </td> </tr> <tr> <td class="key"> <label for=""><?php echo JText::_('PLUGIN'); ?> </label> </td> <td> <?php echo $lists['plugins']; ?> </td> </tr> <?php foreach ($pluginManager->_plugIns['cron'] as $oPlugin) { $oPlugin->setId($row->id); ?> <tr> <td colspan="2"> <?php $oPlugin->renderAdminSettings(); ?> </td> </tr> <?php } ?> </table> </fieldset> <input type="hidden" name="option" value="com_fabrik" /> <input type="hidden" name="c" value="cron" /> <input type="hidden" name="task" /> <input type="hidden" name="id" value="<?php echo $row->id; ?> " /> </div> <?php echo JHTML::_('form.token'); echo JHTML::_('behavior.keepalive'); ?> </form> <?php }
AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.dateAxisRenderer.min.js?' . AKEEBASUBS_VERSIONHASH); AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.canvasAxisTickRenderer.min.js?' . AKEEBASUBS_VERSIONHASH); AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.canvasTextRenderer.min.js?' . AKEEBASUBS_VERSIONHASH); AkeebaStrapper::addJSfile('media://com_akeebasubs/js/jqplot.barRenderer.min.js?' . AKEEBASUBS_VERSIONHASH); $exp_start = date('Y-m-d', strtotime('-2 months', strtotime('last monday'))); ?> <div style="padding-bottom: 80px;padding-left: 15px"> <h3><?php echo JText::_('COM_AKEEBASUBS_REPORTS_EXPIRATIONS_WEEK_CHART'); ?> </h3> <?php echo JText::_('COM_AKEEBASUBS_DASHBOARD_FROMDATE'); ?> <?php echo JHTML::calendar($exp_start, 'exp_start', 'exp_start'); ?> <button class="btn btn-mini" id="exp_graph_reload" onclick="return false"> <?php echo JText::_('COM_AKEEBASUBS_DASHBOARD_RELOADGRAPHS'); ?> </button> <em><?php echo JText::_('COM_AKEEBASUBS_EXP_START_HELP'); ?> </em> <div id="akexpirationschart" style="height:300px"> </div> </div>
<div class="rangeline"> <span class="label badge badge-success"><?php echo JText::_('COM_CITRUSCART_FROM'); ?> :</span> <?php echo JHTML::calendar($state->filter_date_from_expires, "filter_date_from_expires", "filter_date_from_expires", '%Y-%m-%d %H:%M:%S', array('class' => 'input-small')); ?> </div> <div class="rangeline"> <span class="label badge badge-success"><?php echo JText::_('COM_CITRUSCART_TO'); ?> :</span> <?php echo JHTML::calendar($state->filter_date_to_expires, "filter_date_to_expires", "filter_date_to_expires", '%Y-%m-%d %H:%M:%S', array('class' => 'input-small')); ?> </div> </div> </th> <th> <input id="filter_transaction" name="filter_transactionid" value="<?php echo $state->filter_transactionid; ?> " class="input-small"/> </th> <th> <?php echo CitruscartSelect::booleans($state->filter_enabled, 'filter_enabled', $attribs, 'enabled', true, 'COM_CITRUSCART_ENABLED_STATE'); ?> </th>
echo JoomleagueModelPredictionUsers::echoLabelTD('COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_NAME', 'COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_HELP_NAME'); ?> <td colspan='2'><?php echo $this->config['show_full_name'] ? $this->predictionMember->name : $this->predictionMember->username; ?> </td> </tr> <tr> <?php echo JoomleagueModelPredictionUsers::echoLabelTD('COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_REGDATE', 'COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_HELP_REGDATE'); ?> <td colspan='2'><?php $regDate = substr($this->predictionMember->pmRegisterDate, 0, 10); $regTime = substr($this->predictionMember->pmRegisterDate, 11, 8); if ($this->allowedAdmin) { echo JText::sprintf('%1$s - %2$s', JHTML::calendar(JoomleagueHelper::convertDate($regDate), 'registerDate', 'date', '%d-%m-%Y', 'size="10"'), '<input class="inputbox" type="text" name="registerTime" size="4" maxlength="5" value="' . $regTime . '" />'); } else { echo '<input type="hidden" name="registerDate" value="' . JoomleagueHelper::convertDate($regDate) . '" />'; echo '<input type="hidden" name="registerTime" value="' . $regTime . '" />'; echo $this->predictionMember->pmRegisterDate != '0000-00-00 00:00:00' ? JHTML::date($this->predictionMember->pmRegisterDate, JText::_('COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_REGDATE_FORMAT')) : JText::_('COM_JOOMLEAGUE_PRED_USERS_UNKNOWN'); } ?> </td> </tr> <tr> <?php echo JoomleagueModelPredictionUsers::echoLabelTD('COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_APPROVED', 'COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_HELP_APPROVED'); ?> <td colspan='2'><?php echo $this->lists['approvedForGame']; ?>
echo JText::_('COM_TIENDA_FROM'); ?> :</span> <?php echo JHTML::calendar(@$state->filter_date_from, "filter_date_from", "filter_date_from", '%Y-%m-%d 00:00:00'); ?> </div></li> <li class="divider-vertical"></li> <li> <div class="input-prepend input-append"> <span class="add-on"><?php echo JText::_('COM_TIENDA_TO'); ?> :</span> <?php echo JHTML::calendar(@$state->filter_date_to, "filter_date_to", "filter_date_to", '%Y-%m-%d 00:00:00'); ?> </div></li> <li class="divider-vertical"></li> <li> <?php //$attribs = array('class' => '', 'onchange' => 'javascript:submitbutton(\'view\').click;'); ?> <span class="label pull-left"><?php echo JText::_('LIMIT'); ?> </span> <?php echo TiendaSelect::limit(@$state->limit ? $state->limit : '20', 'limit', $attribs, 'limit', true); ?> </li>
?> <?php echo TiendaSelect::reportrange(@$state->filter_range ? $state->filter_range : 'custom', 'filter_range', $attribs, 'range', true); ?> <span class="label"><?php echo JText::_('COM_TIENDA_FROM'); ?> :</span> <?php echo JHTML::calendar(@$state->filter_date_from, "filter_date_from", "filter_date_from", '%Y-%m-%d %H:%M:%S'); ?> <span class="label"><?php echo JText::_('COM_TIENDA_TO'); ?> :</span> <?php echo JHTML::calendar(@$state->filter_date_to, "filter_date_to", "filter_date_to", '%Y-%m-%d %H:%M:%S'); ?> <input type="hidden" name="filter_datetype" value="created" /> </th> <th align="left" style="text-align: left;" class="key"> <?php $attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'document.adminForm.submit();'); echo TiendaSelect::orderstate(@$state->filter_orderstate, 'filter_orderstate', $attribs, 'order_state_id', true); ?> </th> </tr> </thead> </table> </div>
function showReportMenu($option) { ?> <form action="./volunteering.csv.php" method="post"> Volunteer Hours Report:<br/> Start Date: <input name="startdate" id="startdate" type="text"></input><?php JHTML::calendar('01/01/01', 'startdate', 'startdate'); ?>   End Date: <input name = "enddate" id="enddate" type="text"></input><?php JHTML::calendar('01/01/01', 'enddate', 'enddate'); ?> <br/> <input type = "submit"/> </form> <br/><br/> <form action="./bicycleinventory.csv.php" method="post"> Bicycle Inventory Report:<br/> <input type = "submit"/> </form> <br/><br/> <form action="./staffproductivity.csv.php" method="post"> Staff Productivity Report:<br/> Start Date: <input name="startdate" id="startdate3" type="text"></input><?php JHTML::calendar('01/01/01', 'startdate', 'startdate3'); ?>   End Date: <input name = "enddate" id="enddate3" type="text"></input><?php JHTML::calendar('01/01/01', 'enddate', 'enddate3'); ?> <br/> <input type = "submit"/> </form> <?php }
<input type="text" size="8" maxlength="8" name="endtimes" id="endtimes" value="" /> </td> </tr> <tr> <td class="key hasTip" title="<?php echo JText::_('COM_REDEVENT_XREF_REGISTRATION_END_TIP'); ?> "> <label for="registrationend"><?php echo JText::_('COM_REDEVENT_XREF_REGISTRATION_END') . ': '; ?> </label> </td> <td> <?php echo JHTML::calendar(null, 'registrationend', 'registrationend', '%Y-%m-%d %H:%M'); ?> </td> </tr> <tr> <td class="key hasTip" title="<?php echo JText::_('COM_REDEVENT_XREF_NOTE_TIP'); ?> "> <label for="session_note"><?php echo JText::_('COM_REDEVENT_XREF_NOTE') . ': '; ?> </label> </td> <td> <input type="text" size="50" maxlength="50" name="session_note" id="note" value="" />
<i class="icon-arrow-left"></i><?php echo JText::_('COM_DDC_BACK_TO_ACCOUNTS'); ?> </a> </div> </div> <div class="col-xs-9"> <form id="chngdates" method="get" action="<?php echo JRoute::_('index.php?option=com_ddcbalanceit&controller=filter'); ?> "> <?php echo JHTML::calendar('', 'datestart', 'datestart', '%d-%m-%Y', array('class' => '', 'placeholder' => 'Start Date')); ?> <?php echo JHTML::calendar('', 'dateend', 'dateend', '%d-%m-%Y', array('class' => '', 'placeholder' => 'End Date')); ?> <input id="ddcaccount_id" type="hidden" name="ddcaccount_id" value="<?php echo $this->item->ddcbi_account_id; ?> "/> <button id="btn-submit" class="btn pull-right"><?php echo JText::_('COM_DDC_UPDATE'); ?> </button> </form> </div> </div> <div class="row-fluid"> <div class="col-xs-12" id="activeAccount"> <span style="padding-top:5px;font-weight:400;" class="pull-right">
</select> <div id="segmentTypeConditionDetailDiv_1" class="segmentTypeConditionDetailDiv"> <?php if (isset($this->sentCampaigns[0])) { ?> <input type="hidden" value="<?php echo $this->sentCampaigns[0]['send_time']; ?> " name="segmentTypeConditionDetailValue_1" id="segmentTypeConditionDetailValue_1" /> <?php } ?> <?php if (!isset($this->sentCampaigns[0])) { echo JHTML::calendar(date('Y-m-d'), 'segmentTypeConditionDetailValue_1', 'segmentTypeConditionDetailValue_1', '%Y-%m-%d', array('size' => '12', 'maxlength' => '10')); } ?> </div> </div> <div style="clear:both;"></div> </div> <div id="segment2" class="segmentCondition" style="display:none;"></div> <div id="segment3" class="segmentCondition" style="display:none;"></div> <div id="segment4" class="segmentCondition" style="display:none;"></div> <div id="segment5" class="segmentCondition" style="display:none;"></div> <div id="segment6" class="segmentCondition" style="display:none;"></div> <div id="segment7" class="segmentCondition" style="display:none;"></div> <div id="segment8" class="segmentCondition" style="display:none;"></div> <div id="segment9" class="segmentCondition" style="display:none;"></div> <div id="segment10" class="segmentCondition" style="display:none;"></div>
</tr> <!-- SOLICITUD DE FECHA DE NACIMIENTO --> <!-- agregado por G2P --> <tr> <td> <label for="birthdate"> <?php echo '*' . $this->birthdateMessage; ?> : </label> </td> <td> <?php echo JHTML::calendar(date('Y-m-d'), 'birthdate', 'birthdate', '%Y-%m-%d', array('class' => 'date')); ?> </td> </tr> <!-- agregado por G2P --> <!-- SOLICITUD DEL SEXO --> <tr> <td height="40"> <label id="sexmsg" for="sex" > <?php echo '*' . $this->sexMessage; ?> : </label>
$start_date = date($format_string, time()); } echo JHTML::calendar($start_date, 'start_date', 'start_date', $ymd, ''); ?> <input type="hidden" id="start_date2" value="" /> </div> </div> <div class="control-group"> <label class="control-label"> <?php echo JText::_('REPENDDATE'); ?> </label> <div class="controls"> <?php echo JHTML::calendar($end_date, 'end_date', 'end_date', $ymd, ''); echo "<input type='hidden' name='tfa' id='tfa_adag' value='" . $params . "' />"; ?> <input type="hidden" id="end_date2" value="" /> </div> </div> <div class="control-group"> <label class="control-label"></label> <div class="controls"> <select id="adag_datepicker" name="adag_datepicker" onchange="adagsetdate(this.value)" class="inputbox"> <option value="1" <?php if ($this->adag_datepicker == "1") { echo 'selected="selected"'; } ?> ><?php