Exemple #1
0
</h4>

<form action="<?php 
echo url_for('aFeedback/feedback');
?>
" method="post" enctype="multipart/form-data" id="a-feedback-form" class="a-ui a-feedback-form clearfix">
	
	<?php 
echo $form;
?>

	<div class="a-form-row submit">
		<ul class="a-ui a-controls">
			<li>
				<?php 
echo a_submit_button('Submit Feedback');
?>
			</li>
			<li> 
				<?php 
echo a_button('<span class="icon"></span>' . a_('Cancel'), $form['section']->getValue() ? $form['section']->getValue() : '#cancel', array('icon a-cancel'), 'a-feedback-form-cancel-button');
?>
			</li>
		</ul>
	</div>

</form>

<?php 
if ($sf_request->isXmlHttpRequest()) {
    ?>
Exemple #2
0
?>
  
	<?php 
if ($create) {
    ?>
		</div>
	<?php 
}
?>

	<hr/>

	<div class="a-options-section submit-settings clearfix">
		<ul class="a-ui a-controls">		
		  <li><?php 
echo a_submit_button(htmlspecialchars(__($page->isNew() ? 'Create Page' : 'Save Changes', null, 'apostrophe')), array('big'), $stem . '-submit', $stem . '-submit');
?>
</li>
			<li><?php 
echo a_js_button(a_('Cancel'), array('icon', 'a-cancel', 'alt', 'a-options-button', 'big'));
?>
</li>
			<?php 
if (!$page->isNew() && $page->userHasPrivilege('delete')) {
    ?>
				<?php 
    $childMessage = '';
    ?>
				<?php 
    if ($page->hasChildren()) {
        $childMessage = __("This page has children that will also be deleted. ", null, 'apostrophe');