| 1 |
<?php |
<?php |
| 2 |
// $Id: plugin_manager.admin.inc,v 1.52.2.80.2.1 2009/01/31 05:52:14 joshuarogers Exp $ |
// $Id: plugin_manager.admin.inc,v 1.52.2.80.2.2 2009/01/31 23:06:16 joshuarogers Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 484 |
drupal_add_css(drupal_get_path("module", "plugin_manager") ."/plugin_manager_search.css", 'module'); |
drupal_add_css(drupal_get_path("module", "plugin_manager") ."/plugin_manager_search.css", 'module'); |
| 485 |
|
|
| 486 |
$form[] = array( |
$form[] = array( |
| 487 |
'#prefix' => '<div class="pm-term-header">', |
'#prefix' => '<div class="pm-header">', |
| 488 |
'#value' => t('Categories:'), |
'#value' => '<div class="pm-term-header">'. t('Categories:') .'</div><a href="javascript:void(0);" onclick="pm_unclick();"><span class="pm-term-uncheck"></span></a><a href="javascript:void(0);" onclick="javascript:pm_check();"><span class="pm-term-check"></span></a>', |
| 489 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 490 |
); |
); |
| 491 |
|
|
| 499 |
); |
); |
| 500 |
|
|
| 501 |
while ($row = db_fetch_array($result)) { |
while ($row = db_fetch_array($result)) { |
| 502 |
|
$term = $row['term']; |
| 503 |
$form[] = array( |
$form[] = array( |
| 504 |
'#type' => 'checkbox', |
'#type' => 'checkbox', |
| 505 |
'#title' => $row['term'], |
'#title' => $term, |
| 506 |
'#prefix' => '<div class="pm-term-chooser">', |
'#name' => 'category', |
| 507 |
|
'#prefix' => '<div class="pm-term-chooser" id="pm-category-'. $term .'">', |
| 508 |
'#suffix' => '</div>', |
'#suffix' => '</div>', |
| 509 |
); |
); |
| 510 |
} |
} |