示例#1
0
		<tr>
			<th><?php 
echo __('name', 'system');
?>
</th>
		</tr>
		<tr class="plain">
			<td>
				<ul id="plans_sortable" class="unstyled sortable-grid">
					<?php 
foreach ($plans as $plan) {
    ?>
						<li>
							<span class="handle"></span>
							<?php 
    echo $plan['name'];
    ?>
							<?php 
    echo form_helper::hidden('plan[]', $plan['plan_id'], array('class' => 'plan_ids'));
    ?>
						</li>
					<?php 
}
?>
				</ul>
			</td>
		</tr>
	</table>

<?php 
echo form_helper::closeForm(array('do_save_order' => 1));
示例#2
0
?>
				</div>

			</fieldset>

			<?php 
echo form_helper::hidden('picture_thumb_x', 0, array('id' => 'picture_thumb_x'));
?>
			<?php 
echo form_helper::hidden('picture_thumb_y', 0, array('id' => 'picture_thumb_y'));
?>
			<?php 
echo form_helper::hidden('picture_thumb_w', config::item('picture_dimensions_l_width', 'users'), array('id' => 'picture_thumb_w'));
?>
			<?php 
echo form_helper::hidden('picture_thumb_h', config::item('picture_dimensions_l_height', 'users'), array('id' => 'picture_thumb_h'));
?>

		<?php 
echo form_helper::closeForm(array('do_save_thumbnail' => 1));
?>

	</div>

</section>

<script type="text/javascript">
function createCropArea()
{
	var jcrop_api;
	var bounds, boundx, boundy;
示例#3
0
		<tr>
			<th><?php 
echo __('name', 'system');
?>
</th>
		</tr>
		<tr class="plain">
			<td>
				<ul id="items_sortable" class="unstyled sortable-grid">
					<?php 
foreach ($items as $item) {
    ?>
						<li>
							<span class="handle"></span>
							<?php 
    echo $item['name'];
    ?>
							<?php 
    echo form_helper::hidden('item[]', $item['item_id'], array('class' => 'item_ids'));
    ?>
						</li>
					<?php 
}
?>
				</ul>
			</td>
		</tr>
	</table>

<?php 
echo form_helper::closeForm(array('do_save_order' => 1));
示例#4
0
?>
</th>
		</tr>
		<tr class="plain">
			<td>
				<ul id="plans_sortable" class="unstyled sortable-grid">
					<?php 
foreach ($fields as $field) {
    ?>
						<li class="<?php 
    echo $field['type'];
    ?>
">
							<span class="handle"></span>
							<?php 
    echo text_helper::entities($field['name']);
    ?>
							<?php 
    echo form_helper::hidden('field[]', $field['field_id'], array('class' => 'field_ids'));
    ?>
						</li>
					<?php 
}
?>
				</ul>
			</td>
		</tr>
	</table>

<?php 
echo form_helper::closeForm(array('do_save_order' => 1));
示例#5
0
文件: edit.php 项目: soremi/tutornavi
    echo form_helper::text('class', form_helper::setValue('class', isset($field['class']) ? $field['class'] : ''), array('class' => 'text input-xlarge', 'id' => 'input_edit_system_field_class'));
    ?>
						<?php 
    echo form_helper::error('class');
    ?>
					</div>
				</div>
			<?php 
}
?>

			<?php 
if (isset($hidden['style'])) {
    ?>
				<?php 
    echo form_helper::hidden('style', isset($field['style']) ? $field['style'] : $hidden['style'], array('id' => 'input_edit_system_field_style'));
    ?>
			<?php 
} else {
    ?>
				<div class="row" id="input_row_system_field_style">
					<label for="input_edit_system_field_style"><?php 
    echo __('style', 'system_fields');
    ?>
</label>
					<div class="field">
						<?php 
    echo form_helper::text('style', form_helper::setValue('style', isset($field['style']) ? $field['style'] : ''), array('class' => 'text input-xlarge', 'id' => 'input_edit_system_field_style'));
    ?>
						<?php 
    echo form_helper::error('style');
示例#6
0
?>
				</div>

			</fieldset>

			<?php 
echo form_helper::hidden('picture_thumb_x', 0, array('id' => 'picture_thumb_x'));
?>
			<?php 
echo form_helper::hidden('picture_thumb_y', 0, array('id' => 'picture_thumb_y'));
?>
			<?php 
echo form_helper::hidden('picture_thumb_w', config::item('picture_dimensions_t_width', 'classifieds'), array('id' => 'picture_thumb_w'));
?>
			<?php 
echo form_helper::hidden('picture_thumb_h', config::item('picture_dimensions_t_height', 'classifieds'), array('id' => 'picture_thumb_h'));
?>

		<?php 
echo form_helper::closeForm(array('do_save_thumbnail' => 1));
?>

	</div>

</section>

<script type="text/javascript">
function createCropArea()
{
	var jcrop_api;
	var bounds, boundx, boundy;