Changeset 96

Show
Ignore:
Timestamp:
08/01/07 12:45:59 (1 year ago)
Author:
pdingle
Message:

fixed issues with printTitle vs. getTitle

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/TRY-PD-phpInfoCard/wp-infocard/wp/clickback.pw.php

    r95 r96  
    104104                $clickbackUrl = PW_SECUREPLUGINURL . "/" . PW_PLUGIN . "/login/infocard-clickback.php?clickbackID=" . $clickbackID; 
    105105 
    106                 $message  = sprintf('Please complete your registration at %s by opening the link below.', pw_utils::printTitle()) . "\r\n\r\n"; 
     106                $message  = sprintf('Please complete your registration at %s by opening the link below.', pw_utils::getTitle()) . "\r\n\r\n"; 
    107107                $message .= $clickbackUrl."\r\n\r\nThanks\r\n"; 
    108108                        // sendEmail: to-address, subject, body 
  • branches/TRY-PD-phpInfoCard/wp-infocard/wp/login/infocard-clickback.php

    r67 r96  
    4141  <div id="pw_login_main"> 
    4242        <div id="pw_login_header"> 
    43                 <h1><?php pw_utils::screenPrint('Verify your account at: ') . pw_utils::printTitle(); ?></h1> 
     43                <h1><?php pw_utils::screenPrint('Verify your account at: ' . pw_utils::getTitle()); ?></h1> 
    4444        </div> 
    4545        <div id="pw_login_links"> 
  • branches/TRY-PD-phpInfoCard/wp-infocard/wp/login/infocard-login.php

    r63 r96  
    3434  <div id="pw_login_main"> 
    3535        <div id="pw_login_header"> 
    36                 <h1><?php pw_utils::screenPrint('Information Card Login: ') . pw_utils::printTitle(); ?></h1> 
     36                <h1><?php pw_utils::screenPrint('Information Card Login: ' . pw_utils::getTitle()); ?></h1> 
    3737        </div> 
    3838        <div id="pw_login_links"> 
  • branches/TRY-PD-phpInfoCard/wp-infocard/wp/utils.pw.php

    r66 r96  
    6363                } 
    6464        } // end function printTitle 
     65 
     66        /* 
     67                Function:       getTitle 
     68                Description:    returns the site title 
     69                Input:          none 
     70                Output:         string representing the title 
     71                Side Effects:   none 
     72        */ 
     73        function getTitle() 
     74        { 
     75                if ( function_exists('get_settings') ) 
     76                        return get_settings('blogname'); 
     77                else 
     78                        return PW_SECURESITEURL; 
     79        } // end function getTitle 
    6580 
    6681         function printHomeLink(){