Commit 03330473bc8ae3469ae60d895119e9130a1d68ea
Merge branch 'edge' of git@github.com:ktgit/knowledgetree into edge
Showing
1576 changed files
with
13750 additions
and
79809 deletions
Too many changes.
To preserve performance only 100 of 1576 files are displayed.
config/dmsDefaults.php
| @@ -38,6 +38,9 @@ | @@ -38,6 +38,9 @@ | ||
| 38 | * | 38 | * |
| 39 | */ | 39 | */ |
| 40 | 40 | ||
| 41 | +// stuff in the new installer section database upgrade fails without this | ||
| 42 | +global $default; | ||
| 43 | + | ||
| 41 | if (defined('DMS_DEFAULTS_INCLUDED')) | 44 | if (defined('DMS_DEFAULTS_INCLUDED')) |
| 42 | { | 45 | { |
| 43 | return; | 46 | return; |
| @@ -662,5 +665,4 @@ if (!extension_loaded('mbstring')) | @@ -662,5 +665,4 @@ if (!extension_loaded('mbstring')) | ||
| 662 | require_once(KT_LIB_DIR . '/templating/kt3template.inc.php'); | 665 | require_once(KT_LIB_DIR . '/templating/kt3template.inc.php'); |
| 663 | $GLOBALS['main'] =new KTPage(); | 666 | $GLOBALS['main'] =new KTPage(); |
| 664 | 667 | ||
| 665 | - | ||
| 666 | ?> | 668 | ?> |
ktatompub/.htaccess deleted
| 1 | -# This file sets up the necessary PHP settings to run KnowledgeTree | ||
| 2 | -# optimally. | ||
| 3 | -# | ||
| 4 | -# It is best that KnowledgeTree be allowed to manage its PHP and access | ||
| 5 | -# permissions using these .htaccess files. This prevents direct access | ||
| 6 | -# to libraries, scripts, and documents that should not be available via | ||
| 7 | -# the web. | ||
| 8 | -# | ||
| 9 | -# By default, to facilitate quick testing of functionality, | ||
| 10 | -# KnowledgeTree places the Documents directory within the KnowledgeTree | ||
| 11 | -# web root. This, by default, would allow people to browse the | ||
| 12 | -# documents in the DMS, bypassing the security permissions. The | ||
| 13 | -# default .htaccess settings would prevent this. | ||
| 14 | -# | ||
| 15 | -# KnowledgeTree itself is able to deal with most PHP configurations, | ||
| 16 | -# excepting "safe mode" currently, but is unable to handle certain | ||
| 17 | -# inherent configuration options (for example, setting the upload size | ||
| 18 | -# very low). Check the setup checklists (as described in the | ||
| 19 | -# documentation) to see how your configuration is handled. | ||
| 20 | -# | ||
| 21 | -# The default .htaccess settings ensure that no workarounds occur in the | ||
| 22 | -# PHP code, leading to better performance and robustness. | ||
| 23 | -# | ||
| 24 | -#<IfModule mod_php5.c> | ||
| 25 | -#php_value default_mimetype text/html | ||
| 26 | -#php_value auto_prepend_file none | ||
| 27 | -#php_value auto_append_file none | ||
| 28 | -#php_flag display_startup_errors ON | ||
| 29 | -#php_flag display_errors ON | ||
| 30 | -#php_flag file_uploads ON | ||
| 31 | -#php_flag magic_quotes_gpc OFF | ||
| 32 | -#php_flag magic_quotes_runtime OFF | ||
| 33 | -#php_flag register_globals OFF | ||
| 34 | -#php_flag output_buffering OFF | ||
| 35 | -#php_flag session.auto_start OFF | ||
| 36 | -#</IfModule> | ||
| 37 | - | ||
| 38 | - | ||
| 39 | -#<IfModule mod_rewrite.c> | ||
| 40 | -#RewriteEngine On | ||
| 41 | -# <IfModule mod_env.c> | ||
| 42 | -# SetEnv kt_no_extensions yes | ||
| 43 | -# </IfModule> | ||
| 44 | -#</IfModule> | ||
| 45 | - |
ktatompub/Client/.project deleted
ktatompub/Client/index.html deleted
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
| 3 | -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
| 4 | -<head> | ||
| 5 | -<title>KnowlegeTree AtomPub Client</title> | ||
| 6 | -<script src="js/jquery/jquery-1.3.2.min.js"></script> | ||
| 7 | -<script src="js/jquery/plugins/jquery.cookie.js"></script> | ||
| 8 | -<script src="js/jquery/plugins/jquery.xml2json.js"></script> | ||
| 9 | -<script src="js/jquery/ui/ui.core.js"></script> | ||
| 10 | -<script src="js/jquery/ui/ui.tabs.js"></script> | ||
| 11 | -<script src="js/jquery/ui/ui.dialog.js"></script> | ||
| 12 | -<script src="js/jquery/plugins/jquery.dynatree.min.js"></script> | ||
| 13 | -<script src="js/site/site.js"></script> | ||
| 14 | -<script src="js/site/site_cfg.js"></script> | ||
| 15 | -<script src="js/lib/lib.js"></script> | ||
| 16 | -<script src="js/lib/lib.dom.js"></script> | ||
| 17 | -<script src="js/lib/lib.debug.js"></script> | ||
| 18 | -<script src="js/lib/lib.utils.js"></script> | ||
| 19 | -<script src="js/lib/lib.resources.js"></script> | ||
| 20 | -<script src="js/lib/lib.data.js"></script> | ||
| 21 | -<script src="js/lib/events.js"></script> | ||
| 22 | -<script src="js/site/site.event_handlers.js"></script> | ||
| 23 | -<script src="js/APP/KT_atom_server.js"></script> | ||
| 24 | -<script src="js/APP/app.js"></script> | ||
| 25 | -<script type="text/javascript"> | ||
| 26 | -// site.bootStrap(); //If enabled then you don't need to have all the javascript installs above | ||
| 27 | -// however, it breaks in Titanium | ||
| 28 | - $(document).ready(function(){site.init();}); | ||
| 29 | - </script> | ||
| 30 | -<link type="text/css" href="js/jquery/ui/themes/start/ui.all.css" rel="stylesheet" /> | ||
| 31 | -<link rel="stylesheet" type="text/css" href="js/jquery/plugins/skin/ui.dynatree.css"> | ||
| 32 | -<style> | ||
| 33 | -body { | ||
| 34 | - margin: 5px; | ||
| 35 | - background-color: #EEEEEE; | ||
| 36 | -} | ||
| 37 | -.mainTable { | ||
| 38 | - width: 1024px; | ||
| 39 | - background-color: #FFFFFF; | ||
| 40 | -} | ||
| 41 | -.header { | ||
| 42 | - font-family: Arial, Helvetica, sans-serif; | ||
| 43 | - font-size: 18px; | ||
| 44 | - font-weight: bold; | ||
| 45 | - color: #666666; | ||
| 46 | - padding: 5px 5px 5px 5px; | ||
| 47 | - margin-bottom:10px; | ||
| 48 | -} | ||
| 49 | -.TabText { | ||
| 50 | - font-size: 11px; | ||
| 51 | - margin: 0px; | ||
| 52 | - padding: 0px; | ||
| 53 | -} | ||
| 54 | -.settingsRow { | ||
| 55 | - margin-bottom: 5px; | ||
| 56 | - padding-bottom: 5px; | ||
| 57 | - border-bottom: 1px solid #EEEEEE; | ||
| 58 | -} | ||
| 59 | -.settingsRow_nodivider { | ||
| 60 | - margin-bottom: 5px; | ||
| 61 | - padding-bottom: 5px; | ||
| 62 | -} | ||
| 63 | -.tree_panel_scrollbar_hider { | ||
| 64 | - padding:1px; | ||
| 65 | - width:400px; | ||
| 66 | - height: 528px; | ||
| 67 | - overflow: hidden; | ||
| 68 | -} | ||
| 69 | -.tree_panel_area { | ||
| 70 | - width: 418px; | ||
| 71 | - height: 548px; | ||
| 72 | - overflow:scroll; | ||
| 73 | -} | ||
| 74 | -.info_panel_scrollbar_hider { | ||
| 75 | - width:515px; | ||
| 76 | - height: 500px; | ||
| 77 | - overflow: hidden; | ||
| 78 | -} | ||
| 79 | -.info_panel_area { | ||
| 80 | - width: 535px; | ||
| 81 | - height: 520px; | ||
| 82 | - overflow:scroll; | ||
| 83 | -} | ||
| 84 | -.info_panel_toolbar { | ||
| 85 | - width:510px; | ||
| 86 | - padding: 3px; | ||
| 87 | - margin-bottom:4px; | ||
| 88 | -} | ||
| 89 | -.info_panel_container { | ||
| 90 | - width: 500px; | ||
| 91 | -} | ||
| 92 | -.info_panel_heading { | ||
| 93 | - background-color:#DDDDDD; | ||
| 94 | - padding: 4px; | ||
| 95 | - font-weight: bold; | ||
| 96 | - font-size:14px; | ||
| 97 | -} | ||
| 98 | -.info_panel_subheading { | ||
| 99 | - background-color:#DDDDDD; | ||
| 100 | - padding: 3px; | ||
| 101 | - font-weight: bold; | ||
| 102 | - font-size:12px; | ||
| 103 | -} | ||
| 104 | -.info_panel_field_name { | ||
| 105 | - font-family: Arial, Helvetica, sans-serif; | ||
| 106 | - font-size:12px; | ||
| 107 | - font-weight: bold; | ||
| 108 | - color:#333333; | ||
| 109 | - padding: 2px 10px 2px 5px; | ||
| 110 | - text-align:right; | ||
| 111 | - background-color: #EEEEEE; | ||
| 112 | -} | ||
| 113 | -.info_panel_field_value { | ||
| 114 | - font-family:Arial, Helvetica, sans-serif; | ||
| 115 | - font-size: 11px; | ||
| 116 | - font-weight:normal; | ||
| 117 | - color:#000000; | ||
| 118 | - padding: 2px 5px 2px 10px; | ||
| 119 | - text-align:left; | ||
| 120 | -} | ||
| 121 | -.info_panel_container input[type=text] { | ||
| 122 | - width: 320px; | ||
| 123 | - border: 1px solid #DDDDDD; | ||
| 124 | - font-family:Tahoma, Arial, Helvetica, sans-serif; | ||
| 125 | - font-size:14px; | ||
| 126 | - font-weight: bold; | ||
| 127 | - color:#333399; | ||
| 128 | - padding: 2px; | ||
| 129 | -} | ||
| 130 | -.dialogs { | ||
| 131 | - font-size: 11px; | ||
| 132 | - color:#333399; | ||
| 133 | - font-family:Verdana, Arial, Helvetica, sans-serif | ||
| 134 | -} | ||
| 135 | -.setttings_heading { | ||
| 136 | - padding: 2px 10px 2px 2px; | ||
| 137 | - text-align:right; | ||
| 138 | - font-family:Arial, Helvetica, sans-serif; | ||
| 139 | - font-size:12px; | ||
| 140 | - font-weight: bold; | ||
| 141 | - border-right:1px solid #3333CC; | ||
| 142 | -} | ||
| 143 | - | ||
| 144 | -.settings_indicator{ | ||
| 145 | - padding:5px; | ||
| 146 | - text-align:center; | ||
| 147 | - width: 20px; | ||
| 148 | -} | ||
| 149 | -</style> | ||
| 150 | -</head> | ||
| 151 | -<body> | ||
| 152 | -<table id="container" class="mainTable ui-tabs ui-widget ui-widget-content ui-corner-all" align="center"> | ||
| 153 | - <tr> | ||
| 154 | - <td class="header">KnowledgeTree AtomPub Client</td> | ||
| 155 | - </tr> | ||
| 156 | - <tr> | ||
| 157 | - <td class="perspectivesbar"></td> | ||
| 158 | - </tr> | ||
| 159 | - <tr> | ||
| 160 | - <td><div id="perspectives" style="display:block;"> | ||
| 161 | - <ul> | ||
| 162 | - <li><a href="#perspective_Folders" class="TabText">Explore</a></li> | ||
| 163 | - <li><a href="#perspective_Settings" class="TabText">Settings</a></li> | ||
| 164 | - <li><a href="#perspective_Comms" class="TabText">Comms</a></li> | ||
| 165 | - </ul> | ||
| 166 | - <div id="perspective_Folders" class="info_panel_container"> | ||
| 167 | - <table width="100%" height="500" cellpadding="0" cellspacing="5"> | ||
| 168 | - <tr> | ||
| 169 | - <td width="402" id="" class="ui-widget-content ui-corner-all" style="font-size: 12px; font-weight:bold; vertical-align:top; overflow:scroll;"><span id="folder_loading_icon" style="float:right; display:none; padding: 10px"><img src="js/jquery/plugins/skin/loading.gif" alt="Loading.. Please Wait" width="16" height="16"/></span> <div class="tree_panel_scrollbar_hider"> | ||
| 170 | - <div id="perspective_folder_view" class="tree_panel_area"></div> | ||
| 171 | - </div> | ||
| 172 | -</td> | ||
| 173 | - <td width="597" valign="top" class="ui-tabs ui-widget ui-widget-content ui-corner-all"><div id="info_pane_toolbar" class="fg-toolbar ui-widget-header ui-corner-all ui-helper-clearfix info_panel_toolbar"> | ||
| 174 | - <div class="fg-buttonset fg-buttonset-single ui-helper-clearfix" style="font-size: 12px; padding:3px;"> </div> | ||
| 175 | - </div> | ||
| 176 | - <div class="info_panel_scrollbar_hider"> | ||
| 177 | - <div class="info_panel_area"> | ||
| 178 | - <!-- FOLDER INFO PANE --> | ||
| 179 | - <div id="panel_folder_info"> | ||
| 180 | - <table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
| 181 | - <tr> | ||
| 182 | - <td class="info_panel_heading">Folder Info</td> | ||
| 183 | - </tr> | ||
| 184 | - <tr> | ||
| 185 | - <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
| 186 | - <tr> | ||
| 187 | - <td width="150" class="info_panel_field_name">Id</td> | ||
| 188 | - <td class="info_panel_field_value folder_id"> </td> | ||
| 189 | - </tr> | ||
| 190 | - <tr> | ||
| 191 | - <td class="info_panel_field_name ">Name</td> | ||
| 192 | - <td class="info_panel_field_value folder_name"> </td> | ||
| 193 | - </tr> | ||
| 194 | - <tr> | ||
| 195 | - <td class="info_panel_field_name">Full Path</td> | ||
| 196 | - <td class="info_panel_field_value folder_path"> </td> | ||
| 197 | - </tr> | ||
| 198 | - <tr> | ||
| 199 | - <td class="info_panel_field_name">Permissions</td> | ||
| 200 | - <td class="info_panel_field_value folder_permissions"> </td> | ||
| 201 | - </tr> | ||
| 202 | - <tr> | ||
| 203 | - <td> </td> | ||
| 204 | - <td> </td> | ||
| 205 | - </tr> | ||
| 206 | - </table></td> | ||
| 207 | - </tr> | ||
| 208 | - </table> | ||
| 209 | - </div> | ||
| 210 | - <!-- DOCUMENT INFO PANE --> | ||
| 211 | - <div id="panel_document_info" class="info_panel_container"> | ||
| 212 | - <table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
| 213 | - <tr> | ||
| 214 | - <td width="100%" class="info_panel_heading">Document Info</td> | ||
| 215 | - </tr> | ||
| 216 | - <tr> | ||
| 217 | - <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
| 218 | - <tr> | ||
| 219 | - <td width="150" class="info_panel_field_name">Id</td> | ||
| 220 | - <td class="info_panel_field_value document_id"> </td> | ||
| 221 | - </tr> | ||
| 222 | - <tr> | ||
| 223 | - <td class="info_panel_field_name ">Title</td> | ||
| 224 | - <td class="info_panel_field_value document_title"> </td> | ||
| 225 | - </tr> | ||
| 226 | - <tr> | ||
| 227 | - <td class="info_panel_field_name">File Name</td> | ||
| 228 | - <td class="info_panel_field_value document_filename"> </td> | ||
| 229 | - </tr> | ||
| 230 | - <tr> | ||
| 231 | - <td class="info_panel_field_name">Document Type</td> | ||
| 232 | - <td class="info_panel_field_value document_type"> </td> | ||
| 233 | - </tr> | ||
| 234 | - <tr> | ||
| 235 | - <td class="info_panel_field_name">Custom Document No.</td> | ||
| 236 | - <td class="info_panel_field_value document_custom_no"> </td> | ||
| 237 | - </tr> | ||
| 238 | - <tr> | ||
| 239 | - <td class="info_panel_field_name">OEM Document No.</td> | ||
| 240 | - <td class="info_panel_field_value document_oem_no"> </td> | ||
| 241 | - </tr> | ||
| 242 | - <tr> | ||
| 243 | - <td class="info_panel_field_name">File Size</td> | ||
| 244 | - <td class="info_panel_field_value document_file_size"> </td> | ||
| 245 | - </tr> | ||
| 246 | - <tr> | ||
| 247 | - <td class="info_panel_field_name">Full Path</td> | ||
| 248 | - <td class="info_panel_field_value document_full_path"> </td> | ||
| 249 | - </tr> | ||
| 250 | - <tr> | ||
| 251 | - <td class="info_panel_field_name">Created By</td> | ||
| 252 | - <td class="info_panel_field_value document_created_by"> </td> | ||
| 253 | - </tr> | ||
| 254 | - <tr> | ||
| 255 | - <td class="info_panel_field_name">Created Date</td> | ||
| 256 | - <td class="info_panel_field_value document_created_on"> </td> | ||
| 257 | - </tr> | ||
| 258 | - <tr> | ||
| 259 | - <td class="info_panel_field_name">Checked out By</td> | ||
| 260 | - <td class="info_panel_field_value document_checkout_by"> </td> | ||
| 261 | - </tr> | ||
| 262 | - <tr> | ||
| 263 | - <td class="info_panel_field_name">Checkout Date</td> | ||
| 264 | - <td class="info_panel_field_value document_checkout_on"> </td> | ||
| 265 | - </tr> | ||
| 266 | - <tr> | ||
| 267 | - <td class="info_panel_field_name">Modified By</td> | ||
| 268 | - <td class="info_panel_field_value document_modified_by"> </td> | ||
| 269 | - </tr> | ||
| 270 | - <tr> | ||
| 271 | - <td class="info_panel_field_name">Modified Date</td> | ||
| 272 | - <td class="info_panel_field_value document_modified_on"> </td> | ||
| 273 | - </tr> | ||
| 274 | - <tr> | ||
| 275 | - <td class="info_panel_field_name">Owned by</td> | ||
| 276 | - <td class="info_panel_field_value document_owned_by"> </td> | ||
| 277 | - </tr> | ||
| 278 | - <tr> | ||
| 279 | - <td class="info_panel_field_name">Version</td> | ||
| 280 | - <td class="info_panel_field_value document_version"> </td> | ||
| 281 | - </tr> | ||
| 282 | - <tr> | ||
| 283 | - <td class="info_panel_field_name">Content ID</td> | ||
| 284 | - <td class="info_panel_field_value document_content_id"> </td> | ||
| 285 | - </tr> | ||
| 286 | - <tr> | ||
| 287 | - <td class="info_panel_field_name">Is Immutable</td> | ||
| 288 | - <td class="info_panel_field_value document_immutable"> </td> | ||
| 289 | - </tr> | ||
| 290 | - <tr> | ||
| 291 | - <td class="info_panel_field_name">Permissions</td> | ||
| 292 | - <td class="info_panel_field_value document_permissions"> </td> | ||
| 293 | - </tr> | ||
| 294 | - <tr> | ||
| 295 | - <td class="info_panel_field_name">Workflow</td> | ||
| 296 | - <td class="info_panel_field_value document_workflow"> </td> | ||
| 297 | - </tr> | ||
| 298 | - <tr> | ||
| 299 | - <td class="info_panel_field_name">Workflow State</td> | ||
| 300 | - <td class="info_panel_field_value document_workflow_state"> </td> | ||
| 301 | - </tr> | ||
| 302 | - <tr> | ||
| 303 | - <td class="info_panel_field_name">Mime Type</td> | ||
| 304 | - <td class="info_panel_field_value document_mime_type"> </td> | ||
| 305 | - </tr> | ||
| 306 | - <tr> | ||
| 307 | - <td class="info_panel_field_name">Mime Display</td> | ||
| 308 | - <td class="info_panel_field_value document_mime_display"> </td> | ||
| 309 | - </tr> | ||
| 310 | - <tr> | ||
| 311 | - <td class="info_panel_field_name">Storage Path</td> | ||
| 312 | - <td class="info_panel_field_value document_storage_path"> </td> | ||
| 313 | - </tr> | ||
| 314 | - </table></td> | ||
| 315 | - </tr> | ||
| 316 | - </table> | ||
| 317 | - </div> | ||
| 318 | - <!-- DOCUMENT EDIT PANE --> | ||
| 319 | - <div id="panel_document_info_edit" class="info_panel_container"> | ||
| 320 | - <table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
| 321 | - <tr> | ||
| 322 | - <td width="585" class="info_panel_heading">Document Info</td> | ||
| 323 | - </tr> | ||
| 324 | - <tr> | ||
| 325 | - <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
| 326 | - <tr> | ||
| 327 | - <td width="150" class="info_panel_field_name">Id</td> | ||
| 328 | - <td class="info_panel_field_value"><input id="" class="document_id" type="text" /></td> | ||
| 329 | - </tr> | ||
| 330 | - <tr> | ||
| 331 | - <td class="info_panel_field_name ">Title</td> | ||
| 332 | - <td class="info_panel_field_value"><input id="" class="document_title" type="text" /></td> | ||
| 333 | - </tr> | ||
| 334 | - <tr> | ||
| 335 | - <td class="info_panel_field_name">File Name</td> | ||
| 336 | - <td class="info_panel_field_value"><input id="" class="document_filename" type="text" /></td> | ||
| 337 | - </tr> | ||
| 338 | - <tr> | ||
| 339 | - <td class="info_panel_field_name">Document Type</td> | ||
| 340 | - <td class="info_panel_field_value"><input id="" class="document_type" type="text" /></td> | ||
| 341 | - </tr> | ||
| 342 | - <tr> | ||
| 343 | - <td class="info_panel_field_name">Custom Document No.</td> | ||
| 344 | - <td class="info_panel_field_value"><input id="" class="document_custom_no" type="text" /></td> | ||
| 345 | - </tr> | ||
| 346 | - <tr> | ||
| 347 | - <td class="info_panel_field_name">OEM Document No.</td> | ||
| 348 | - <td class="info_panel_field_value"><input id="" class="document_oem_no" type="text" /></td> | ||
| 349 | - </tr> | ||
| 350 | - <tr> | ||
| 351 | - <td class="info_panel_field_name">File Size</td> | ||
| 352 | - <td class="info_panel_field_value"><input id="" class="document_file_size" type="text" /></td> | ||
| 353 | - </tr> | ||
| 354 | - <tr> | ||
| 355 | - <td class="info_panel_field_name">Full Path</td> | ||
| 356 | - <td class="info_panel_field_value"><input id="" class="document_full_path" type="text" /></td> | ||
| 357 | - </tr> | ||
| 358 | - <tr> | ||
| 359 | - <td class="info_panel_field_name">Created By</td> | ||
| 360 | - <td class="info_panel_field_value"><input id="" class="document_created_by" type="text" /></td> | ||
| 361 | - </tr> | ||
| 362 | - <tr> | ||
| 363 | - <td class="info_panel_field_name">Created Date</td> | ||
| 364 | - <td class="info_panel_field_value"><input id="" class="document_created_on" type="text" /></td> | ||
| 365 | - </tr> | ||
| 366 | - <tr> | ||
| 367 | - <td class="info_panel_field_name">Checked out By</td> | ||
| 368 | - <td class="info_panel_field_value"><input id="" class="document_checkout_by" type="text" /></td> | ||
| 369 | - </tr> | ||
| 370 | - <tr> | ||
| 371 | - <td class="info_panel_field_name">Checkout Date</td> | ||
| 372 | - <td class="info_panel_field_value"><input id="" class="document_checkout_on" type="text" /></td> | ||
| 373 | - </tr> | ||
| 374 | - <tr> | ||
| 375 | - <td class="info_panel_field_name">Modified By</td> | ||
| 376 | - <td class="info_panel_field_value"><input id="" class="document_modified_by" type="text" /></td> | ||
| 377 | - </tr> | ||
| 378 | - <tr> | ||
| 379 | - <td class="info_panel_field_name">Modified Date</td> | ||
| 380 | - <td class="info_panel_field_value"><input id="" class="document_modified_on" type="text" /></td> | ||
| 381 | - </tr> | ||
| 382 | - <tr> | ||
| 383 | - <td class="info_panel_field_name">Owned by</td> | ||
| 384 | - <td class="info_panel_field_value"><input id="" class="document_owned_by" type="text" /></td> | ||
| 385 | - </tr> | ||
| 386 | - <tr> | ||
| 387 | - <td class="info_panel_field_name">Version</td> | ||
| 388 | - <td class="info_panel_field_value"><input id="" class="document_version" type="text" /></td> | ||
| 389 | - </tr> | ||
| 390 | - <tr> | ||
| 391 | - <td class="info_panel_field_name">Content ID</td> | ||
| 392 | - <td class="info_panel_field_value"><input id="" class="document_content_id" type="text" /></td> | ||
| 393 | - </tr> | ||
| 394 | - <tr> | ||
| 395 | - <td class="info_panel_field_name">Is Immutable</td> | ||
| 396 | - <td class="info_panel_field_value"><input id="" class="document_immutable" type="text" /></td> | ||
| 397 | - </tr> | ||
| 398 | - <tr> | ||
| 399 | - <td class="info_panel_field_name">Permissions</td> | ||
| 400 | - <td class="info_panel_field_value"><input id="" class="document_permissions" type="text" /></td> | ||
| 401 | - </tr> | ||
| 402 | - <tr> | ||
| 403 | - <td class="info_panel_field_name">Workflow</td> | ||
| 404 | - <td class="info_panel_field_value"><input id="" class="document_workflow" type="text" /></td> | ||
| 405 | - </tr> | ||
| 406 | - <tr> | ||
| 407 | - <td class="info_panel_field_name">Workflow State</td> | ||
| 408 | - <td class="info_panel_field_value"><input id="" class="document_workflow_state" type="text" /></td> | ||
| 409 | - </tr> | ||
| 410 | - <tr> | ||
| 411 | - <td class="info_panel_field_name">Mime Type</td> | ||
| 412 | - <td class="info_panel_field_value"><input id="" class="document_mime_type" type="text" /></td> | ||
| 413 | - </tr> | ||
| 414 | - <tr> | ||
| 415 | - <td class="info_panel_field_name">Mime Display</td> | ||
| 416 | - <td class="info_panel_field_value"><input id="" class="document_mime_display" type="text" /></td> | ||
| 417 | - </tr> | ||
| 418 | - <tr> | ||
| 419 | - <td class="info_panel_field_name">Storage Path</td> | ||
| 420 | - <td class="info_panel_field_value"><input id="" class="document_storage_path" type="text" /></td> | ||
| 421 | - </tr> | ||
| 422 | - </table></td> | ||
| 423 | - </tr> | ||
| 424 | - </table> | ||
| 425 | - </div> | ||
| 426 | - <!-- FOLDER EDIT PANE --> | ||
| 427 | - <!-- FOLDER INFO PANE --> | ||
| 428 | - <!-- FOLDER INFO PANE --> | ||
| 429 | - </div> | ||
| 430 | - </div></td> | ||
| 431 | - </tr> | ||
| 432 | - </table> | ||
| 433 | - </div> | ||
| 434 | - <div id="perspective_Settings" style=" padding: 5px;"> | ||
| 435 | - <div class="ui-widget-content ui-corner-all" style="height:500px; padding: 15px; font-size: 12px;"> | ||
| 436 | - <div class="settingsRow_nodivider"> | ||
| 437 | - <div class="fg-buttonset fg-buttonset-single ui-helper-clearfix" style="width:100%;"> | ||
| 438 | - <div id="clear_settings_cache" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 20px;" class="ui-icon ui-icon-refresh"/></span><span>Clear Cache</span></div> | ||
| 439 | - </div> | ||
| 440 | - </div> | ||
| 441 | - <div class="settingsRow"> <span style="width: 500px; text-align:right; padding: 5px 10px 5px 5px; margin-right: 10px; border-right: 1px solid #CCCCCC;">KT Atompub Server URL</span> | ||
| 442 | - <input type="text" id="settings_baseurl" value="" style="width: 520px;" /> | ||
| 443 | - </div> | ||
| 444 | - <div class="settingsRow"> <span style="width: 300px; text-align:right; padding: 5px 10px 5px 5px; margin-right: 10px; border-right: 1px solid #CCCCCC;">Document Tree Service</span> | ||
| 445 | - <input type="text" id="settings_service_treestruct" value="" style="width: 520px;" /> | ||
| 446 | - </div> | ||
| 447 | - <div class="settingsRow"> <span style="width: 300px; text-align:right; padding: 5px 10px 5px 5px; margin-right: 10px; border-right: 1px solid #CCCCCC;">Folder Info Service</span> | ||
| 448 | - <input type="text" id="settings_service_folderinfo" value="" style="width: 520px;" /> | ||
| 449 | - </div> | ||
| 450 | - <div class="settingsRow"> <span style="width: 300px; text-align:right; padding: 5px 10px 5px 5px; margin-right: 10px; border-right: 1px solid #CCCCCC;">Document Info Service</span> | ||
| 451 | - <input type="text" id="settings_service_docinfo" value="" style="width: 520px;" /> | ||
| 452 | - </div> | ||
| 453 | - </div> | ||
| 454 | - </div> | ||
| 455 | - <div id="perspective_Comms" style=" padding: 5px;"> | ||
| 456 | - <div class="ui-widget-content ui-corner-all" style="height:500px; padding: 15px; font-size: 12px;"> | ||
| 457 | - <div class="settingsRow_nodivider"> | ||
| 458 | - <div class="fg-toolbar ui-widget-header ui-corner-all ui-helper-clearfix" style="width:100%; padding: 3px;"> | ||
| 459 | - <div class="fg-buttonset fg-buttonset-single ui-helper-clearfix"> | ||
| 460 | - <div id="comms_clear_cache" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 220px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;" onclick="events.trigger('comms_clear_cache');"><span style="display: inline; padding-right: 20px;" class="ui-icon ui-icon-refresh"/></span><span>Clear all Communication Data</span></div> | ||
| 461 | - </div> | ||
| 462 | - </div> | ||
| 463 | - </div> | ||
| 464 | - <div style="height: 450px;"> | ||
| 465 | - <textarea name="panel_comms" id="panel_comms" style="width:100%; height:448px; border: none; font-family:'Courier New', Courier, monospace; font-size: 10px;"></textarea> | ||
| 466 | - </div> | ||
| 467 | - </div> | ||
| 468 | - </div> | ||
| 469 | - </div></td> | ||
| 470 | - </tr> | ||
| 471 | -</table> | ||
| 472 | -<!-- Toolbars --> | ||
| 473 | -<div id="toolbars" style="display:none;"> | ||
| 474 | - <!-- Visible on view document info --> | ||
| 475 | - <div id="info_panel_toolbar_viewDocument"> | ||
| 476 | - <div class="fg-buttonset fg-buttonset-single ui-helper-clearfix" style="font-size: 12px; padding:3px;"> <span id="" onclick="events.trigger('panel.document.edit.show')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-pencil"/></span><span style="padding-left:5px;">Edit</span></span> <span id="" onclick="events.trigger('panel.document.action.checkout')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-cart"/></span><span style="padding-left:5px;">Checkout</span></span> <span id="" onclick="events.trigger('panel.document.action.delete')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-circle-close"/></span><span style="padding-left:5px;">Delete</span></span> <span id="" onclick="events.trigger('panel.document.action.download')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-circle-arrow-s"/></span><span style="padding-left:5px;">Download</span></span> </div> | ||
| 477 | - </div> | ||
| 478 | - <!-- Visible on edit document info --> | ||
| 479 | - <div id="info_panel_toolbar_editDocument"> | ||
| 480 | - <div class="fg-buttonset fg-buttonset-single ui-helper-clearfix" style="font-size: 12px; padding:3px;"> <span id="" onclick="events.trigger('panel.document.info.show')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-cancel"/></span><span style="padding-left:5px;">Cancel Edit</span></span> <span id="" onclick="events.trigger('panel.document.action.save')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-check"/></span><span style="padding-left:5px;">Save</span></span> <span id="" onclick="events.trigger('panel.document.action.delete')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-circle-close"/></span><span style="padding-left:5px;">Delete</span></span> </div> | ||
| 481 | - </div> | ||
| 482 | - <!-- Visible on view folder info --> | ||
| 483 | - <div id="info_panel_toolbar_viewFolder"> | ||
| 484 | - <div class="fg-buttonset fg-buttonset-single ui-helper-clearfix" style="font-size: 12px; padding:3px;"> <span id="" onclick="events.trigger('panel.folder.edit.show')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-pencil"/></span><span style="padding-left:5px;">Edit</span></span> <span id="" onclick="events.trigger('panel.folder.action.move')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-circle-arrow-e"/></span><span style="padding-left:5px;">Move</span></span> </div> | ||
| 485 | - </div> | ||
| 486 | - <!-- Visible on edit folder info --> | ||
| 487 | - <div id="info_panel_toolbar_editFolder"> | ||
| 488 | - <div class="fg-buttonset fg-buttonset-single ui-helper-clearfix" style="font-size: 12px; padding:3px;"> <span id="" onclick="events.trigger('panel.folder.info.show')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-cancel"/></span><span style="padding-left:5px;">Cancel Edit</span></span> <span id="" onclick="events.trigger('panel.folder.action.save')" class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 100px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 15px;" class="ui-icon ui-icon-check"/></span><span style="padding-left:5px;">Save</span></span> </div> | ||
| 489 | - </div> | ||
| 490 | -</div> | ||
| 491 | -<!-- Dialog container--> | ||
| 492 | -<div id="dialog" style="display:none;"> </div> | ||
| 493 | -<!-- Setup Container --> | ||
| 494 | -<div id="setup" class="dialogs" style="width: 400px; height: 300px;" title="Initial Configuration"> | ||
| 495 | - <table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
| 496 | - <tr> | ||
| 497 | - <td width="32%" class="setttings_heading" style="width:180px; border-right: none;">KT Atompub URL</td> | ||
| 498 | - <td width="68%"><span class="settingsRow"> | ||
| 499 | - <input type="text" id="setting_discover" value="" style="width: 200px;" /> | ||
| 500 | - </span></td> | ||
| 501 | - </tr> | ||
| 502 | - <tr> | ||
| 503 | - <td class="" style="width:180px"> </td> | ||
| 504 | - <td style="padding:10px; text-align:right;"><div onclick="events.trigger('setup.getservicedoc',$('#setting_discover').val());"class="fg-button ui-state-default ui-priority-primary ui-corner-all" style="width: 200px; border: 1px solid #BBBBBB; padding:2px; cursor:pointer;"><span style="display: inline; padding-right: 20px;" class="ui-icon ui-icon-refresh"/></span></span><span>Check ServiceDocument</span></div></td> | ||
| 505 | - </tr> | ||
| 506 | - </table> | ||
| 507 | - <table width="100%" border="0" cellpadding="0" cellspacing="0"> | ||
| 508 | - <tr> | ||
| 509 | - <td width="85%" class="setttings_heading">Checking ServiceDocument</td> | ||
| 510 | - <td width="15%" class="settings_indicator" > </td> | ||
| 511 | - </tr> | ||
| 512 | - <tr> | ||
| 513 | - <td class="setttings_heading">Document Tree Service</td> | ||
| 514 | - <td class="settings_indicator"> </td> | ||
| 515 | - </tr> | ||
| 516 | - <tr> | ||
| 517 | - <td class="setttings_heading">Folder Info Service</td> | ||
| 518 | - <td class="settings_indicator"> </td> | ||
| 519 | - </tr> | ||
| 520 | - <tr> | ||
| 521 | - <td class="setttings_heading">Document Info Service</td> | ||
| 522 | - <td class="settings_indicator"> </td> | ||
| 523 | - </tr> | ||
| 524 | - </table> | ||
| 525 | -</div> | ||
| 526 | -</body> | ||
| 527 | -</html> |
ktatompub/Client/js/@research/chili-2.2.zip deleted
No preview for this file type
ktatompub/Client/js/@research/dynatree-0.4.2.zip deleted
No preview for this file type
ktatompub/Client/js/@research/jquery.treeview.zip deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryFileTree.zip deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/api.html deleted
| 1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
| 2 | -<html> | ||
| 3 | -<head> | ||
| 4 | -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
| 5 | -<title>jQuery API Finder</title> | ||
| 6 | -<link rel="stylesheet" href="default.css" type="text/css" media="screen" title="no title" charset="utf-8"> | ||
| 7 | -<link href="ui.finder.css" rel="stylesheet" media="screen,print" type="text/css"> | ||
| 8 | -<link rel="stylesheet" href="ui.theme.css" type="text/css" media="screen" title="no title" charset="utf-8"> | ||
| 9 | - | ||
| 10 | -<!--[if lt IE 8]> | ||
| 11 | - <link href="ui.finder.ie.css" rel="stylesheet" media="screen" type="text/css" /> | ||
| 12 | -<![endif]--> | ||
| 13 | - | ||
| 14 | - | ||
| 15 | -<script src="json.js" type="text/javascript" charset="utf-8"></script> | ||
| 16 | -<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script> | ||
| 17 | -<script type="text/javascript" src="jquery.scrollTo-1.4.0-min.js"></script> | ||
| 18 | -<script src="http://ui.jquery.com/themeroller/themeswitchertool/" type="text/javascript" charset="utf-8"></script> | ||
| 19 | -<script type="text/javascript" src="ui.finder.js"></script> | ||
| 20 | -<style type="text/css"> | ||
| 21 | -a { | ||
| 22 | - color:blue; | ||
| 23 | -} | ||
| 24 | -.ui-finder-container { | ||
| 25 | - min-height:550px; | ||
| 26 | -} | ||
| 27 | -.ui-finder { | ||
| 28 | - width:auto; | ||
| 29 | -} | ||
| 30 | - | ||
| 31 | -.ui-finder .api-content { | ||
| 32 | - padding:0 10px; | ||
| 33 | - line-height:1.5em; | ||
| 34 | - /*display:none;*/ | ||
| 35 | - font-weight:normal !important; | ||
| 36 | -} | ||
| 37 | -.ui-finder .api-content pre { | ||
| 38 | - font-size:1.1em; | ||
| 39 | -} | ||
| 40 | -.ui-finder .api-heading { | ||
| 41 | - margin:15px 0 10px 0; | ||
| 42 | - line-height:1.2em; | ||
| 43 | - position:relative; | ||
| 44 | - border:0px !important; | ||
| 45 | -} | ||
| 46 | -.ui-finder h1.api-heading { | ||
| 47 | - padding-left:20px; | ||
| 48 | -} | ||
| 49 | -.ui-finder .api-content .ui-icon { | ||
| 50 | - display:block; | ||
| 51 | - position:absolute; | ||
| 52 | - top:25%; | ||
| 53 | - left:0; | ||
| 54 | -} | ||
| 55 | - | ||
| 56 | -.ui-finder .api-type { | ||
| 57 | - font-weight:bold; | ||
| 58 | - font-size:0.9em; | ||
| 59 | -} | ||
| 60 | -.ui-finder .api-options, | ||
| 61 | -.ui-finder .api-long-description, | ||
| 62 | -.ui-finder .api-params, | ||
| 63 | -.ui-finder .api-return { | ||
| 64 | - font-size:0.9em; | ||
| 65 | - display:block !important; | ||
| 66 | -} | ||
| 67 | -.ui-finder .api-long-description { | ||
| 68 | - margin-top:5px; | ||
| 69 | -} | ||
| 70 | -.ui-finder .api-long-description p, | ||
| 71 | -.ui-finder .api-params li {margin:0 0 5px 0;} | ||
| 72 | - | ||
| 73 | -.ui-finder .api-options li {margin:0 0 15px 0;} | ||
| 74 | - | ||
| 75 | -.ui-finder .api-options ul, | ||
| 76 | -.ui-finder .api-options p, | ||
| 77 | -.ui-finder .api-options pre, | ||
| 78 | -.ui-finder .api-params p, | ||
| 79 | -.ui-finder .api-params pre { | ||
| 80 | - margin: 0 0 0 15px; | ||
| 81 | -} | ||
| 82 | -.ui-finder .ui-finder-file { | ||
| 83 | - background-position: 0 0 !important; | ||
| 84 | -} | ||
| 85 | -</style> | ||
| 86 | -<script type="text/javascript"> | ||
| 87 | -$(function(){ | ||
| 88 | - var finderObj; | ||
| 89 | - | ||
| 90 | - var createFinder = function() { | ||
| 91 | - | ||
| 92 | - /* | ||
| 93 | - * Initialise Finder | ||
| 94 | - */ | ||
| 95 | - $('#finder').finder({ | ||
| 96 | - animate:false, | ||
| 97 | - title : 'jQuery API Finder', | ||
| 98 | - onInit : function(o) { | ||
| 99 | - finderObj = o; | ||
| 100 | - | ||
| 101 | - $('#switcher').themeswitcher({ | ||
| 102 | - onSelect : function() { | ||
| 103 | - setTimeout(function() { | ||
| 104 | - | ||
| 105 | - var bgc = $('.ui-widget-header').css('backgroundColor'); | ||
| 106 | - | ||
| 107 | - $('.ui-finder-list-item').css('borderColor',bgc); | ||
| 108 | - | ||
| 109 | - finderObj.settings.listItemBorderColour = bgc; | ||
| 110 | - | ||
| 111 | - }, 1000); | ||
| 112 | - } | ||
| 113 | - }); | ||
| 114 | - | ||
| 115 | - }, | ||
| 116 | - toolbarActions : function() { | ||
| 117 | - return '' | ||
| 118 | - } | ||
| 119 | - }); | ||
| 120 | - } | ||
| 121 | - | ||
| 122 | - $('#finder').hide(); | ||
| 123 | - | ||
| 124 | - loadDocs = function(api) { | ||
| 125 | - var f = $('#finder'); | ||
| 126 | - | ||
| 127 | - if(window.sessionStorage) { window.sessionStorage.setItem('api', JSON.stringify(api) ); } | ||
| 128 | - | ||
| 129 | - | ||
| 130 | - var buildCategories = function() { | ||
| 131 | - var cats = api.categories; | ||
| 132 | - | ||
| 133 | - $.each(cats,function() { | ||
| 134 | - var cat = this, | ||
| 135 | - subcat = []; | ||
| 136 | - | ||
| 137 | - f.append('<li class="ui-finder-folder"><a>'+this.name+'</a><ul></ul></li>'); | ||
| 138 | - | ||
| 139 | - | ||
| 140 | - }); | ||
| 141 | - | ||
| 142 | - }; | ||
| 143 | - | ||
| 144 | - var buildData = function() { | ||
| 145 | - var data = api.data, | ||
| 146 | - dirThis; | ||
| 147 | - | ||
| 148 | - var fixLinks = function(text) { | ||
| 149 | - text = text || ''; | ||
| 150 | - text = text | ||
| 151 | - .replace(/\<a\s*href\=[\'\"]([^(http)](\w+.*?))[\'\"]/mgi,'<a href="http:\/\/docs.jquery.com\/$1"'); | ||
| 152 | - text = text | ||
| 153 | - .replace(/\<a\s*href/mgi,'<a target="_blank" href'); | ||
| 154 | - return text; | ||
| 155 | - }; | ||
| 156 | - | ||
| 157 | - for(var i in data) { | ||
| 158 | - var item = data[i], | ||
| 159 | - name = item.name, | ||
| 160 | - cat = item.category, | ||
| 161 | - subcat = item.subcategory, | ||
| 162 | - params = item.params, | ||
| 163 | - paramsH = params, | ||
| 164 | - desc = fixLinks(item.desc), | ||
| 165 | - longdesc = fixLinks(item.longdesc), | ||
| 166 | - options = item.options || []; | ||
| 167 | - | ||
| 168 | - dirThis = item; | ||
| 169 | - | ||
| 170 | - longdesc = (longdesc) ? '<div class="api-long-description">'+longdesc+'</div>' : '' ; | ||
| 171 | - | ||
| 172 | - if(name == '$.ajax' && window.console) { | ||
| 173 | - | ||
| 174 | - | ||
| 175 | - } | ||
| 176 | - | ||
| 177 | - if(params.length) { | ||
| 178 | - var r = [],p = paramsH.reverse(); | ||
| 179 | - for (var i = p.length - 1; i >= 0; i--){ | ||
| 180 | - r.push(p[i].name); }; | ||
| 181 | - | ||
| 182 | - paramsH = '('+r.join(', ')+')'; | ||
| 183 | - | ||
| 184 | - r = []; p = params.reverse(); | ||
| 185 | - for (var i = p.length - 1; i >= 0; i--){ | ||
| 186 | - var param = p[i]; | ||
| 187 | - r.push('<li><strong>'+param.name+'</strong> - '+param.type+'<p>'+fixLinks(param.desc)+'</p></li>'); }; | ||
| 188 | - | ||
| 189 | - params = r; | ||
| 190 | - } | ||
| 191 | - else { paramsH = ''; } | ||
| 192 | - | ||
| 193 | - if(options.length) { | ||
| 194 | - var r = [],o = options.reverse(); | ||
| 195 | - | ||
| 196 | - for (var i = o.length - 1; i >= 0; i--){ | ||
| 197 | - var option = o[i]; | ||
| 198 | - r.push('<li><strong>'+option.name+'</strong> - '+option.type+'\ | ||
| 199 | - <p>'+fixLinks(option.desc)+'</p><em>Default:</em> '+option['default']+'</li>'); }; | ||
| 200 | - | ||
| 201 | - options = '<h3 class="api-heading ui-state-default">Options</h3><ol class="api-options">'+r.join('')+'</ol>'; | ||
| 202 | - } | ||
| 203 | - else { options = ''; } | ||
| 204 | - | ||
| 205 | - var findParentCat = $('li.ui-finder-folder > a:contains('+cat+')',f); | ||
| 206 | - // .parent('li.ui-finder-folder').find('li.ui-finder-folder > a:contains('+subcat+')'); | ||
| 207 | - | ||
| 208 | - findParentCat.siblings('ul:first') | ||
| 209 | - .append('<li class="ui-finder-file">\ | ||
| 210 | - <a>'+name+paramsH+'</a>\ | ||
| 211 | - <div class="api-content">\ | ||
| 212 | - <h1 class="api-heading"><span class="ui-icon ui-icon-bullet"/>'+name+paramsH+'</h1>\ | ||
| 213 | - <div class="ui-state-highlight">\ | ||
| 214 | - <span class="api-type">'+item.type+'</span>\ | ||
| 215 | - - <span class="api-description">'+desc+'</span>\ | ||
| 216 | - </div>\ | ||
| 217 | - '+longdesc+'\ | ||
| 218 | - <h3 class="api-heading ui-state-default">Returns</h3>\ | ||
| 219 | - <p class="api-return">'+item['return']+'</p>\ | ||
| 220 | - <h3 class="api-heading ui-state-default">Params</h3>\ | ||
| 221 | - <ol class="api-params">'+params.join('')+'</ol>\ | ||
| 222 | - '+options+'\ | ||
| 223 | - </div>\ | ||
| 224 | - </li>'); | ||
| 225 | - | ||
| 226 | - } | ||
| 227 | - | ||
| 228 | - }; | ||
| 229 | - | ||
| 230 | - buildCategories(); | ||
| 231 | - buildData(); | ||
| 232 | - | ||
| 233 | - | ||
| 234 | - setTimeout(function() { | ||
| 235 | - $('#loading').remove(); | ||
| 236 | - f.show(); | ||
| 237 | - createFinder(); | ||
| 238 | - $('body').show() | ||
| 239 | - }, 0); | ||
| 240 | - | ||
| 241 | - }; | ||
| 242 | - | ||
| 243 | - if(window.sessionStorage && typeof window.sessionStorage.api !== 'undefined') { | ||
| 244 | - var api = window.sessionStorage.getItem('api').value; | ||
| 245 | - loadDocs(JSON.parse(api)); } | ||
| 246 | - else { | ||
| 247 | - $.getJSON('http://api.jquery.com/lib/docs/api-docs.js?jsoncallback=?'); } | ||
| 248 | - | ||
| 249 | -}); | ||
| 250 | -</script> | ||
| 251 | -</head> | ||
| 252 | - | ||
| 253 | -<body style="display:none"> | ||
| 254 | -<div id="switcher"></div> | ||
| 255 | -<br> | ||
| 256 | -<span id="loading">Loading API ...</span> | ||
| 257 | -<ol id="finder"> | ||
| 258 | - | ||
| 259 | -</ol> | ||
| 260 | -<hr> | ||
| 261 | -<p style="font-size:0.85em"> | ||
| 262 | -This is a not fully functional (for now) version of the jQuery API build for demonstration purposes only. Only tested on a Mac. <strong>More about <a href="http://www.nicolas.rudas.info/jQuery/Finder/">jQuery Finder Plugin</a>.</strong> <a href="http://groups.google.com/group/jquery-en/browse_thread/thread/480bb6f722b66345">Comments ?</a></p> | ||
| 263 | -<script type="text/javascript"> | ||
| 264 | -var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | ||
| 265 | -document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
| 266 | -</script> | ||
| 267 | -<script type="text/javascript"> | ||
| 268 | -try { | ||
| 269 | -var pageTracker = _gat._getTracker("UA-883806-21"); | ||
| 270 | -pageTracker._trackPageview(); | ||
| 271 | -} catch(err) {}</script> | ||
| 272 | -</body> | ||
| 273 | -</html> |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/default.css deleted
| 1 | -body{font:0.8em Verdana,Arial,Helvetica,sans-serif;;} | ||
| 2 | -hr{clear:both;} | ||
| 3 | -.ui-finder{width:850px;padding:10px;} | ||
| 4 | -.ui-finder .ui-finder-list-item{border-bottom:1px solid;} | ||
| 5 | -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-image img{background-color:#000;border:1px outset #ccc;} | ||
| 6 | -.ui-finder-action-destroy{float:left !important;} | ||
| 7 | -.ui-finder .ui-finder-column .ui-finder-file-preview{font-size:0.85em;} | ||
| 8 | -.ui-finder .ui-finder-column .ui-finder-file-preview{padding:10px;} | ||
| 9 | -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-properties{line-height:1.3em;} | ||
| 10 | -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-properties li{margin:0 0 10px 0;} | ||
| 11 | -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-properties li strong{display:block;color:#888;} | ||
| 12 | -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-preview-heading{font-size:1.2em;position:relative;padding-left:20px;margin:0 0 15px 0;cursor:pointer;} | ||
| 13 | -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-preview-heading span{display:block;position:absolute;top:0;left:0;bottom:0;width:16px;} | ||
| 14 | -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-image{margin:15px 0;display:block;} | ||
| 15 | -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-image img{padding:2px;max-width:150px;max-height:150px;} |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/all-wcprops deleted
| 1 | -K 25 | ||
| 2 | -svn:wc:ra_dav:version-url | ||
| 3 | -V 26 | ||
| 4 | -/svn/!svn/ver/2/trunk/html | ||
| 5 | -END | ||
| 6 | -level5.html | ||
| 7 | -K 25 | ||
| 8 | -svn:wc:ra_dav:version-url | ||
| 9 | -V 38 | ||
| 10 | -/svn/!svn/ver/2/trunk/html/level5.html | ||
| 11 | -END | ||
| 12 | -somefile.html | ||
| 13 | -K 25 | ||
| 14 | -svn:wc:ra_dav:version-url | ||
| 15 | -V 40 | ||
| 16 | -/svn/!svn/ver/2/trunk/html/somefile.html | ||
| 17 | -END | ||
| 18 | -level2.html | ||
| 19 | -K 25 | ||
| 20 | -svn:wc:ra_dav:version-url | ||
| 21 | -V 38 | ||
| 22 | -/svn/!svn/ver/2/trunk/html/level2.html | ||
| 23 | -END | ||
| 24 | -level3.html | ||
| 25 | -K 25 | ||
| 26 | -svn:wc:ra_dav:version-url | ||
| 27 | -V 38 | ||
| 28 | -/svn/!svn/ver/2/trunk/html/level3.html | ||
| 29 | -END | ||
| 30 | -level4.html | ||
| 31 | -K 25 | ||
| 32 | -svn:wc:ra_dav:version-url | ||
| 33 | -V 38 | ||
| 34 | -/svn/!svn/ver/2/trunk/html/level4.html | ||
| 35 | -END |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/entries deleted
| 1 | -9 | ||
| 2 | - | ||
| 3 | -dir | ||
| 4 | -3 | ||
| 5 | -https://rudas.n@jqueryfinder.googlecode.com/svn/trunk/html | ||
| 6 | -https://rudas.n@jqueryfinder.googlecode.com/svn | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | -2009-02-26T09:21:02.204978Z | ||
| 11 | -2 | ||
| 12 | -rudas.n | ||
| 13 | - | ||
| 14 | - | ||
| 15 | -svn:special svn:externals svn:needs-lock | ||
| 16 | - | ||
| 17 | - | ||
| 18 | - | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 22 | - | ||
| 23 | - | ||
| 24 | - | ||
| 25 | - | ||
| 26 | - | ||
| 27 | -b09892bc-9467-11dd-b351-877165d8dbbc | ||
| 28 | - | ||
| 29 | -level5.html | ||
| 30 | -file | ||
| 31 | - | ||
| 32 | - | ||
| 33 | - | ||
| 34 | - | ||
| 35 | -2009-02-26T09:26:36.000000Z | ||
| 36 | -3685bcf99a55aa851eb5a5422c6744d7 | ||
| 37 | -2009-02-26T09:21:02.204978Z | ||
| 38 | -2 | ||
| 39 | -rudas.n | ||
| 40 | - | ||
| 41 | - | ||
| 42 | - | ||
| 43 | - | ||
| 44 | - | ||
| 45 | - | ||
| 46 | - | ||
| 47 | - | ||
| 48 | - | ||
| 49 | - | ||
| 50 | - | ||
| 51 | - | ||
| 52 | - | ||
| 53 | - | ||
| 54 | - | ||
| 55 | - | ||
| 56 | - | ||
| 57 | - | ||
| 58 | - | ||
| 59 | - | ||
| 60 | - | ||
| 61 | -443 | ||
| 62 | - | ||
| 63 | -somefile.html | ||
| 64 | -file | ||
| 65 | - | ||
| 66 | - | ||
| 67 | - | ||
| 68 | - | ||
| 69 | -2009-02-26T09:26:36.000000Z | ||
| 70 | -da59fd4f3cc8acf6bca23e3b43aba1fb | ||
| 71 | -2009-02-26T09:21:02.204978Z | ||
| 72 | -2 | ||
| 73 | -rudas.n | ||
| 74 | - | ||
| 75 | - | ||
| 76 | - | ||
| 77 | - | ||
| 78 | - | ||
| 79 | - | ||
| 80 | - | ||
| 81 | - | ||
| 82 | - | ||
| 83 | - | ||
| 84 | - | ||
| 85 | - | ||
| 86 | - | ||
| 87 | - | ||
| 88 | - | ||
| 89 | - | ||
| 90 | - | ||
| 91 | - | ||
| 92 | - | ||
| 93 | - | ||
| 94 | - | ||
| 95 | -690 | ||
| 96 | - | ||
| 97 | -level2.html | ||
| 98 | -file | ||
| 99 | - | ||
| 100 | - | ||
| 101 | - | ||
| 102 | - | ||
| 103 | -2009-02-26T09:26:36.000000Z | ||
| 104 | -b64d5fa7665d4fcc958bcb325a5c2305 | ||
| 105 | -2009-02-26T09:21:02.204978Z | ||
| 106 | -2 | ||
| 107 | -rudas.n | ||
| 108 | - | ||
| 109 | - | ||
| 110 | - | ||
| 111 | - | ||
| 112 | - | ||
| 113 | - | ||
| 114 | - | ||
| 115 | - | ||
| 116 | - | ||
| 117 | - | ||
| 118 | - | ||
| 119 | - | ||
| 120 | - | ||
| 121 | - | ||
| 122 | - | ||
| 123 | - | ||
| 124 | - | ||
| 125 | - | ||
| 126 | - | ||
| 127 | - | ||
| 128 | - | ||
| 129 | -420 | ||
| 130 | - | ||
| 131 | -level3.html | ||
| 132 | -file | ||
| 133 | - | ||
| 134 | - | ||
| 135 | - | ||
| 136 | - | ||
| 137 | -2009-02-26T09:26:36.000000Z | ||
| 138 | -ee26cf4d47b12cc62fdf6ad07db40894 | ||
| 139 | -2009-02-26T09:21:02.204978Z | ||
| 140 | -2 | ||
| 141 | -rudas.n | ||
| 142 | - | ||
| 143 | - | ||
| 144 | - | ||
| 145 | - | ||
| 146 | - | ||
| 147 | - | ||
| 148 | - | ||
| 149 | - | ||
| 150 | - | ||
| 151 | - | ||
| 152 | - | ||
| 153 | - | ||
| 154 | - | ||
| 155 | - | ||
| 156 | - | ||
| 157 | - | ||
| 158 | - | ||
| 159 | - | ||
| 160 | - | ||
| 161 | - | ||
| 162 | - | ||
| 163 | -279 | ||
| 164 | - | ||
| 165 | -level4.html | ||
| 166 | -file | ||
| 167 | - | ||
| 168 | - | ||
| 169 | - | ||
| 170 | - | ||
| 171 | -2009-02-26T09:26:36.000000Z | ||
| 172 | -46a6ce0ec53a23f64d9f7d717da5704d | ||
| 173 | -2009-02-26T09:21:02.204978Z | ||
| 174 | -2 | ||
| 175 | -rudas.n | ||
| 176 | - | ||
| 177 | - | ||
| 178 | - | ||
| 179 | - | ||
| 180 | - | ||
| 181 | - | ||
| 182 | - | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - | ||
| 187 | - | ||
| 188 | - | ||
| 189 | - | ||
| 190 | - | ||
| 191 | - | ||
| 192 | - | ||
| 193 | - | ||
| 194 | - | ||
| 195 | - | ||
| 196 | - | ||
| 197 | -279 | ||
| 198 | - |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/format deleted
| 1 | -9 |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level2.html.svn-base deleted
| 1 | -<ul> | ||
| 2 | - <li class="ui-finder-file"><a href="html/somefile.html?4">Some file - Files do not open</a></li> | ||
| 3 | - <li class="ui-finder-file"><a href="html/somefile.html?5.jpg" title="title is on link, not image">Some Image</a></li> | ||
| 4 | - <li class="ui-finder-folder"><a href="html/level3.html">Some Folder</a></li> | ||
| 5 | - <li class="ui-finder-file"><a href="html/somefile.html?6.jpg" title="title is not neccessary">Some Image</a></li> | ||
| 6 | -</ul> | ||
| 7 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level3.html.svn-base deleted
| 1 | -<ul> | ||
| 2 | - <li class="ui-finder-file"><a href="html/somefile.html?743">Some fileasd asd asdasd a</a></li> | ||
| 3 | - <li class="ui-finder-file"><a href="html/somefile.html?43248.jpg">Some Imaged asd as</a></li> | ||
| 4 | - <li class="ui-finder-folder"><a href="html/level4.html">Some Folder</a></li> | ||
| 5 | -</ul> | ||
| 6 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level4.html.svn-base deleted
| 1 | -<ul> | ||
| 2 | - <li class="ui-finder-file"><a href="html/somefile.html?4237">Some file das das </a></li> | ||
| 3 | - <li class="ui-finder-file"><a href="html/somefile.html?4342528.jpg">Some Image asdasd a</a></li> | ||
| 4 | - <li class="ui-finder-folder"><a href="html/level5.html?33">Some Folder</a></li> | ||
| 5 | -</ul> | ||
| 6 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level5.html.svn-base deleted
| 1 | -<ul> | ||
| 2 | - <li class="ui-finder-file"><a href="html/somefile.html?0939fjkl.jpg" title="some title for this image">Lorem ipsum dolor sit amet</a></li> | ||
| 3 | - <li class="ui-finder-file"><a href="html/somefile.html?das1">Consectetur adipiscing elit</a></li> | ||
| 4 | - <li class="ui-finder-file"><a href="html/somefile.html?23242342">Consequat luctus</a></li> | ||
| 5 | - <li class="ui-finder-file"><a href="html/somefile.html?fsdf5f563">Nisl enim eleifend sem</a></li> | ||
| 6 | - | ||
| 7 | -</ul> | ||
| 8 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/somefile.html.svn-base deleted
| 1 | -<div class="ui-finder-file-preview"> | ||
| 2 | - <h3 class="ui-finder-preview-heading"><span class="ui-icon ui-icon-circle-triangle-s"></span>Preview</h3> | ||
| 3 | - <p class="ui-finder-image"><img src="http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif"></p> | ||
| 4 | - <ul class="ui-finder-properties"> | ||
| 5 | - <li><strong>Name:</strong> logo_jquery_215x53.gif</li> | ||
| 6 | - | ||
| 7 | - <li><strong>Dimensions:</strong> 43x56 pixels</li> | ||
| 8 | - | ||
| 9 | - <li><strong>Size:</strong> 4428 bytes</li> | ||
| 10 | - <li><strong>Type:</strong> GIF Image</li> | ||
| 11 | - | ||
| 12 | - <li><strong>Created:</strong> 24/09/2008 03:39:11</li> | ||
| 13 | - <li><strong>Accessed:</strong> 24/09/2008 04:40:07</li> | ||
| 14 | - <li><strong>Modified:</strong> 24/09/2008 03:39:12</li> | ||
| 15 | - </ul> | ||
| 16 | -</div> | ||
| 17 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level2.html deleted
| 1 | -<ul> | ||
| 2 | - <li class="ui-finder-file"><a href="html/somefile.html?4">Some file - Files do not open</a></li> | ||
| 3 | - <li class="ui-finder-file"><a href="html/somefile.html?5.jpg" title="title is on link, not image">Some Image</a></li> | ||
| 4 | - <li class="ui-finder-folder"><a href="html/level3.html">Some Folder</a></li> | ||
| 5 | - <li class="ui-finder-file"><a href="html/somefile.html?6.jpg" title="title is not neccessary">Some Image</a></li> | ||
| 6 | -</ul> | ||
| 7 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level3.html deleted
| 1 | -<ul> | ||
| 2 | - <li class="ui-finder-file"><a href="html/somefile.html?743">Some fileasd asd asdasd a</a></li> | ||
| 3 | - <li class="ui-finder-file"><a href="html/somefile.html?43248.jpg">Some Imaged asd as</a></li> | ||
| 4 | - <li class="ui-finder-folder"><a href="html/level4.html">Some Folder</a></li> | ||
| 5 | -</ul> | ||
| 6 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level4.html deleted
| 1 | -<ul> | ||
| 2 | - <li class="ui-finder-file"><a href="html/somefile.html?4237">Some file das das </a></li> | ||
| 3 | - <li class="ui-finder-file"><a href="html/somefile.html?4342528.jpg">Some Image asdasd a</a></li> | ||
| 4 | - <li class="ui-finder-folder"><a href="html/level5.html?33">Some Folder</a></li> | ||
| 5 | -</ul> | ||
| 6 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level5.html deleted
| 1 | -<ul> | ||
| 2 | - <li class="ui-finder-file"><a href="html/somefile.html?0939fjkl.jpg" title="some title for this image">Lorem ipsum dolor sit amet</a></li> | ||
| 3 | - <li class="ui-finder-file"><a href="html/somefile.html?das1">Consectetur adipiscing elit</a></li> | ||
| 4 | - <li class="ui-finder-file"><a href="html/somefile.html?23242342">Consequat luctus</a></li> | ||
| 5 | - <li class="ui-finder-file"><a href="html/somefile.html?fsdf5f563">Nisl enim eleifend sem</a></li> | ||
| 6 | - | ||
| 7 | -</ul> | ||
| 8 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/somefile.html deleted
| 1 | -<div class="ui-finder-file-preview"> | ||
| 2 | - <h3 class="ui-finder-preview-heading"><span class="ui-icon ui-icon-circle-triangle-s"></span>Preview</h3> | ||
| 3 | - <p class="ui-finder-image"><img src="http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif"></p> | ||
| 4 | - <ul class="ui-finder-properties"> | ||
| 5 | - <li><strong>Name:</strong> logo_jquery_215x53.gif</li> | ||
| 6 | - | ||
| 7 | - <li><strong>Dimensions:</strong> 43x56 pixels</li> | ||
| 8 | - | ||
| 9 | - <li><strong>Size:</strong> 4428 bytes</li> | ||
| 10 | - <li><strong>Type:</strong> GIF Image</li> | ||
| 11 | - | ||
| 12 | - <li><strong>Created:</strong> 24/09/2008 03:39:11</li> | ||
| 13 | - <li><strong>Accessed:</strong> 24/09/2008 04:40:07</li> | ||
| 14 | - <li><strong>Modified:</strong> 24/09/2008 03:39:12</li> | ||
| 15 | - </ul> | ||
| 16 | -</div> | ||
| 17 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/all-wcprops deleted
| 1 | -K 25 | ||
| 2 | -svn:wc:ra_dav:version-url | ||
| 3 | -V 28 | ||
| 4 | -/svn/!svn/ver/2/trunk/images | ||
| 5 | -END | ||
| 6 | -ui-icons_2e83ff_256x240.png | ||
| 7 | -K 25 | ||
| 8 | -svn:wc:ra_dav:version-url | ||
| 9 | -V 56 | ||
| 10 | -/svn/!svn/ver/2/trunk/images/ui-icons_2e83ff_256x240.png | ||
| 11 | -END | ||
| 12 | -ui-bg_glass_95_fef1ec_1x400.png | ||
| 13 | -K 25 | ||
| 14 | -svn:wc:ra_dav:version-url | ||
| 15 | -V 60 | ||
| 16 | -/svn/!svn/ver/2/trunk/images/ui-bg_glass_95_fef1ec_1x400.png | ||
| 17 | -END | ||
| 18 | -ui-icons_888888_256x240.png | ||
| 19 | -K 25 | ||
| 20 | -svn:wc:ra_dav:version-url | ||
| 21 | -V 56 | ||
| 22 | -/svn/!svn/ver/2/trunk/images/ui-icons_888888_256x240.png | ||
| 23 | -END | ||
| 24 | -ui-bg_glass_55_fbf9ee_1x400.png | ||
| 25 | -K 25 | ||
| 26 | -svn:wc:ra_dav:version-url | ||
| 27 | -V 60 | ||
| 28 | -/svn/!svn/ver/2/trunk/images/ui-bg_glass_55_fbf9ee_1x400.png | ||
| 29 | -END | ||
| 30 | -ui-bg_glass_75_dadada_1x400.png | ||
| 31 | -K 25 | ||
| 32 | -svn:wc:ra_dav:version-url | ||
| 33 | -V 60 | ||
| 34 | -/svn/!svn/ver/2/trunk/images/ui-bg_glass_75_dadada_1x400.png | ||
| 35 | -END | ||
| 36 | -ui-bg_flat_75_ffffff_40x100.png | ||
| 37 | -K 25 | ||
| 38 | -svn:wc:ra_dav:version-url | ||
| 39 | -V 60 | ||
| 40 | -/svn/!svn/ver/2/trunk/images/ui-bg_flat_75_ffffff_40x100.png | ||
| 41 | -END | ||
| 42 | -ui-bg_glass_75_e6e6e6_1x400.png | ||
| 43 | -K 25 | ||
| 44 | -svn:wc:ra_dav:version-url | ||
| 45 | -V 60 | ||
| 46 | -/svn/!svn/ver/2/trunk/images/ui-bg_glass_75_e6e6e6_1x400.png | ||
| 47 | -END | ||
| 48 | -ui-bg_glass_65_ffffff_1x400.png | ||
| 49 | -K 25 | ||
| 50 | -svn:wc:ra_dav:version-url | ||
| 51 | -V 60 | ||
| 52 | -/svn/!svn/ver/2/trunk/images/ui-bg_glass_65_ffffff_1x400.png | ||
| 53 | -END | ||
| 54 | -ui-bg_highlight-soft_75_cccccc_1x100.png | ||
| 55 | -K 25 | ||
| 56 | -svn:wc:ra_dav:version-url | ||
| 57 | -V 69 | ||
| 58 | -/svn/!svn/ver/2/trunk/images/ui-bg_highlight-soft_75_cccccc_1x100.png | ||
| 59 | -END | ||
| 60 | -ui-icons_cd0a0a_256x240.png | ||
| 61 | -K 25 | ||
| 62 | -svn:wc:ra_dav:version-url | ||
| 63 | -V 56 | ||
| 64 | -/svn/!svn/ver/2/trunk/images/ui-icons_cd0a0a_256x240.png | ||
| 65 | -END | ||
| 66 | -ui-bg_flat_0_aaaaaa_40x100.png | ||
| 67 | -K 25 | ||
| 68 | -svn:wc:ra_dav:version-url | ||
| 69 | -V 59 | ||
| 70 | -/svn/!svn/ver/2/trunk/images/ui-bg_flat_0_aaaaaa_40x100.png | ||
| 71 | -END | ||
| 72 | -ui-icons_454545_256x240.png | ||
| 73 | -K 25 | ||
| 74 | -svn:wc:ra_dav:version-url | ||
| 75 | -V 56 | ||
| 76 | -/svn/!svn/ver/2/trunk/images/ui-icons_454545_256x240.png | ||
| 77 | -END | ||
| 78 | -ui-icons_222222_256x240.png | ||
| 79 | -K 25 | ||
| 80 | -svn:wc:ra_dav:version-url | ||
| 81 | -V 56 | ||
| 82 | -/svn/!svn/ver/2/trunk/images/ui-icons_222222_256x240.png | ||
| 83 | -END |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/entries deleted
| 1 | -9 | ||
| 2 | - | ||
| 3 | -dir | ||
| 4 | -3 | ||
| 5 | -https://rudas.n@jqueryfinder.googlecode.com/svn/trunk/images | ||
| 6 | -https://rudas.n@jqueryfinder.googlecode.com/svn | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | -2009-02-26T09:21:02.204978Z | ||
| 11 | -2 | ||
| 12 | -rudas.n | ||
| 13 | - | ||
| 14 | - | ||
| 15 | -svn:special svn:externals svn:needs-lock | ||
| 16 | - | ||
| 17 | - | ||
| 18 | - | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 22 | - | ||
| 23 | - | ||
| 24 | - | ||
| 25 | - | ||
| 26 | - | ||
| 27 | -b09892bc-9467-11dd-b351-877165d8dbbc | ||
| 28 | - | ||
| 29 | -ui-icons_2e83ff_256x240.png | ||
| 30 | -file | ||
| 31 | - | ||
| 32 | - | ||
| 33 | - | ||
| 34 | - | ||
| 35 | -2009-02-26T09:26:37.000000Z | ||
| 36 | -a4127cef04012ee8681adef24d8e2a0f | ||
| 37 | -2009-02-26T09:21:02.204978Z | ||
| 38 | -2 | ||
| 39 | -rudas.n | ||
| 40 | -has-props | ||
| 41 | - | ||
| 42 | - | ||
| 43 | - | ||
| 44 | - | ||
| 45 | - | ||
| 46 | - | ||
| 47 | - | ||
| 48 | - | ||
| 49 | - | ||
| 50 | - | ||
| 51 | - | ||
| 52 | - | ||
| 53 | - | ||
| 54 | - | ||
| 55 | - | ||
| 56 | - | ||
| 57 | - | ||
| 58 | - | ||
| 59 | - | ||
| 60 | - | ||
| 61 | -4379 | ||
| 62 | - | ||
| 63 | -ui-bg_glass_95_fef1ec_1x400.png | ||
| 64 | -file | ||
| 65 | - | ||
| 66 | - | ||
| 67 | - | ||
| 68 | - | ||
| 69 | -2009-02-26T09:26:37.000000Z | ||
| 70 | -5a3be2d8fff8324d59aec3df7b0a0c83 | ||
| 71 | -2009-02-26T09:21:02.204978Z | ||
| 72 | -2 | ||
| 73 | -rudas.n | ||
| 74 | -has-props | ||
| 75 | - | ||
| 76 | - | ||
| 77 | - | ||
| 78 | - | ||
| 79 | - | ||
| 80 | - | ||
| 81 | - | ||
| 82 | - | ||
| 83 | - | ||
| 84 | - | ||
| 85 | - | ||
| 86 | - | ||
| 87 | - | ||
| 88 | - | ||
| 89 | - | ||
| 90 | - | ||
| 91 | - | ||
| 92 | - | ||
| 93 | - | ||
| 94 | - | ||
| 95 | -119 | ||
| 96 | - | ||
| 97 | -ui-icons_888888_256x240.png | ||
| 98 | -file | ||
| 99 | - | ||
| 100 | - | ||
| 101 | - | ||
| 102 | - | ||
| 103 | -2009-02-26T09:26:37.000000Z | ||
| 104 | -4ec07344d71ee10034427088ec6f3ca3 | ||
| 105 | -2009-02-26T09:21:02.204978Z | ||
| 106 | -2 | ||
| 107 | -rudas.n | ||
| 108 | -has-props | ||
| 109 | - | ||
| 110 | - | ||
| 111 | - | ||
| 112 | - | ||
| 113 | - | ||
| 114 | - | ||
| 115 | - | ||
| 116 | - | ||
| 117 | - | ||
| 118 | - | ||
| 119 | - | ||
| 120 | - | ||
| 121 | - | ||
| 122 | - | ||
| 123 | - | ||
| 124 | - | ||
| 125 | - | ||
| 126 | - | ||
| 127 | - | ||
| 128 | - | ||
| 129 | -4379 | ||
| 130 | - | ||
| 131 | -ui-bg_glass_55_fbf9ee_1x400.png | ||
| 132 | -file | ||
| 133 | - | ||
| 134 | - | ||
| 135 | - | ||
| 136 | - | ||
| 137 | -2009-02-26T09:26:37.000000Z | ||
| 138 | -f8f4558e0b92ff2cd6136781533902ec | ||
| 139 | -2009-02-26T09:21:02.204978Z | ||
| 140 | -2 | ||
| 141 | -rudas.n | ||
| 142 | -has-props | ||
| 143 | - | ||
| 144 | - | ||
| 145 | - | ||
| 146 | - | ||
| 147 | - | ||
| 148 | - | ||
| 149 | - | ||
| 150 | - | ||
| 151 | - | ||
| 152 | - | ||
| 153 | - | ||
| 154 | - | ||
| 155 | - | ||
| 156 | - | ||
| 157 | - | ||
| 158 | - | ||
| 159 | - | ||
| 160 | - | ||
| 161 | - | ||
| 162 | - | ||
| 163 | -120 | ||
| 164 | - | ||
| 165 | -ui-bg_glass_75_dadada_1x400.png | ||
| 166 | -file | ||
| 167 | - | ||
| 168 | - | ||
| 169 | - | ||
| 170 | - | ||
| 171 | -2009-02-26T09:26:37.000000Z | ||
| 172 | -c12c6510dad3ebfa64c8a30e959a2469 | ||
| 173 | -2009-02-26T09:21:02.204978Z | ||
| 174 | -2 | ||
| 175 | -rudas.n | ||
| 176 | -has-props | ||
| 177 | - | ||
| 178 | - | ||
| 179 | - | ||
| 180 | - | ||
| 181 | - | ||
| 182 | - | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - | ||
| 187 | - | ||
| 188 | - | ||
| 189 | - | ||
| 190 | - | ||
| 191 | - | ||
| 192 | - | ||
| 193 | - | ||
| 194 | - | ||
| 195 | - | ||
| 196 | - | ||
| 197 | -111 | ||
| 198 | - | ||
| 199 | -ui-bg_flat_75_ffffff_40x100.png | ||
| 200 | -file | ||
| 201 | - | ||
| 202 | - | ||
| 203 | - | ||
| 204 | - | ||
| 205 | -2009-02-26T09:26:37.000000Z | ||
| 206 | -8692e6efddf882acbff144c38ea7dfdf | ||
| 207 | -2009-02-26T09:21:02.204978Z | ||
| 208 | -2 | ||
| 209 | -rudas.n | ||
| 210 | -has-props | ||
| 211 | - | ||
| 212 | - | ||
| 213 | - | ||
| 214 | - | ||
| 215 | - | ||
| 216 | - | ||
| 217 | - | ||
| 218 | - | ||
| 219 | - | ||
| 220 | - | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - | ||
| 225 | - | ||
| 226 | - | ||
| 227 | - | ||
| 228 | - | ||
| 229 | - | ||
| 230 | - | ||
| 231 | -178 | ||
| 232 | - | ||
| 233 | -ui-bg_glass_75_e6e6e6_1x400.png | ||
| 234 | -file | ||
| 235 | - | ||
| 236 | - | ||
| 237 | - | ||
| 238 | - | ||
| 239 | -2009-02-26T09:26:37.000000Z | ||
| 240 | -f4254356c2a8c9a383205ef2c4de22c4 | ||
| 241 | -2009-02-26T09:21:02.204978Z | ||
| 242 | -2 | ||
| 243 | -rudas.n | ||
| 244 | -has-props | ||
| 245 | - | ||
| 246 | - | ||
| 247 | - | ||
| 248 | - | ||
| 249 | - | ||
| 250 | - | ||
| 251 | - | ||
| 252 | - | ||
| 253 | - | ||
| 254 | - | ||
| 255 | - | ||
| 256 | - | ||
| 257 | - | ||
| 258 | - | ||
| 259 | - | ||
| 260 | - | ||
| 261 | - | ||
| 262 | - | ||
| 263 | - | ||
| 264 | - | ||
| 265 | -110 | ||
| 266 | - | ||
| 267 | -ui-bg_glass_65_ffffff_1x400.png | ||
| 268 | -file | ||
| 269 | - | ||
| 270 | - | ||
| 271 | - | ||
| 272 | - | ||
| 273 | -2009-02-26T09:26:37.000000Z | ||
| 274 | -e5a8f32e28fd5c27bf0fed33c8a8b9b5 | ||
| 275 | -2009-02-26T09:21:02.204978Z | ||
| 276 | -2 | ||
| 277 | -rudas.n | ||
| 278 | -has-props | ||
| 279 | - | ||
| 280 | - | ||
| 281 | - | ||
| 282 | - | ||
| 283 | - | ||
| 284 | - | ||
| 285 | - | ||
| 286 | - | ||
| 287 | - | ||
| 288 | - | ||
| 289 | - | ||
| 290 | - | ||
| 291 | - | ||
| 292 | - | ||
| 293 | - | ||
| 294 | - | ||
| 295 | - | ||
| 296 | - | ||
| 297 | - | ||
| 298 | - | ||
| 299 | -105 | ||
| 300 | - | ||
| 301 | -ui-bg_highlight-soft_75_cccccc_1x100.png | ||
| 302 | -file | ||
| 303 | - | ||
| 304 | - | ||
| 305 | - | ||
| 306 | - | ||
| 307 | -2009-02-26T09:26:37.000000Z | ||
| 308 | -72c593d16e998952cd8d798fee33c6f3 | ||
| 309 | -2009-02-26T09:21:02.204978Z | ||
| 310 | -2 | ||
| 311 | -rudas.n | ||
| 312 | -has-props | ||
| 313 | - | ||
| 314 | - | ||
| 315 | - | ||
| 316 | - | ||
| 317 | - | ||
| 318 | - | ||
| 319 | - | ||
| 320 | - | ||
| 321 | - | ||
| 322 | - | ||
| 323 | - | ||
| 324 | - | ||
| 325 | - | ||
| 326 | - | ||
| 327 | - | ||
| 328 | - | ||
| 329 | - | ||
| 330 | - | ||
| 331 | - | ||
| 332 | - | ||
| 333 | -101 | ||
| 334 | - | ||
| 335 | -ui-icons_cd0a0a_256x240.png | ||
| 336 | -file | ||
| 337 | - | ||
| 338 | - | ||
| 339 | - | ||
| 340 | - | ||
| 341 | -2009-02-26T09:26:37.000000Z | ||
| 342 | -85eb7d511838b9bc089b7d6efd4ded92 | ||
| 343 | -2009-02-26T09:21:02.204978Z | ||
| 344 | -2 | ||
| 345 | -rudas.n | ||
| 346 | -has-props | ||
| 347 | - | ||
| 348 | - | ||
| 349 | - | ||
| 350 | - | ||
| 351 | - | ||
| 352 | - | ||
| 353 | - | ||
| 354 | - | ||
| 355 | - | ||
| 356 | - | ||
| 357 | - | ||
| 358 | - | ||
| 359 | - | ||
| 360 | - | ||
| 361 | - | ||
| 362 | - | ||
| 363 | - | ||
| 364 | - | ||
| 365 | - | ||
| 366 | - | ||
| 367 | -4379 | ||
| 368 | - | ||
| 369 | -ui-bg_flat_0_aaaaaa_40x100.png | ||
| 370 | -file | ||
| 371 | - | ||
| 372 | - | ||
| 373 | - | ||
| 374 | - | ||
| 375 | -2009-02-26T09:26:37.000000Z | ||
| 376 | -2a44fbdb7360c60122bcf6dcef0387d8 | ||
| 377 | -2009-02-26T09:21:02.204978Z | ||
| 378 | -2 | ||
| 379 | -rudas.n | ||
| 380 | -has-props | ||
| 381 | - | ||
| 382 | - | ||
| 383 | - | ||
| 384 | - | ||
| 385 | - | ||
| 386 | - | ||
| 387 | - | ||
| 388 | - | ||
| 389 | - | ||
| 390 | - | ||
| 391 | - | ||
| 392 | - | ||
| 393 | - | ||
| 394 | - | ||
| 395 | - | ||
| 396 | - | ||
| 397 | - | ||
| 398 | - | ||
| 399 | - | ||
| 400 | - | ||
| 401 | -180 | ||
| 402 | - | ||
| 403 | -ui-icons_454545_256x240.png | ||
| 404 | -file | ||
| 405 | - | ||
| 406 | - | ||
| 407 | - | ||
| 408 | - | ||
| 409 | -2009-02-26T09:26:37.000000Z | ||
| 410 | -488f07fac2ec00ca851c4ff6640e0430 | ||
| 411 | -2009-02-26T09:21:02.204978Z | ||
| 412 | -2 | ||
| 413 | -rudas.n | ||
| 414 | -has-props | ||
| 415 | - | ||
| 416 | - | ||
| 417 | - | ||
| 418 | - | ||
| 419 | - | ||
| 420 | - | ||
| 421 | - | ||
| 422 | - | ||
| 423 | - | ||
| 424 | - | ||
| 425 | - | ||
| 426 | - | ||
| 427 | - | ||
| 428 | - | ||
| 429 | - | ||
| 430 | - | ||
| 431 | - | ||
| 432 | - | ||
| 433 | - | ||
| 434 | - | ||
| 435 | -4379 | ||
| 436 | - | ||
| 437 | -ui-icons_222222_256x240.png | ||
| 438 | -file | ||
| 439 | - | ||
| 440 | - | ||
| 441 | - | ||
| 442 | - | ||
| 443 | -2009-02-26T09:26:37.000000Z | ||
| 444 | -89a6553a4bba879b4944ba11cf061e04 | ||
| 445 | -2009-02-26T09:21:02.204978Z | ||
| 446 | -2 | ||
| 447 | -rudas.n | ||
| 448 | -has-props | ||
| 449 | - | ||
| 450 | - | ||
| 451 | - | ||
| 452 | - | ||
| 453 | - | ||
| 454 | - | ||
| 455 | - | ||
| 456 | - | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - | ||
| 460 | - | ||
| 461 | - | ||
| 462 | - | ||
| 463 | - | ||
| 464 | - | ||
| 465 | - | ||
| 466 | - | ||
| 467 | - | ||
| 468 | - | ||
| 469 | -4379 | ||
| 470 | - |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/format deleted
| 1 | -9 |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_flat_0_aaaaaa_40x100.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_flat_75_ffffff_40x100.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_55_fbf9ee_1x400.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_65_ffffff_1x400.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_75_dadada_1x400.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_75_e6e6e6_1x400.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_95_fef1ec_1x400.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_highlight-soft_75_cccccc_1x100.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_222222_256x240.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_2e83ff_256x240.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_454545_256x240.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_888888_256x240.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_cd0a0a_256x240.png.svn-base deleted
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_flat_0_aaaaaa_40x100.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_flat_75_ffffff_40x100.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_55_fbf9ee_1x400.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_65_ffffff_1x400.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_75_dadada_1x400.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_75_e6e6e6_1x400.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_95_fef1ec_1x400.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_highlight-soft_75_cccccc_1x100.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_222222_256x240.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_2e83ff_256x240.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_454545_256x240.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_888888_256x240.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_cd0a0a_256x240.png.svn-base deleted
No preview for this file type
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_flat_0_aaaaaa_40x100.png deleted
180 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_flat_75_ffffff_40x100.png deleted
178 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_55_fbf9ee_1x400.png deleted
120 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_65_ffffff_1x400.png deleted
105 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_75_dadada_1x400.png deleted
111 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_75_e6e6e6_1x400.png deleted
110 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_95_fef1ec_1x400.png deleted
119 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted
101 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_222222_256x240.png deleted
4.28 KB
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_2e83ff_256x240.png deleted
4.28 KB
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_454545_256x240.png deleted
4.28 KB
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_888888_256x240.png deleted
4.28 KB
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_cd0a0a_256x240.png deleted
4.28 KB
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/index.html deleted
| 1 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
| 2 | -<html> | ||
| 3 | -<head> | ||
| 4 | -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
| 5 | -<title>jQuery Finder</title> | ||
| 6 | -<link rel="stylesheet" href="default.css" type="text/css" media="screen" title="no title" charset="utf-8"> | ||
| 7 | -<link href="ui.finder.css" rel="stylesheet" media="screen,print" type="text/css"> | ||
| 8 | -<link rel="stylesheet" href="ui.theme.css" type="text/css" media="screen" title="no title" charset="utf-8"> | ||
| 9 | - | ||
| 10 | -<!--[if lt IE 8]> | ||
| 11 | - <link href="ui.finder.ie.css" rel="stylesheet" media="screen" type="text/css" /> | ||
| 12 | -<![endif]--> | ||
| 13 | - | ||
| 14 | -<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script> | ||
| 15 | -<script type="text/javascript" src="jquery.scrollTo-1.4.0-min.js"></script> | ||
| 16 | -<script src="http://ui.jquery.com/themeroller/themeswitchertool/" type="text/javascript" charset="utf-8"></script> | ||
| 17 | - | ||
| 18 | -<script type="text/javascript" src="ui.finder.js"></script> | ||
| 19 | -<style type="text/css"> | ||
| 20 | -a { | ||
| 21 | - color:blue; | ||
| 22 | -} | ||
| 23 | - | ||
| 24 | -.done { | ||
| 25 | - text-decoration: line-through; | ||
| 26 | -} | ||
| 27 | -</style> | ||
| 28 | -<script type="text/javascript"> | ||
| 29 | -$(function(){ | ||
| 30 | - | ||
| 31 | - var initFinder = function() { | ||
| 32 | - /* | ||
| 33 | - * Initialise Finder | ||
| 34 | - */ | ||
| 35 | - $('#finder').finder({ | ||
| 36 | - title : 'jQuery Finder v0.6a', | ||
| 37 | - onRootReady: function(rootList,finderObj){ | ||
| 38 | - debug('Root ready',arguments) | ||
| 39 | - }, | ||
| 40 | - onInit : function(finderObj) { | ||
| 41 | - | ||
| 42 | - debug('Finder initialised',arguments) | ||
| 43 | - | ||
| 44 | - $('.ui-finder-action-refresh').click(function() { | ||
| 45 | - $('[name="refresh"]').click(); | ||
| 46 | - }); | ||
| 47 | - | ||
| 48 | - | ||
| 49 | - $('.ui-finder-action-open').click(function(){ | ||
| 50 | - $('[name="select"]').click(); | ||
| 51 | - }); | ||
| 52 | - | ||
| 53 | - $('.ui-finder-action-current').click(function(){ | ||
| 54 | - $('[name="getCurrent"]').click(); | ||
| 55 | - }); | ||
| 56 | - | ||
| 57 | - $('.ui-finder-action-destroy').click(function(){ | ||
| 58 | - $('[name="createFinder"]').click(); | ||
| 59 | - }); | ||
| 60 | - | ||
| 61 | - }, | ||
| 62 | - onItemSelect : function(listItem,eventTarget,finderObject){ | ||
| 63 | - var anchor = $('a',listItem), | ||
| 64 | - href = anchor.attr('rel'); | ||
| 65 | - | ||
| 66 | - // Debug is a function specified in Finder script for debugging purposes | ||
| 67 | - // Remove it if unnecessary | ||
| 68 | - debug('onItemSelect - URL: ',href) | ||
| 69 | - | ||
| 70 | - // By returning false, the url specified is not fetched | ||
| 71 | - // ie. Do not display new column if selected item is not an image | ||
| 72 | - if(href.indexOf('.jpg') == -1) {return false;} | ||
| 73 | - | ||
| 74 | - }, | ||
| 75 | - onFolderSelect : function(listItem,eventTarget,finderObject){ | ||
| 76 | - var anchor = $('a',listItem), | ||
| 77 | - href = anchor.attr('rel'); | ||
| 78 | - | ||
| 79 | - debug('onFolderSelect - URL: ',href) | ||
| 80 | - }, | ||
| 81 | - onItemOpen : function(listItem,newColumn,finderObject){ | ||
| 82 | - var anchor = $('a',listItem), | ||
| 83 | - href = anchor.attr('href'); | ||
| 84 | - | ||
| 85 | - debug('onItemOpen - Column source: ',newColumn.attr('data-finder-list-source')) | ||
| 86 | - | ||
| 87 | - }, | ||
| 88 | - onFolderOpen : function(listItem,newColumn,finderObject){ | ||
| 89 | - var anchor = $('a',listItem), | ||
| 90 | - href = anchor.attr('href'); | ||
| 91 | - | ||
| 92 | - debug('onFolderOpen - Column source: ',newColumn.attr('data-finder-list-source')) | ||
| 93 | - }, | ||
| 94 | - toolbarActions : function() { | ||
| 95 | - return '\ | ||
| 96 | - <div class="ui-finder-button ui-state-default ui-corner-right ui-finder-action-refresh" title="Refresh">\ | ||
| 97 | - <span class="ui-icon ui-icon-refresh"/>\ | ||
| 98 | - </div>\ | ||
| 99 | - <div class="ui-finder-button ui-state-default ui-finder-action-open" title="Open ..">\ | ||
| 100 | - <span class="ui-icon ui-icon-folder-open"/>\ | ||
| 101 | - </div>\ | ||
| 102 | - <div class="ui-finder-button ui-state-default ui-finder-action-current ui-corner-left" title="Get current">\ | ||
| 103 | - <span class="ui-icon ui-icon-help"/>\ | ||
| 104 | - </div>\ | ||
| 105 | - <div class="ui-finder-button ui-state-default ui-finder-action-destroy ui-corner-all" title="Destroy">\ | ||
| 106 | - <span class="ui-icon ui-icon-closethick"/>\ | ||
| 107 | - </div>\ | ||
| 108 | - '; | ||
| 109 | - } | ||
| 110 | - | ||
| 111 | - }); | ||
| 112 | - | ||
| 113 | - | ||
| 114 | -}; | ||
| 115 | - | ||
| 116 | - $('[name="createFinder"]').toggle(function(){ | ||
| 117 | - initFinder(); | ||
| 118 | - $('button[disabled]').attr('disabled',false); | ||
| 119 | - $(this) | ||
| 120 | - .attr('data-code',$(this).next('code').text()) | ||
| 121 | - .text('Destroy Finder'); | ||
| 122 | - $(this).next('code').text('$(selector).finder(\'destroy\')') | ||
| 123 | - },function(){ | ||
| 124 | - $('#finder').finder('destroy'); | ||
| 125 | - $('button').slice(1).attr('disabled',true); | ||
| 126 | - $(this).text('Create Finder'); | ||
| 127 | - $(this).next('code').text( $(this).attr('data-code') ) | ||
| 128 | - }); | ||
| 129 | - | ||
| 130 | -/* | ||
| 131 | - * Some events to allow API interaction with buttons | ||
| 132 | - * Not a part of Finder script, they just show how to interact with API | ||
| 133 | - */ | ||
| 134 | - $('[name="getCurrent"]').click(function(){ | ||
| 135 | - var current = $('#finder').finder('current'); | ||
| 136 | - current = (current) ? current.attr('rel') : 'No item selected'; | ||
| 137 | - alert(current); | ||
| 138 | - }); | ||
| 139 | - | ||
| 140 | - | ||
| 141 | - $('[name="select"]').click(function(){ | ||
| 142 | - var which = prompt('URL of item to select', $('a:first','#finder').attr('rel')); | ||
| 143 | - if(which && which.length>0) {$('#finder').finder('select',which);} | ||
| 144 | - }); | ||
| 145 | - | ||
| 146 | - $('[name="refresh"]').click(function(){$('#finder').finder('refresh');}); | ||
| 147 | - $('[name="test"]').click(function(){test();}); | ||
| 148 | - $('[name="test2"]').click(function(){test2();}); | ||
| 149 | - | ||
| 150 | - | ||
| 151 | - $('[name="createFinder"]').click(); | ||
| 152 | - | ||
| 153 | - | ||
| 154 | - $('#switcher').themeswitcher(); | ||
| 155 | - | ||
| 156 | -/* | ||
| 157 | - * A Click event to toggle the image preview, when viewing an image | ||
| 158 | - * Not a part of Finder script | ||
| 159 | - */ | ||
| 160 | - $(document) | ||
| 161 | - .unbind('click.FinderPreview') // Click event to handle file previews etc | ||
| 162 | - .bind('click.FinderPreview',function(e){ | ||
| 163 | - var title = $(e.target); | ||
| 164 | - | ||
| 165 | - if( !title.hasClass('ui-finder-preview-heading') | ||
| 166 | - && title.parent('.ui-finder-preview-heading').length === 0 ) | ||
| 167 | - { return; } | ||
| 168 | - | ||
| 169 | - title = ( title.hasClass('ui-finder-preview-heading') ) | ||
| 170 | - ? title | ||
| 171 | - : title.parent('.ui-finder-preview-heading') ; | ||
| 172 | - | ||
| 173 | - var image = title.siblings('.ui-finder-image'), | ||
| 174 | - span = $('span',title); | ||
| 175 | - | ||
| 176 | - if( image.length != 1 ) { return; } | ||
| 177 | - | ||
| 178 | - if(image.is(':visible')) { | ||
| 179 | - image.slideUp(); | ||
| 180 | - title.addClass('ui-finder-preview-heading-closed'); | ||
| 181 | - span.removeClass('ui-icon-circle-triangle-s'); | ||
| 182 | - span.addClass('ui-icon-circle-triangle-e'); | ||
| 183 | - } else { | ||
| 184 | - image.slideDown(); | ||
| 185 | - title.removeClass('ui-finder-preview-heading-closed'); | ||
| 186 | - span.removeClass('ui-icon-circle-triangle-e'); | ||
| 187 | - span.addClass('ui-icon-circle-triangle-s'); | ||
| 188 | - }; | ||
| 189 | - | ||
| 190 | - return false; | ||
| 191 | - }); | ||
| 192 | - | ||
| 193 | - | ||
| 194 | -}); | ||
| 195 | -var test = function(i) { | ||
| 196 | - var finder = $('#finder'), | ||
| 197 | - intervals = [], | ||
| 198 | - interval = i || 500; | ||
| 199 | - | ||
| 200 | - for(var i =1;i<6;i++){ intervals.push(interval*i); }; | ||
| 201 | - | ||
| 202 | - finder.finder('select','html/level2.html'); | ||
| 203 | - | ||
| 204 | - setTimeout(function(){ | ||
| 205 | - finder.finder('select','html/somefile.html?0.jpg'); | ||
| 206 | - },intervals[0]); | ||
| 207 | - | ||
| 208 | - setTimeout(function(){ | ||
| 209 | - finder.finder('select','html/level2.html'); | ||
| 210 | - },intervals[1]); | ||
| 211 | - | ||
| 212 | - setTimeout(function(){ | ||
| 213 | - finder.finder('select','html/somefile.html?5.jpg'); | ||
| 214 | - },intervals[2]); | ||
| 215 | - | ||
| 216 | - setTimeout(function(){ | ||
| 217 | - finder.finder('select','html/level3.html'); | ||
| 218 | - },intervals[3]); | ||
| 219 | - | ||
| 220 | - setTimeout(function(){ | ||
| 221 | - finder.finder('select','html/somefile.html?0.jpg'); | ||
| 222 | - },intervals[4]); | ||
| 223 | - | ||
| 224 | -}; | ||
| 225 | -var test2 = function(i) { | ||
| 226 | - var finder = $('#finder'), | ||
| 227 | - urls = [ | ||
| 228 | - 'html/level2.html', | ||
| 229 | - 'html/level3.html', | ||
| 230 | - 'html/level4.html', | ||
| 231 | - 'html/level5.html?33', | ||
| 232 | - 'html/somefile.html?0939fjkl.jpg' | ||
| 233 | - ]; | ||
| 234 | - | ||
| 235 | - finder.finder('select',urls); | ||
| 236 | -}; | ||
| 237 | -</script> | ||
| 238 | -</head> | ||
| 239 | - | ||
| 240 | -<body> | ||
| 241 | -<h1>jQuery Finder .:. Mac OS X-like Column-view Navigation (alternative to treeview)</h1> | ||
| 242 | -<hr> | ||
| 243 | -<div id="switcher"></div> | ||
| 244 | -<br> | ||
| 245 | -<ol id="finder"> | ||
| 246 | - <li class="ui-finder-file"><a href="html/somefile.html?0.jpg" title="some title for this image">Lorem ipsum dolor sit amet</a></li> | ||
| 247 | - <li class="ui-finder-file"><a href="html/somefile.html?1">Consectetur adipiscing elit</a></li> | ||
| 248 | - <li><a>Nam auctor, lectus vulputate</a> | ||
| 249 | - <!-- When sublevels are specified in source, like in this item, | ||
| 250 | - you don't have to specify if each item is a file or folder. | ||
| 251 | - Also, you don't have to specify a URL for the anchor element | ||
| 252 | - but THE ANCHOR ELEMENT IS STILL REQUIRED | ||
| 253 | - --> | ||
| 254 | - <ul> | ||
| 255 | - <li><a>Some fileasd asd asdasd a</a></li> | ||
| 256 | - <li><a href="html/somefile.html?4324432428.jpg">Some Imaged asd as</a></li> | ||
| 257 | - <li><a>Some Folder</a> | ||
| 258 | - <ul> | ||
| 259 | - <li><a href="html/somefile.html?7321343">Some fileasd asd asdasd a</a></li> | ||
| 260 | - <li><a href="html/somefile.html?433123248.jpg">Some Imaged asd as</a></li> | ||
| 261 | - <li><a href="html/level4.html?fsdfs">Some file</a></li> | ||
| 262 | - </ul> | ||
| 263 | - </li> | ||
| 264 | - </ul> | ||
| 265 | - </li> | ||
| 266 | - <li class="ui-finder-file"><a href="html/somefile.html?2">Consequat luctus</a></li> | ||
| 267 | - <li class="ui-finder-file"><a href="html/somefile.html?3">Nisl enim eleifend sem</a></li> | ||
| 268 | - <li class="ui-finder-folder"><a href="html/level2.html">Nam auctor, lectus vulputate</a></li> | ||
| 269 | -</ol> | ||
| 270 | -<br> | ||
| 271 | -<strong><a href="api.html">A better demo</a> (jQuery's API)</strong> | ||
| 272 | - | ||
| 273 | -<hr> | ||
| 274 | -<div style="float:left;width:45%"> | ||
| 275 | -<h3>Public methods</h3> | ||
| 276 | -<ol> | ||
| 277 | - <li><button name="createFinder">Create finder</button> <code>$(selector).finder([options])</code></li> | ||
| 278 | - <li><button name="select" disabled>Select Item</button> <code>$(selector).finder('select',URL || DOM or jQuery object || Array of URLs)</code></li> | ||
| 279 | - <li><button name="getCurrent" disabled>Get Current</button> <code>$(selector).finder('current')</code></li> | ||
| 280 | - <li><button name="refresh" disabled>Refresh Current</button> <code>$(selector).finder('refresh')</code></li> | ||
| 281 | -</ol> | ||
| 282 | -You can also use the toolbar buttons for these actions. | ||
| 283 | -</div> | ||
| 284 | -<div style="float:right;width:45%"> | ||
| 285 | -<h3>Testing methods</h3> | ||
| 286 | -<p>Just some methods to test the queue. Create finder before using testing methods</p> | ||
| 287 | -<ol> | ||
| 288 | - <li><button name="test">Interval Test</button> <code>Calls 'select' method 6 times at an interval of 500ms</code></li> | ||
| 289 | - <li><button name="test2">Queue Test</button> <code>Calls 'select' method for an array of URLs. Useful if you want to select an Item or Folder which is multiple levels down.</code></li> | ||
| 290 | -</ol> | ||
| 291 | -</div> | ||
| 292 | -<hr> | ||
| 293 | -<h3>Code used for this demo</h3> | ||
| 294 | -<pre><code> | ||
| 295 | -$('#finder').finder({ | ||
| 296 | - title : 'jQuery Finder v0.6a', | ||
| 297 | - onRootReady: function(rootList,finderObj){ | ||
| 298 | - debug('Root ready',arguments) | ||
| 299 | - }, | ||
| 300 | - onInit : function(finderObj) { | ||
| 301 | - | ||
| 302 | - debug('Finder initialised',arguments) | ||
| 303 | - | ||
| 304 | - $('.ui-finder-action-refresh').click(function() { | ||
| 305 | - $('[name="refresh"]').click(); | ||
| 306 | - }); | ||
| 307 | - | ||
| 308 | - | ||
| 309 | - $('.ui-finder-action-open').click(function(){ | ||
| 310 | - $('[name="select"]').click(); | ||
| 311 | - }); | ||
| 312 | - | ||
| 313 | - $('.ui-finder-action-current').click(function(){ | ||
| 314 | - $('[name="getCurrent"]').click(); | ||
| 315 | - }); | ||
| 316 | - | ||
| 317 | - $('.ui-finder-action-destroy').click(function(){ | ||
| 318 | - $('[name="createFinder"]').click(); | ||
| 319 | - }); | ||
| 320 | - | ||
| 321 | - }, | ||
| 322 | - onItemSelect : function(listItem,eventTarget,finderObject){ | ||
| 323 | - var anchor = $('a',listItem), | ||
| 324 | - href = anchor.attr('rel'); | ||
| 325 | - | ||
| 326 | - // Debug is a function specified in Finder script for debugging purposes | ||
| 327 | - // Remove it if unnecessary | ||
| 328 | - debug('onItemSelect - URL: ',href) | ||
| 329 | - | ||
| 330 | - // By returning false, the url specified is not fetched | ||
| 331 | - // ie. Do not display new column if selected item is not an image | ||
| 332 | - if(href.indexOf('.jpg') == -1) {return false;} | ||
| 333 | - | ||
| 334 | - }, | ||
| 335 | - onFolderSelect : function(listItem,eventTarget,finderObject){ | ||
| 336 | - var anchor = $('a',listItem), | ||
| 337 | - href = anchor.attr('rel'); | ||
| 338 | - | ||
| 339 | - debug('onFolderSelect - URL: ',href) | ||
| 340 | - }, | ||
| 341 | - onItemOpen : function(listItem,newColumn,finderObject){ | ||
| 342 | - var anchor = $('a',listItem), | ||
| 343 | - href = anchor.attr('href'); | ||
| 344 | - | ||
| 345 | - debug('onItemOpen - Column source: ',newColumn.attr('data-finder-list-source')) | ||
| 346 | - | ||
| 347 | - }, | ||
| 348 | - onFolderOpen : function(listItem,newColumn,finderObject){ | ||
| 349 | - var anchor = $('a',listItem), | ||
| 350 | - href = anchor.attr('href'); | ||
| 351 | - | ||
| 352 | - debug('onFolderOpen - Column source: ',newColumn.attr('data-finder-list-source')) | ||
| 353 | - }, | ||
| 354 | - | ||
| 355 | - toolbarActions : function() { | ||
| 356 | - return '\ | ||
| 357 | - <div class="ui-finder-button ui-state-default ui-corner-left ui-finder-action-refresh" title="Refresh">\ | ||
| 358 | - <span class="ui-icon ui-icon-refresh"/>\ | ||
| 359 | - </div>\ | ||
| 360 | - <div class="ui-finder-button ui-state-default ui-finder-action-open" title="Open ..">\ | ||
| 361 | - >span class="ui-icon ui-icon-folder-open"/>\ | ||
| 362 | - </div>\ | ||
| 363 | - <div class="ui-finder-button ui-state-default ui-finder-action-current ui-corner-right" title="Get current">\ | ||
| 364 | - >span class="ui-icon ui-icon-help"/>\ | ||
| 365 | - </div>\ | ||
| 366 | - <div class="ui-finder-button ui-state-default ui-finder-action-destroy ui-corner-all" title="Destroy">\ | ||
| 367 | - >span class="ui-icon ui-icon-closethick"/>\ | ||
| 368 | - </div>\ | ||
| 369 | - '; | ||
| 370 | - } | ||
| 371 | - | ||
| 372 | -}); | ||
| 373 | -</code></pre> | ||
| 374 | -<hr> | ||
| 375 | - | ||
| 376 | -<h3>Download</h3> | ||
| 377 | -<p><strong>This is an Alpha release</strong>. It is tested but not thoroughly. There may be bugs, but I haven't found them yet. <span class="done">There are some issues with Internet Explorer (see browser support below).</span> This release is (still) only for testing purposes and proof-of-concept.</p> | ||
| 378 | -<p>You are more than welcome to contribute with bug reports, code, and general ideas/comments. Please post at <a href="http://groups.google.com/group/jquery-en/browse_thread/thread/480bb6f722b66345">jQuery group</a> or e-mail me at <em>rudas</em> dot <em>n</em> at <em>gmail</em> dot <em>com</em>.</p> | ||
| 379 | -<p>Last update: <strong>9 Feb. 2009</strong></p> | ||
| 380 | -<ol> | ||
| 381 | - <li><a href="ui.finder.js">ui.finder.js</a></li> | ||
| 382 | - <li><a href="v0.6a.zip">v0.6a.zip</a> - Contains all files used in this page (js, css, img, etc)</li> | ||
| 383 | -</ol> | ||
| 384 | - | ||
| 385 | -<hr> | ||
| 386 | - | ||
| 387 | -<h3>Browser support</h3> | ||
| 388 | - | ||
| 389 | - | ||
| 390 | -<p class="done">There's a minor bug in most browsers: Each column's width is not calculated properly and so either a long item will collapse to two lines (or more) the column will be cut off. I need some help on this one. Possible cause: some browsers don't take into consideration the width of the scrollbars when calculating widths (?)</p> | ||
| 391 | - | ||
| 392 | -<p>Unless otherwise noted, the script looks and behaves correctly for the following browsers:</p> | ||
| 393 | - | ||
| 394 | - | ||
| 395 | -<ol> | ||
| 396 | - <li>Firefox 2 & 3</li> | ||
| 397 | - <li>Opera 9.62</li> | ||
| 398 | - <li>Safari 3.1.2 - <span class="done">Webkit browsers like to collapse columns</span></li> | ||
| 399 | - <li>Chrome 1</li> | ||
| 400 | - <li>IE 8b2</li> | ||
| 401 | - <li>IE 7 - <span class="done">CSS Bug with width of list items (help please)</span></li> | ||
| 402 | -</ol> | ||
| 403 | -<hr> | ||
| 404 | -<h3>Options</h3> | ||
| 405 | -<p>(This section needs update, see source of ui.finder.js for options)</p> | ||
| 406 | -<dl> | ||
| 407 | - <dt>title <code>String</code></dt> | ||
| 408 | - <dd>The title to be displayed at the top of the Finder<p></p></dd> | ||
| 409 | - <dt>url <code>String</code></dt> | ||
| 410 | - <dd>URL of root list, used when list should be retrieved via ajax <p></p></dd> | ||
| 411 | - <dt>onInit <code>Function</code></dt> | ||
| 412 | - <dd>Callback function for when a Finder is initialised</p></dd> | ||
| 413 | - <dt>onRootReady <code>Function</code></dt> | ||
| 414 | - <dd>Callback function for when the root list of a Finder is ready</p></dd> | ||
| 415 | - <dt>onItemSelect <code>Function</code></dt> | ||
| 416 | - <dd>Callback function when an item is selected. <strong>Note</strong>: If <code>onItemSelect</code> returns <code>false</code>, default behaviour is ignored, i.e. the URL is <em>not</em> fetched, and the new level is <em>not</em> shown.</p> onItemOpen is also not called.</dd> | ||
| 417 | - <dt>onItemOpen <code>Function</code></dt> | ||
| 418 | - <dd>Callback function when an item is opened. Function is called when the user clicks on the <code>anchor</code> element (as opposed to the <code>li</code> element).<p></p></dd> | ||
| 419 | - <dt>onFolderSelect <code>Function</code></dt> | ||
| 420 | - <dd>Callback function when a folder is selected. To specify a folder, add a <code>class</code> "<em>folder</em>" to your list element. Function is called when the user clicks on the list (<code>li</code>) element.<p><strong>Note</strong>: If <code>onFolderSelect</code> returns <code>false</code>, default behaviour is ignored, i.e. the URL is <em>not</em> fetched, and the new level is <em>not</em> shown.</p></dd> | ||
| 421 | - <dt>onFolderOpen <code>Function</code></dt> | ||
| 422 | - <dd>Callback function when a folder is opened. Function is called when the user clicks on the <code>anchor</code> element (as opposed to the <code>li</code> element)<p></p></dd> | ||
| 423 | - <dt>animate <code>Boolean</code></dt> | ||
| 424 | - <dd>Slide in subsequent levels<p>Default: <code>true</code></p></dd> | ||
| 425 | - <dt>cache <code>Boolean</code></dt> | ||
| 426 | - <dd>If false, appends timestamp when retrieving subsequent levels (forcing browser to ignore cache). Useful if contents are updated frequently and user must always see new items. <p>Default: <code>false</code></p></dd> | ||
| 427 | -</dl> | ||
| 428 | -<hr> | ||
| 429 | -<h3>To do</h3> | ||
| 430 | -<ol> | ||
| 431 | - <li class="done">Max width | ||
| 432 | - <p>New column expands to fit available space.[optional]</p> | ||
| 433 | - </li> | ||
| 434 | - <li class="done">Support non-ajax functionality | ||
| 435 | - <p>When lists & file info already in dom. Display items several levels down.</p> | ||
| 436 | - </li> | ||
| 437 | - <li>Toolbar/Menubar | ||
| 438 | - <p>Make public methods available via toolbar and/or menubar. (nearly there)</p> | ||
| 439 | - </li> | ||
| 440 | - <li>Search | ||
| 441 | - <p>Search for specific items (coming next)</p> | ||
| 442 | - </li> | ||
| 443 | -</ol> | ||
| 444 | -<hr> | ||
| 445 | -<script type="text/javascript"> | ||
| 446 | -var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | ||
| 447 | -document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
| 448 | -</script> | ||
| 449 | -<script type="text/javascript"> | ||
| 450 | -try { | ||
| 451 | -var pageTracker = _gat._getTracker("UA-883806-21"); | ||
| 452 | -pageTracker._trackPageview(); | ||
| 453 | -} catch(err) {}</script> | ||
| 454 | -</body> | ||
| 455 | -</html> |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/jquery.scrollTo-1.4.0-min.js deleted
| 1 | -/** | ||
| 2 | - * jQuery.ScrollTo - Easy element scrolling using jQuery. | ||
| 3 | - * Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com | ||
| 4 | - * Dual licensed under MIT and GPL. | ||
| 5 | - * Date: 9/11/2008 | ||
| 6 | - * @author Ariel Flesler | ||
| 7 | - * @version 1.4 | ||
| 8 | - * | ||
| 9 | - * http://flesler.blogspot.com/2007/10/jqueryscrollto.html | ||
| 10 | - */ | ||
| 11 | -;(function(h){var m=h.scrollTo=function(b,c,g){h(window).scrollTo(b,c,g)};m.defaults={axis:'y',duration:1};m.window=function(b){return h(window).scrollable()};h.fn.scrollable=function(){return this.map(function(){var b=this.parentWindow||this.defaultView,c=this.nodeName=='#document'?b.frameElement||b:this,g=c.contentDocument||(c.contentWindow||c).document,i=c.setInterval;return c.nodeName=='IFRAME'||i&&h.browser.safari?g.body:i?g.documentElement:this})};h.fn.scrollTo=function(r,j,a){if(typeof j=='object'){a=j;j=0}if(typeof a=='function')a={onAfter:a};a=h.extend({},m.defaults,a);j=j||a.speed||a.duration;a.queue=a.queue&&a.axis.length>1;if(a.queue)j/=2;a.offset=n(a.offset);a.over=n(a.over);return this.scrollable().each(function(){var k=this,o=h(k),d=r,l,e={},p=o.is('html,body');switch(typeof d){case'number':case'string':if(/^([+-]=)?\d+(px)?$/.test(d)){d=n(d);break}d=h(d,this);case'object':if(d.is||d.style)l=(d=h(d)).offset()}h.each(a.axis.split(''),function(b,c){var g=c=='x'?'Left':'Top',i=g.toLowerCase(),f='scroll'+g,s=k[f],t=c=='x'?'Width':'Height',v=t.toLowerCase();if(l){e[f]=l[i]+(p?0:s-o.offset()[i]);if(a.margin){e[f]-=parseInt(d.css('margin'+g))||0;e[f]-=parseInt(d.css('border'+g+'Width'))||0}e[f]+=a.offset[i]||0;if(a.over[i])e[f]+=d[v]()*a.over[i]}else e[f]=d[i];if(/^\d+$/.test(e[f]))e[f]=e[f]<=0?0:Math.min(e[f],u(t));if(!b&&a.queue){if(s!=e[f])q(a.onAfterFirst);delete e[f]}});q(a.onAfter);function q(b){o.animate(e,j,a.easing,b&&function(){b.call(this,r,a)})};function u(b){var c='scroll'+b,g=k.ownerDocument;return p?Math.max(g.documentElement[c],g.body[c]):k[c]}}).end()};function n(b){return typeof b=='object'?b:{top:b,left:b}}})(jQuery); | ||
| 12 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/loading.gif deleted
847 Bytes
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder-min.js deleted
| 1 | -/***************************************************************************** | ||
| 2 | - * jQuery Finder v0.7 - Makes lists into a Finder, similar to Mac OS X | ||
| 3 | - * | ||
| 4 | - * @date $Date: 2009-02-27 14:17:07 +0200 (Fri, 27 Feb 2009) $ | ||
| 5 | - * @revision $Rev: 14 $ | ||
| 6 | - * @copy (c) Copyright 2009 Nicolas Rudas. All Rights Reserved. | ||
| 7 | - * @licence MIT Licensed | ||
| 8 | - * @discuss groups.google.com/group/jquery-en/browse_thread/thread/480bb6f722b66345 | ||
| 9 | - * @issues code.google.com/p/jqueryfinder/issues/ | ||
| 10 | - * @latest code.google.com/p/jqueryfinder/source | ||
| 11 | - * @demo nicolas.rudas.info/jquery/finder | ||
| 12 | - * | ||
| 13 | - ***************************************************************************** | ||
| 14 | - * Syntax: | ||
| 15 | - * $(selector).finder() Create a new finder with default options | ||
| 16 | - * | ||
| 17 | - * $(selector).finder(options) Create a new finder with additional options | ||
| 18 | - * | ||
| 19 | - * $(selector).finder(method,[arguments]) Execute a method on an existing finder | ||
| 20 | - * - select Select item | ||
| 21 | - * - refresh Reload currently selected item (cache is ignored) | ||
| 22 | - * - destroy Completely remove finder | ||
| 23 | - | ||
| 24 | - * | ||
| 25 | - **/ | ||
| 26 | -(function(A){A.fn.finder=function(F,H){var I={title:"",url:false,onInit:function(O){},onRootInit:function(O,P){},onRootReady:function(O,P){},onItemSelect:function(O,P,Q){return false;},onItemOpen:function(Q,P,O){},onFolderSelect:function(O,P,Q){},onFolderOpen:function(Q,P,O){},processData:function(O){return A('<div class="ui-finder-content"/>').append(O);},animate:true,cache:false,ajax:{cache:false},listSelector:false,maxWidth:450,classNames:{"ui-finder":"ui-widget ui-widget-header","ui-finder-wrapper":"ui-widget-content","ui-finder-header":undefined,"ui-finder-title":undefined,"ui-finder-list-item-active":"ui-state-default","ui-finder-list-item-activeNow":"ui-state-hover","ui-finder-list-item-file":"ui-icon-document","ui-finder-list-item-folder":"ui-icon-folder-collapsed","ui-finder-icon-folder-arrow":"ui-icon ui-icon-triangle-1-e"},toolbarActions:function(){return"";}};var N=A.Finders=A.Finders||{};var M=function(){return parseInt(new Date().valueOf(),10);};var K=A.scrollTo||false;if(typeof K=="function"){K=true;A.scrollTo.defaults.axis="xy";A.scrollTo.defaults.duration=900;}var B,C,D=(typeof H=="string")?H:null,G=(typeof H=="function")?H:null,J=arguments;if(typeof F=="string"){B=F;}else{if(typeof F=="object"){C=F;}}if(C){if(C.classNames){C.classNames=jQuery.extend(I.classNames,C.classNames);}C=jQuery.extend(I,C);}else{C=I;}function E(R,P){var O=this;this.cache={};this._queue=[];this.settings={};this.id=P;this.initial=A(R).clone(true);this.element=A(R);this.element.attr("data-finder-ts",this.id);for(var Q in C){O.settings[Q]=C[Q];}return this;}E.prototype.init=function(){var P=this,O=this.settings.toolbarActions.apply(this.element)||"",Q=this.settings.classNames,S=Q["ui-finder"]||"",R=Q["ui-finder-wrapper"]||"",T=Q["ui-finder-header"]||"",U=Q["ui-finder-title"]||"";this.element.wrap('<div class="ui-finder '+S+'"/>').wrap('<div class="ui-finder-wrapper '+R+'"/>').wrap('<div class="ui-finder-container"/>');this.wrapper=this.element.parents(".ui-finder-container");this.wrapper.parents(".ui-finder").prepend('<div class="ui-finder-header '+T+'">'+O+"</div>").prepend('<div class="ui-finder-title '+U+'">'+this.settings.title+"</div>");this.widget=this.wrapper.parents(".ui-finder");this._toolbar=A("div.ui-finder-header",this.widget);this._title=A("div.ui-finder-title",this.widget);this.wrapper.unbind("click.FinderSelect").bind("click.FinderSelect",function(X){var W=X.target,V=A(W);if(!V.closest("li.ui-finder-list-item").length&&!V.is("> li.ui-finder-list-item").length||V.parents(".ui-finder-column").length===0){return ;}P.queue(V);return Boolean(P.lastSelectCallbackReturned);});setTimeout(function(){P.settings.onInit.apply(P.element,[P]);P.settings.listItemBorderColour=A(".ui-widget-header").css("backgroundColor");P.selectItem("root");},0);return this;};E.prototype.title=function(O){this._title.html(O);return this;};E.prototype.toolbar=function(O){this._toolbar.html(O);return this;};E.prototype.queue=function(R,O,Q){var P=this,S=this.wrapper;this._queue.push([R,O,Q]);if(!P.isProcessing){P.preSelect();}return this;};E.prototype.preSelect=function(){var O=this,P=this._queue;if(P.length==0){return ;}O.select.apply(O,P[0]);return this;};E.prototype.select=function(e,b,U){var Y=this,S=this.wrapper,W=(typeof e=="string")?A('a[rel="'+e+'"]',S):A(e),O=W;if(typeof e.length!="number"){throw"jQuery Finder: Target must be either a URL or a jQuery/DOM element";return this;}if(!W[0]){throw"jQuery Finder: Target element does not exist";return this;}this.isProcessing=true;var T=W.closest("li.ui-finder-list-item"),g=A("> a:first",T),d=T.parents("div[data-finder-list-level]:first"),Z=d.attr("data-finder-list-level"),Q=(T.hasClass("ui-finder-file"))?"file":"folder",R=g.attr("rel"),V=A("div.ui-finder-column:visible",S),c=this.settings.classNames,f=c["ui-finder-list-item-active"]||"",P=c["ui-finder-list-item-activeNow"]||"";W=(W[0]!==T[0]&&W[0]!==g[0])?T:W;if(U=="select"){O=W=T;}A(".ui-finder-list-item.ui-finder-list-item-activeNow",S).removeClass("ui-finder-list-item-activeNow "+P);V.each(function(){var i=A(this),h=i.attr("data-finder-list-level");if(h>=Z){A(".ui-finder-list-item.ui-finder-list-item-active",i).removeClass("ui-finder-list-item-active "+f);}if(h>Z){i.remove();}});T.addClass("ui-finder-list-item-active "+f).addClass("ui-finder-list-item-activeNow "+P);if(K){setTimeout(function(){d.scrollTo(T);},0);}var a,X=[T,O,Y];if(Q=="file"){a=Y.settings.onItemSelect.apply(Y.element,X);}else{a=Y.settings.onFolderSelect.apply(Y.element,X);}this.lastSelectCallbackReturned=a;if(a!==false&&a!==true){T.addClass("ui-finder-loading");Y.selectItem(R,b,[W,T]);return this;}this.adjustWidth(true);this.finalise();return this;};E.prototype.selectItem=function(P,S,T){var X=this,Q=X.settings,U=(T)?T[0]:null,O=(T)?T[1]:null,W=(O)?O[0].className.match(/(file|folder)/)[0]:"folder",R=(P=="root")?(Q.url)?null:this.element:A("> ul, > ol, > div",O).eq(0).clone(),P=(P=="root"&&typeof Q.url==="string")?Q.url:P;var V=function(){var Z=Q.processData,Y=R;if(A.isFunction(Z)){R=Z(R);if(!R.length){R=Y;}}else{R=A(R);}X.cache[P]={url:P,data:R,response:Y,date:new Date().valueOf(),status:"success"};if(P==Q.url&&typeof Q.onRootInit==="function"){Q.onRootInit.apply(X.element,[R,X]);}if(W=="folder"){A("> ul, > ol",R).eq(0).find("> li").each(function(){var e=A(this),b,f;if(e.hasClass("ui-finder-folder")){b="folder";}else{if(e.hasClass("ui-finder-file")){b="file";}else{if(e.children("ul,ol").length){e.addClass("ui-finder-folder");b="folder";}else{e.addClass("ui-finder-file");b="file";}}}f=(b=="file")?Q.classNames["ui-finder-list-item-file"]:Q.classNames["ui-finder-list-item-folder"];e.addClass("ui-finder-list-item").css("borderColor",Q.listItemBorderColour).append('<span class="'+Q.classNames["ui-finder-icon-folder-arrow"]+' ui-finder-icon ui-finder-icon-arrow"/>');var a=A("> a",this),d=a.attr("href")||"_blank"+new Date().valueOf(),c=a.attr("title")||"";if(a.attr("rel")==d.substring(1)||!d.length){return ;}a.attr("rel",d).attr("href",d).append('<span class="ui-icon '+f+" ui-finder-icon ui-finder-icon-"+b+'"/>');if(c.length==0){a.attr("title",d);}});}X.appendNewColumn(P,R,[U,O],W);};if(R&&R.length&&!S){V();}else{if(R&&R.length&&S&&P.match(/_blank\d+/)){V();}else{if(typeof this.cache[P]=="object"&&this.settings.cache&&!S){if(this.cache[P].status=="success"){R=this.cache[P].data;V();}}else{if(!P.match(/_blank\d+/)){A.ajax({url:P,cache:X.settings.ajax.cache,success:function(Y){R=Y;},error:function(Z,Y){R=Y;},complete:function(){V();}});}}}}return this;};E.prototype.appendNewColumn=function(Q,U,W,Y){var Z=this,X=(W)?W[0]:null,O=(W)?W[1]:null,V=(O)?O.parents("div[data-finder-list-level]:first"):null,P=Q.replace(/[\W\s]*/g,""),R=(function(){if(Q==Z.settings.url||Q=="root"){return 0;}return parseInt(V.attr("data-finder-list-level"),10)+1;})();var T=A('div[data-finder-list-id="'+P+'"]');if(T.length>0){T[0].parentNode.removeChild(T[0]);}T=A('<div class="ui-finder-column ui-widget-content ui-finder-new-col"/>').css("display","none").attr("data-finder-list-id",P).attr("data-finder-list-source",Q).attr("data-finder-list-level",R).css("z-index",0);Z.wrapper[0].appendChild(T[0]);T[0].appendChild(A(U)[0]);setTimeout(function(){Z.adjustWidth(false,T,Q);},0);if(X&&X[0]&&X.is("a")){var S=[O,T,Z];if(Y=="file"){Z.settings.onItemOpen.apply(Z.element,S);}else{Z.settings.onFolderOpen.apply(Z.element,S);}}return this;};E.prototype.adjustWidth=function(S,Y,Q){var e=this,P=this.wrapper;Y=Y||A("div[data-finder-list-id]:visible:last",P);var U=(!S)?P.children("div[data-finder-list-id]:not(.ui-finder-new-col):visible"):P.children("div[data-finder-list-id]:visible:not(:last)"),R=0;Y.removeClass("ui-finder-new-col");U.css("right","auto");U.each(function(){A(this).width("auto").width(A(this).outerWidth()+20);R+=A(this).width();});var a=10,X=(!Y.data("yscroll"))?a:0;var Z=Y.width(),c=(e.settings.maxWidth&&Z>e.settings.maxWidth)?e.settings.maxWidth:Z+X,W=R+c,T=P.width(),d=P.parent().width();Y.data("yscroll",true);if(W>d||W<T&&T>d&&W!=T){if(c==W||W<d){W="auto";}X=(W!="auto"&&W!=T)?a:"";P.width(W+X);}Y.css("left",R);Y.css("right",0);Y.css("z-index",2);Y.css({display:"block",visibility:"hidden"});if(Y&&K){this.wrapper.parent().scrollTo(Y);}if(!S&&this.settings.animate){var V=(!isNaN(this.settings.animate))?this.settings.animate:500;var b=Y.css("left").replace(/\D/g,""),O=P.width()-b;Y.css("overflow-y","hidden").css("right",O).css("visibility","visible").animate({right:0},{duration:V,complete:function(){Y.css("overflow-y","scroll");e.finalise(Y,Q);}});}else{Y.css("visibility","visible");e.finalise(Y,Q);}return this;};E.prototype.finalise=function(P,O){A("div.ui-finder-column .ui-finder-list-item.ui-finder-loading",this.wrapper).removeClass("ui-finder-loading");this.isProcessing=false;this._queue.shift();if(this._queue.length>0){this.preSelect();}if(O==this.settings.url&&typeof this.settings.onRootReady==="function"){this.settings.onRootReady.apply(this.element,[P,this]);}return this;};E.prototype.destroy=function(){this.wrapper.unbind("click.FinderSelect");this.element.parents(".ui-finder").replaceWith(this.initial);delete N[this.id];return this;};E.prototype.current=function(){var O=A(".ui-state-hover",this.wrapper).find("a:first");return(O.length>0)?O:null;};E.prototype.refresh=function(){var O=this.current();if(O){this.queue(O,true);}else{this.selectItem("root",true);}return this;};var L=N[A(this).eq(0).attr("data-finder-ts")];if(B=="current"&&L){return L.current();}else{if(B=="get"&&L){return L;}}return this.each(function(){var P=A(this).attr("data-finder-ts")||null,O=new Date().valueOf();if(P&&B){var R=N[P];if(B=="select"&&H){if(H.constructor==Array){H=H.reverse();for(var Q=H.length-1;Q>=0;Q--){R.queue(H[Q],false,B);}}else{R.queue(H,false,B);}}else{if(B=="title"){R.title(H);}else{if(B=="toolbar"){R.toolbar(H);}else{if(B=="destroy"){R.destroy();}else{if(B=="refresh"){R.refresh();}}}}}}else{if(!B){N[O]=new E(this,O).init();}else{if(!P&&B){throw"jQuery Finder: Element is not a finder";}}}});};})(jQuery); | ||
| 27 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.css deleted
| 1 | -.ui-finder-container { | ||
| 2 | - height:250px;/* HEIGHT MUST BE SPECIFIED OTHERWISE FINDER CONTENTS NOT VISIBLE*/} | ||
| 3 | - | ||
| 4 | -.ui-finder *{margin:0;padding:0;} | ||
| 5 | -.ui-finder{position:relative;font:1em/1em Verdana,Arial,Helvetica,sans-serif;background-position:0 0 !important ;} | ||
| 6 | -.ui-finder-wrapper{font-size:0.9em;clear:both;overflow-x:auto !important;overflow-y:hidden !important;} | ||
| 7 | -.ui-finder-header{padding:10px 0 5px ;} | ||
| 8 | -.ui-finder-header:after{content:' ';display:block;clear:both;height:0;line-height:0;} | ||
| 9 | -.ui-finder-title{font-size:0.85em;font-weight:bold;position:absolute;text-align:center;z-index:5;top:5px;left:0;right:0;} | ||
| 10 | -.ui-finder .ui-finder-container{position:relative;width:auto;} | ||
| 11 | -.ui-finder .ui-finder-content{border:0px;position:static;} | ||
| 12 | -.ui-finder .ui-finder-column{ | ||
| 13 | - font-weight:normal;position:absolute;top:1px;left:1px;bottom:1px;border:0px; | ||
| 14 | - overflow-x:hidden;overflow-y:scroll;} | ||
| 15 | -.ui-finder .ui-finder-column ul, | ||
| 16 | -.ui-finder .ui-finder-column ol{list-style:none;margin:0;padding:0;} | ||
| 17 | -.ui-finder .ui-finder-column .ui-finder-list-item{margin:1px; | ||
| 18 | - padding:6px 20px 6px 10px; | ||
| 19 | - line-height:1.3em;position:relative;overflow:hidden;} | ||
| 20 | -.ui-finder .ui-finder-column .ui-finder-list-item.ui-state-default, | ||
| 21 | -.ui-finder .ui-finder-column .ui-finder-list-item.ui-state-hover{top:-2px;padding-top:7px;} | ||
| 22 | -.ui-finder .ui-finder-column .ui-finder-list-item.ui-state-default:first-child, | ||
| 23 | -.ui-finder .ui-finder-column .ui-finder-list-item.ui-state-hover:first-child{top:-1px;padding-top:6px;} | ||
| 24 | -.ui-finder .ui-finder-column .ui-finder-list-item ul, | ||
| 25 | -.ui-finder .ui-finder-column .ui-finder-list-item ol, | ||
| 26 | -.ui-finder .ui-finder-column .ui-finder-list-item div{display:none;} | ||
| 27 | -.ui-finder .ui-finder-column .ui-finder-list-item > a{text-decoration:none;cursor:pointer;display:inline-block;outline:none;position:relative;padding:0 0 0 25px;} | ||
| 28 | -.ui-finder .ui-finder-column .ui-finder-list-item:hover > a{text-decoration:underline;} | ||
| 29 | -.ui-finder .ui-finder-column .ui-finder-list-item.ui-finder-loading{background-image:url(loading.gif);background-repeat:no-repeat;background-position:right center !important;} | ||
| 30 | -.ui-finder-list-item.ui-finder-loading .ui-finder-icon-arrow, | ||
| 31 | -.ui-finder-file .ui-finder-icon-arrow, | ||
| 32 | -.ui-finder-list-item-file .ui-finder-icon-arrow{visibility:hidden;} | ||
| 33 | -.ui-finder-button{display:block;float:right;width:35px;height:22px;/*top:-5px;*/ | ||
| 34 | -left:1px;/*margin-left:-1px;*/ | ||
| 35 | -position:relative;} | ||
| 36 | -.ui-finder-button .ui-icon{left:9px;top:4px;position:absolute;} | ||
| 37 | -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon, | ||
| 38 | -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon-arrow{display:block;position:absolute;top:25%;z-index:2;} | ||
| 39 | -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon-arrow{right:0px;} | ||
| 40 | -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon-file, | ||
| 41 | -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon-folder{left:0px;top:0px;} |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.ie.css deleted
| 1 | -.ui-finder, | ||
| 2 | -.ui-finder .ui-finder-wrapper, | ||
| 3 | -.ui-finder .ui-finder-header { | ||
| 4 | - height:1%; | ||
| 5 | - position:relative; | ||
| 6 | - clear:both; | ||
| 7 | -} | ||
| 8 | -.ui-finder .ui-finder-container, | ||
| 9 | -.ui-finder .ui-finder-content, | ||
| 10 | -.ui-finder .ui-finder-list-item { | ||
| 11 | - position:relative; | ||
| 12 | - hasLayout:true; | ||
| 13 | -} | ||
| 14 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.js deleted
| 1 | -/***************************************************************************** | ||
| 2 | - * jQuery Finder v0.7 - Makes lists into a Finder, similar to Mac OS X | ||
| 3 | - * | ||
| 4 | - * @date $Date: 2009-02-27 13:53:16 +0200 (Fri, 27 Feb 2009) $ | ||
| 5 | - * @revision $Rev: 11 $ | ||
| 6 | - * @copy (c) Copyright 2009 Nicolas Rudas. All Rights Reserved. | ||
| 7 | - * @licence MIT Licensed | ||
| 8 | - * @discuss groups.google.com/group/jquery-en/browse_thread/thread/480bb6f722b66345 | ||
| 9 | - * @issues code.google.com/p/jqueryfinder/issues/ | ||
| 10 | - * @latest code.google.com/p/jqueryfinder/source | ||
| 11 | - * @demo nicolas.rudas.info/jquery/finder | ||
| 12 | - * | ||
| 13 | - ***************************************************************************** | ||
| 14 | - * Syntax: | ||
| 15 | - * $(selector).finder() Create a new finder with default options | ||
| 16 | - * | ||
| 17 | - * $(selector).finder(options) Create a new finder with additional options | ||
| 18 | - * | ||
| 19 | - * $(selector).finder(method,[arguments]) Execute a method on an existing finder | ||
| 20 | - * - select Select item | ||
| 21 | - * - refresh Reload currently selected item (cache is ignored) | ||
| 22 | - * - destroy Completely remove finder | ||
| 23 | - | ||
| 24 | - * | ||
| 25 | - **/ | ||
| 26 | -;(function($){ | ||
| 27 | - | ||
| 28 | -$.fn.finder = function(o,m){ | ||
| 29 | -// Default options | ||
| 30 | - var defaults = { | ||
| 31 | - title : '', | ||
| 32 | - url : false, | ||
| 33 | - onInit : function(finderObj) {}, | ||
| 34 | - onRootInit : function(rootList,finderObj){}, | ||
| 35 | - onRootReady : function(newColumn,finderObj){}, | ||
| 36 | - onItemSelect : function(listItem,eventTarget,finderObject){ | ||
| 37 | - return false; | ||
| 38 | - }, | ||
| 39 | - onItemOpen : function(listItem,newColumn,self){}, | ||
| 40 | - onFolderSelect : function(listItem,eventTarget,finderObject){}, | ||
| 41 | - onFolderOpen : function(listItem,newColumn,self){}, | ||
| 42 | - processData : function(responseText) { | ||
| 43 | - return $('<div class="ui-finder-content"/>').append(responseText); | ||
| 44 | - }, | ||
| 45 | - animate : true, | ||
| 46 | - cache : false, | ||
| 47 | - ajax : { cache : false }, | ||
| 48 | - listSelector : false, | ||
| 49 | - maxWidth : 450, | ||
| 50 | - classNames : { | ||
| 51 | - 'ui-finder' : 'ui-widget ui-widget-header', | ||
| 52 | - 'ui-finder-wrapper' : 'ui-widget-content', | ||
| 53 | - 'ui-finder-header' : undefined, | ||
| 54 | - 'ui-finder-title' : undefined, | ||
| 55 | - 'ui-finder-list-item-active' : 'ui-state-default', | ||
| 56 | - 'ui-finder-list-item-activeNow' : 'ui-state-hover', | ||
| 57 | - 'ui-finder-list-item-file' : 'ui-icon-document', | ||
| 58 | - 'ui-finder-list-item-folder' : 'ui-icon-folder-collapsed', | ||
| 59 | - 'ui-finder-icon-folder-arrow' : 'ui-icon ui-icon-triangle-1-e' | ||
| 60 | - | ||
| 61 | - }, | ||
| 62 | - toolbarActions : function() { return ''; } | ||
| 63 | - | ||
| 64 | - }; | ||
| 65 | - | ||
| 66 | - | ||
| 67 | -// Keep a reference to all finders created | ||
| 68 | - var Finders = $.Finders = $.Finders || {}; | ||
| 69 | - | ||
| 70 | -// Return a new timestamp | ||
| 71 | -// Usually used for caching URLs, or creating unique identifiers e.g. Finders[ timestamp() ] = new Finder(); | ||
| 72 | - var timestamp = function() { return parseInt(new Date().valueOf(),10); }; | ||
| 73 | - | ||
| 74 | -// Check if scrollTo Plugin exists | ||
| 75 | - var scrollToPlugin = $.scrollTo || false; | ||
| 76 | - if(typeof scrollToPlugin == 'function') { | ||
| 77 | - scrollToPlugin = true; | ||
| 78 | - $.scrollTo.defaults.axis = 'xy'; | ||
| 79 | - $.scrollTo.defaults.duration = 900; | ||
| 80 | - } | ||
| 81 | - | ||
| 82 | -// Set some variables (know what we are dealing with) | ||
| 83 | - var method, opts, | ||
| 84 | - url = (typeof m == 'string') ? m : null, | ||
| 85 | - func = (typeof m == 'function') ? m : null, | ||
| 86 | - _args = arguments; | ||
| 87 | - | ||
| 88 | - if(typeof o == 'string') { method = o; } | ||
| 89 | - else if (typeof o == 'object') { opts = o; } | ||
| 90 | - | ||
| 91 | - if(opts) { | ||
| 92 | - if(opts.classNames) { | ||
| 93 | - opts.classNames = jQuery.extend(defaults.classNames, opts.classNames); } | ||
| 94 | - opts = jQuery.extend(defaults, opts);} | ||
| 95 | - else { opts = defaults;} | ||
| 96 | - | ||
| 97 | - /** | ||
| 98 | - * Finder Constructor | ||
| 99 | - * | ||
| 100 | - * | ||
| 101 | - **/ | ||
| 102 | - function Finder(element,finderId){ | ||
| 103 | - var self = this; | ||
| 104 | - | ||
| 105 | - this.cache = {}; | ||
| 106 | - | ||
| 107 | - this._queue = []; | ||
| 108 | - | ||
| 109 | - this.settings = {}; | ||
| 110 | - | ||
| 111 | - this.id = finderId; | ||
| 112 | - | ||
| 113 | - // Reference to initial element - used when destroying Finder | ||
| 114 | - this.initial = $(element).clone(true); | ||
| 115 | - | ||
| 116 | - // Reference to element, used throughout | ||
| 117 | - this.element = $(element); | ||
| 118 | - this.element.attr('data-finder-ts',this.id); | ||
| 119 | - | ||
| 120 | - // make options internal properties | ||
| 121 | - for(var i in opts){ | ||
| 122 | - self.settings[i] = opts[i]; } | ||
| 123 | - | ||
| 124 | - return this; | ||
| 125 | - }; | ||
| 126 | - | ||
| 127 | - /** | ||
| 128 | - * Initialise Finder | ||
| 129 | - * Append necessary HTML, bind events etc | ||
| 130 | - * | ||
| 131 | - **/ | ||
| 132 | - Finder.prototype.init = function(){ | ||
| 133 | - var self = this, | ||
| 134 | - toolbarActions = this.settings.toolbarActions.apply(this.element) || '', | ||
| 135 | - classes = this.settings.classNames, | ||
| 136 | - uiFinder = classes['ui-finder'] || '', | ||
| 137 | - uiFinderWrapper = classes['ui-finder-wrapper'] || '', | ||
| 138 | - uiFinderHeader = classes['ui-finder-header'] || '', | ||
| 139 | - uiFinderTitle = classes['ui-finder-title'] || ''; | ||
| 140 | - | ||
| 141 | - // Wrap list to finder-wrapper | ||
| 142 | - this.element | ||
| 143 | - .wrap('<div class="ui-finder '+uiFinder+'"/>') | ||
| 144 | - .wrap('<div class="ui-finder-wrapper '+uiFinderWrapper+'"/>') | ||
| 145 | - .wrap('<div class="ui-finder-container"/>'); | ||
| 146 | - | ||
| 147 | - this.wrapper = this.element.parents('.ui-finder-container'); | ||
| 148 | - | ||
| 149 | - this.wrapper.parents('.ui-finder') | ||
| 150 | - .prepend('<div class="ui-finder-header '+uiFinderHeader+'">'+toolbarActions+'</div>') | ||
| 151 | - .prepend('<div class="ui-finder-title '+uiFinderTitle+'">'+this.settings.title+'</div>'); | ||
| 152 | - | ||
| 153 | - this.widget = this.wrapper.parents('.ui-finder'); | ||
| 154 | - | ||
| 155 | - this._toolbar = $('div.ui-finder-header',this.widget); | ||
| 156 | - | ||
| 157 | - this._title = $('div.ui-finder-title',this.widget); | ||
| 158 | - | ||
| 159 | - // Bind click events to wrapper so that only one event per finder is specified | ||
| 160 | - // Click event to handle showing of columns etc | ||
| 161 | - this.wrapper | ||
| 162 | - .unbind('click.FinderSelect') | ||
| 163 | - .bind('click.FinderSelect',function(e){ | ||
| 164 | - var event_target = e.target, | ||
| 165 | - $event_target = $(event_target); | ||
| 166 | - | ||
| 167 | - if(!$event_target.closest('li.ui-finder-list-item').length | ||
| 168 | - && !$event_target.is('> li.ui-finder-list-item').length | ||
| 169 | - || $event_target.parents('.ui-finder-column').length === 0 ) { | ||
| 170 | - return; | ||
| 171 | - } | ||
| 172 | - | ||
| 173 | - // Otherwise 'register' this action in queue | ||
| 174 | - self.queue($event_target); | ||
| 175 | - | ||
| 176 | - // And prevent any other browser actions | ||
| 177 | - return Boolean(self.lastSelectCallbackReturned); | ||
| 178 | - }); | ||
| 179 | - | ||
| 180 | - setTimeout(function() { | ||
| 181 | - self.settings.onInit.apply(self.element,[self]); | ||
| 182 | - | ||
| 183 | - self.settings.listItemBorderColour = $('.ui-widget-header').css('backgroundColor'); | ||
| 184 | - | ||
| 185 | - // Initialise root list | ||
| 186 | - self.selectItem('root'); | ||
| 187 | - },0); | ||
| 188 | - | ||
| 189 | - return this; | ||
| 190 | - }; | ||
| 191 | - | ||
| 192 | - Finder.prototype.title = function(val) { | ||
| 193 | - this._title.html(val); | ||
| 194 | - return this; | ||
| 195 | - }; | ||
| 196 | - | ||
| 197 | - Finder.prototype.toolbar = function(val) { | ||
| 198 | - this._toolbar.html(val); | ||
| 199 | - return this; | ||
| 200 | - }; | ||
| 201 | - | ||
| 202 | - /** | ||
| 203 | - * Queue - Following a click event on a list item or anchor, the queue function is called | ||
| 204 | - * It stores info about click events so that the script can handle click events | ||
| 205 | - * on a first-come first-served basis. | ||
| 206 | - * | ||
| 207 | - * @param noCache - True when queue function called via 'refresh' API | ||
| 208 | - * i.e. caching is false when refreshing | ||
| 209 | - * @param actionType - Either 'select' or 'open', specified only if queue fn | ||
| 210 | - * called via API (ie. selector.finder('select', ... )) | ||
| 211 | - **/ | ||
| 212 | - Finder.prototype.queue = function(target,noCache,actionType /* select or open */){ | ||
| 213 | - var self = this, | ||
| 214 | - wrapper = this.wrapper; | ||
| 215 | - | ||
| 216 | - this._queue.push( [target,noCache,actionType] ); | ||
| 217 | - | ||
| 218 | - // isProcessing is set to true when the Finder is currently 'doing stuff' | ||
| 219 | - // and set to false when not. So, if its not doing anything right now, | ||
| 220 | - // continue to process this event | ||
| 221 | - if(!self.isProcessing) { self.preSelect(); } | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - return this; | ||
| 225 | - }; | ||
| 226 | - | ||
| 227 | - /** | ||
| 228 | - * preSelect - Simple function to determine which item to select | ||
| 229 | - * based on the current queue => Always first item in queue | ||
| 230 | - * (first-come, first-served) | ||
| 231 | - **/ | ||
| 232 | - Finder.prototype.preSelect = function(){ | ||
| 233 | - var self = this, | ||
| 234 | - q = this._queue; | ||
| 235 | - | ||
| 236 | - if(q.length==0) { return;} | ||
| 237 | - | ||
| 238 | - self.select.apply(self,q[0]); | ||
| 239 | - | ||
| 240 | - return this; | ||
| 241 | - }; | ||
| 242 | - | ||
| 243 | - /** | ||
| 244 | - * Select - Considering the target of a click event, this function determines | ||
| 245 | - * what to do next by taking into consideration if target was anchor, or list item, | ||
| 246 | - * and if target was a file or a folder. | ||
| 247 | - * | ||
| 248 | - * Note: - Cannot select an item which is not in page (i.e. in sublevels) | ||
| 249 | - * - When selecting item via API, not selecting levels properly | ||
| 250 | - **/ | ||
| 251 | - Finder.prototype.select = function(target,noCache,actionType) { | ||
| 252 | - var self = this, | ||
| 253 | - wrapper = this.wrapper, | ||
| 254 | - targetElement = (typeof target == 'string') | ||
| 255 | - ? $('a[rel="'+target+'"]',wrapper) : $(target), | ||
| 256 | - eventTarget = targetElement; | ||
| 257 | - | ||
| 258 | - if(typeof target.length != 'number') { | ||
| 259 | - throw 'jQuery Finder: Target must be either a URL or a jQuery/DOM element'; return this; } | ||
| 260 | - | ||
| 261 | - if(!targetElement[0]) { | ||
| 262 | - throw 'jQuery Finder: Target element does not exist'; return this; } | ||
| 263 | - | ||
| 264 | - this.isProcessing = true; | ||
| 265 | - | ||
| 266 | - var targetList = targetElement.closest('li.ui-finder-list-item'), | ||
| 267 | - targetA = $('> a:first',targetList), | ||
| 268 | - targetContainer = targetList.parents('div[data-finder-list-level]:first'), | ||
| 269 | - targetLevel = targetContainer.attr('data-finder-list-level'), | ||
| 270 | - type = (targetList.hasClass('ui-finder-file')) ? 'file' : 'folder', | ||
| 271 | - url = targetA.attr('rel'), | ||
| 272 | - wrapperLists = $('div.ui-finder-column:visible',wrapper), | ||
| 273 | - classes = this.settings.classNames, | ||
| 274 | - classesActive = classes['ui-finder-list-item-active'] || '', | ||
| 275 | - classesActiveNow = classes['ui-finder-list-item-activeNow'] || ''; | ||
| 276 | - | ||
| 277 | - // Fix event's target element. Only list and anchor elements make sense | ||
| 278 | - targetElement = (targetElement[0] !== targetList[0] && targetElement[0] !== targetA[0]) | ||
| 279 | - ? targetList | ||
| 280 | - : targetElement; | ||
| 281 | - | ||
| 282 | - // If select was triggered via API and target was a URL (e.g. finder('select',url)) | ||
| 283 | - // then target is considered to be the list item so as to select item and not open it. | ||
| 284 | - // This allows user to select an item by providing the URL of an anchor element | ||
| 285 | - // which would otherwise open the item | ||
| 286 | - if(actionType == 'select' /*&& typeof target == 'string' *//*&& type == 'file'*/) { | ||
| 287 | - eventTarget = targetElement = targetList; } | ||
| 288 | - | ||
| 289 | - // Currently selected item will no longer be active | ||
| 290 | - $('.ui-finder-list-item.ui-finder-list-item-activeNow',wrapper) | ||
| 291 | - .removeClass('ui-finder-list-item-activeNow ' + classesActiveNow ); | ||
| 292 | - | ||
| 293 | - // Remove visible lists which should not be visible anymore | ||
| 294 | - wrapperLists.each(function(){ | ||
| 295 | - var finderListWrapper = $(this), | ||
| 296 | - finderListLevel = finderListWrapper.attr('data-finder-list-level'); | ||
| 297 | - | ||
| 298 | - if( finderListLevel >= targetLevel ) { | ||
| 299 | - $('.ui-finder-list-item.ui-finder-list-item-active',finderListWrapper) | ||
| 300 | - .removeClass('ui-finder-list-item-active ' + classesActive ); } | ||
| 301 | - | ||
| 302 | - if( finderListLevel > targetLevel ) { | ||
| 303 | - finderListWrapper.remove(); } | ||
| 304 | - }); | ||
| 305 | - | ||
| 306 | - // Style selected list item | ||
| 307 | - // active refers to all previously selected list items | ||
| 308 | - // activeNow refers to the currently active list item | ||
| 309 | - targetList | ||
| 310 | - .addClass('ui-finder-list-item-active ' + classesActive) | ||
| 311 | - .addClass('ui-finder-list-item-activeNow ' + classesActiveNow); | ||
| 312 | - | ||
| 313 | - // Scroll to selected item | ||
| 314 | - // Mostly useful if item not selected following direct user action (e.g. click event) | ||
| 315 | - if(scrollToPlugin){ | ||
| 316 | - setTimeout(function() { | ||
| 317 | - targetContainer.scrollTo(targetList); }, 0); } | ||
| 318 | - | ||
| 319 | - // Call onSelectItem or onSelectFolder callbacks | ||
| 320 | - // If callback does not return false, | ||
| 321 | - // proceed to display item/folder in new column | ||
| 322 | - var selectCallback, callbackArgs = [targetList,eventTarget,self]; | ||
| 323 | - | ||
| 324 | - if (type == 'file') { | ||
| 325 | - selectCallback = self.settings.onItemSelect.apply(self.element,callbackArgs); } | ||
| 326 | - else { | ||
| 327 | - selectCallback = self.settings.onFolderSelect.apply(self.element,callbackArgs); } | ||
| 328 | - | ||
| 329 | - this.lastSelectCallbackReturned = selectCallback; | ||
| 330 | - | ||
| 331 | - // If callback returns false, no new column is added | ||
| 332 | - // If callback returns true, default browser action is taken (i.e. url followed) | ||
| 333 | - if( selectCallback !== false && selectCallback !== true) { | ||
| 334 | - // Notify user of loading action | ||
| 335 | - targetList.addClass('ui-finder-loading'); | ||
| 336 | - | ||
| 337 | - // Select item | ||
| 338 | - self.selectItem(url,noCache,[targetElement,targetList]); | ||
| 339 | - | ||
| 340 | - return this; } | ||
| 341 | - | ||
| 342 | - // Script will only reach this point when select callbacks return false or true | ||
| 343 | - | ||
| 344 | - // Adjust the width of the current columns | ||
| 345 | - // true param needed so that adjustWidth knows that | ||
| 346 | - // there are no new columns being added | ||
| 347 | - this.adjustWidth(true); | ||
| 348 | - | ||
| 349 | - // Finalise process (move on with queue etc) | ||
| 350 | - this.finalise(); | ||
| 351 | - | ||
| 352 | - return this; | ||
| 353 | - }; | ||
| 354 | - | ||
| 355 | - /** | ||
| 356 | - * Select Item | ||
| 357 | - * | ||
| 358 | - * This function retrieves the data to be shown to the user after a click event | ||
| 359 | - * Finder will only reach this point when select callbacks do not return false | ||
| 360 | - **/ | ||
| 361 | - | ||
| 362 | - Finder.prototype.selectItem = function(url,noCache,targets){ | ||
| 363 | - var self = this, | ||
| 364 | - settings = self.settings, | ||
| 365 | - target = (targets) ? targets[0] : null, | ||
| 366 | - listItem = (targets) ? targets[1] : null, | ||
| 367 | - type = (listItem) ? listItem[0].className.match(/(file|folder)/)[0] : 'folder', | ||
| 368 | - data = (url == 'root') | ||
| 369 | - ? (settings.url) ? null : this.element | ||
| 370 | - : $('> ul, > ol, > div',listItem).eq(0).clone(), | ||
| 371 | - url = (url == 'root' && typeof settings.url === 'string') ? settings.url : url; | ||
| 372 | - | ||
| 373 | - // Process data before appending new column | ||
| 374 | - var proceed = function(){ | ||
| 375 | - var processData = settings.processData, | ||
| 376 | - tmp_data = data; | ||
| 377 | - | ||
| 378 | - if($.isFunction(processData)) { | ||
| 379 | - data = processData(data); | ||
| 380 | - if(!data.length) { data = tmp_data;} } | ||
| 381 | - else { | ||
| 382 | - data = $(data); } | ||
| 383 | - | ||
| 384 | - // Store data in cache | ||
| 385 | - self.cache[url] = { | ||
| 386 | - 'url':url, 'data' : data, 'response': tmp_data, | ||
| 387 | - 'date': new Date().valueOf(), 'status' : 'success' }; | ||
| 388 | - | ||
| 389 | - // If just loaded root, call on root init callback | ||
| 390 | - if(url == settings.url && typeof settings.onRootInit === 'function') { | ||
| 391 | - settings.onRootInit.apply(self.element,[data,self]); } | ||
| 392 | - | ||
| 393 | - if(type == 'folder') { | ||
| 394 | - // Process data. Find list items and add necessary classes and icons | ||
| 395 | - $('> ul, > ol',data).eq(0).find('> li').each(function(){ | ||
| 396 | - var $this = $(this), | ||
| 397 | - thisType,thisTypeClass; | ||
| 398 | - | ||
| 399 | - // Get the type of this list item (file or folder) | ||
| 400 | - if($this.hasClass('ui-finder-folder')) { | ||
| 401 | - thisType = 'folder'; } | ||
| 402 | - else if ($this.hasClass('ui-finder-file')) { | ||
| 403 | - thisType = 'file'; } | ||
| 404 | - | ||
| 405 | - // If type (file or folder) is not specified try to figure it out | ||
| 406 | - else { | ||
| 407 | - if($this.children('ul,ol').length) { | ||
| 408 | - $this.addClass('ui-finder-folder'); | ||
| 409 | - thisType = 'folder'; } | ||
| 410 | - else { // default type is file | ||
| 411 | - $this.addClass('ui-finder-file'); | ||
| 412 | - thisType = 'file'; } | ||
| 413 | - } | ||
| 414 | - | ||
| 415 | - // Set class for icon | ||
| 416 | - thisTypeClass = (thisType == 'file') | ||
| 417 | - ? settings.classNames['ui-finder-list-item-file'] | ||
| 418 | - : settings.classNames['ui-finder-list-item-folder']; | ||
| 419 | - | ||
| 420 | - $this | ||
| 421 | - .addClass('ui-finder-list-item') | ||
| 422 | - .css('borderColor',settings.listItemBorderColour) | ||
| 423 | - .append('<span class="'+settings.classNames['ui-finder-icon-folder-arrow']+'\ | ||
| 424 | - ui-finder-icon ui-finder-icon-arrow"/>'); | ||
| 425 | - | ||
| 426 | - // Remove links | ||
| 427 | - var anch = $('> a',this), | ||
| 428 | - anchHref = anch.attr('href') || '_blank'+ new Date().valueOf(), | ||
| 429 | - anchTitle = anch.attr('title') || ''; | ||
| 430 | - | ||
| 431 | - if(anch.attr('rel') == anchHref.substring(1) || !anchHref.length) { return;} | ||
| 432 | - | ||
| 433 | - anch | ||
| 434 | - .attr('rel',anchHref) | ||
| 435 | - .attr('href',anchHref) | ||
| 436 | - .append('<span class="ui-icon '+thisTypeClass+' ui-finder-icon ui-finder-icon-'+thisType+'"/>'); | ||
| 437 | - | ||
| 438 | - if(anchTitle.length == 0) {anch.attr('title',anchHref);} | ||
| 439 | - }); | ||
| 440 | - } | ||
| 441 | - | ||
| 442 | - // Append the new data | ||
| 443 | - self.appendNewColumn(url,data,[target,listItem],type); | ||
| 444 | - }; | ||
| 445 | - | ||
| 446 | - // Folder contents exist and no refresh | ||
| 447 | - if(data && data.length && !noCache) { proceed(); } | ||
| 448 | - | ||
| 449 | - // Folder content exist, and refresh, but no URL | ||
| 450 | - else if(data && data.length && noCache && url.match(/_blank\d+/)) { proceed(); } | ||
| 451 | - | ||
| 452 | - // Caching and data somewhere in cache | ||
| 453 | - else if( typeof this.cache[url] == 'object' && this.settings.cache && !noCache) { | ||
| 454 | - if(this.cache[url].status == 'success' ) { | ||
| 455 | - data = this.cache[url].data; | ||
| 456 | - proceed(); | ||
| 457 | - } | ||
| 458 | - } | ||
| 459 | - // No data yet, so retrieve from URL | ||
| 460 | - else if(!url.match(/_blank\d+/)) { | ||
| 461 | - $.ajax({ | ||
| 462 | - url : url, cache : self.settings.ajax.cache, | ||
| 463 | - success: function(response){ | ||
| 464 | - data = response; | ||
| 465 | - }, | ||
| 466 | - error: function(xhr,response){ | ||
| 467 | - data = response; | ||
| 468 | - }, | ||
| 469 | - complete : function(){ | ||
| 470 | - proceed(); | ||
| 471 | - } | ||
| 472 | - }); | ||
| 473 | - } | ||
| 474 | - | ||
| 475 | - return this; | ||
| 476 | - }; | ||
| 477 | - | ||
| 478 | - /*** | ||
| 479 | - * Append new Column - Function to append a new column to finder | ||
| 480 | - * called from selectItem function | ||
| 481 | - * | ||
| 482 | - * Triggers Callback functions for OpenItem or OpenFolder ! | ||
| 483 | - ***/ | ||
| 484 | - Finder.prototype.appendNewColumn = function(url,data,targets,type){ | ||
| 485 | - var self = this, | ||
| 486 | - target = (targets) ? targets[0] : null, | ||
| 487 | - listItem = (targets) ? targets[1] : null, | ||
| 488 | - targetParent = (listItem) | ||
| 489 | - ? listItem.parents('div[data-finder-list-level]:first') : null, | ||
| 490 | - columnId = url.replace(/[\W\s]*/g,''), | ||
| 491 | - columnLevel = (function(){ | ||
| 492 | - if (url == self.settings.url || url == 'root') { return 0; } | ||
| 493 | - return parseInt(targetParent.attr('data-finder-list-level'),10) + 1; | ||
| 494 | - })(); | ||
| 495 | - | ||
| 496 | - // If column already exists, remove it | ||
| 497 | - var newColumn = $('div[data-finder-list-id="'+columnId+'"]'); | ||
| 498 | - if(newColumn.length > 0) { newColumn[0].parentNode.removeChild(newColumn[0]); } | ||
| 499 | - | ||
| 500 | - // Specify new column, and add necessary attributes | ||
| 501 | - newColumn = $('<div class="ui-finder-column ui-widget-content ui-finder-new-col"/>') | ||
| 502 | - // Avoid showing the column when it's not yet ready | ||
| 503 | - // Also, setting display to none makes DOM manipulation a bit faster | ||
| 504 | - .css('display','none') | ||
| 505 | - .attr('data-finder-list-id',columnId) | ||
| 506 | - .attr('data-finder-list-source',url) | ||
| 507 | - .attr('data-finder-list-level',columnLevel) | ||
| 508 | - .css('z-index',0); // Keep beneath other columns | ||
| 509 | - | ||
| 510 | - // Append new column | ||
| 511 | - // Plain DOM scripting used as opposed to jQuery as it's faster | ||
| 512 | - self.wrapper[0].appendChild(newColumn[0]); | ||
| 513 | - | ||
| 514 | - newColumn[0].appendChild($(data)[0]); | ||
| 515 | - | ||
| 516 | - // Adjust the width of the Finder | ||
| 517 | - // but make sure that column is appended & parsed (timeout = 0) | ||
| 518 | - setTimeout(function(){ | ||
| 519 | - self.adjustWidth(false,newColumn,url);},0); | ||
| 520 | - | ||
| 521 | - // Call onOpenItem or onOpenFolder callback if target was anchor | ||
| 522 | - // Note: target check necessary, root list has no target | ||
| 523 | - if(target && target[0] && target.is('a')) { | ||
| 524 | - var callbackArgs = [listItem,newColumn,self]; | ||
| 525 | - if(type == 'file') { self.settings.onItemOpen.apply(self.element,callbackArgs); } | ||
| 526 | - else { self.settings.onFolderOpen.apply(self.element,callbackArgs); } | ||
| 527 | - } | ||
| 528 | - | ||
| 529 | - return this; | ||
| 530 | - }; | ||
| 531 | - | ||
| 532 | - /*** | ||
| 533 | - * Adjust Width - Adjust the width of the columns and the wrapper element | ||
| 534 | - * param ignoreNew is true when select callbacks return false | ||
| 535 | - ***/ | ||
| 536 | - Finder.prototype.adjustWidth = function(ignoreNew,newColumn,url){ | ||
| 537 | - var self = this, | ||
| 538 | - wrapper = this.wrapper; | ||
| 539 | - | ||
| 540 | - newColumn = newColumn || $('div[data-finder-list-id]:visible:last',wrapper); | ||
| 541 | - | ||
| 542 | - // Get all siblings of the new column | ||
| 543 | - // i.e those visible and not the last, as new column is always last | ||
| 544 | - var columns = (!ignoreNew) | ||
| 545 | - ? wrapper.children('div[data-finder-list-id]:not(.ui-finder-new-col):visible') | ||
| 546 | - : wrapper.children('div[data-finder-list-id]:visible:not(:last)'), | ||
| 547 | - width = 0; | ||
| 548 | - | ||
| 549 | - newColumn.removeClass('ui-finder-new-col'); | ||
| 550 | - | ||
| 551 | - // Prevent previous columns from taking up all the space (width) | ||
| 552 | - columns.css('right','auto'); | ||
| 553 | - | ||
| 554 | - // Calculate the space taken by the visible columns | ||
| 555 | - // The total width of these columns will be set as | ||
| 556 | - // the left property of the new column (so that each column appears next to each other) | ||
| 557 | - columns.each(function() { | ||
| 558 | - $(this) | ||
| 559 | - .width('auto') | ||
| 560 | - // Explicitly setting the width of the column fixes some issues in IE. | ||
| 561 | - // The 20px padding is needed for Webkit browsers (don't know why) | ||
| 562 | - .width( $(this).outerWidth() + 20 ); | ||
| 563 | - | ||
| 564 | - width += $(this).width();}); | ||
| 565 | - | ||
| 566 | - // Account for Y axis scrollbar (only if it wasn't accounted before) | ||
| 567 | - // The value specified will be added to the new column's width | ||
| 568 | - var yScroll = 10,// ($.browser.msie && $.browser.version < 8) ? 10 : 5, | ||
| 569 | - accountYScroll = ( !newColumn.data('yscroll') ) ? yScroll : 0; | ||
| 570 | - | ||
| 571 | - // Need to know the width of the new column (newColumnWidth), | ||
| 572 | - // the total width of all columns (newWidth), | ||
| 573 | - // the current width of the wrapper element (currentWidth), | ||
| 574 | - // and the available width (specified in wrapper's parent) | ||
| 575 | - var _tmpNewColumnWidth = newColumn.width(), | ||
| 576 | - newColumnWidth = (self.settings.maxWidth && _tmpNewColumnWidth > self.settings.maxWidth) | ||
| 577 | - ? self.settings.maxWidth : _tmpNewColumnWidth + accountYScroll, | ||
| 578 | - newWidth = width + newColumnWidth, | ||
| 579 | - currentWidth = wrapper.width(), | ||
| 580 | - availableWidth = wrapper.parent().width(); | ||
| 581 | - | ||
| 582 | - // Mark column as y scrollbar fixed | ||
| 583 | - newColumn.data('yscroll',true); | ||
| 584 | - | ||
| 585 | - // Adjust the width of the wrapper element. As columns as absolutely positioned | ||
| 586 | - // no horizontal scrollbars appear if the total width of the columns exceeds the space available. | ||
| 587 | - // By setting the width of the wrapper element to that of the columns, a horizontal scrollbar appears. | ||
| 588 | - if ( newWidth > availableWidth || newWidth < currentWidth | ||
| 589 | - && currentWidth > availableWidth && newWidth != currentWidth) { | ||
| 590 | - | ||
| 591 | - // If going from multiple levels down (ie. many columns) to a higher level | ||
| 592 | - // (ie. to few columns) the new width will be less than available. | ||
| 593 | - // Also if theres only one column visible (ie. root) newWidth will equal newColumnWidth. | ||
| 594 | - // In these cases make sure Finder takes up all available space. | ||
| 595 | - if(newColumnWidth == newWidth || newWidth < availableWidth) { newWidth = 'auto'; } | ||
| 596 | - | ||
| 597 | - // Account for Y axis scrollbar | ||
| 598 | - // This adds the necessary width when moving backwards | ||
| 599 | - accountYScroll = ( newWidth != 'auto' && newWidth != currentWidth ) ? yScroll : ''; | ||
| 600 | - | ||
| 601 | - // Set width to new | ||
| 602 | - wrapper.width( newWidth + accountYScroll); | ||
| 603 | - } | ||
| 604 | - | ||
| 605 | - // As the column is absolutely positioned, its left property | ||
| 606 | - // must be specified | ||
| 607 | - newColumn.css('left',width); | ||
| 608 | - | ||
| 609 | - // Make the new column take up all available space | ||
| 610 | - // this must be set AFTER new column's width has been retrieved | ||
| 611 | - // otherwise the value is not true | ||
| 612 | - newColumn.css('right',0); | ||
| 613 | - | ||
| 614 | - // By setting the z-index of the new column to '2' | ||
| 615 | - // it prevents subsequent columns from being above it | ||
| 616 | - // whilst their css properties (left & right) are being set. | ||
| 617 | - // For this to be effective columns must have a background specified | ||
| 618 | - // (CSS class: .ui-finder-column) | ||
| 619 | - newColumn.css('z-index',2); | ||
| 620 | - | ||
| 621 | - // Set display to block so that we can scroll to the new column | ||
| 622 | - // Set visibility to hidden to avoid flicker if animation is required | ||
| 623 | - newColumn.css({'display':'block','visibility':'hidden'}); | ||
| 624 | - | ||
| 625 | - // Scroll to new column | ||
| 626 | - if(newColumn && scrollToPlugin){ | ||
| 627 | - this.wrapper.parent().scrollTo(newColumn); } | ||
| 628 | - | ||
| 629 | - // ignoreNew exists when select callbacks return FALSE | ||
| 630 | - // i.e. no new column was appended, but width of existing columns | ||
| 631 | - // and wrapper still need fixing | ||
| 632 | - if(!ignoreNew && this.settings.animate) { | ||
| 633 | - // Animate column if desired | ||
| 634 | - var duration = (!isNaN(this.settings.animate)) ? this.settings.animate : 500; | ||
| 635 | - // To animate the column we cannot use its width value (its 0) | ||
| 636 | - // but we can use its left property to calculate the width it currently occupies. | ||
| 637 | - // Pixels from left - total pixels = pixels available for the column (i.e. width) | ||
| 638 | - var fromLeft = newColumn.css('left').replace(/\D/g,''), | ||
| 639 | - fromRight = wrapper.width() - fromLeft; | ||
| 640 | - | ||
| 641 | - // So by setting the column's right property to the calculated value | ||
| 642 | - // and keeping its left property, the column becomes insivible | ||
| 643 | - // The animation then decreases the right property gradually to zero | ||
| 644 | - // to make the column visible | ||
| 645 | - newColumn | ||
| 646 | - .css('overflow-y','hidden') // avoid showing a scroll bar whilst animating | ||
| 647 | - .css('right',fromRight) | ||
| 648 | - .css('visibility','visible') | ||
| 649 | - .animate({'right':0 },{ | ||
| 650 | - duration:duration, | ||
| 651 | - complete:function(){ | ||
| 652 | - newColumn.css('overflow-y','scroll'); | ||
| 653 | - self.finalise(newColumn,url); } | ||
| 654 | - }); | ||
| 655 | - } | ||
| 656 | - // No animation, just show the new column | ||
| 657 | - else { | ||
| 658 | - newColumn.css('visibility','visible'); | ||
| 659 | - self.finalise(newColumn,url); } | ||
| 660 | - | ||
| 661 | - return this; | ||
| 662 | - }; | ||
| 663 | - | ||
| 664 | - Finder.prototype.finalise = function(newColumn,url){ | ||
| 665 | - // Remove any loading classes | ||
| 666 | - $('div.ui-finder-column .ui-finder-list-item.ui-finder-loading',this.wrapper) | ||
| 667 | - .removeClass('ui-finder-loading'); | ||
| 668 | - | ||
| 669 | - // Specify that script is done processing (used in queing) | ||
| 670 | - this.isProcessing = false; | ||
| 671 | - | ||
| 672 | - // Remove last item from queue | ||
| 673 | - // and if there are more items, move on | ||
| 674 | - this._queue.shift(); | ||
| 675 | - if(this._queue.length > 0) { | ||
| 676 | - this.preSelect(); } | ||
| 677 | - | ||
| 678 | - // If just loaded root, call on root ready callback | ||
| 679 | - if(url == this.settings.url && typeof this.settings.onRootReady === 'function') { | ||
| 680 | - this.settings.onRootReady.apply(this.element,[newColumn,this]); } | ||
| 681 | - | ||
| 682 | - return this; | ||
| 683 | - }; | ||
| 684 | - | ||
| 685 | - Finder.prototype.destroy = function(){ | ||
| 686 | - // Unbind events | ||
| 687 | - this.wrapper | ||
| 688 | - .unbind('click.FinderSelect'); | ||
| 689 | - | ||
| 690 | - // Remove Finder's HTML, append initial element | ||
| 691 | - this.element.parents('.ui-finder').replaceWith(this.initial); | ||
| 692 | - | ||
| 693 | - // Delete reference to Finder | ||
| 694 | - delete Finders[this.id]; | ||
| 695 | - | ||
| 696 | - return this; | ||
| 697 | - }; | ||
| 698 | - | ||
| 699 | - Finder.prototype.current = function(){ | ||
| 700 | - var current = $('.ui-state-hover',this.wrapper).find('a:first'); | ||
| 701 | - return (current.length>0) ? current : null; | ||
| 702 | - }; | ||
| 703 | - | ||
| 704 | - Finder.prototype.refresh = function(){ | ||
| 705 | - var current = this.current(); | ||
| 706 | - | ||
| 707 | - if(current) { this.queue(current,true); } | ||
| 708 | - else { this.selectItem('root',true); } | ||
| 709 | - | ||
| 710 | - return this; | ||
| 711 | - }; | ||
| 712 | - | ||
| 713 | - var _finder = Finders[ $(this).eq(0).attr('data-finder-ts') ]; | ||
| 714 | - | ||
| 715 | - if(method == 'current' && _finder) { return _finder.current(); } | ||
| 716 | - else if(method == 'get' && _finder) { return _finder; } | ||
| 717 | - | ||
| 718 | - return this.each(function(){ | ||
| 719 | - var finderId = $(this).attr('data-finder-ts') || null, | ||
| 720 | - timeStamp = new Date().valueOf(); | ||
| 721 | - | ||
| 722 | - // If name of method provided | ||
| 723 | - // execute method | ||
| 724 | - if(finderId && method) { | ||
| 725 | - var finder = Finders[finderId]; | ||
| 726 | - | ||
| 727 | - // Access private methods | ||
| 728 | - if(method == 'select' && m) { | ||
| 729 | - if(m.constructor == Array) { | ||
| 730 | - m = m.reverse(); | ||
| 731 | - for (var i = m.length - 1; i >= 0; i--){ | ||
| 732 | - finder.queue(m[i],false,method); } | ||
| 733 | - } | ||
| 734 | - else { finder.queue(m,false,method); } | ||
| 735 | - } | ||
| 736 | - else if(method == 'title') { finder.title(m); } | ||
| 737 | - else if(method == 'toolbar') { finder.toolbar(m); } | ||
| 738 | - else if(method == 'destroy') { finder.destroy(); } | ||
| 739 | - else if(method == 'refresh') { finder.refresh(); } | ||
| 740 | - } | ||
| 741 | - // If no method provided new finder is created | ||
| 742 | - else if (!method) { Finders[timeStamp] = new Finder(this,timeStamp).init(); } | ||
| 743 | - else if (!finderId && method) { throw 'jQuery Finder: Element is not a finder'; } | ||
| 744 | - }); | ||
| 745 | -};})(jQuery); | ||
| 746 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.theme.css deleted
| 1 | - | ||
| 2 | - | ||
| 3 | -/* | ||
| 4 | -* jQuery UI CSS Framework | ||
| 5 | -* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) | ||
| 6 | -* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. | ||
| 7 | -* To view and modify this theme, visit http://ui.jquery.com/themeroller/?tr=&ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px | ||
| 8 | -*/ | ||
| 9 | - | ||
| 10 | - | ||
| 11 | -/* Component containers | ||
| 12 | -----------------------------------*/ | ||
| 13 | -.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; } | ||
| 14 | -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; } | ||
| 15 | -.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } | ||
| 16 | -.ui-widget-header a { color: #222222; } | ||
| 17 | -.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; } | ||
| 18 | -.ui-widget-content a { color: #222222; } | ||
| 19 | - | ||
| 20 | -/* Interaction states | ||
| 21 | -----------------------------------*/ | ||
| 22 | -.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; outline: none; } | ||
| 23 | -.ui-state-default a { color: #555555; text-decoration: none; outline: none; } | ||
| 24 | -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; } | ||
| 25 | -.ui-state-hover a { color: #212121; text-decoration: none; outline: none; } | ||
| 26 | -.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; } | ||
| 27 | -.ui-state-active a { color: #212121; outline: none; text-decoration: none; } | ||
| 28 | - | ||
| 29 | -/* Interaction Cues | ||
| 30 | -----------------------------------*/ | ||
| 31 | -.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; } | ||
| 32 | -.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } | ||
| 33 | -.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; } | ||
| 34 | -.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } | ||
| 35 | -.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } | ||
| 36 | -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } | ||
| 37 | - | ||
| 38 | -/* Icons | ||
| 39 | -----------------------------------*/ | ||
| 40 | - | ||
| 41 | -/* states and images */ | ||
| 42 | -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } | ||
| 43 | -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } | ||
| 44 | -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } | ||
| 45 | -.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); } | ||
| 46 | -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } | ||
| 47 | -.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } | ||
| 48 | -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } | ||
| 49 | -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } | ||
| 50 | - | ||
| 51 | -/* positioning */ | ||
| 52 | -.ui-icon-carat-1-n { background-position: 0 0; } | ||
| 53 | -.ui-icon-carat-1-ne { background-position: -16px 0; } | ||
| 54 | -.ui-icon-carat-1-e { background-position: -32px 0; } | ||
| 55 | -.ui-icon-carat-1-se { background-position: -48px 0; } | ||
| 56 | -.ui-icon-carat-1-s { background-position: -64px 0; } | ||
| 57 | -.ui-icon-carat-1-sw { background-position: -80px 0; } | ||
| 58 | -.ui-icon-carat-1-w { background-position: -96px 0; } | ||
| 59 | -.ui-icon-carat-1-nw { background-position: -112px 0; } | ||
| 60 | -.ui-icon-carat-2-n-s { background-position: -128px 0; } | ||
| 61 | -.ui-icon-carat-2-e-w { background-position: -144px 0; } | ||
| 62 | -.ui-icon-triangle-1-n { background-position: 0 -16px; } | ||
| 63 | -.ui-icon-triangle-1-ne { background-position: -16px -16px; } | ||
| 64 | -.ui-icon-triangle-1-e { background-position: -32px -16px; } | ||
| 65 | -.ui-icon-triangle-1-se { background-position: -48px -16px; } | ||
| 66 | -.ui-icon-triangle-1-s { background-position: -64px -16px; } | ||
| 67 | -.ui-icon-triangle-1-sw { background-position: -80px -16px; } | ||
| 68 | -.ui-icon-triangle-1-w { background-position: -96px -16px; } | ||
| 69 | -.ui-icon-triangle-1-nw { background-position: -112px -16px; } | ||
| 70 | -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } | ||
| 71 | -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } | ||
| 72 | -.ui-icon-arrow-1-n { background-position: 0 -32px; } | ||
| 73 | -.ui-icon-arrow-1-ne { background-position: -16px -32px; } | ||
| 74 | -.ui-icon-arrow-1-e { background-position: -32px -32px; } | ||
| 75 | -.ui-icon-arrow-1-se { background-position: -48px -32px; } | ||
| 76 | -.ui-icon-arrow-1-s { background-position: -64px -32px; } | ||
| 77 | -.ui-icon-arrow-1-sw { background-position: -80px -32px; } | ||
| 78 | -.ui-icon-arrow-1-w { background-position: -96px -32px; } | ||
| 79 | -.ui-icon-arrow-1-nw { background-position: -112px -32px; } | ||
| 80 | -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } | ||
| 81 | -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } | ||
| 82 | -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } | ||
| 83 | -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } | ||
| 84 | -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } | ||
| 85 | -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } | ||
| 86 | -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } | ||
| 87 | -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } | ||
| 88 | -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } | ||
| 89 | -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } | ||
| 90 | -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } | ||
| 91 | -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } | ||
| 92 | -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } | ||
| 93 | -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } | ||
| 94 | -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } | ||
| 95 | -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } | ||
| 96 | -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } | ||
| 97 | -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } | ||
| 98 | -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } | ||
| 99 | -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } | ||
| 100 | -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } | ||
| 101 | -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } | ||
| 102 | -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } | ||
| 103 | -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } | ||
| 104 | -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } | ||
| 105 | -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } | ||
| 106 | -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } | ||
| 107 | -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } | ||
| 108 | -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } | ||
| 109 | -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } | ||
| 110 | -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } | ||
| 111 | -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } | ||
| 112 | -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } | ||
| 113 | -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } | ||
| 114 | -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } | ||
| 115 | -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } | ||
| 116 | -.ui-icon-arrow-4 { background-position: 0 -80px; } | ||
| 117 | -.ui-icon-arrow-4-diag { background-position: -16px -80px; } | ||
| 118 | -.ui-icon-extlink { background-position: -32px -80px; } | ||
| 119 | -.ui-icon-newwin { background-position: -48px -80px; } | ||
| 120 | -.ui-icon-refresh { background-position: -64px -80px; } | ||
| 121 | -.ui-icon-shuffle { background-position: -80px -80px; } | ||
| 122 | -.ui-icon-transfer-e-w { background-position: -96px -80px; } | ||
| 123 | -.ui-icon-transferthick-e-w { background-position: -112px -80px; } | ||
| 124 | -.ui-icon-folder-collapsed { background-position: 0 -96px; } | ||
| 125 | -.ui-icon-folder-open { background-position: -16px -96px; } | ||
| 126 | -.ui-icon-document { background-position: -32px -96px; } | ||
| 127 | -.ui-icon-document-b { background-position: -48px -96px; } | ||
| 128 | -.ui-icon-note { background-position: -64px -96px; } | ||
| 129 | -.ui-icon-mail-closed { background-position: -80px -96px; } | ||
| 130 | -.ui-icon-mail-open { background-position: -96px -96px; } | ||
| 131 | -.ui-icon-suitcase { background-position: -112px -96px; } | ||
| 132 | -.ui-icon-comment { background-position: -128px -96px; } | ||
| 133 | -.ui-icon-person { background-position: -144px -96px; } | ||
| 134 | -.ui-icon-print { background-position: -160px -96px; } | ||
| 135 | -.ui-icon-trash { background-position: -176px -96px; } | ||
| 136 | -.ui-icon-locked { background-position: -192px -96px; } | ||
| 137 | -.ui-icon-unlocked { background-position: -208px -96px; } | ||
| 138 | -.ui-icon-bookmark { background-position: -224px -96px; } | ||
| 139 | -.ui-icon-tag { background-position: -240px -96px; } | ||
| 140 | -.ui-icon-home { background-position: 0 -112px; } | ||
| 141 | -.ui-icon-flag { background-position: -16px -112px; } | ||
| 142 | -.ui-icon-calendar { background-position: -32px -112px; } | ||
| 143 | -.ui-icon-cart { background-position: -48px -112px; } | ||
| 144 | -.ui-icon-pencil { background-position: -64px -112px; } | ||
| 145 | -.ui-icon-clock { background-position: -80px -112px; } | ||
| 146 | -.ui-icon-disk { background-position: -96px -112px; } | ||
| 147 | -.ui-icon-calculator { background-position: -112px -112px; } | ||
| 148 | -.ui-icon-zoomin { background-position: -128px -112px; } | ||
| 149 | -.ui-icon-zoomout { background-position: -144px -112px; } | ||
| 150 | -.ui-icon-search { background-position: -160px -112px; } | ||
| 151 | -.ui-icon-wrench { background-position: -176px -112px; } | ||
| 152 | -.ui-icon-gear { background-position: -192px -112px; } | ||
| 153 | -.ui-icon-heart { background-position: -208px -112px; } | ||
| 154 | -.ui-icon-star { background-position: -224px -112px; } | ||
| 155 | -.ui-icon-link { background-position: -240px -112px; } | ||
| 156 | -.ui-icon-cancel { background-position: 0 -128px; } | ||
| 157 | -.ui-icon-plus { background-position: -16px -128px; } | ||
| 158 | -.ui-icon-plusthick { background-position: -32px -128px; } | ||
| 159 | -.ui-icon-minus { background-position: -48px -128px; } | ||
| 160 | -.ui-icon-minusthick { background-position: -64px -128px; } | ||
| 161 | -.ui-icon-close { background-position: -80px -128px; } | ||
| 162 | -.ui-icon-closethick { background-position: -96px -128px; } | ||
| 163 | -.ui-icon-key { background-position: -112px -128px; } | ||
| 164 | -.ui-icon-lightbulb { background-position: -128px -128px; } | ||
| 165 | -.ui-icon-scissors { background-position: -144px -128px; } | ||
| 166 | -.ui-icon-clipboard { background-position: -160px -128px; } | ||
| 167 | -.ui-icon-copy { background-position: -176px -128px; } | ||
| 168 | -.ui-icon-contact { background-position: -192px -128px; } | ||
| 169 | -.ui-icon-image { background-position: -208px -128px; } | ||
| 170 | -.ui-icon-video { background-position: -224px -128px; } | ||
| 171 | -.ui-icon-script { background-position: -240px -128px; } | ||
| 172 | -.ui-icon-alert { background-position: 0 -144px; } | ||
| 173 | -.ui-icon-info { background-position: -16px -144px; } | ||
| 174 | -.ui-icon-notice { background-position: -32px -144px; } | ||
| 175 | -.ui-icon-help { background-position: -48px -144px; } | ||
| 176 | -.ui-icon-check { background-position: -64px -144px; } | ||
| 177 | -.ui-icon-bullet { background-position: -80px -144px; } | ||
| 178 | -.ui-icon-radio-off { background-position: -96px -144px; } | ||
| 179 | -.ui-icon-radio-on { background-position: -112px -144px; } | ||
| 180 | -.ui-icon-pin-w { background-position: -128px -144px; } | ||
| 181 | -.ui-icon-pin-s { background-position: -144px -144px; } | ||
| 182 | -.ui-icon-play { background-position: 0 -160px; } | ||
| 183 | -.ui-icon-pause { background-position: -16px -160px; } | ||
| 184 | -.ui-icon-seek-next { background-position: -32px -160px; } | ||
| 185 | -.ui-icon-seek-prev { background-position: -48px -160px; } | ||
| 186 | -.ui-icon-seek-end { background-position: -64px -160px; } | ||
| 187 | -.ui-icon-seek-first { background-position: -80px -160px; } | ||
| 188 | -.ui-icon-stop { background-position: -96px -160px; } | ||
| 189 | -.ui-icon-eject { background-position: -112px -160px; } | ||
| 190 | -.ui-icon-volume-off { background-position: -128px -160px; } | ||
| 191 | -.ui-icon-volume-on { background-position: -144px -160px; } | ||
| 192 | -.ui-icon-power { background-position: 0 -176px; } | ||
| 193 | -.ui-icon-signal-diag { background-position: -16px -176px; } | ||
| 194 | -.ui-icon-signal { background-position: -32px -176px; } | ||
| 195 | -.ui-icon-battery-0 { background-position: -48px -176px; } | ||
| 196 | -.ui-icon-battery-1 { background-position: -64px -176px; } | ||
| 197 | -.ui-icon-battery-2 { background-position: -80px -176px; } | ||
| 198 | -.ui-icon-battery-3 { background-position: -96px -176px; } | ||
| 199 | -.ui-icon-circle-plus { background-position: 0 -192px; } | ||
| 200 | -.ui-icon-circle-minus { background-position: -16px -192px; } | ||
| 201 | -.ui-icon-circle-close { background-position: -32px -192px; } | ||
| 202 | -.ui-icon-circle-triangle-e { background-position: -48px -192px; } | ||
| 203 | -.ui-icon-circle-triangle-s { background-position: -64px -192px; } | ||
| 204 | -.ui-icon-circle-triangle-w { background-position: -80px -192px; } | ||
| 205 | -.ui-icon-circle-triangle-n { background-position: -96px -192px; } | ||
| 206 | -.ui-icon-circle-arrow-e { background-position: -112px -192px; } | ||
| 207 | -.ui-icon-circle-arrow-s { background-position: -128px -192px; } | ||
| 208 | -.ui-icon-circle-arrow-w { background-position: -144px -192px; } | ||
| 209 | -.ui-icon-circle-arrow-n { background-position: -160px -192px; } | ||
| 210 | -.ui-icon-circle-zoomin { background-position: -176px -192px; } | ||
| 211 | -.ui-icon-circle-zoomout { background-position: -192px -192px; } | ||
| 212 | -.ui-icon-circle-check { background-position: -208px -192px; } | ||
| 213 | -.ui-icon-circlesmall-plus { background-position: 0 -208px; } | ||
| 214 | -.ui-icon-circlesmall-minus { background-position: -16px -208px; } | ||
| 215 | -.ui-icon-circlesmall-close { background-position: -32px -208px; } | ||
| 216 | -.ui-icon-squaresmall-plus { background-position: -48px -208px; } | ||
| 217 | -.ui-icon-squaresmall-minus { background-position: -64px -208px; } | ||
| 218 | -.ui-icon-squaresmall-close { background-position: -80px -208px; } | ||
| 219 | -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } | ||
| 220 | -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } | ||
| 221 | -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } | ||
| 222 | -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } | ||
| 223 | -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } | ||
| 224 | -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } | ||
| 225 | - | ||
| 226 | - | ||
| 227 | -/* Misc visuals | ||
| 228 | -----------------------------------*/ | ||
| 229 | - | ||
| 230 | -/* Corner radius */ | ||
| 231 | -.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; } | ||
| 232 | -.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } | ||
| 233 | -.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } | ||
| 234 | -.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } | ||
| 235 | -.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; } | ||
| 236 | -.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; } | ||
| 237 | -.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; } | ||
| 238 | -.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; } | ||
| 239 | -.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; } | ||
| 240 | - | ||
| 241 | -/* Overlays */ | ||
| 242 | -.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } | ||
| 243 | -.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; } | ||
| 244 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/APP/KT_atom_server.js deleted
| 1 | -KT_atom_server=new function(){ | ||
| 2 | - this.xmlhelpers=new function(){ | ||
| 3 | - this.getTagContents=function(node,tagName){ | ||
| 4 | - return $(node).find(tagName)[0].textContent; | ||
| 5 | - } | ||
| 6 | - } | ||
| 7 | - | ||
| 8 | - this.set=function(element,value){ | ||
| 9 | - if(element.tagName!=undefined){ | ||
| 10 | - switch ((''+element.tagName+'').toLowerCase() ){ | ||
| 11 | - case 'input': | ||
| 12 | - $(element).val(value); | ||
| 13 | - break; | ||
| 14 | - default: | ||
| 15 | - $(element).html(value); | ||
| 16 | - } | ||
| 17 | - } | ||
| 18 | - } | ||
| 19 | -}; | ||
| 20 | - | ||
| 21 | - | ||
| 22 | -KT_atom_server.folder=new function(){ | ||
| 23 | - this.fieldList={ | ||
| 24 | - 'folder_id' :'id', | ||
| 25 | - 'folder_name' :'folder_name', | ||
| 26 | - 'folder_path' :'full_path', | ||
| 27 | - 'folder_permissions' :'permissions' | ||
| 28 | - }; | ||
| 29 | - this.data={}; | ||
| 30 | - | ||
| 31 | - this.parseXML=function(entry){ | ||
| 32 | - this.data={}; | ||
| 33 | - for(var lFname in this.fieldList){ | ||
| 34 | - this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); | ||
| 35 | - } | ||
| 36 | - } | ||
| 37 | - | ||
| 38 | - this.renderContainer=function(containerId){ | ||
| 39 | - var elem=lib.def(document.getElementById(containerId),window.document.body); | ||
| 40 | - for(var field in this.fieldList){ | ||
| 41 | - $("."+field,elem).each(function(){ | ||
| 42 | - KT_atom_server.set(this,KT_atom_server.folder.data[field]); | ||
| 43 | - }); | ||
| 44 | - } | ||
| 45 | - } | ||
| 46 | -} | ||
| 47 | - | ||
| 48 | -KT_atom_server.serviceDoc=new function(){ | ||
| 49 | - this.parseXML=function(data,workspace){ | ||
| 50 | - $('workspace',data).each(function(){ | ||
| 51 | - var ws=$(this); | ||
| 52 | - lib.debug.inspect($(ws[0].childNodes)); | ||
| 53 | - if($('title',this)[0].textContent==workspace){ | ||
| 54 | - alert('found workspace '+workspace) | ||
| 55 | - } | ||
| 56 | - }); | ||
| 57 | - } | ||
| 58 | -} | ||
| 59 | - | ||
| 60 | - | ||
| 61 | -KT_atom_server.document=new function(){ | ||
| 62 | - this.fieldList={ | ||
| 63 | - 'document_id' :'document_id', | ||
| 64 | - 'document_title' :'title', | ||
| 65 | - 'document_custom_no' :'custom_document_no', | ||
| 66 | - 'document_oem_no' :'oem_document_no', | ||
| 67 | - 'document_type' :'document_type', | ||
| 68 | - 'document_filename' :'filename', | ||
| 69 | - 'document_file_size' :'filesize', | ||
| 70 | - 'document_full_path' :'full_path', | ||
| 71 | - 'document_created_by' :'created_by', | ||
| 72 | - 'document_created_on' :'created_date', | ||
| 73 | - 'document_modified_by' :'modified_by', | ||
| 74 | - 'document_modified_on' :'modified_date', | ||
| 75 | - 'document_checkout_by' :'checked_out_by', | ||
| 76 | - 'document_checkout_on' :'checked_out_date', | ||
| 77 | - 'document_owned_by' :'owned_by', | ||
| 78 | - 'document_version' :'version', | ||
| 79 | - 'document_content_id' :'content_id', | ||
| 80 | - 'document_immutable' :'is_immutable', | ||
| 81 | - 'document_permissions' :'permissions', | ||
| 82 | - 'document_workflow' :'workflow', | ||
| 83 | - 'document_workflow_state' :'workflow_state', | ||
| 84 | - 'document_mime_type' :'mime_type', | ||
| 85 | - 'document_mime_display' :'mime_display', | ||
| 86 | - 'document_storage_path' :'storage_path', | ||
| 87 | - 'document_download_url' :'downloaduri' | ||
| 88 | - }; | ||
| 89 | - this.data={}; | ||
| 90 | - | ||
| 91 | - this.parseXML=function(entry){ | ||
| 92 | - this.data={}; | ||
| 93 | - for(var lFname in this.fieldList){ | ||
| 94 | - this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); | ||
| 95 | - } | ||
| 96 | - | ||
| 97 | - } | ||
| 98 | - | ||
| 99 | - this.renderContainer=function(containerId){ | ||
| 100 | - var elem=lib.def(document.getElementById(containerId),window.document.body); | ||
| 101 | - for(var field in this.fieldList){ | ||
| 102 | - $("."+field,elem).each(function(){ | ||
| 103 | - KT_atom_server.set(this,KT_atom_server.document.data[field]); | ||
| 104 | - }); | ||
| 105 | - } | ||
| 106 | - } | ||
| 107 | -} | ||
| 108 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/APP/app.js deleted
| 1 | -/** | ||
| 2 | - * AtomPub Handlers | ||
| 3 | - * | ||
| 4 | - * This library formats compliant AtomPub requests, handles server interaction | ||
| 5 | - * and interprets the results back into JSON | ||
| 6 | - */ | ||
| 7 | -APP=new function(){ | ||
| 8 | - this.GET=function(url){ | ||
| 9 | - | ||
| 10 | - } | ||
| 11 | - | ||
| 12 | - this.PUT=function(){ | ||
| 13 | - } | ||
| 14 | - | ||
| 15 | - this.POST=function(){ | ||
| 16 | - } | ||
| 17 | - | ||
| 18 | - this.DELETE=function(){ | ||
| 19 | - } | ||
| 20 | - | ||
| 21 | -} | ||
| 22 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/APP/ktApp.js deleted
| 1 | -KT_atom_server=new function(){ | ||
| 2 | - this.xmlhelpers=new function(){ | ||
| 3 | - this.getTagContents=function(node,tagName){ | ||
| 4 | - return $(node).find(tagName)[0].textContent; | ||
| 5 | - } | ||
| 6 | - } | ||
| 7 | - | ||
| 8 | - this.set=function(element,value){ | ||
| 9 | - //lib.debug.info('Setting Element '+element.id+' value: '+value); | ||
| 10 | - if(element.tagName!=undefined){ | ||
| 11 | - switch ((''+element.tagName+'').toLowerCase() ){ | ||
| 12 | - case 'input': | ||
| 13 | - $(element).val(value); | ||
| 14 | - break; | ||
| 15 | - default: | ||
| 16 | - $(element).html(value); | ||
| 17 | - } | ||
| 18 | - } | ||
| 19 | - } | ||
| 20 | -}; | ||
| 21 | - | ||
| 22 | -/** | ||
| 23 | - $('.folder_id',elem).html($(entry).find('id')[0].textContent); | ||
| 24 | - $('.folder_name',elem).html($(entry).find('folder_name')[0].textContent); | ||
| 25 | - $('.folder_path',elem).html($(entry).find('full_path')[0].textContent); | ||
| 26 | - $('.folder_permissions',elem).html($(entry).find('permissions')[0].textContent); | ||
| 27 | - */ | ||
| 28 | - | ||
| 29 | -/* | ||
| 30 | - $('.document_id',elem).html($(entry).find('document_id')[0].textContent); | ||
| 31 | - $('.document_title',elem).html($(entry).find('title')[0].textContent); | ||
| 32 | - $('.document_custom_no',elem).html($(entry).find('custom_document_no')[0].textContent); | ||
| 33 | - $('.document_oem_no',elem).html($(entry).find('oem_document_no')[0].textContent); | ||
| 34 | - $('.document_type',elem).html($(entry).find('document_type')[0].textContent); | ||
| 35 | - $('.document_filename',elem).html($(entry).find('filename')[0].textContent); | ||
| 36 | - $('.document_file_size',elem).html($(entry).find('filesize')[0].textContent); | ||
| 37 | - $('.document_full_path',elem).html($(entry).find('full_path')[0].textContent); | ||
| 38 | - $('.document_created_by',elem).html($(entry).find('created_by')[0].textContent); | ||
| 39 | - $('.document_created_on',elem).html($(entry).find('created_date')[0].textContent); | ||
| 40 | - $('.document_checkout_by',elem).html($(entry).find('checked_out_by')[0].textContent); | ||
| 41 | - $('.document_checkout_on',elem).html($(entry).find('checked_out_date')[0].textContent); | ||
| 42 | - $('.document_modified_by',elem).html($(entry).find('modified_by')[0].textContent); | ||
| 43 | - $('.document_modified_on',elem).html($(entry).find('modified_date')[0].textContent); | ||
| 44 | - $('.document_owned_by',elem).html($(entry).find('owned_by')[0].textContent); | ||
| 45 | - $('.document_version',elem).html($(entry).find('version')[0].textContent); | ||
| 46 | - $('.document_content_id',elem).html($(entry).find('content_id')[0].textContent); | ||
| 47 | - $('.document_immutable',elem).html($(entry).find('is_immutable')[0].textContent); | ||
| 48 | - $('.document_permissions',elem).html($(entry).find('permissions')[0].textContent); | ||
| 49 | - $('.document_workflow',elem).html($(entry).find('workflow')[0].textContent); | ||
| 50 | - $('.document_workflow_state',elem).html($(entry).find('workflow_state')[0].textContent); | ||
| 51 | - $('.document_mime_type',elem).html($(entry).find('mime_type')[0].textContent); | ||
| 52 | - $('.document_mime_display',elem).html($(entry).find('mime_display')[0].textContent); | ||
| 53 | - $('.document_storage_path',elem).html($(entry).find('storage_path')[0].textContent); | ||
| 54 | - | ||
| 55 | - */ | ||
| 56 | -KT_atom_server.folder=new function(){ | ||
| 57 | - this.fieldList={ | ||
| 58 | - 'folder_id' :'id', | ||
| 59 | - 'folder_name' :'folder_name', | ||
| 60 | - 'folder_path' :'full_path', | ||
| 61 | - 'folder_permissions' :'permissions' | ||
| 62 | - }; | ||
| 63 | - this.data={}; | ||
| 64 | - | ||
| 65 | - this.parseXML=function(entry){ | ||
| 66 | - this.data={}; | ||
| 67 | - for(var lFname in this.fieldList){ | ||
| 68 | - this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); | ||
| 69 | - } | ||
| 70 | - } | ||
| 71 | - | ||
| 72 | - this.renderContainer=function(containerId){ | ||
| 73 | - var elem=lib.def(document.getElementById(containerId),window.document.body); | ||
| 74 | - for(var field in this.fieldList){ | ||
| 75 | - $("."+field,elem).each(function(){ | ||
| 76 | - KT_atom_server.set(this,KT_atom_server.folder.data[field]); | ||
| 77 | - }); | ||
| 78 | - } | ||
| 79 | - } | ||
| 80 | -} | ||
| 81 | - | ||
| 82 | -KT_atom_server.serviceDoc=new function(){ | ||
| 83 | - this.parseXML=function(data,workspace){ | ||
| 84 | - $('workspace',data).each(function(){ | ||
| 85 | - var ws=$(this); | ||
| 86 | - lib.debug.inspect($(ws[0].childNodes).); | ||
| 87 | - if($('title',this)[0].textContent==workspace){ | ||
| 88 | - alert('found workspace '+workspace) | ||
| 89 | - } | ||
| 90 | - }); | ||
| 91 | - } | ||
| 92 | -} | ||
| 93 | - | ||
| 94 | - | ||
| 95 | -KT_atom_server.document=new function(){ | ||
| 96 | - this.fieldList={ | ||
| 97 | - 'document_id' :'document_id', | ||
| 98 | - 'document_title' :'title', | ||
| 99 | - 'document_custom_no' :'custom_document_no', | ||
| 100 | - 'document_oem_no' :'oem_document_no', | ||
| 101 | - 'document_type' :'document_type', | ||
| 102 | - 'document_filename' :'filename', | ||
| 103 | - 'document_file_size' :'filesize', | ||
| 104 | - 'document_full_path' :'full_path', | ||
| 105 | - 'document_created_by' :'created_by', | ||
| 106 | - 'document_created_on' :'created_date', | ||
| 107 | - 'document_modified_by' :'modified_by', | ||
| 108 | - 'document_modified_on' :'modified_date', | ||
| 109 | - 'document_checkout_by' :'checked_out_by', | ||
| 110 | - 'document_checkout_on' :'checked_out_date', | ||
| 111 | - 'document_owned_by' :'owned_by', | ||
| 112 | - 'document_version' :'version', | ||
| 113 | - 'document_content_id' :'content_id', | ||
| 114 | - 'document_immutable' :'is_immutable', | ||
| 115 | - 'document_permissions' :'permissions', | ||
| 116 | - 'document_workflow' :'workflow', | ||
| 117 | - 'document_workflow_state' :'workflow_state', | ||
| 118 | - 'document_mime_type' :'mime_type', | ||
| 119 | - 'document_mime_display' :'mime_display', | ||
| 120 | - 'document_storage_path' :'storage_path', | ||
| 121 | - 'document_download_url' :'downloaduri' | ||
| 122 | - }; | ||
| 123 | - this.data={}; | ||
| 124 | - | ||
| 125 | - this.parseXML=function(entry){ | ||
| 126 | - this.data={}; | ||
| 127 | - for(var lFname in this.fieldList){ | ||
| 128 | - this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); | ||
| 129 | - } | ||
| 130 | - | ||
| 131 | - } | ||
| 132 | - | ||
| 133 | - this.renderContainer=function(containerId){ | ||
| 134 | - var elem=lib.def(document.getElementById(containerId),window.document.body); | ||
| 135 | - for(var field in this.fieldList){ | ||
| 136 | - $("."+field,elem).each(function(){ | ||
| 137 | - KT_atom_server.set(this,KT_atom_server.document.data[field]); | ||
| 138 | - }); | ||
| 139 | - } | ||
| 140 | - } | ||
| 141 | -} | ||
| 142 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/chili-2.2/start-here.html deleted
| 1 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| 2 | -<html xmlns="http://www.w3.org/1999/xhtml"> | ||
| 3 | - <head> | ||
| 4 | - <meta http-equiv="refresh" content="1;url=http://noteslog.com/personal/projects/chili/"> | ||
| 5 | - </head> | ||
| 6 | - | ||
| 7 | - <body> | ||
| 8 | - <p>accessing the quick start page...</p> | ||
| 9 | - </body> | ||
| 10 | -</html> |
ktatompub/Client/js/chili/cplusplus.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: "cpp" | ||
| 14 | - , _case: true | ||
| 15 | - , _main: { | ||
| 16 | - mlcom : { | ||
| 17 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 18 | - , _style: "color: #4040c2;" | ||
| 19 | - } | ||
| 20 | - , com : { | ||
| 21 | - _match: /\/\/.*/ | ||
| 22 | - , _style: "color: green;" | ||
| 23 | - } | ||
| 24 | - , preproc : { | ||
| 25 | - _match: /(?=^|\n)\s*#\w+/ | ||
| 26 | - , _style: "color: red;" | ||
| 27 | - } | ||
| 28 | - , string : { | ||
| 29 | - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ | ||
| 30 | - , _style: "color: teal;" | ||
| 31 | - } | ||
| 32 | - , number : { | ||
| 33 | - _match: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ | ||
| 34 | - , _style: "color: red;" | ||
| 35 | - } | ||
| 36 | - , datatype: { | ||
| 37 | - _match: /\b(?:wint_t|wctype_t|wctrans_t|wchar_t|va_list|uintptr_t|tm|time_t|terminate_function|size_t|signed|sig_atomic_t|short|ptrdiff_t|mbstate_t|long|ldiv_t|lconv|jmp_buf|intptr_t|int|fpos_t|float|double|div_t|clock_t|char|bool|_wfinddatai64_t|_wfinddata_t|_utimbuf|_timeb|_stati64|_stat|_purecall_handler|_onexit_t|_off_t|_finddatai64_t|_finddata_t|_exception|_diskfree_t|_dev_t|_complex|__wfinddata64_t|__wchar_t|__timeb64|__time64_t|__stat64|__int8|__int64|__int32|__int16|__finddata64_t|_PNH|_HFILE|_HEAPINFO|_FPIEEE_RECORD|_EXCEPTION_POINTERS|WPARAM|WORD|WCHAR|VOID|USN|USHORT|ULONG_PTR|ULONGLONG|ULONG64|ULONG32|ULONG|UINT_PTR|UINT64|UINT32|UINT|UHALF_PTR|UCHAR|TCHAR|TBYTE|SSIZE_T|SIZE_T|SHORT|SERVICE_STATUS_HANDLE|SC_LOCK|SC_HANDLE|PWSTR|PWORD|PWCHAR|PVOID|PUSHORT|PULONG_PTR|PULONGLONG|PULONG64|PULONG32|PULONG|PUINT_PTR|PUINT64|PUINT32|PUINT|PUHALF_PTR|PUCHAR|PTSTR|PTCHAR|PTBYTE|PSTR|PSSIZE_T|PSIZE_T|PSHORT|POINTER_64|POINTER_32|PLONG_PTR|PLONGLONG|PLONG64|PLONG32|PLONG|PLCID|PINT_PTR|PINT64|PINT32|PINT|PHKEY|PHANDLE|PHALF_PTR|PFLOAT|PDWORD_PTR|PDWORDLONG|PDWORD64|PDWORD32|PCWSTR|PCTSTR|PCSTR|PCHAR|PBYTE|PBOOLEAN|PBOOL|LRESULT|LPWSTR|LPWORD|LPVOID|LPTSTR|LPSTR|LPLONG|LPINT|LPHANDLE|LPDWORD|LPCWSTR|LPCVOID|LPCTSTR|LPCSTR|LPCOLORREF|LPBYTE|LPBOOL|LPARAM|LONG_PTR|LONGLONG|LONG64|LONG32|LONG|LGRPID|LCTYPE|LCID|LANGID|INT_PTR|INT64|INT32|INT|HWND|HWINSTA|HSZ|HRSRC|HRGN|HRESULT|HPEN|HPALETTE|HMONITOR|HMODULE|HMETAFILE|HMENU|HLOCAL|HKL|HKEY|HINSTANCE|HICON|HHOOK|HGLOBAL|HGDIOBJ|HFONT|HFILE|HENHMETAFILE|HDWP|HDROP|HDESK|HDDEDATA|HDC|HCURSOR|HCONVLIST|HCONV|HCOLORSPACE|HBRUSH|HBITMAP|HANDLE|HALF_PTR|HACCEL|FLOAT|FILE|DWORD_PTR|DWORDLONG|DWORD64|DWORD32|DWORD|COLORREF|CHAR|BYTE|BOOLEAN|BOOL|ATOM)\b/ | ||
| 38 | - , _style: "color: blue;" | ||
| 39 | - } | ||
| 40 | - , keyword : { | ||
| 41 | - _match: /\b(?:while|whcar_t|volatile|void|virtual|uuid|using|union|typename|typeid|typedef|try|true|throw|thread|this|template|switch|struct|static_cast|static|sizeof|selectany|return|reinterpret_cast|register|public|protected|private|nothrow|noreturn|noinline|new|namespace|naked|mutable|inline|if|goto|friend|for|false|extern|explicit|enum|else|dynamic_cast|do|dllimport|dllexport|deprecated|delete|default|continue|const_cast|const|class|catch|case|break|__try|__finally|__exception|__declspec)\b/ | ||
| 42 | - , _style: "color: navy; font-weight: bold;" | ||
| 43 | - } | ||
| 44 | - } | ||
| 45 | -} |
ktatompub/Client/js/chili/csharp.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: "cs" | ||
| 14 | - , _case: true | ||
| 15 | - , _main: { | ||
| 16 | - mlcom : { | ||
| 17 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 18 | - , _style: "color: #4040c2;" | ||
| 19 | - } | ||
| 20 | - , com : { | ||
| 21 | - _match: /\/\/.*/ | ||
| 22 | - , _style: "color: green;" | ||
| 23 | - } | ||
| 24 | - , string : { | ||
| 25 | - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ | ||
| 26 | - , _style: "color: teal;" | ||
| 27 | - } | ||
| 28 | - , preproc: { | ||
| 29 | - _match: /^\s*#.*/ | ||
| 30 | - , _style: "color: red;" | ||
| 31 | - } | ||
| 32 | - , number : { | ||
| 33 | - _match: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ | ||
| 34 | - , _style: "color: red;" | ||
| 35 | - } | ||
| 36 | - , keyword: { | ||
| 37 | - _match: /\b(?:while|volatile|void|virtual|using|ushort|unsafe|unchecked|ulong|uint|typeof|try|true|throw|this|switch|struct|string|static|stackalloc|sizeof|short|sealed|sbyte|return|ref|readonly|public|protected|private|params|override|out|operator|object|null|new|namespace|long|lock|is|internal|interface|int|in|implicit|if|goto|foreach|for|float|fixed|finally|false|extern|explicit|event|enum|else|double|do|delegate|default|decimal|continue|const|class|checked|char|catch|case|byte|break|bool|base|as|abstract)\b/ | ||
| 38 | - , _style: "color: navy; font-weight: bold;" | ||
| 39 | - } | ||
| 40 | - } | ||
| 41 | -} |
ktatompub/Client/js/chili/css.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: 'css' | ||
| 14 | - , _case: true | ||
| 15 | - , _main: { | ||
| 16 | - comment: { | ||
| 17 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 18 | - , _style: "color: olive;" | ||
| 19 | - } | ||
| 20 | - , directive: { | ||
| 21 | - _match: /@\w+/ | ||
| 22 | - , _style: "color: fuchsia;" | ||
| 23 | - } | ||
| 24 | - , url: { | ||
| 25 | - _match: /\b(url\s*\()([^)]+)(\))/ | ||
| 26 | - , _replace: "<span class='url'>$1</span>$2<span class='url'>$3</span>" | ||
| 27 | - , _style: "color: fuchsia;" | ||
| 28 | - } | ||
| 29 | - , block: { | ||
| 30 | - _match: /\{([\w\W]*?)\}/ | ||
| 31 | - , _replace: function( all, pairs ) { | ||
| 32 | - return '{' + this.x( pairs, '/definition' ) + '}'; | ||
| 33 | - } | ||
| 34 | - } | ||
| 35 | - , 'class': { | ||
| 36 | - _match: /\.\w+/ | ||
| 37 | - , _style: "color: #CC0066; font-weight: bold;" | ||
| 38 | - } | ||
| 39 | - , id: { | ||
| 40 | - _match: /#\w+/ | ||
| 41 | - , _style: "color: IndianRed; font-weight: bold;" | ||
| 42 | - } | ||
| 43 | - , pseudo: { | ||
| 44 | - _match: /:\w+/ | ||
| 45 | - , _style: "color: #CC9900;" | ||
| 46 | - } | ||
| 47 | - , element: { | ||
| 48 | - _match: /\w+/ | ||
| 49 | - , _style: "color: Purple; font-weight: bold;" | ||
| 50 | - } | ||
| 51 | - } | ||
| 52 | - , definition: { | ||
| 53 | - comment: { | ||
| 54 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 55 | - } | ||
| 56 | - , property: { | ||
| 57 | - _match: /\b(?:zoom|z-index|writing-mode|word-wrap|word-spacing|word-break|width|widows|white-space|volume|voice-family|visibility|vertical-align|unicode-bidi|top|text-underline-position|text-transform|text-shadow|text-overflow|text-kashida-space|text-justify|text-indent|text-decoration|text-autospace|text-align-last|text-align|table-layout|stress|speech-rate|speak-punctuation|speak-numeral|speak-header|speak|size|scrollbar-track-color|scrollbar-shadow-color|scrollbar-highlight-color|scrollbar-face-color|scrollbar-dark-shadow-color|scrollbar-base-color|scrollbar-arrow-color|scrollbar-3d-light-color|ruby-position|ruby-overhang|ruby-align|right|richness|quotes|position|play-during|pitch-range|pitch|pause-before|pause-after|pause|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-Y|overflow-X|overflow|outline-width|outline-style|outline-color|outline|orphans|min-width|min-height|max-width|max-height|marks|marker-offset|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|line-break|letter-spacing|left|layout-grid-type|layout-grid-mode|layout-grid-line|layout-grid-char-spacing|layout-grid-char|layout-grid|layout-flow|layer-background-image|layer-background-color|include-source|ime-mode|height|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-family|font|float|filter|empty-cells|elevation|display|direction|cursor|cue-before|cue-after|cue|counter-reset|counter-increment|content|color|clip|clear|caption-side|bottom|border-width|border-top-width|border-top-style|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-left-width|border-left-style|border-left-color|border-left|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-color|border-bottom|border|behavior|background-repeat|background-position-y|background-position-x|background-position|background-image|background-color|background-attachment|background|azimuth|accelerator)\s*:/ | ||
| 58 | - , _style: "color: #330066;" | ||
| 59 | - } | ||
| 60 | - , special: { | ||
| 61 | - _match: /\b(?:-use-link-source|-set-link-source|-replace|-moz-user-select|-moz-user-modify|-moz-user-input|-moz-user-focus|-moz-outline-width|-moz-outline-style|-moz-outline-color|-moz-outline|-moz-opacity|-moz-border-top-colors|-moz-border-right-colors|-moz-border-radius-topright|-moz-border-radius-topleft|-moz-border-radius-bottomright|-moz-border-radius-bottomleft|-moz-border-radius|-moz-border-left-colors|-moz-border-bottom-colors|-moz-binding)\s*:/ | ||
| 62 | - , _style: "color: #330066; text-decoration: underline;" | ||
| 63 | - } | ||
| 64 | - , url: { | ||
| 65 | - _match: /\b(url\s*\()([^)]+)(\))/ | ||
| 66 | - , _replace: "<span class='url'>$1</span>$2<span class='url'>$3</span>" | ||
| 67 | - } | ||
| 68 | - , value: { | ||
| 69 | - _match: /\b(?:xx-small|xx-large|x-soft|x-small|x-slow|x-low|x-loud|x-large|x-high|x-fast|wider|wait|w-resize|visible|url|uppercase|upper-roman|upper-latin|upper-alpha|underline|ultra-expanded|ultra-condensed|tv|tty|transparent|top|thin|thick|text-top|text-bottom|table-row-group|table-row|table-header-group|table-footer-group|table-column-group|table-column|table-cell|table-caption|sw-resize|super|sub|status-bar|static|square|spell-out|speech|solid|soft|smaller|small-caption|small-caps|small|slower|slow|silent|show|separate|semi-expanded|semi-condensed|se-resize|scroll|screen|s-resize|run-in|rtl|rightwards|right-side|right|ridge|rgb|repeat-y|repeat-x|repeat|relative|projection|print|pre|portrait|pointer|overline|outside|outset|open-quote|once|oblique|nw-resize|nowrap|normal|none|no-repeat|no-open-quote|no-close-quote|ne-resize|narrower|n-resize|move|mix|middle|message-box|medium|marker|ltr|lowercase|lower-roman|lower-latin|lower-greek|lower-alpha|lower|low|loud|local|list-item|line-through|lighter|level|leftwards|left-side|left|larger|large|landscape|justify|italic|invert|inside|inset|inline-table|inline|icon|higher|high|hide|hidden|help|hebrew|handheld|groove|format|fixed|faster|fast|far-right|far-left|fantasy|extra-expanded|extra-condensed|expanded|embossed|embed|e-resize|double|dotted|disc|digits|default|decimal-leading-zero|decimal|dashed|cursive|crosshair|cross|crop|counters|counter|continuous|condensed|compact|collapse|code|close-quote|circle|center-right|center-left|center|caption|capitalize|braille|bottom|both|bolder|bold|block|blink|bidi-override|below|behind|baseline|avoid|auto|aural|attr|armenian|always|all|absolute|above)\b/ | ||
| 70 | - , _style: "color: #3366FF;" | ||
| 71 | - } | ||
| 72 | - , string: { | ||
| 73 | - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ | ||
| 74 | - , _style: "color: teal;" | ||
| 75 | - } | ||
| 76 | - , number: { | ||
| 77 | - _match: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*))(?:%|(?:(?:px|pt|em|)\b))/ | ||
| 78 | - , _style: "color: red;" | ||
| 79 | - } | ||
| 80 | - , color : { | ||
| 81 | - _match: /(?:\#[a-fA-F0-9]{3,6})|\b(?:yellow|white|teal|silver|red|purple|olive|navy|maroon|lime|green|gray|fuchsia|blue|black|aqua|YellowGreen|Yellow|WhiteSmoke|White|Wheat|Violet|Turquoise|Tomato|Thistle|Teal|Tan|SteelBlue|SpringGreen|Snow|SlateGrey|SlateGray|SlateBlue|SkyBlue|Silver|Sienna|SeaShell|SeaGreen|SandyBrown|Salmon|SaddleBrown|RoyalBlue|RosyBrown|Red|Purple|PowderBlue|Plum|Pink|Peru|PeachPuff|PapayaWhip|PaleVioletRed|PaleTurquoise|PaleGreen|PaleGoldenRod|Orchid|OrangeRed|Orange|OliveDrab|Olive|OldLace|Navy|NavajoWhite|Moccasin|MistyRose|MintCream|MidnightBlue|MediumVioletRed|MediumTurquoise|MediumSpringGreen|MediumSlateBlue|MediumSeaGreen|MediumPurple|MediumOrchid|MediumBlue|MediumAquaMarine|Maroon|Magenta|Linen|LimeGreen|Lime|LightYellow|LightSteelBlue|LightSlateGrey|LightSlateGray|LightSkyBlue|LightSeaGreen|LightSalmon|LightPink|LightGrey|LightGreen|LightGray|LightGoldenRodYellow|LightCyan|LightCoral|LightBlue|LemonChiffon|LawnGreen|LavenderBlush|Lavender|Khaki|Ivory|Indigo|IndianRed|HotPink|HoneyDew|Grey|GreenYellow|Green|Gray|GoldenRod|Gold|GhostWhite|Gainsboro|Fuchsia|ForestGreen|FloralWhite|FireBrick|DodgerBlue|DimGrey|DimGray|DeepSkyBlue|DeepPink|Darkorange|DarkViolet|DarkTurquoise|DarkSlateGrey|DarkSlateGray|DarkSlateBlue|DarkSeaGreen|DarkSalmon|DarkRed|DarkOrchid|DarkOliveGreen|DarkMagenta|DarkKhaki|DarkGrey|DarkGreen|DarkGray|DarkGoldenRod|DarkCyan|DarkBlue|Cyan|Crimson|Cornsilk|CornflowerBlue|Coral|Chocolate|Chartreuse|CadetBlue|BurlyWood|Brown|BlueViolet|Blue|BlanchedAlmond|Black|Bisque|Beige|Azure|Aquamarine|Aqua|AntiqueWhite|AliceBlue)\b/ | ||
| 82 | - , _style: "color: green;" | ||
| 83 | - } | ||
| 84 | - } | ||
| 85 | -} |
ktatompub/Client/js/chili/delphi.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: "pas" | ||
| 14 | - , _case: true | ||
| 15 | - , _main: { | ||
| 16 | - mlcom: { | ||
| 17 | - _match: /(?:\(\*[\w\W]*?\*\))|(?:{(?!\$)[\w\W]*?})/ | ||
| 18 | - , _style: "color: #4040c2;" | ||
| 19 | - } | ||
| 20 | - , com: { | ||
| 21 | - _match: /\/\/.*/ | ||
| 22 | - , _style: "color: green;" | ||
| 23 | - } | ||
| 24 | - , string: { | ||
| 25 | - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')/ | ||
| 26 | - , _style: "color: teal;" | ||
| 27 | - } | ||
| 28 | - , number: { | ||
| 29 | - _match: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:\$[a-zA-Z0-9]+\b)/ | ||
| 30 | - , _style: "color: red;" | ||
| 31 | - } | ||
| 32 | - , direct: { | ||
| 33 | - _match: /\{\$[a-zA-Z]+ .+\}/ | ||
| 34 | - , _style: "color: red;" | ||
| 35 | - } | ||
| 36 | - , keyword: { | ||
| 37 | - _match: /\b(?:abs|addr|and|ansichar|ansistring|array|as|asm|begin|boolean|byte|cardinal|case|char|class|comp|const|constructor|currency|destructor|div|do|double|downto|else|end|except|exports|extended|false|file|finalization|finally|for|function|goto|if|implementation|in|inherited|initialization|int64|integer|interface|is|label|library|longint|longword|mod|nil|not|object|of|on|or|packed|pansichar|pansistring|pchar|pcurrency|pdatetime|pextended|pint64|pointer|private|procedure|program|property|protected|pshortstring|pstring|public|published|pvariant|pwidechar|pwidestring|raise|real|real48|record|repeat|set|shl|shortint|shortstring|shr|single|smallint|string|then|threadvar|to|true|try|type|unit|until|uses|val|var|varirnt|while|widechar|widestring|with|word|write|writeln|xor)\b/ | ||
| 38 | - , _style: "color: navy; font-weight: bold;" | ||
| 39 | - } | ||
| 40 | - } | ||
| 41 | -} |
ktatompub/Client/js/chili/html.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: 'html' | ||
| 14 | - , _case: false | ||
| 15 | - , _main: { | ||
| 16 | - doctype: { | ||
| 17 | - _match: /<!DOCTYPE\b[\w\W]*?>/ | ||
| 18 | - , _style: "color: #CC6600;" | ||
| 19 | - } | ||
| 20 | - , ie_style: { | ||
| 21 | - _match: /(<!--\[[^\]]*\]>)([\w\W]*?)(<!\[[^\]]*\]-->)/ | ||
| 22 | - , _replace: function( all, open, content, close ) { | ||
| 23 | - return "<span class='ie_style'>" + this.x( open ) + "</span>" | ||
| 24 | - + this.x( content, '//style' ) | ||
| 25 | - + "<span class='ie_style'>" + this.x( close ) + "</span>"; | ||
| 26 | - } | ||
| 27 | - , _style: "color: DarkSlateGray; font-weight: bold;" | ||
| 28 | - } | ||
| 29 | - , comment: { | ||
| 30 | - _match: /<!--[\w\W]*?-->/ | ||
| 31 | - , _style: "color: #4040c2;" | ||
| 32 | - } | ||
| 33 | - , script: { | ||
| 34 | - _match: /(<script\s+[^>]*>)([\w\W]*?)(<\/script\s*>)/ | ||
| 35 | - , _replace: function( all, open, content, close ) { | ||
| 36 | - return this.x( open, '//tag_start' ) | ||
| 37 | - + this.x( content, 'js' ) | ||
| 38 | - + this.x( close, '//tag_end' ); | ||
| 39 | - } | ||
| 40 | - } | ||
| 41 | - , style: { | ||
| 42 | - _match: /(<style\s+[^>]*>)([\w\W]*?)(<\/style\s*>)/ | ||
| 43 | - , _replace: function( all, open, content, close ) { | ||
| 44 | - return this.x( open, '//tag_start' ) | ||
| 45 | - + this.x( content, 'css' ) | ||
| 46 | - + this.x( close, '//tag_end' ); | ||
| 47 | - } | ||
| 48 | - } | ||
| 49 | - // matches a starting tag of an element (with attrs) | ||
| 50 | - // like "<div ... >" or "<img ... />" | ||
| 51 | - , tag_start: { | ||
| 52 | - _match: /(<\w+)((?:[?%]>|[\w\W])*?)(\/>|>)/ | ||
| 53 | - , _replace: function( all, open, content, close ) { | ||
| 54 | - return "<span class='tag_start'>" + this.x( open ) + "</span>" | ||
| 55 | - + this.x( content, '/tag_attrs' ) | ||
| 56 | - + "<span class='tag_start'>" + this.x( close ) + "</span>"; | ||
| 57 | - } | ||
| 58 | - , _style: "color: navy; font-weight: bold;" | ||
| 59 | - } | ||
| 60 | - // matches an ending tag | ||
| 61 | - // like "</div>" | ||
| 62 | - , tag_end: { | ||
| 63 | - _match: /<\/\w+\s*>|\/>/ | ||
| 64 | - , _style: "color: navy;" | ||
| 65 | - } | ||
| 66 | - , entity: { | ||
| 67 | - _match: /&\w+?;/ | ||
| 68 | - , _style: "color: blue;" | ||
| 69 | - } | ||
| 70 | - } | ||
| 71 | - , tag_attrs: { | ||
| 72 | - // matches a name/value pair | ||
| 73 | - attr: { | ||
| 74 | - // before in $1, name in $2, between in $3, value in $4 | ||
| 75 | - _match: /(\W*?)([\w-]+)(\s*=\s*)((?:\'[^\']*(?:\\.[^\']*)*\')|(?:\"[^\"]*(?:\\.[^\"]*)*\"))/ | ||
| 76 | - , _replace: "$1<span class='attr_name'>$2</span>$3<span class='attr_value'>$4</span>" | ||
| 77 | - , _style: { attr_name: "color: green;", attr_value: "color: maroon;" } | ||
| 78 | - } | ||
| 79 | - } | ||
| 80 | -} |
ktatompub/Client/js/chili/java.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: "java" | ||
| 14 | - , _case: true | ||
| 15 | - , _main: { | ||
| 16 | - mlcom : { | ||
| 17 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 18 | - , _style: "color: #4040c2;" | ||
| 19 | - } | ||
| 20 | - , com : { | ||
| 21 | - _match: /\/\/.*/ | ||
| 22 | - , _style: "color: green;" | ||
| 23 | - } | ||
| 24 | - , string : { | ||
| 25 | - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ | ||
| 26 | - , _style: "color: teal;" | ||
| 27 | - } | ||
| 28 | - , number : { | ||
| 29 | - _match: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:0x[a-f0-9]+)\b/ | ||
| 30 | - , _style: "color: red;" | ||
| 31 | - } | ||
| 32 | - , meta : { | ||
| 33 | - _match: /(?!\@interface\b)\@[\$\w]+\b/ | ||
| 34 | - , _style: "color: red;" | ||
| 35 | - } | ||
| 36 | - , keyword: { | ||
| 37 | - _match: /\b(?:while|volatile|void|try|true|transient|throws|throw|this|synchronized|switch|super|strictfp|static|short|return|public|protected|private|package|null|new|native|long|interface|int|instanceof|import|implements|if|goto|for|float|finally|final|false|extends|enum|else|double|do|default|continue|const|class|char|catch|case|byte|break|boolean|assert|abstract)\b/ | ||
| 38 | - , _style: "color: navy; font-weight: bold;" | ||
| 39 | - } | ||
| 40 | - } | ||
| 41 | -} |
ktatompub/Client/js/chili/jquery.chili-2.2.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | - | ||
| 13 | -( function($) { | ||
| 14 | - | ||
| 15 | -ChiliBook = { //implied global | ||
| 16 | - | ||
| 17 | - version: "2.2" // 2008-07-06 | ||
| 18 | - | ||
| 19 | -// options -------------------------------------------------------------------- | ||
| 20 | - | ||
| 21 | - , automatic: true | ||
| 22 | - , automaticSelector: "code" | ||
| 23 | - | ||
| 24 | - , lineNumbers: !true | ||
| 25 | - | ||
| 26 | - , codeLanguage: function( el ) { | ||
| 27 | - var recipeName = $( el ).attr( "class" ); | ||
| 28 | - return recipeName ? recipeName : ''; | ||
| 29 | - } | ||
| 30 | - | ||
| 31 | - , recipeLoading: true | ||
| 32 | - , recipeFolder: "" // used like: recipeFolder + recipeName + '.js' | ||
| 33 | - | ||
| 34 | - // IE and FF convert   to " ", Safari and Opera do not | ||
| 35 | - , replaceSpace: " " | ||
| 36 | - , replaceTab: "    " | ||
| 37 | - , replaceNewLine: " <br/>" | ||
| 38 | - | ||
| 39 | - , selectionStyle: [ "position:absolute; z-index:3000; overflow:scroll;" | ||
| 40 | - , "width:16em;" | ||
| 41 | - , "height:9em;" | ||
| 42 | - , "border:1px solid gray;" | ||
| 43 | - , "padding:15px;" | ||
| 44 | - , "background-color:yellow;" | ||
| 45 | - ].join( ' ' ) | ||
| 46 | - | ||
| 47 | -// ------------------------------------------------------------- end of options | ||
| 48 | - | ||
| 49 | - , defaultReplacement: '<span class="$0">$$</span>' // TODO: make this an option again | ||
| 50 | - , recipes: {} //repository | ||
| 51 | - , queue: {} //registry | ||
| 52 | - | ||
| 53 | - , unique: function() { | ||
| 54 | - return (new Date()).valueOf(); | ||
| 55 | - } | ||
| 56 | -}; | ||
| 57 | - | ||
| 58 | - | ||
| 59 | - | ||
| 60 | -$.fn.chili = function( options ) { | ||
| 61 | - var book = $.extend( {}, ChiliBook, options || {} ); | ||
| 62 | - | ||
| 63 | - function cook( ingredients, recipe, blockName ) { | ||
| 64 | - | ||
| 65 | - function prepareBlock( recipe, blockName ) { | ||
| 66 | - var steps = []; | ||
| 67 | - for( var stepName in recipe[ blockName ] ) { | ||
| 68 | - steps.push( prepareStep( recipe, blockName, stepName ) ); | ||
| 69 | - } | ||
| 70 | - return steps; | ||
| 71 | - } // prepareBlock | ||
| 72 | - | ||
| 73 | - function prepareStep( recipe, blockName, stepName ) { | ||
| 74 | - var step = recipe[ blockName ][ stepName ]; | ||
| 75 | - var exp = ( typeof step._match == "string" ) ? step._match : step._match.source; | ||
| 76 | - return { | ||
| 77 | - recipe: recipe | ||
| 78 | - , blockName: blockName | ||
| 79 | - , stepName: stepName | ||
| 80 | - , exp: "(" + exp + ")" | ||
| 81 | - , length: 1 // add 1 to account for the newly added parentheses | ||
| 82 | - + (exp // count number of submatches in here | ||
| 83 | - .replace( /\\./g, "%" ) // disable any escaped character | ||
| 84 | - .replace( /\[.*?\]/g, "%" ) // disable any character class | ||
| 85 | - .match( /\((?!\?)/g ) // match any open parenthesis, not followed by a ? | ||
| 86 | - || [] // make sure it is an empty array if there are no matches | ||
| 87 | - ).length // get the number of matches | ||
| 88 | - , replacement: step._replace ? step._replace : book.defaultReplacement | ||
| 89 | - }; | ||
| 90 | - } // prepareStep | ||
| 91 | - | ||
| 92 | - function knowHow( steps ) { | ||
| 93 | - var prevLength = 1; | ||
| 94 | - var exps = []; | ||
| 95 | - for (var i = 0; i < steps.length; i++) { | ||
| 96 | - var exp = steps[ i ].exp; | ||
| 97 | - // adjust backreferences | ||
| 98 | - exp = exp.replace( /\\\\|\\(\d+)/g, function( m, aNum ) { | ||
| 99 | - return !aNum ? m : "\\" + ( prevLength + 1 + parseInt( aNum, 10 ) ); | ||
| 100 | - } ); | ||
| 101 | - exps.push( exp ); | ||
| 102 | - prevLength += steps[ i ].length; | ||
| 103 | - } | ||
| 104 | - var prolog = '((?:\\s|\\S)*?)'; | ||
| 105 | - var epilog = '((?:\\s|\\S)+)'; | ||
| 106 | - var source = '(?:' + exps.join( "|" ) + ')'; | ||
| 107 | - source = prolog + source + '|' + epilog; | ||
| 108 | - return new RegExp( source, recipe._case ? "g" : "gi" ); | ||
| 109 | - } // knowHow | ||
| 110 | - | ||
| 111 | - function escapeHTML( str ) { | ||
| 112 | - return str.replace( /&/g, "&" ).replace( /</g, "<" ); | ||
| 113 | - } // escapeHTML | ||
| 114 | - | ||
| 115 | - function replaceSpaces( str ) { | ||
| 116 | - return str.replace( / +/g, function( spaces ) { | ||
| 117 | - return spaces.replace( / /g, replaceSpace ); | ||
| 118 | - } ); | ||
| 119 | - } // replaceSpaces | ||
| 120 | - | ||
| 121 | - function filter( str ) { | ||
| 122 | - str = escapeHTML( str ); | ||
| 123 | - if( replaceSpace ) { | ||
| 124 | - str = replaceSpaces( str ); | ||
| 125 | - } | ||
| 126 | - return str; | ||
| 127 | - } // filter | ||
| 128 | - | ||
| 129 | - function applyRecipe( subject, recipe ) { | ||
| 130 | - return cook( subject, recipe ); | ||
| 131 | - } // applyRecipe | ||
| 132 | - | ||
| 133 | - function applyBlock( subject, recipe, blockName ) { | ||
| 134 | - return cook( subject, recipe, blockName ); | ||
| 135 | - } // applyBlock | ||
| 136 | - | ||
| 137 | - function applyStep( subject, recipe, blockName, stepName ) { | ||
| 138 | - var replaceSpace = book.replaceSpace; | ||
| 139 | - | ||
| 140 | - var step = prepareStep( recipe, blockName, stepName ); | ||
| 141 | - var steps = [step]; | ||
| 142 | - | ||
| 143 | - var perfect = subject.replace( knowHow( steps ), function() { | ||
| 144 | - return chef.apply( { steps: steps }, arguments ); | ||
| 145 | - } ); | ||
| 146 | - return perfect; | ||
| 147 | - } // applyStep | ||
| 148 | - | ||
| 149 | - function applyModule( subject, module, context ) { | ||
| 150 | - if( ! module ) { | ||
| 151 | - return filter( subject ); | ||
| 152 | - } | ||
| 153 | - | ||
| 154 | - var sub = module.split( '/' ); | ||
| 155 | - var recipeName = ''; | ||
| 156 | - var blockName = ''; | ||
| 157 | - var stepName = ''; | ||
| 158 | - switch( sub.length ) { | ||
| 159 | - case 1: | ||
| 160 | - recipeName = sub[0]; | ||
| 161 | - break; | ||
| 162 | - case 2: | ||
| 163 | - recipeName = sub[0]; blockName = sub[1]; | ||
| 164 | - break; | ||
| 165 | - case 3: | ||
| 166 | - recipeName = sub[0]; blockName = sub[1]; stepName = sub[2]; | ||
| 167 | - break; | ||
| 168 | - default: | ||
| 169 | - return filter( subject ); | ||
| 170 | - } | ||
| 171 | - | ||
| 172 | - function getRecipe( recipeName ) { | ||
| 173 | - var path = getPath( recipeName ); | ||
| 174 | - var recipe = book.recipes[ path ]; | ||
| 175 | - if( ! recipe ) { | ||
| 176 | - throw {msg:"recipe not available"}; | ||
| 177 | - } | ||
| 178 | - return recipe; | ||
| 179 | - } | ||
| 180 | - | ||
| 181 | - try { | ||
| 182 | - var recipe; | ||
| 183 | - if ( '' == stepName ) { | ||
| 184 | - if ( '' == blockName ) { | ||
| 185 | - if ( '' == recipeName ) { | ||
| 186 | - //nothing to do | ||
| 187 | - } | ||
| 188 | - else { // ( '' != recipeName ) | ||
| 189 | - recipe = getRecipe( recipeName ); | ||
| 190 | - return applyRecipe( subject, recipe ); | ||
| 191 | - } | ||
| 192 | - } | ||
| 193 | - else { // ( '' != blockName ) | ||
| 194 | - if( '' == recipeName ) { | ||
| 195 | - recipe = context.recipe; | ||
| 196 | - } | ||
| 197 | - else { | ||
| 198 | - recipe = getRecipe( recipeName ); | ||
| 199 | - } | ||
| 200 | - if( ! (blockName in recipe) ) { | ||
| 201 | - return filter( subject ); | ||
| 202 | - } | ||
| 203 | - return applyBlock( subject, recipe, blockName ); | ||
| 204 | - } | ||
| 205 | - } | ||
| 206 | - else { // ( '' != stepName ) | ||
| 207 | - if( '' == recipeName ) { | ||
| 208 | - recipe = context.recipe; | ||
| 209 | - } | ||
| 210 | - else { | ||
| 211 | - recipe = getRecipe( recipeName ); | ||
| 212 | - } | ||
| 213 | - if( '' == blockName ) { | ||
| 214 | - blockName = context.blockName; | ||
| 215 | - } | ||
| 216 | - if( ! (blockName in recipe) ) { | ||
| 217 | - return filter( subject ); | ||
| 218 | - } | ||
| 219 | - if( ! (stepName in recipe[blockName]) ) { | ||
| 220 | - return filter( subject ); | ||
| 221 | - } | ||
| 222 | - return applyStep( subject, recipe, blockName, stepName ); | ||
| 223 | - } | ||
| 224 | - } | ||
| 225 | - catch( e ) { | ||
| 226 | - if (e.msg && e.msg == "recipe not available") { | ||
| 227 | - var cue = 'chili_' + book.unique(); | ||
| 228 | - if( book.recipeLoading ) { | ||
| 229 | - var path = getPath( recipeName ); | ||
| 230 | - if( ! book.queue[ path ] ) { | ||
| 231 | - /* this is a new recipe to download */ | ||
| 232 | - try { | ||
| 233 | - book.queue[ path ] = [ {cue: cue, subject: subject, module: module, context: context} ]; | ||
| 234 | - $.getJSON( path, function( recipeLoaded ) { | ||
| 235 | - book.recipes[ path ] = recipeLoaded; | ||
| 236 | - var q = book.queue[ path ]; | ||
| 237 | - for( var i = 0, iTop = q.length; i < iTop; i++ ) { | ||
| 238 | - var replacement = applyModule( q[ i ].subject, q[ i ].module, q[ i ].context ); | ||
| 239 | - if( book.replaceTab ) { | ||
| 240 | - replacement = replacement.replace( /\t/g, book.replaceTab ); | ||
| 241 | - } | ||
| 242 | - if( book.replaceNewLine ) { | ||
| 243 | - replacement = replacement.replace( /\n/g, book.replaceNewLine ); | ||
| 244 | - } | ||
| 245 | - $( '#' + q[ i ].cue ).replaceWith( replacement ); | ||
| 246 | - } | ||
| 247 | - } ); | ||
| 248 | - } | ||
| 249 | - catch( recipeNotAvailable ) { | ||
| 250 | - alert( "the recipe for '" + recipeName + "' was not found in '" + path + "'" ); | ||
| 251 | - } | ||
| 252 | - } | ||
| 253 | - else { | ||
| 254 | - /* not a new recipe, so just enqueue this element */ | ||
| 255 | - book.queue[ path ].push( {cue: cue, subject: subject, module: module, context: context} ); | ||
| 256 | - } | ||
| 257 | - return '<span id="' + cue + '">' + filter( subject ) + '</span>'; | ||
| 258 | - } | ||
| 259 | - return filter( subject ); | ||
| 260 | - } | ||
| 261 | - else { | ||
| 262 | - return filter( subject ); | ||
| 263 | - } | ||
| 264 | - } | ||
| 265 | - } // applyModule | ||
| 266 | - | ||
| 267 | - function addPrefix( prefix, replacement ) { | ||
| 268 | - var aux = replacement.replace( /(<span\s+class\s*=\s*(["']))((?:(?!__)\w)+\2\s*>)/ig, "$1" + prefix + "__$3" ); | ||
| 269 | - return aux; | ||
| 270 | - } // addPrefix | ||
| 271 | - | ||
| 272 | - function chef() { | ||
| 273 | - if (! arguments[ 0 ]) { | ||
| 274 | - return ''; | ||
| 275 | - } | ||
| 276 | - var steps = this.steps; | ||
| 277 | - var i = 0; // iterate steps | ||
| 278 | - var j = 2; // iterate chef's arguments | ||
| 279 | - var prolog = arguments[ 1 ]; | ||
| 280 | - var epilog = arguments[ arguments.length - 3 ]; | ||
| 281 | - if (! epilog) { | ||
| 282 | - var step; | ||
| 283 | - while( step = steps[ i++ ] ) { | ||
| 284 | - var aux = arguments; // this unmasks chef's arguments inside the next function | ||
| 285 | - if( aux[ j ] ) { | ||
| 286 | - var replacement = ''; | ||
| 287 | - if( $.isFunction( step.replacement ) ) { | ||
| 288 | - var matches = []; //Array.slice.call( aux, j, step.length ); | ||
| 289 | - for (var k = 0, kTop = step.length; k < kTop; k++) { | ||
| 290 | - matches.push( aux[ j + k ] ); | ||
| 291 | - } | ||
| 292 | - matches.push( aux[ aux.length - 2 ] ); | ||
| 293 | - matches.push( aux[ aux.length - 1 ] ); | ||
| 294 | - replacement = step.replacement | ||
| 295 | - .apply( { | ||
| 296 | - x: function() { | ||
| 297 | - var subject = arguments[0]; | ||
| 298 | - var module = arguments[1]; | ||
| 299 | - var context = { | ||
| 300 | - recipe: step.recipe | ||
| 301 | - , blockName: step.blockName | ||
| 302 | - }; | ||
| 303 | - return applyModule( subject, module, context ); | ||
| 304 | - } | ||
| 305 | - }, matches ); | ||
| 306 | - } | ||
| 307 | - else { //we expect step.replacement to be a string | ||
| 308 | - replacement = step.replacement | ||
| 309 | - .replace( /(\\\$)|(?:\$\$)|(?:\$(\d+))/g, function( m, escaped, K ) { | ||
| 310 | - if( escaped ) { /* \$ */ | ||
| 311 | - return "$"; | ||
| 312 | - } | ||
| 313 | - else if( !K ) { /* $$ */ | ||
| 314 | - return filter( aux[ j ] ); | ||
| 315 | - } | ||
| 316 | - else if( K == "0" ) { /* $0 */ | ||
| 317 | - return step.stepName; | ||
| 318 | - } | ||
| 319 | - else { /* $K */ | ||
| 320 | - return filter( aux[ j + parseInt( K, 10 ) ] ); | ||
| 321 | - } | ||
| 322 | - } ); | ||
| 323 | - } | ||
| 324 | - replacement = addPrefix( step.recipe._name, replacement ); | ||
| 325 | - return filter( prolog ) + replacement; | ||
| 326 | - } | ||
| 327 | - else { | ||
| 328 | - j+= step.length; | ||
| 329 | - } | ||
| 330 | - } | ||
| 331 | - } | ||
| 332 | - else { | ||
| 333 | - return filter( epilog ); | ||
| 334 | - } | ||
| 335 | - } // chef | ||
| 336 | - | ||
| 337 | - if( ! blockName ) { | ||
| 338 | - blockName = '_main'; | ||
| 339 | - checkSpices( recipe ); | ||
| 340 | - } | ||
| 341 | - if( ! (blockName in recipe) ) { | ||
| 342 | - return filter( ingredients ); | ||
| 343 | - } | ||
| 344 | - var replaceSpace = book.replaceSpace; | ||
| 345 | - var steps = prepareBlock( recipe, blockName ); | ||
| 346 | - var kh = knowHow( steps ); | ||
| 347 | - var perfect = ingredients.replace( kh, function() { | ||
| 348 | - return chef.apply( { steps: steps }, arguments ); | ||
| 349 | - } ); | ||
| 350 | - return perfect; | ||
| 351 | - | ||
| 352 | - } // cook | ||
| 353 | - | ||
| 354 | - function loadStylesheetInline( sourceCode ) { | ||
| 355 | - if( document.createElement ) { | ||
| 356 | - var e = document.createElement( "style" ); | ||
| 357 | - e.type = "text/css"; | ||
| 358 | - if( e.styleSheet ) { // IE | ||
| 359 | - e.styleSheet.cssText = sourceCode; | ||
| 360 | - } | ||
| 361 | - else { | ||
| 362 | - var t = document.createTextNode( sourceCode ); | ||
| 363 | - e.appendChild( t ); | ||
| 364 | - } | ||
| 365 | - document.getElementsByTagName( "head" )[0].appendChild( e ); | ||
| 366 | - } | ||
| 367 | - } // loadStylesheetInline | ||
| 368 | - | ||
| 369 | - function checkSpices( recipe ) { | ||
| 370 | - var name = recipe._name; | ||
| 371 | - if( ! book.queue[ name ] ) { | ||
| 372 | - | ||
| 373 | - var content = ['/* Chili -- ' + name + ' */']; | ||
| 374 | - for (var blockName in recipe) { | ||
| 375 | - if( blockName.search( /^_(?!main\b)/ ) < 0 ) { | ||
| 376 | - for (var stepName in recipe[ blockName ]) { | ||
| 377 | - var step = recipe[ blockName ][ stepName ]; | ||
| 378 | - if( '_style' in step ) { | ||
| 379 | - if( step[ '_style' ].constructor == String ) { | ||
| 380 | - content.push( '.' + name + '__' + stepName + ' { ' + step[ '_style' ] + ' }' ); | ||
| 381 | - } | ||
| 382 | - else { | ||
| 383 | - for (var className in step[ '_style' ]) { | ||
| 384 | - content.push( '.' + name + '__' + className + ' { ' + step[ '_style' ][ className ] + ' }' ); | ||
| 385 | - } | ||
| 386 | - } | ||
| 387 | - } | ||
| 388 | - } | ||
| 389 | - } | ||
| 390 | - } | ||
| 391 | - content = content.join('\n'); | ||
| 392 | - | ||
| 393 | - loadStylesheetInline( content ); | ||
| 394 | - | ||
| 395 | - book.queue[ name ] = true; | ||
| 396 | - } | ||
| 397 | - } // checkSpices | ||
| 398 | - | ||
| 399 | - function askDish( el ) { | ||
| 400 | - var recipeName = book.codeLanguage( el ); | ||
| 401 | - if( '' != recipeName ) { | ||
| 402 | - var path = getPath( recipeName ); | ||
| 403 | - if( book.recipeLoading ) { | ||
| 404 | - /* dynamic setups come here */ | ||
| 405 | - if( ! book.queue[ path ] ) { | ||
| 406 | - /* this is a new recipe to download */ | ||
| 407 | - try { | ||
| 408 | - book.queue[ path ] = [ el ]; | ||
| 409 | - $.getJSON( path, function( recipeLoaded ) { | ||
| 410 | - book.recipes[ path ] = recipeLoaded; | ||
| 411 | - var q = book.queue[ path ]; | ||
| 412 | - for( var i = 0, iTop = q.length; i < iTop; i++ ) { | ||
| 413 | - makeDish( q[ i ], path ); | ||
| 414 | - } | ||
| 415 | - } ); | ||
| 416 | - } | ||
| 417 | - catch( recipeNotAvailable ) { | ||
| 418 | - alert( "the recipe for '" + recipeName + "' was not found in '" + path + "'" ); | ||
| 419 | - } | ||
| 420 | - } | ||
| 421 | - else { | ||
| 422 | - /* not a new recipe, so just enqueue this element */ | ||
| 423 | - book.queue[ path ].push( el ); | ||
| 424 | - } | ||
| 425 | - /* a recipe could have been already downloaded */ | ||
| 426 | - makeDish( el, path ); | ||
| 427 | - } | ||
| 428 | - else { | ||
| 429 | - /* static setups come here */ | ||
| 430 | - makeDish( el, path ); | ||
| 431 | - } | ||
| 432 | - } | ||
| 433 | - } // askDish | ||
| 434 | - | ||
| 435 | - function makeDish( el, recipePath ) { | ||
| 436 | - var recipe = book.recipes[ recipePath ]; | ||
| 437 | - if( ! recipe ) { | ||
| 438 | - return; | ||
| 439 | - } | ||
| 440 | - var $el = $( el ); | ||
| 441 | - var ingredients = $el.text(); | ||
| 442 | - if( ! ingredients ) { | ||
| 443 | - return; | ||
| 444 | - } | ||
| 445 | - | ||
| 446 | - //fix for msie: \r (13) is used instead of \n (10) | ||
| 447 | - //fix for opera: \r\n is used instead of \n | ||
| 448 | - ingredients = ingredients.replace(/\r\n?/g, "\n"); | ||
| 449 | - | ||
| 450 | - //reverse fix for safari: msie, mozilla and opera render the initial \n | ||
| 451 | - if( $el.parent().is('pre') ) { | ||
| 452 | - if( ! $.browser.safari ) { | ||
| 453 | - ingredients = ingredients.replace(/^\n/g, ""); | ||
| 454 | - } | ||
| 455 | - } | ||
| 456 | - | ||
| 457 | - var dish = cook( ingredients, recipe ); // all happens here | ||
| 458 | - | ||
| 459 | - if( book.replaceTab ) { | ||
| 460 | - dish = dish.replace( /\t/g, book.replaceTab ); | ||
| 461 | - } | ||
| 462 | - if( book.replaceNewLine ) { | ||
| 463 | - dish = dish.replace( /\n/g, book.replaceNewLine ); | ||
| 464 | - } | ||
| 465 | - | ||
| 466 | - el.innerHTML = dish; //much faster than $el.html( dish ); | ||
| 467 | - //tried also the function replaceHtml from http://blog.stevenlevithan.com/archives/faster-than-innerhtml | ||
| 468 | - //but it was not faster nor without sideffects (it was not possible to count spans into el) | ||
| 469 | - | ||
| 470 | - //opera and safari select PRE text correctly | ||
| 471 | - if( $.browser.msie || $.browser.mozilla ) { | ||
| 472 | - enableSelectionHelper( el ); | ||
| 473 | - } | ||
| 474 | - | ||
| 475 | - var $that = $el.parent(); | ||
| 476 | - var classes = $that.attr( 'class' ); | ||
| 477 | - var ln = /ln-(\d+)-([\w][\w\-]*)|ln-(\d+)|ln-/.exec( classes ); | ||
| 478 | - if( ln ) { | ||
| 479 | - addLineNumbers( el ); | ||
| 480 | - var start = 0; | ||
| 481 | - if( ln[1] ) { | ||
| 482 | - start = parseInt( ln[1], 10 ); | ||
| 483 | - var $pieces = $( '.ln-' + ln[1] + '-' + ln[2] ); | ||
| 484 | - var pos = $pieces.index( $that[0] ); | ||
| 485 | - $pieces.slice( 0, pos ).each( function() { | ||
| 486 | - start += $( this ).find( 'li' ).length; | ||
| 487 | - } ); | ||
| 488 | - } | ||
| 489 | - else if( ln[3] ) { | ||
| 490 | - start = parseInt( ln[3], 10 ); | ||
| 491 | - } | ||
| 492 | - else { | ||
| 493 | - start = 1; | ||
| 494 | - } | ||
| 495 | - $el.find( 'ol' )[0].start = start; | ||
| 496 | - $('body').width( $('body').width() - 1 ).width( $('body').width() + 1 ); | ||
| 497 | - } | ||
| 498 | - else if( book.lineNumbers ) { | ||
| 499 | - addLineNumbers( el ); | ||
| 500 | - } | ||
| 501 | - | ||
| 502 | - } // makeDish | ||
| 503 | - | ||
| 504 | - function enableSelectionHelper( el ) { | ||
| 505 | - var element = null; | ||
| 506 | - $( el ) | ||
| 507 | - .parents() | ||
| 508 | - .filter( "pre" ) | ||
| 509 | - .bind( "mousedown", function() { | ||
| 510 | - element = this; | ||
| 511 | - if( $.browser.msie ) { | ||
| 512 | - document.selection.empty(); | ||
| 513 | - } | ||
| 514 | - else { | ||
| 515 | - window.getSelection().removeAllRanges(); | ||
| 516 | - } | ||
| 517 | - } ) | ||
| 518 | - .bind( "mouseup", function( event ) { | ||
| 519 | - if( element && (element == this) ) { | ||
| 520 | - element = null; | ||
| 521 | - var selected = ''; | ||
| 522 | - if( $.browser.msie ) { | ||
| 523 | - selected = document.selection.createRange().htmlText; | ||
| 524 | - if( '' == selected ) { | ||
| 525 | - return; | ||
| 526 | - } | ||
| 527 | - selected = preserveNewLines( selected ); | ||
| 528 | - var container_tag = '<textarea style="STYLE">'; | ||
| 529 | - } | ||
| 530 | - else { | ||
| 531 | - selected = window.getSelection().toString(); //opera doesn't select new lines | ||
| 532 | - if( '' == selected ) { | ||
| 533 | - return; | ||
| 534 | - } | ||
| 535 | - selected = selected | ||
| 536 | - .replace( /\r/g, '' ) | ||
| 537 | - .replace( /^# ?/g, '' ) | ||
| 538 | - .replace( /\n# ?/g, '\n' ) | ||
| 539 | - ; | ||
| 540 | - var container_tag = '<pre style="STYLE">'; | ||
| 541 | - } | ||
| 542 | - var $container = $( container_tag.replace( /\bSTYLE\b/, ChiliBook.selectionStyle ) ) | ||
| 543 | - .appendTo( 'body' ) | ||
| 544 | - .text( selected ) | ||
| 545 | - .attr( 'id', 'chili_selection' ) | ||
| 546 | - .click( function() { $(this).remove(); } ) | ||
| 547 | - ; | ||
| 548 | - var top = event.pageY - Math.round( $container.height() / 2 ) + "px"; | ||
| 549 | - var left = event.pageX - Math.round( $container.width() / 2 ) + "px"; | ||
| 550 | - $container.css( { top: top, left: left } ); | ||
| 551 | - if( $.browser.msie ) { | ||
| 552 | -// window.clipboardData.setData( 'Text', selected ); //I couldn't find anything similar for Mozilla | ||
| 553 | - $container[0].focus(); | ||
| 554 | - $container[0].select(); | ||
| 555 | - } | ||
| 556 | - else { | ||
| 557 | - var s = window.getSelection(); | ||
| 558 | - s.removeAllRanges(); | ||
| 559 | - var r = document.createRange(); | ||
| 560 | - r.selectNodeContents( $container[0] ); | ||
| 561 | - s.addRange( r ); | ||
| 562 | - } | ||
| 563 | - } | ||
| 564 | - } ) | ||
| 565 | - ; | ||
| 566 | - } // enableSelectionHelper | ||
| 567 | - | ||
| 568 | - function getPath( recipeName ) { | ||
| 569 | - return book.recipeFolder + recipeName + ".js"; | ||
| 570 | - } // getPath | ||
| 571 | - | ||
| 572 | - function getSelectedText() { | ||
| 573 | - var text = ''; | ||
| 574 | - if( $.browser.msie ) { | ||
| 575 | - text = document.selection.createRange().htmlText; | ||
| 576 | - } | ||
| 577 | - else { | ||
| 578 | - text = window.getSelection().toString(); | ||
| 579 | - } | ||
| 580 | - return text; | ||
| 581 | - } // getSelectedText | ||
| 582 | - | ||
| 583 | - function preserveNewLines( html ) { | ||
| 584 | - do { | ||
| 585 | - var newline_flag = ChiliBook.unique(); | ||
| 586 | - } | ||
| 587 | - while( html.indexOf( newline_flag ) > -1 ); | ||
| 588 | - var text = ''; | ||
| 589 | - if (/<br/i.test(html) || /<li/i.test(html)) { | ||
| 590 | - if (/<br/i.test(html)) { | ||
| 591 | - html = html.replace( /\<br[^>]*?\>/ig, newline_flag ); | ||
| 592 | - } | ||
| 593 | - else if (/<li/i.test(html)) { | ||
| 594 | - html = html.replace( /<ol[^>]*?>|<\/ol>|<li[^>]*?>/ig, '' ).replace( /<\/li>/ig, newline_flag ); | ||
| 595 | - } | ||
| 596 | - var el = $( '<pre>' ).appendTo( 'body' ).hide()[0]; | ||
| 597 | - el.innerHTML = html; | ||
| 598 | - text = $( el ).text().replace( new RegExp( newline_flag, "g" ), '\r\n' ); | ||
| 599 | - $( el ).remove(); | ||
| 600 | - } | ||
| 601 | - return text; | ||
| 602 | - } // preserveNewLines | ||
| 603 | - | ||
| 604 | - function addLineNumbers( el ) { | ||
| 605 | - | ||
| 606 | - function makeListItem1( not_last_line, not_last, last, open ) { | ||
| 607 | - var close = open ? '</span>' : ''; | ||
| 608 | - var aux = ''; | ||
| 609 | - if( not_last_line ) { | ||
| 610 | - aux = '<li>' + open + not_last + close + '</li>'; | ||
| 611 | - } | ||
| 612 | - else if( last ) { | ||
| 613 | - aux = '<li>' + open + last + close + '</li>'; | ||
| 614 | - } | ||
| 615 | - return aux; | ||
| 616 | - } // makeListItem1 | ||
| 617 | - | ||
| 618 | - function makeListItem2( not_last_line, not_last, last, prev_li ) { | ||
| 619 | - var aux = ''; | ||
| 620 | - if( prev_li ) { | ||
| 621 | - aux = prev_li; | ||
| 622 | - } | ||
| 623 | - else { | ||
| 624 | - aux = makeListItem1( not_last_line, not_last, last, '' ) | ||
| 625 | - } | ||
| 626 | - return aux; | ||
| 627 | - } // makeListItem2 | ||
| 628 | - | ||
| 629 | - var html = $( el ).html(); | ||
| 630 | - var br = /<br>/.test(html) ? '<br>' : '<BR>'; | ||
| 631 | - var empty_line = '<li>' + book.replaceSpace + '</li>'; | ||
| 632 | - var list_items = html | ||
| 633 | - //extract newlines at the beginning of a span | ||
| 634 | - .replace( /(<span [^>]+>)((?:(?: |\xA0)<br>)+)(.*?)(<\/span>)/ig, '$2$1$3$4' ) // I don't know why <span .*?> does not work here | ||
| 635 | - //transform newlines inside of a span | ||
| 636 | - .replace( /(.*?)(<span .*?>)(.*?)(?:<\/span>(?: |\xA0)<br>|<\/span>)/ig, // but here it does | ||
| 637 | - function( all, before, open, content ) { | ||
| 638 | - if (/<br>/i.test(content)) { | ||
| 639 | - var pieces = before.split( br ); | ||
| 640 | - var lastPiece = pieces.pop(); | ||
| 641 | - before = pieces.join( br ); | ||
| 642 | - var aux = (before ? before + br : '') //+ replace1( lastPiece + content, open ); | ||
| 643 | - + (lastPiece + content).replace( /((.*?)(?: |\xA0)<br>)|(.*)/ig, | ||
| 644 | - function( tmp, not_last_line, not_last, last ) { | ||
| 645 | - var aux2 = makeListItem1( not_last_line, not_last, last, open ); | ||
| 646 | - return aux2; | ||
| 647 | - } | ||
| 648 | - ); | ||
| 649 | - return aux; | ||
| 650 | - } | ||
| 651 | - else { | ||
| 652 | - return all; | ||
| 653 | - } | ||
| 654 | - } | ||
| 655 | - ) | ||
| 656 | - //transform newlines outside of a span | ||
| 657 | - .replace( /(<li>.*?<\/li>)|((.*?)(?: |\xA0)<br>)|(.+)/ig, | ||
| 658 | - function( tmp, prev_li, not_last_line, not_last, last ) { | ||
| 659 | - var aux2 = makeListItem2( not_last_line, not_last, last, prev_li ); | ||
| 660 | - return aux2; | ||
| 661 | - } | ||
| 662 | - ) | ||
| 663 | - //fix empty lines for Opera | ||
| 664 | - .replace( /<li><\/li>/ig, empty_line ) | ||
| 665 | - ; | ||
| 666 | - | ||
| 667 | - el.innerHTML = '<ol>' + list_items + '</ol>'; | ||
| 668 | - } // addLineNumbers | ||
| 669 | - | ||
| 670 | - function revealChars( tmp ) { | ||
| 671 | - return $ | ||
| 672 | - .map( tmp.split(''), | ||
| 673 | - function(n, i) { | ||
| 674 | - return ' ' + n + ' ' + n.charCodeAt( 0 ) + ' '; | ||
| 675 | - } ) | ||
| 676 | - .join(' '); | ||
| 677 | - } // revealChars | ||
| 678 | - | ||
| 679 | -//----------------------------------------------------------------------------- | ||
| 680 | -// the coloring starts here | ||
| 681 | - this | ||
| 682 | - .each( function() { | ||
| 683 | - var $this = $( this ); | ||
| 684 | - $this.trigger( 'chili.before_coloring' ); | ||
| 685 | - askDish( this ); | ||
| 686 | - $this.trigger( 'chili.after_coloring' ); | ||
| 687 | - } ); | ||
| 688 | - | ||
| 689 | - return this; | ||
| 690 | -//----------------------------------------------------------------------------- | ||
| 691 | -}; | ||
| 692 | - | ||
| 693 | - | ||
| 694 | - | ||
| 695 | -//main | ||
| 696 | -$( function() { | ||
| 697 | - | ||
| 698 | - if( ChiliBook.automatic ) { | ||
| 699 | - $( ChiliBook.automaticSelector ).chili(); | ||
| 700 | - } | ||
| 701 | - | ||
| 702 | -} ); | ||
| 703 | - | ||
| 704 | -} ) ( jQuery ); |
ktatompub/Client/js/chili/js.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: 'js' | ||
| 14 | - , _case: true | ||
| 15 | - , _main: { | ||
| 16 | - ml_comment: { | ||
| 17 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 18 | - , _style: 'color: gray;' | ||
| 19 | - } | ||
| 20 | - , sl_comment: { | ||
| 21 | - _match: /\/\/.*/ | ||
| 22 | - , _style: 'color: green;' | ||
| 23 | - } | ||
| 24 | - , string: { | ||
| 25 | - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ | ||
| 26 | - , _style: 'color: teal;' | ||
| 27 | - } | ||
| 28 | - , num: { | ||
| 29 | - _match: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ | ||
| 30 | - , _style: 'color: red;' | ||
| 31 | - } | ||
| 32 | - , reg_not: { //this prevents "a / b / c" to be interpreted as a reg_exp | ||
| 33 | - _match: /(?:\w+\s*)\/[^\/\\\n]*(?:\\.[^\/\\\n]*)*\/[gim]*(?:\s*\w+)/ | ||
| 34 | - , _replace: function( all ) { | ||
| 35 | - return this.x( all, '//num' ); | ||
| 36 | - } | ||
| 37 | - } | ||
| 38 | - , reg_exp: { | ||
| 39 | - _match: /\/[^\/\\\n]*(?:\\.[^\/\\\n]*)*\/[gim]*/ | ||
| 40 | - , _style: 'color: maroon;' | ||
| 41 | - } | ||
| 42 | - , brace: { | ||
| 43 | - _match: /[\{\}]/ | ||
| 44 | - , _style: 'color: red; font-weight: bold;' | ||
| 45 | - } | ||
| 46 | - , statement: { | ||
| 47 | - _match: /\b(with|while|var|try|throw|switch|return|if|for|finally|else|do|default|continue|const|catch|case|break)\b/ | ||
| 48 | - , _style: 'color: navy; font-weight: bold;' | ||
| 49 | - } | ||
| 50 | - , error: { | ||
| 51 | - _match: /\b(URIError|TypeError|SyntaxError|ReferenceError|RangeError|EvalError|Error)\b/ | ||
| 52 | - , _style: 'color: Coral;' | ||
| 53 | - } | ||
| 54 | - , object: { | ||
| 55 | - _match: /\b(String|RegExp|Object|Number|Math|Function|Date|Boolean|Array)\b/ | ||
| 56 | - , _style: 'color: DeepPink;' | ||
| 57 | - } | ||
| 58 | - , property: { | ||
| 59 | - _match: /\b(undefined|arguments|NaN|Infinity)\b/ | ||
| 60 | - , _style: 'color: Purple; font-weight: bold;' | ||
| 61 | - } | ||
| 62 | - , 'function': { | ||
| 63 | - _match: /\b(parseInt|parseFloat|isNaN|isFinite|eval|encodeURIComponent|encodeURI|decodeURIComponent|decodeURI)\b/ | ||
| 64 | - , _style: 'color: olive;' | ||
| 65 | - } | ||
| 66 | - , operator: { | ||
| 67 | - _match: /\b(void|typeof|this|new|instanceof|in|function|delete)\b/ | ||
| 68 | - , _style: 'color: RoyalBlue; font-weight: bold;' | ||
| 69 | - } | ||
| 70 | - , liveconnect: { | ||
| 71 | - _match: /\b(sun|netscape|java|Packages|JavaPackage|JavaObject|JavaClass|JavaArray|JSObject|JSException)\b/ | ||
| 72 | - , _style: 'text-decoration: overline;' | ||
| 73 | - } | ||
| 74 | - } | ||
| 75 | -} |
ktatompub/Client/js/chili/lotusscript.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: "ls" | ||
| 14 | - , _case: false | ||
| 15 | - , _main: { | ||
| 16 | - mlcom: { | ||
| 17 | - _match: /((?:^|\n)%REM\b.*)([\w\W]*?)(\n%END\s*REM\b.*)/ | ||
| 18 | - , _replace: '<span class="directive">$1</span><span class="mlcom">$2</span><span class="directive">$3</span>' | ||
| 19 | - , _style: "color: #4040c2;" | ||
| 20 | - } | ||
| 21 | - , com: { | ||
| 22 | - _match: /(?:\'.*)|(?:\bREM\b.*)/ | ||
| 23 | - , _style: "color: green;" | ||
| 24 | - } | ||
| 25 | - , mlstr: { | ||
| 26 | - _match: /(?:\{[^}]*\})|(?:\|[^|]*\|)/ | ||
| 27 | - , _style: "color: red;" | ||
| 28 | - } | ||
| 29 | - , str: { | ||
| 30 | - _match: /(?:\"[^\"].*?\")|\"\"/ | ||
| 31 | - , _style: "color: teal;" | ||
| 32 | - } | ||
| 33 | - , keyd: { | ||
| 34 | - _match: /\b(?:Ustring|Uchr|Ucase|Trim|Time|Strtoken|Strrightback|Strright|Strleftback|Strleft|String|Str|Space|Rtrim|Rightc|Rightbp|Rightb|Right|Oct|Midc|Midbp|Midb|Mid|Ltrim|Leftc|Leftbp|Leftb|Left|Lcase|Inputbp|Inputbox|Inputb|Input|Implode|Hex|Format|Error|Environ|Dir|Date|Curdrive|Curdir|Command|Chr|Bin)[$](?:\s)/ | ||
| 35 | - , _style: "color: fuchsia;" | ||
| 36 | - } | ||
| 37 | - , keyw: { | ||
| 38 | - _match: /\b(?:Yield|Year|Xor|Write|With|Width|While|Wend|Weekday|Vartype|Variant|Val|Ustring|Uselsx|Use|Until|Unlock|Unicode|Uni|Uchr|Ucase|Ubound|Typename|Type|True|Trim|Today|To|Timevalue|Timeserial|Timer|Timenumber|Time|Then|Text|Tan|Tab|Sub|Strtoken|Strrightback|Strright|Strleftback|Strleft|String|Strconv|Strcompare|Strcomp|Str|Stop|Step|Static|Sqr|Split|Spc|Space|Sleep|Single|Sin|Shell|Shared|Sgn|Setfileattr|Setattr|Set|Sendkeys|Select|Seek|Second|Rtrim|Rset|Round|Rnd|Rmdir|Rightc|Rightbp|Rightb|Right|Return|Resume|Reset|Replace|Remove|Redim|Read|Randomize|Random|Put|Published|Public|Property|Private|Print|Preserve|Pitch|Pi|Output|Or|Option|Open|On|Oct|Null|Now|Nothing|Not|Nopitch|Nocase|Next|New|Name|Msgbox|Month|Mod|Mkdir|Minute|Midc|Midbp|Midb|Mid|Messagebox|Me|Ltrim|Lsserver|Lsi_info|Lset|Loop|Long|Log|Lof|Lock|Loc|Lmbcs|Listtag|List|Line|Like|Lib|Let|Lenc|Lenbp|Lenb|Len|Leftc|Leftbp|Leftb|Left|Lcase|Lbound|Kill|Join|Isunknown|Isscalar|Isobject|Isnumeric|Isnull|Islist|Isempty|Iselement|Isdate|Isarray|Isa|Is|Integer|Int|Instrc|Instrbp|Instrb|Instr|Inputbp|Inputbox|Inputb|Input|In|Implode|Imp|Imestatus|Imesetmode|If|Hour|Hex|Goto|Gosub|Getthreadinfo|Getfileattr|Getattr|Get|Function|Fulltrim|From|Freefile|Fraction|Format|Forall|For|Fix|Filelen|Filedatetime|Filecopy|Fileattr|False|Explicit|Exp|Exit|Execute|Event|Evaluate|Error|Err|Erl|Erase|Eqv|Eof|Environ|End|Elseif|Else|Double|Doevents|Do|Dir|Dim|Destroylock|Delete|Defvar|Defstr|Defsng|Deflng|Defint|Defdbl|Defcur|Defbyte|Defbool|Declare|Day|Datevalue|Dateserial|Datenumber|Date|Datatype|Cvdate|Cvar|Currency|Curdrive|Curdir|Cstr|Csng|Createlock|Cos|Const|Compare|Command|Codeunlock|Codelockcheck|Codelock|Close|Clng|Class|Cint|Chr|Chdrive|Chdir|Cdbl|Cdat|Ccur|Cbyte|Cbool|Case|Call|Byval|Byte|Boolean|Bind|Binary|Bin|Beep|Base|Atn2|Atn|Asin|Asc|As|Arrayunique|Arrayreplace|Arraygetindex|Arrayappend|Append|Appactivate|Any|And|Alias|Activateapp|Acos|Access|Abs)\b/ | ||
| 39 | - , _style: "color: maroon; font-weight: bold;" | ||
| 40 | - } | ||
| 41 | - , directive: { | ||
| 42 | - _match: /((?:^|\n)(?:%if|%end|%elseif|%else)\b)|(?:(?:^|\n)%include\b.*)/ | ||
| 43 | - , _style: "color: #5f5f5f;" | ||
| 44 | - } | ||
| 45 | - , notes: { | ||
| 46 | - _match: /\b(?:NotesXSLTransformer|NotesXMLProcessor|NotesViewNavigator|NotesViewEntryCollection|NotesViewEntry|NotesViewColumn|NotesView|NotesTimer|NotesStream|NotesSession|NotesSAXParser|NotesSAXException|NotesSAXAttributeList|NotesRichTextTable|NotesRichTextTab|NotesRichTextStyle|NotesRichTextSection|NotesRichTextRange|NotesRichTextParagraphStyle|NotesRichTextNavigator|NotesRichTextItem|NotesRichTextDocLink|NotesReplicationEntry|NotesReplication|NotesRegistration|NotesOutlineEntry|NotesOutline|NotesNoteCollection|NotesNewsLetter|NotesName|NotesMIMEHeader|NotesMIMEEntity|NotesLog|NotesItem|NotesInternational|NotesForm|NotesEmbeddedObject|NotesDocumentCollection|NotesDocument|NotesDbDirectory|NotesDateTime|NotesDateRange|NotesDatabase|NotesDXLImporter|NotesDXLExporter|NotesDOMXMLDeclNode|NotesDOMTextNode|NotesDOMProcessingInstructionNode|NotesDOMParser|NotesDOMNotationNode|NotesDOMNodeList|NotesDOMNode|NotesDOMNamedNodeMap|NotesDOMEntityReferenceNode|NotesDOMEntityNode|NotesDOMElementNode|NotesDOMDocumentTypeNode|NotesDOMDocumentNode|NotesDOMDocumentFragmentNode|NotesDOMCommentNode|NotesDOMCharacterDataNode|NotesDOMCDATASectionNode|NotesDOMAttributeNode|NotesColorObject|NotesAgent|NotesAdministrationProcess|NotesACLEntry|NotesACL)\b/ | ||
| 47 | - , _style: "color: navy;" | ||
| 48 | - } | ||
| 49 | - , notesui: { | ||
| 50 | - _match: /\b(?:NotesUIWorkspace|NotesUIView|NotesUIScheduler|NotesUIDocument|NotesUIDatabase|Navigator|Field|Button)\b/ | ||
| 51 | - , _style: "color: purple;" | ||
| 52 | - } | ||
| 53 | - } | ||
| 54 | -} |
ktatompub/Client/js/chili/mysql.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -{ | ||
| 13 | - _name: "sql" | ||
| 14 | - , _case: false | ||
| 15 | - , _main: { | ||
| 16 | - mlcom: { | ||
| 17 | - _match: /\/\*[^*]*\*+([^\/][^*]*\*+)*\// | ||
| 18 | - , _style: "color: gray;" | ||
| 19 | - } | ||
| 20 | - , com: { | ||
| 21 | - _match: /(?:--\s+.*)|(?:[^\\]\#.*)/ | ||
| 22 | - , _style: "color: green;" | ||
| 23 | - } | ||
| 24 | - , string: { | ||
| 25 | - _match: /([\"\'])(?:(?:[^\1\\\r\n]*?(?:\1\1|\\.))*[^\1\\\r\n]*?)\1/ | ||
| 26 | - , _style: "color: purple;" | ||
| 27 | - } | ||
| 28 | - , quid: { | ||
| 29 | - _match: /(`)(?:(?:[^\1\\\r\n]*?(?:\1\1|\\.))*[^\1\\\r\n]*?)\1/ | ||
| 30 | - , _style: "color: fuchsia;" | ||
| 31 | - } | ||
| 32 | - , value: { | ||
| 33 | - _match: /\b(?:NULL|TRUE|FALSE)\b/ | ||
| 34 | - , _style: "color: gray; font-weight: bold;" | ||
| 35 | - } | ||
| 36 | - , number: { | ||
| 37 | - _match: /\b[+-]?(\d*\.?\d+|\d+\.?\d*)([eE][+-]?\d+)?\b/ | ||
| 38 | - , _style: "color: red;" | ||
| 39 | - } | ||
| 40 | - , hexnum: { | ||
| 41 | - _match: /\b0[xX][\dA-Fa-f]+\b|\b[xX]([\'\"])[\dA-Fa-f]+\1/ | ||
| 42 | - , _style: "color: red; font-weight: bold;" | ||
| 43 | - } | ||
| 44 | - , variable: { | ||
| 45 | - _match: /@([$.\w]+|([`\"\'])(?:(?:[^\2\\\r\n]*?(?:\2\2|\\.))*[^\2\\\r\n]*?)\2)/ | ||
| 46 | - , _replace: '<span class="keyword">@</span><span class="variable">$1</span>' | ||
| 47 | - , _style: "color: #4040c2;" | ||
| 48 | - } | ||
| 49 | - , keyword: { | ||
| 50 | - _match: /\b(?:A(?:CTION|DD|FTER|G(?:AINST|GREGATE)|L(?:GORITHM|L|TER)|N(?:ALYZE|D|Y)|S(?:C(?:II|)|ENSITIVE|)|UTO_INCREMENT|VG(?:_ROW_LENGTH|))|B(?:ACKUP|DB|E(?:FORE|GIN|RKELEYDB|TWEEN)|I(?:GINT|N(?:ARY|LOG)|T)|LOB|O(?:OL(?:EAN|)|TH)|TREE|Y(?:TE|))|C(?:A(?:CHE|LL|S(?:CADE(?:D|)|E))|H(?:A(?:IN|NGE(?:D|)|R(?:ACTER|SET|))|ECK(?:SUM|))|IPHER|L(?:IENT|OSE)|O(?:DE|L(?:LAT(?:E|ION)|UMN(?:S|))|M(?:M(?:ENT|IT(?:TED|))|P(?:ACT|RESSED))|N(?:CURRENT|DITION|NECTION|S(?:ISTENT|TRAINT)|T(?:AINS|INUE)|VERT))|R(?:EATE|OSS)|U(?:BE|R(?:RENT_(?:DATE|TIME(?:STAMP|)|USER)|SOR)))|D(?:A(?:T(?:A(?:BASE(?:S|)|)|E(?:TIME|))|Y(?:_(?:HOUR|MI(?:CROSECOND|NUTE)|SECOND)|))|E(?:ALLOCATE|C(?:IMAL|LARE|)|F(?:AULT|INER)|L(?:AY(?:ED|_KEY_WRITE)|ETE)|S(?:C(?:RIBE|)|_KEY_FILE)|TERMINISTIC)|I(?:RECTORY|S(?:ABLE|CARD|TINCT(?:ROW|))|V)|O(?:UBLE|)|ROP|U(?:AL|MPFILE|PLICATE)|YNAMIC)|E(?:ACH|LSE(?:IF|)|N(?:ABLE|CLOSED|D|GINE(?:S|)|UM)|RRORS|SCAPE(?:D|)|VENTS|X(?:ECUTE|I(?:STS|T)|P(?:ANSION|LAIN)|TENDED))|F(?:A(?:LSE|ST)|ETCH|I(?:ELDS|LE|RST|XED)|L(?:OAT(?:4|8|)|USH)|O(?:R(?:CE|EIGN|)|UND)|R(?:AC_SECOND|OM)|U(?:LL(?:TEXT|)|NCTION))|G(?:E(?:OMETRY(?:COLLECTION|)|T_FORMAT)|LOBAL|R(?:ANT(?:S|)|OUP))|H(?:A(?:NDLER|SH|VING)|ELP|IGH_PRIORITY|O(?:STS|UR(?:_(?:MI(?:CROSECOND|NUTE)|SECOND)|)))|I(?:DENTIFIED|F|GNORE|MPORT|N(?:DEX(?:ES|)|FILE|N(?:ER|O(?:BASE|DB))|OUT|SE(?:NSITIVE|RT(?:_METHOD|))|T(?:1|2|3|4|8|E(?:GER|RVAL)|O|)|VOKER|)|O_THREAD|S(?:OLATION|SUER|)|TERATE)|JOIN|K(?:EY(?:S|)|ILL)|L(?:A(?:NGUAGE|ST)|E(?:A(?:DING|VE(?:S|))|FT|VEL)|I(?:KE|MIT|NES(?:TRING|))|O(?:AD|C(?:AL(?:TIME(?:STAMP|)|)|K(?:S|))|GS|NG(?:BLOB|TEXT|)|OP|W_PRIORITY))|M(?:A(?:STER(?:_(?:CONNECT_RETRY|HOST|LOG_(?:FILE|POS)|P(?:ASSWORD|ORT)|S(?:ERVER_ID|SL(?:_(?:C(?:A(?:PATH|)|ERT|IPHER)|KEY)|))|USER)|)|TCH|X_(?:CONNECTIONS_PER_HOUR|QUERIES_PER_HOUR|ROWS|U(?:PDATES_PER_HOUR|SER_CONNECTIONS)))|E(?:DIUM(?:BLOB|INT|TEXT|)|RGE)|I(?:CROSECOND|DDLEINT|GRATE|N(?:UTE(?:_(?:MICROSECOND|SECOND)|)|_ROWS))|O(?:D(?:E|IF(?:IES|Y)|)|NTH)|U(?:LTI(?:LINESTRING|PO(?:INT|LYGON))|TEX))|N(?:A(?:ME(?:S|)|T(?:IONAL|URAL))|CHAR|DB(?:CLUSTER|)|E(?:W|XT)|O(?:NE|T|_WRITE_TO_BINLOG|)|U(?:LL|MERIC)|VARCHAR)|O(?:FFSET|LD_PASSWORD|N(?:E(?:_SHOT|)|)|P(?:EN|TI(?:MIZE|ON(?:ALLY|)))|R(?:DER|)|UT(?:ER|FILE|))|P(?:A(?:CK_KEYS|RTIAL|SSWORD)|HASE|O(?:INT|LYGON)|R(?:E(?:CISION|PARE|V)|I(?:MARY|VILEGES)|OCE(?:DURE|SS(?:LIST|)))|URGE)|QU(?:ARTER|ERY|ICK)|R(?:AID(?:0|_(?:CHUNKS(?:IZE|)|TYPE))|E(?:A(?:D(?:S|)|L)|COVER|DUNDANT|FERENCES|GEXP|L(?:AY_(?:LOG_(?:FILE|POS)|THREAD)|EASE|OAD)|NAME|P(?:AIR|EAT(?:ABLE|)|L(?:ACE|ICATION))|QUIRE|S(?:ET|T(?:ORE|RICT)|UME)|TURN(?:S|)|VOKE)|IGHT|LIKE|O(?:LL(?:BACK|UP)|UTINE|W(?:S|_FORMAT|))|TREE)|S(?:AVEPOINT|CHEMA(?:S|)|E(?:C(?:OND(?:_MICROSECOND|)|URITY)|LECT|NSITIVE|PARATOR|RIAL(?:IZABLE|)|SSION|T)|H(?:ARE|OW|UTDOWN)|I(?:GNED|MPLE)|LAVE|MALLINT|NAPSHOT|O(?:ME|NAME|UNDS)|P(?:ATIAL|ECIFIC)|QL(?:EXCEPTION|STATE|WARNING|_(?:B(?:IG_RESULT|UFFER_RESULT)|CA(?:CHE|LC_FOUND_ROWS)|NO_CACHE|SMALL_RESULT|T(?:HREAD|SI_(?:DAY|FRAC_SECOND|HOUR|M(?:INUTE|ONTH)|QUARTER|SECOND|WEEK|YEAR)))|)|SL|T(?:A(?:RT(?:ING|)|TUS)|O(?:P|RAGE)|R(?:AIGHT_JOIN|I(?:NG|PED)))|U(?:BJECT|PER|SPEND))|T(?:ABLE(?:S(?:PACE|)|)|E(?:MP(?:ORARY|TABLE)|RMINATED|XT)|HEN|I(?:ME(?:STAMP(?:ADD|DIFF|)|)|NY(?:BLOB|INT|TEXT))|O|R(?:A(?:ILING|NSACTION)|IGGER(?:S|)|U(?:E|NCATE))|YPE(?:S|))|U(?:N(?:COMMITTED|D(?:EFINED|O)|I(?:CODE|ON|QUE)|KNOWN|LOCK|SIGNED|TIL)|P(?:DATE|GRADE)|S(?:AGE|E(?:R(?:_RESOURCES|)|_FRM|)|ING)|TC_(?:DATE|TIME(?:STAMP|)))|V(?:A(?:LUE(?:S|)|R(?:BINARY|CHAR(?:ACTER|)|IABLES|YING))|IEW)|W(?:ARNINGS|EEK|H(?:E(?:N|RE)|ILE)|ITH|ORK|RITE)|X(?:509|A|OR)|YEAR(?:_MONTH|)|ZEROFILL)\b/ | ||
| 51 | - , _style: "color: navy; font-weight: bold;" | ||
| 52 | - } | ||
| 53 | - , 'function': { | ||
| 54 | - _match: /\b(?:A(?:BS|COS|DD(?:DATE|TIME)|ES_(?:DECRYPT|ENCRYPT)|REA|S(?:BINARY|IN|TEXT|WK(?:B|T))|TAN(?:2|))|B(?:ENCHMARK|I(?:N|T_(?:AND|COUNT|LENGTH|OR|XOR)))|C(?:AST|E(?:IL(?:ING|)|NTROID)|HAR(?:ACTER_LENGTH|_LENGTH)|O(?:ALESCE|ERCIBILITY|MPRESS|N(?:CAT(?:_WS|)|NECTION_ID|V(?:ERT_TZ|))|S|T|UNT)|R(?:C32|OSSES)|UR(?:DATE|TIME))|D(?:A(?:TE(?:DIFF|_(?:ADD|FORMAT|SUB))|Y(?:NAME|OF(?:MONTH|WEEK|YEAR)))|E(?:CODE|GREES|S_(?:DECRYPT|ENCRYPT))|I(?:MENSION|SJOINT))|E(?:LT|N(?:C(?:ODE|RYPT)|DPOINT|VELOPE)|QUALS|X(?:P(?:ORT_SET|)|T(?:ERIORRING|RACT)))|F(?:I(?:ELD|ND_IN_SET)|LOOR|O(?:RMAT|UND_ROWS)|ROM_(?:DAYS|UNIXTIME))|G(?:E(?:OM(?:COLLFROM(?:TEXT|WKB)|ETRY(?:COLLECTIONFROM(?:TEXT|WKB)|FROM(?:TEXT|WKB)|N|TYPE)|FROM(?:TEXT|WKB))|T_LOCK)|LENGTH|R(?:EATEST|OUP_(?:CONCAT|UNIQUE_USERS)))|HEX|I(?:FNULL|N(?:ET_(?:ATON|NTOA)|STR|TER(?:IORRINGN|SECTS))|S(?:CLOSED|EMPTY|NULL|SIMPLE|_(?:FREE_LOCK|USED_LOCK)))|L(?:AST_(?:DAY|INSERT_ID)|CASE|E(?:AST|NGTH)|INE(?:FROM(?:TEXT|WKB)|STRINGFROM(?:TEXT|WKB))|N|O(?:AD_FILE|CATE|G(?:10|2|)|WER)|PAD|TRIM)|M(?:A(?:KE(?:DATE|TIME|_SET)|STER_POS_WAIT|X)|BR(?:CONTAINS|DISJOINT|EQUAL|INTERSECTS|OVERLAPS|TOUCHES|WITHIN)|D5|I(?:D|N)|LINEFROM(?:TEXT|WKB)|ONTHNAME|PO(?:INTFROM(?:TEXT|WKB)|LYFROM(?:TEXT|WKB))|ULTI(?:LINESTRINGFROM(?:TEXT|WKB)|PO(?:INTFROM(?:TEXT|WKB)|LYGONFROM(?:TEXT|WKB))))|N(?:AME_CONST|OW|U(?:LLIF|M(?:GEOMETRIES|INTERIORRINGS|POINTS)))|O(?:CT(?:ET_LENGTH|)|RD|VERLAPS)|P(?:ERIOD_(?:ADD|DIFF)|I|O(?:INT(?:FROM(?:TEXT|WKB)|N)|LY(?:FROM(?:TEXT|WKB)|GONFROM(?:TEXT|WKB))|SITION|W(?:ER|)))|QUOTE|R(?:A(?:DIANS|ND)|E(?:LEASE_LOCK|VERSE)|O(?:UND|W_COUNT)|PAD|TRIM)|S(?:E(?:C_TO_TIME|SSION_USER)|HA(?:1|)|I(?:GN|N)|LEEP|OUNDEX|PACE|QRT|RID|T(?:ARTPOINT|D(?:DEV(?:_(?:POP|SAMP)|)|)|R(?:CMP|_TO_DATE))|U(?:B(?:DATE|STR(?:ING(?:_INDEX|)|)|TIME)|M)|YS(?:DATE|TEM_USER))|T(?:AN|IME(?:DIFF|_(?:FORMAT|TO_SEC))|O(?:UCHES|_DAYS)|RIM)|U(?:CASE|N(?:COMPRESS(?:ED_LENGTH|)|HEX|I(?:QUE_USERS|X_TIMESTAMP))|PPER|UID)|V(?:AR(?:IANCE|_(?:POP|SAMP))|ERSION)|W(?:EEK(?:DAY|OFYEAR)|ITHIN)|X|Y(?:EARWEEK|))(?=\()/ | ||
| 55 | - , _style: "color: #e17100;" | ||
| 56 | - } | ||
| 57 | - , id: { | ||
| 58 | - _match: /[$\w]+/ | ||
| 59 | - , _style: "color: maroon;" | ||
| 60 | - } | ||
| 61 | - } | ||
| 62 | -} | ||
| 63 | - |
ktatompub/Client/js/chili/php-f.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -/* ---------------------------------------------------------------------------- | ||
| 13 | - * this recipe uses a little trick for highlighting php code | ||
| 14 | - * 1: replace each php snippet with a placeholder | ||
| 15 | - * 2: highlight html without php and php snippets apart | ||
| 16 | - * 3: replace each placeholder with its highlighted php snippet | ||
| 17 | - * | ||
| 18 | - * the trick is not perfect only if the html without php is broken | ||
| 19 | - * however, in such a case many highlighters get fooled but Chili does not | ||
| 20 | - * | ||
| 21 | - * --- | ||
| 22 | - * this recipe has been adapted for working with Safari | ||
| 23 | - * in fact, Safari cannot match more than 101236 characters with a lazy star | ||
| 24 | - * --------------------------------------------------------------------------*/ | ||
| 25 | -{ | ||
| 26 | - _name: "php" | ||
| 27 | - , _case: true | ||
| 28 | - , _main: { | ||
| 29 | - all: { | ||
| 30 | - _match: /[\w\W]*/ | ||
| 31 | - , _replace: function( all ) { | ||
| 32 | - var placeholder = String.fromCharCode(0); | ||
| 33 | - var blocks = []; | ||
| 34 | - var that = this; | ||
| 35 | - var no_php_1 = all.replace( /<\?[^?]*\?+(?:[^>][^?]*\?+)*>/g, function( block ) { | ||
| 36 | - blocks.push( that.x( block, '/block/php_1' ) ); | ||
| 37 | - return placeholder; | ||
| 38 | - } ); | ||
| 39 | - var no_php_2 = no_php_1.replace( /^[^?]*\?+(?:[^>][^?]*\?+)*>|<\?[\w\W]*$/g, function( block ) { | ||
| 40 | - blocks.push( that.x( block, '/block/php_2' ) ); | ||
| 41 | - return placeholder; | ||
| 42 | - } ); | ||
| 43 | - if( blocks.length ) { | ||
| 44 | - var html = this.x( no_php_2, 'html' ); | ||
| 45 | - var count = 0; | ||
| 46 | - return html.replace( new RegExp( placeholder, "g" ), function() { | ||
| 47 | - return blocks[ count++ ]; | ||
| 48 | - } ); | ||
| 49 | - } | ||
| 50 | - else { | ||
| 51 | - return this.x( all, '/php' ); | ||
| 52 | - } | ||
| 53 | - } | ||
| 54 | - } | ||
| 55 | - } | ||
| 56 | - , block: { | ||
| 57 | - php_1: { // --- <? +++ ?> --- | ||
| 58 | - _match: /(<\?(?:php\b)?)([^?]*\?+(?:[^>][^?]*\?+)*>)/ | ||
| 59 | - , _replace: function( all, open, content ) { | ||
| 60 | - return "<span class='start'>" + this.x( open ) + "</span>" | ||
| 61 | - + this.x( content.replace( /\?>$/, '' ), '/php' ) | ||
| 62 | - + "<span class='end'>" + this.x( '?>' ) + "</span>"; | ||
| 63 | - } | ||
| 64 | - , _style: { | ||
| 65 | - start: "color: red; font-weight: bold" | ||
| 66 | - , end: "color: red;" | ||
| 67 | - } | ||
| 68 | - } | ||
| 69 | - , php_2: { // +++ ?> --- <? +++ | ||
| 70 | - _match: /([^?]*\?+(?:[^>][^?]*\?+)*>)|(<\?(?:php\b)?)([\w\W]*)/ | ||
| 71 | - , _replace: function( all, content, open2, content2 ) { | ||
| 72 | - if( open2 ) { | ||
| 73 | - return "<span class='start'>" + this.x( open2 ) + "</span>" | ||
| 74 | - + this.x( content2, '/php' ); | ||
| 75 | - } | ||
| 76 | - else { | ||
| 77 | - return this.x( content.replace( /\?>$/, '' ), '/php' ) | ||
| 78 | - + "<span class='end'>" + this.x( '?>' ) + "</span>"; | ||
| 79 | - } | ||
| 80 | - } | ||
| 81 | - , _style: { | ||
| 82 | - start: "color: red; font-weight: bold" | ||
| 83 | - , end: "color: red;" | ||
| 84 | - } | ||
| 85 | - } | ||
| 86 | - } | ||
| 87 | - , php: { | ||
| 88 | - mlcom: { | ||
| 89 | - _match: /\/\*[^*]*\*+([^\/][^*]*\*+)*\// | ||
| 90 | - , _style: "color: gray;" | ||
| 91 | - } | ||
| 92 | - , com: { | ||
| 93 | - _match: /(?:\/\/.*)|(?:[^\\]\#.*)/ | ||
| 94 | - , _style: "color: green;" | ||
| 95 | - } | ||
| 96 | - , string1: { | ||
| 97 | - _match: /\'[^\'\\]*(?:\\.[^\'\\]*)*\'/ | ||
| 98 | - , _style: "color: purple;" | ||
| 99 | - } | ||
| 100 | - , string2: { | ||
| 101 | - _match: /\"[^\"\\]*(?:\\.[^\"\\]*)*\"/ | ||
| 102 | - , _style: "color: fuchsia;" | ||
| 103 | - } | ||
| 104 | - , value: { | ||
| 105 | - _match: /\b(?:[Nn][Uu][Ll][Ll]|[Tt][Rr][Uu][Ee]|[Ff][Aa][Ll][Ss][Ee])\b/ | ||
| 106 | - , _style: "color: gray; font-weight: bold;" | ||
| 107 | - } | ||
| 108 | - , number: { | ||
| 109 | - _match: /\b[+-]?(\d*\.?\d+|\d+\.?\d*)([eE][+-]?\d+)?\b/ | ||
| 110 | - , _style: "color: red;" | ||
| 111 | - } | ||
| 112 | - , const1: { | ||
| 113 | - _match: /\b(?:DEFAULT_INCLUDE_PATH|E_(?:ALL|CO(?:MPILE_(?:ERROR|WARNING)|RE_(?:ERROR|WARNING))|ERROR|NOTICE|PARSE|STRICT|USER_(?:ERROR|NOTICE|WARNING)|WARNING)|P(?:EAR_(?:EXTENSION_DIR|INSTALL_DIR)|HP_(?:BINDIR|CONFIG_FILE_(?:PATH|SCAN_DIR)|DATADIR|E(?:OL|XTENSION_DIR)|INT_(?:MAX|SIZE)|L(?:IBDIR|OCALSTATEDIR)|O(?:S|UTPUT_HANDLER_(?:CONT|END|START))|PREFIX|S(?:API|HLIB_SUFFIX|YSCONFDIR)|VERSION))|__COMPILER_HALT_OFFSET__)\b/ | ||
| 114 | - , _style: "color: red;" | ||
| 115 | - } | ||
| 116 | - , const2: { | ||
| 117 | - _match: /\b(?:A(?:B(?:DAY_(?:1|2|3|4|5|6|7)|MON_(?:1(?:0|1|2|)|2|3|4|5|6|7|8|9))|LT_DIGITS|M_STR|SSERT_(?:ACTIVE|BAIL|CALLBACK|QUIET_EVAL|WARNING))|C(?:ASE_(?:LOWER|UPPER)|HAR_MAX|O(?:DESET|NNECTION_(?:ABORTED|NORMAL|TIMEOUT)|UNT_(?:NORMAL|RECURSIVE))|R(?:EDITS_(?:ALL|DOCS|FULLPAGE|G(?:ENERAL|ROUP)|MODULES|QA|SAPI)|NCYSTR|YPT_(?:BLOWFISH|EXT_DES|MD5|S(?:ALT_LENGTH|TD_DES)))|URRENCY_SYMBOL)|D(?:AY_(?:1|2|3|4|5|6|7)|ECIMAL_POINT|IRECTORY_SEPARATOR|_(?:FMT|T_FMT))|E(?:NT_(?:COMPAT|NOQUOTES|QUOTES)|RA(?:_(?:D_(?:FMT|T_FMT)|T_FMT|YEAR)|)|XTR_(?:IF_EXISTS|OVERWRITE|PREFIX_(?:ALL|I(?:F_EXISTS|NVALID)|SAME)|SKIP))|FRAC_DIGITS|GROUPING|HTML_(?:ENTITIES|SPECIALCHARS)|IN(?:FO_(?:ALL|C(?:ONFIGURATION|REDITS)|ENVIRONMENT|GENERAL|LICENSE|MODULES|VARIABLES)|I_(?:ALL|PERDIR|SYSTEM|USER)|T_(?:CURR_SYMBOL|FRAC_DIGITS))|L(?:C_(?:ALL|C(?:OLLATE|TYPE)|M(?:ESSAGES|ONETARY)|NUMERIC|TIME)|O(?:CK_(?:EX|NB|SH|UN)|G_(?:A(?:LERT|UTH(?:PRIV|))|C(?:ONS|R(?:IT|ON))|D(?:AEMON|EBUG)|E(?:MERG|RR)|INFO|KERN|L(?:OCAL(?:0|1|2|3|4|5|6|7)|PR)|MAIL|N(?:DELAY|EWS|O(?:TICE|WAIT))|ODELAY|P(?:ERROR|ID)|SYSLOG|U(?:SER|UCP)|WARNING)))|M(?:ON_(?:1(?:0|1|2|)|2|3|4|5|6|7|8|9|DECIMAL_POINT|GROUPING|THOUSANDS_SEP)|_(?:1_PI|2_(?:PI|SQRTPI)|E|L(?:N(?:10|2)|OG(?:10E|2E))|PI(?:_(?:2|4)|)|SQRT(?:1_2|2)))|N(?:EGATIVE_SIGN|O(?:EXPR|STR)|_(?:CS_PRECEDES|S(?:EP_BY_SPACE|IGN_POSN)))|P(?:ATH(?:INFO_(?:BASENAME|DIRNAME|EXTENSION)|_SEPARATOR)|M_STR|OSITIVE_SIGN|_(?:CS_PRECEDES|S(?:EP_BY_SPACE|IGN_POSN)))|RADIXCHAR|S(?:EEK_(?:CUR|END|SET)|ORT_(?:ASC|DESC|NUMERIC|REGULAR|STRING)|TR_PAD_(?:BOTH|LEFT|RIGHT))|T(?:HOUS(?:ANDS_SEP|EP)|_FMT(?:_AMPM|))|YES(?:EXPR|STR))\b/ | ||
| 118 | - , _style: "color: red;" | ||
| 119 | - } | ||
| 120 | - , global: { | ||
| 121 | - _match: /(?:\$GLOBALS|\$_COOKIE|\$_ENV|\$_FILES|\$_GET|\$_POST|\$_REQUEST|\$_SERVER|\$_SESSION|\$php_errormsg)\b/ | ||
| 122 | - , _style: "color: red;" | ||
| 123 | - } | ||
| 124 | - , keyword: { | ||
| 125 | - _match: /\b(?:__CLASS__|__FILE__|__FUNCTION__|__LINE__|__METHOD__|abstract|and|array|as|break|case|catch|cfunction|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exception|exit|extends|extends|final|for|foreach|function|global|if|implements|include|include_once|interface|isset|list|new|old_function|or|php_user_filter|print|private|protected|public|require|require_once|return|static|switch|this|throw|try|unset|use|var|while|xor)\b/ | ||
| 126 | - , _style: "color: navy; font-weight: bold;" | ||
| 127 | - } | ||
| 128 | - , variable: { | ||
| 129 | - _match: /\$(\w+)/ | ||
| 130 | - , _replace: '<span class="keyword">$</span><span class="variable">$1</span>' | ||
| 131 | - , _style: "color: #4040c2;" | ||
| 132 | - } | ||
| 133 | - , heredoc: { | ||
| 134 | - _match: /(\<\<\<\s*)(\w+)((?:(?!\2).*\n)+)(\2)\b/ | ||
| 135 | - , _replace: '<span class="keyword">$1</span><span class="string1">$2</span><span class="string2">$3</span><span class="string1">$4</span>' | ||
| 136 | - } | ||
| 137 | - , 'function': { | ||
| 138 | - _match: "\\b(?:a(?:bs|cos(?:h|)|dd(?:cslashes|slashes)|ggregat(?:e(?:_(?:info|methods(?:_by_(?:list|regexp)|)|properties(?:_by_(?:list|regexp)|))|)|ion_info)|p(?:ache_(?:child_terminate|get(?:_(?:modules|version)|env)|lookup_uri|note|re(?:quest_headers|s(?:et_timeout|ponse_headers))|setenv)|d_(?:breakpoint|c(?:allstack|lunk|ontinue|roak)|dump_(?:function_table|persistent_resources|regular_resources)|echo|get_active_symbols|set_(?:pprof_trace|s(?:ession(?:_trace|)|ocket_session_trace))))|r(?:ray_(?:c(?:h(?:ange_key_case|unk)|o(?:mbine|unt_values))|diff(?:_(?:assoc|key|u(?:assoc|key))|)|f(?:il(?:l|ter)|lip)|intersect(?:_(?:assoc|key|u(?:assoc|key))|)|key(?:_exists|s)|m(?:ap|erge(?:_recursive|)|ultisort)|p(?:ad|op|ush)|r(?:and|e(?:duce|verse))|s(?:earch|hift|lice|plice|um)|u(?:diff(?:_(?:assoc|uassoc)|)|intersect(?:_(?:assoc|uassoc)|)|n(?:ique|shift))|values|walk(?:_recursive|))|sort)|s(?:cii2ebcdic|in(?:h|)|ort|pell_(?:check(?:_raw|)|new|suggest)|sert(?:_options|))|tan(?:2|h|))|b(?:ase(?:64_(?:decode|encode)|_convert|name)|c(?:add|comp|div|m(?:od|ul)|ompile(?:_write_file|r_(?:load(?:_exe|)|parse_class|read|write_(?:c(?:lass|onstant)|exe_footer|f(?:ooter|unction(?:s_from_file|))|header)))|pow(?:mod|)|s(?:cale|qrt|ub))|in(?:2hex|d(?:_textdomain_codeset|ec|textdomain))|z(?:c(?:lose|ompress)|decompress|err(?:no|or|str)|flush|open|read|write))|c(?:al(?:_(?:days_in_month|from_jd|info|to_jd)|l_user_(?:func(?:_array|)|method(?:_array|)))|cvs_(?:a(?:dd|uth)|co(?:mmand|unt)|d(?:elete|one)|init|lookup|new|re(?:port|turn|verse)|s(?:ale|tatus)|textvalue|void)|eil|h(?:dir|eckd(?:ate|nsrr)|grp|mod|o(?:p|wn)|r(?:oot|)|unk_split)|l(?:ass(?:_(?:exists|implements|parents)|kit_(?:import|method_(?:add|copy|re(?:define|move|name))))|earstatcache|ose(?:dir|log))|o(?:m(?:_(?:addref|create_guid|event_sink|get(?:_active_object|)|i(?:nvoke|senum)|load(?:_typelib|)|message_pump|pr(?:int_typeinfo|op(?:get|put|set))|release|set)|pact|)|n(?:nection_(?:aborted|status|timeout)|stant|vert_(?:cyr_string|uu(?:decode|encode)))|py|s(?:h|)|unt(?:_chars|))|pdf_(?:a(?:dd_(?:annotation|outline)|rc)|begin_text|c(?:ircle|l(?:ip|ose(?:path(?:_(?:fill_stroke|stroke)|)|))|ontinue_text|urveto)|end_text|fi(?:ll(?:_stroke|)|nalize(?:_page|))|global_set_document_limits|import_jpeg|lineto|moveto|newpath|o(?:pen|utput_buffer)|p(?:age_init|lace_inline_image)|r(?:e(?:ct|store)|lineto|moveto|otate(?:_text|))|s(?:ave(?:_to_file|)|cale|et(?:_(?:action_url|c(?:har_spacing|reator|urrent_page)|font(?:_(?:directories|map_file)|)|horiz_scaling|keywords|leading|page_animation|subject|t(?:ext_(?:matrix|pos|r(?:endering|ise))|itle)|viewer_preferences|word_spacing)|dash|flat|gray(?:_(?:fill|stroke)|)|line(?:cap|join|width)|miterlimit|rgbcolor(?:_(?:fill|stroke)|))|how(?:_xy|)|tr(?:ingwidth|oke))|t(?:ext|ranslate))|r(?:ack_(?:c(?:heck|losedict)|getlastmessage|opendict)|c32|eate_function|ypt)|type_(?:al(?:num|pha)|cntrl|digit|graph|lower|p(?:rint|unct)|space|upper|xdigit)|ur(?:l_(?:c(?:lose|opy_handle)|e(?:rr(?:no|or)|xec)|getinfo|init|multi_(?:add_handle|close|exec|getcontent|in(?:fo_read|it)|remove_handle|select)|setopt|version)|rent)|y(?:bercash_(?:base64_(?:decode|encode)|decr|encr)|rus_(?:authenticate|bind|c(?:lose|onnect)|query|unbind)))|d(?:ate(?:_sun(?:rise|set)|)|b(?:a(?:_(?:close|delete|exists|f(?:etch|irstkey)|handlers|insert|key_split|list|nextkey|op(?:en|timize)|popen|replace|sync)|se_(?:add_record|c(?:lose|reate)|delete_record|get_(?:header_info|record(?:_with_names|))|num(?:fields|records)|open|pack|replace_record))|list|m(?:close|delete|exists|f(?:etch|irstkey)|insert|nextkey|open|replace)|plus_(?:a(?:dd|ql)|c(?:hdir|lose|urr)|err(?:code|no)|f(?:i(?:nd|rst)|lush|ree(?:alllocks|lock|rlocks))|get(?:lock|unique)|info|l(?:ast|ockrel)|next|open|prev|r(?:c(?:hperm|r(?:eate|t(?:exact|like)))|es(?:olve|torepos)|keys|open|query|rename|secindex|unlink|zap)|s(?:avepos|etindex(?:bynumber|)|ql)|t(?:cl|remove)|u(?:n(?:do(?:prepare|)|lockrel|select)|pdate)|x(?:lockrel|unlockrel))|x_(?:c(?:lose|o(?:mpare|nnect))|e(?:rror|scape_string)|fetch_row|query|sort))|c(?:gettext|ngettext)|e(?:aggregate|bug(?:_(?:backtrace|print_backtrace|zval_dump)|ger_o(?:ff|n))|c(?:bin|hex|oct)|fine(?:_syslog_variables|d|)|g2rad|lete)|gettext|i(?:o_(?:close|fcntl|open|read|s(?:eek|tat)|t(?:csetattr|runcate)|write)|r(?:name|)|sk(?:_(?:free_space|total_space)|freespace))|l|n(?:gettext|s_(?:check_record|get_(?:mx|record)))|o(?:m(?:_import_simplexml|xml_(?:new_doc|open_(?:file|mem)|version|x(?:mltree|slt_stylesheet(?:_(?:doc|file)|))))|tnet(?:_load|)|ubleval))|e(?:a(?:ch|ster_da(?:te|ys))|bcdic2ascii|nd|r(?:eg(?:_replace|i(?:_replace|)|)|ror_(?:log|reporting))|scapeshell(?:arg|cmd)|x(?:ec|if_(?:imagetype|read_data|t(?:agname|humbnail))|p(?:lode|m1|)|t(?:ension_loaded|ract))|zmlm_hash)|f(?:am_(?:c(?:ancel_monitor|lose)|monitor_(?:collection|directory|file)|next_event|open|pending|resume_monitor|suspend_monitor)|bsql_(?:a(?:ffected_rows|utocommit)|blob_size|c(?:hange_user|lo(?:b_size|se)|o(?:mmit|nnect)|reate_(?:blob|clob|db))|d(?:ata(?:_seek|base(?:_password|))|b_(?:query|status)|rop_db)|err(?:no|or)|f(?:etch_(?:a(?:rray|ssoc)|field|lengths|object|row)|ield_(?:flags|len|name|seek|t(?:able|ype))|ree_result)|get_autostart_info|hostname|insert_id|list_(?:dbs|fields|tables)|n(?:ext_result|um_(?:fields|rows))|p(?:assword|connect)|query|r(?:e(?:ad_(?:blob|clob)|sult)|ollback)|s(?:e(?:lect_db|t_(?:lob_mode|password|transaction))|t(?:art_db|op_db))|tablename|username|warnings)|close|df_(?:add_(?:doc_javascript|template)|c(?:lose|reate)|e(?:num_values|rr(?:no|or))|get_(?:a(?:p|ttachment)|encoding|f(?:ile|lags)|opt|status|v(?:alue|ersion))|header|next_field_name|open(?:_string|)|remove_item|s(?:ave(?:_string|)|et_(?:ap|encoding|f(?:ile|lags)|javascript_action|o(?:n_import_javascript|pt)|s(?:tatus|ubmit_form_action)|target_frame|v(?:alue|ersion))))|eof|flush|get(?:c(?:sv|)|s(?:s|))|ile(?:_(?:exists|get_contents|put_contents)|atime|ctime|group|inode|mtime|owner|p(?:erms|ro(?:_(?:field(?:count|name|type|width)|r(?:etrieve|owcount))|))|size|type|)|l(?:o(?:atval|ck|or)|ush)|mod|nmatch|open|p(?:assthru|rintf|ut(?:csv|s))|r(?:e(?:ad|nchtojd)|ibidi_log2vis)|s(?:canf|eek|ockopen|tat)|t(?:ell|ok|p_(?:alloc|c(?:dup|h(?:dir|mod)|lose|onnect)|delete|exec|f(?:get|put)|get(?:_option|)|login|m(?:dtm|kdir)|n(?:b_(?:continue|f(?:get|put)|get|put)|list)|p(?:asv|ut|wd)|quit|r(?:aw(?:list|)|ename|mdir)|s(?:et_option|i(?:te|ze)|sl_connect|ystype))|runcate)|unc(?:_(?:get_arg(?:s|)|num_args)|tion_exists)|write)|g(?:d_info|et(?:_(?:browser|c(?:fg_var|lass(?:_(?:methods|vars)|)|urrent_user)|de(?:clared_(?:classes|interfaces)|fined_(?:constants|functions|vars))|extension_funcs|h(?:eaders|tml_translation_table)|include(?:_path|d_files)|loaded_extensions|m(?:agic_quotes_(?:gpc|runtime)|eta_tags)|object_vars|parent_class|re(?:quired_files|source_type))|allheaders|cwd|date|env|hostby(?:addr|name(?:l|))|imagesize|lastmod|m(?:xrr|y(?:gid|inode|pid|uid))|opt|protobyn(?:ame|umber)|r(?:andmax|usage)|servby(?:name|port)|t(?:ext|imeofday|ype))|lob|m(?:date|mktime|p_(?:a(?:bs|dd|nd)|c(?:lrbit|mp|om)|div(?:_(?:q(?:r|)|r)|exact|)|fact|gcd(?:ext|)|hamdist|in(?:it|tval|vert)|jacobi|legendre|m(?:od|ul)|neg|or|p(?:erfect_square|o(?:pcount|w(?:m|))|rob_prime)|random|s(?:can(?:0|1)|etbit|ign|qrt(?:rem|)|trval|ub)|xor)|strftime)|regoriantojd|z(?:c(?:lose|ompress)|deflate|e(?:ncode|of)|file|get(?:c|s(?:s|))|inflate|open|p(?:assthru|uts)|re(?:ad|wind)|seek|tell|uncompress|write))|h(?:e(?:ader(?:s_(?:list|sent)|)|brev(?:c|)|xdec)|ighlight_(?:file|string)|t(?:ml(?:_entity_decode|entities|specialchars)|tp_build_query)|w(?:_(?:a(?:pi_(?:attribute|content|object)|rray2objrec)|c(?:h(?:angeobject|ildren(?:obj|))|lose|onnect(?:ion_info|)|p)|d(?:eleteobject|oc(?:byanchor(?:obj|)|ument_(?:attributes|bodytag|content|s(?:etcontent|ize)))|ummy)|e(?:dittext|rror(?:msg|))|free_document|get(?:an(?:chors(?:obj|)|dlock)|child(?:coll(?:obj|)|doccoll(?:obj|))|object(?:byquery(?:coll(?:obj|)|obj|)|)|parents(?:obj|)|re(?:llink|mote(?:children|))|srcbydestobj|text|username)|i(?:dentify|n(?:collections|fo|s(?:coll|doc|ert(?:anchors|document|object))))|m(?:apid|odifyobject|v)|new_document|o(?:bjrec2array|utput_document)|p(?:connect|ipedocument)|root|s(?:etlinkroot|tat)|unlock|who)|api_hgcsp)|ypot)|i(?:base_(?:a(?:dd_user|ffected_rows)|b(?:ackup|lob_(?:add|c(?:ancel|lose|reate)|echo|get|i(?:mport|nfo)|open))|c(?:lose|o(?:mmit(?:_ret|)|nnect))|d(?:b_info|elete_user|rop_db)|e(?:rr(?:code|msg)|xecute)|f(?:etch_(?:assoc|object|row)|ield_info|ree_(?:event_handler|query|result))|gen_id|m(?:aintain_db|odify_user)|n(?:ame_result|um_(?:fields|params))|p(?:aram_info|connect|repare)|query|r(?:estore|ollback(?:_ret|))|se(?:rv(?:er_info|ice_(?:attach|detach))|t_event_handler)|t(?:imefmt|rans)|wait_event)|conv(?:_(?:get_encoding|mime_(?:decode(?:_headers|)|encode)|s(?:et_encoding|tr(?:len|pos|rpos)|ubstr))|)|d(?:3_(?:get_(?:frame_(?:long_name|short_name)|genre_(?:id|list|name)|tag|version)|remove_tag|set_tag)|ate)|fx(?:_(?:affected_rows|b(?:lobinfile_mode|yteasvarchar)|c(?:lose|o(?:nnect|py_blob)|reate_(?:blob|char))|do|error(?:msg|)|f(?:etch_row|ield(?:properties|types)|ree_(?:blob|char|result))|get(?:_(?:blob|char)|sqlca)|htmltbl_result|nu(?:llformat|m_(?:fields|rows))|p(?:connect|repare)|query|textasvarchar|update_(?:blob|char))|us_(?:c(?:lose_slob|reate_slob)|free_slob|open_slob|read_slob|seek_slob|tell_slob|write_slob))|gnore_user_abort|m(?:a(?:ge(?:2wbmp|_type_to_(?:extension|mime_type)|a(?:lphablending|ntialias|rc)|c(?:har(?:up|)|o(?:lor(?:a(?:llocate(?:alpha|)|t)|closest(?:alpha|hwb|)|deallocate|exact(?:alpha|)|match|resolve(?:alpha|)|s(?:et|forindex|total)|transparent)|py(?:merge(?:gray|)|res(?:ampled|ized)|))|reate(?:from(?:g(?:d(?:2(?:part|)|)|if)|jpeg|png|string|wbmp|x(?:bm|pm))|truecolor|))|d(?:ashedline|estroy)|ellipse|f(?:il(?:l(?:ed(?:arc|ellipse|polygon|rectangle)|toborder|)|ter)|ont(?:height|width)|t(?:bbox|text))|g(?:ammacorrect|d(?:2|)|if)|i(?:nterlace|struecolor)|jpeg|l(?:ayereffect|ine|oadfont)|p(?:alettecopy|ng|olygon|s(?:bbox|copyfont|e(?:ncodefont|xtendfont)|freefont|loadfont|slantfont|text))|r(?:ectangle|otate)|s(?:avealpha|et(?:brush|pixel|style|t(?:hickness|ile))|tring(?:up|)|x|y)|t(?:ruecolortopalette|tf(?:bbox|text)|ypes)|wbmp|xbm)|p_(?:8bit|a(?:lerts|ppend)|b(?:ase64|inary|ody(?:struct|))|c(?:heck|l(?:earflag_full|ose)|reatemailbox)|delete(?:mailbox|)|e(?:rrors|xpunge)|fetch(?:_overview|body|header|structure)|get(?:_quota(?:root|)|acl|mailboxes|subscribed)|header(?:info|s|)|l(?:ast_error|ist(?:mailbox|s(?:can|ubscribed)|)|sub)|m(?:ail(?:_(?:co(?:mpose|py)|move)|boxmsginfo|)|ime_header_decode|sgno)|num_(?:msg|recent)|open|ping|qprint|r(?:e(?:namemailbox|open)|fc822_(?:parse_(?:adrlist|headers)|write_address))|s(?:canmailbox|e(?:arch|t(?:_quota|acl|flag_full))|ort|tatus|ubscribe)|t(?:hread|imeout)|u(?:id|n(?:delete|subscribe)|tf(?:7_(?:decode|encode)|8))))|p(?:lode|ort_request_variables))|n(?:_array|et_(?:ntop|pton)|gres_(?:autocommit|c(?:lose|o(?:mmit|nnect))|f(?:etch_(?:array|object|row)|ield_(?:length|n(?:ame|ullable)|precision|scale|type))|num_(?:fields|rows)|pconnect|query|rollback)|i_(?:alter|get(?:_all|)|restore|set)|t(?:erface_exists|val))|p(?:2long|tc(?:embed|parse))|rcg_(?:channel_mode|disconnect|eval_ecmascript_params|fetch_error_msg|get_username|html_encode|i(?:gnore_(?:add|del)|nvite|s_conn_alive)|join|kick|l(?:ist|ookup_format_messages|users)|msg|n(?:ames|ick(?:name_(?:escape|unescape)|)|otice)|oper|p(?:art|connect)|register_format_messages|set_(?:current|file|on_die)|topic|who(?:is|))|s_(?:a(?:rray|)|bool|callable|d(?:ir|ouble)|executable|f(?:i(?:le|nite)|loat)|in(?:finite|t(?:eger|))|l(?:ink|ong)|n(?:an|u(?:ll|meric))|object|re(?:a(?:dable|l)|source)|s(?:calar|oap_fault|tring|ubclass_of)|uploaded_file|writ(?:able|eable))|terator(?:-to-array|_count))|j(?:ava_last_exception_(?:clear|get)|d(?:dayofweek|monthname|to(?:french|gregorian|j(?:ewish|ulian)|unix))|ewishtojd|oin|peg2wbmp|uliantojd)|k(?:ey|rsort|sort)|l(?:cg_value|dap_(?:8859_to_t61|add|bind|c(?:lose|o(?:mpare|nnect|unt_entries))|d(?:elete|n2ufn)|e(?:rr(?:2str|no|or)|xplode_dn)|f(?:irst_(?:attribute|entry|reference)|ree_result)|get_(?:attributes|dn|entries|option|values(?:_len|))|list|mod(?:_(?:add|del|replace)|ify)|next_(?:attribute|entry|reference)|parse_re(?:ference|sult)|re(?:ad|name)|s(?:asl_bind|e(?:arch|t_(?:option|rebind_proc))|ort|tart_tls)|t61_to_8859|unbind)|evenshtein|ink(?:info|)|o(?:cal(?:econv|time)|g(?:1(?:0|p)|)|ng2ip)|stat|trim|zf_(?:compress|decompress|optimized_for))|m(?:a(?:i(?:l(?:parse_(?:determine_best_xfer_encoding|msg_(?:create|extract_part(?:_file|)|free|get_(?:part(?:_data|)|structure)|parse(?:_file|))|rfc822_parse_addresses|stream_encode|uudecode_all)|)|n)|x)|b_(?:convert_(?:case|encoding|kana|variables)|de(?:code_(?:mimeheader|numericentity)|tect_(?:encoding|order))|e(?:ncode_(?:mimeheader|numericentity)|reg(?:_(?:match|replace|search(?:_(?:get(?:pos|regs)|init|pos|regs|setpos)|))|i(?:_replace|)|))|get_info|http_(?:input|output)|internal_encoding|l(?:anguage|ist_encodings)|output_handler|p(?:arse_str|referred_mime_name)|regex_(?:encoding|set_options)|s(?:end_mail|plit|tr(?:cut|imwidth|len|pos|rpos|to(?:lower|upper)|width)|ubst(?:itute_character|r(?:_count|))))|c(?:al_(?:append_event|c(?:lose|reate_calendar)|d(?:a(?:te_(?:compare|valid)|y(?:_of_(?:week|year)|s_in_month))|elete_(?:calendar|event))|e(?:vent_(?:add_attribute|init|set_(?:alarm|c(?:ategory|lass)|description|end|recur_(?:daily|monthly_(?:mday|wday)|none|weekly|yearly)|start|title))|xpunge)|fetch_(?:current_stream_event|event)|is_leap_year|list_(?:alarms|events)|next_recurrence|open|popen|re(?:name_calendar|open)|s(?:nooze|tore_event)|time_valid|week_of_year)|rypt_(?:c(?:bc|fb|reate_iv)|decrypt|e(?:cb|nc(?:_(?:get_(?:algorithms_name|block_size|iv_size|key_size|modes_name|supported_key_sizes)|is_block_(?:algorithm(?:_mode|)|mode)|self_test)|rypt))|ge(?:neric(?:_(?:deinit|end|init)|)|t_(?:block_size|cipher_name|iv_size|key_size))|list_(?:algorithms|modes)|module_(?:close|get_(?:algo_(?:block_size|key_size)|supported_key_sizes)|is_block_(?:algorithm(?:_mode|)|mode)|open|self_test)|ofb)|ve_(?:adduser(?:arg|)|bt|c(?:h(?:eckstatus|kpwd|ngpwd)|o(?:mpleteauthorizations|nnect(?:ionerror|)))|d(?:e(?:l(?:ete(?:response|trans|usersetup)|user)|stroy(?:conn|engine))|isableuser)|e(?:dituser|nableuser)|force|g(?:et(?:c(?:ell(?:bynum|)|ommadelimited)|header|user(?:arg|param))|ft|l|ut)|i(?:nit(?:conn|engine|usersetup)|scommadelimited)|list(?:stats|users)|m(?:axconntimeout|onitor)|num(?:columns|rows)|override|p(?:arsecommadelimited|ing|reauth(?:completion|))|qc|re(?:sponseparam|turn(?:code|status|))|s(?:ale|et(?:blocking|dropfile|ip|ssl(?:_files|)|t(?:imeout|le)))|t(?:ext_(?:avs|c(?:ode|v))|rans(?:action(?:a(?:uth|vs)|batch|cv|i(?:d|tem)|ssent|text)|inqueue|new|param|send))|u(?:b|wait)|v(?:erify(?:connection|sslcert)|oid)))|d(?:5(?:_file|)|ecrypt_generic)|e(?:m(?:cache_debug|ory_get_usage)|t(?:aphone|hod_exists))|hash(?:_(?:count|get_(?:block_size|hash_name)|keygen_s2k)|)|i(?:crotime|me_content_type|n(?:g_(?:set(?:cubicthreshold|scale)|useswfversion)|))|k(?:dir|time)|o(?:ney_format|ve_uploaded_file)|s(?:ession_(?:c(?:o(?:nnect|unt)|reate)|d(?:estroy|isconnect)|find|get(?:_(?:array|data)|)|inc|l(?:ist(?:var|)|ock)|plugin|randstr|set(?:_(?:array|data)|)|timeout|un(?:iq|lock))|g_(?:get_queue|re(?:ceive|move_queue)|s(?:e(?:nd|t_queue)|tat_queue))|ql(?:_(?:affected_rows|c(?:lose|onnect|reate(?:_db|db))|d(?:ata_seek|b(?:_query|name)|rop_db)|error|f(?:etch_(?:array|field|object|row)|ield(?:_(?:flags|len|name|seek|t(?:able|ype))|flags|len|name|t(?:able|ype))|ree_result)|list_(?:dbs|fields|tables)|num(?:_(?:fields|rows)|fields|rows)|pconnect|query|re(?:gcase|sult)|select_db|tablename)|)|sql_(?:bind|c(?:lose|onnect)|data_seek|execute|f(?:etch_(?:a(?:rray|ssoc)|batch|field|object|row)|ield_(?:length|name|seek|type)|ree_(?:result|statement))|g(?:et_last_message|uid_string)|init|min_(?:error_severity|message_severity)|n(?:ext_result|um_(?:fields|rows))|pconnect|query|r(?:esult|ows_affected)|select_db))|t_(?:getrandmax|rand|srand)|uscat_(?:close|g(?:et|ive)|setup(?:_net|))|ysql(?:_(?:affected_rows|c(?:hange_user|l(?:ient_encoding|ose)|onnect|reate_db)|d(?:ata_seek|b_(?:name|query)|rop_db)|e(?:rr(?:no|or)|scape_string)|f(?:etch_(?:a(?:rray|ssoc)|field|lengths|object|row)|ield_(?:flags|len|name|seek|t(?:able|ype))|ree_result)|get_(?:client_info|host_info|proto_info|server_info)|in(?:fo|sert_id)|list_(?:dbs|fields|processes|tables)|num_(?:fields|rows)|p(?:connect|ing)|query|re(?:al_escape_string|sult)|s(?:elect_db|tat)|t(?:ablename|hread_id)|unbuffered_query)|i(?:_(?:a(?:ffected_rows|utocommit)|bind_(?:param|result)|c(?:ha(?:nge_user|racter_set_name)|l(?:ient_encoding|ose)|o(?:mmit|nnect(?:_err(?:no|or)|)))|d(?:ata_seek|ebug|isable_r(?:eads_from_master|pl_parse)|ump_debug_info)|e(?:mbedded_connect|nable_r(?:eads_from_master|pl_parse)|rr(?:no|or)|scape_string|xecute)|f(?:etch(?:_(?:a(?:rray|ssoc)|field(?:_direct|s|)|lengths|object|row)|)|ield_(?:count|seek|tell)|ree_result)|get_(?:client_(?:info|version)|host_info|metadata|proto_info|server_(?:info|version))|in(?:fo|it|sert_id)|kill|m(?:aster_query|ore_results|ulti_query)|n(?:ext_result|um_(?:fields|rows))|options|p(?:aram_count|ing|repare)|query|r(?:e(?:al_(?:connect|escape_string|query)|port)|ollback|pl_(?:p(?:arse_enabled|robe)|query_type))|s(?:e(?:lect_db|nd_(?:long_data|query)|rver_(?:end|init)|t_opt)|qlstate|sl_set|t(?:at|mt_(?:affected_rows|bind_(?:param|result)|close|data_seek|e(?:rr(?:no|or)|xecute)|f(?:etch|ree_result)|init|num_rows|p(?:aram_count|repare)|res(?:et|ult_metadata)|s(?:end_long_data|qlstate|tore_result))|ore_result))|thread_(?:id|safe)|use_result|warning_count)|)))|n(?:at(?:casesort|sort)|curses_(?:a(?:dd(?:ch(?:nstr|str|)|nstr|str)|ssume_default_colors|ttr(?:o(?:ff|n)|set))|b(?:audrate|eep|kgd(?:set|)|o(?:rder|ttom_panel))|c(?:an_change_color|break|l(?:ear|rto(?:bot|eol))|olor_(?:content|set)|urs_set)|d(?:e(?:f(?:_(?:prog_mode|shell_mode)|ine_key)|l(?:_panel|ay_output|ch|eteln|win))|oupdate)|e(?:cho(?:char|)|nd|rase(?:char|))|f(?:ilter|l(?:ash|ushinp))|get(?:ch|m(?:axyx|ouse)|yx)|h(?:a(?:lfdelay|s_(?:colors|i(?:c|l)|key))|ide_panel|line)|i(?:n(?:ch|it(?:_(?:color|pair)|)|s(?:ch|delln|ertln|str|tr))|sendwin)|k(?:ey(?:ok|pad)|illchar)|longname|m(?:eta|o(?:use(?:_trafo|interval|mask)|ve(?:_panel|))|v(?:add(?:ch(?:nstr|str|)|nstr|str)|cur|delch|getch|hline|inch|vline|waddstr))|n(?:apms|ew(?:_panel|pad|win)|l|o(?:cbreak|echo|nl|qiflush|raw))|p(?:a(?:ir_content|nel_(?:above|below|window))|noutrefresh|refresh|utp)|qiflush|r(?:aw|e(?:fresh|place_panel|set(?:_(?:prog_mode|shell_mode)|ty)))|s(?:avetty|cr(?:_(?:dump|init|restore|set)|l)|how_panel|lk_(?:attr(?:o(?:ff|n)|set|)|c(?:lear|olor)|init|noutrefresh|re(?:fresh|store)|set|touch)|ta(?:nd(?:end|out)|rt_color))|t(?:erm(?:attrs|name)|imeout|op_panel|ypeahead)|u(?:nget(?:ch|mouse)|pdate_panels|se_(?:default_colors|e(?:nv|xtended_names)))|v(?:idattr|line)|w(?:a(?:dd(?:ch|str)|ttr(?:o(?:ff|n)|set))|border|c(?:lear|olor_set)|erase|getch|hline|mo(?:use_trafo|ve)|noutrefresh|refresh|stand(?:end|out)|vline))|ext|gettext|l(?:2br|_langinfo)|otes_(?:body|c(?:opy_db|reate_(?:db|note))|drop_db|find_note|header_info|list_msgs|mark_(?:read|unread)|nav_create|search|unread|version)|sapi_(?:re(?:quest_headers|sponse_headers)|virtual)|umber_format)|o(?:b_(?:clean|end_(?:clean|flush)|flush|g(?:et_(?:c(?:lean|ontents)|flush|le(?:ngth|vel)|status)|zhandler)|i(?:conv_handler|mplicit_flush)|list_handlers|start|tidyhandler)|c(?:i(?:_(?:bind_by_name|c(?:ancel|lose|o(?:mmit|nnect))|define_by_name|e(?:rror|xecute)|f(?:etch(?:_(?:a(?:ll|rray|ssoc)|object|row)|)|ield_(?:is_null|name|precision|s(?:cale|ize)|type(?:_raw|))|ree_statement)|internal_debug|lob_(?:copy|is_equal)|n(?:ew_(?:c(?:o(?:llection|nnect)|ursor)|descriptor)|um_(?:fields|rows))|p(?:a(?:rse|ssword_change)|connect)|r(?:esult|ollback)|s(?:e(?:rver_version|t_prefetch)|tatement_type))|bindbyname|c(?:ancel|loselob|o(?:l(?:l(?:a(?:ppend|ssign(?:elem|))|getelem|max|size|trim)|umn(?:isnull|name|precision|s(?:cale|ize)|type(?:raw|)))|mmit))|definebyname|e(?:rror|xecute)|f(?:etch(?:into|statement|)|ree(?:c(?:ollection|ursor)|desc|statement))|internaldebug|lo(?:adlob|go(?:ff|n))|n(?:ew(?:c(?:ollection|ursor)|descriptor)|logon|umcols)|p(?:arse|logon)|r(?:esult|o(?:llback|wcount))|s(?:avelob(?:file|)|e(?:rverversion|tprefetch)|tatementtype)|write(?:lobtofile|temporarylob))|tdec)|dbc_(?:autocommit|binmode|c(?:lose(?:_all|)|o(?:lumn(?:privileges|s)|mmit|nnect)|ursor)|d(?:ata_source|o)|e(?:rror(?:msg|)|xec(?:ute|))|f(?:etch_(?:array|into|object|row)|ield_(?:len|n(?:ame|um)|precision|scale|type)|oreignkeys|ree_result)|gettypeinfo|longreadlen|n(?:ext_result|um_(?:fields|rows))|p(?:connect|r(?:epare|imarykeys|ocedure(?:columns|s)))|r(?:esult(?:_all|)|ollback)|s(?:etoption|pecialcolumns|tatistics)|table(?:privileges|s))|pen(?:al_(?:buffer_(?:create|d(?:ata|estroy)|get|loadwav)|context_(?:c(?:reate|urrent)|destroy|process|suspend)|device_(?:close|open)|listener_(?:get|set)|s(?:ource_(?:create|destroy|get|p(?:ause|lay)|rewind|s(?:et|top))|tream))|dir|log|ssl_(?:csr_(?:export(?:_to_file|)|new|sign)|error_string|free_key|get_p(?:rivatekey|ublickey)|open|p(?:k(?:cs7_(?:decrypt|encrypt|sign|verify)|ey_(?:export(?:_to_file|)|get_p(?:rivate|ublic)|new))|rivate_(?:decrypt|encrypt)|ublic_(?:decrypt|encrypt))|s(?:eal|ign)|verify|x509_(?:check(?:_private_key|purpose)|export(?:_to_file|)|free|parse|read)))|r(?:a_(?:bind|c(?:lose|o(?:lumn(?:name|size|type)|mmit(?:o(?:ff|n)|)))|do|e(?:rror(?:code|)|xec)|fetch(?:_into|)|getcolumn|logo(?:ff|n)|num(?:cols|rows)|open|p(?:arse|logon)|rollback)|d)|utput_(?:add_rewrite_var|reset_rewrite_vars)|v(?:er(?:load|ride_function)|rimos_(?:c(?:lose|o(?:mmit|nnect)|ursor)|exec(?:ute|)|f(?:etch_(?:into|row)|ield_(?:len|n(?:ame|um)|type)|ree_result)|longreadlen|num_(?:fields|rows)|prepare|r(?:esult(?:_all|)|ollback))))|p(?:a(?:ck|rse(?:_(?:ini_file|str|url)|kit_(?:compile_(?:file|string)|func_arginfo))|ssthru|thinfo)|c(?:lose|ntl_(?:alarm|exec|fork|getpriority|s(?:etpriority|ignal)|w(?:ait(?:pid|)|exitstatus|if(?:exited|s(?:ignaled|topped))|stopsig|termsig)))|df_(?:a(?:dd_(?:annotation|bookmark|l(?:aunchlink|ocallink)|note|outline|pdflink|thumbnail|weblink)|rc(?:n|)|ttach_file)|begin_(?:pa(?:ge|ttern)|template)|c(?:ircle|l(?:ip|ose(?:_(?:image|pdi(?:_page|))|path(?:_(?:fill_stroke|stroke)|)|))|on(?:cat|tinue_text)|urveto)|delete|end(?:_(?:pa(?:ge|ttern)|template)|path)|fi(?:ll(?:_stroke|)|ndfont)|get_(?:buffer|font(?:name|size|)|image_(?:height|width)|m(?:ajorversion|inorversion)|p(?:arameter|di_(?:parameter|value))|value)|initgraphics|lineto|m(?:akespotcolor|oveto)|new|open(?:_(?:ccitt|file|gif|image(?:_file|)|jpeg|memory_image|p(?:di(?:_page|)|ng)|tiff)|)|place_(?:image|pdi_page)|r(?:e(?:ct|store)|otate)|s(?:ave|cale|et(?:_(?:border_(?:color|dash|style)|char_spacing|duration|font|horiz_scaling|info(?:_(?:author|creator|keywords|subject|title)|)|leading|parameter|text_(?:matrix|pos|r(?:endering|ise))|value|word_spacing)|color|dash|f(?:lat|ont)|gray(?:_(?:fill|stroke)|)|line(?:cap|join|width)|m(?:atrix|iterlimit)|polydash|rgbcolor(?:_(?:fill|stroke)|))|how(?:_(?:boxed|xy)|)|kew|tr(?:ingwidth|oke))|translate)|f(?:pro_(?:cleanup|init|process(?:_raw|)|version)|sockopen)|g_(?:affected_rows|c(?:ancel_query|l(?:ient_encoding|ose)|o(?:n(?:nect(?:ion_(?:busy|reset|status)|)|vert)|py_(?:from|to)))|d(?:bname|elete)|e(?:nd_copy|scape_(?:bytea|string))|f(?:etch_(?:a(?:ll|rray|ssoc)|object|r(?:esult|ow))|ield_(?:is_null|n(?:ame|um)|prtlen|size|type)|ree_result)|get_(?:notify|pid|result)|host|insert|l(?:ast_(?:error|notice|oid)|o_(?:c(?:lose|reate)|export|import|open|read(?:_all|)|seek|tell|unlink|write))|meta_data|num_(?:fields|rows)|options|p(?:arameter_status|connect|ing|ort|ut_line)|query|result_(?:error|s(?:eek|tatus))|se(?:lect|nd_query|t_client_encoding)|t(?:race|ty)|u(?:n(?:escape_bytea|trace)|pdate)|version)|hp(?:_(?:check_syntax|ini_scanned_files|logo_guid|register_url_stream_wrapper|s(?:api_name|tr(?:eam_(?:c(?:a(?:n_cast|st)|lose(?:dir|)|opy_to_(?:mem|stream))|eof|f(?:ilter_(?:register_factory|unregister_factory)|lush|open_(?:from_file|t(?:emporary_file|mpfile)))|get(?:c|s)|is(?:_persistent|)|make_seekable|open(?:_wrapper(?:_(?:as_file|ex)|)|dir)|passthru|re(?:ad(?:dir|)|winddir)|s(?:eek|ock_open_(?:from_socket|host|unix)|tat(?:_path|))|tell|write)|ip_whitespace))|un(?:ame|register_url_stream_wrapper))|credits|info|version)|i|ng2wbmp|o(?:pen|s(?:ix_(?:ctermid|get(?:_last_error|cwd|e(?:gid|uid)|g(?:id|r(?:gid|nam|oups))|login|p(?:g(?:id|rp)|id|pid|w(?:nam|uid))|rlimit|sid|uid)|isatty|kill|mkfifo|s(?:et(?:e(?:gid|uid)|gid|pgid|sid|uid)|trerror)|t(?:imes|tyname)|uname)|)|w)|r(?:e(?:g_(?:grep|match(?:_all|)|quote|replace(?:_callback|)|split)|v)|int(?:_r|er_(?:abort|c(?:lose|reate_(?:brush|dc|font|pen))|d(?:elete_(?:brush|dc|font|pen)|raw_(?:bmp|chord|elipse|line|pie|r(?:ectangle|oundrect)|text))|end_(?:doc|page)|get_option|l(?:ist|ogical_fontheight)|open|s(?:e(?:lect_(?:brush|font|pen)|t_option)|tart_(?:doc|page))|write)|f)|oc_(?:close|get_status|nice|open|terminate))|spell_(?:add_to_(?:personal|session)|c(?:heck|lear_session|onfig_(?:create|d(?:ata_dir|ict_dir)|ignore|mode|personal|r(?:epl|untogether)|save_repl))|new(?:_(?:config|personal)|)|s(?:ave_wordlist|tore_replacement|uggest))|utenv)|q(?:dom_(?:error|tree)|uote(?:d_printable_decode|meta))|r(?:a(?:d2deg|n(?:d|ge)|r_(?:close|entry_get|list|open)|wurl(?:decode|encode))|e(?:a(?:d(?:_exif_data|dir|file|gzfile|lin(?:e(?:_(?:add_history|c(?:allback_(?:handler_(?:install|remove)|read_char)|lear_history|ompletion_function)|info|list_history|on_new_line|re(?:ad_history|display)|write_history)|)|k))|lpath)|code(?:_(?:file|string)|)|gister_(?:shutdown_function|tick_function)|name(?:_function|)|s(?:et|tore_(?:e(?:rror_handler|xception_handler)|include_path))|wind(?:dir|))|mdir|ound|sort|trim)|s(?:candir|e(?:m_(?:acquire|get|re(?:lease|move))|rialize|s(?:am_(?:affected_rows|co(?:mmit|nnect)|di(?:agnostic|sconnect)|e(?:rrormsg|xecimm)|f(?:etch_(?:array|r(?:esult|ow))|ield_(?:array|name)|ree_result)|num_fields|query|rollback|se(?:ek_row|ttransaction))|sion_(?:c(?:ache_(?:expire|limiter)|ommit)|de(?:code|stroy)|encode|get_cookie_params|i(?:d|s_registered)|module_name|name|reg(?:enerate_id|ister)|s(?:ave_path|et_(?:cookie_params|save_handler)|tart)|un(?:register|set)|write_close))|t(?:_(?:e(?:rror_handler|xception_handler)|file_buffer|include_path|magic_quotes_runtime|time_limit)|cookie|locale|rawcookie|type))|h(?:a1(?:_file|)|ell_exec|m(?:_(?:attach|detach|get_var|put_var|remove(?:_var|))|op_(?:close|delete|open|read|size|write))|ow_source|uffle)|i(?:m(?:ilar_text|plexml_(?:import_dom|load_(?:file|string)))|n(?:h|)|zeof)|leep|nmp(?:_(?:get_(?:quick_print|valueretrieval)|read_mib|set_(?:enum_print|oid_numeric_print|quick_print|valueretrieval))|get(?:next|)|realwalk|set|walk(?:oid|))|o(?:cket_(?:accept|bind|c(?:l(?:ear_error|ose)|onnect|reate(?:_(?:listen|pair)|))|get(?:_(?:option|status)|peername|sockname)|l(?:ast_error|isten)|re(?:ad|cv(?:from|))|s(?:e(?:lect|nd(?:to|)|t_(?:block(?:ing|)|nonblock|option|timeout))|hutdown|trerror)|write)|rt|undex)|p(?:l(?:_classes|it(?:i|))|rintf)|q(?:l(?:_regcase|ite_(?:array_query|busy_timeout|c(?:hanges|lose|olumn|reate_(?:aggregate|function)|urrent)|e(?:rror_string|scape_string|xec)|f(?:actory|etch_(?:a(?:ll|rray)|column_types|object|s(?:ingle|tring))|ield_name)|has_(?:more|prev)|l(?:ast_(?:error|insert_rowid)|ib(?:encoding|version))|n(?:ext|um_(?:fields|rows))|open|p(?:open|rev)|query|rewind|s(?:eek|ingle_query)|u(?:df_(?:decode_binary|encode_binary)|nbuffered_query)))|rt)|rand|s(?:canf|h2_(?:auth_(?:none|p(?:assword|ubkey_file))|connect|exec|f(?:etch_stream|ingerprint)|methods_negotiated|s(?:cp_(?:recv|send)|ftp(?:_(?:lstat|mkdir|r(?:e(?:a(?:dlink|lpath)|name)|mdir)|s(?:tat|ymlink)|unlink)|)|hell)|tunnel))|t(?:at|r(?:_(?:ireplace|pad|r(?:ep(?:eat|lace)|ot13)|s(?:huffle|plit)|word_count)|c(?:asecmp|hr|mp|oll|spn)|eam_(?:co(?:ntext_(?:create|get_(?:default|options)|set_(?:option|params))|py_to_stream)|filter_(?:append|prepend|re(?:gister|move))|get_(?:contents|filters|line|meta_data|transports|wrappers)|register_wrapper|s(?:e(?:lect|t_(?:blocking|timeout|write_buffer))|ocket_(?:accept|client|enable_crypto|get_name|pair|recvfrom|se(?:ndto|rver)))|wrapper_(?:re(?:gister|store)|unregister))|ftime|i(?:p(?:_tags|cslashes|os|slashes)|str)|len|n(?:atc(?:asecmp|mp)|c(?:asecmp|mp))|p(?:brk|os|time)|r(?:chr|ev|ipos|pos)|s(?:pn|tr)|t(?:o(?:k|lower|time|upper)|r)|val))|ubstr(?:_(?:co(?:mpare|unt)|replace)|)|wf(?:_(?:a(?:ction(?:g(?:eturl|oto(?:frame|label))|nextframe|p(?:lay|revframe)|s(?:ettarget|top)|togglequality|waitforframe)|dd(?:buttonrecord|color))|closefile|define(?:bitmap|font|line|poly|rect|text)|end(?:button|doaction|s(?:hape|ymbol))|font(?:s(?:ize|lant)|tracking)|get(?:bitmapinfo|f(?:ontinfo|rame))|l(?:abelframe|ookat)|m(?:odifyobject|ulcolor)|nextid|o(?:ncondition|penfile|rtho(?:2|))|p(?:erspective|laceobject|o(?:larview|pmatrix|sround)|ushmatrix)|r(?:emoveobject|otate)|s(?:cale|etf(?:ont|rame)|h(?:ape(?:arc|curveto(?:3|)|fill(?:bitmap(?:clip|tile)|off|solid)|line(?:solid|to)|moveto)|owframe)|tart(?:button|doaction|s(?:hape|ymbol)))|t(?:extwidth|ranslate)|viewport)|action|b(?:itmap|utton(?:_keypress|))|displayitem|f(?:ill|ont)|gradient|mo(?:rph|vie)|s(?:hape|prite)|text(?:field|))|y(?:base_(?:affected_rows|c(?:lose|onnect)|d(?:ata_seek|eadlock_retry_count)|f(?:etch_(?:a(?:rray|ssoc)|field|object|row)|ield_seek|ree_result)|get_last_message|min_(?:client_severity|error_severity|message_severity|server_severity)|num_(?:fields|rows)|pconnect|query|result|se(?:lect_db|t_message_handler)|unbuffered_query)|mlink|s(?:log|tem)))|t(?:an(?:h|)|cpwrap_check|e(?:mpnam|xtdomain)|i(?:dy_(?:access_count|c(?:lean_repair|onfig_count)|diagnose|error_count|get(?:_(?:body|config|error_buffer|h(?:ead|tml(?:_ver|))|output|r(?:elease|oot)|status)|opt)|is_x(?:html|ml)|load_config|parse_(?:file|string)|re(?:pair_(?:file|string)|set_config)|s(?:ave_config|et(?:_encoding|opt))|warning_count)|me(?:_nanosleep|))|mpfile|o(?:ken_(?:get_all|name)|uch)|ri(?:gger_error|m))|u(?:asort|c(?:first|words)|dm_(?:a(?:dd_search_limit|lloc_agent(?:_array|)|pi_version)|c(?:at_(?:list|path)|heck_(?:charset|stored)|l(?:ear_search_limits|ose_stored)|rc32)|err(?:no|or)|f(?:ind|ree_(?:agent|ispell_data|res))|get_(?:doc_count|res_(?:field|param))|hash32|load_ispell_data|open_stored|set_agent_param)|ksort|mask|n(?:i(?:qid|xtojd)|link|pack|register_tick_function|serialize)|rl(?:decode|encode)|s(?:er_error|leep|ort)|tf8_(?:decode|encode))|v(?:ar(?:_(?:dump|export)|iant(?:_(?:a(?:bs|dd|nd)|c(?:a(?:st|t)|mp)|d(?:ate_(?:from_timestamp|to_timestamp)|iv)|eqv|fix|get_type|i(?:div|mp|nt)|m(?:od|ul)|n(?:eg|ot)|or|pow|round|s(?:et(?:_type|)|ub)|xor)|))|ersion_compare|fprintf|irtual|p(?:opmail_(?:a(?:dd_(?:alias_domain(?:_ex|)|domain(?:_ex|)|user)|lias_(?:add|del(?:_domain|)|get(?:_all|))|uth_user)|del_(?:domain(?:_ex|)|user)|error|passwd|set_user_quota)|rintf)|sprintf)|w(?:32api_(?:deftype|in(?:it_dtype|voke_function)|register_function|set_call_method)|ddx_(?:add_vars|deserialize|packet_(?:end|start)|serialize_va(?:lue|rs))|ordwrap)|x(?:attr_(?:get|list|remove|s(?:et|upported))|diff_(?:file_(?:diff(?:_binary|)|merge3|patch(?:_binary|))|string_(?:diff(?:_binary|)|merge3|patch(?:_binary|)))|ml(?:_(?:error_string|get_(?:current_(?:byte_index|column_number|line_number)|error_code)|parse(?:_into_struct|r_(?:create(?:_ns|)|free|get_option|set_option)|)|set_(?:character_data_handler|default_handler|e(?:lement_handler|nd_namespace_decl_handler|xternal_entity_ref_handler)|notation_decl_handler|object|processing_instruction_handler|start_namespace_decl_handler|unparsed_entity_decl_handler))|rpc_(?:decode(?:_request|)|encode(?:_request|)|get_type|is_fault|parse_method_descriptions|se(?:rver_(?:add_introspection_data|c(?:all_method|reate)|destroy|register_(?:introspection_callback|method))|t_type)))|p(?:ath_(?:eval(?:_expression|)|new_context)|tr_(?:eval|new_context))|sl(?:_xsltprocessor_(?:get_parameter|has_exslt_support|import_stylesheet|re(?:gister_php_functions|move_parameter)|set_parameter|transform_to_(?:doc|uri|xml))|t_(?:backend_(?:info|name|version)|create|err(?:no|or)|free|getopt|process|set(?:_(?:base|e(?:ncoding|rror_handler)|log|object|s(?:ax_handler(?:s|)|cheme_handler(?:s|)))|opt))))|y(?:az_(?:addinfo|c(?:cl_(?:conf|parse)|lose|onnect)|database|e(?:lement|rr(?:no|or)|s_result)|get_option|hits|itemorder|present|r(?:ange|ecord)|s(?:c(?:an(?:_result|)|hema)|e(?:arch|t_option)|ort|yntax)|wait)|p_(?:all|cat|err(?:_string|no)|first|get_default_domain|ma(?:ster|tch)|next|order))|z(?:end_(?:logo_guid|version)|ip_(?:close|entry_(?:c(?:lose|ompress(?:edsize|ionmethod))|filesize|name|open|read)|open|read)|lib_get_coding_type))\\b" | ||
| 139 | - , _style: "color: #e17100;" | ||
| 140 | - } | ||
| 141 | - } | ||
| 142 | -} |
ktatompub/Client/js/chili/php.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -/* ---------------------------------------------------------------------------- | ||
| 13 | - * this recipe uses a little trick for highlighting php code | ||
| 14 | - * 1: replace each php snippet with a placeholder | ||
| 15 | - * 2: highlight html without php and php snippets apart | ||
| 16 | - * 3: replace each placeholder with its highlighted php snippet | ||
| 17 | - * | ||
| 18 | - * the trick is not perfect only if the html without php is broken | ||
| 19 | - * however, in such a case many highlighters get fooled but Chili does not | ||
| 20 | - * | ||
| 21 | - * --- | ||
| 22 | - * this recipe has been adapted for working with Safari | ||
| 23 | - * in fact, Safari cannot match more than 101236 characters with a lazy star | ||
| 24 | - * --------------------------------------------------------------------------*/ | ||
| 25 | -{ | ||
| 26 | - _name: "php" | ||
| 27 | - , _case: true | ||
| 28 | - , _main: { | ||
| 29 | - all: { | ||
| 30 | - _match: /[\w\W]*/ | ||
| 31 | - , _replace: function( all ) { | ||
| 32 | - var placeholder = String.fromCharCode(0); | ||
| 33 | - var blocks = []; | ||
| 34 | - var that = this; | ||
| 35 | - var no_php_1 = all.replace( /<\?[^?]*\?+(?:[^>][^?]*\?+)*>/g, function( block ) { | ||
| 36 | - blocks.push( that.x( block, '/block/php_1' ) ); | ||
| 37 | - return placeholder; | ||
| 38 | - } ); | ||
| 39 | - var no_php_2 = no_php_1.replace( /^[^?]*\?+(?:[^>][^?]*\?+)*>|<\?[\w\W]*$/g, function( block ) { | ||
| 40 | - blocks.push( that.x( block, '/block/php_2' ) ); | ||
| 41 | - return placeholder; | ||
| 42 | - } ); | ||
| 43 | - if( blocks.length ) { | ||
| 44 | - var html = this.x( no_php_2, 'html' ); | ||
| 45 | - var count = 0; | ||
| 46 | - return html.replace( new RegExp( placeholder, "g" ), function() { | ||
| 47 | - return blocks[ count++ ]; | ||
| 48 | - } ); | ||
| 49 | - } | ||
| 50 | - else { | ||
| 51 | - return this.x( all, '/php' ); | ||
| 52 | - } | ||
| 53 | - } | ||
| 54 | - } | ||
| 55 | - } | ||
| 56 | - , block: { | ||
| 57 | - php_1: { // --- <? +++ ?> --- | ||
| 58 | - _match: /(<\?(?:php\b)?)([^?]*\?+(?:[^>][^?]*\?+)*>)/ | ||
| 59 | - , _replace: function( all, open, content ) { | ||
| 60 | - return "<span class='start'>" + this.x( open ) + "</span>" | ||
| 61 | - + this.x( content.replace( /\?>$/, '' ), '/php' ) | ||
| 62 | - + "<span class='end'>" + this.x( '?>' ) + "</span>"; | ||
| 63 | - } | ||
| 64 | - , _style: { | ||
| 65 | - start: "color: red; font-weight: bold" | ||
| 66 | - , end: "color: red;" | ||
| 67 | - } | ||
| 68 | - } | ||
| 69 | - , php_2: { // +++ ?> --- <? +++ | ||
| 70 | - _match: /([^?]*\?+(?:[^>][^?]*\?+)*>)|(<\?(?:php\b)?)([\w\W]*)/ | ||
| 71 | - , _replace: function( all, content, open2, content2 ) { | ||
| 72 | - if( open2 ) { | ||
| 73 | - return "<span class='start'>" + this.x( open2 ) + "</span>" | ||
| 74 | - + this.x( content2, '/php' ); | ||
| 75 | - } | ||
| 76 | - else { | ||
| 77 | - return this.x( content.replace( /\?>$/, '' ), '/php' ) | ||
| 78 | - + "<span class='end'>" + this.x( '?>' ) + "</span>"; | ||
| 79 | - } | ||
| 80 | - } | ||
| 81 | - , _style: { | ||
| 82 | - start: "color: red; font-weight: bold" | ||
| 83 | - , end: "color: red;" | ||
| 84 | - } | ||
| 85 | - } | ||
| 86 | - } | ||
| 87 | - , php: { | ||
| 88 | - mlcom: { | ||
| 89 | - _match: /\/\*[^*]*\*+([^\/][^*]*\*+)*\// | ||
| 90 | - , _style: "color: gray;" | ||
| 91 | - } | ||
| 92 | - , com: { | ||
| 93 | - _match: /(?:\/\/.*)|(?:[^\\]\#.*)/ | ||
| 94 | - , _style: "color: green;" | ||
| 95 | - } | ||
| 96 | - , string1: { | ||
| 97 | - _match: /\'[^\'\\]*(?:\\.[^\'\\]*)*\'/ | ||
| 98 | - , _style: "color: purple;" | ||
| 99 | - } | ||
| 100 | - , string2: { | ||
| 101 | - _match: /\"[^\"\\]*(?:\\.[^\"\\]*)*\"/ | ||
| 102 | - , _style: "color: fuchsia;" | ||
| 103 | - } | ||
| 104 | - , value: { | ||
| 105 | - _match: /\b(?:[Nn][Uu][Ll][Ll]|[Tt][Rr][Uu][Ee]|[Ff][Aa][Ll][Ss][Ee])\b/ | ||
| 106 | - , _style: "color: gray; font-weight: bold;" | ||
| 107 | - } | ||
| 108 | - , number: { | ||
| 109 | - _match: /\b[+-]?(\d*\.?\d+|\d+\.?\d*)([eE][+-]?\d+)?\b/ | ||
| 110 | - , _style: "color: red;" | ||
| 111 | - } | ||
| 112 | - , const1: { | ||
| 113 | - _match: /\b(?:DEFAULT_INCLUDE_PATH|E_(?:ALL|CO(?:MPILE_(?:ERROR|WARNING)|RE_(?:ERROR|WARNING))|ERROR|NOTICE|PARSE|STRICT|USER_(?:ERROR|NOTICE|WARNING)|WARNING)|P(?:EAR_(?:EXTENSION_DIR|INSTALL_DIR)|HP_(?:BINDIR|CONFIG_FILE_(?:PATH|SCAN_DIR)|DATADIR|E(?:OL|XTENSION_DIR)|INT_(?:MAX|SIZE)|L(?:IBDIR|OCALSTATEDIR)|O(?:S|UTPUT_HANDLER_(?:CONT|END|START))|PREFIX|S(?:API|HLIB_SUFFIX|YSCONFDIR)|VERSION))|__COMPILER_HALT_OFFSET__)\b/ | ||
| 114 | - , _style: "color: red;" | ||
| 115 | - } | ||
| 116 | - , const2: { | ||
| 117 | - _match: /\b(?:A(?:B(?:DAY_(?:1|2|3|4|5|6|7)|MON_(?:1(?:0|1|2|)|2|3|4|5|6|7|8|9))|LT_DIGITS|M_STR|SSERT_(?:ACTIVE|BAIL|CALLBACK|QUIET_EVAL|WARNING))|C(?:ASE_(?:LOWER|UPPER)|HAR_MAX|O(?:DESET|NNECTION_(?:ABORTED|NORMAL|TIMEOUT)|UNT_(?:NORMAL|RECURSIVE))|R(?:EDITS_(?:ALL|DOCS|FULLPAGE|G(?:ENERAL|ROUP)|MODULES|QA|SAPI)|NCYSTR|YPT_(?:BLOWFISH|EXT_DES|MD5|S(?:ALT_LENGTH|TD_DES)))|URRENCY_SYMBOL)|D(?:AY_(?:1|2|3|4|5|6|7)|ECIMAL_POINT|IRECTORY_SEPARATOR|_(?:FMT|T_FMT))|E(?:NT_(?:COMPAT|NOQUOTES|QUOTES)|RA(?:_(?:D_(?:FMT|T_FMT)|T_FMT|YEAR)|)|XTR_(?:IF_EXISTS|OVERWRITE|PREFIX_(?:ALL|I(?:F_EXISTS|NVALID)|SAME)|SKIP))|FRAC_DIGITS|GROUPING|HTML_(?:ENTITIES|SPECIALCHARS)|IN(?:FO_(?:ALL|C(?:ONFIGURATION|REDITS)|ENVIRONMENT|GENERAL|LICENSE|MODULES|VARIABLES)|I_(?:ALL|PERDIR|SYSTEM|USER)|T_(?:CURR_SYMBOL|FRAC_DIGITS))|L(?:C_(?:ALL|C(?:OLLATE|TYPE)|M(?:ESSAGES|ONETARY)|NUMERIC|TIME)|O(?:CK_(?:EX|NB|SH|UN)|G_(?:A(?:LERT|UTH(?:PRIV|))|C(?:ONS|R(?:IT|ON))|D(?:AEMON|EBUG)|E(?:MERG|RR)|INFO|KERN|L(?:OCAL(?:0|1|2|3|4|5|6|7)|PR)|MAIL|N(?:DELAY|EWS|O(?:TICE|WAIT))|ODELAY|P(?:ERROR|ID)|SYSLOG|U(?:SER|UCP)|WARNING)))|M(?:ON_(?:1(?:0|1|2|)|2|3|4|5|6|7|8|9|DECIMAL_POINT|GROUPING|THOUSANDS_SEP)|_(?:1_PI|2_(?:PI|SQRTPI)|E|L(?:N(?:10|2)|OG(?:10E|2E))|PI(?:_(?:2|4)|)|SQRT(?:1_2|2)))|N(?:EGATIVE_SIGN|O(?:EXPR|STR)|_(?:CS_PRECEDES|S(?:EP_BY_SPACE|IGN_POSN)))|P(?:ATH(?:INFO_(?:BASENAME|DIRNAME|EXTENSION)|_SEPARATOR)|M_STR|OSITIVE_SIGN|_(?:CS_PRECEDES|S(?:EP_BY_SPACE|IGN_POSN)))|RADIXCHAR|S(?:EEK_(?:CUR|END|SET)|ORT_(?:ASC|DESC|NUMERIC|REGULAR|STRING)|TR_PAD_(?:BOTH|LEFT|RIGHT))|T(?:HOUS(?:ANDS_SEP|EP)|_FMT(?:_AMPM|))|YES(?:EXPR|STR))\b/ | ||
| 118 | - , _style: "color: red;" | ||
| 119 | - } | ||
| 120 | - , global: { | ||
| 121 | - _match: /(?:\$GLOBALS|\$_COOKIE|\$_ENV|\$_FILES|\$_GET|\$_POST|\$_REQUEST|\$_SERVER|\$_SESSION|\$php_errormsg)\b/ | ||
| 122 | - , _style: "color: red;" | ||
| 123 | - } | ||
| 124 | - , keyword: { | ||
| 125 | - _match: /\b(?:__CLASS__|__FILE__|__FUNCTION__|__LINE__|__METHOD__|abstract|and|array|as|break|case|catch|cfunction|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exception|exit|extends|extends|final|for|foreach|function|global|if|implements|include|include_once|interface|isset|list|new|old_function|or|php_user_filter|print|private|protected|public|require|require_once|return|static|switch|this|throw|try|unset|use|var|while|xor)\b/ | ||
| 126 | - , _style: "color: navy; font-weight: bold;" | ||
| 127 | - } | ||
| 128 | - , variable: { | ||
| 129 | - _match: /\$(\w+)/ | ||
| 130 | - , _replace: '<span class="keyword">$</span><span class="variable">$1</span>' | ||
| 131 | - , _style: "color: #4040c2;" | ||
| 132 | - } | ||
| 133 | - , heredoc: { | ||
| 134 | - _match: /(\<\<\<\s*)(\w+)((?:(?!\2).*\n)+)(\2)\b/ | ||
| 135 | - , _replace: '<span class="keyword">$1</span><span class="string1">$2</span><span class="string2">$3</span><span class="string1">$4</span>' | ||
| 136 | - } | ||
| 137 | - } | ||
| 138 | -} | ||
| 139 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/chili/recipes.js deleted
| 1 | -/* | ||
| 2 | -=============================================================================== | ||
| 3 | -Chili is the jQuery code highlighter plugin | ||
| 4 | -............................................................................... | ||
| 5 | -LICENSE: http://www.opensource.org/licenses/mit-license.php | ||
| 6 | -WEBSITE: http://noteslog.com/chili/ | ||
| 7 | - | ||
| 8 | - Copyright 2008 / Andrea Ercolino | ||
| 9 | -=============================================================================== | ||
| 10 | -*/ | ||
| 11 | - | ||
| 12 | -ChiliBook.recipeLoading = false; | ||
| 13 | - | ||
| 14 | - | ||
| 15 | - | ||
| 16 | -ChiliBook.recipes[ "php.js" ] = | ||
| 17 | -/* ---------------------------------------------------------------------------- | ||
| 18 | - * this recipe uses a little trick for highlighting php code | ||
| 19 | - * 1: replace each php snippet with a placeholder | ||
| 20 | - * 2: highlight html without php and php snippets apart | ||
| 21 | - * 3: replace each placeholder with its highlighted php snippet | ||
| 22 | - * | ||
| 23 | - * the trick is not perfect only if the html without php is broken | ||
| 24 | - * however, in such a case many highlighters get fooled but Chili does not | ||
| 25 | - * | ||
| 26 | - * --- | ||
| 27 | - * this recipe has been adapted for working with Safari | ||
| 28 | - * in fact, Safari cannot match more than 101236 characters with a lazy star | ||
| 29 | - * --------------------------------------------------------------------------*/ | ||
| 30 | -{ | ||
| 31 | - _name: "php" | ||
| 32 | - , _case: true | ||
| 33 | - , _main: { | ||
| 34 | - all: { | ||
| 35 | - _match: /[\w\W]*/ | ||
| 36 | - , _replace: function( all ) { | ||
| 37 | - var placeholder = String.fromCharCode(0); | ||
| 38 | - var blocks = []; | ||
| 39 | - var that = this; | ||
| 40 | - var no_php_1 = all.replace( /<\?[^?]*\?+(?:[^>][^?]*\?+)*>/g, function( block ) { | ||
| 41 | - blocks.push( that.x( block, '/block/php_1' ) ); | ||
| 42 | - return placeholder; | ||
| 43 | - } ); | ||
| 44 | - var no_php_2 = no_php_1.replace( /^[^?]*\?+(?:[^>][^?]*\?+)*>|<\?[\w\W]*$/g, function( block ) { | ||
| 45 | - blocks.push( that.x( block, '/block/php_2' ) ); | ||
| 46 | - return placeholder; | ||
| 47 | - } ); | ||
| 48 | - if( blocks.length ) { | ||
| 49 | - var html = this.x( no_php_2, 'html' ); | ||
| 50 | - var count = 0; | ||
| 51 | - return html.replace( new RegExp( placeholder, "g" ), function() { | ||
| 52 | - return blocks[ count++ ]; | ||
| 53 | - } ); | ||
| 54 | - } | ||
| 55 | - else { | ||
| 56 | - return this.x( all, '/php' ); | ||
| 57 | - } | ||
| 58 | - } | ||
| 59 | - } | ||
| 60 | - } | ||
| 61 | - , block: { | ||
| 62 | - php_1: { // --- <? +++ ?> --- | ||
| 63 | - _match: /(<\?(?:php\b)?)([^?]*\?+(?:[^>][^?]*\?+)*>)/ | ||
| 64 | - , _replace: function( all, open, content ) { | ||
| 65 | - return "<span class='start'>" + this.x( open ) + "</span>" | ||
| 66 | - + this.x( content.replace( /\?>$/, '' ), '/php' ) | ||
| 67 | - + "<span class='end'>" + this.x( '?>' ) + "</span>"; | ||
| 68 | - } | ||
| 69 | - , _style: { | ||
| 70 | - start: "color: red; font-weight: bold" | ||
| 71 | - , end: "color: red;" | ||
| 72 | - } | ||
| 73 | - } | ||
| 74 | - , php_2: { // +++ ?> --- <? +++ | ||
| 75 | - _match: /([^?]*\?+(?:[^>][^?]*\?+)*>)|(<\?(?:php\b)?)([\w\W]*)/ | ||
| 76 | - , _replace: function( all, content, open2, content2 ) { | ||
| 77 | - if( open2 ) { | ||
| 78 | - return "<span class='start'>" + this.x( open2 ) + "</span>" | ||
| 79 | - + this.x( content2, '/php' ); | ||
| 80 | - } | ||
| 81 | - else { | ||
| 82 | - return this.x( content.replace( /\?>$/, '' ), '/php' ) | ||
| 83 | - + "<span class='end'>" + this.x( '?>' ) + "</span>"; | ||
| 84 | - } | ||
| 85 | - } | ||
| 86 | - , _style: { | ||
| 87 | - start: "color: red; font-weight: bold" | ||
| 88 | - , end: "color: red;" | ||
| 89 | - } | ||
| 90 | - } | ||
| 91 | - } | ||
| 92 | - , php: { | ||
| 93 | - mlcom: { | ||
| 94 | - _match: /\/\*[^*]*\*+([^\/][^*]*\*+)*\// | ||
| 95 | - , _style: "color: gray;" | ||
| 96 | - } | ||
| 97 | - , com: { | ||
| 98 | - _match: /(?:\/\/.*)|(?:[^\\]\#.*)/ | ||
| 99 | - , _style: "color: green;" | ||
| 100 | - } | ||
| 101 | - , string1: { | ||
| 102 | - _match: /\'[^\'\\]*(?:\\.[^\'\\]*)*\'/ | ||
| 103 | - , _style: "color: purple;" | ||
| 104 | - } | ||
| 105 | - , string2: { | ||
| 106 | - _match: /\"[^\"\\]*(?:\\.[^\"\\]*)*\"/ | ||
| 107 | - , _style: "color: fuchsia;" | ||
| 108 | - } | ||
| 109 | - , value: { | ||
| 110 | - _match: /\b(?:[Nn][Uu][Ll][Ll]|[Tt][Rr][Uu][Ee]|[Ff][Aa][Ll][Ss][Ee])\b/ | ||
| 111 | - , _style: "color: gray; font-weight: bold;" | ||
| 112 | - } | ||
| 113 | - , number: { | ||
| 114 | - _match: /\b[+-]?(\d*\.?\d+|\d+\.?\d*)([eE][+-]?\d+)?\b/ | ||
| 115 | - , _style: "color: red;" | ||
| 116 | - } | ||
| 117 | - , const1: { | ||
| 118 | - _match: /\b(?:DEFAULT_INCLUDE_PATH|E_(?:ALL|CO(?:MPILE_(?:ERROR|WARNING)|RE_(?:ERROR|WARNING))|ERROR|NOTICE|PARSE|STRICT|USER_(?:ERROR|NOTICE|WARNING)|WARNING)|P(?:EAR_(?:EXTENSION_DIR|INSTALL_DIR)|HP_(?:BINDIR|CONFIG_FILE_(?:PATH|SCAN_DIR)|DATADIR|E(?:OL|XTENSION_DIR)|INT_(?:MAX|SIZE)|L(?:IBDIR|OCALSTATEDIR)|O(?:S|UTPUT_HANDLER_(?:CONT|END|START))|PREFIX|S(?:API|HLIB_SUFFIX|YSCONFDIR)|VERSION))|__COMPILER_HALT_OFFSET__)\b/ | ||
| 119 | - , _style: "color: red;" | ||
| 120 | - } | ||
| 121 | - , const2: { | ||
| 122 | - _match: /\b(?:A(?:B(?:DAY_(?:1|2|3|4|5|6|7)|MON_(?:1(?:0|1|2|)|2|3|4|5|6|7|8|9))|LT_DIGITS|M_STR|SSERT_(?:ACTIVE|BAIL|CALLBACK|QUIET_EVAL|WARNING))|C(?:ASE_(?:LOWER|UPPER)|HAR_MAX|O(?:DESET|NNECTION_(?:ABORTED|NORMAL|TIMEOUT)|UNT_(?:NORMAL|RECURSIVE))|R(?:EDITS_(?:ALL|DOCS|FULLPAGE|G(?:ENERAL|ROUP)|MODULES|QA|SAPI)|NCYSTR|YPT_(?:BLOWFISH|EXT_DES|MD5|S(?:ALT_LENGTH|TD_DES)))|URRENCY_SYMBOL)|D(?:AY_(?:1|2|3|4|5|6|7)|ECIMAL_POINT|IRECTORY_SEPARATOR|_(?:FMT|T_FMT))|E(?:NT_(?:COMPAT|NOQUOTES|QUOTES)|RA(?:_(?:D_(?:FMT|T_FMT)|T_FMT|YEAR)|)|XTR_(?:IF_EXISTS|OVERWRITE|PREFIX_(?:ALL|I(?:F_EXISTS|NVALID)|SAME)|SKIP))|FRAC_DIGITS|GROUPING|HTML_(?:ENTITIES|SPECIALCHARS)|IN(?:FO_(?:ALL|C(?:ONFIGURATION|REDITS)|ENVIRONMENT|GENERAL|LICENSE|MODULES|VARIABLES)|I_(?:ALL|PERDIR|SYSTEM|USER)|T_(?:CURR_SYMBOL|FRAC_DIGITS))|L(?:C_(?:ALL|C(?:OLLATE|TYPE)|M(?:ESSAGES|ONETARY)|NUMERIC|TIME)|O(?:CK_(?:EX|NB|SH|UN)|G_(?:A(?:LERT|UTH(?:PRIV|))|C(?:ONS|R(?:IT|ON))|D(?:AEMON|EBUG)|E(?:MERG|RR)|INFO|KERN|L(?:OCAL(?:0|1|2|3|4|5|6|7)|PR)|MAIL|N(?:DELAY|EWS|O(?:TICE|WAIT))|ODELAY|P(?:ERROR|ID)|SYSLOG|U(?:SER|UCP)|WARNING)))|M(?:ON_(?:1(?:0|1|2|)|2|3|4|5|6|7|8|9|DECIMAL_POINT|GROUPING|THOUSANDS_SEP)|_(?:1_PI|2_(?:PI|SQRTPI)|E|L(?:N(?:10|2)|OG(?:10E|2E))|PI(?:_(?:2|4)|)|SQRT(?:1_2|2)))|N(?:EGATIVE_SIGN|O(?:EXPR|STR)|_(?:CS_PRECEDES|S(?:EP_BY_SPACE|IGN_POSN)))|P(?:ATH(?:INFO_(?:BASENAME|DIRNAME|EXTENSION)|_SEPARATOR)|M_STR|OSITIVE_SIGN|_(?:CS_PRECEDES|S(?:EP_BY_SPACE|IGN_POSN)))|RADIXCHAR|S(?:EEK_(?:CUR|END|SET)|ORT_(?:ASC|DESC|NUMERIC|REGULAR|STRING)|TR_PAD_(?:BOTH|LEFT|RIGHT))|T(?:HOUS(?:ANDS_SEP|EP)|_FMT(?:_AMPM|))|YES(?:EXPR|STR))\b/ | ||
| 123 | - , _style: "color: red;" | ||
| 124 | - } | ||
| 125 | - , global: { | ||
| 126 | - _match: /(?:\$GLOBALS|\$_COOKIE|\$_ENV|\$_FILES|\$_GET|\$_POST|\$_REQUEST|\$_SERVER|\$_SESSION|\$php_errormsg)\b/ | ||
| 127 | - , _style: "color: red;" | ||
| 128 | - } | ||
| 129 | - , keyword: { | ||
| 130 | - _match: /\b(?:__CLASS__|__FILE__|__FUNCTION__|__LINE__|__METHOD__|abstract|and|array|as|break|case|catch|cfunction|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exception|exit|extends|extends|final|for|foreach|function|global|if|implements|include|include_once|interface|isset|list|new|old_function|or|php_user_filter|print|private|protected|public|require|require_once|return|static|switch|this|throw|try|unset|use|var|while|xor)\b/ | ||
| 131 | - , _style: "color: navy; font-weight: bold;" | ||
| 132 | - } | ||
| 133 | - , variable: { | ||
| 134 | - _match: /\$(\w+)/ | ||
| 135 | - , _replace: '<span class="keyword">$</span><span class="variable">$1</span>' | ||
| 136 | - , _style: "color: #4040c2;" | ||
| 137 | - } | ||
| 138 | - , heredoc: { | ||
| 139 | - _match: /(\<\<\<\s*)(\w+)((?:(?!\2).*\n)+)(\2)\b/ | ||
| 140 | - , _replace: '<span class="keyword">$1</span><span class="string1">$2</span><span class="string2">$3</span><span class="string1">$4</span>' | ||
| 141 | - } | ||
| 142 | - } | ||
| 143 | -} | ||
| 144 | - | ||
| 145 | - | ||
| 146 | - | ||
| 147 | -ChiliBook.recipes[ "html.js" ] = | ||
| 148 | -{ | ||
| 149 | - _name: 'html' | ||
| 150 | - , _case: false | ||
| 151 | - , _main: { | ||
| 152 | - doctype: { | ||
| 153 | - _match: /<!DOCTYPE\b[\w\W]*?>/ | ||
| 154 | - , _style: "color: #CC6600;" | ||
| 155 | - } | ||
| 156 | - , ie_style: { | ||
| 157 | - _match: /(<!--\[[^\]]*\]>)([\w\W]*?)(<!\[[^\]]*\]-->)/ | ||
| 158 | - , _replace: function( all, open, content, close ) { | ||
| 159 | - return "<span class='ie_style'>" + this.x( open ) + "</span>" | ||
| 160 | - + this.x( content, '//style' ) | ||
| 161 | - + "<span class='ie_style'>" + this.x( close ) + "</span>"; | ||
| 162 | - } | ||
| 163 | - , _style: "color: DarkSlateGray; font-weight: bold;" | ||
| 164 | - } | ||
| 165 | - , comment: { | ||
| 166 | - _match: /<!--[\w\W]*?-->/ | ||
| 167 | - , _style: "color: #4040c2;" | ||
| 168 | - } | ||
| 169 | - , script: { | ||
| 170 | - _match: /(<script\s+[^>]*>)([\w\W]*?)(<\/script\s*>)/ | ||
| 171 | - , _replace: function( all, open, content, close ) { | ||
| 172 | - return this.x( open, '//tag_start' ) | ||
| 173 | - + this.x( content, 'js' ) | ||
| 174 | - + this.x( close, '//tag_end' ); | ||
| 175 | - } | ||
| 176 | - } | ||
| 177 | - , style: { | ||
| 178 | - _match: /(<style\s+[^>]*>)([\w\W]*?)(<\/style\s*>)/ | ||
| 179 | - , _replace: function( all, open, content, close ) { | ||
| 180 | - return this.x( open, '//tag_start' ) | ||
| 181 | - + this.x( content, 'css' ) | ||
| 182 | - + this.x( close, '//tag_end' ); | ||
| 183 | - } | ||
| 184 | - } | ||
| 185 | - // matches a starting tag of an element (with attrs) | ||
| 186 | - // like "<div ... >" or "<img ... />" | ||
| 187 | - , tag_start: { | ||
| 188 | - _match: /(<\w+)((?:[?%]>|[\w\W])*?)(\/>|>)/ | ||
| 189 | - , _replace: function( all, open, content, close ) { | ||
| 190 | - return "<span class='tag_start'>" + this.x( open ) + "</span>" | ||
| 191 | - + this.x( content, '/tag_attrs' ) | ||
| 192 | - + "<span class='tag_start'>" + this.x( close ) + "</span>"; | ||
| 193 | - } | ||
| 194 | - , _style: "color: navy; font-weight: bold;" | ||
| 195 | - } | ||
| 196 | - // matches an ending tag | ||
| 197 | - // like "</div>" | ||
| 198 | - , tag_end: { | ||
| 199 | - _match: /<\/\w+\s*>|\/>/ | ||
| 200 | - , _style: "color: navy;" | ||
| 201 | - } | ||
| 202 | - , entity: { | ||
| 203 | - _match: /&\w+?;/ | ||
| 204 | - , _style: "color: blue;" | ||
| 205 | - } | ||
| 206 | - } | ||
| 207 | - , tag_attrs: { | ||
| 208 | - // matches a name/value pair | ||
| 209 | - attr: { | ||
| 210 | - // before in $1, name in $2, between in $3, value in $4 | ||
| 211 | - _match: /(\W*?)([\w-]+)(\s*=\s*)((?:\'[^\']*(?:\\.[^\']*)*\')|(?:\"[^\"]*(?:\\.[^\"]*)*\"))/ | ||
| 212 | - , _replace: "$1<span class='attr_name'>$2</span>$3<span class='attr_value'>$4</span>" | ||
| 213 | - , _style: { attr_name: "color: green;", attr_value: "color: maroon;" } | ||
| 214 | - } | ||
| 215 | - } | ||
| 216 | -}; | ||
| 217 | - | ||
| 218 | - | ||
| 219 | - | ||
| 220 | -ChiliBook.recipes[ "js.js" ] = | ||
| 221 | -{ | ||
| 222 | - _name: 'js' | ||
| 223 | - , _case: true | ||
| 224 | - , _main: { | ||
| 225 | - ml_comment: { | ||
| 226 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 227 | - , _style: 'color: gray;' | ||
| 228 | - } | ||
| 229 | - , sl_comment: { | ||
| 230 | - _match: /\/\/.*/ | ||
| 231 | - , _style: 'color: green;' | ||
| 232 | - } | ||
| 233 | - , string: { | ||
| 234 | - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ | ||
| 235 | - , _style: 'color: teal;' | ||
| 236 | - } | ||
| 237 | - , num: { | ||
| 238 | - _match: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ | ||
| 239 | - , _style: 'color: red;' | ||
| 240 | - } | ||
| 241 | - , reg_not: { //this prevents "a / b / c" to be interpreted as a reg_exp | ||
| 242 | - _match: /(?:\w+\s*)\/[^\/\\\n]*(?:\\.[^\/\\\n]*)*\/[gim]*(?:\s*\w+)/ | ||
| 243 | - , _replace: function( all ) { | ||
| 244 | - return this.x( all, '//num' ); | ||
| 245 | - } | ||
| 246 | - } | ||
| 247 | - , reg_exp: { | ||
| 248 | - _match: /\/[^\/\\\n]*(?:\\.[^\/\\\n]*)*\/[gim]*/ | ||
| 249 | - , _style: 'color: maroon;' | ||
| 250 | - } | ||
| 251 | - , brace: { | ||
| 252 | - _match: /[\{\}]/ | ||
| 253 | - , _style: 'color: red; font-weight: bold;' | ||
| 254 | - } | ||
| 255 | - , statement: { | ||
| 256 | - _match: /\b(with|while|var|try|throw|switch|return|if|for|finally|else|do|default|continue|const|catch|case|break)\b/ | ||
| 257 | - , _style: 'color: navy; font-weight: bold;' | ||
| 258 | - } | ||
| 259 | - , error: { | ||
| 260 | - _match: /\b(URIError|TypeError|SyntaxError|ReferenceError|RangeError|EvalError|Error)\b/ | ||
| 261 | - , _style: 'color: Coral;' | ||
| 262 | - } | ||
| 263 | - , object: { | ||
| 264 | - _match: /\b(String|RegExp|Object|Number|Math|Function|Date|Boolean|Array)\b/ | ||
| 265 | - , _style: 'color: DeepPink;' | ||
| 266 | - } | ||
| 267 | - , property: { | ||
| 268 | - _match: /\b(undefined|arguments|NaN|Infinity)\b/ | ||
| 269 | - , _style: 'color: Purple; font-weight: bold;' | ||
| 270 | - } | ||
| 271 | - , 'function': { | ||
| 272 | - _match: /\b(parseInt|parseFloat|isNaN|isFinite|eval|encodeURIComponent|encodeURI|decodeURIComponent|decodeURI)\b/ | ||
| 273 | - , _style: 'color: olive;' | ||
| 274 | - } | ||
| 275 | - , operator: { | ||
| 276 | - _match: /\b(void|typeof|this|new|instanceof|in|function|delete)\b/ | ||
| 277 | - , _style: 'color: RoyalBlue; font-weight: bold;' | ||
| 278 | - } | ||
| 279 | - , liveconnect: { | ||
| 280 | - _match: /\b(sun|netscape|java|Packages|JavaPackage|JavaObject|JavaClass|JavaArray|JSObject|JSException)\b/ | ||
| 281 | - , _style: 'text-decoration: overline;' | ||
| 282 | - } | ||
| 283 | - } | ||
| 284 | -}; | ||
| 285 | - | ||
| 286 | - | ||
| 287 | - | ||
| 288 | -ChiliBook.recipes[ "css.js" ] = | ||
| 289 | -{ | ||
| 290 | - _name: 'css' | ||
| 291 | - , _case: true | ||
| 292 | - , _main: { | ||
| 293 | - comment: { | ||
| 294 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 295 | - , _style: "color: olive;" | ||
| 296 | - } | ||
| 297 | - , directive: { | ||
| 298 | - _match: /@\w+/ | ||
| 299 | - , _style: "color: fuchsia;" | ||
| 300 | - } | ||
| 301 | - , url: { | ||
| 302 | - _match: /\b(url\s*\()([^)]+)(\))/ | ||
| 303 | - , _replace: "<span class='url'>$1</span>$2<span class='url'>$3</span>" | ||
| 304 | - , _style: "color: fuchsia;" | ||
| 305 | - } | ||
| 306 | - , block: { | ||
| 307 | - _match: /\{([\w\W]*?)\}/ | ||
| 308 | - , _replace: function( all, pairs ) { | ||
| 309 | - return '{' + this.x( pairs, '/definition' ) + '}'; | ||
| 310 | - } | ||
| 311 | - } | ||
| 312 | - , 'class': { | ||
| 313 | - _match: /\.\w+/ | ||
| 314 | - , _style: "color: #CC0066; font-weight: bold;" | ||
| 315 | - } | ||
| 316 | - , id: { | ||
| 317 | - _match: /#\w+/ | ||
| 318 | - , _style: "color: IndianRed; font-weight: bold;" | ||
| 319 | - } | ||
| 320 | - , pseudo: { | ||
| 321 | - _match: /:\w+/ | ||
| 322 | - , _style: "color: #CC9900;" | ||
| 323 | - } | ||
| 324 | - , element: { | ||
| 325 | - _match: /\w+/ | ||
| 326 | - , _style: "color: Purple; font-weight: bold;" | ||
| 327 | - } | ||
| 328 | - } | ||
| 329 | - , definition: { | ||
| 330 | - comment: { | ||
| 331 | - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// | ||
| 332 | - } | ||
| 333 | - , property: { | ||
| 334 | - _match: /\b(?:zoom|z-index|writing-mode|word-wrap|word-spacing|word-break|width|widows|white-space|volume|voice-family|visibility|vertical-align|unicode-bidi|top|text-underline-position|text-transform|text-shadow|text-overflow|text-kashida-space|text-justify|text-indent|text-decoration|text-autospace|text-align-last|text-align|table-layout|stress|speech-rate|speak-punctuation|speak-numeral|speak-header|speak|size|scrollbar-track-color|scrollbar-shadow-color|scrollbar-highlight-color|scrollbar-face-color|scrollbar-dark-shadow-color|scrollbar-base-color|scrollbar-arrow-color|scrollbar-3d-light-color|ruby-position|ruby-overhang|ruby-align|right|richness|quotes|position|play-during|pitch-range|pitch|pause-before|pause-after|pause|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-Y|overflow-X|overflow|outline-width|outline-style|outline-color|outline|orphans|min-width|min-height|max-width|max-height|marks|marker-offset|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|line-break|letter-spacing|left|layout-grid-type|layout-grid-mode|layout-grid-line|layout-grid-char-spacing|layout-grid-char|layout-grid|layout-flow|layer-background-image|layer-background-color|include-source|ime-mode|height|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-family|font|float|filter|empty-cells|elevation|display|direction|cursor|cue-before|cue-after|cue|counter-reset|counter-increment|content|color|clip|clear|caption-side|bottom|border-width|border-top-width|border-top-style|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-left-width|border-left-style|border-left-color|border-left|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-color|border-bottom|border|behavior|background-repeat|background-position-y|background-position-x|background-position|background-image|background-color|background-attachment|background|azimuth|accelerator)\s*:/ | ||
| 335 | - , _style: "color: #330066;" | ||
| 336 | - } | ||
| 337 | - , special: { | ||
| 338 | - _match: /\b(?:-use-link-source|-set-link-source|-replace|-moz-user-select|-moz-user-modify|-moz-user-input|-moz-user-focus|-moz-outline-width|-moz-outline-style|-moz-outline-color|-moz-outline|-moz-opacity|-moz-border-top-colors|-moz-border-right-colors|-moz-border-radius-topright|-moz-border-radius-topleft|-moz-border-radius-bottomright|-moz-border-radius-bottomleft|-moz-border-radius|-moz-border-left-colors|-moz-border-bottom-colors|-moz-binding)\s*:/ | ||
| 339 | - , _style: "color: #330066; text-decoration: underline;" | ||
| 340 | - } | ||
| 341 | - , url: { | ||
| 342 | - _match: /\b(url\s*\()([^)]+)(\))/ | ||
| 343 | - , _replace: "<span class='url'>$1</span>$2<span class='url'>$3</span>" | ||
| 344 | - } | ||
| 345 | - , value: { | ||
| 346 | - _match: /\b(?:xx-small|xx-large|x-soft|x-small|x-slow|x-low|x-loud|x-large|x-high|x-fast|wider|wait|w-resize|visible|url|uppercase|upper-roman|upper-latin|upper-alpha|underline|ultra-expanded|ultra-condensed|tv|tty|transparent|top|thin|thick|text-top|text-bottom|table-row-group|table-row|table-header-group|table-footer-group|table-column-group|table-column|table-cell|table-caption|sw-resize|super|sub|status-bar|static|square|spell-out|speech|solid|soft|smaller|small-caption|small-caps|small|slower|slow|silent|show|separate|semi-expanded|semi-condensed|se-resize|scroll|screen|s-resize|run-in|rtl|rightwards|right-side|right|ridge|rgb|repeat-y|repeat-x|repeat|relative|projection|print|pre|portrait|pointer|overline|outside|outset|open-quote|once|oblique|nw-resize|nowrap|normal|none|no-repeat|no-open-quote|no-close-quote|ne-resize|narrower|n-resize|move|mix|middle|message-box|medium|marker|ltr|lowercase|lower-roman|lower-latin|lower-greek|lower-alpha|lower|low|loud|local|list-item|line-through|lighter|level|leftwards|left-side|left|larger|large|landscape|justify|italic|invert|inside|inset|inline-table|inline|icon|higher|high|hide|hidden|help|hebrew|handheld|groove|format|fixed|faster|fast|far-right|far-left|fantasy|extra-expanded|extra-condensed|expanded|embossed|embed|e-resize|double|dotted|disc|digits|default|decimal-leading-zero|decimal|dashed|cursive|crosshair|cross|crop|counters|counter|continuous|condensed|compact|collapse|code|close-quote|circle|center-right|center-left|center|caption|capitalize|braille|bottom|both|bolder|bold|block|blink|bidi-override|below|behind|baseline|avoid|auto|aural|attr|armenian|always|all|absolute|above)\b/ | ||
| 347 | - , _style: "color: #3366FF;" | ||
| 348 | - } | ||
| 349 | - , string: { | ||
| 350 | - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ | ||
| 351 | - , _style: "color: teal;" | ||
| 352 | - } | ||
| 353 | - , number: { | ||
| 354 | - _match: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*))(?:%|(?:(?:px|pt|em|)\b))/ | ||
| 355 | - , _style: "color: red;" | ||
| 356 | - } | ||
| 357 | - , color : { | ||
| 358 | - _match: /(?:\#[a-fA-F0-9]{3,6})|\b(?:yellow|white|teal|silver|red|purple|olive|navy|maroon|lime|green|gray|fuchsia|blue|black|aqua|YellowGreen|Yellow|WhiteSmoke|White|Wheat|Violet|Turquoise|Tomato|Thistle|Teal|Tan|SteelBlue|SpringGreen|Snow|SlateGrey|SlateGray|SlateBlue|SkyBlue|Silver|Sienna|SeaShell|SeaGreen|SandyBrown|Salmon|SaddleBrown|RoyalBlue|RosyBrown|Red|Purple|PowderBlue|Plum|Pink|Peru|PeachPuff|PapayaWhip|PaleVioletRed|PaleTurquoise|PaleGreen|PaleGoldenRod|Orchid|OrangeRed|Orange|OliveDrab|Olive|OldLace|Navy|NavajoWhite|Moccasin|MistyRose|MintCream|MidnightBlue|MediumVioletRed|MediumTurquoise|MediumSpringGreen|MediumSlateBlue|MediumSeaGreen|MediumPurple|MediumOrchid|MediumBlue|MediumAquaMarine|Maroon|Magenta|Linen|LimeGreen|Lime|LightYellow|LightSteelBlue|LightSlateGrey|LightSlateGray|LightSkyBlue|LightSeaGreen|LightSalmon|LightPink|LightGrey|LightGreen|LightGray|LightGoldenRodYellow|LightCyan|LightCoral|LightBlue|LemonChiffon|LawnGreen|LavenderBlush|Lavender|Khaki|Ivory|Indigo|IndianRed|HotPink|HoneyDew|Grey|GreenYellow|Green|Gray|GoldenRod|Gold|GhostWhite|Gainsboro|Fuchsia|ForestGreen|FloralWhite|FireBrick|DodgerBlue|DimGrey|DimGray|DeepSkyBlue|DeepPink|Darkorange|DarkViolet|DarkTurquoise|DarkSlateGrey|DarkSlateGray|DarkSlateBlue|DarkSeaGreen|DarkSalmon|DarkRed|DarkOrchid|DarkOliveGreen|DarkMagenta|DarkKhaki|DarkGrey|DarkGreen|DarkGray|DarkGoldenRod|DarkCyan|DarkBlue|Cyan|Crimson|Cornsilk|CornflowerBlue|Coral|Chocolate|Chartreuse|CadetBlue|BurlyWood|Brown|BlueViolet|Blue|BlanchedAlmond|Black|Bisque|Beige|Azure|Aquamarine|Aqua|AntiqueWhite|AliceBlue)\b/ | ||
| 359 | - , _style: "color: green;" | ||
| 360 | - } | ||
| 361 | - } | ||
| 362 | -}; | ||
| 363 | - | ||
| 364 | - |
ktatompub/Client/js/jquery/jquery-1.3.2.min.js deleted
| 1 | -/* | ||
| 2 | - * jQuery JavaScript Library v1.3.2 | ||
| 3 | - * http://jquery.com/ | ||
| 4 | - * | ||
| 5 | - * Copyright (c) 2009 John Resig | ||
| 6 | - * Dual licensed under the MIT and GPL licenses. | ||
| 7 | - * http://docs.jquery.com/License | ||
| 8 | - * | ||
| 9 | - * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) | ||
| 10 | - * Revision: 6246 | ||
| 11 | - */ | ||
| 12 | -(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); | ||
| 13 | -/* | ||
| 14 | - * Sizzle CSS Selector Engine - v0.9.3 | ||
| 15 | - * Copyright 2009, The Dojo Foundation | ||
| 16 | - * Released under the MIT, BSD, and GPL Licenses. | ||
| 17 | - * More information: http://sizzlejs.com/ | ||
| 18 | - */ | ||
| 19 | -(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); | ||
| 20 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/jquery/plugins/jquery.cookie.js deleted
| 1 | -/** | ||
| 2 | - * Cookie plugin | ||
| 3 | - * | ||
| 4 | - * Copyright (c) 2006 Klaus Hartl (stilbuero.de) | ||
| 5 | - * Dual licensed under the MIT and GPL licenses: | ||
| 6 | - * http://www.opensource.org/licenses/mit-license.php | ||
| 7 | - * http://www.gnu.org/licenses/gpl.html | ||
| 8 | - * | ||
| 9 | - */ | ||
| 10 | - | ||
| 11 | -/** | ||
| 12 | - * Create a cookie with the given name and value and other optional parameters. | ||
| 13 | - * | ||
| 14 | - * @example $.cookie('the_cookie', 'the_value'); | ||
| 15 | - * @desc Set the value of a cookie. | ||
| 16 | - * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true }); | ||
| 17 | - * @desc Create a cookie with all available options. | ||
| 18 | - * @example $.cookie('the_cookie', 'the_value'); | ||
| 19 | - * @desc Create a session cookie. | ||
| 20 | - * @example $.cookie('the_cookie', null); | ||
| 21 | - * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain | ||
| 22 | - * used when the cookie was set. | ||
| 23 | - * | ||
| 24 | - * @param String name The name of the cookie. | ||
| 25 | - * @param String value The value of the cookie. | ||
| 26 | - * @param Object options An object literal containing key/value pairs to provide optional cookie attributes. | ||
| 27 | - * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. | ||
| 28 | - * If a negative value is specified (e.g. a date in the past), the cookie will be deleted. | ||
| 29 | - * If set to null or omitted, the cookie will be a session cookie and will not be retained | ||
| 30 | - * when the the browser exits. | ||
| 31 | - * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie). | ||
| 32 | - * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie). | ||
| 33 | - * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will | ||
| 34 | - * require a secure protocol (like HTTPS). | ||
| 35 | - * @type undefined | ||
| 36 | - * | ||
| 37 | - * @name $.cookie | ||
| 38 | - * @cat Plugins/Cookie | ||
| 39 | - * @author Klaus Hartl/klaus.hartl@stilbuero.de | ||
| 40 | - */ | ||
| 41 | - | ||
| 42 | -/** | ||
| 43 | - * Get the value of a cookie with the given name. | ||
| 44 | - * | ||
| 45 | - * @example $.cookie('the_cookie'); | ||
| 46 | - * @desc Get the value of a cookie. | ||
| 47 | - * | ||
| 48 | - * @param String name The name of the cookie. | ||
| 49 | - * @return The value of the cookie. | ||
| 50 | - * @type String | ||
| 51 | - * | ||
| 52 | - * @name $.cookie | ||
| 53 | - * @cat Plugins/Cookie | ||
| 54 | - * @author Klaus Hartl/klaus.hartl@stilbuero.de | ||
| 55 | - */ | ||
| 56 | -jQuery.cookie = function(name, value, options) { | ||
| 57 | - if (typeof value != 'undefined') { // name and value given, set cookie | ||
| 58 | - options = options || {}; | ||
| 59 | - if (value === null) { | ||
| 60 | - value = ''; | ||
| 61 | - options = $.extend({}, options); // clone object since it's unexpected behavior if the expired property were changed | ||
| 62 | - options.expires = -1; | ||
| 63 | - } | ||
| 64 | - var expires = ''; | ||
| 65 | - if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { | ||
| 66 | - var date; | ||
| 67 | - if (typeof options.expires == 'number') { | ||
| 68 | - date = new Date(); | ||
| 69 | - date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); | ||
| 70 | - } else { | ||
| 71 | - date = options.expires; | ||
| 72 | - } | ||
| 73 | - expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE | ||
| 74 | - } | ||
| 75 | - // NOTE Needed to parenthesize options.path and options.domain | ||
| 76 | - // in the following expressions, otherwise they evaluate to undefined | ||
| 77 | - // in the packed version for some reason... | ||
| 78 | - var path = options.path ? '; path=' + (options.path) : ''; | ||
| 79 | - var domain = options.domain ? '; domain=' + (options.domain) : ''; | ||
| 80 | - var secure = options.secure ? '; secure' : ''; | ||
| 81 | - document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); | ||
| 82 | - } else { // only name given, get cookie | ||
| 83 | - var cookieValue = null; | ||
| 84 | - if (document.cookie && document.cookie != '') { | ||
| 85 | - var cookies = document.cookie.split(';'); | ||
| 86 | - for (var i = 0; i < cookies.length; i++) { | ||
| 87 | - var cookie = jQuery.trim(cookies[i]); | ||
| 88 | - // Does this cookie string begin with the name we want? | ||
| 89 | - if (cookie.substring(0, name.length + 1) == (name + '=')) { | ||
| 90 | - cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); | ||
| 91 | - break; | ||
| 92 | - } | ||
| 93 | - } | ||
| 94 | - } | ||
| 95 | - return cookieValue; | ||
| 96 | - } | ||
| 97 | -}; | ||
| 98 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/jquery/plugins/jquery.dynatree.min.js deleted
| 1 | -// jquery.dynatree.js build 0.4.2 | ||
| 2 | -// Revision: 216, date: 2009-04-19 08:08:47 | ||
| 3 | -// Copyright (c) 2008-09 Martin Wendt (http://dynatree.googlecode.com/) | ||
| 4 | -// Licensed under the MIT License. | ||
| 5 | - | ||
| 6 | -var _canLog=true;function _log(mode,msg){if(!_canLog) | ||
| 7 | -return;var args=Array.prototype.slice.apply(arguments,[1]);var dt=new Date();var tag=dt.getHours()+":"+dt.getMinutes()+":"+dt.getSeconds()+"."+dt.getMilliseconds();args[0]=tag+" - "+args[0];try{switch(mode){case"info":window.console.info.apply(window.console,args);break;case"warn":window.console.warn.apply(window.console,args);break;default:window.console.log.apply(window.console,args);}}catch(e){if(!window.console) | ||
| 8 | -_canLog=false;}} | ||
| 9 | -function logMsg(msg){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,arguments);} | ||
| 10 | -var DTNodeStatus_Error=-1;var DTNodeStatus_Loading=1;var DTNodeStatus_Ok=0;;(function($){var Class={create:function(){return function(){this.initialize.apply(this,arguments);}}} | ||
| 11 | -var DynaTreeNode=Class.create();DynaTreeNode.prototype={initialize:function(parent,tree,data){this.parent=parent;this.tree=tree;if(typeof data=="string") | ||
| 12 | -data={title:data};if(data.key==undefined) | ||
| 13 | -data.key="_"+tree._nodeCount++;this.data=$.extend({},$.ui.dynatree.nodedatadefaults,data);this.div=null;this.span=null;this.childList=null;this.isRead=false;this.hasSubSel=false;if(tree.initMode=="cookie"){if(tree.initActiveKey==this.data.key) | ||
| 14 | -tree.activeNode=this;if(tree.initFocusKey==this.data.key) | ||
| 15 | -tree.focusNode=this;this.bExpanded=($.inArray(this.data.key,tree.initExpandedKeys)>=0);this.bSelected=($.inArray(this.data.key,tree.initSelectedKeys)>=0);}else{if(data.activate) | ||
| 16 | -tree.activeNode=this;if(data.focus) | ||
| 17 | -tree.focusNode=this;this.bExpanded=(data.expand==true);this.bSelected=(data.select==true);} | ||
| 18 | -if(this.bExpanded) | ||
| 19 | -tree.expandedNodes.push(this);if(this.bSelected) | ||
| 20 | -tree.selectedNodes.push(this);},toString:function(){return"dtnode<"+this.data.key+">: '"+this.data.title+"'";},toDict:function(recursive,callback){var dict=$.extend({},this.data);dict.activate=(this.tree.activeNode===this);dict.focus=(this.tree.focusNode===this);dict.expand=this.bExpanded;dict.select=this.bSelected;if(callback) | ||
| 21 | -callback(dict);if(recursive&&this.childList){dict.children=[];for(var i=0;i<this.childList.length;i++) | ||
| 22 | -dict.children.push(this.childList[i].toDict(true,callback));}else{delete dict.children;} | ||
| 23 | -return dict;},_getInnerHtml:function(){var opts=this.tree.options;var cache=this.tree.cache;var rootParent=opts.rootVisible?null:this.tree.tnRoot;var bHideFirstExpander=(opts.rootVisible&&opts.minExpandLevel>0)||opts.minExpandLevel>1;var bHideFirstConnector=opts.rootVisible||opts.minExpandLevel>0;var res="";var p=this.parent;while(p){if(bHideFirstConnector&&(p==rootParent)) | ||
| 24 | -break;res=(p.isLastSibling()?cache.tagEmpty:cache.tagVline)+res;p=p.parent;} | ||
| 25 | -if(bHideFirstExpander&&this.parent==rootParent){}else if(this.childList||this.data.isLazy){res+=cache.tagExpander;}else{res+=cache.tagConnector;} | ||
| 26 | -if(opts.checkbox&&this.data.hideCheckbox!=true&&!this.data.isStatusNode){res+=cache.tagCheckbox;} | ||
| 27 | -if(this.data.icon){res+="<img src='"+opts.imagePath+this.data.icon+"' alt='' />";}else if(this.data.icon==false){}else{res+=cache.tagNodeIcon;} | ||
| 28 | -var tooltip=(this.data&&typeof this.data.tooltip=="string")?" title='"+this.data.tooltip+"'":"";res+="<a href='#'"+tooltip+">"+this.data.title+"</a>";return res;},render:function(bDeep,bHidden){if(!this.div){this.span=document.createElement("span");this.span.dtnode=this;if(this.data.key) | ||
| 29 | -this.span.id=this.tree.options.idPrefix+this.data.key;this.div=document.createElement("div");this.div.appendChild(this.span);if(this.parent) | ||
| 30 | -this.parent.div.appendChild(this.div);if(this.parent==null&&!this.tree.options.rootVisible) | ||
| 31 | -this.span.style.display="none";} | ||
| 32 | -this.span.innerHTML=this._getInnerHtml();this.div.style.display=(this.parent==null||this.parent.bExpanded?"":"none");var opts=this.tree.options;var cn=opts.classNames;var isLastSib=this.isLastSibling();var cnList=[];cnList.push((this.data.isFolder)?cn.folder:cn.document);if(this.bExpanded) | ||
| 33 | -cnList.push(cn.expanded);if(this.data.isLazy&&!this.isRead) | ||
| 34 | -cnList.push(cn.lazy);if(isLastSib) | ||
| 35 | -cnList.push(cn.lastsib);if(this.bSelected) | ||
| 36 | -cnList.push(cn.selected);if(this.hasSubSel) | ||
| 37 | -cnList.push(cn.partsel);if(this.tree.activeNode===this) | ||
| 38 | -cnList.push(cn.active);if(this.data.addClass) | ||
| 39 | -cnList.push(this.data.addClass);cnList.push(cn.combinedExpanderPrefix | ||
| 40 | -+(this.bExpanded?"e":"c") | ||
| 41 | -+(this.data.isLazy&&!this.isRead?"d":"") | ||
| 42 | -+(isLastSib?"l":""));cnList.push(cn.combinedIconPrefix | ||
| 43 | -+(this.bExpanded?"e":"c") | ||
| 44 | -+(this.data.isFolder?"f":""));this.span.className=cnList.join(" ");if(bDeep&&this.childList&&(bHidden||this.bExpanded)){for(var i=0;i<this.childList.length;i++){this.childList[i].render(bDeep,bHidden)}}},hasChildren:function(){return this.childList!=null;},isLastSibling:function(){var p=this.parent;if(!p)return true;return p.childList[p.childList.length-1]===this;},prevSibling:function(){if(!this.parent)return null;var ac=this.parent.childList;for(var i=1;i<ac.length;i++) | ||
| 45 | -if(ac[i]===this) | ||
| 46 | -return ac[i-1];return null;},nextSibling:function(){if(!this.parent)return null;var ac=this.parent.childList;for(var i=0;i<ac.length-1;i++) | ||
| 47 | -if(ac[i]===this) | ||
| 48 | -return ac[i+1];return null;},_setStatusNode:function(data){var firstChild=(this.childList?this.childList[0]:null);if(!data){if(firstChild){this.div.removeChild(firstChild.div);if(this.childList.length==1) | ||
| 49 | -this.childList=null;else | ||
| 50 | -this.childList.shift();}}else if(firstChild){data.isStatusNode=true;firstChild.data=data;firstChild.render(false,false);}else{data.isStatusNode=true;firstChild=this._addNode(data);}},setLazyNodeStatus:function(lts){switch(lts){case DTNodeStatus_Ok:this._setStatusNode(null);this.isRead=true;this.render(false,false);if(this.tree.options.autoFocus){if(this===this.tree.tnRoot&&!this.tree.options.rootVisible&&this.childList){this.childList[0].focus();}else{this.focus();}} | ||
| 51 | -break;case DTNodeStatus_Loading:this._setStatusNode({title:this.tree.options.strings.loading,addClass:this.tree.options.classNames.nodeWait});break;case DTNodeStatus_Error:this._setStatusNode({title:this.tree.options.strings.loadError,addClass:this.tree.options.classNames.nodeError});break;default:throw"Bad LazyNodeStatus: '"+lts+"'.";}},_parentList:function(includeRoot,includeSelf){var l=[];var dtn=includeSelf?this:this.parent;while(dtn){if(includeRoot||dtn.parent) | ||
| 52 | -l.unshift(dtn);dtn=dtn.parent;};return l;},getLevel:function(){var level=0;var dtn=this.parent;while(dtn){level++;dtn=dtn.parent;};return level;},isVisible:function(){var parents=this._parentList(true,false);for(var i=0;i<parents.length;i++) | ||
| 53 | -if(!parents[i].bExpanded)return false;return true;},makeVisible:function(){var parents=this._parentList(true,false);for(var i=0;i<parents.length;i++) | ||
| 54 | -parents[i]._expand(true);},focus:function(){this.makeVisible();try{$(this.span).find(">a").focus();}catch(e){}},isActive:function(){return(this.tree.activeNode===this);},activate:function(){var opts=this.tree.options;if(this.data.isStatusNode) | ||
| 55 | -return;if(opts.onQueryActivate&&opts.onQueryActivate.call(this.span,true,this)==false) | ||
| 56 | -return;if(this.tree.activeNode){if(this.tree.activeNode===this) | ||
| 57 | -return;this.tree.activeNode.deactivate();} | ||
| 58 | -if(opts.activeVisible) | ||
| 59 | -this.makeVisible();this.tree.activeNode=this;if(opts.persist) | ||
| 60 | -$.cookie(opts.cookieId+"-active",this.data.key,opts.cookie);$(this.span).addClass(opts.classNames.active);if(opts.onActivate) | ||
| 61 | -opts.onActivate.call(this.span,this);},deactivate:function(){if(this.tree.activeNode===this){var opts=this.tree.options;if(opts.onQueryActivate&&opts.onQueryActivate.call(this.span,false,this)==false) | ||
| 62 | -return;$(this.span).removeClass(opts.classNames.active);if(opts.persist){$.cookie(opts.cookieId+"-active","",opts.cookie);} | ||
| 63 | -this.tree.activeNode=null;if(opts.onDeactivate) | ||
| 64 | -opts.onDeactivate.call(this.span,this);}},_userActivate:function(){var activate=true;var expand=false;if(this.data.isFolder){switch(this.tree.options.clickFolderMode){case 2:activate=false;expand=true;break;case 3:activate=expand=true;break;}} | ||
| 65 | -if(this.parent==null&&this.tree.options.minExpandLevel>0){expand=false;} | ||
| 66 | -if(expand){this.toggleExpand();this.focus();} | ||
| 67 | -if(activate){this.activate();}},_setSubSel:function(hasSubSel){if(hasSubSel){this.hasSubSel=true;$(this.span).addClass(this.tree.options.classNames.partsel);}else{this.hasSubSel=false;$(this.span).removeClass(this.tree.options.classNames.partsel);}},_fixSelectionState:function(){if(this.bSelected){this.visit(function(dtnode){dtnode.parent._setSubSel(true);dtnode._select(true,false,false);});var p=this.parent;while(p){p._setSubSel(true);var allChildsSelected=true;for(var i=0;i<p.childList.length;i++){var n=p.childList[i];if(!n.bSelected&&!n.data.isStatusNode){allChildsSelected=false;break;}} | ||
| 68 | -if(allChildsSelected) | ||
| 69 | -p._select(true,false,false);p=p.parent;}}else{this._setSubSel(false);this.visit(function(dtnode){dtnode._setSubSel(false);dtnode._select(false,false,false);});var p=this.parent;while(p){p._select(false,false,false);var isPartSel=false;for(var i=0;i<p.childList.length;i++){if(p.childList[i].bSelected||p.childList[i].hasSubSel){isPartSel=true;break;}} | ||
| 70 | -p._setSubSel(isPartSel);p=p.parent;}}},_select:function(sel,fireEvents,deep){var opts=this.tree.options;if(this.data.isStatusNode) | ||
| 71 | -return;if(this.bSelected==sel){return;} | ||
| 72 | -if(fireEvents&&opts.onQuerySelect&&opts.onQuerySelect.call(this.span,sel,this)==false) | ||
| 73 | -return;if(opts.selectMode==1&&this.tree.selectedNodes.length&&sel) | ||
| 74 | -this.tree.selectedNodes[0]._select(false,false,false);this.bSelected=sel;this.tree._changeNodeList("select",this,sel);if(sel){$(this.span).addClass(opts.classNames.selected);if(deep&&opts.selectMode==3) | ||
| 75 | -this._fixSelectionState();if(fireEvents&&opts.onSelect) | ||
| 76 | -opts.onSelect.call(this.span,true,this);}else{$(this.span).removeClass(opts.classNames.selected);if(deep&&opts.selectMode==3) | ||
| 77 | -this._fixSelectionState();if(fireEvents&&opts.onSelect) | ||
| 78 | -opts.onSelect.call(this.span,false,this);}},isSelected:function(){return this.bSelected;},select:function(sel){return this._select(sel!=false,true,true);},toggleSelect:function(){return this.select(!this.bSelected);},_expand:function(bExpand){if(this.bExpanded==bExpand){return;} | ||
| 79 | -var opts=this.tree.options;if(!bExpand&&this.getLevel()<opts.minExpandLevel){this.tree.logDebug("dtnode._expand(%o) forced expand - %o",bExpand,this);return;} | ||
| 80 | -if(opts.onQueryExpand&&opts.onQueryExpand.call(this.span,bExpand,this)==false) | ||
| 81 | -return;this.bExpanded=bExpand;this.tree._changeNodeList("expand",this,bExpand);this.render(false);if(this.bExpanded&&this.parent&&opts.autoCollapse){var parents=this._parentList(false,true);for(var i=0;i<parents.length;i++) | ||
| 82 | -parents[i].collapseSiblings();} | ||
| 83 | -if(opts.activeVisible&&this.tree.activeNode&&!this.tree.activeNode.isVisible()){this.tree.activeNode.deactivate();} | ||
| 84 | -if(bExpand&&this.data.isLazy&&!this.isRead){try{this.tree.logDebug("_expand: start lazy - %o",this);this.setLazyNodeStatus(DTNodeStatus_Loading);if(true==opts.onLazyRead.call(this.span,this)){this.setLazyNodeStatus(DTNodeStatus_Ok);this.tree.logDebug("_expand: lazy succeeded - %o",this);}}catch(e){this.setLazyNodeStatus(DTNodeStatus_Error);} | ||
| 85 | -return;} | ||
| 86 | -if(opts.fx){var duration=opts.fx.duration||200;$(">DIV",this.div).animate(opts.fx,duration);}else{var $d=$(">DIV",this.div);$d.toggle();} | ||
| 87 | -if(opts.onExpand) | ||
| 88 | -opts.onExpand.call(this.span,bExpand,this);},expand:function(flag){if(!this.childList&&!this.data.isLazy&&flag) | ||
| 89 | -return;if(this.parent==null&&this.tree.options.minExpandLevel>0&&!flag) | ||
| 90 | -return;this._expand(flag);},toggleExpand:function(){this.expand(!this.bExpanded);},collapseSiblings:function(){if(this.parent==null) | ||
| 91 | -return;var ac=this.parent.childList;for(var i=0;i<ac.length;i++){if(ac[i]!==this&&ac[i].bExpanded) | ||
| 92 | -ac[i]._expand(false);}},onClick:function(event){if($(event.target).hasClass(this.tree.options.classNames.expander)){this.toggleExpand();}else if($(event.target).hasClass(this.tree.options.classNames.checkbox)){this.toggleSelect();}else{this._userActivate();this.span.getElementsByTagName("a")[0].focus();} | ||
| 93 | -return false;},onDblClick:function(event){},onKeydown:function(event){var handled=true;switch(event.which){case 107:case 187:if(!this.bExpanded)this.toggleExpand();break;case 109:case 189:if(this.bExpanded)this.toggleExpand();break;case 32:this._userActivate();break;case 8:if(this.parent) | ||
| 94 | -this.parent.focus();break;case 37:if(this.bExpanded){this.toggleExpand();this.focus();}else if(this.parent&&(this.tree.options.rootVisible||this.parent.parent)){this.parent.focus();} | ||
| 95 | -break;case 39:if(!this.bExpanded&&(this.childList||this.data.isLazy)){this.toggleExpand();this.focus();}else if(this.childList){this.childList[0].focus();} | ||
| 96 | -break;case 38:var sib=this.prevSibling();while(sib&&sib.bExpanded) | ||
| 97 | -sib=sib.childList[sib.childList.length-1];if(!sib&&this.parent&&(this.tree.options.rootVisible||this.parent.parent)) | ||
| 98 | -sib=this.parent;if(sib)sib.focus();break;case 40:var sib;if(this.bExpanded){sib=this.childList[0];}else{var parents=this._parentList(false,true);for(var i=parents.length-1;i>=0;i--){sib=parents[i].nextSibling();if(sib)break;}} | ||
| 99 | -if(sib)sib.focus();break;default:handled=false;} | ||
| 100 | -return!handled;},onKeypress:function(event){},onFocus:function(event){var opts=this.tree.options;if(event.type=="blur"||event.type=="focusout"){if(opts.onBlur) | ||
| 101 | -opts.onBlur.call(this.span,this);if(this.tree.tnFocused) | ||
| 102 | -$(this.tree.tnFocused.span).removeClass(opts.classNames.focused);this.tree.tnFocused=null;if(opts.persist){$.cookie(opts.cookieId+"-focus",null,$.extend({},opts.cookie));}}else if(event.type=="focus"||event.type=="focusin"){if(this.tree.tnFocused&&this.tree.tnFocused!==this){this.tree.logDebug("dtnode.onFocus: out of sync: curFocus: %o",this.tree.tnFocused);$(this.tree.tnFocused.span).removeClass(opts.classNames.focused);} | ||
| 103 | -this.tree.tnFocused=this;if(opts.onFocus) | ||
| 104 | -opts.onFocus.call(this.span,this);$(this.tree.tnFocused.span).addClass(opts.classNames.focused);if(opts.persist) | ||
| 105 | -$.cookie(opts.cookieId+"-focus",this.data.key,opts.cookie);}},_postInit:function(){if(opts.onPostInit) | ||
| 106 | -opts.onPostInit.call(this.span,this);},visit:function(fn,data,includeSelf){var n=0;if(includeSelf==true){if(fn(this,data)==false) | ||
| 107 | -return 1;n++;} | ||
| 108 | -if(this.childList) | ||
| 109 | -for(var i=0;i<this.childList.length;i++) | ||
| 110 | -n+=this.childList[i].visit(fn,data,true);return n;},remove:function(){if(this===this.tree.root) | ||
| 111 | -return false;return this.parent.removeChild(this);},removeChild:function(tn){var ac=this.childList;if(ac.length==1){if(tn!==ac[0]) | ||
| 112 | -throw"removeChild: invalid child";return this.removeChildren();} | ||
| 113 | -if(tn===this.tree.activeNode) | ||
| 114 | -tn.deactivate();if(tn.bSelected) | ||
| 115 | -this.tree._changeNodeList("select",tn,false);if(tn.bExpanded) | ||
| 116 | -this.tree._changeNodeList("expand",tn,false);tn.removeChildren(true);this.div.removeChild(tn.div);for(var i=0;i<ac.length;i++){if(ac[i]===tn){this.childList.splice(i,1);delete tn;break;}}},removeChildren:function(recursive){var tree=this.tree;var ac=this.childList;if(ac){for(var i=0;i<ac.length;i++){var tn=ac[i];if(tn===tree.activeNode) | ||
| 117 | -tn.deactivate();if(tn.bSelected) | ||
| 118 | -this.tree._changeNodeList("select",tn,false);if(tn.bExpanded) | ||
| 119 | -this.tree._changeNodeList("expand",tn,false);tn.removeChildren(true);this.div.removeChild(tn.div);delete tn;} | ||
| 120 | -this.childList=null;if(!recursive){this._expand(false);this.isRead=false;this.render(false,false);}}},_addChildNode:function(dtnode){var tree=this.tree;var opts=tree.options;if(this.childList==null){this.childList=[];}else{$(this.childList[this.childList.length-1].span).removeClass(opts.classNames.lastsib);} | ||
| 121 | -this.childList.push(dtnode);dtnode.parent=this;if(dtnode.data.expand||opts.minExpandLevel>=dtnode.getLevel()) | ||
| 122 | -this.bExpanded=true;if(!dtnode.data.isStatusNode&&opts.selectMode==3&&!tree.isInitializing()) | ||
| 123 | -dtnode._fixSelectionState();if(tree.bEnableUpdate) | ||
| 124 | -this.render(true,true);return dtnode;},_addNode:function(data){return this._addChildNode(new DynaTreeNode(this,this.tree,data));},append:function(obj){if(!obj||obj.length==0) | ||
| 125 | -return;if(!obj.length) | ||
| 126 | -obj=[obj];var prevFlag=this.tree.enableUpdate(false);var tnFirst=null;for(var i=0;i<obj.length;i++){var data=obj[i];var dtnode=this._addNode(data);if(!tnFirst)tnFirst=dtnode;if(data.children) | ||
| 127 | -dtnode.append(data.children);} | ||
| 128 | -this.tree.enableUpdate(prevFlag);return tnFirst;},appendAjax:function(ajaxOptions){this.setLazyNodeStatus(DTNodeStatus_Loading);var self=this;var orgSuccess=ajaxOptions.success;var orgError=ajaxOptions.error;var options=$.extend({},this.tree.options.ajaxDefaults,ajaxOptions,{success:function(data,textStatus){self.append(data);self.setLazyNodeStatus(DTNodeStatus_Ok);if(orgSuccess) | ||
| 129 | -orgSuccess.call(options,self);},error:function(XMLHttpRequest,textStatus,errorThrown){self.setLazyNodeStatus(DTNodeStatus_Error);if(orgError) | ||
| 130 | -orgError.call(options,self,XMLHttpRequest,textStatus,errorThrown);}});$.ajax(options);},lastentry:undefined} | ||
| 131 | -var DynaTree=Class.create();DynaTree.version="$Version: 0.4.2$";DynaTree.prototype={initialize:function(divContainer,options){this.options=options;this.bEnableUpdate=true;this._nodeCount=0;this.initMode="data";this.activeNode=null;this.selectedNodes=[];this.expandedNodes=[];if(this.options.persist){this.initActiveKey=$.cookie(this.options.cookieId+"-active");if(cookie||this.initActiveKey!=null) | ||
| 132 | -this.initMode="cookie";this.initFocusKey=$.cookie(this.options.cookieId+"-focus");var cookie=$.cookie(this.options.cookieId+"-expand");if(cookie!=null) | ||
| 133 | -this.initMode="cookie";this.initExpandedKeys=cookie?cookie.split(","):[];cookie=$.cookie(this.options.cookieId+"-select");this.initSelectedKeys=cookie?cookie.split(","):[];} | ||
| 134 | -this.logDebug("initMode: %o, active: %o, focus: %o, expanded: %o, selected: %o",this.initMode,this.initActiveKey,this.initFocusKey,this.initExpandedKeys,this.initSelectedKeys);this.cache={tagEmpty:"<span class='"+options.classNames.empty+"'></span>",tagVline:"<span class='"+options.classNames.vline+"'></span>",tagExpander:"<span class='"+options.classNames.expander+"'></span>",tagConnector:"<span class='"+options.classNames.connector+"'></span>",tagNodeIcon:"<span class='"+options.classNames.nodeIcon+"'></span>",tagCheckbox:"<span class='"+options.classNames.checkbox+"'></span>",lastentry:undefined};this.divTree=divContainer;this.tnRoot=new DynaTreeNode(null,this,{title:this.options.title,key:"root"});this.tnRoot.data.isFolder=true;this.tnRoot.render(false,false);this.divRoot=this.tnRoot.div;this.divRoot.className=this.options.classNames.container;this.divTree.appendChild(this.divRoot);},toString:function(){return"DynaTree '"+this.options.title+"'";},toDict:function(){return this.tnRoot.toDict(true);},logDebug:function(msg){if(this.options.debugLevel>=2){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,arguments);}},logInfo:function(msg){if(this.options.debugLevel>=1){Array.prototype.unshift.apply(arguments,["info"]);_log.apply(this,arguments);}},logWarning:function(msg){Array.prototype.unshift.apply(arguments,["warn"]);_log.apply(this,arguments);},isInitializing:function(){return(this.initMode=="data"||this.initMode=="cookie"||this.initMode=="postInit");},_changeNodeList:function(mode,node,bAdd){if(!node) | ||
| 135 | -return false;var cookieName=this.options.cookieId+"-"+mode;var nodeList=(mode=="expand")?this.expandedNodes:this.selectedNodes;var idx=$.inArray(node,nodeList);if(bAdd){if(idx>=0) | ||
| 136 | -return false;nodeList.push(node);}else{if(idx<0) | ||
| 137 | -return false;nodeList.splice(idx,1);} | ||
| 138 | -if(this.options.persist){var keyList=$.map(nodeList,function(e,i){return e.data.key});$.cookie(cookieName,keyList.join(","),this.options.cookie);}else{}},redraw:function(){this.logDebug("dynatree.redraw()...");this.tnRoot.render(true,true);this.logDebug("dynatree.redraw() done.");},getRoot:function(){return this.tnRoot;},getNodeByKey:function(key){var el=document.getElementById(this.options.idPrefix+key);return(el&&el.dtnode)?el.dtnode:null;},getActiveNode:function(){return this.activeNode;},getSelectedNodes:function(stopOnParents){if(stopOnParents==true){var nodeList=[];this.tnRoot.visit(function(dtnode){if(dtnode.bSelected){nodeList.push(dtnode);return false;}});return nodeList;}else{return this.selectedNodes;}},activateKey:function(key){var dtnode=this.getNodeByKey(key);if(!dtnode){this.activeNode=null;return null;} | ||
| 139 | -dtnode.focus();dtnode.activate();return dtnode;},selectKey:function(key,select){var dtnode=this.getNodeByKey(key);if(!dtnode) | ||
| 140 | -return null;dtnode.select(select);return dtnode;},enableUpdate:function(bEnable){if(this.bEnableUpdate==bEnable) | ||
| 141 | -return bEnable;this.bEnableUpdate=bEnable;if(bEnable) | ||
| 142 | -this.redraw();return!bEnable;},visit:function(fn,data,includeRoot){return this.tnRoot.visit(fn,data,includeRoot);},_createFromTag:function(parentTreeNode,$ulParent){var self=this;$ulParent.find(">li").each(function(){var $li=$(this);var $liSpan=$li.find(">span:first");var title;if($liSpan.length){title=$liSpan.html();}else{title=$li.html();var iPos=title.search(/<ul/i);if(iPos>=0) | ||
| 143 | -title=$.trim(title.substring(0,iPos));else | ||
| 144 | -title=$.trim(title);} | ||
| 145 | -var data={title:title,isFolder:$li.hasClass("folder"),isLazy:$li.hasClass("lazy"),expand:$li.hasClass("expanded"),select:$li.hasClass("selected"),activate:$li.hasClass("active"),focus:$li.hasClass("focused")};if($li.attr("title")) | ||
| 146 | -data.tooltip=$li.attr("title");if($li.attr("id")) | ||
| 147 | -data.key=$li.attr("id");if($li.attr("data")){var dataAttr=$.trim($li.attr("data"));if(dataAttr){if(dataAttr.charAt(0)!="{") | ||
| 148 | -dataAttr="{"+dataAttr+"}" | ||
| 149 | -try{$.extend(data,eval("("+dataAttr+")"));}catch(e){throw("Error parsing node data: "+e+"\ndata:\n'"+dataAttr+"'");}}} | ||
| 150 | -childNode=parentTreeNode._addNode(data);var $ul=$li.find(">ul:first");if($ul.length){self._createFromTag(childNode,$ul);}});},lastentry:undefined};$.widget("ui.dynatree",{init:function(){return this._init();},_init:function(){logMsg("Dynatree._init(): version='%s', debugLevel=%o.",DynaTree.version,this.options.debugLevel);this.options.event+=".dynatree";var $this=this.element;var opts=this.options;if(!opts.imagePath){$("script").each(function(){if(this.src.search(/.*dynatree[^/]*\.js$/i)>=0){if(this.src.indexOf("/")>=0) | ||
| 151 | -opts.imagePath=this.src.slice(0,this.src.lastIndexOf("/"))+"/skin/";else | ||
| 152 | -opts.imagePath="skin/";logMsg("Guessing imagePath from '%s': '%s'",this.src,opts.imagePath);return false;}});} | ||
| 153 | -var divContainer=$this.get(0);if(opts.children||(opts.initAjax&&opts.initAjax.url)||opts.initId) | ||
| 154 | -$(divContainer).empty();this.tree=new DynaTree(divContainer,opts);var root=this.tree.getRoot();var prevFlag=this.tree.enableUpdate(false);this.tree.logDebug("Start init tree structure...");if(opts.children){root.append(opts.children);}else if(opts.initAjax&&opts.initAjax.url){root.appendAjax(opts.initAjax);}else if(opts.initId){this.tree._createFromTag(root,$("#"+opts.initId));}else{var $ul=$this.find(">ul").hide();this.tree._createFromTag(root,$ul);$ul.remove();} | ||
| 155 | -this.tree.enableUpdate(prevFlag);this.tree.logDebug("Init tree structure... done.");this.bind();this.tree.initMode="postInit";nodeList=this.tree.selectedNodes.slice();this.tree.selectedNodes=[];for(var i=0;i<nodeList.length;i++){var dtnode=nodeList[i];this.tree.logDebug("Re-select on init: %o",dtnode);dtnode.bSelected=false;dtnode.select(true);} | ||
| 156 | -if(this.tree.focusNode){this.tree.logDebug("Focus on init: %o",this.tree.focusNode);this.tree.focusNode.focus();} | ||
| 157 | -if(this.tree.activeNode){var dtnode=this.tree.activeNode;this.tree.activeNode=null;this.tree.logDebug("Activate on init: %o",dtnode);dtnode._userActivate();} | ||
| 158 | -this.tree.initMode="running";},bind:function(){var $this=this.element;var o=this.options;this.unbind();function __getNodeFromElement(el){var iMax=4;do{if(el.dtnode)return el.dtnode;el=el.parentNode;}while(iMax--);return null;} | ||
| 159 | -$this.bind("click.dynatree dblclick.dynatree keypress.dynatree keydown.dynatree",function(event){var dtnode=__getNodeFromElement(event.target);if(!dtnode) | ||
| 160 | -return false;dtnode.tree.logDebug("bind(%o): dtnode: %o",event,dtnode);switch(event.type){case"click":return(o.onClick&&o.onClick(dtnode,event)===false)?false:dtnode.onClick(event);case"dblclick":return(o.onDblClick&&o.onDblClick(dtnode,event)===false)?false:dtnode.onDblClick(event);case"keydown":return(o.onKeydown&&o.onKeydown(dtnode,event)===false)?false:dtnode.onKeydown(event);case"keypress":return(o.onKeypress&&o.onKeypress(dtnode,event)===false)?false:dtnode.onKeypress(event);};});function __focusHandler(event){event=arguments[0]=$.event.fix(event||window.event);var dtnode=__getNodeFromElement(event.target);return dtnode?dtnode.onFocus(event):false;} | ||
| 161 | -var div=this.tree.divTree;if(div.addEventListener){div.addEventListener("focus",__focusHandler,true);div.addEventListener("blur",__focusHandler,true);}else{div.onfocusin=div.onfocusout=__focusHandler;}},unbind:function(){this.element.unbind(".dynatree");},enable:function(){this.bind();this.setData("disabled",false);},disable:function(){this.unbind();this.setData("disabled",true);},getTree:function(){return this.tree;},getRoot:function(){return this.tree.getRoot();},getActiveNode:function(){return this.tree.getActiveNode();},getSelectedNodes:function(){return this.tree.getSelectedNodes();},lastentry:undefined});$.ui.dynatree.getter="getTree getRoot getActiveNode getSelectedNodes";$.ui.dynatree.defaults={title:"Dynatree root",rootVisible:false,minExpandLevel:1,imagePath:null,children:null,initId:null,initAjax:null,autoFocus:true,keyboard:true,persist:false,autoCollapse:false,clickFolderMode:3,activeVisible:true,checkbox:false,selectMode:2,fx:null,onClick:null,onDblClick:null,onKeydown:null,onKeypress:null,onFocus:null,onBlur:null,onQueryActivate:null,onQuerySelect:null,onQueryExpand:null,onActivate:null,onDeactivate:null,onSelect:null,onExpand:null,onLazyRead:null,ajaxDefaults:{cache:false,dataType:"json"},strings:{loading:"Loading…",loadError:"Load error!"},idPrefix:"ui-dynatree-id-",cookieId:"ui-dynatree-cookie",cookie:{expires:null},classNames:{container:"ui-dynatree-container",folder:"ui-dynatree-folder",document:"ui-dynatree-document",empty:"ui-dynatree-empty",vline:"ui-dynatree-vline",expander:"ui-dynatree-expander",connector:"ui-dynatree-connector",checkbox:"ui-dynatree-checkbox",nodeIcon:"ui-dynatree-icon",nodeError:"ui-dynatree-statusnode-error",nodeWait:"ui-dynatree-statusnode-wait",hidden:"ui-dynatree-hidden",combinedExpanderPrefix:"ui-dynatree-exp-",combinedIconPrefix:"ui-dynatree-ico-",active:"ui-dynatree-active",selected:"ui-dynatree-selected",expanded:"ui-dynatree-expanded",lazy:"ui-dynatree-lazy",focused:"ui-dynatree-focused",partsel:"ui-dynatree-partsel",lastsib:"ui-dynatree-lastsib"},debugLevel:1,lastentry:undefined};$.ui.dynatree.nodedatadefaults={title:null,key:null,isFolder:false,isLazy:false,tooltip:null,icon:null,addClass:null,activate:false,focus:false,expand:false,select:false,children:null,lastentry:undefined};})(jQuery); | ||
| 162 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/jquery/plugins/jquery.xml2json.js deleted
| 1 | -/* | ||
| 2 | - ### jQuery XML to JSON Plugin v1.0 - 2008-07-01 ### | ||
| 3 | - * http://www.fyneworks.com/ - diego@fyneworks.com | ||
| 4 | - * Dual licensed under the MIT and GPL licenses: | ||
| 5 | - * http://www.opensource.org/licenses/mit-license.php | ||
| 6 | - * http://www.gnu.org/licenses/gpl.html | ||
| 7 | - ### | ||
| 8 | - Website: http://www.fyneworks.com/jquery/xml-to-json/ | ||
| 9 | -*/ | ||
| 10 | -eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';5(10.M)(w($){$.N({11:w(j,k){5(!j)t{};w B(d,e){5(!d)t y;6 f=\'\',2=y,E=y;6 g=d.x,12=l(d.O||d.P);6 h=d.v||d.F||\'\';5(d.G){5(d.G.7>0){$.Q(d.G,w(n,a){6 b=a.x,u=l(a.O||a.P);6 c=a.v||a.F||\'\';5(b==8){t}z 5(b==3||b==4||!u){5(c.13(/^\\s+$/)){t};f+=c.H(/^\\s+/,\'\').H(/\\s+$/,\'\')}z{2=2||{};5(2[u]){5(!2[u].7)2[u]=p(2[u]);2[u][2[u].7]=B(a,R);2[u].7=2[u].7}z{2[u]=B(a)}}})}};5(d.I){5(d.I.7>0){E={};2=2||{};$.Q(d.I,w(a,b){6 c=l(b.14),C=b.15;E[c]=C;5(2[c]){5(!2[c].7)2[c]=p(2[c]);2[c][2[c].7]=C;2[c].7=2[c].7}z{2[c]=C}})}};5(2){2=$.N((f!=\'\'?A J(f):{}),2||{});f=(2.v)?(D(2.v)==\'16\'?2.v:[2.v||\'\']).17([f]):f;5(f)2.v=f;f=\'\'};6 i=2||f;5(k){5(f)i={};f=i.v||f||\'\';5(f)i.v=f;5(!e)i=p(i)};t i};6 l=w(s){t J(s||\'\').H(/-/g,"18")};6 m=w(s){t(D s=="19")||J((s&&D s=="K")?s:\'\').1a(/^((-)?([0-9]*)((\\.{0,1})([0-9]+))?$)/)};6 p=w(o){5(!o.7)o=[o];o.7=o.7;t o};5(D j==\'K\')j=$.S(j);5(!j.x)t;5(j.x==3||j.x==4)t j.F;6 q=(j.x==9)?j.1b:j;6 r=B(q,R);j=y;q=y;t r},S:w(a){6 b;T{6 c=($.U.V)?A 1c("1d.1e"):A 1f();c.1g=W}X(e){Y A L("Z 1h 1i 1j 1k 1l")};T{5($.U.V)b=(c.1m(a))?c:W;z b=c.1n(a,"v/1o")}X(e){Y A L("L 1p Z K")};t b}})})(M);',62,88,'||obj|||if|var|length||||||||||||||||||||||return|cnn|text|function|nodeType|null|else|new|parseXML|atv|typeof|att|nodeValue|childNodes|replace|attributes|String|string|Error|jQuery|extend|localName|nodeName|each|true|text2xml|try|browser|msie|false|catch|throw|XML|window|xml2json|nn|match|name|value|object|concat|_|number|test|documentElement|ActiveXObject|Microsoft|XMLDOM|DOMParser|async|Parser|could|not|be|instantiated|loadXML|parseFromString|xml|parsing'.split('|'),0,{})) | ||
| 11 | \ No newline at end of file | 0 | \ No newline at end of file |
ktatompub/Client/js/jquery/plugins/skin/cbChecked.gif deleted
887 Bytes
ktatompub/Client/js/jquery/plugins/skin/cbIntermediate.gif deleted
922 Bytes
ktatompub/Client/js/jquery/plugins/skin/cbIntermediate_hover.gif deleted
885 Bytes
ktatompub/Client/js/jquery/plugins/skin/cbUnchecked.gif deleted
877 Bytes
ktatompub/Client/js/jquery/plugins/skin/cbUnchecked_hover.gif deleted
873 Bytes
ktatompub/Client/js/jquery/plugins/skin/customDoc1.gif deleted
960 Bytes