open() public static method

public static open ( $action, $method = 'POST', $attributes = [] )
Example #1
0
 public function edit($url)
 {
     $display_name = ucwords(str_replace('_', ' ', $url));
     $this->__set_heading("Editing Theme file - " . $display_name);
     $view = new View('zest/content');
     $content = form::open('admin/snippets/save/' . $url);
     $html = zest::template_to_html(THEME_PATH . $url);
     $content .= form::label('content', 'Code');
     $content .= '<p><small>This is only for advanced users. To edit <a onclick="$(\'#content\').toggle();return false;" href="#">click here</a></small></p>';
     $content .= form::textarea('content', $html, 'id="content" class="fullWidth no-editor hside"');
     $content .= form::submit('submit', 'Save', 'class="submit"');
     $content .= form::close();
     $view->content = $content;
     $this->__set_content($view);
 }
Example #2
0
 private function __under_development()
 {
     $UNDER_DEVELOPMENT = ORM::factory('setting', 'UNDER_DEVELOPMENT');
     if (isset($_POST['UNDER_DEVELOPMENT'])) {
         $UNDER_DEVELOPMENT->value = $_POST['UNDER_DEVELOPMENT'];
         $UNDER_DEVELOPMENT->save();
     }
     $data = array("name" => "UNDER_DEVELOPMENT", "class" => "fullWidth");
     $options = array(null => "YES", "1" => "NO");
     $selected = $UNDER_DEVELOPMENT->value;
     $html = form::open();
     $html .= form::label('UNDER_DEVELOPMENT', 'Under Development');
     $html .= form::dropdown($data, $options, $selected);
     $html .= form::submit('submit', 'Save', 'class="submit"') . '<p>&nbsp;</p><p>&nbsp;</p>';
     $html .= form::close();
     return $html;
 }
Example #3
0
    public function _form($user)
    {
        $html = "";
        $html .= form::open(null, array('class' => 'valid_form'));
        $html .= form::input(array('email', 'Email'), $user->email, 'class="fullWidth required email"');
        $html .= form::label('New Password');
        $html .= form::password('password[]', '', 'class="fullWidth"');
        $html .= form::label('Repeat Password');
        $html .= form::password('password[]', '', 'class="fullWidth"');
        $html .= "<hr/>";
        $html .= form::label('openid', 'OpenID <img src="http://www.plaxo.com/images/openid/login-bg.gif" />');
        $html .= '<p><small><a href="http://www.openid.net" target="_BLANK">What is an OpenID?</a></small></p>
			<p><small>Please remember the "http://"</small></p>';
        $html .= form::input('openid', $user->openid, 'class="fullWidth url"');
        $html .= form::submit('submit', 'Save', 'class="submit"');
        $html .= form::close();
        return $html;
    }
Example #4
0
 public static function render_form()
 {
     $form = "";
     if (isset($_POST['forgotten_email'])) {
         $user = ORM::factory('user', $_POST['forgotten_email']);
         if ($user->id > 0) {
             $user->reset_password();
             $form .= "<span id='login_error' style='color:red'>Your new password has been emailed to you.</span>";
         } else {
             $form .= "<span id='login_error' style='color:red'>That email is not registered with us.</span>";
         }
     }
     $user = login::attempt_login();
     if (is_object($user)) {
         return "hello " . $user->username . " <a href='?logout'>logout</a>";
     }
     if (is_string($user)) {
         $form .= "<span id='login_error' style='color:red'>{$user}</span>";
     }
     $form .= '<span id="forgotten_password" class="hide">';
     $form .= '<label for="forgotten_email">Email</label>';
     $form .= '<input type="text" name="forgotten_email" value="email" onfocus="if (this.value=\\"email\\") this.value=\\"\\""/>';
     $form .= '<input type="submit" value="login" class="submit" />';
     $form .= form::close();
     $form .= '</span>';
     $form .= '<span id="login_form" class="hide">';
     $form .= form::open();
     $form .= '<label for="username">Username</label>';
     $form .= '<input type="text" name="username" value="username" onfocus="if (this.value=\\"username\\") this.value=\\"\\""/>';
     $form .= '<label for="password">Password</label>';
     $form .= '<input type="password" name="password" value="password" onfocus="if (this.value=\\"password\\") this.value=\\"\\""/>';
     $form .= '<input type="submit" value="login" class="submit" />';
     $form .= form::close();
     $form .= '<a href="#" onclick="$(\'#forgotten_password\').show();$(\'#login_form\').hide()">forgotten password?</a>';
     $form .= '</span>';
     return $form;
 }
Example #5
0
					<!-- green-box -->
					<div class="green-box" id="submitStatus">
						<h3><?php 
    echo Kohana::lang('ui_main.reports');
    ?>
 <?php 
    echo $form_action;
    ?>
 <a href="#" id="hideMessage" class="hide">hide this message</a></h3>
					</div>
				<?php 
}
?>
				<!-- report-table -->
				<?php 
print form::open(NULL, array('id' => 'reportMain', 'name' => 'reportMain'));
?>
					<input type="hidden" name="action" id="action" value="">
					<input type="hidden" name="incident_id[]" id="incident_single" value="">
					<div class="table-holder">
						<table class="table">
							<thead>
								<tr>
									<th class="col-1"><input id="checkallincidents" type="checkbox" class="check-box" onclick="CheckAll( this.id, 'incident_id[]' )" /></th>
									<th class="col-2"><?php 
echo Kohana::lang('ui_main.report_details');
?>
</th>
									<th class="col-3"><?php 
echo Kohana::lang('ui_main.date');
?>
 private function _editor($blog)
 {
     if ($blog->validate($_POST)) {
         $blog->user_id = $this->a2->get_user()->id;
         $blog->save();
         return $this->index();
     }
     //show form
     echo form::open();
     echo 'text:' . form::textarea('text', $blog->text) . '<br>';
     echo form::submit(array('value' => 'post'));
     echo form::close();
 }
Example #7
0
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <*****@*****.**> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::settings_subtabs("map");
?>
				</h2>
				<?php 
print form::open();
?>
					<div class="report-form">
						<?php 
if ($form_error) {
    ?>
							<!-- red-box -->
							<div class="red-box">
								<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
								<ul>
								<?php 
    foreach ($errors as $error_item => $error_description) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
Example #8
0
<?php

View::set_global('field_lang_prefix', 'convention.registration_field_');
if (count($errors)) {
    foreach ($errors as $field => $error) {
        if (!$error) {
            continue;
            /* just incase of empty error */
        }
        echo '<p class="errormsg">';
        echo $error;
        echo '</p>';
    }
}
echo '<div id="form">';
echo form::open(url::site($url, TRUE));
echo '<h1>' . HTML::chars(__('convention.registration_form_header')) . '</h1>';
echo '<p>' . __('ecmproject.form_required') . '</p>';
echo "<fieldset>";
foreach (array('gname', 'sname', 'badge', 'dob', 'email', 'phone', 'cell', 'city', 'prov', 'econtact', 'ephone') as $field) {
    if (!@$fields[$field]) {
        continue;
    }
    echo new View('global/_form_field', array('field' => $field, 'fieldData' => $fields[$field], 'value' => $form[$field], 'hasError' => isset($errors[$field]) && $errors[$field]));
}
echo '</fieldset>';
echo '<h1>' . HTML::chars(__('convention.registration_select_pass_header')) . '</h1>';
echo '<p>' . HTML::chars(__('convention.registration_select_pass_desc')) . '</p>';
echo '<fieldset>';
$field = 'pass_id';
echo new View('global/_form_field', array('field' => $field, 'fieldData' => $fields[$field], 'value' => $form[$field], 'hasError' => isset($errors[$field]) && $errors[$field]));
Example #9
0
								
								<div class="alert_response">
									<?php 
if ($alert_email) {
    echo Kohana::lang('alerts.email_alert_request_created') . "<u><strong>" . $alert_email . "</strong></u>." . Kohana::lang('alerts.verify_code');
}
?>
									<div class="alert_confirm">
										<div class="label">
											<u><?php 
echo Kohana::lang('alerts.email_code');
?>
</u>
										</div>
										<?php 
print form::open('/alerts/verify');
print "Verification Code:<BR>" . form::input('alert_code', '', ' class="text"') . "<BR>";
print "Email Address:<BR>" . form::input('alert_email', $alert_email, ' class="text"') . "<BR>";
print form::submit('button', 'Confirm My Alert Request', ' class="btn_submit"');
print form::close();
?>
									</div>
								</div>
							</div>
							<!-- / Email Alert -->
							
							
							<!-- Return -->
							<div class="green-box">
								<div class="alert_response">
									<a href="<?php 
			<div class="bg">
				<h2><?php 
print $title;
?>
 <span></span><a href="<?php 
print url::base();
?>
admin/reports">View Reports</a></h2>
				<?php 
print form::open(NULL, array('id' => 'reportForm', 'name' => 'reportForm'));
?>
					<input type="hidden" name="save" id="save" value="">
					<!-- report-form -->
					<div class="report-form">
						<?php 
if ($form_error) {
    ?>
							<!-- red-box -->
							<div class="red-box">
								<h3>Error!</h3>
								<ul>
								<?php 
    foreach ($errors as $error_item => $error_description) {
        // print "<li>" . $error_description . "</li>";
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
    }
    ?>
								</ul>
							</div>
						<?php 
}
Example #11
0
 *@package User
 **/
?>
<?php 
defined('SYSPATH') or die('No direct access allowed.');
?>
<h2><?php 
echo Kohana::lang('user.login');
?>
</h2>

<? base::success($success); ?>
<? base::errors($errors); ?>

<?
echo form::open(NULL, array('class' => 'glForms'));
echo form::label('email', kohana::lang('user.email'));
echo form::input('email', ($form['email']));
echo '<br />';
echo form::label('password', Kohana::lang('user.password'));
echo form::password('password', NULL);
echo '<br />';
echo form::label('submit', '&nbsp;');
echo form::submit('submit', Kohana::lang('user.logmein'),'class=button');
echo '<br />';
echo form::close();
?>
<p><a href="/user/register"><?php 
echo Kohana::lang('user.register');
?>
</a> | <a href="/user/password"><?php 
Example #12
0
													<div id="replies">

													</div>
													<a href="javascript:showReply('reply_<?php 
                echo $message_id;
                ?>
')" class="more">+<?php 
                echo Kohana::lang('ui_main.reply');
                ?>
</a>
													<div id="reply_<?php 
                echo $message_id;
                ?>
" class="reply">
														<?php 
                print form::open(url::site() . 'admin/messages/send/', array('id' => 'newreply_' . $message_id, 'name' => 'newreply_' . $message_id));
                ?>
														<div class="reply_can"><a href="javascript:cannedReply('1', 'message_<?php 
                echo $message_id;
                ?>
')">+<?php 
                echo Kohana::lang('ui_main.request_location');
                ?>
</a>&nbsp;&nbsp;&nbsp;<a href="javascript:cannedReply('2', 'message_<?php 
                echo $message_id;
                ?>
')">+<?php 
                echo Kohana::lang('ui_main.request_information');
                ?>
</a></div>
														<div id="replyerror_<?php 
Example #13
0
?>
	</div>

	<div id="create_account" class="ui-corner-all">

		<h2><a href="javascript:toggle('signin_new');"><?php 
echo Kohana::lang('ui_main.login_signup_click');
?>
</a></h2>

		<?php 
echo Kohana::lang('ui_main.login_signup_text');
?>
		<div id="signin_new" class="signin_select ui-corner-all">
			<?php 
echo form::open(NULL, array('id' => "usernew_form"));
?>
				<input type="hidden" name="action" value="new">
				<table width="100%" border="0" cellspacing="3" cellpadding="4" background="" id="ushahidi_loginbox">
					<tr>
						<td><strong><?php 
echo Kohana::lang('ui_main.name');
?>
:</strong><br/><small><?php 
echo Kohana::lang('ui_main.identify_you');
?>
</small><br />
						<?php 
print form::input('name', $form['name'], 'class="login_text new_name"');
?>
</td>
Example #14
0
<style type="text/css">
	#logo_droppable_wrapper{
		text-align:center;
		background:#eee;
		border:1px solid #ccc;
	}
	#logo_droppable_wrapper img{
		display:block;
		margin:5px;
		padding:5px;
		cursor:pointer;
		cursor:hand;
	}
</style>
<?php 
echo form::open('theme/logo');
?>

	<div id="common_tool_header" class="buttons">
		<button type="submit" name="save_logo" class="jade_positive">Save Logo</button>
		<div id="common_title">Select an image banner for your Website.</div>
	</div>


	<div class="common_left_panel" style="text-align:center">
		<a href="#" class="get_file_browser images" rel="albums">Choose new Logo</a>
	</div>

	<div id="logo_droppable_wrapper" class="common_main_panel" style="height:300px">
	<?php 
if (!empty($this->banner)) {
Example #15
0
</div>
<div class="grid_4 omega">
	<b>Arquivado:</b><br>
	<?php 
if ($processo->arquivado) {
    echo 'Sim';
} else {
    echo 'Não';
}
?>
</div>
<div class="clear"></div>

<h2>Formulário de Procedimento</h2>
<?php 
echo form::open('procedimentos/salvar', array('id' => 'form_procedimento'), array('id' => $procedimento->id, 'processo_id' => $processo->id));
?>
<div class="grid_4 alpha">
	Data:<br>
	<?php 
echo form::input('data', $procedimento->data, 'class="validate[required] w16em dateformat-Y-ds-m-ds-d"');
?>
</div>
<div class="grid_4">
	Hora:<br>
	<?php 
echo form::input('hora', $procedimento->hora);
?>
</div>
<div class="grid_4 omega">
	Realizado:<br>
Example #16
0
echo url::base();
?>
media/img/admin/btn-save-settings.gif" class="save-rep-btn" />
					</div>
					<?php 
print form::close();
?>
			
				</div>
			</div>			
			
			
			<!-- report-table -->
			<div class="report-form">
				<?php 
print form::open(NULL, array('id' => 'roleListing', 'name' => 'roleListing'));
?>
					<input type="hidden" name="action" id="role_action_main" value="">
					<input type="hidden" name="role_id" id="role_id_main" value="">
					<div class="table-holder">
						<table class="table">
							<thead>
								<tr>
									<th class="col-1">
										&nbsp;
									</th>
									<th class="col-2">
										<?php 
echo Kohana::lang('ui_admin.header_role');
?>
									</th>
Example #17
0
<div class="grid_16">
	<div class="box">
		<h1><?php 
echo __('Adding :element', array(':element' => __(ucfirst($element->type()))));
?>
</h1>
			
		<?php 
include Kohana::find_file('views', 'kohanut/errors');
?>
		
		
		<?php 
echo form::open();
?>

			<p>
				<?php 
echo $element->input('code');
?>
			</p>
	
			<p>
				<?php 
echo $element->input('markdown', array('class' => 'check'));
?>
				<?php 
echo __('Enable :Markdown', array(':Markdown' => html::anchor('http://kohanut.com/docs/using.markdown', 'Markdown', array('target' => '_blank'))));
?>
				<?php 
echo $element->input('twig', array('class' => 'check'));
Example #18
0
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <*****@*****.**> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::settings_subtabs("cleanurl");
?>
				</h2>
				<?php 
print form::open(NULL, array('id' => 'cleanurlForm', 'name' => 'cleanurlForm', 'action' => url::site() . 'admin/settings/cleanurl'));
?>
				<div class="report-form">
					<?php 
if ($form_error) {
    ?>
						<!-- red-box -->
						<div class="red-box">
							<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
							<ul>
							<?php 
    foreach ($errors as $error_item => $error_description) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
Example #19
0
?>
</a></li>
								<?php 
if ($id) {
    echo "<li><a href=\"#\" class=\"btn_delete btns_red\">" . strtoupper(Kohana::lang('ui_main.delete_report')) . "</a></li>";
}
?>
								<li><a href="<?php 
echo url::site() . 'admin/reports/';
?>
" class="btns_red"><?php 
echo strtoupper(Kohana::lang('ui_main.cancel'));
?>
</a></li>
							</ul>
						</div>						
					</div>
				<?php 
print form::close();
?>
				<?php 
if ($id) {
    // Hidden Form to Perform the Delete function
    print form::open(url::site() . 'admin/reports/', array('id' => 'reportMain', 'name' => 'reportMain'));
    $array = array('action' => 'd', 'incident_id[]' => $id);
    print form::hidden($array);
    print form::close();
}
?>
			</div>
Example #20
0
<?php

defined('SYSPATH') or die('No direct script access.');
?>

				<?php 
echo form::open('admin/units/delete.' . $form->id);
?>
					<fieldset>

						<table>
							<caption>Usuń jednostkę miary</caption>

							<?php 
echo html::error_messages($errors);
?>

							<tr>
								<td><?php 
echo $form->label('name');
?>
</td>
								<td>
									<?php 
echo $form->name;
?>
								</td>
							</tr>

							<tr>
								<td><?php 
Example #21
0
?>
:
				<p>
					<?php 
echo Kohana::lang('ui_main.upload_reports_detail_6');
?>
<br />
					<?php 
echo Kohana::lang('ui_main.upload_reports_detail_7');
?>
<br />
					
				</p>
			</p>
			<?php 
print form::open(NULL, array('id' => 'uploadForm', 'name' => 'uploadForm', 'enctype' => 'multipart/form-data'));
?>
            <p><b><?php 
echo Kohana::lang('ui_main.upload_file');
?>
</b> <?php 
echo form::upload(array('name' => 'uploadfile'), 'path/to/local/file');
?>
</p>
			<button type="submit"><?php 
echo Kohana::lang('ui_main.upload');
?>
</button>
			<?php 
print form::close();
?>
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
		<ul>
			<?php 
    foreach ($errors as $error_item => $error_description) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
    }
    ?>
		</ul>
	</div>
	<?php 
}
?>
	<?php 
print form::open(NULL, array('id' => 'commentForm', 'name' => 'commentForm'));
?>
	<div class="report_row">
		<strong><?php 
echo Kohana::lang('ui_main.name');
?>
:</strong><br />
		<?php 
print form::input('comment_author', $form['comment_author'], ' class="text"');
?>
		</div>

		<div class="report_row">
		<strong><?php 
echo Kohana::lang('ui_main.email');
?>
Example #23
0
<?php

defined("SYSPATH") or die("No direct script access.");
?>
<html>
  <body>
    <?php 
echo form::open("http://www.digibug.com/dapi/order.php");
?>
    <?php 
foreach ($order_params as $key => $value) {
    ?>
    <?php 
    echo form::hidden($key, $value);
    ?>
    <?php 
}
?>
    </form>
    <script type="text/javascript">
     document.forms[0].submit();
    </script>
  </body>
</html>
Example #24
0
echo form::close();
?>
            </div>
        </div>
    </div>

    <div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title modal-font" id="myModalLabel">Registrarse</h4>
                </div>
                <!-- Aqui esta el form de inicio de session -->
                <?php 
echo form::open('home/registrar');
?>
                    <div class="modal-body">
                        <div class="form-group">
                        <label>Nombre:</label>
                        <input type="input" class="form-control" id="exampleInputEmail1" placeholder="Nombre" name="nombre">
                    </div>
                    <div class="form-group">
                        <label>Apellido:</label>
                        <input type="input" class="form-control" id="exampleInputEmail1" placeholder="Apellido" name="apellido">
                    </div>
                    <div class="form-group">
                        <label>Correo:</label>
                        <input type="input" class="form-control" id="exampleInputEmail1" placeholder="Correo" name="correo">
                    </div>
                    <div class="form-group">
Example #25
0
<div class="slider-holder">
	<?php 
echo form::open(NULL, array('method' => 'get'));
?>
		<input type="hidden" value="0" name="currentCat" id="currentCat"/>
		<fieldset>
			<label for="startDate"><?php 
echo Kohana::lang('ui_main.from');
?>
:</label>
			<select name="startDate" id="startDate"><?php 
echo $startDate;
?>
</select>
			<label for="endDate"><?php 
echo Kohana::lang('ui_main.to');
?>
:</label>
			<select name="endDate" id="endDate"><?php 
echo $endDate;
?>
</select>
		</fieldset>
	<?php 
echo form::close();
?>
</div>
<?php 
if (Kohana::config('settings.enable_timeline')) {
    ?>
<div id="graph" class="graph-holder"></div>
<?php

echo form::open("user/register?token={$invite->token}", array('class' => 'box'));
?>
    <h2>Registrera dig som Ängel!</h2>
    <dl>
        <dt><label>Namn <input type="text" name="username" class="voodoo" maxlength="50"></label></dt>
            <dd>
                Det alias eller nick du vill ha för att logga in med.
                Får inte vara längre än 50 tecken.
            </dd>
        
        <dt><label>Lösenord <input type="password" name="password" class="voodoo"></label></dt>
            <dd>
                Hitta på ett lösenord som du vill ha associerat till ditt konto
                och skriv in det i rutan ovan. Detta används när du loggar in.
            </dd>
    
        <dt><label>E-Mail <input type="text" disabled="disabled" value="<?php 
echo html::chars($invite->email);
?>
" class="voodoo"></label></dt>
            <dd>
                Den mailadress som registreras till ditt konto. Den går
                att ändra efter registrering men inte innan dess. Adressen
                används för att återställa glömda lösenord.
            </dd>
    </dl>
    <p>
        <input type="submit" value="Registrera" class="voodoo">
    </p>
Example #27
0
    echo KMS::Session()->path('ua.message.class');
    ?>
 png_bg">
				<a href="" class="close"><img src="/kms-asset/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>
					<?php 
    echo KMS::Session()->path('ua.message.text');
    ?>
				</div>
			</div>
			<?php 
}
?>

			<?php 
echo form::open(Route::url('kms-action', array('action' => 'profile_edit')));
?>
				<fieldset>
					<p>
						<label>Username</label>
						<input class="text-input large-input" type="text" id="large-input" name="username" value="<?php 
echo arr::get($profile, 'username');
?>
" />
					</p>
					<p>
						<label>First Name</label>
						<input class="text-input large-input" type="text" id="large-input" name="first_name" value="<?php 
echo arr::get($profile, 'first_name');
?>
" />
Example #28
0
						</div>
					<?php 
print form::close();
?>
				</div>
				
				<div class="tabs">
					<!-- tabset -->
					<a name="add"></a>
					<ul class="tabset">
						<li><a href="#" class="active">Add/Edit</a></li>
					</ul>
					<!-- tab -->
					<div class="tab">
						<?php 
print form::open(NULL, array('id' => 'orgMain', 'name' => 'orgMain'));
?>
						<input type="hidden" id="organization_id" 
							name="organization_id" value="<?php 
echo $form['organization_id'];
?>
" />
						<input type="hidden" name="action" 
							id="action" value="a"/>							
						<div class="tab_form_item2">
							<strong>Organization Name:</strong><br />
							<?php 
print form::input('organization_name', $form['organization_name'], ' class="text long"');
?>
						</div>
						<div class="tab_form_item2">
Example #29
0
<div id="payment">

	<h1 class="intro">Want to make a payment on an invoice? You can pay with Google Checkout or PayPal right here.<br/>
		For other payment options, please <?php 
echo HTML::mailto('*****@*****.**', 'email me');
?>
.</h1>

	<?php 
echo form::open(NULL);
?>

		<?php 
include Kohana::find_file('views', 'template/errors');
?>

		<p>I would like to pay
			$<?php 
echo form::input('amount', $post['amount']);
?>
 on invoice
			#<?php 
echo Form::input('invoice', $post['invoice']);
?>
 using:</p>

		<ul class="gateway">
			<li><label><?php 
echo Form::radio('gateway', 'paypal', $post['gateway'] === 'paypal');
?>
 <?php 
Example #30
0
						<h3><?php 
    echo Kohana::lang('ui_main.category_has_been');
    ?>
 <?php 
    echo $form_action;
    ?>
!</h3>
					</div>
				<?php 
}
?>
				
				<!-- report-table -->
				<div class="report-form">
					<?php 
print form::open(NULL, array('id' => 'blockListing', 'name' => 'blockListing'));
?>
						<input type="hidden" name="action" id="action" value="">
						<input type="hidden" name="block" id="block" value="">
						<div class="table-holder">
							<table class="table" id="blockSort">
								<thead>
									<tr class="nodrag">
										<th class="col-1">&nbsp;</th>
										<th class="col-2"><?php 
echo Kohana::lang('ui_admin.blocks');
?>
</th>
										<th class="col-3">&nbsp;</th>
										<th class="col-4"><?php 
echo Kohana::lang('ui_main.actions');