diff --git a/3.1/modules/rescue/helpers/rescue_task.php b/3.1/modules/rescue/helpers/rescue_task.php deleted file mode 100644 index 1da25f3f..00000000 --- a/3.1/modules/rescue/helpers/rescue_task.php +++ /dev/null @@ -1,74 +0,0 @@ -callback("rescue_task::fix_internet_addresses") - ->name(t("Fix internet addresses")) - ->description(t("Fix internet addresses broken when upgrading to Beta 3")) - ->severity(log::SUCCESS), - ); - } - - static function fix_internet_addresses($task) { - $start = microtime(true); - - $total = $task->get("total"); - if (empty($total)) { - $task->set("total", $total = db::build()->count_records("items")); - $task->set("last_id", 0); - $task->set("completed", 0); - } - - $last_id = $task->get("last_id"); - $completed = $task->get("completed"); - - foreach (ORM::factory("item") - ->where("id", ">", $last_id) - ->find_all(100) as $item) { - $item->slug = item::convert_filename_to_slug($item->slug); - $item->save(); - $last_id = $item->id; - $completed++; - - if ($completed == $total || microtime(true) - $start > 1.5) { - break; - } - } - - $task->set("completed", $completed); - $task->set("last_id", $last_id); - - if ($total == $completed) { - $task->done = true; - $task->state = "success"; - $task->percent_complete = 100; - db::build() - ->update("items") - ->set("relative_path_cache", null) - ->set("relative_url_cache", null) - ->execute(); - } else { - $task->percent_complete = round(100 * $completed / $total); - } - $task->status = t2("One row updated", "%count / %total rows updated", $completed, - array("total" => $total)); - } -} diff --git a/3.1/modules/rescue/module.info b/3.1/modules/rescue/module.info deleted file mode 100644 index 305afe33..00000000 --- a/3.1/modules/rescue/module.info +++ /dev/null @@ -1,3 +0,0 @@ -name = "Rescue" -description = "Fix problems in your Gallery 3 install" -version = 1 diff --git a/3.1/obsolete/web_client/@install.php b/3.1/obsolete/web_client/@install.php deleted file mode 100644 index f9ee54ec..00000000 --- a/3.1/obsolete/web_client/@install.php +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - Kohana Installation - - - -

Environment Tests

-

- The following tests have been run to determine if Kohana will work in your environment. If any of the tests have failed, consult the documentation - for more information on how to correct the problem. -

-
- - - - - =')): ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PHP Version - - - Kohana requires PHP 5.2 or newer, this version is . -
System Directory - - - The configured - - system - - directory does not exist or does not contain required files. -
Application Directory - - - The configured - - application - - directory does not exist or does not contain required files. -
Modules Directory - - - The configured - - modules - - directory does not exist or does not contain required files. -
Logs Directory - Pass - - The default - - logs - - directory does not exist or is not writable. Depending on your log driver and config settings, this may not be a problem. -
Cache Directory - Pass - - The default - - cache - - directory does not exist or is not writable. Depending on your cache driver and config settings, this may not be a problem. -
PCRE UTF-8 - PCRE - support is missing. - - PCRE - has not been compiled with UTF-8 support. - - PCRE - has not been compiled with Unicode property support. - - Pass -
Reflection Enabled - Pass - - PHP reflection - is either not loaded or not compiled in. -
Filters Enabled - Pass - - The filter - extension is either not loaded or not compiled in. -
Iconv Extension Loaded - Pass - - The iconv - extension is not loaded. -
SPL Enabled - Pass - - SPL - is not enabled. -
Multibyte String EnabledPassThe mbstring - extension is not loaded.
Mbstring Not Overloaded - The mbstring - extension is overloading PHP's native string functions. - - Pass -
XML support - PHP is compiled without XML - support, thus lacking support for - - utf8_encode() - / - - utf8_decode() - . - - Pass -
TimezonePass - The current timezone, '', is not valid. - You must configure it in php.ini or config/locale.php. -
URI Determination - Pass - - At least one of $_SERVER['PATH_INFO'], $_SERVER['ORIG_PATH_INFO'], or $_SERVER['PHP_SELF'] must be available. -
-
- -

- Kohana may not work correctly with your environment. -

- -

- Your environment passed all requirements. Remove or rename the - - install - - file now. -

- -
-
- - diff --git a/3.1/obsolete/web_client/Kohana License.html b/3.1/obsolete/web_client/Kohana License.html deleted file mode 100644 index bc4bce28..00000000 --- a/3.1/obsolete/web_client/Kohana License.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - -Kohana License - - - - -

Kohana License Agreement

- -

This license is a legal agreement between you and the Kohana Software Foundation for the use of Kohana Framework (the "Software"). By obtaining the Software you agree to comply with the terms and conditions of this license.

- -

Copyright (c) 2007-2009 Kohana Team
All rights reserved.

- -

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- - - -

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

- -

NOTE: This license is modeled after the BSD software license.

- - - \ No newline at end of file diff --git a/3.1/obsolete/web_client/application/Bootstrap.php b/3.1/obsolete/web_client/application/Bootstrap.php deleted file mode 100644 index b15cbfce..00000000 --- a/3.1/obsolete/web_client/application/Bootstrap.php +++ /dev/null @@ -1,59 +0,0 @@ -template->title = 'G3 Web Client'; - - if (Session::instance()->get("g3_client_access_token")) { - $response = G3Remote::instance()->get_resource("gallery"); - $this->template->content = $this->_get_main_view($response->resource); - } else { - $this->template->content = new View('login.html'); - $this->template->content->errors = $this->template->content->form = - array("user" => "", "password" => ""); - } - } - - public function login() { - $form = $errors = array("user" => "", "password" => ""); - $post = new Validation($_POST); - $post->add_rules("user", "required"); - $post->add_rules("password", "required"); - if ($valid = $post->validate()) { - try { - $token = G3Remote::instance()->get_access_token($post["user"], $post["password"]); - Session::instance()->set("g3_client_access_token", $token); - $response = G3Remote::instance()->get_resource("gallery"); - $valid = true; - $content = $this->_get_main_view($response->resource); - } catch (Exception $e) { - Kohana_Log::add("error", Kohana_Exception::text($e)); - $valid = false; - } - } - - if (!$valid) { - $content = new View('login.html'); - $content->form = arr::overwrite($form, $post->as_array()); - $content->errors = arr::overwrite($errors, $post->errors()); - } - - $this->auto_render = false; - print json_encode(array("status" => $valid ? "ok" : "error", "content" => (string)$content)); - } - - public function albums() { - $path = $this->input->get("path"); - $response = G3Remote::instance()->get_resource("gallery/$path", array("filter" => "album")); - $this->auto_render = false; - print $this->_get_album_tree($response->resource); - } - - public function detail() { - $path = $this->input->get("path"); - $response = G3Remote::instance()->get_resource("gallery/$path"); - $this->auto_render = false; - print $this->_get_detail($response->resource); - } - - public function tagged_album($tags) { - $response = G3Remote::instance()->get_resource("tag/$tags"); - $this->auto_render = false; - $v = new View("tag_detail.html"); - $v->resources = $response->resources; - print $v; - } - - public function block($type) { - switch ($type) { - case "random": - print $this->_get_image_block(); - break; - case "tags": - print ""; - break; - default: - print ""; - } - $this->auto_render = false; - } - - private function _get_album_tree($resource) { - $v = new View("tree_part.html"); - $v->element = (object)array("title" => $resource->title, "path" => $resource->path); - $v->element->children = array(); - foreach ($resource->children as $child) { - if ($child->type != "album") { - continue; - } - $v->element->children[] = $child; - } - return $v; - } - - private function _get_main_view($resource) { - $v = new View("main.html"); - $v->album_tree = $this->_get_album_tree($resource); - $v->detail = $this->_get_detail($resource); - $v->image_block = $this->_get_image_block(); - $v->tag_block = $this->_get_tag_block(); - return $v; - } - - private function _get_detail($resource) { - $v = new View("{$resource->type}_detail.html"); - $v->resource = $resource; - $v->parent_path = substr($resource->path, 0, -strlen($resource->slug)); - if (strrpos($v->parent_path, "/") == strlen($v->parent_path) - 1) { - $v->parent_path = substr($v->parent_path, 0, -1); - } - return $v; - } - - private function _get_image_block() { - $response = G3Remote::instance()->get_resource("image_block", array("type" => "random")); - if ($response->status == "OK") { - $v = new View("image_block.html"); - $v->path = $response->resource->path; - $v->src = $response->resource->thumb_url; - $v->title = $response->resource->title; - } else { - $v = ""; - } - return $v; - } - - private function _get_tag_block() { - $response = G3Remote::instance()->get_resource("tag", array("limit" => "15")); - if ($response->status == "OK") { - $v = new View("tag_block.html"); - $v->tags = $response->tags; - $v->max_count = $response->tags[0]->count;; - } else { - $v = ""; - } - return $v; - } -} // End G3 Client Controller diff --git a/3.1/obsolete/web_client/application/controllers/g3_handlers.php b/3.1/obsolete/web_client/application/controllers/g3_handlers.php deleted file mode 100644 index 8b1193ea..00000000 --- a/3.1/obsolete/web_client/application/controllers/g3_handlers.php +++ /dev/null @@ -1,120 +0,0 @@ -input->get("path"); - if ($_POST) { - try { - unset($_POST["do_edit"]); - $result = G3Remote::instance()->update_resource("gallery/$path", $_POST); - if ($result->status == "OK") { - $form = null; - $result = "success"; - } else { - $form = g3_client::get_form($type, false, $path, (object)$_POST); - foreach (array_keys($_POST) as $field) { - if (isset($result->fields->$field)) { - $form->errors[$field] = $result->fields->$field; - } - } - $result = "display"; - } - } catch (Exception $e) { - $form = g3_client::get_form($type, false, $path, (object)$_POST); - $form->errors["form_error"] = $e->getMessage(); - $result = "error"; - } - } else { - $response = G3Remote::instance()->get_resource("gallery/$path"); - $form = g3_client::get_form($type, false, $path, $response->resource); - $result = "display"; - } - - print g3_client::format_response($type, $path, $form, $result); - } - - public function add($type) { - $path = $this->input->get("path"); - if ($_POST) { - try { - $data = array( - "title" => $_POST["title"], - "name" => $_POST["name"], - "slug" => g3_client::sanitize_title($_POST["slug"], $_POST["name"]), - "description" => $_POST["description"]); - - if ($_FILES) { - if (empty($_FILES["image"]["error"])) { - unset($_FILES["image"]["error"]); - $data["image"] = (object)$_FILES["image"]; - } else { - throw new Exception("File upload failed for reason: {$_FILES['image']['error']}"); - } - } - - $path = !empty($path) ? $path . "/" : $path; - $result = G3Remote::instance()->add_resource("gallery/$path{$data['name']}", $data); - if ($result->status == "OK") { - $form = null; - $result = "success"; - } else { - $form = g3_client::get_form($type, true, $path, (object)$_POST); - foreach (array_keys($_POST) as $field) { - if (isset($result->fields->$field)) { - $form->errors[$field] = $result->fields->$field; - } - } - $result = "display"; - } - } catch (Exception $e) { - Kohana_Log::add("error", (string)$e); - $form = g3_client::get_form($type, true, $path, (object)$_POST); - $form->errors["form_error"] = $e->getMessage(); - $result = "error"; - } - } else { - $form = g3_client::get_form($type, true, $path); - $result = "display"; - } - - print g3_client::format_response($type, $path, $form, $result); - } - - public function delete($type) { - $path = $this->input->get("path"); - if ($_POST) { - try { - $response = G3Remote::instance()->delete_resource("gallery/$path"); - print json_encode(array("result" => "success", "path" => $response->resource->parent_path, - "type" => $type)); - } catch (Exception $e) { - print json_encode(array("result" => "fail", "message" => $e->getMessage())); - } - return; - } else { - $response = G3Remote::instance()->get_resource("gallery/$path"); - $v = new View("delete.html"); - $v->title = $response->resource->title; - $v->path = "delete_album/?path=$path"; - } - - print json_encode(array("form" => (string)$v)); - } -} // End G3 Album Controller diff --git a/3.1/obsolete/web_client/application/helpers/g3_client.php b/3.1/obsolete/web_client/application/helpers/g3_client.php deleted file mode 100644 index b7e46708..00000000 --- a/3.1/obsolete/web_client/application/helpers/g3_client.php +++ /dev/null @@ -1,78 +0,0 @@ -adding = $add_form; - $form->form = array("title" => (object)array("value" => "", "label" => "Title"), - "name" => (object)array("value" => "", "label" => "Name"), - "description" => (object)array("value" => "", "label" => "Description"), - "slug" => (object)array("value" => "", "label" => "Internet Address")); - // @todo add sort column sort order fields - $form->errors = array("title" => "", "name" => "", "description" => "", "slug" => ""); - if ($type != "album" && $add_form) { - $form->form["image"] = (object)array("value" => "", "label" => "Image File"); - $form->errors["image"] = ""; - } - - if (empty($path) && !$add_form) { - $form->form["name"]->readonly = $form->form["slug"]->readonly = "readonly"; - } - - if ($data) { - foreach (array_keys($form->form) as $field) { - if (isset($data->$field)) { - $form->form[$field]->value = $data->$field; - } - } - } - return $form; - } - - static function format_response($type, $path, $form, $result) { - $json = (object)array("result" => $result); - if ($result != "success") { - $json->form = new View("edit.html"); - $json->form->title = ($form->adding ? "Add " : "Update ") . ucwords($type); - $json->form->url = $form->adding ? "add" : "edit"; - $json->form->button_text = $form->adding ? "Add" : "Update"; - $json->form->path = $path; - $json->form->type = $type; - $json->form->form = (object)$form->form; - $json->form->errors = (object)$form->errors; - $json->form = (string)$json->form; - } else { - $json->path = $path; - $json->type = $type; - } - - return json_encode($json); - } - - /** - * Sanitize a filename into something safe - * @param string $filename - * @return string sanitized filename - */ - static function sanitize_title($field, $title) { - $result = preg_replace("/[^A-Za-z0-9-_]+/", "-", empty($field) ? $title : $field); - return trim($result, "-"); - } -} diff --git a/3.1/obsolete/web_client/application/hooks/init_remote_client.php b/3.1/obsolete/web_client/application/hooks/init_remote_client.php deleted file mode 100644 index 78ec1e31..00000000 --- a/3.1/obsolete/web_client/application/hooks/init_remote_client.php +++ /dev/null @@ -1,23 +0,0 @@ -get("g3_client_access_token"); -$site = Kohana::config("core.gallery3_site"); -G3Remote::instance($site, $access_token); \ No newline at end of file diff --git a/3.1/obsolete/web_client/application/libraries/G3Remote.php b/3.1/obsolete/web_client/application/libraries/G3Remote.php deleted file mode 100644 index f6d6aef9..00000000 --- a/3.1/obsolete/web_client/application/libraries/G3Remote.php +++ /dev/null @@ -1,298 +0,0 @@ -_gallery3_site = $site; - $this->_access_token = $access_token; - } - - public function get_access_token($user, $password) { - $request = "{$this->_gallery3_site}/access_key"; - list ($response_status, $response_headers, $response_body) = - G3Remote::_get($request, array("user" => $user, "password" => $password)); - if (G3Remote::_success($response_status)) { - $response = json_decode($response_body); - if ($response->status == "OK") { - $this->_access_token = $response->token; - } else { - throw new Exception("Remote host failure: {$response->message}"); - } - } else { - throw new Exception("Remote host failure: $response_status"); - } - return $this->_access_token; - } - - public function get_resource($path, $params=array()) { - return $this->_do_request("get", $path, $params); - } - - public function delete_resource($path) { - return $this->_do_request("delete", $path); - } - - public function update_resource($path, $params) { - return $this->_do_request("put", $path, $params); - } - - public function add_resource($path, $params) { - return $this->_do_request("post", $path, $params); - } - - private function _do_request($method, $path, $params=array()) { - $request_path = "{$this->_gallery3_site}/$path"; - $headers = array(); - if ($method == "put" || $method == "delete") { - $headers["X_GALLERY_REQUEST_METHOD"] = $method; - $method = "post"; - } - if (!empty($this->_access_token)) { - $headers["X_GALLERY_REQUEST_KEY"] = $this->_access_token; - } - - list ($response_status, $response_headers, $response_body) = - $method == "get" ? G3Remote::_get($request_path, $params, $headers) : - G3Remote::_post($request_path, $params, $headers); - - if (G3Remote::_success($response_status)) { - $response = json_decode($response_body); - switch ($response->status) { - case "OK": - case "VALIDATE_ERROR": - return $response; - default: - throw new Exception("Remote host failure: {$response->message}"); - } - } else { - throw new Exception("Remote host failure: $response_status"); - } - } - - private static function _post($url, $post_data_array, $extra_headers=array()) { - $boundary = str_repeat("-", 9) . md5(microtime()); - $boundary_length = strlen($boundary); - - $extra_headers['Content-Type'] = "multipart/form-data; boundary=$boundary"; - $length = 0; - $fields = array(); - foreach ($post_data_array as $field => $value) { - $fields[$field] = array(); - if (is_string($value)) { - $fields[$field]["disposition"] = "Content-Disposition: form-data; name=\"$field\"\r\n\r\n"; - $fields[$field]["type"] = ""; - $fields[$field]["value"] = "$value\r\n"; - } else { - $fields[$field]["disposition"] = - "Content-Disposition: form-data; name=\"$field\"; filename=\"{$value->name}\"\r\n"; - $fields[$field]["type"] = "Content-Type: {$value->type}\r\n\r\n"; - $fields[$field]["value"] = "\r\n"; - $fields[$field]["local_file"] = $value->tmp_name; - $length += $value->size; - } - $length += strlen($fields[$field]["disposition"]) + strlen($fields[$field]["value"]) + - strlen($fields[$field]["type"]) + $boundary_length + 4; - } - $length += $boundary_length + 6; // boundary terminator and last crlf - $extra_headers['Content-Length'] = $length; - - $socket = G3Remote::_open_socket($url, 'POST', $extra_headers); - - $sent_length = 0; - foreach ($fields as $field => $value) { - $sent_length += fwrite($socket, "--$boundary\r\n"); - $sent_length += fwrite($socket, $value["disposition"]); - if (!empty($value["type"])) { - $sent_length += fwrite($socket, $value["type"]); - $file = fopen($value["local_file"], "rb"); - while (!feof($file)) { - $buffer = fread($file, 8192); - $sent_length += fwrite($socket, $buffer); - fflush($socket); - } - } - $sent_length += fwrite($socket, $value["value"]); - fflush($socket); - } - - $sent_length += fwrite($socket, "--$boundary--\r\n"); - fflush($socket); - - /* Read the web page into a buffer */ - return G3Remote::_get_response($socket); - } - - private static function _get($url, $_data_array=array(), $extra_headers=array()) { - $_data_raw = self::_encode_data($_data_array, $extra_headers); - - $handle = G3Remote::_open_socket("{$url}?$_data_raw", "GET", $extra_headers); - - /* Read the web page into a buffer */ - return G3Remote::_get_response($handle); - } - - private static function _success($response_status) { - return preg_match("/^HTTP\/\d+\.\d+\s2\d{2}(\s|$)/", trim($response_status)); - } - - /** - * Encode the data. For each key/value pair, urlencode both the key and the value and then - * concatenate together. As per the specification, each key/value pair is separated with an - * ampersand (&) - * @param array $data_array the key/value data - * @param array $extra_headers extra headers to pass to the server - * @return string the encoded post data - */ - private static function _encode_data($_data_array, &$extra_headers) { - $_data_raw = ''; - foreach ($_data_array as $key => $value) { - if (!empty($_data_raw)) { - $_data_raw .= '&'; - } - $_data_raw .= urlencode($key) . '=' . urlencode($value); - } - - return $_data_raw; - } - - /** - * Open the socket to server - */ - static function _open_socket($url, $method='GET', $headers=array()) { - /* Convert illegal characters */ - $url = str_replace(' ', '%20', $url); - - $url_components = self::_parse_url_for_fsockopen($url); - $handle = fsockopen( - $url_components['fsockhost'], $url_components['port'], $errno, $errstr, 5); - if (empty($handle)) { - return array(null, null, null); - } - - $header_lines = array('Host: ' . $url_components['host']); - foreach ($headers as $key => $value) { - $header_lines[] = $key . ': ' . $value; - } - - $success = fwrite($handle, sprintf("%s %s HTTP/1.0\r\n%s\r\n\r\n", - $method, - $url_components['uri'], - implode("\r\n", $header_lines))); - fflush($handle); - - return $handle; - } - - /** - * Read the http response - */ - static function _get_response($handle) { - /* - * Read the status line. fgets stops after newlines. The first line is the protocol - * version followed by a numeric status code and its associated textual phrase. - */ - $response_status = trim(fgets($handle, 4096)); - if (empty($response_status)) { - // 'Empty http response code, maybe timeout' - return array(null, null, null); - } - - /* Read the headers */ - $response_headers = array(); - while (!feof($handle)) { - $line = trim(fgets($handle, 4096)); - if (empty($line)) { - break; - } - - /* Normalize the line endings */ - $line = str_replace("\r", '', $line); - - list ($key, $value) = explode(':', $line, 2); - if (isset($response_headers[$key])) { - if (!is_array($response_headers[$key])) { - $response_headers[$key] = array($response_headers[$key]); - } - $response_headers[$key][] = trim($value); - } else { - $response_headers[$key] = trim($value); - } - } - - /* Read the body */ - $response_body = ''; - while (!feof($handle)) { - $response_body .= fread($handle, 4096); - } - fclose($handle); - - return array($response_status, $response_headers, $response_body); - } - - /** - * Prepare for fsockopen call. - * @param string $url - * @return array url components - * @access private - */ - private static function _parse_url_for_fsockopen($url) { - $url_components = parse_url($url); - if (strtolower($url_components['scheme']) == 'https') { - $url_components['fsockhost'] = 'ssl://' . $url_components['host']; - $default_port = 443; - } else { - $url_components['fsockhost'] = $url_components['host']; - $default_port = 80; - } - if (empty($url_components['port'])) { - $url_components['port'] = $default_port; - } - if (empty($url_components['path'])) { - $url_components['path'] = '/'; - } - $uri = $url_components['path'] - . (empty($url_components['query']) ? '' : '?' . $url_components['query']); - /* Unescape ampersands, since if the url comes from form input it will be escaped */ - $url_components['uri'] = str_replace('&', '&', $uri); - - return $url_components; - } -} diff --git a/3.1/obsolete/web_client/application/views/album_detail.html.php b/3.1/obsolete/web_client/application/views/album_detail.html.php deleted file mode 100644 index bac3edcc..00000000 --- a/3.1/obsolete/web_client/application/views/album_detail.html.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - diff --git a/3.1/obsolete/web_client/application/views/delete.html.php b/3.1/obsolete/web_client/application/views/delete.html.php deleted file mode 100644 index e53312d7..00000000 --- a/3.1/obsolete/web_client/application/views/delete.html.php +++ /dev/null @@ -1,27 +0,0 @@ - - -
- -
- Confirm Delete - -
- -
- diff --git a/3.1/obsolete/web_client/application/views/edit.html.php b/3.1/obsolete/web_client/application/views/edit.html.php deleted file mode 100644 index e94dc0e9..00000000 --- a/3.1/obsolete/web_client/application/views/edit.html.php +++ /dev/null @@ -1,50 +0,0 @@ - -
- -
- - -
- -
- diff --git a/3.1/obsolete/web_client/application/views/g3_template.html.php b/3.1/obsolete/web_client/application/views/g3_template.html.php deleted file mode 100644 index 0da58ab7..00000000 --- a/3.1/obsolete/web_client/application/views/g3_template.html.php +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - <?= html::chars(__($title)) ?> - - - - - - - - - - - - - -
-
-
 
-
-
- -
- -
- - \ No newline at end of file diff --git a/3.1/obsolete/web_client/application/views/image_block.html.php b/3.1/obsolete/web_client/application/views/image_block.html.php deleted file mode 100644 index 1c3f2f06..00000000 --- a/3.1/obsolete/web_client/application/views/image_block.html.php +++ /dev/null @@ -1,17 +0,0 @@ - - -

Random Image

- - <?= $title ?> - -

\ No newline at end of file diff --git a/3.1/obsolete/web_client/application/views/login.html.php b/3.1/obsolete/web_client/application/views/login.html.php deleted file mode 100644 index d7232b72..00000000 --- a/3.1/obsolete/web_client/application/views/login.html.php +++ /dev/null @@ -1,29 +0,0 @@ - -
- -
- diff --git a/3.1/obsolete/web_client/application/views/main.html.php b/3.1/obsolete/web_client/application/views/main.html.php deleted file mode 100644 index 07a8da44..00000000 --- a/3.1/obsolete/web_client/application/views/main.html.php +++ /dev/null @@ -1,49 +0,0 @@ - -
- -
-
-
-
- First - Previous - Next - Last -
-
- Parent -
- -
- Edit - Delete -
- -
- Add Album - - -   - -
-
    -
  • Add Album
  • -
  • Add Photo
  • -
  • Add Movie
  • -
-
-
-
-
- -
-
- - diff --git a/3.1/obsolete/web_client/application/views/movie_detail.html.php b/3.1/obsolete/web_client/application/views/movie_detail.html.php deleted file mode 100644 index e8ada54f..00000000 --- a/3.1/obsolete/web_client/application/views/movie_detail.html.php +++ /dev/null @@ -1,31 +0,0 @@ - - -
- -
- - diff --git a/3.1/obsolete/web_client/application/views/photo_detail.html.php b/3.1/obsolete/web_client/application/views/photo_detail.html.php deleted file mode 100644 index 0f7b6977..00000000 --- a/3.1/obsolete/web_client/application/views/photo_detail.html.php +++ /dev/null @@ -1,12 +0,0 @@ - - -
- -
-
-

title ?> -

diff --git a/3.1/obsolete/web_client/application/views/tag_block.html.php b/3.1/obsolete/web_client/application/views/tag_block.html.php deleted file mode 100644 index 33feae87..00000000 --- a/3.1/obsolete/web_client/application/views/tag_block.html.php +++ /dev/null @@ -1,12 +0,0 @@ - -
-

Tags

-
-
diff --git a/3.1/obsolete/web_client/application/views/tag_detail.html.php b/3.1/obsolete/web_client/application/views/tag_detail.html.php deleted file mode 100644 index 08be576e..00000000 --- a/3.1/obsolete/web_client/application/views/tag_detail.html.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - diff --git a/3.1/obsolete/web_client/application/views/tree_part.html.php b/3.1/obsolete/web_client/application/views/tree_part.html.php deleted file mode 100644 index b98f6435..00000000 --- a/3.1/obsolete/web_client/application/views/tree_part.html.php +++ /dev/null @@ -1,18 +0,0 @@ - -
  • -
    - " >  - title ?> -
    - -
  • - diff --git a/3.1/obsolete/web_client/css/fix-ie.css b/3.1/obsolete/web_client/css/fix-ie.css deleted file mode 100644 index 376dac74..00000000 --- a/3.1/obsolete/web_client/css/fix-ie.css +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Fix display in IE 6, 7 - */ - -#g-banner { - z-index: 2; -} - -input.submit { - clear: none !important; - display: inline !important; -} - -#g-add-tag-form input.textbox { - width: 110px; -} - -#g-dialog .g-cancel { - display: inline-block !important; - float: none !important; -} - -.g-paginator .g-text-right { - width: 29%; -} - -.g-paginator .ui-icon-right { - width: 60px; -} diff --git a/3.1/obsolete/web_client/css/g3_client.css b/3.1/obsolete/web_client/css/g3_client.css deleted file mode 100644 index 1a06298a..00000000 --- a/3.1/obsolete/web_client/css/g3_client.css +++ /dev/null @@ -1,396 +0,0 @@ -#wc-header { - background-color: #666666; - left: 0px; - min-height: 90px; - padding: 0 20px; - position: fixed; - right: 0px; - height: 90px; -} - -#wc-header div { - background-image: url(images/g3_web.png); - background-repeat: no-repeat; - height: 90px; -} - -#wc-body { - background-color: #666666; - bottom: 40px; - left: 0px; - position: fixed; - right: 0px; - top: 90px; -} - -#wc-body #content { - background-color: #FFFFFF; - border: 1px solid #CCCCCC; - padding: 10px 20px; - height: 100%; -} - -#g-dialog { - background-color: #666666; - color: #FF9933; -} - -form li { - padding-top: .4em; - text-align: left; -} - -#g-dialog form li input[type=text], -#g-dialog form li input[type=file], -#g-dialog form li textarea { - width: 100%; -} - -form li input[readonly=readonly], -form li textarea[readonly=readonly] { - background-color: #999999; - color: #FF9933; -} - -form legend { - color: #FF9933; - font-size: 1.2em; - font-weight: bold; -} - -span.error { - color: #FF9933; - background-color: #880000; -} - -#wc-footer { - background-color: #666666; - bottom: 0px; - color: #FF9933; - left: 0px; - min-height: 40px; - padding: 10px 20px; - position: fixed; - right: 0px; -} - -.wc-copyright { - font-size: 0.9em; - text-transform: uppercase; -} - -#wc-body #login { - background-color: #222222; - color: #FF9933; - border: 3px inset; - bottom: 20px; - left: 20px; - margin: 0; - padding: 5px; - position: absolute; - right: 20px; - top: 11px; -} - -#wc-body #left { - background-color: #222222; - border: 3px inset; - bottom: 20px; - left: 20px; - margin: 0; - padding: 5px; - position: absolute; - top: 11px; - width: 191px; -} - -#wc-body #left #album_tree { - height: 100%; - overflow: auto; - font-size: 1.1em; - padding-top: 5px; -} - -#wc-body #left #album_tree ul li { - padding: 0 0 .2em 1.2em; -} - -#wc-body #left #album_tree div { - border: none !important; - background: none !important; -} - -#wc-body #center { - background-color: #222222; - border: 3px inset; - bottom: 20px; - left: 230px; - padding: 10px; - position: absolute; - right: 229px; - top: 11px; -} - -#wc-body #wc-detail { - bottom: 0; - left: 10px; - overflow-y: auto; - position: absolute; - right: 10px; - top: 60px; -} -.tree-title { - cursor: pointer; -} - -#wc-body #center #wc-thumb-grid { - width: 100%; - list-style: none; -} - -#wc-body #center .wc-thumb-grid-cell { - border: 1px solid transparent; - float: left; - height: 150px; - line-height: 170px; - margin: 2px; - padding: 7px; - text-align: center; - width: 150px; -} - -#wc-body #center .wc-thumb-grid-cell img { - display: block; - margin: 0 auto; - padding: 5%; - width: 89%; - -ms-interpolation-mode: bicubic; -} - -#wc-body #center .wc-thumb-grid-cell span { - vertical-align: middle; -} - -#wc-body #right { - background-color: #222222; - border: 3px inset; - bottom: 20px; - margin: 0; - padding: 5px; - position: absolute; - right: 20px; - top: 11px; - width: 191px; -} - -#wc-body #right #image_block img { - padding: 5px 7px; - width: 175px; -} - -#wc-body #right #image_block p, -#wc-body #right #image_block h3 { - color: #FF9933; - text-align: center; -} - -.ui-icon-left .ui-icon { - float: left; - margin-right: 0.2em; -} - -.ui-icon-left .ui-icon-none { - float: left; - padding-left: 15px; -} - -.ui-selected { - background: #222222; - border: 1px solid #CCCCCC !important; - color: #FF9933; - padding: 0 5px; -} - -.wc-button { - outline: 0; - margin:0 4px 0 0; - padding: .4em 1em; - text-decoration:none !important; - cursor:pointer; - position: relative; - text-align: center; - zoom: 1; -} - -.wc-button .ui-icon { - position: absolute; - top: 50%; - margin-top: -8px; - left: 50%; - margin-left: -8px; -} - -a.wc-button { - float:left; -} - -a.ui-state-active { - color: #EB8F00 !important; -} - -a.ui-state-default { - background: #FFFFFF; -} - -/* remove extra button width in IE */ -button.wc-button { - width: auto; - overflow: visible; -} - -.wc-button-icon-left { - padding-left: 2.1em; -} -.wc-button-icon-right { - padding-right: 2.1em; -} - -.wc-button-icon-left .ui-icon { - right: auto; - left: .2em; - margin-left: 0; -} - -.wc-button-icon-right .ui-icon { - left: auto; - right: .2em; - margin-left: 0; -} - -.wc-button-icon-solo { /* solo icon buttons must have block properties for the text-indent to work */ - display: block; - width: 8px; - text-indent: -9999px; -} - -.wc-buttonset { - float: left; -} - -.wc-buttonset .wc-button { - float: left; -} - -.wc-buttonset-single .wc-button, -.wc-buttonset-multi .wc-button { - margin-right: -1px; -} - -.wc-toolbar { - padding: .5em; - margin: 0; -} - -.wc-toolbar .wc-buttonset { - margin-right:1.5em; - padding-left: 1px; -} - -.wc-toolbar .wc-button { - font-size: 1em; -} - -#wc-resource-list { - border-style: solid; - border-width: 0px 1px 1px 1px; - background: #FFFFFF; - color: #F6A828; - display: none; - float: left; - position: absolute; - z-index: 200; -} - -#wc-resource-list li { - border-top-style: solid; - border-top-width: 1px; - cursor: pointer; - padding: 3px; -} - -/* Tag cloud ~~~~~~~~~~~~~~~~~~~~~~~ */ -#wc-tag-cloud { - border: 3px inset; - padding: 2px; -} - -#wc-tag-cloud ul { - font-size: 1.2em; - text-align: justify; -} - -#wc-tag-cloud ul li { - display: inline; - line-height: 1.5em; - text-align: justify; -} - -#wc-tag-cloud ul li a { - text-decoration: none; -} - -#wc-tag-cloud ul li span { - display: none; -} - -#wc-tag-cloud ul li.size1 a { - color: #FF9933; - font-size: 80%; - font-weight: 100; -} - -#wc-tag-cloud ul li.size2 a { - color: #FF9933; - font-size: 90%; - font-weight: 300; -} - -#wc-tag-cloud ul li.size3 a { - color: #FF9933; - font-size: 100%; - font-weight: 500; -} - -#wc-tag-cloud ul li.size4 a { - color: #FF9933; - font-size: 110%; - font-weight: 700; -} - -#wc-tag-cloud ul li.size5 a { - color: #FF9933; - font-size: 120%; - font-weight: 900; -} - -#wc-tag-cloud ul li.size6 a { - color: #FF9933; - font-size: 130%; - font-weight: 900; -} - -#wc-tag-cloud ul li.size7 a { - color: #FF9933; - font-size: 140%; - font-weight: 900; -} - -#wc-tag-cloud ul li a:hover { - color: #f30; - text-decoration: underline; -} - -#wc-tag-cloud h3 { - color: #FF9933; - text-align: center; -} diff --git a/3.1/obsolete/web_client/css/images/g3_web.pdn b/3.1/obsolete/web_client/css/images/g3_web.pdn deleted file mode 100644 index add8b1e2..00000000 Binary files a/3.1/obsolete/web_client/css/images/g3_web.pdn and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/g3_web.png b/3.1/obsolete/web_client/css/images/g3_web.png deleted file mode 100644 index 27519ec8..00000000 Binary files a/3.1/obsolete/web_client/css/images/g3_web.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/3.1/obsolete/web_client/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png deleted file mode 100644 index 954e22db..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_diagonals-thick_20_666666_40x40.png b/3.1/obsolete/web_client/css/images/ui-bg_diagonals-thick_20_666666_40x40.png deleted file mode 100644 index 64ece570..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_diagonals-thick_20_666666_40x40.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_flat_10_000000_40x100.png b/3.1/obsolete/web_client/css/images/ui-bg_flat_10_000000_40x100.png deleted file mode 100644 index abdc0108..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_flat_10_000000_40x100.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_glass_100_f6f6f6_1x400.png b/3.1/obsolete/web_client/css/images/ui-bg_glass_100_f6f6f6_1x400.png deleted file mode 100644 index 9b383f4d..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_glass_100_f6f6f6_1x400.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_glass_100_fdf5ce_1x400.png b/3.1/obsolete/web_client/css/images/ui-bg_glass_100_fdf5ce_1x400.png deleted file mode 100644 index 859c264b..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_glass_100_fdf5ce_1x400.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_glass_65_ffffff_1x400.png b/3.1/obsolete/web_client/css/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index 42ccba26..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/3.1/obsolete/web_client/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png deleted file mode 100644 index 39d5824d..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/3.1/obsolete/web_client/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png deleted file mode 100644 index f1273672..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/3.1/obsolete/web_client/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png deleted file mode 100644 index 359397ac..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-icons_222222_256x240.png b/3.1/obsolete/web_client/css/images/ui-icons_222222_256x240.png deleted file mode 100644 index ee039dc0..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-icons_222222_256x240.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-icons_228ef1_256x240.png b/3.1/obsolete/web_client/css/images/ui-icons_228ef1_256x240.png deleted file mode 100644 index 10e3631d..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-icons_228ef1_256x240.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-icons_ef8c08_256x240.png b/3.1/obsolete/web_client/css/images/ui-icons_ef8c08_256x240.png deleted file mode 100644 index 35bb8efa..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-icons_ef8c08_256x240.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-icons_ffd27a_256x240.png b/3.1/obsolete/web_client/css/images/ui-icons_ffd27a_256x240.png deleted file mode 100644 index baebb63e..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-icons_ffd27a_256x240.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/images/ui-icons_ffffff_256x240.png b/3.1/obsolete/web_client/css/images/ui-icons_ffffff_256x240.png deleted file mode 100644 index bef5178a..00000000 Binary files a/3.1/obsolete/web_client/css/images/ui-icons_ffffff_256x240.png and /dev/null differ diff --git a/3.1/obsolete/web_client/css/jquery-ui.css b/3.1/obsolete/web_client/css/jquery-ui.css deleted file mode 100644 index 9d7aa08b..00000000 --- a/3.1/obsolete/web_client/css/jquery-ui.css +++ /dev/null @@ -1,406 +0,0 @@ -/* -* jQuery UI CSS Framework -* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) -* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. -*/ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } - - - -/* -* jQuery UI CSS Framework -* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) -* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. -* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px -*/ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; } -.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; } -.ui-widget-content a { color: #333333; } -.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } -.ui-widget-header a { color: #ffffff; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; outline: none; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; outline: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; outline: none; } -.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; outline: none; } -.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; outline: none; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; outline: none; text-decoration: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; } -.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; } -.ui-state-error a, .ui-widget-content .ui-state-error a { color: #ffffff; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #ffffff; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; } -.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } -.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } -.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } -.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } -.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; } - -/* Overlays */ -.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } -.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; }/* Accordion -----------------------------------*/ -.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } -.ui-accordion .ui-accordion-li-fix { display: inline; } -.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } -.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; } -.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; } -.ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker -----------------------------------*/ -.ui-datepicker { width: 17em; padding: .2em .2em 0; } -.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } -.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.ui-datepicker .ui-datepicker-prev { left:2px; } -.ui-datepicker .ui-datepicker-next { right:2px; } -.ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; } -.ui-datepicker select.ui-datepicker-month-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; } -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -}/* Dialog -----------------------------------*/ -.ui-dialog { position: relative; padding: .2em; width: 300px; } -.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } -.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } -.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } -.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } -.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } -.ui-draggable .ui-dialog-titlebar { cursor: move; } -/* Progressbar -----------------------------------*/ -.ui-progressbar { height:2em; text-align: left; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable -----------------------------------*/ -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider -----------------------------------*/ -.ui-slider { position: relative; text-align: left; } -.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; } - -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.ui-slider-vertical { width: .8em; height: 100px; } -.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs -----------------------------------*/ -.ui-tabs { padding: .2em; zoom: 1; } -.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; } -.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } diff --git a/3.1/obsolete/web_client/css/kohana-2.4rc2.zip b/3.1/obsolete/web_client/css/kohana-2.4rc2.zip deleted file mode 100644 index 90db5e36..00000000 Binary files a/3.1/obsolete/web_client/css/kohana-2.4rc2.zip and /dev/null differ diff --git a/3.1/obsolete/web_client/css/reset-fonts-grids.css b/3.1/obsolete/web_client/css/reset-fonts-grids.css deleted file mode 100644 index b3e042c9..00000000 --- a/3.1/obsolete/web_client/css/reset-fonts-grids.css +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2008, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.6.0 -*/ -html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}del,ins{text-decoration:none;}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.25em;min-width:750px;}#doc2{width:73.076em;*width:71.25em;}#doc3{margin:auto 10px;width:auto;}#doc4{width:74.923em;*width:73.05em;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main,.yui-g .yui-u .yui-g{width:100%;}{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.30769em;*width:12.00em;}.yui-t1 #yui-main .yui-b{margin-left:13.30769em;*margin-left:13.05em;}.yui-t2 .yui-b{float:left;width:13.8461em;*width:13.50em;}.yui-t2 #yui-main .yui-b{margin-left:14.8461em;*margin-left:14.55em;}.yui-t3 .yui-b{float:left;width:23.0769em;*width:22.50em;}.yui-t3 #yui-main .yui-b{margin-left:24.0769em;*margin-left:23.62em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.50em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.55em;}.yui-t5 .yui-b{float:right;width:18.4615em;*width:18.00em;}.yui-t5 #yui-main .yui-b{margin-right:19.4615em;*margin-right:19.125em;}.yui-t6 .yui-b{float:right;width:23.0769em;*width:22.50em;}.yui-t6 #yui-main .yui-b{margin-right:24.0769em;*margin-right:23.62em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf,.yui-gc .yui-u,.yui-gd .yui-g,.yui-g .yui-gc .yui-u,.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf .yui-g,.yui-gf .yui-u{float:right;}.yui-g div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first,.yui-g .yui-gc div.first,.yui-g .yui-ge div.first,.yui-gc div.first div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf{width:49.1%;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{width:32%;margin-left:1.99%;}.yui-gb .yui-u{*margin-left:1.9%;*width:31.9%;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-ge .yui-u,.yui-gf div.first{width:24%;}.yui-g .yui-gb div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-g .yui-g .yui-u,.yui-gb .yui-g .yui-u,.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u,.yui-ge .yui-g .yui-u,.yui-gf .yui-g .yui-u{width:49%;*width:48.1%;*margin-left:0;}.yui-g .yui-g .yui-u{width:48.1%;}.yui-g .yui-gb div.first,.yui-gb .yui-gb div.first{*margin-right:0;*width:32%;_width:31.7%;}.yui-g .yui-gc div.first,.yui-gd .yui-g{width:66%;}.yui-gb .yui-g div.first{*margin-right:4%;_margin-right:1.3%;}.yui-gb .yui-gc div.first,.yui-gb .yui-gd div.first{*margin-right:0;}.yui-gb .yui-gb .yui-u,.yui-gb .yui-gc .yui-u{*margin-left:1.8%;_margin-left:4%;}.yui-g .yui-gb .yui-u{_margin-left:1.0%;}.yui-gb .yui-gd .yui-u{*width:66%;_width:61.2%;}.yui-gb .yui-gd div.first{*width:31%;_width:29.5%;}.yui-g .yui-gc .yui-u,.yui-gb .yui-gc .yui-u{width:32%;_float:right;margin-right:0;_margin-left:0;}.yui-gb .yui-gc div.first{width:66%;*float:left;*margin-left:0;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf .yui-u{margin:0;}.yui-gb .yui-gb .yui-u{_margin-left:.7%;}.yui-gb .yui-g div.first,.yui-gb .yui-gb div.first{*margin-left:0;}.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u{*width:48.1%;*margin-left:0;} .yui-gb .yui-gd div.first{width:32%;}.yui-g .yui-gd div.first{_width:29.9%;}.yui-ge .yui-g{width:24%;}.yui-gf .yui-g{width:74.2%;}.yui-gb .yui-ge div.yui-u,.yui-gb .yui-gf div.yui-u{float:right;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf div.first{float:left;}.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf div.first{*width:24%;_width:20%;}.yui-gb .yui-ge div.first,.yui-gb .yui-gf .yui-u{*width:73.5%;_width:65.5%;}.yui-ge div.first .yui-gd .yui-u{width:65%;}.yui-ge div.first .yui-gd div.first{width:32%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;} \ No newline at end of file diff --git a/3.1/obsolete/web_client/example.htaccess b/3.1/obsolete/web_client/example.htaccess deleted file mode 100644 index cd7a9d3f..00000000 --- a/3.1/obsolete/web_client/example.htaccess +++ /dev/null @@ -1,19 +0,0 @@ -# Turn on URL rewriting -RewriteEngine On - -# Installation directory -RewriteBase /kohana/ - -# Protect application and system files from being viewed -# This is only necessary when these files are inside the webserver document root -RewriteRule ^(application|modules|system) - [R=404,L] - -# Allow any files or directories that exist to be displayed directly -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d - -# Rewrite all other URLs to index.php/URL -RewriteRule .* index.php/$0 [PT,L] - -# Alternativly, if the rewrite rule above does not work try this instead: -#RewriteRule .* index.php?kohana_uri=$0 [PT,QSA,L] diff --git a/3.1/obsolete/web_client/index.php b/3.1/obsolete/web_client/index.php deleted file mode 100644 index 43aefef2..00000000 --- a/3.1/obsolete/web_client/index.php +++ /dev/null @@ -1,107 +0,0 @@ - 0) { - $(login).ajaxForm({ - dataType: "json", - beforeSubmit: function(formData, form, options) { - form.find(":submit") - .addClass("ui-state-disabled") - .attr("disabled", "disabled"); - return true; - }, - success: function(data) { - $(obj).html(data.content); - if (data.status == "ok") { - initializeDetail(obj); - } else { - ajaxifyLoginForm(obj); - } - } - }); - } else { - initializeDetail(obj); - } - }; - - function initializeDetail(obj) { - $(".ui-icon-plus", obj).live("click", function (event) { - var siblings = $("~ ul", this); - if (siblings.length > 0) { - siblings.show(); - $(this).removeClass("ui-icon-plus"); - $(this).addClass("ui-icon-minus"); - } else { - var parent = $(this).parents("li:first"); - $.get("/g3_client/index.php/g3_client/albums", - {path: $(parent).attr("ref")}, - function(data, textStatus) { - $(parent).replaceWith(data); - }); - } - return false; - }); - - $(".ui-icon-minus", obj).live("click", function (event) { - $("~ ul", this).hide(); - $(this).removeClass("ui-icon-minus"); - $(this).addClass("ui-icon-plus"); - return false; - }); - - $("#center a.wc-child-link").live("dblclick", function(event) { - event.preventDefault(); - event.stopPropagation(); - var path = $(this).parents("li:first").attr("ref"); - var url = $(this).attr("href"); - get_detail(path, _set_active_album); - return false; - }); - - $("#wc-choose-resource").live("click", function(event){ - event.preventDefault(); - event.stopPropagation(); - if ($("#wc-resource-list:visible").length) { - $("#wc-resource-list").hide(); - } else { - var parent = $(this).parent("div"); - var width = parent.width(); - var height = parent.height(); - var top = parent.position().top; - var current_path = $("#wc-add-resource").attr("ref"); - $("#wc-resource-list li[ref='" + current_path + "']").addClass("ui-selected"); - $("#wc-resource-list") - .css({"top": (top + height - 5) + "px", "width": width + "px"}) - .show(); - } - return false; - }); - - $("#wc-resource-list").live("click", function(event) { - var ref = $(event.originalTarget).attr("ref"); - var text = $(event.originalTarget).text(); - $("#wc-add-resource span").text(text); - $("#wc-add-resource").attr("ref", ref); - $("#wc-resource-list").hide(); - $("#wc-resource-list li.ui-selected").removeClass("ui-selected"); - }); - - $("#center a.wc-child-link").live("click", function(event) { - $(".wc-thumb-grid-cell.ui-selected").removeClass("ui-selected"); - $(this).parents("li:first").addClass("ui-selected"); - _set_navigation_buttons($(".wc-thumb-grid-cell.ui-selected").attr("ref")); - return false; - }); - - $(".wc-button").live("click", function() { - if ($(this).hasClass("ui-state-disabled")) { - return false; - } - - var action = $(this).attr("ref"); - switch (action) { - case "parent": - get_detail($("span", this).attr("ref"), _set_active_album); - break; - case "first": - case "previous": - case "next": - case "last": - if (resource_type != "album") { - get_detail($("span", this).attr("ref")); - } else { - var selected = $(".wc-thumb-grid-cell.ui-selected"); - selected.removeClass("ui-selected"); - switch ($(this).attr("ref")) { - case "first": - $(".wc-thumb-grid-cell:first").addClass("ui-selected"); - break; - case "previous": - selected.prev().addClass("ui-selected"); - break; - case "next": - selected.next().addClass("ui-selected"); - break; - case "last": - $(".wc-thumb-grid-cell:last").addClass("ui-selected"); - break; - } - _set_navigation_buttons(); - } - break; - case "edit": - case "delete": - _open_dialog(action + "_" + resource_type, $("span", this).attr("ref")); - break; - default: - if (/^add_.*/.test(action)) { - _open_dialog(action, $("span", this).attr("ref")); - } else { - console.group("process toolbar button click: " + $(this).attr("ref")); - console.log(($("span", this).attr("ref"))); - console.groupEnd(); - } - } - return false; - }); - - $(".tree-title", obj).live("click", function (event) { - get_detail($(this).parents("li:first").attr("ref")); - $(".ui-selected").removeClass("ui-selected"); - $(this).addClass("ui-selected"); - return false; - }); - - $("#album_tree [ref=''] .tree-title:first").addClass("ui-selected"); - - $("#wc-tag-cloud li a", obj).live("click", function (event) { - $.get($(this).attr("href"), function(data, textStatus) { - $("#wc-detail").html(data); - set_selected_thumb(); - save_paths(); - }); - return false; - }); - - set_selected_thumb(); - save_paths(); - } - - function _set_active_album(path) { - var album = $("#album_tree [ref='" + path + "']"); - if (album.length > 0) { - $(".tree-title.ui-selected").removeClass("ui-selected"); - $(".tree-title:first", album).addClass("ui-selected"); - } - } - - function set_selected_thumb() { - if ($(".wc-thumb-grid-cell.ui-selected").length == 0) { - $(".wc-thumb-grid-cell:first").addClass("ui-selected"); - } - } - - function _open_dialog(dialog, resource_path) { - $("body").append('
    '); - $("#g-dialog").dialog({ - model: true, - resizable: false, - position: "center", - close: function() { - $("#g-dialog").dialog("destroy").remove(); - } - }); - $.getJSON("/g3_client/index.php/" + dialog, {path: resource_path}, function(data) { - $("#g-dialog").html(data.form); - - if ($("#g-dialog fieldset legend").length) { - $("#g-dialog").dialog('option', 'title', $("#g-dialog fieldset legend:eq(0)").html()); - } - _ajaxifyDialog(); - - $("#g-dialog").dialog("open"); - - }); - } - - function _ajaxifyDialog() { - if ($("#g-dialog form").length) { - $("#g-dialog form").ajaxForm({ - dataType: "json", - beforeSubmit: function(formData, form, options) { - form.find(":submit, :reset") - .addClass("ui-state-disabled") - .attr("disabled", "disabled"); - return true; - }, - success: function(data) { - if (data.form) { - $("#g-dialog form").replaceWith(data.form); - $("#g-dialog form :submit").removeClass("ui-state-disabled") - .attr("disabled", null); - _ajaxifyDialog(); - } - if (data.result == "success") { - $("#g-dialog").dialog('close'); - get_detail(data.path, _set_active_album); - if (data.type == "album") { - var path = data.path; - $.get("/g3_client/index.php/g3_client/albums", - {path: path}, - function(data, textStatus) { - var selector = "#album_tree li[ref=" + path + "]"; - $(selector).replaceWith(data); - $(selector + " .tree-title:first").addClass("ui-selected"); - }); - } - } else if (data.result == "fail") { - $("#g-dialog").dialog('close'); - alert(data.message); - } - } - }); - } - } - - function get_detail(path, callback) { - $.get("/g3_client/index.php/g3_client/detail", {path: path}, function(data, textStatus) { - $("#wc-detail").html(data); - set_selected_thumb(); - save_paths(); - if (callback) { - callback(path); - } - }); - } - - function save_paths() { - _paths[current_path] = []; - $(".wc-thumb-grid-cell").each(function(i) { - _paths[current_path][i] = $(this).attr("ref"); - }); - - _set_navigation_buttons(); - } - - function _set_navigation_buttons() { - if (current_path != "") { - $(".wc-toolbar .ui-icon-eject").parent("a").removeClass("ui-state-disabled"); - //$(".wc-toolbar .ui-icon-trash").parent("a").removeClass("ui-state-disabled"); - } else { - $(".wc-toolbar .ui-icon-eject").parent("a").addClass("ui-state-disabled"); - //$(".wc-toolbar .ui-icon-trash").parent("a").addClass("ui-state-disabled"); - } - $(".wc-toolbar .ui-icon-eject").attr("ref", parent_path); - $(".wc-toolbar .ui-icon-pencil").attr("ref", current_path); - $(".wc-toolbar #wc-add-resource span") - .attr("ref", resource_type == "album" ? current_path : parent_path); - - var paths = _paths[resource_type == "album" ? current_path : parent_path]; - - $(".wc-toolbar .ui-icon-pencil").attr("ref", current_path); - if (paths.length > 0) { - $(".wc-toolbar .ui-icon-seek-first").parent("a").removeClass("ui-state-disabled"); - $(".wc-toolbar .ui-icon-seek-end").parent("a").removeClass("ui-state-disabled"); - $(".wc-toolbar .ui-icon-seek-first").attr("ref", paths[0]); - $(".wc-toolbar .ui-icon-seek-end").attr("ref", paths[paths.length - 1]); - } else { - $(".wc-toolbar .ui-icon-seek-first").parent("a").addClass("ui-state-disabled"); - $(".wc-toolbar .ui-icon-seek-end").parent("a").addClass("ui-state-disabled"); - } - - var selected_path = - resource_type == "album" ? $(".wc-thumb-grid-cell.ui-selected").attr("ref") : current_path; - var i = 0; - for (; i < paths.length; i++) { - if (paths[i] == selected_path) { - break; - } - } - - $(".wc-toolbar .ui-icon-trash").attr("ref", selected_path); - - if (i > 0) { - $(".wc-toolbar .ui-icon-seek-prev").parent("a").removeClass("ui-state-disabled"); - $(".wc-toolbar .ui-icon-seek-prev").attr("ref", paths[i - 1]); - } else { - $(".wc-toolbar .ui-icon-seek-first").parent("a").addClass("ui-state-disabled"); - $(".wc-toolbar .ui-icon-seek-prev").parent("a").addClass("ui-state-disabled"); - } - if (i < paths.length - 1) { - $(".wc-toolbar .ui-icon-seek-next").parent("a").removeClass("ui-state-disabled"); - $(".wc-toolbar .ui-icon-seek-next").attr("ref", paths[i + 1]); - } else { - $(".wc-toolbar .ui-icon-seek-next").parent("a").addClass("ui-state-disabled"); - $(".wc-toolbar .ui-icon-seek-end").parent("a").addClass("ui-state-disabled"); - } - } -})(jQuery); diff --git a/3.1/obsolete/web_client/js/jquery-ui.js b/3.1/obsolete/web_client/js/jquery-ui.js deleted file mode 100644 index 3a69887e..00000000 --- a/3.1/obsolete/web_client/js/jquery-ui.js +++ /dev/null @@ -1,45 +0,0 @@ -/* - * jQuery UI 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI - */ -jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);;/* - * jQuery UI Dialog 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI/Dialog - * - * Depends: - * ui.core.js - * ui.draggable.js - * ui.resizable.js - */ -(function(c){var b={dragStart:"start.draggable",drag:"drag.draggable",dragStop:"stop.draggable",maxHeight:"maxHeight.resizable",minHeight:"minHeight.resizable",maxWidth:"maxWidth.resizable",minWidth:"minWidth.resizable",resizeStart:"start.resizable",resize:"drag.resizable",resizeStop:"stop.resizable"},a="ui-dialog ui-widget ui-widget-content ui-corner-all ";c.widget("ui.dialog",{_init:function(){this.originalTitle=this.element.attr("title");var l=this,m=this.options,j=m.title||this.originalTitle||" ",e=c.ui.dialog.getTitleId(this.element),k=(this.uiDialog=c("
    ")).appendTo(document.body).hide().addClass(a+m.dialogClass).css({position:"absolute",overflow:"hidden",zIndex:m.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(n){(m.closeOnEscape&&n.keyCode&&n.keyCode==c.ui.keyCode.ESCAPE&&l.close(n))}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(n){l.moveToTop(false,n)}),g=this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(k),f=(this.uiDialogTitlebar=c("
    ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(k),i=c('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){i.addClass("ui-state-hover")},function(){i.removeClass("ui-state-hover")}).focus(function(){i.addClass("ui-state-focus")}).blur(function(){i.removeClass("ui-state-focus")}).mousedown(function(n){n.stopPropagation()}).click(function(n){l.close(n);return false}).appendTo(f),h=(this.uiDialogTitlebarCloseText=c("")).addClass("ui-icon ui-icon-closethick").text(m.closeText).appendTo(i),d=c("").addClass("ui-dialog-title").attr("id",e).html(j).prependTo(f);f.find("*").add(f).disableSelection();(m.draggable&&c.fn.draggable&&this._makeDraggable());(m.resizable&&c.fn.resizable&&this._makeResizable());this._createButtons(m.buttons);this._isOpen=false;(m.bgiframe&&c.fn.bgiframe&&k.bgiframe());(m.autoOpen&&this.open())},destroy:function(){(this.overlay&&this.overlay.destroy());this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");this.uiDialog.remove();(this.originalTitle&&this.element.attr("title",this.originalTitle))},close:function(f){var d=this;if(false===d._trigger("beforeclose",f)){return}(d.overlay&&d.overlay.destroy());d.uiDialog.unbind("keypress.ui-dialog");(d.options.hide?d.uiDialog.hide(d.options.hide,function(){d._trigger("close",f)}):d.uiDialog.hide()&&d._trigger("close",f));c.ui.dialog.overlay.resize();d._isOpen=false;if(d.options.modal){var e=0;c(".ui-dialog").each(function(){if(this!=d.uiDialog[0]){e=Math.max(e,c(this).css("z-index"))}});c.ui.dialog.maxZ=e}},isOpen:function(){return this._isOpen},moveToTop:function(f,e){if((this.options.modal&&!f)||(!this.options.stack&&!this.options.modal)){return this._trigger("focus",e)}if(this.options.zIndex>c.ui.dialog.maxZ){c.ui.dialog.maxZ=this.options.zIndex}(this.overlay&&this.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=++c.ui.dialog.maxZ));var d={scrollTop:this.element.attr("scrollTop"),scrollLeft:this.element.attr("scrollLeft")};this.uiDialog.css("z-index",++c.ui.dialog.maxZ);this.element.attr(d);this._trigger("focus",e)},open:function(){if(this._isOpen){return}var e=this.options,d=this.uiDialog;this.overlay=e.modal?new c.ui.dialog.overlay(this):null;(d.next().length&&d.appendTo("body"));this._size();this._position(e.position);d.show(e.show);this.moveToTop(true);(e.modal&&d.bind("keypress.ui-dialog",function(h){if(h.keyCode!=c.ui.keyCode.TAB){return}var g=c(":tabbable",this),i=g.filter(":first")[0],f=g.filter(":last")[0];if(h.target==f&&!h.shiftKey){setTimeout(function(){i.focus()},1)}else{if(h.target==i&&h.shiftKey){setTimeout(function(){f.focus()},1)}}}));c([]).add(d.find(".ui-dialog-content :tabbable:first")).add(d.find(".ui-dialog-buttonpane :tabbable:first")).add(d).filter(":first").focus();this._trigger("open");this._isOpen=true},_createButtons:function(g){var f=this,d=false,e=c("
    ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");this.uiDialog.find(".ui-dialog-buttonpane").remove();(typeof g=="object"&&g!==null&&c.each(g,function(){return !(d=true)}));if(d){c.each(g,function(h,i){c('').addClass("ui-state-default ui-corner-all").text(h).click(function(){i.apply(f.element[0],arguments)}).hover(function(){c(this).addClass("ui-state-hover")},function(){c(this).removeClass("ui-state-hover")}).focus(function(){c(this).addClass("ui-state-focus")}).blur(function(){c(this).removeClass("ui-state-focus")}).appendTo(e)});e.appendTo(this.uiDialog)}},_makeDraggable:function(){var d=this,f=this.options,e;this.uiDialog.draggable({cancel:".ui-dialog-content",handle:".ui-dialog-titlebar",containment:"document",start:function(){e=f.height;c(this).height(c(this).height()).addClass("ui-dialog-dragging");(f.dragStart&&f.dragStart.apply(d.element[0],arguments))},drag:function(){(f.drag&&f.drag.apply(d.element[0],arguments))},stop:function(){c(this).removeClass("ui-dialog-dragging").height(e);(f.dragStop&&f.dragStop.apply(d.element[0],arguments));c.ui.dialog.overlay.resize()}})},_makeResizable:function(g){g=(g===undefined?this.options.resizable:g);var d=this,f=this.options,e=typeof g=="string"?g:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",alsoResize:this.element,maxWidth:f.maxWidth,maxHeight:f.maxHeight,minWidth:f.minWidth,minHeight:f.minHeight,start:function(){c(this).addClass("ui-dialog-resizing");(f.resizeStart&&f.resizeStart.apply(d.element[0],arguments))},resize:function(){(f.resize&&f.resize.apply(d.element[0],arguments))},handles:e,stop:function(){c(this).removeClass("ui-dialog-resizing");f.height=c(this).height();f.width=c(this).width();(f.resizeStop&&f.resizeStop.apply(d.element[0],arguments));c.ui.dialog.overlay.resize()}}).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_position:function(i){var e=c(window),f=c(document),g=f.scrollTop(),d=f.scrollLeft(),h=g;if(c.inArray(i,["center","top","right","bottom","left"])>=0){i=[i=="right"||i=="left"?i:"center",i=="top"||i=="bottom"?i:"middle"]}if(i.constructor!=Array){i=["center","middle"]}if(i[0].constructor==Number){d+=i[0]}else{switch(i[0]){case"left":d+=0;break;case"right":d+=e.width()-this.uiDialog.outerWidth();break;default:case"center":d+=(e.width()-this.uiDialog.outerWidth())/2}}if(i[1].constructor==Number){g+=i[1]}else{switch(i[1]){case"top":g+=0;break;case"bottom":g+=e.height()-this.uiDialog.outerHeight();break;default:case"middle":g+=(e.height()-this.uiDialog.outerHeight())/2}}g=Math.max(g,h);this.uiDialog.css({top:g,left:d})},_setData:function(e,f){(b[e]&&this.uiDialog.data(b[e],f));switch(e){case"buttons":this._createButtons(f);break;case"closeText":this.uiDialogTitlebarCloseText.text(f);break;case"dialogClass":this.uiDialog.removeClass(this.options.dialogClass).addClass(a+f);break;case"draggable":(f?this._makeDraggable():this.uiDialog.draggable("destroy"));break;case"height":this.uiDialog.height(f);break;case"position":this._position(f);break;case"resizable":var d=this.uiDialog,g=this.uiDialog.is(":data(resizable)");(g&&!f&&d.resizable("destroy"));(g&&typeof f=="string"&&d.resizable("option","handles",f));(g||this._makeResizable(f));break;case"title":c(".ui-dialog-title",this.uiDialogTitlebar).html(f||" ");break;case"width":this.uiDialog.width(f);break}c.widget.prototype._setData.apply(this,arguments)},_size:function(){var e=this.options;this.element.css({height:0,minHeight:0,width:"auto"});var d=this.uiDialog.css({height:"auto",width:e.width}).height();this.element.css({minHeight:Math.max(e.minHeight-d,0),height:e.height=="auto"?"auto":Math.max(e.height-d,0)})}});c.extend(c.ui.dialog,{version:"1.7.2",defaults:{autoOpen:true,bgiframe:false,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1000},getter:"isOpen",uuid:0,maxZ:0,getTitleId:function(d){return"ui-dialog-title-"+(d.attr("id")||++this.uuid)},overlay:function(d){this.$el=c.ui.dialog.overlay.create(d)}});c.extend(c.ui.dialog.overlay,{instances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(d){return d+".dialog-overlay"}).join(" "),create:function(e){if(this.instances.length===0){setTimeout(function(){if(c.ui.dialog.overlay.instances.length){c(document).bind(c.ui.dialog.overlay.events,function(f){var g=c(f.target).parents(".ui-dialog").css("zIndex")||0;return(g>c.ui.dialog.overlay.maxZ)})}},1);c(document).bind("keydown.dialog-overlay",function(f){(e.options.closeOnEscape&&f.keyCode&&f.keyCode==c.ui.keyCode.ESCAPE&&e.close(f))});c(window).bind("resize.dialog-overlay",c.ui.dialog.overlay.resize)}var d=c("
    ").appendTo(document.body).addClass("ui-widget-overlay").css({width:this.width(),height:this.height()});(e.options.bgiframe&&c.fn.bgiframe&&d.bgiframe());this.instances.push(d);return d},destroy:function(d){this.instances.splice(c.inArray(this.instances,d),1);if(this.instances.length===0){c([document,window]).unbind(".dialog-overlay")}d.remove();var e=0;c.each(this.instances,function(){e=Math.max(e,this.css("z-index"))});this.maxZ=e},height:function(){if(c.browser.msie&&c.browser.version<7){var e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);var d=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);if(e
    ');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h= 0 ? '&' : '?') + q; - options.data = null; // data is null for 'get' - } - else - options.data = q; // data is the query string for 'post' - - var $form = this, callbacks = []; - if (options.resetForm) callbacks.push(function() { $form.resetForm(); }); - if (options.clearForm) callbacks.push(function() { $form.clearForm(); }); - - // perform a load on the target only if dataType is not provided - if (!options.dataType && options.target) { - var oldSuccess = options.success || function(){}; - callbacks.push(function(data) { - $(options.target).html(data).each(oldSuccess, arguments); - }); - } - else if (options.success) - callbacks.push(options.success); - - options.success = function(data, status) { - for (var i=0, max=callbacks.length; i < max; i++) - callbacks[i].apply(options, [data, status, $form]); - }; - - // are there files to upload? - var files = $('input:file', this).fieldValue(); - var found = false; - for (var j=0; j < files.length; j++) - if (files[j]) - found = true; - - var multipart = false; -// var mp = 'multipart/form-data'; -// multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp); - - // options.iframe allows user to force iframe mode - if (options.iframe || found || multipart) { - // hack to fix Safari hang (thanks to Tim Molendijk for this) - // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d - if (options.closeKeepAlive) - $.get(options.closeKeepAlive, fileUpload); - else - fileUpload(); - } - else - $.ajax(options); - - // fire 'notify' event - this.trigger('form-submit-notify', [this, options]); - return this; - - - // private function for handling file uploads (hat tip to YAHOO!) - function fileUpload() { - var form = $form[0]; - - /* (this breaks the watermark form uploader, turn it off for now) - if ($(':input[name=submit]', form).length) { - alert('Error: Form elements must not be named "submit".'); - return; - } - */ - - var opts = $.extend({}, $.ajaxSettings, options); - var s = $.extend(true, {}, $.extend(true, {}, $.ajaxSettings), opts); - - var id = 'jqFormIO' + (new Date().getTime()); - var $io = $('