/[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.32, Wed Oct 1 01:45:55 2008 UTC revision 1.52.2.33, Wed Oct 1 02:13:38 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: plugin_manager.admin.inc,v 1.52.2.31 2008/10/01 01:15:47 jabapyth Exp $  // $Id: plugin_manager.admin.inc,v 1.52.2.32 2008/10/01 01:45:55 jabapyth Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 82  function plugin_manager_overview_submit( Line 82  function plugin_manager_overview_submit(
82    
83  function plugin_manager_modules_redirect(){  function plugin_manager_modules_redirect(){
84      drupal_set_message("Search for the modules you want to install, add them to your queue, and then install them.");      drupal_set_message("Search for the modules you want to install, add them to your queue, and then install them.");
85      drupal_goto('admin/plugin_manager/search');      drupal_goto('admin/plugin_manager/install/search');
86  }  }
87    
88  function plugin_manager_themes_redirect(){  function plugin_manager_themes_redirect(){
89      drupal_set_message("Search for the themes you want to install, add them to your queue, and then install them.");      drupal_set_message("Search for the themes you want to install, add them to your queue, and then install them.");
90      drupal_goto('admin/plugin_manager/search');      drupal_goto('admin/plugin_manager/install/search');
91  }  }
92    
93  /**  /**
# Line 101  function plugin_manager_browse_form() { Line 101  function plugin_manager_browse_form() {
101    plugin_manager_reload();    plugin_manager_reload();
102    
103    // Get the category that provided.    // Get the category that provided.
104    $category = drupal_substr($_GET['q'], drupal_strlen("admin/plugin_manager/browse/"));    $category = drupal_substr($_GET['q'], drupal_strlen("admin/plugin_manager/install/browse/"));
105    
106    // Get a list of queued changes.    // Get a list of queued changes.
107    $queue = variable_get("plugin_manager_queue", array());    $queue = variable_get("plugin_manager_queue", array());
# Line 123  function plugin_manager_browse_form() { Line 123  function plugin_manager_browse_form() {
123    
124    while ($row = db_fetch_array($result)) {    while ($row = db_fetch_array($result)) {
125      $form['categories'][] = array(      $form['categories'][] = array(
126        '#value' => l($row['tag'], "admin/plugin_manager/browse/". $row['tag']) ."<br />",        '#value' => l($row['tag'], "admin/plugin_manager/install/browse/". $row['tag']) ."<br />",
127      );      );
128    }    }
129    

Legend:
Removed from v.1.52.2.32  
changed lines
  Added in v.1.52.2.33

  ViewVC Help
Powered by ViewVC 1.1.2