/[drupal]/contributions/modules/plugin_manager/plugin_manager.admin.inc
ViewVC logotype

Diff of /contributions/modules/plugin_manager/plugin_manager.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.52.2.80.2.2, Sat Jan 31 23:06:16 2009 UTC revision 1.52.2.80.2.3, Sun Feb 1 00:19:52 2009 UTC
# Line 1  Line 1 
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
# Line 484  function plugin_manager_form(){ Line 484  function plugin_manager_form(){
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    
# Line 499  for ($i = 0; $i < 10; $i ++) { Line 499  for ($i = 0; $i < 10; $i ++) {
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    }    }

Legend:
Removed from v.1.52.2.80.2.2  
changed lines
  Added in v.1.52.2.80.2.3

  ViewVC Help
Powered by ViewVC 1.1.2