Changeset 1023

Show
Ignore:
Timestamp:
11/20/05 21:27:39 (3 years ago)
Author:
mbonetti
Message:

removed more unused funcitons, updated a plugin, updated dbstruct

Location:
trunk/rss
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/rss/dbstruct.sql

    r1020 r1023  
    155155 
    156156INSERT INTO cache (cachekey,timestamp,cachetype,data) VALUES ('data_ts',now(),'ts',null); 
     157 
     158 
     159 
     160CREATE TABLE  users  ( 
     161    uid bigint(16) NOT NULL auto_increment, 
     162    uname varchar(255) NOT NULL,             
     163    password varchar(255) NOT NULL,                  
     164    ulevel bigint(11) NOT NULL default '1',                  
     165    realname varchar(255) default NULL,                              
     166    lastip varchar(255) default NULL,                                                
     167    lastlogin datetime NULL default '0000-00-00 00:00:00', 
     168    PRIMARY KEY  (uid), 
     169    KEY (uname) 
     170) TYPE=MyISAM;  
     171INSERT INTO  users  (uname,password,ulevel,realname) VALUES ('admin','',99,'Administrator'); 
  • trunk/rss/plugins/newwindow.php

    r984 r1023  
    3030/// Author: Marco Bonetti 
    3131/// Description: When active, this plugin will open off-site links in a new window 
    32 /// Version: 1.7 
     32/// Version: 1.8 
    3333 
    3434function __new_window_js_register($js) { 
     
    4747 
    4848if (isset($_REQUEST['nwjs'])) { 
    49  
    50     require_once('../util.php'); 
    51     ETagHandler(md5("newwindow".'$Revision$')); 
     49     require_once('../core.php'); 
     50     rss_bootstrap(false,'$Revision$',24); 
     51    require_once('../init.php'); 
    5252     
    5353    ?> 
  • trunk/rss/util.php

    r1022 r1023  
    946946} 
    947947 
    948  
     948/* 
     949// Deprecated in favor of the new core.php functionalities 
    949950function ETagHandler($key) { 
    950951    // This function should be used inline for speed. However if you have already 
     
    960961    } 
    961962} 
    962  
     963*/ 
    963964//these two eval_ functions taken from the comments at http://us3.php.net/eval 
    964965