Changeset 3034 for plugins/contribute/index.php
- Timestamp:
- 05/14/11 23:43:45 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/contribute/index.php
r2940 r3034 45 45 46 46 $settings->put('contribute_help', 47 base64_encode($_POST['contribute_help']),' String','Help');47 base64_encode($_POST['contribute_help']),'string','Help'); 48 48 $settings->put('contribute_default_post', 49 49 $_POST['contribute_default_post'],'integer','Default post'); … … 346 346 __('My Meta')); 347 347 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')); 357 349 ?> 358 350 </label> … … 360 352 361 353 <?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')) 365 355 { 366 356 $mymeta = new myMeta($core);
Note: See TracChangeset
for help on using the changeset viewer.