Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $form = new Form();
- $form->addSubmit('submit', $this->basePath . '/img/buttons/cz/button_in_cart_big_new.gif')
- ->setAttribute("title", "vložení do košíku")
- ->setAttribute("alt", "vložení do košíku");
- $vybratBtn = $form['submit']->getControlPrototype();
- $vybratBtn->setName("button");
- $vybratBtn->type = 'submit';
- $vybratBtn->create('i class="fa fa-shopping-cart"');
- $vybratBtn->add(' Koupit');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement