示例#1
0
    if ($this->times['end_pm']) {
        echo 'checked="checked"';
    }
    ?>
 /><small>PM</small>
					<?php 
}
?>
				</p>

				<label>
					<?php 
echo Lang::txt('EVENTS_CAL_TIME_ZONE');
?>
					<?php 
echo \Components\Events\Helpers\Html::buildTimeZoneSelect($this->times['time_zone'], '');
?>
				</label>
			</fieldset>
			<input type="hidden" name="state" value="<?php 
echo $this->escape($this->row->state);
?>
" />
		</fieldset><div class="clear"></div>

		<input type="hidden" name="email" value="<?php 
echo $this->escape(stripslashes($this->row->email));
?>
" />
		<input type="hidden" name="restricted" value="<?php 
echo $this->escape(stripslashes($this->row->restricted));
示例#2
0
				</fieldset>
				<fieldset>
					<legend>
						<?php 
echo Lang::txt('Timezone Settings');
?>
					</legend>
					<label>
						<?php 
echo Lang::txt('Timezone:');
?>
 <span class="optional">Optional</span>
						<?php 
$timezone = $this->event->get('time_zone');
$timezone = isset($timezone) ? $timezone : -5;
echo \Components\Events\Helpers\Html::buildTimeZoneSelect($timezone, '');
?>
					</label>
				</fieldset>
				<?php 
$repeating = $this->event->parseRepeatingRule();
$freqs = array('' => '- None &mdash;', 'daily' => 'Daily', 'weekly' => 'Weekly', 'monthly' => 'Monthy', 'yearly' => 'Yearly');
?>
				<fieldset class="reccurance">
					<legend>
						<?php 
echo Lang::txt('Repeating Settings');
?>
					</legend>

					<label>