<ul> <?php echo form::dropdown_wrap('forum_group_id', $form, $values, '', __('Group'), $errors); ?> <?php echo form::input_wrap('name', $values, '', __('Name'), $errors); ?> <?php echo form::input_wrap('description', $values, '', __('Description'), $errors); ?> <?php echo form::input_wrap('sort', $values, '', __('Sort'), $errors); ?> <?php echo form::checkboxes_wrap('area_type', $form, $values, __('Area type'), $errors); ?> <?php echo form::dropdown_wrap('bind', $form, $values, '', __('Bind to'), $errors); ?> </ul> </fieldset> <fieldset> <?php
<fieldset> <legend><?php echo __('Detailed information'); ?> </legend> <ul> <?php echo form::upload_wrap('logo', '', '', __('Logo'), $errors); ?> <?php echo $values['default_image_id'] ? '<li>' . html::img(new Image_Model($values['default_image_id']), 'thumb') . '</li>' : ''; ?> <?php echo form::input_wrap(array('name' => 'description', 'maxlength' => 250), $values, '', __('Short description'), $errors); ?> <?php echo form::textarea_wrap(array('name' => 'info', 'rows' => 3, 'cols' => 25), $values, '', true, __('Long description'), $errors); ?> <?php echo form::textarea_wrap(array('name' => 'hours', 'rows' => 3, 'cols' => 25), $values, '', true, __('Opening hours'), $errors); ?> <?php echo form::upload_wrap('picture1', '', '', __('Pictures'), $errors); ?> <?php
<legend><?php echo __('Almost there!'); ?> </legend> <ul> <?php echo form::input_wrap(array('name' => 'username', 'id' => 'signup_username'), $values, 'title="' . __('JohnDoe') . '" maxlength="' . (int) Kohana::config('visitor.username.length_max') . '"', __('Username'), $errors, __('Choose a unique username with at least <var>:length</var> characters. No special characters, thank you.', array(':length' => Kohana::config('visitor.username.length_min')))); ?> <?php echo form::password_wrap(array('name' => 'password', 'id' => 'signup_password'), $values, 'title="' . __('j0hnd03ru13z!') . '"', __('Password'), $errors, __('Try to use letters, numbers and special characters for a stronger password, with at least <var>:length</var> characters.', array(':length' => Kohana::config('visitor.password.length_min')))); ?> <?php echo form::input_wrap(array('name' => 'email', 'id' => 'signup_email'), $invitation->email, 'title="' . __('*****@*****.**') . '" disabled="disabled"', __('Email'), $errors); ?> </ul> </fieldset> <fieldset class="prefix-1"> <?php echo form::submit(false, __('Sign up!')); ?> <?php echo html::anchor(empty($_SESSION['history']) ? '/' : $_SESSION['history'], __('Cancel')); ?> <p class="tip"> <?php
*/ ?> <?php echo form::open(); ?> <fieldset> <ul> <?php echo form::input_wrap('name', $values, 'maxlength="32"', __('Name'), $errors); ?> <?php echo form::input_wrap('description', $values, '', __('Description'), $errors); ?> </ul> </fieldset> <fieldset> <?php echo form::submit(false, __('Save')); ?> <?php echo html::anchor($_SESSION['history'], __('Cancel')); ?> </fieldset> <?php
* @license http://www.opensource.org/licenses/mit-license.php MIT license */ ?> <?php echo form::open(); ?> <fieldset> <ul> <?php if ($topics === false) { ?> <?php echo form::input_wrap(array('name' => 'name', 'maxlength' => 100), $topic, '', __('Topic'), $errors); ?> <?php } else { ?> <?php echo form::dropdown_wrap('bind_id', $topics, $topic, '', __('Topic'), $errors); ?> <?php } ?> <?php echo form::textarea_wrap(array('name' => 'post', 'id' => 'post', 'rows' => 20, 'cols' => 25), $topic, '', true, __('Post'), $errors); ?>
?> <?php echo html::box_step(2); ?> <fieldset class="prefix-1"> <legend><?php echo __('Got my invitation!'); ?> </legend> <p><?php echo __('You received your invitation and are ready to sign up? Excellent! '); ?> </p> <ul> <?php echo form::input_wrap('code', $values, 'title="' . __('M0573XC3LL3N751R') . '" maxlength="32"', __('Enter your invitation code'), $errors); ?> <li class="tip"><?php echo __('Your invitation code is included in the mail you received, 16 characters.'); ?> </li> <li><?php echo form::submit('invitation_check', __('Final step!')); ?> </li> </ul> </fieldset> <?php echo form::close();
</ul> </fieldset> <fieldset> <legend><?php echo __('Tickets'); ?> </legend> <ul> <?php echo form::input_wrap('price', $values, 'maxlength="5"', __('At the door'), $errors); ?> <?php echo form::input_wrap('price2', $values, 'maxlength="5"', __('Presale'), $errors); ?> </ul> </fieldset> <fieldset> <legend><?php echo __('Who?'); ?> </legend> <ul> <?php echo form::textarea_wrap('dj', $values, 'rows="5" cols="25"', true, __('DJ'), $errors); ?>
</li> </ul> </fieldset> <?php echo form::close(); ?> </section> <section id="invitation" class="grid-2 prefix-5"> <?php echo form::open('sign/up'); ?> <fieldset> <ul> <?php echo form::input_wrap('code', null, 'title="' . __('Invitation code') . '" maxlength="32"', __('Got invited?')); ?> <li><?php echo form::submit('invitation_check', __('Sign up')); ?> </li> </ul> </fieldset> <?php echo form::close(); ?> </section> </div> </section>
echo form::open(); ?> <fieldset class="horizontal"> <ul> <?php if ($private) { ?> <?php echo form::checkbox_wrap('private', '1', $values, "onchange=\"\$('input[name=comment]').toggleClass('private', this.checked)\"", '<abbr class="private" title="' . __('Private comment') . '">' . __('Priv') . '</abbr>'); ?> <?php } ?> <?php echo form::input_wrap(array('name' => 'comment', 'id' => 'comment', 'maxlength' => 300), '', '', '', $errors); ?> <li><?php echo form::submit(false, __('Comment')); ?> </li> </ul> <?php echo form::csrf(); ?> </fieldset> <?php echo form::close(); ?>
<section class="mod venue-category-edit"> <div> <?php echo form::open(); ?> <fieldset> <ul> <?php echo form::input_wrap(array('name' => 'name'), $values, '', __('Name'), $errors); ?> <?php echo form::input_wrap(array('name' => 'description'), $values, '', __('Description'), $errors); ?> <?php echo form::dropdown_wrap('tag_group_id', $form, $values, '', __('Tag group'), $errors); ?> </ul> </fieldset> <fieldset> <?php echo form::csrf(); ?> <?php echo empty($values['id']) ? '' : form::hidden('id', $values['id']);
<?php } ?> </ul> <?php if ($can_shout) { ?> <?php echo form::open('/shout'); ?> <fieldset class="horizontal"> <ul> <?php echo form::input_wrap(array('name' => 'shout', 'maxlength' => 300, 'title' => __('Shout')), '', '', '', $errors); ?> <li><?php echo form::submit(false, __('Shout')); ?> </li> </ul> <?php echo form::csrf(); ?> </fieldset> <?php echo form::close(); ?> <?php
<legend><?php echo __('Location'); ?> </legend> <ul> <?php echo form::input_wrap('address_street', $values, 'maxlength="50"', __('Address'), $errors); ?> <?php echo form::input_wrap('address_city', $values, 'maxlength="50"', __('City'), $errors); ?> <?php echo form::input_wrap('address_zip', $values, 'maxlength="5"', __('Zip code'), $errors); ?> </ul> </fieldset> <fieldset> <?php echo form::hidden('city_id', $values['city_id']); ?> <?php echo form::submit(false, __('Save')); ?> <?php echo html::anchor(empty($_SESSION['history']) ? '/' : $_SESSION['history'], __('Cancel')); ?>
* @copyright (c) 2010 Antti Qvickström * @license http://www.opensource.org/licenses/mit-license.php MIT license */ ?> <section class="mod entry-edit"> <div> <?php echo form::open(); ?> <fieldset> <ul> <?php echo form::input_wrap(array('name' => 'name', 'tabindex' => 1, 'maxlength' => 100, 'title' => __('Title')), $values, '', '', $errors); ?> <?php echo form::textarea_wrap(array('name' => 'entry', 'id' => 'entry', 'tabindex' => 2, 'rows' => 20, 'cols' => 25), $values, '', true, '', $errors); ?> </ul> </fieldset> <fieldset> <?php echo form::csrf(); ?> <?php echo empty($values['id']) ? '' : form::hidden('id', $values['id']);