Changeset 1023
- Timestamp:
- 11/20/05 21:27:39 (3 years ago)
- Location:
- trunk/rss
- Files:
-
- 3 modified
-
dbstruct.sql (modified) (1 diff)
-
plugins/newwindow.php (modified) (2 diffs)
-
util.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rss/dbstruct.sql
r1020 r1023 155 155 156 156 INSERT INTO cache (cachekey,timestamp,cachetype,data) VALUES ('data_ts',now(),'ts',null); 157 158 159 160 CREATE 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; 171 INSERT INTO users (uname,password,ulevel,realname) VALUES ('admin','',99,'Administrator'); -
trunk/rss/plugins/newwindow.php
r984 r1023 30 30 /// Author: Marco Bonetti 31 31 /// Description: When active, this plugin will open off-site links in a new window 32 /// Version: 1. 732 /// Version: 1.8 33 33 34 34 function __new_window_js_register($js) { … … 47 47 48 48 if (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'); 52 52 53 53 ?> -
trunk/rss/util.php
r1022 r1023 946 946 } 947 947 948 948 /* 949 // Deprecated in favor of the new core.php functionalities 949 950 function ETagHandler($key) { 950 951 // This function should be used inline for speed. However if you have already … … 960 961 } 961 962 } 962 963 */ 963 964 //these two eval_ functions taken from the comments at http://us3.php.net/eval 964 965
