Changeset 26

Show
Ignore:
Timestamp:
03/06/07 15:22:42 (2 years ago)
Author:
pdingle
Message:

Fixed typo from last revision in the version compare statement in infocard-post.php, fixed typo in doctype declaration in login.php and infocard-submit.php, and added a user agent debug line in infocard-submit.php

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-infocard/login/infocard-submit.php

    r20 r26  
    1 <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    22<?php 
    33 
     
    2828// this only happens in the case of account validation. 
    2929$clickback = $_SERVER['QUERY_STRING']; 
     30 
    3031$netAgent = InfocardLogin::getNetAgent(); 
     32$userAgent = $_SERVER['HTTP_USER_AGENT']; 
    3133 
    3234InfocardUtils::printDebug("This site is under maintenance - anything is possible<br/>" 
     
    3436        . "View the page source to see the object.<br/>"); 
    3537 
    36 InfocardUtils::printDebug("Net Agent: $netAgent"); 
     38InfocardUtils::printDebug("Net Agent: $netAgent<br/>\n"); 
     39InfocardUtils::printDebug("User Agent: $userAgent<br/>\n"); 
    3740 
    3841?> 
  • trunk/wp-infocard/login/login.php

    r20 r26  
    1 <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    22<?php 
    33//////////////////////////////////////////////////////// 
  • trunk/wp-infocard/processing/infocard-post.php

    r25 r26  
    99include_once( dirname(__FILE__) . "/../class.infocard-basic.php"); 
    1010include_once("class.infocard-processing.php"); 
    11 if (version_compare($wp_version, '2.1', '>=') 
     11if (version_compare($wp_version, '2.1', '>=')) 
    1212{ 
    1313        include_once(ABSPATH . WPINC . "/pluggable.php");