Changeset 1385

Show
Ignore:
Timestamp:
11/30/08 06:54:22 (6 weeks ago)
Author:
ayunyan
Message:

plugin:amazon added transparent class to container

Location:
plugins/amazon/trunk
Files:
2 modified

Legend:

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

    r970 r1385  
    180180            'license' => 'Apache License 2.0', 
    181181            'description' => 'easily/quickly insert Amazon Products into your posts.', 
     182            'guid' => '4c91ed13-1fcd-11dd-b5d6-001b210f913f' 
    182183            ); 
    183184    } 
     
    194195        if ( Plugins::id_from_file( $file ) != Plugins::id_from_file( __FILE__ ) ) return; 
    195196 
    196         Options::set( 'amazon__country',  'com' ); 
    197         Options::set( 'amazon__associate_tag', '' ); 
    198         Options::set( 'amazon__template', 'reviewsummary' ); 
     197        Options::set('amazon__country',  'com'); 
     198        Options::set('amazon__associate_tag', ''); 
     199        Options::set('amazon__template', 'reviewsummary'); 
    199200    } 
    200201 
     
    218219    public function action_update_check() 
    219220    { 
    220         Update::add( 'Amazon', '4c91ed13-1fcd-11dd-b5d6-001b210f913f', $this->info->version ); 
     221        Update::add($this->info->name, $this->info->guid, $this->info->version); 
    221222    } 
    222223 
     
    248249            $form->append( 'text', 'associate_tag', 'amazon__associate_tag', _t('Associate Tag: ', 'amazon') ); 
    249250            $form->append( 'select', 'template', 'amazon__template', _t('Template: ', 'amazon'), $templates); 
    250             $form->append( 'submit', 'save', _t( 'Save' ) ); 
     251            $form->append( 'submit', 'save', _t( 'Save' ) ); 
    251252            $form->out(); 
    252253        } 
  • plugins/amazon/trunk/js/amazon.js

    r1269 r1385  
    4747                } 
    4848                nav += '</div>'; 
    49                 html += '<div class="container">' + nav; 
     49                html += '<div class="container transparent">' + nav; 
    5050        $( result.Items ).each( function() { 
    5151            html += '<div style="float: left; width: 80px;">'; 
     
    8888    }, 
    8989    startSpinner: function() { 
    90         $('#amazon-result').html('<div class="container">Searching...</div>'); 
     90        $('#amazon-result').html('<div class="container transparent">Searching...</div>'); 
    9191    }, 
    9292    stopSpinner: function () {