4cefae94 by Kevin Burton

tz-tools update; updated branding file; updated wp_function to include _enqeue_style

1 parent c25bc9b6
......@@ -445,3 +445,12 @@ input.dp-applied {
.TzPaginateResults a.active { color:#000; font-weight: bold; border:1px solid #ccc;padding:1px 3px; }
.my-profile-table { margin-bottom:20px;}
.attendance-admin-table { border:none; border-collapse: collapse;}
.attendance-admin-table thead td { font-weight:bold; border-bottom: 2px solid #e8e8e8; padding:0 0 8px 0; }
.attendance-admin-table tbody td { border-bottom: 1px solid #e8e8e8; padding:4px 0; }
......
......@@ -29,6 +29,8 @@ use Exception;
_register_script('xmlhttpHandler', url('scripts/xmlhttpHandler.js', FILE));
_register_script('fireEvent', url('scripts/fireEvent.js', FILE));
_register_script('Cookie', url('scripts/Cookie/Cookie.js', FILE));
_register_script('Uploadify', url('scripts/uploadify/jquery.uploadify.v2.1.4.js', FILE));
_register_style('UploadifyCSS', url('scripts/uploadify/uploadify.css', FILE));
import('ShortCodes');
if (defined('Tz\DEBUG') && Tz\DEBUG === true) {
......
......@@ -29,6 +29,11 @@ function _enqueue_script() {
return call_user_func_array('wp_enqueue_script', $params);
}
function _register_style() {
$params = func_get_args();
return call_user_func_array('wp_register_style', $params);
}
function _enqueue_style() {
$params = func_get_args();
return call_user_func_array('wp_enqueue_style', $params);
......