| 1 |
<?php |
<?php |
| 2 |
// $Id: fivestar.color.inc,v 1.1 2009/05/11 04:25:09 quicksketch Exp $ |
// $Id: fivestar.color.inc,v 1.2 2009/07/01 01:16:09 quicksketch Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 53 |
*/ |
*/ |
| 54 |
function fivestar_color_form() { |
function fivestar_color_form() { |
| 55 |
$form = array( |
$form = array( |
|
'#submit' => array('fivestar_color_form_submit'), |
|
| 56 |
'#tree' => FALSE, |
'#tree' => FALSE, |
| 57 |
'#theme' => 'fivestar_color_form', |
'#theme' => 'fivestar_color_form', |
| 58 |
'#type' => 'fieldset', |
'#type' => 'fieldset', |
| 142 |
* Theme color form. |
* Theme color form. |
| 143 |
*/ |
*/ |
| 144 |
function theme_fivestar_color_form($form) { |
function theme_fivestar_color_form($form) { |
| 145 |
if ($form['#access'] == FALSE) { |
if (isset($form['#access']) && $form['#access'] == FALSE) { |
| 146 |
return ''; |
return ''; |
| 147 |
} |
} |
| 148 |
|
|