Exemplo n.º 1
0
 public function __construct()
 {
     $this->addColumn('group', array('label' => $this->__('Group'), 'class' => 'required-entry', 'style' => 'width: 99%'));
     $this->addColumn('regexp', array('label' => $this->__('User Agent RegExp'), 'class' => 'required-entry', 'style' => 'width: 99%'));
     $this->_addButtonLabel = $this->__('Add User Agent');
     parent::__construct();
 }
Exemplo n.º 2
0
 public function __construct()
 {
     $this->addColumn('key', array('label' => $this->__('Label'), 'style' => 'width: 100px', 'class' => 'required-entry'));
     $this->addColumn('value', array('label' => $this->__('IP Rule'), 'style' => 'width: 100px', 'class' => 'required-entry'));
     $this->_addButtonLabel = $this->__('Add Rule');
     parent::__construct();
 }
Exemplo n.º 3
0
 public function __construct()
 {
     $this->addColumn('block_key', array('label' => $this->__('Block Key'), 'class' => 'required-entry', 'style' => 'width: 99%', 'ewhelp' => $this->__('The block key is the key found in the layout files. For example the underlined layout definition is the block key:<br><br> &lt;block type="<u>checkout/cart_sidebar</u>" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-"&gt;')));
     $this->addColumn('tags', array('label' => $this->__('Tags (comma separated)'), 'class' => 'required-entry', 'style' => 'width: 99%', 'ewhelp' => $this->__('Comma separated list of tags')));
     $this->_addButtonLabel = $this->__('Add Block Tags');
     parent::__construct();
 }
 public function __construct()
 {
     $this->addColumn('from_id', array('label' => $this->__('From Customer Group ID'), 'class' => 'required-entry validate-digits', 'style' => 'width: 99%'));
     $this->addColumn('to_id', array('label' => $this->__('To Customer Group ID'), 'class' => 'required-entry validate-digits', 'style' => 'width: 99%'));
     $this->_addButtonLabel = $this->__('Add Translation');
     parent::__construct();
 }
Exemplo n.º 5
0
 public function __construct()
 {
     $this->addColumn('host', array('label' => $this->__('Host'), 'style' => 'width:120px', 'class' => 'required-entry'));
     $this->addColumn('port', array('label' => $this->__('Port'), 'style' => 'width:30px'));
     $this->_addButtonLabel = $this->__('Add Servers');
     parent::__construct();
 }
Exemplo n.º 6
0
 public function __construct()
 {
     $options = array(array('label' => ' ---- ', 'value' => ''), array('label' => $this->__('Product Events'), 'value' => Mage::getSingleton('ewpagecache/adminhtml_config_data_option_autoflushing_productevent')->toFormSelectOptionArray()), array('label' => $this->__('Category Events'), 'value' => Mage::getSingleton('ewpagecache/adminhtml_config_data_option_autoflushing_categoryevent')->toFormSelectOptionArray()), array('label' => $this->__('CMS Events'), 'value' => Mage::getSingleton('ewpagecache/adminhtml_config_data_option_autoflushing_cmsevent')->toFormSelectOptionArray()));
     $this->addColumn('event', array('type' => 'select', 'label' => $this->__('Event'), 'class' => 'required-entry', 'style' => 'width: 99%', 'values' => $options));
     $this->addColumn('tags', array('label' => $this->__('Tags (comma separated)'), 'class' => 'required-entry', 'style' => 'width: 99%', 'ewhelp' => $this->__('Comma separated list of tags')));
     $this->_addButtonLabel = $this->__('Add Tags');
     parent::__construct();
 }
Exemplo n.º 7
0
    public function __construct()
    {
        $this->addColumn('block_key', array('label' => $this->__('Block Key'), 'class' => 'required-entry', 'style' => 'width: 99%', 'ewhelp' => $this->__('The block key is the key found in the layout files. For example the underlined layout definition is the block key:<br><br> &lt;block type="<u>checkout/cart_sidebar</u>" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-"&gt;')));
        $this->addColumn('injector_key', array('label' => $this->__('Injector Key'), 'class' => 'required-entry', 'style' => 'width: 99%', 'ewhelp' => $this->__('The injector key takes one of two formats. The first format is without a "/" and an example is <i>checkout_cart_sidebar</i>. When this format is used,
								then an injector located at <i>app/code/local/Extendware/EWPageCache/Model/Injector/Checkout/Cart/Siderbar.php</i> will be used.</p>
        	')));
        $this->_addButtonLabel = $this->__('Add Injectors');
        parent::__construct();
    }
 public function __construct()
 {
     $this->addColumn('cookie', array('label' => $this->__('Cookie'), 'class' => 'required-entry', 'style' => 'width: 99%'));
     $this->_addButtonLabel = $this->__('Add Disqualifer');
     parent::__construct();
 }
Exemplo n.º 9
0
 public function __construct()
 {
     $this->addColumn('regexp', array('label' => $this->__('URL Filter RegExp'), 'class' => 'required-entry', 'style' => 'width: 99%', 'ewhelp' => $this->__('This must be a valid regular expression with the beginning and ending "/". For example, /admin/. You can read the PHP preg documentation for more information')));
     $this->_addButtonLabel = $this->__('Add Filter');
     parent::__construct();
 }
 public function __construct()
 {
     $this->addColumn('param', array('label' => $this->__('Parameter'), 'class' => 'required-entry', 'style' => 'width: 99%'));
     $this->_addButtonLabel = $this->__('Add Param');
     parent::__construct();
 }