Changeset 324

Show
Ignore:
Timestamp:
08/21/03 14:59:39 (5 years ago)
Author:
saxmatt
Message:

Get siteurl when posting form.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/b2-include/b2template.functions.php

    r323 r324  
    591591    if (!empty($post->post_password)) { // if there's a password 
    592592        if ($HTTP_COOKIE_VARS['wp-postpass'] != $post->post_password) {  // and it doesn't match the cookie 
    593             $output = "<form action='$siteurl/wp-pass.php' method='post'> 
     593            $output = "<form action='" . get_settings('siteurl') . "/wp-pass.php' method='post'> 
    594594            <p>This post is password protected. To view it please enter your password below:</p> 
    595595            <p><label>Password: <input name='post_password' type='text' size='20' /></label> <input type='submit' name='Submit' value='Submit' /></p>