Changeset 130

Show
Ignore:
Timestamp:
04/20/08 13:30:00 (3 months ago)
Author:
root
Message:

1.5.1 started

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/action.php

    r124 r130  
    22// action.php -- perform an action that renders an output to the browser 
    33 
    4 //force browser to disable caching to make action.php dynamic 
    5 header("Cache-Control: no-cache, must-revalidate");     // HTTP/1.1 
    6 header("Expires: Mon, 22 Jun 2007 05:00:00 GMT");       // Date in the past 
     4//force browser to disable caching to make action.php work as an ajax request 
     5header("Expires: Fri, 22 Jun 2007 05:00:00 GMT"); // Date in the past 
     6header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // always modified 
     7// HTTP/1.1 
     8header('Cache-Control: no-store, no-cache, must-revalidate'); 
     9header('Cache-Control: post-check=0, pre-check=0', false); 
    710//#debug... 
    811//error_reporting(E_ALL | E_STRICT);    //debug, E_STRICT=php5 only 
    912//ini_set('display_errors','On');       //debug 
     13//echo "\n"; //debug 
    1014 
    1115//#check for required files and include them 
     
    2024                include_once(ABSPATH.'wp-config.php'); 
    2125        } else { 
    22                 echo '<span style="font-color:red;">Action.php '.__("ERROR: file not found","wassup").', '.ABSPATH.'wp-config.php</span>'; 
     26                echo '<span style="font-color:red;">Action.php '.__('ERROR: file not found','wassup').', '.ABSPATH.'wp-config.php</span>'; 
    2327                exit(); 
    2428        } 
  • trunk/wassup.php

    r129 r130  
    537537        ?> 
    538538                        <div class="sum"> 
    539                         <span class="sum-box"><?php if ($numurl >= 2) { ?><a  href="#" class="showhide" id="<?php echo $cv->id ?>"><?php print $ip[0]; ?></a><? } else { ?><?php print $ip[0]; ?><?php } ?></span> 
     539                        <span class="sum-box"><?php if ($numurl >= 2) { ?><a  href="#" class="showhide" id="<?php echo $cv->id ?>"><?php print $ip[0]; ?></a><?php } else { ?><?php print $ip[0]; ?><?php } ?></span> 
    540540                        <div class="sum-det"><span class="det1"> 
    541541                        <?php 
     
    964964                </p> 
    965965 
    966                         <span class="sum-box"><?php if ($numurl >= 2) { ?><a  href="#" class="showhide" id="<?php echo $rk->id ?>"><?php print $ip[0]; ?></a><? } else { ?><?php print $ip[0]; ?><?php } ?></span> 
     966                        <span class="sum-box"><?php if ($numurl >= 2) { ?><a  href="#" class="showhide" id="<?php echo $rk->id ?>"><?php print $ip[0]; ?></a><?php } else { ?><?php print $ip[0]; ?><?php } ?></span> 
    967967                        <span class="sum-date"><?php print $datetimeF; ?></span> 
    968968                        <div class="sum-det"><span class="det1">