Show
Ignore:
Timestamp:
09/03/08 15:46:58 (4 months ago)
Author:
MattRead
Message:

plugin:plugin_directory moving guid under title and removing silos

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/plugin_directory/trunk/plugin_directory.plugin.php

    r883 r886  
    146146    { 
    147147        if ( $form->content_type->value == Post::type('plugin') ) { 
     148            // remove silos we don't need them, do we? 
     149            $form->remove($form->silos); 
     150             
     151            // add guid after title 
     152            $guid = $form->append('text', 'plugin_details_guid', 'null:null', 'GUID'); 
     153            $guid->value = $post->info->guid; 
     154            $guid->template = 'admincontrol_text'; 
     155            $form->move_after($form->plugin_details_guid, $form->title); 
     156                 
    148157            // todo Remove the settings tab, as it's not needed 
    149158            $plugin_details = array( 
    150159                'url' => $post->info->url, 
    151160                'screenshot' => $post->info->screenshot, 
    152                 'guid' => $post->info->guid, 
    153161                'author' => $post->info->author, 
    154162                'author_url' => $post->info->author_url,