Changeset 1321 in ExiteCMS for trunk/includes/comments_include.php


Ignore:
Timestamp:
02/28/08 00:25:43 (4 years ago)
Author:
hverton
Message:

updated the Securimage code
fixed non-working text validation code
moved CMS_getOS() from dns_functions.php to core_functions.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/comments_include.php

    r1315 r1321  
    9191    $variables['post_link'] = $clink; 
    9292    $variables['cic'] = (isset($_GET['cic']) && !empty($_GET['cic'])) ? $_GET['cic'] : ""; 
     93    if ($settings['display_validation'] == "1" && $settings['validation_method'] == "text") { 
     94        require_once PATH_INCLUDES."secureimage-1.0.3/securimage.php"; 
     95        $securimage = new Securimage(); 
     96        $securimage->createCode(); 
     97        $variables['validation_code'] = $_SESSION['securimage_code_value']; 
     98    } 
    9399 
    94100    // define the body panel variables 
Note: See TracChangeset for help on using the changeset viewer.