tz-tools update; updated branding file; updated wp_function to include _enqeue_style
Showing
3 changed files
with
16 additions
and
0 deletions
| ... | @@ -445,3 +445,12 @@ input.dp-applied { | ... | @@ -445,3 +445,12 @@ input.dp-applied { |
| 445 | .TzPaginateResults a.active { color:#000; font-weight: bold; border:1px solid #ccc;padding:1px 3px; } | 445 | .TzPaginateResults a.active { color:#000; font-weight: bold; border:1px solid #ccc;padding:1px 3px; } |
| 446 | 446 | ||
| 447 | .my-profile-table { margin-bottom:20px;} | 447 | .my-profile-table { margin-bottom:20px;} |
| 448 | |||
| 449 | |||
| 450 | |||
| 451 | |||
| 452 | .attendance-admin-table { border:none; border-collapse: collapse;} | ||
| 453 | .attendance-admin-table thead td { font-weight:bold; border-bottom: 2px solid #e8e8e8; padding:0 0 8px 0; } | ||
| 454 | .attendance-admin-table tbody td { border-bottom: 1px solid #e8e8e8; padding:4px 0; } | ||
| 455 | |||
| 456 | ... | ... |
| ... | @@ -29,6 +29,8 @@ use Exception; | ... | @@ -29,6 +29,8 @@ use Exception; |
| 29 | _register_script('xmlhttpHandler', url('scripts/xmlhttpHandler.js', FILE)); | 29 | _register_script('xmlhttpHandler', url('scripts/xmlhttpHandler.js', FILE)); |
| 30 | _register_script('fireEvent', url('scripts/fireEvent.js', FILE)); | 30 | _register_script('fireEvent', url('scripts/fireEvent.js', FILE)); |
| 31 | _register_script('Cookie', url('scripts/Cookie/Cookie.js', FILE)); | 31 | _register_script('Cookie', url('scripts/Cookie/Cookie.js', FILE)); |
| 32 | _register_script('Uploadify', url('scripts/uploadify/jquery.uploadify.v2.1.4.js', FILE)); | ||
| 33 | _register_style('UploadifyCSS', url('scripts/uploadify/uploadify.css', FILE)); | ||
| 32 | 34 | ||
| 33 | import('ShortCodes'); | 35 | import('ShortCodes'); |
| 34 | if (defined('Tz\DEBUG') && Tz\DEBUG === true) { | 36 | if (defined('Tz\DEBUG') && Tz\DEBUG === true) { | ... | ... |
| ... | @@ -29,6 +29,11 @@ function _enqueue_script() { | ... | @@ -29,6 +29,11 @@ function _enqueue_script() { |
| 29 | return call_user_func_array('wp_enqueue_script', $params); | 29 | return call_user_func_array('wp_enqueue_script', $params); |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | function _register_style() { | ||
| 33 | $params = func_get_args(); | ||
| 34 | return call_user_func_array('wp_register_style', $params); | ||
| 35 | } | ||
| 36 | |||
| 32 | function _enqueue_style() { | 37 | function _enqueue_style() { |
| 33 | $params = func_get_args(); | 38 | $params = func_get_args(); |
| 34 | return call_user_func_array('wp_enqueue_style', $params); | 39 | return call_user_func_array('wp_enqueue_style', $params); | ... | ... |
-
Please register or sign in to post a comment