Incorporate version into description. Put version, and author link beneath description (possibly incorporate other meta here).

git-svn-id: https://develop.svn.wordpress.org/trunk@11368 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-05-16 19:45:31 +00:00
parent 0bba629ff5
commit c8f9570ff9
1 changed files with 5 additions and 4 deletions

View File

@ -326,7 +326,6 @@ function print_plugins_table($plugins, $context = '') {
<tr> <tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" /></th> <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>
<th scope="col" class="manage-column"><?php _e('Plugin'); ?></th> <th scope="col" class="manage-column"><?php _e('Plugin'); ?></th>
<th scope="col" class="manage-column num"><?php _e('Version'); ?></th>
<th scope="col" class="manage-column"><?php _e('Description'); ?></th> <th scope="col" class="manage-column"><?php _e('Description'); ?></th>
</tr> </tr>
</thead> </thead>
@ -335,7 +334,6 @@ function print_plugins_table($plugins, $context = '') {
<tr> <tr>
<th scope="col" class="manage-column check-column"><input type="checkbox" /></th> <th scope="col" class="manage-column check-column"><input type="checkbox" /></th>
<th scope="col" class="manage-column"><?php _e('Plugin'); ?></th> <th scope="col" class="manage-column"><?php _e('Plugin'); ?></th>
<th scope="col" class="manage-column num"><?php _e('Version'); ?></th>
<th scope="col" class="manage-column"><?php _e('Description'); ?></th> <th scope="col" class="manage-column"><?php _e('Description'); ?></th>
</tr> </tr>
</tfoot> </tfoot>
@ -381,8 +379,11 @@ function print_plugins_table($plugins, $context = '') {
} }
echo '</div>'; echo '</div>';
echo "</td> echo "</td>
<td class='vers'>{$plugin_data['Version']}</td> <td class='desc'><p>{$plugin_data['Description']}</p>";
<td class='desc'><p>{$plugin_data['Description']}"; if ( !empty($plugin_data['Version']) ) {
printf(__('Version: %s'), $plugin_data['Version']);
echo ' ';
}
if ( !empty($plugin_data['Author']) ) { if ( !empty($plugin_data['Author']) ) {
$author = $plugin_data['Author']; $author = $plugin_data['Author'];
if ( !empty($plugin_data['AuthorURI']) ) if ( !empty($plugin_data['AuthorURI']) )