Ignore:
Timestamp:
Dec 8, 2010, 1:53:36 PM (13 years ago)
Author:
patdenice
Message:

Display corrected in IE8.
Add theme interface select in admin pannel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/captcha/maintain.inc.php

    r8030 r8034  
    1616}
    1717
     18function plugin_activate()
     19{
     20  global $conf;
     21
     22  if (!isset($conf['captcha_theme']))
     23  {
     24    $q = '
     25INSERT INTO '.CONFIG_TABLE.' (param,value,comment)
     26  VALUES
     27  ("captcha_theme","red","Captcha theme")
     28;';
     29    pwg_query($q);
     30  }
     31}
     32
    1833
    1934function plugin_uninstall()
    2035{
    21   foreach (array('captcha_publickey','captcha_privatekey') as $param)
     36  foreach (array('captcha_publickey','captcha_privatekey', 'captcha_theme') as $param)
    2237  {
    2338    $q = '
Note: See TracChangeset for help on using the changeset viewer.