1 | 107,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> |
---|
9 | 142,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 = ""; |
---|
18 | 156d143 |
---|
19 | < <td class='opt'>$options</td> |
---|