root/trunk/lib/helper/ButtonHelper.php

Revision 2, 306 bytes (checked in by nperriault, 8 months ago)

First commit of the extracted code from production, I hope no passwd has been forgotten :-)

Line 
1 <?php
2 /**
3  * Render a big button
4  *
5  */
6 function big_button_to($name = '', $internal_uri = '', $options = array())
7 {
8   $options = _parse_attributes($options);
9   $options['class'] = isset($options['class']) ? $options['class'].' bigbutton' : 'bigbutton';
10   return link_to($name, $internal_uri, $options);
11 }
12
Note: See TracBrowser for help on using the browser.