Esempio n. 1
0
    ?>
								</td>
							</tr>
						<?php 
}
if ($item->late_fee > 0) {
    ?>
							<tr class="eb-event-property">
								<td class="eb-event-property-label">
									<?php 
    echo JText::_('EB_LATE_FEE');
    ?>
								</td>
								<td class="eb-event-property-value">
									<?php 
    echo EventbookingHelper::formatCurrency($item->late_fee, $config, $item->currency_symbol);
    echo ' <em> ' . JText::sprintf('EB_FROM_DATE', JHtml::_('date', $item->late_fee_date, $this->config->date_format, null)) . '</em>';
    ?>
								</td>
							</tr>
						<?php 
}
if ($this->config->event_custom_field) {
    foreach ($this->paramData as $param) {
        if ($param['value']) {
            ?>
									<tr>
										<td>
											<strong><?php 
            echo $param['title'];
            ?>
Esempio n. 2
0
    }
    ?>
				</div>
				<div class="col-sm-4">
					<div class="eb-event-price-container btn-primary">
						<?php 
    if ($config->show_discounted_price) {
        $price = $event->discounted_price;
    } else {
        $price = $event->individual_price;
    }
    if ($price > 0) {
        $symbol = $event->currency_symbol ? $event->currency_symbol : $config->currency_symbol;
        ?>
								<span class="eb-individual-price"><?php 
        echo EventbookingHelper::formatCurrency($price, $config, $symbol);
        ?>
</span>
							<?php 
    } elseif ($config->show_price_for_free_event) {
        ?>
								<span class="eb-individual-price"><?php 
        echo JText::_('EB_FREE');
        ?>
</span>
							<?php 
    }
    ?>
					</div>
				</div>
			</div>
Esempio n. 3
0
    if (strlen(strip_tags($this->message->{'waitinglist_form_message' . $this->fieldSuffix}))) {
        $msg = $this->message->{'waitinglist_form_message' . $this->fieldSuffix};
    } else {
        $msg = $this->message->waitinglist_form_message;
    }
    $msg = str_replace('[EVENT_TITLE]', $this->event->title, $msg);
} else {
    $headerText = JText::_('EB_INDIVIDUAL_REGISTRATION');
    if (strlen(strip_tags($this->message->{'registration_form_message' . $this->fieldSuffix}))) {
        $msg = $this->message->{'registration_form_message' . $this->fieldSuffix};
    } else {
        $msg = $this->message->registration_form_message;
    }
    $msg = str_replace('[EVENT_TITLE]', $this->event->title, $msg);
    $msg = str_replace('[EVENT_DATE]', JHtml::_('date', $this->event->event_date, $this->config->event_date_format, null), $msg);
    $msg = str_replace('[AMOUNT]', EventbookingHelper::formatCurrency($this->amount, $this->config, $this->event->currency_symbol), $msg);
}
$headerText = str_replace('[EVENT_TITLE]', $this->event->title, $headerText);
if ($this->config->use_https) {
    $url = JRoute::_('index.php?option=com_eventbooking&task=register.process_individual_registration&Itemid=' . $this->Itemid, false, 1);
} else {
    $url = JRoute::_('index.php?option=com_eventbooking&task=register.process_individual_registration&Itemid=' . $this->Itemid, false);
}
$selectedState = '';
// Bootstrap classes
$bootstrapHelper = $this->bootstrapHelper;
$controlGroupClass = $bootstrapHelper->getClassMapping('control-group');
$inputPrependClass = $bootstrapHelper->getClassMapping('input-prepend');
$inputAppendClass = $bootstrapHelper->getClassMapping('input-append');
$addOnClass = $bootstrapHelper->getClassMapping('add-on');
$controlLabelClass = $bootstrapHelper->getClassMapping('control-label');