Log in with username/password: lyceum/lyceum

Changeset 690

Show
Ignore:
Timestamp:
04/19/06 23:04:15 (2 years ago)
Author:
jjb
Message:

ticket:379

changed double quotes to single quotes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/lyceum/wp-admin/post.php

    r666 r690  
    112112 
    113113   if ($_POST['save']) { 
    114       $location = "post.php?token=".formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID";//might not be ideal for all cases -jjb 
     114      $location = 'post.php?token='.formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID";//might not be ideal for all cases -jjb 
    115115//    $location = $_SERVER['HTTP_REFERER']; 
    116116   } elseif ($_POST['updatemeta']) { 
    117       $location = "post.php?token=".formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID&message=2#postcustom";//might not be ideal for all cases -jjb 
     117      $location = 'post.php?token='.formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID&message=2#postcustom";//might not be ideal for all cases -jjb 
    118118//    $location = $_SERVER['HTTP_REFERER'] . '&message=2#postcustom'; 
    119119   } elseif ($_POST['deletemeta']) { 
    120       $location = "post.php?token=".formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID&message=3#postcustom";//might not be ideal for all cases -jjb 
     120      $location = 'post.php?token='.formtoken('post.php','edit',$post_ID)."&action=edit&post=$post_ID&message=3#postcustom";//might not be ideal for all cases -jjb 
    121121//    $location = $_SERVER['HTTP_REFERER'] . '&message=3#postcustom'; 
     122   } elseif ($_POST['submit']) { 
     123      $location = 'post.php?message=1'; 
    122124   } elseif (isset($_POST['referredby']) && $_POST['referredby'] != $_SERVER['HTTP_REFERER']) { 
    123125      $location = $_POST['referredby']; 
Log in with username/password: lyceum/lyceum