Dotclear


Ignore:
Timestamp:
05/14/11 23:43:45 (12 years ago)
Author:
Moe
Message:

Contribute 1.0-alpha32: removed tests for Dotclear < 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/contribute/index.php

    r2940 r3034  
    4545           
    4646          $settings->put('contribute_help', 
    47                base64_encode($_POST['contribute_help']),'String','Help'); 
     47               base64_encode($_POST['contribute_help']),'string','Help'); 
    4848          $settings->put('contribute_default_post', 
    4949               $_POST['contribute_default_post'],'integer','Default post'); 
     
    346346                         __('My Meta')); 
    347347                         echo(' '); 
    348                          if (version_compare(DC_VERSION,'2.2-alpha1','>=')) 
    349                          { 
    350                               printf(__('It requires the %s plugin.'),__('My Meta')); 
    351                          } 
    352                          else 
    353                          { 
    354                               printf(__('It requires the %s and %s plugins.'), 
    355                               __('Metadata'),__('My Meta')); 
    356                          } 
     348                         printf(__('It requires the %s plugin.'),__('My Meta')); 
    357349                    ?> 
    358350                    </label> 
     
    360352                
    361353               <?php 
    362                     if (((version_compare(DC_VERSION,'2.2-alpha1','>=')) 
    363                          OR ($core->plugins->moduleExists('metadata'))) 
    364                          && $core->plugins->moduleExists('mymeta')) 
     354                    if ($core->plugins->moduleExists('mymeta')) 
    365355                    { 
    366356                         $mymeta = new myMeta($core); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map