Ejemplo n.º 1
0
<?php

echo Ext::form_begin();
?>

<?php 
echo $form->render();
?>

<?php 
echo Ext::buttons_begin();
echo Ext::submit('submit', 'Ответить', 'Вы уверены?');
echo Ext::buttons_end();
?>

<?php 
echo Ext::form_end();
Ejemplo n.º 2
0
<?php

defined('SYSPATH') or die('No direct script access.');
/**
 * @version SVN: $Id:$
 */
echo Navigation::instance()->actions();
echo Ext::form_begin(NULL, array('method' => 'GET'));
echo $filter_form->render();
echo Ext::buttons_begin();
?>
<p>
    <?php 
echo Ext::submit('filter', 'Фильтр');
?>
    <?php 
echo Ext::submit('cancel_filter', 'Очистить', NULL, array('ResetButton' => true));
?>
</p>
<?php 
echo Ext::buttons_end();
echo Ext::form_end();
echo $grid;
Ejemplo n.º 3
0
<?php

defined('SYSPATH') or die('No direct script access.');
/**
 * @version SVN: $Id:$
 */
echo Ext::form_begin(NULL, array('method' => 'POST'));
$form->get_field('password')->set_attributes(array('style' => 'width:150px;'));
$form->get_field('password_confirm')->set_attributes(array('style' => 'width:150px;'));
echo $form->render();
echo Ext::buttons_begin();
echo Ext::submit('submit', 'Сменить пароль');
echo Ext::buttons_end();
echo Ext::form_end();
Ejemplo n.º 4
0
<?php

defined('SYSPATH') or die('No direct script access.');
/**
 * @version SVN: $Id:$
 */
?>
<div id="controller" style="display: none;"><?php 
echo trim(Request::initial()->controller());
?>
</div>
<?php 
if ($filter_form) {
    echo Ext::form_begin(NULL, array('method' => 'GET'));
    echo $filter_form->render();
    echo Ext::buttons_begin();
    ?>
<p>
	<?php 
    echo Ext::submit('filter', 'Фильтр', null, array('class' => 'btn-primary'));
    ?>
	<?php 
    echo Ext::submit('filter_cancel', 'Очистить', null, array('class' => 'btn-primary'));
    ?>
</p>
<?php 
    echo Ext::buttons_end();
    echo Ext::form_end();
}
echo Navigation::instance()->actions();
echo $grid;
Ejemplo n.º 5
0
<?php

defined('SYSPATH') or die('No direct script access.');
/**
 * @version SVN: $Id:$
 */
echo Ext::form_begin(NULL, array('method' => 'POST'));
echo $form->render();
if ($write_allowed) {
    echo Ext::spacer();
    echo Ext::buttons_begin();
    ?>
<p><?php 
    echo Ext::submit('submit', '<i class="fa fa-save"></i> Сохранить', null, array('class' => 'btn btn-success'));
    ?>
 <?php 
    echo Ext::submit('cancel', '<i class="fa fa-times-circle"></i> Отмена', null, array('class' => 'btn btn-danger'));
    ?>
</p>
<?php 
    echo Ext::buttons_end();
}
echo Ext::form_end();
Ejemplo n.º 6
0
<?php

defined('SYSPATH') or die('No direct script access.');
foreach ($submits as $submit) {
    echo Ext::submit($submit['name'], $submit['value']);
}
Ejemplo n.º 7
0
<?php

defined('SYSPATH') or die('No direct script access.');
/**
 * @version SVN: $Id:$
 */
echo Ext::form_begin(NULL, array('method' => 'POST'));
echo form::hidden('return_location', $return_location);
echo $form->render();
echo Ext::buttons_begin();
?>
<p><?php 
echo Ext::submit('submit', 'Сохранить');
?>
 <?php 
echo Ext::submit('cancel', 'Отмена');
?>
</p>
<?php 
echo Ext::buttons_end();
echo Ext::form_end();
Ejemplo n.º 8
0
<?php

defined('SYSPATH') or die('No direct script access.');
/**
 * @version SVN: $Id:$
 */
echo Ext::form_begin(NULL, array('method' => 'POST'));
$form->get_field('email')->set_attributes(array('style' => 'width:150px;'));
echo $form->render();
echo Ext::buttons_begin();
echo Ext::submit('submit', 'Отправить инструкции на почту');
echo Ext::buttons_end();
echo Ext::form_end();