Ignore:
Timestamp:
Apr 29, 2012, 5:04:37 PM (12 years ago)
Author:
mistic100
Message:

update for 2.4
deactivated for smartpocket, now compatible with simple and stripped on ContactForm
live update of preview on admin page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/CryptograPHP/main.inc.php

    r12619 r14527  
    2828  global $conf, $user;
    2929 
     30  // brace yourself, smartphones spammers are comming !
     31  if ($user['theme'] == 'smartpocket') return;
     32 
    3033  $conf['cryptographp'] = unserialize($conf['cryptographp']);
    31   load_language('plugin.lang', CRYPTO_PATH);
    3234 
    3335  if (script_basename() == 'register')
     
    3941    include(CRYPTO_PATH.'include/picture.inc.php');
    4042  }
    41   // because of ContactForm specificities, Captcha can't be displayed on these themes
    42   else if ( isset($_GET['/contact']) and strstr($user['theme'], 'simple') === false and strstr($user['theme'], 'stripped') === false )
     43  else if (isset($_GET['/contact']))
    4344  {
    4445    include(CRYPTO_PATH.'include/contactform.inc.php');
Note: See TracChangeset for help on using the changeset viewer.