Esempio n. 1
0
	<aside>
		<div class="input-group">
			<h3>Categories</h3>

			<?php 
    echo ae_Forms::categories('post-categories', ae_Forms::INPUT_CHECKBOX);
    ?>
		</div>

		<div class="input-group">
			<h3>Schedule</h3>

			<div class="input-group-datetime">
				<span class="icon-add-before icon-before-clock" title="Datetime to publish this post"></span>
				<?php 
    echo ae_Forms::monthSelect('post-publish-month');
    ?>
				<input type="text" name="post-publish-day" value="<?php 
    echo date('d');
    ?>
" />
				<span class="comma">,</span>
				<input type="text" name="post-publish-year" value="<?php 
    echo date('Y');
    ?>
" />
				<span class="at">at</span>
				<input type="text" name="post-publish-hour" value="<?php 
    echo date('H');
    ?>
" />
Esempio n. 2
0
	<aside>
		<div class="input-group">
			<h3>Categories</h3>

			<?php 
    echo ae_Forms::categories('post-categories', ae_Forms::INPUT_CHECKBOX, $model->getCategoryIds());
    ?>
		</div>

		<div class="input-group">
			<h3>Schedule</h3>

			<div class="input-group-datetime">
				<span class="icon-add-before icon-before-clock" title="Datetime to publish this post"></span>
				<?php 
    echo ae_Forms::monthSelect('post-publish-month', $date[1]);
    ?>
				<input type="text" name="post-publish-day" value="<?php 
    echo $date[2];
    ?>
" />
				<span class="comma">,</span>
				<input type="text" name="post-publish-year" value="<?php 
    echo $date[0];
    ?>
" />
				<span class="at">at</span>
				<input type="text" name="post-publish-hour" value="<?php 
    echo $time[0];
    ?>
" />