parent
2b10782d6b
commit
05d08fb0b8
|
@ -137,9 +137,9 @@ class StaticController extends ActionController
|
|||
}
|
||||
|
||||
/**
|
||||
* Set cache header for this resspone
|
||||
* Set cache header for this respone
|
||||
*
|
||||
* @param integer $maxAge The maximum age to set
|
||||
* @param integer $maxAge The maximum age to set
|
||||
*/
|
||||
private function setCacheHeader($maxAge)
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<!-- Make some space at the end of the page -->
|
||||
<div class="panel">
|
||||
<div class="panel-body text-center">
|
||||
Icinga2-Web © 2013 Icinga Team
|
||||
Icinga 2 Web © 2013 Icinga Team
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -567,16 +567,16 @@ class Form extends Zend_Form
|
|||
/**
|
||||
* Add a new element
|
||||
*
|
||||
* Additionally, all DtDd tags will be removed and the Boostrap compatible
|
||||
* BoostrapFormDecorator will be added to the forms
|
||||
* Additionally, all DtDd tags will be removed and the Bootstrap compatible
|
||||
* BootstrapForm decorator will be added to the elements
|
||||
*
|
||||
*
|
||||
* @param string|\Zend_Form_Element $element The element or elementtype to add
|
||||
* @param string $name The name of the element to add if $element is a string
|
||||
* @param array $options The settings for the element if $element is a string
|
||||
* @param string|Zend_Form_Element $element String element type, or an object of type Zend_Form_Element
|
||||
* @param string $name The name of the element to add if $element is a string
|
||||
* @param array $options The settings for the element if $element is a string
|
||||
*
|
||||
* @return Form
|
||||
* @see Zend_Form
|
||||
* @see Zend_Form::addElement()
|
||||
*/
|
||||
public function addElement($element, $name = null, $options = null)
|
||||
{
|
||||
|
@ -607,7 +607,7 @@ class Form extends Zend_Form
|
|||
$decorators = $this->getDecorators();
|
||||
if (empty($decorators)) {
|
||||
$this->addDecorator('FormElements')
|
||||
->addDecorator('Form');
|
||||
->addDecorator('Form');
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
|
|
@ -30,8 +30,8 @@ namespace Icinga\Web\Form\Decorator;
|
|||
|
||||
use Zend_Form_Decorator_Abstract;
|
||||
|
||||
/**
|
||||
* Decorator that styles forms in the DOM boostrap wants for it's forms
|
||||
/**
|
||||
* Decorator that styles forms in the DOM Bootstrap wants for it's forms
|
||||
*
|
||||
* This component replaces the dt/dd wrapping of elements with the approach used by bootstrap.
|
||||
*
|
||||
|
|
|
@ -97,7 +97,7 @@ class SortBox implements Widget
|
|||
/**
|
||||
* Apply the parameters from the given request on this SortBox
|
||||
*
|
||||
* @param Request $request The request to use for populating the form
|
||||
* @param Request $request The request to use for populating the form
|
||||
*/
|
||||
public function applyRequest($request)
|
||||
{
|
||||
|
@ -105,10 +105,11 @@ class SortBox implements Widget
|
|||
}
|
||||
|
||||
/**
|
||||
* Create a submitbutton that is hidden via the @see ConditionalDecorator
|
||||
* in order to allow sorting changes to be sumbitted in a JavaScript-less environment
|
||||
* Create a submit button that is hidden via the ConditionalDecorator
|
||||
* in order to allow sorting changes to be submitted in a JavaScript-less environment
|
||||
*
|
||||
* @return Zend_Form_Element_Submit The submit button that is hidden by default
|
||||
* @return Zend_Form_Element_Submit The submit button that is hidden by default
|
||||
* @see ConditionalDecorator
|
||||
*/
|
||||
private function createFallbackSubmitButton()
|
||||
{
|
||||
|
@ -130,8 +131,9 @@ class SortBox implements Widget
|
|||
* Renders this widget via the given view and returns the
|
||||
* HTML as a string
|
||||
*
|
||||
* @param Zend_View_Abstract $view
|
||||
* @return string
|
||||
* @param Zend_View_Abstract $view
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function render(Zend_View_Abstract $view)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue