Make WordPress Core

Ticket #4498: plugins.php.diff

File plugins.php.diff, 769 bytes (added by strider72, 18 years ago)
Line 
1107,111c107
2<               <?php
3<                       $colCount = 2;
4<                       if ( current_user_can('edit_plugins') ) { $colCount = 3; }
5<                       echo "          <th style=\"text-align: center;\" colspan=\"$colCount\">" . __('Action') . "</th>";
6<               ?>
7---
8>               <th style="text-align: center"<?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
9142,149d137
10<                       
11<               if ("" != $plugin_data['Options'])
12<                       if (!empty($current_plugins) && in_array($plugin_file, $current_plugins))
13<                               $options = "<a href=\"{$plugin_data['Options']}\">Configure</a>";
14<                       else
15<                               $options = "<span style=\"color: gray;\" title=\"To access settings you must first activate this plugin\">Configure</span>";
16<               else
17<                       $options = "";
18156d143
19<               <td class='opt'>$options</td>