Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
624476fc
authored
2010-04-15 19:47:04 +0000
by
Chris Boden
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed PP bug, added Disabler as svn external, moved scripts to separate directory
1 parent
a8e73e7b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
10 deletions
com/Auth/Auth.php
addEvent.js → scripts/addEvent.js
fireEvent.js → scripts/fireEvent.js
xmlhttpHandler.js → scripts/xmlhttpHandler.js
tz-tools.php
com/Auth/Auth.php
View file @
624476f
...
...
@@ -111,7 +111,6 @@ class Auth_Validation {
self
::
$errors
[]
=
'Password can not be blank'
;
return
false
;
}
self
::
$pass_check
=
$val
;
return
true
;
}
...
...
addEvent.js
→
scripts/
addEvent.js
View file @
624476f
File moved
fireEvent.js
→
scripts/
fireEvent.js
View file @
624476f
File moved
xmlhttpHandler.js
→
scripts/
xmlhttpHandler.js
View file @
624476f
File moved
tz-tools.php
View file @
624476f
...
...
@@ -6,22 +6,19 @@ Description: Various classes and functions to help out with stuff
Author: Tenzing
*/
if
(
version_compare
(
PHP_VERSION
,
'5.2.2'
)
!==
1
)
{
die
(
'PHP version 5.2.2 or greater is required'
);
}
TzTools
::
load
();
TzTools
::
make
();
class
TzTools
{
public
static
function
load
()
{
public
static
function
make
()
{
spl_autoload_register
(
Array
(
__CLASS__
,
'autoloader'
));
require_once
(
dirname
(
__FILE__
)
.
DIRECTORY_SEPARATOR
.
'wp_functions.php'
);
_register_script
(
'addEvent'
,
self
::
tools_url
(
'addEvent.js'
,
__FILE__
));
_register_script
(
'xmlhttpHandler'
,
self
::
tools_url
(
'xmlhttpHandler.js'
,
__FILE__
));
_register_script
(
'fireEvent'
,
self
::
tools_url
(
'fireEvent.js'
,
__FILE__
));
_register_script
(
'addEvent'
,
self
::
tools_url
(
'
scripts/
addEvent.js'
,
__FILE__
));
_register_script
(
'xmlhttpHandler'
,
self
::
tools_url
(
'
scripts/
xmlhttpHandler.js'
,
__FILE__
));
_register_script
(
'fireEvent'
,
self
::
tools_url
(
'
scripts/
fireEvent.js'
,
__FILE__
));
// This is (hopefully) getting canned in 3.0
add_action
(
'widgets_init'
,
Array
(
'MenuWidget'
,
'init'
));
self
::
import
(
'ShortCodes'
);
}
...
...
Please
register
or
sign in
to post a comment