diff --git a/ktatompub/.htaccess b/ktatompub/.htaccess deleted file mode 100644 index bad6432..0000000 --- a/ktatompub/.htaccess +++ /dev/null @@ -1,45 +0,0 @@ -# This file sets up the necessary PHP settings to run KnowledgeTree -# optimally. -# -# It is best that KnowledgeTree be allowed to manage its PHP and access -# permissions using these .htaccess files. This prevents direct access -# to libraries, scripts, and documents that should not be available via -# the web. -# -# By default, to facilitate quick testing of functionality, -# KnowledgeTree places the Documents directory within the KnowledgeTree -# web root. This, by default, would allow people to browse the -# documents in the DMS, bypassing the security permissions. The -# default .htaccess settings would prevent this. -# -# KnowledgeTree itself is able to deal with most PHP configurations, -# excepting "safe mode" currently, but is unable to handle certain -# inherent configuration options (for example, setting the upload size -# very low). Check the setup checklists (as described in the -# documentation) to see how your configuration is handled. -# -# The default .htaccess settings ensure that no workarounds occur in the -# PHP code, leading to better performance and robustness. -# -# -#php_value default_mimetype text/html -#php_value auto_prepend_file none -#php_value auto_append_file none -#php_flag display_startup_errors ON -#php_flag display_errors ON -#php_flag file_uploads ON -#php_flag magic_quotes_gpc OFF -#php_flag magic_quotes_runtime OFF -#php_flag register_globals OFF -#php_flag output_buffering OFF -#php_flag session.auto_start OFF -# - - -# -#RewriteEngine On -# -# SetEnv kt_no_extensions yes -# -# - diff --git a/ktatompub/Client/.project b/ktatompub/Client/.project deleted file mode 100644 index 75404c9..0000000 --- a/ktatompub/Client/.project +++ /dev/null @@ -1,11 +0,0 @@ - - - Atompub Client - - - - - - - - diff --git a/ktatompub/Client/index.html b/ktatompub/Client/index.html deleted file mode 100644 index d7c2442..0000000 --- a/ktatompub/Client/index.html +++ /dev/null @@ -1,527 +0,0 @@ - - - - -KnowlegeTree AtomPub Client - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KnowledgeTree AtomPub Client
- -
- - - - - -
-
-
-
-
-
-
-
- -
- - - - - - - -
Folder Info
- - - - - - - - - - - - - - - - - - - - -
Id 
Name 
Full Path 
Permissions 
  
-
- -
- - - - - - - -
Document Info
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Id 
Title 
File Name 
Document Type 
Custom Document No. 
OEM Document No. 
File Size 
Full Path 
Created By 
Created Date 
Checked out By 
Checkout Date 
Modified By 
Modified Date 
Owned by 
Version 
Content ID 
Is Immutable 
Permissions 
Workflow 
Workflow State 
Mime Type 
Mime Display 
Storage Path 
-
- -
- - - - - - - -
Document Info
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Id
Title
File Name
Document Type
Custom Document No.
OEM Document No.
File Size
Full Path
Created By
Created Date
Checked out By
Checkout Date
Modified By
Modified Date
Owned by
Version
Content ID
Is Immutable
Permissions
Workflow
Workflow State
Mime Type
Mime Display
Storage Path
-
- - - -
-
-
-
-
-
-
-
Clear Cache
-
-
-
KT Atompub Server URL - -
-
Document Tree Service - -
-
Folder Info Service - -
-
Document Info Service - -
-
-
-
-
-
-
-
-
Clear all Communication Data
-
-
-
-
- -
-
-
-
- - - - - -
- - - - - - - - - -
KT Atompub URL - -
 
Check ServiceDocument
- - - - - - - - - - - - - - - - - -
Checking ServiceDocument 
Document Tree Service 
Folder Info Service 
Document Info Service 
-
- - diff --git a/ktatompub/Client/js/@research/chili-2.2.zip b/ktatompub/Client/js/@research/chili-2.2.zip deleted file mode 100644 index 5f5a960..0000000 --- a/ktatompub/Client/js/@research/chili-2.2.zip +++ /dev/null diff --git a/ktatompub/Client/js/@research/dynatree-0.4.2.zip b/ktatompub/Client/js/@research/dynatree-0.4.2.zip deleted file mode 100644 index e5a49d1..0000000 --- a/ktatompub/Client/js/@research/dynatree-0.4.2.zip +++ /dev/null diff --git a/ktatompub/Client/js/@research/jquery.treeview.zip b/ktatompub/Client/js/@research/jquery.treeview.zip deleted file mode 100644 index 1eaa561..0000000 --- a/ktatompub/Client/js/@research/jquery.treeview.zip +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryFileTree.zip b/ktatompub/Client/js/@research/jqueryFileTree.zip deleted file mode 100644 index 9182b92..0000000 --- a/ktatompub/Client/js/@research/jqueryFileTree.zip +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/api.html b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/api.html deleted file mode 100644 index 0c5e47d..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/api.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - -jQuery API Finder - - - - - - - - - - - - - - - - - -
-
-Loading API ... -
    - -
-
-

-This is a not fully functional (for now) version of the jQuery API build for demonstration purposes only. Only tested on a Mac. More about jQuery Finder Plugin. Comments ?

- - - - diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/default.css b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/default.css deleted file mode 100644 index 7c7f4d0..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/default.css +++ /dev/null @@ -1,15 +0,0 @@ -body{font:0.8em Verdana,Arial,Helvetica,sans-serif;;} -hr{clear:both;} -.ui-finder{width:850px;padding:10px;} -.ui-finder .ui-finder-list-item{border-bottom:1px solid;} -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-image img{background-color:#000;border:1px outset #ccc;} -.ui-finder-action-destroy{float:left !important;} -.ui-finder .ui-finder-column .ui-finder-file-preview{font-size:0.85em;} -.ui-finder .ui-finder-column .ui-finder-file-preview{padding:10px;} -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-properties{line-height:1.3em;} -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-properties li{margin:0 0 10px 0;} -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-properties li strong{display:block;color:#888;} -.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;} -.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;} -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-image{margin:15px 0;display:block;} -.ui-finder .ui-finder-column .ui-finder-file-preview .ui-finder-image img{padding:2px;max-width:150px;max-height:150px;} diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/all-wcprops b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/all-wcprops deleted file mode 100644 index b796a89..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/all-wcprops +++ /dev/null @@ -1,35 +0,0 @@ -K 25 -svn:wc:ra_dav:version-url -V 26 -/svn/!svn/ver/2/trunk/html -END -level5.html -K 25 -svn:wc:ra_dav:version-url -V 38 -/svn/!svn/ver/2/trunk/html/level5.html -END -somefile.html -K 25 -svn:wc:ra_dav:version-url -V 40 -/svn/!svn/ver/2/trunk/html/somefile.html -END -level2.html -K 25 -svn:wc:ra_dav:version-url -V 38 -/svn/!svn/ver/2/trunk/html/level2.html -END -level3.html -K 25 -svn:wc:ra_dav:version-url -V 38 -/svn/!svn/ver/2/trunk/html/level3.html -END -level4.html -K 25 -svn:wc:ra_dav:version-url -V 38 -/svn/!svn/ver/2/trunk/html/level4.html -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/entries b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/entries deleted file mode 100644 index 498cb9f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/entries +++ /dev/null @@ -1,198 +0,0 @@ -9 - -dir -3 -https://rudas.n@jqueryfinder.googlecode.com/svn/trunk/html -https://rudas.n@jqueryfinder.googlecode.com/svn - - - -2009-02-26T09:21:02.204978Z -2 -rudas.n - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -b09892bc-9467-11dd-b351-877165d8dbbc - -level5.html -file - - - - -2009-02-26T09:26:36.000000Z -3685bcf99a55aa851eb5a5422c6744d7 -2009-02-26T09:21:02.204978Z -2 -rudas.n - - - - - - - - - - - - - - - - - - - - - -443 - -somefile.html -file - - - - -2009-02-26T09:26:36.000000Z -da59fd4f3cc8acf6bca23e3b43aba1fb -2009-02-26T09:21:02.204978Z -2 -rudas.n - - - - - - - - - - - - - - - - - - - - - -690 - -level2.html -file - - - - -2009-02-26T09:26:36.000000Z -b64d5fa7665d4fcc958bcb325a5c2305 -2009-02-26T09:21:02.204978Z -2 -rudas.n - - - - - - - - - - - - - - - - - - - - - -420 - -level3.html -file - - - - -2009-02-26T09:26:36.000000Z -ee26cf4d47b12cc62fdf6ad07db40894 -2009-02-26T09:21:02.204978Z -2 -rudas.n - - - - - - - - - - - - - - - - - - - - - -279 - -level4.html -file - - - - -2009-02-26T09:26:36.000000Z -46a6ce0ec53a23f64d9f7d717da5704d -2009-02-26T09:21:02.204978Z -2 -rudas.n - - - - - - - - - - - - - - - - - - - - - -279 - diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/format b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/format deleted file mode 100644 index ec63514..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level2.html.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level2.html.svn-base deleted file mode 100644 index cda17f7..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level2.html.svn-base +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level3.html.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level3.html.svn-base deleted file mode 100644 index 52dd1cf..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level3.html.svn-base +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level4.html.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level4.html.svn-base deleted file mode 100644 index 5db7a28..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level4.html.svn-base +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level5.html.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level5.html.svn-base deleted file mode 100644 index 8722ca6..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/level5.html.svn-base +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/somefile.html.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/somefile.html.svn-base deleted file mode 100644 index 0114217..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/.svn/text-base/somefile.html.svn-base +++ /dev/null @@ -1,16 +0,0 @@ -
-

Preview

-

- -
\ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level2.html b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level2.html deleted file mode 100644 index cda17f7..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level2.html +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level3.html b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level3.html deleted file mode 100644 index 52dd1cf..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level3.html +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level4.html b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level4.html deleted file mode 100644 index 5db7a28..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level4.html +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level5.html b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level5.html deleted file mode 100644 index 8722ca6..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/level5.html +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/somefile.html b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/somefile.html deleted file mode 100644 index 0114217..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/html/somefile.html +++ /dev/null @@ -1,16 +0,0 @@ -
-

Preview

-

- -
\ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/all-wcprops b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/all-wcprops deleted file mode 100644 index cf2f47e..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/all-wcprops +++ /dev/null @@ -1,83 +0,0 @@ -K 25 -svn:wc:ra_dav:version-url -V 28 -/svn/!svn/ver/2/trunk/images -END -ui-icons_2e83ff_256x240.png -K 25 -svn:wc:ra_dav:version-url -V 56 -/svn/!svn/ver/2/trunk/images/ui-icons_2e83ff_256x240.png -END -ui-bg_glass_95_fef1ec_1x400.png -K 25 -svn:wc:ra_dav:version-url -V 60 -/svn/!svn/ver/2/trunk/images/ui-bg_glass_95_fef1ec_1x400.png -END -ui-icons_888888_256x240.png -K 25 -svn:wc:ra_dav:version-url -V 56 -/svn/!svn/ver/2/trunk/images/ui-icons_888888_256x240.png -END -ui-bg_glass_55_fbf9ee_1x400.png -K 25 -svn:wc:ra_dav:version-url -V 60 -/svn/!svn/ver/2/trunk/images/ui-bg_glass_55_fbf9ee_1x400.png -END -ui-bg_glass_75_dadada_1x400.png -K 25 -svn:wc:ra_dav:version-url -V 60 -/svn/!svn/ver/2/trunk/images/ui-bg_glass_75_dadada_1x400.png -END -ui-bg_flat_75_ffffff_40x100.png -K 25 -svn:wc:ra_dav:version-url -V 60 -/svn/!svn/ver/2/trunk/images/ui-bg_flat_75_ffffff_40x100.png -END -ui-bg_glass_75_e6e6e6_1x400.png -K 25 -svn:wc:ra_dav:version-url -V 60 -/svn/!svn/ver/2/trunk/images/ui-bg_glass_75_e6e6e6_1x400.png -END -ui-bg_glass_65_ffffff_1x400.png -K 25 -svn:wc:ra_dav:version-url -V 60 -/svn/!svn/ver/2/trunk/images/ui-bg_glass_65_ffffff_1x400.png -END -ui-bg_highlight-soft_75_cccccc_1x100.png -K 25 -svn:wc:ra_dav:version-url -V 69 -/svn/!svn/ver/2/trunk/images/ui-bg_highlight-soft_75_cccccc_1x100.png -END -ui-icons_cd0a0a_256x240.png -K 25 -svn:wc:ra_dav:version-url -V 56 -/svn/!svn/ver/2/trunk/images/ui-icons_cd0a0a_256x240.png -END -ui-bg_flat_0_aaaaaa_40x100.png -K 25 -svn:wc:ra_dav:version-url -V 59 -/svn/!svn/ver/2/trunk/images/ui-bg_flat_0_aaaaaa_40x100.png -END -ui-icons_454545_256x240.png -K 25 -svn:wc:ra_dav:version-url -V 56 -/svn/!svn/ver/2/trunk/images/ui-icons_454545_256x240.png -END -ui-icons_222222_256x240.png -K 25 -svn:wc:ra_dav:version-url -V 56 -/svn/!svn/ver/2/trunk/images/ui-icons_222222_256x240.png -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/entries b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/entries deleted file mode 100644 index 45e7cec..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/entries +++ /dev/null @@ -1,470 +0,0 @@ -9 - -dir -3 -https://rudas.n@jqueryfinder.googlecode.com/svn/trunk/images -https://rudas.n@jqueryfinder.googlecode.com/svn - - - -2009-02-26T09:21:02.204978Z -2 -rudas.n - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -b09892bc-9467-11dd-b351-877165d8dbbc - -ui-icons_2e83ff_256x240.png -file - - - - -2009-02-26T09:26:37.000000Z -a4127cef04012ee8681adef24d8e2a0f -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -4379 - -ui-bg_glass_95_fef1ec_1x400.png -file - - - - -2009-02-26T09:26:37.000000Z -5a3be2d8fff8324d59aec3df7b0a0c83 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -119 - -ui-icons_888888_256x240.png -file - - - - -2009-02-26T09:26:37.000000Z -4ec07344d71ee10034427088ec6f3ca3 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -4379 - -ui-bg_glass_55_fbf9ee_1x400.png -file - - - - -2009-02-26T09:26:37.000000Z -f8f4558e0b92ff2cd6136781533902ec -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -120 - -ui-bg_glass_75_dadada_1x400.png -file - - - - -2009-02-26T09:26:37.000000Z -c12c6510dad3ebfa64c8a30e959a2469 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -111 - -ui-bg_flat_75_ffffff_40x100.png -file - - - - -2009-02-26T09:26:37.000000Z -8692e6efddf882acbff144c38ea7dfdf -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -178 - -ui-bg_glass_75_e6e6e6_1x400.png -file - - - - -2009-02-26T09:26:37.000000Z -f4254356c2a8c9a383205ef2c4de22c4 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -110 - -ui-bg_glass_65_ffffff_1x400.png -file - - - - -2009-02-26T09:26:37.000000Z -e5a8f32e28fd5c27bf0fed33c8a8b9b5 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -105 - -ui-bg_highlight-soft_75_cccccc_1x100.png -file - - - - -2009-02-26T09:26:37.000000Z -72c593d16e998952cd8d798fee33c6f3 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -101 - -ui-icons_cd0a0a_256x240.png -file - - - - -2009-02-26T09:26:37.000000Z -85eb7d511838b9bc089b7d6efd4ded92 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -4379 - -ui-bg_flat_0_aaaaaa_40x100.png -file - - - - -2009-02-26T09:26:37.000000Z -2a44fbdb7360c60122bcf6dcef0387d8 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -180 - -ui-icons_454545_256x240.png -file - - - - -2009-02-26T09:26:37.000000Z -488f07fac2ec00ca851c4ff6640e0430 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -4379 - -ui-icons_222222_256x240.png -file - - - - -2009-02-26T09:26:37.000000Z -89a6553a4bba879b4944ba11cf061e04 -2009-02-26T09:21:02.204978Z -2 -rudas.n -has-props - - - - - - - - - - - - - - - - - - - - -4379 - diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/format b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/format deleted file mode 100644 index ec63514..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_flat_0_aaaaaa_40x100.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_flat_0_aaaaaa_40x100.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_flat_0_aaaaaa_40x100.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_flat_75_ffffff_40x100.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_flat_75_ffffff_40x100.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_flat_75_ffffff_40x100.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_55_fbf9ee_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_55_fbf9ee_1x400.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_55_fbf9ee_1x400.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_65_ffffff_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_65_ffffff_1x400.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_65_ffffff_1x400.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_75_dadada_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_75_dadada_1x400.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_75_dadada_1x400.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_75_e6e6e6_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_75_e6e6e6_1x400.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_75_e6e6e6_1x400.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_95_fef1ec_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_95_fef1ec_1x400.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_glass_95_fef1ec_1x400.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_highlight-soft_75_cccccc_1x100.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_highlight-soft_75_cccccc_1x100.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-bg_highlight-soft_75_cccccc_1x100.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_222222_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_222222_256x240.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_222222_256x240.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_2e83ff_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_2e83ff_256x240.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_2e83ff_256x240.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_454545_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_454545_256x240.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_454545_256x240.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_888888_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_888888_256x240.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_888888_256x240.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_cd0a0a_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_cd0a0a_256x240.png.svn-base deleted file mode 100644 index cd0e69f..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/prop-base/ui-icons_cd0a0a_256x240.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_flat_0_aaaaaa_40x100.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_flat_0_aaaaaa_40x100.png.svn-base deleted file mode 100644 index 5b5dab2..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_flat_0_aaaaaa_40x100.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_flat_75_ffffff_40x100.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_flat_75_ffffff_40x100.png.svn-base deleted file mode 100644 index ac8b229..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_flat_75_ffffff_40x100.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_55_fbf9ee_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_55_fbf9ee_1x400.png.svn-base deleted file mode 100644 index ad3d634..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_55_fbf9ee_1x400.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_65_ffffff_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_65_ffffff_1x400.png.svn-base deleted file mode 100644 index 42ccba2..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_65_ffffff_1x400.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_75_dadada_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_75_dadada_1x400.png.svn-base deleted file mode 100644 index 5a46b47..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_75_dadada_1x400.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_75_e6e6e6_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_75_e6e6e6_1x400.png.svn-base deleted file mode 100644 index 86c2baa..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_75_e6e6e6_1x400.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_95_fef1ec_1x400.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_95_fef1ec_1x400.png.svn-base deleted file mode 100644 index 4443fdc..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_glass_95_fef1ec_1x400.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_highlight-soft_75_cccccc_1x100.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_highlight-soft_75_cccccc_1x100.png.svn-base deleted file mode 100644 index 7c9fa6c..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-bg_highlight-soft_75_cccccc_1x100.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_222222_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_222222_256x240.png.svn-base deleted file mode 100644 index 67560da..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_222222_256x240.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_2e83ff_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_2e83ff_256x240.png.svn-base deleted file mode 100644 index b425c44..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_2e83ff_256x240.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_454545_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_454545_256x240.png.svn-base deleted file mode 100644 index 0cd64a2..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_454545_256x240.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_888888_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_888888_256x240.png.svn-base deleted file mode 100644 index 2e5180e..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_888888_256x240.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_cd0a0a_256x240.png.svn-base b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_cd0a0a_256x240.png.svn-base deleted file mode 100644 index 2db88b7..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/.svn/text-base/ui-icons_cd0a0a_256x240.png.svn-base +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_flat_0_aaaaaa_40x100.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 5b5dab2..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_flat_0_aaaaaa_40x100.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_flat_75_ffffff_40x100.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_flat_75_ffffff_40x100.png deleted file mode 100644 index ac8b229..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_flat_75_ffffff_40x100.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_55_fbf9ee_1x400.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100644 index ad3d634..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_55_fbf9ee_1x400.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_65_ffffff_1x400.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index 42ccba2..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_65_ffffff_1x400.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_75_dadada_1x400.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100644 index 5a46b47..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_75_dadada_1x400.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_75_e6e6e6_1x400.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100644 index 86c2baa..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_75_e6e6e6_1x400.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_95_fef1ec_1x400.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index 4443fdc..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_glass_95_fef1ec_1x400.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100644 index 7c9fa6c..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_222222_256x240.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_222222_256x240.png deleted file mode 100644 index 67560da..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_222222_256x240.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_2e83ff_256x240.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_2e83ff_256x240.png deleted file mode 100644 index b425c44..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_2e83ff_256x240.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_454545_256x240.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_454545_256x240.png deleted file mode 100644 index 0cd64a2..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_454545_256x240.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_888888_256x240.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_888888_256x240.png deleted file mode 100644 index 2e5180e..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_888888_256x240.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_cd0a0a_256x240.png b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index 2db88b7..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/images/ui-icons_cd0a0a_256x240.png +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/index.html b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/index.html deleted file mode 100644 index 7d85c0e..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/index.html +++ /dev/null @@ -1,455 +0,0 @@ - - - - -jQuery Finder - - - - - - - - - - - - - - - - -

jQuery Finder .:. Mac OS X-like Column-view Navigation (alternative to treeview)

-
-
-
-
    -
  1. Lorem ipsum dolor sit amet
  2. -
  3. Consectetur adipiscing elit
  4. -
  5. Nam auctor, lectus vulputate - - -
  6. -
  7. Consequat luctus
  8. -
  9. Nisl enim eleifend sem
  10. -
  11. Nam auctor, lectus vulputate
  12. -
-
-A better demo (jQuery's API) - -
-
-

Public methods

-
    -
  1. $(selector).finder([options])
  2. -
  3. $(selector).finder('select',URL || DOM or jQuery object || Array of URLs)
  4. -
  5. $(selector).finder('current')
  6. -
  7. $(selector).finder('refresh')
  8. -
-You can also use the toolbar buttons for these actions. -
-
-

Testing methods

-

Just some methods to test the queue. Create finder before using testing methods

-
    -
  1. Calls 'select' method 6 times at an interval of 500ms
  2. -
  3. Calls 'select' method for an array of URLs. Useful if you want to select an Item or Folder which is multiple levels down.
  4. -
-
-
-

Code used for this demo

-

-$('#finder').finder({
-	title : 'jQuery Finder v0.6a',
-	onRootReady: function(rootList,finderObj){
-		debug('Root ready',arguments)
-	},
-	onInit : function(finderObj) {
-		
-		debug('Finder initialised',arguments)
-		
-		$('.ui-finder-action-refresh').click(function() {
-			$('[name="refresh"]').click();
-		});
-		
-		
-		$('.ui-finder-action-open').click(function(){
-			$('[name="select"]').click();
-		});
-
-		$('.ui-finder-action-current').click(function(){
-			$('[name="getCurrent"]').click();
-		});
-
-		$('.ui-finder-action-destroy').click(function(){
-			$('[name="createFinder"]').click();
-		});
-
-	},
-	onItemSelect : function(listItem,eventTarget,finderObject){			
-		var anchor = $('a',listItem),
-			href = anchor.attr('rel');
-		
-	// Debug is a function specified in Finder script for debugging purposes
-	// Remove it if unnecessary
-		debug('onItemSelect - URL: ',href)
-	
-	// By returning false, the url specified is not fetched
-	// ie. Do not display new column if selected item is not an image
-		if(href.indexOf('.jpg') == -1) {return false;}
-		
-	},
-	onFolderSelect : function(listItem,eventTarget,finderObject){
-		var anchor = $('a',listItem),
-			href = anchor.attr('rel');
-			
-		debug('onFolderSelect - URL: ',href)
-	},
-	onItemOpen : function(listItem,newColumn,finderObject){
-		var anchor = $('a',listItem),
-			href = anchor.attr('href');
-		
-		debug('onItemOpen - Column source: ',newColumn.attr('data-finder-list-source'))
-
-	},
-	onFolderOpen : function(listItem,newColumn,finderObject){
-		var anchor = $('a',listItem),
-			href = anchor.attr('href');
-		
-		debug('onFolderOpen - Column source: ',newColumn.attr('data-finder-list-source'))
-	},
-
-	toolbarActions : function() {
-		return '\
-		<div class="ui-finder-button ui-state-default ui-corner-left ui-finder-action-refresh" title="Refresh">\
-			<span class="ui-icon ui-icon-refresh"/>\
-		</div>\
-		<div class="ui-finder-button ui-state-default ui-finder-action-open" title="Open ..">\
-			>span class="ui-icon ui-icon-folder-open"/>\
-		</div>\
-		<div class="ui-finder-button ui-state-default ui-finder-action-current ui-corner-right" title="Get current">\
-			>span class="ui-icon ui-icon-help"/>\
-		</div>\
-		<div class="ui-finder-button ui-state-default ui-finder-action-destroy ui-corner-all" title="Destroy">\
-			>span class="ui-icon ui-icon-closethick"/>\
-		</div>\
-		';
-	} 
-	
-});
-
-
- -

Download

-

This is an Alpha release. It is tested but not thoroughly. There may be bugs, but I haven't found them yet. There are some issues with Internet Explorer (see browser support below). This release is (still) only for testing purposes and proof-of-concept.

-

You are more than welcome to contribute with bug reports, code, and general ideas/comments. Please post at jQuery group or e-mail me at rudas dot n at gmail dot com.

-

Last update: 9 Feb. 2009

-
    -
  1. ui.finder.js
  2. -
  3. v0.6a.zip - Contains all files used in this page (js, css, img, etc)
  4. -
- -
- -

Browser support

- - -

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 (?)

- -

Unless otherwise noted, the script looks and behaves correctly for the following browsers:

- - -
    -
  1. Firefox 2 & 3
  2. -
  3. Opera 9.62
  4. -
  5. Safari 3.1.2 - Webkit browsers like to collapse columns
  6. -
  7. Chrome 1
  8. -
  9. IE 8b2
  10. -
  11. IE 7 - CSS Bug with width of list items (help please)
  12. -
-
-

Options

-

(This section needs update, see source of ui.finder.js for options)

-
-
title String
-
The title to be displayed at the top of the Finder

-
url String
-
URL of root list, used when list should be retrieved via ajax

-
onInit Function
-
Callback function for when a Finder is initialised

-
onRootReady Function
-
Callback function for when the root list of a Finder is ready

-
onItemSelect Function
-
Callback function when an item is selected. Note: If onItemSelect returns false, default behaviour is ignored, i.e. the URL is not fetched, and the new level is not shown.

onItemOpen is also not called.
-
onItemOpen Function
-
Callback function when an item is opened. Function is called when the user clicks on the anchor element (as opposed to the li element).

-
onFolderSelect Function
-
Callback function when a folder is selected. To specify a folder, add a class "folder" to your list element. Function is called when the user clicks on the list (li) element.

Note: If onFolderSelect returns false, default behaviour is ignored, i.e. the URL is not fetched, and the new level is not shown.

-
onFolderOpen Function
-
Callback function when a folder is opened. Function is called when the user clicks on the anchor element (as opposed to the li element)

-
animate Boolean
-
Slide in subsequent levels

Default: true

-
cache Boolean
-
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.

Default: false

-
-
-

To do

-
    -
  1. Max width -

    New column expands to fit available space.[optional]

    -
  2. -
  3. Support non-ajax functionality -

    When lists & file info already in dom. Display items several levels down.

    -
  4. -
  5. Toolbar/Menubar -

    Make public methods available via toolbar and/or menubar. (nearly there)

    -
  6. -
  7. Search -

    Search for specific items (coming next)

    -
  8. -
-
- - - - diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/jquery.scrollTo-1.4.0-min.js b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/jquery.scrollTo-1.4.0-min.js deleted file mode 100644 index eacfe56..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/jquery.scrollTo-1.4.0-min.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * jQuery.ScrollTo - Easy element scrolling using jQuery. - * Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com - * Dual licensed under MIT and GPL. - * Date: 9/11/2008 - * @author Ariel Flesler - * @version 1.4 - * - * http://flesler.blogspot.com/2007/10/jqueryscrollto.html - */ -;(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); \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/loading.gif b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/loading.gif deleted file mode 100644 index 2554018..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/loading.gif +++ /dev/null diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder-min.js b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder-min.js deleted file mode 100644 index 15e9d68..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder-min.js +++ /dev/null @@ -1,26 +0,0 @@ -/***************************************************************************** - * jQuery Finder v0.7 - Makes lists into a Finder, similar to Mac OS X - * - * @date $Date: 2009-02-27 14:17:07 +0200 (Fri, 27 Feb 2009) $ - * @revision $Rev: 14 $ - * @copy (c) Copyright 2009 Nicolas Rudas. All Rights Reserved. - * @licence MIT Licensed - * @discuss groups.google.com/group/jquery-en/browse_thread/thread/480bb6f722b66345 - * @issues code.google.com/p/jqueryfinder/issues/ - * @latest code.google.com/p/jqueryfinder/source - * @demo nicolas.rudas.info/jquery/finder - * - ***************************************************************************** - * Syntax: - * $(selector).finder() Create a new finder with default options - * - * $(selector).finder(options) Create a new finder with additional options - * - * $(selector).finder(method,[arguments]) Execute a method on an existing finder - * - select Select item - * - refresh Reload currently selected item (cache is ignored) - * - destroy Completely remove finder - - * - **/ -(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('
').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('
').wrap('
').wrap('
');this.wrapper=this.element.parents(".ui-finder-container");this.wrapper.parents(".ui-finder").prepend('
'+O+"
").prepend('
'+this.settings.title+"
");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('');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('');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('
').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||Wd&&W!=T){if(c==W||W0){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); \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.css b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.css deleted file mode 100644 index 471828d..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.css +++ /dev/null @@ -1,41 +0,0 @@ -.ui-finder-container { - height:250px;/* HEIGHT MUST BE SPECIFIED OTHERWISE FINDER CONTENTS NOT VISIBLE*/} - -.ui-finder *{margin:0;padding:0;} -.ui-finder{position:relative;font:1em/1em Verdana,Arial,Helvetica,sans-serif;background-position:0 0 !important ;} -.ui-finder-wrapper{font-size:0.9em;clear:both;overflow-x:auto !important;overflow-y:hidden !important;} -.ui-finder-header{padding:10px 0 5px ;} -.ui-finder-header:after{content:' ';display:block;clear:both;height:0;line-height:0;} -.ui-finder-title{font-size:0.85em;font-weight:bold;position:absolute;text-align:center;z-index:5;top:5px;left:0;right:0;} -.ui-finder .ui-finder-container{position:relative;width:auto;} -.ui-finder .ui-finder-content{border:0px;position:static;} -.ui-finder .ui-finder-column{ - font-weight:normal;position:absolute;top:1px;left:1px;bottom:1px;border:0px; - overflow-x:hidden;overflow-y:scroll;} -.ui-finder .ui-finder-column ul, -.ui-finder .ui-finder-column ol{list-style:none;margin:0;padding:0;} -.ui-finder .ui-finder-column .ui-finder-list-item{margin:1px; - padding:6px 20px 6px 10px; - line-height:1.3em;position:relative;overflow:hidden;} -.ui-finder .ui-finder-column .ui-finder-list-item.ui-state-default, -.ui-finder .ui-finder-column .ui-finder-list-item.ui-state-hover{top:-2px;padding-top:7px;} -.ui-finder .ui-finder-column .ui-finder-list-item.ui-state-default:first-child, -.ui-finder .ui-finder-column .ui-finder-list-item.ui-state-hover:first-child{top:-1px;padding-top:6px;} -.ui-finder .ui-finder-column .ui-finder-list-item ul, -.ui-finder .ui-finder-column .ui-finder-list-item ol, -.ui-finder .ui-finder-column .ui-finder-list-item div{display:none;} -.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;} -.ui-finder .ui-finder-column .ui-finder-list-item:hover > a{text-decoration:underline;} -.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;} -.ui-finder-list-item.ui-finder-loading .ui-finder-icon-arrow, -.ui-finder-file .ui-finder-icon-arrow, -.ui-finder-list-item-file .ui-finder-icon-arrow{visibility:hidden;} -.ui-finder-button{display:block;float:right;width:35px;height:22px;/*top:-5px;*/ -left:1px;/*margin-left:-1px;*/ -position:relative;} -.ui-finder-button .ui-icon{left:9px;top:4px;position:absolute;} -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon, -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon-arrow{display:block;position:absolute;top:25%;z-index:2;} -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon-arrow{right:0px;} -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon-file, -.ui-finder .ui-finder-column .ui-finder-list-item .ui-finder-icon-folder{left:0px;top:0px;} diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.ie.css b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.ie.css deleted file mode 100644 index 9af112b..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.ie.css +++ /dev/null @@ -1,13 +0,0 @@ -.ui-finder, -.ui-finder .ui-finder-wrapper, -.ui-finder .ui-finder-header { - height:1%; - position:relative; - clear:both; -} -.ui-finder .ui-finder-container, -.ui-finder .ui-finder-content, -.ui-finder .ui-finder-list-item { - position:relative; - hasLayout:true; -} \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.js b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.js deleted file mode 100644 index f19f7a4..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.finder.js +++ /dev/null @@ -1,745 +0,0 @@ -/***************************************************************************** - * jQuery Finder v0.7 - Makes lists into a Finder, similar to Mac OS X - * - * @date $Date: 2009-02-27 13:53:16 +0200 (Fri, 27 Feb 2009) $ - * @revision $Rev: 11 $ - * @copy (c) Copyright 2009 Nicolas Rudas. All Rights Reserved. - * @licence MIT Licensed - * @discuss groups.google.com/group/jquery-en/browse_thread/thread/480bb6f722b66345 - * @issues code.google.com/p/jqueryfinder/issues/ - * @latest code.google.com/p/jqueryfinder/source - * @demo nicolas.rudas.info/jquery/finder - * - ***************************************************************************** - * Syntax: - * $(selector).finder() Create a new finder with default options - * - * $(selector).finder(options) Create a new finder with additional options - * - * $(selector).finder(method,[arguments]) Execute a method on an existing finder - * - select Select item - * - refresh Reload currently selected item (cache is ignored) - * - destroy Completely remove finder - - * - **/ -;(function($){ - -$.fn.finder = function(o,m){ -// Default options - var defaults = { - title : '', - url : false, - onInit : function(finderObj) {}, - onRootInit : function(rootList,finderObj){}, - onRootReady : function(newColumn,finderObj){}, - onItemSelect : function(listItem,eventTarget,finderObject){ - return false; - }, - onItemOpen : function(listItem,newColumn,self){}, - onFolderSelect : function(listItem,eventTarget,finderObject){}, - onFolderOpen : function(listItem,newColumn,self){}, - processData : function(responseText) { - return $('
').append(responseText); - }, - 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 ''; } - - }; - - -// Keep a reference to all finders created - var Finders = $.Finders = $.Finders || {}; - -// Return a new timestamp -// Usually used for caching URLs, or creating unique identifiers e.g. Finders[ timestamp() ] = new Finder(); - var timestamp = function() { return parseInt(new Date().valueOf(),10); }; - -// Check if scrollTo Plugin exists - var scrollToPlugin = $.scrollTo || false; - if(typeof scrollToPlugin == 'function') { - scrollToPlugin = true; - $.scrollTo.defaults.axis = 'xy'; - $.scrollTo.defaults.duration = 900; - } - -// Set some variables (know what we are dealing with) - var method, opts, - url = (typeof m == 'string') ? m : null, - func = (typeof m == 'function') ? m : null, - _args = arguments; - - if(typeof o == 'string') { method = o; } - else if (typeof o == 'object') { opts = o; } - - if(opts) { - if(opts.classNames) { - opts.classNames = jQuery.extend(defaults.classNames, opts.classNames); } - opts = jQuery.extend(defaults, opts);} - else { opts = defaults;} - - /** - * Finder Constructor - * - * - **/ - function Finder(element,finderId){ - var self = this; - - this.cache = {}; - - this._queue = []; - - this.settings = {}; - - this.id = finderId; - - // Reference to initial element - used when destroying Finder - this.initial = $(element).clone(true); - - // Reference to element, used throughout - this.element = $(element); - this.element.attr('data-finder-ts',this.id); - - // make options internal properties - for(var i in opts){ - self.settings[i] = opts[i]; } - - return this; - }; - - /** - * Initialise Finder - * Append necessary HTML, bind events etc - * - **/ - Finder.prototype.init = function(){ - var self = this, - toolbarActions = this.settings.toolbarActions.apply(this.element) || '', - classes = this.settings.classNames, - uiFinder = classes['ui-finder'] || '', - uiFinderWrapper = classes['ui-finder-wrapper'] || '', - uiFinderHeader = classes['ui-finder-header'] || '', - uiFinderTitle = classes['ui-finder-title'] || ''; - - // Wrap list to finder-wrapper - this.element - .wrap('
') - .wrap('
') - .wrap('
'); - - this.wrapper = this.element.parents('.ui-finder-container'); - - this.wrapper.parents('.ui-finder') - .prepend('
'+toolbarActions+'
') - .prepend('
'+this.settings.title+'
'); - - this.widget = this.wrapper.parents('.ui-finder'); - - this._toolbar = $('div.ui-finder-header',this.widget); - - this._title = $('div.ui-finder-title',this.widget); - - // Bind click events to wrapper so that only one event per finder is specified - // Click event to handle showing of columns etc - this.wrapper - .unbind('click.FinderSelect') - .bind('click.FinderSelect',function(e){ - var event_target = e.target, - $event_target = $(event_target); - - if(!$event_target.closest('li.ui-finder-list-item').length - && !$event_target.is('> li.ui-finder-list-item').length - || $event_target.parents('.ui-finder-column').length === 0 ) { - return; - } - - // Otherwise 'register' this action in queue - self.queue($event_target); - - // And prevent any other browser actions - return Boolean(self.lastSelectCallbackReturned); - }); - - setTimeout(function() { - self.settings.onInit.apply(self.element,[self]); - - self.settings.listItemBorderColour = $('.ui-widget-header').css('backgroundColor'); - - // Initialise root list - self.selectItem('root'); - },0); - - return this; - }; - - Finder.prototype.title = function(val) { - this._title.html(val); - return this; - }; - - Finder.prototype.toolbar = function(val) { - this._toolbar.html(val); - return this; - }; - - /** - * Queue - Following a click event on a list item or anchor, the queue function is called - * It stores info about click events so that the script can handle click events - * on a first-come first-served basis. - * - * @param noCache - True when queue function called via 'refresh' API - * i.e. caching is false when refreshing - * @param actionType - Either 'select' or 'open', specified only if queue fn - * called via API (ie. selector.finder('select', ... )) - **/ - Finder.prototype.queue = function(target,noCache,actionType /* select or open */){ - var self = this, - wrapper = this.wrapper; - - this._queue.push( [target,noCache,actionType] ); - - // isProcessing is set to true when the Finder is currently 'doing stuff' - // and set to false when not. So, if its not doing anything right now, - // continue to process this event - if(!self.isProcessing) { self.preSelect(); } - - - return this; - }; - - /** - * preSelect - Simple function to determine which item to select - * based on the current queue => Always first item in queue - * (first-come, first-served) - **/ - Finder.prototype.preSelect = function(){ - var self = this, - q = this._queue; - - if(q.length==0) { return;} - - self.select.apply(self,q[0]); - - return this; - }; - - /** - * Select - Considering the target of a click event, this function determines - * what to do next by taking into consideration if target was anchor, or list item, - * and if target was a file or a folder. - * - * Note: - Cannot select an item which is not in page (i.e. in sublevels) - * - When selecting item via API, not selecting levels properly - **/ - Finder.prototype.select = function(target,noCache,actionType) { - var self = this, - wrapper = this.wrapper, - targetElement = (typeof target == 'string') - ? $('a[rel="'+target+'"]',wrapper) : $(target), - eventTarget = targetElement; - - if(typeof target.length != 'number') { - throw 'jQuery Finder: Target must be either a URL or a jQuery/DOM element'; return this; } - - if(!targetElement[0]) { - throw 'jQuery Finder: Target element does not exist'; return this; } - - this.isProcessing = true; - - var targetList = targetElement.closest('li.ui-finder-list-item'), - targetA = $('> a:first',targetList), - targetContainer = targetList.parents('div[data-finder-list-level]:first'), - targetLevel = targetContainer.attr('data-finder-list-level'), - type = (targetList.hasClass('ui-finder-file')) ? 'file' : 'folder', - url = targetA.attr('rel'), - wrapperLists = $('div.ui-finder-column:visible',wrapper), - classes = this.settings.classNames, - classesActive = classes['ui-finder-list-item-active'] || '', - classesActiveNow = classes['ui-finder-list-item-activeNow'] || ''; - - // Fix event's target element. Only list and anchor elements make sense - targetElement = (targetElement[0] !== targetList[0] && targetElement[0] !== targetA[0]) - ? targetList - : targetElement; - - // If select was triggered via API and target was a URL (e.g. finder('select',url)) - // then target is considered to be the list item so as to select item and not open it. - // This allows user to select an item by providing the URL of an anchor element - // which would otherwise open the item - if(actionType == 'select' /*&& typeof target == 'string' *//*&& type == 'file'*/) { - eventTarget = targetElement = targetList; } - - // Currently selected item will no longer be active - $('.ui-finder-list-item.ui-finder-list-item-activeNow',wrapper) - .removeClass('ui-finder-list-item-activeNow ' + classesActiveNow ); - - // Remove visible lists which should not be visible anymore - wrapperLists.each(function(){ - var finderListWrapper = $(this), - finderListLevel = finderListWrapper.attr('data-finder-list-level'); - - if( finderListLevel >= targetLevel ) { - $('.ui-finder-list-item.ui-finder-list-item-active',finderListWrapper) - .removeClass('ui-finder-list-item-active ' + classesActive ); } - - if( finderListLevel > targetLevel ) { - finderListWrapper.remove(); } - }); - - // Style selected list item - // active refers to all previously selected list items - // activeNow refers to the currently active list item - targetList - .addClass('ui-finder-list-item-active ' + classesActive) - .addClass('ui-finder-list-item-activeNow ' + classesActiveNow); - - // Scroll to selected item - // Mostly useful if item not selected following direct user action (e.g. click event) - if(scrollToPlugin){ - setTimeout(function() { - targetContainer.scrollTo(targetList); }, 0); } - - // Call onSelectItem or onSelectFolder callbacks - // If callback does not return false, - // proceed to display item/folder in new column - var selectCallback, callbackArgs = [targetList,eventTarget,self]; - - if (type == 'file') { - selectCallback = self.settings.onItemSelect.apply(self.element,callbackArgs); } - else { - selectCallback = self.settings.onFolderSelect.apply(self.element,callbackArgs); } - - this.lastSelectCallbackReturned = selectCallback; - - // If callback returns false, no new column is added - // If callback returns true, default browser action is taken (i.e. url followed) - if( selectCallback !== false && selectCallback !== true) { - // Notify user of loading action - targetList.addClass('ui-finder-loading'); - - // Select item - self.selectItem(url,noCache,[targetElement,targetList]); - - return this; } - - // Script will only reach this point when select callbacks return false or true - - // Adjust the width of the current columns - // true param needed so that adjustWidth knows that - // there are no new columns being added - this.adjustWidth(true); - - // Finalise process (move on with queue etc) - this.finalise(); - - return this; - }; - - /** - * Select Item - * - * This function retrieves the data to be shown to the user after a click event - * Finder will only reach this point when select callbacks do not return false - **/ - - Finder.prototype.selectItem = function(url,noCache,targets){ - var self = this, - settings = self.settings, - target = (targets) ? targets[0] : null, - listItem = (targets) ? targets[1] : null, - type = (listItem) ? listItem[0].className.match(/(file|folder)/)[0] : 'folder', - data = (url == 'root') - ? (settings.url) ? null : this.element - : $('> ul, > ol, > div',listItem).eq(0).clone(), - url = (url == 'root' && typeof settings.url === 'string') ? settings.url : url; - - // Process data before appending new column - var proceed = function(){ - var processData = settings.processData, - tmp_data = data; - - if($.isFunction(processData)) { - data = processData(data); - if(!data.length) { data = tmp_data;} } - else { - data = $(data); } - - // Store data in cache - self.cache[url] = { - 'url':url, 'data' : data, 'response': tmp_data, - 'date': new Date().valueOf(), 'status' : 'success' }; - - // If just loaded root, call on root init callback - if(url == settings.url && typeof settings.onRootInit === 'function') { - settings.onRootInit.apply(self.element,[data,self]); } - - if(type == 'folder') { - // Process data. Find list items and add necessary classes and icons - $('> ul, > ol',data).eq(0).find('> li').each(function(){ - var $this = $(this), - thisType,thisTypeClass; - - // Get the type of this list item (file or folder) - if($this.hasClass('ui-finder-folder')) { - thisType = 'folder'; } - else if ($this.hasClass('ui-finder-file')) { - thisType = 'file'; } - - // If type (file or folder) is not specified try to figure it out - else { - if($this.children('ul,ol').length) { - $this.addClass('ui-finder-folder'); - thisType = 'folder'; } - else { // default type is file - $this.addClass('ui-finder-file'); - thisType = 'file'; } - } - - // Set class for icon - thisTypeClass = (thisType == 'file') - ? settings.classNames['ui-finder-list-item-file'] - : settings.classNames['ui-finder-list-item-folder']; - - $this - .addClass('ui-finder-list-item') - .css('borderColor',settings.listItemBorderColour) - .append(''); - - // Remove links - var anch = $('> a',this), - anchHref = anch.attr('href') || '_blank'+ new Date().valueOf(), - anchTitle = anch.attr('title') || ''; - - if(anch.attr('rel') == anchHref.substring(1) || !anchHref.length) { return;} - - anch - .attr('rel',anchHref) - .attr('href',anchHref) - .append(''); - - if(anchTitle.length == 0) {anch.attr('title',anchHref);} - }); - } - - // Append the new data - self.appendNewColumn(url,data,[target,listItem],type); - }; - - // Folder contents exist and no refresh - if(data && data.length && !noCache) { proceed(); } - - // Folder content exist, and refresh, but no URL - else if(data && data.length && noCache && url.match(/_blank\d+/)) { proceed(); } - - // Caching and data somewhere in cache - else if( typeof this.cache[url] == 'object' && this.settings.cache && !noCache) { - if(this.cache[url].status == 'success' ) { - data = this.cache[url].data; - proceed(); - } - } - // No data yet, so retrieve from URL - else if(!url.match(/_blank\d+/)) { - $.ajax({ - url : url, cache : self.settings.ajax.cache, - success: function(response){ - data = response; - }, - error: function(xhr,response){ - data = response; - }, - complete : function(){ - proceed(); - } - }); - } - - return this; - }; - - /*** - * Append new Column - Function to append a new column to finder - * called from selectItem function - * - * Triggers Callback functions for OpenItem or OpenFolder ! - ***/ - Finder.prototype.appendNewColumn = function(url,data,targets,type){ - var self = this, - target = (targets) ? targets[0] : null, - listItem = (targets) ? targets[1] : null, - targetParent = (listItem) - ? listItem.parents('div[data-finder-list-level]:first') : null, - columnId = url.replace(/[\W\s]*/g,''), - columnLevel = (function(){ - if (url == self.settings.url || url == 'root') { return 0; } - return parseInt(targetParent.attr('data-finder-list-level'),10) + 1; - })(); - - // If column already exists, remove it - var newColumn = $('div[data-finder-list-id="'+columnId+'"]'); - if(newColumn.length > 0) { newColumn[0].parentNode.removeChild(newColumn[0]); } - - // Specify new column, and add necessary attributes - newColumn = $('
') - // Avoid showing the column when it's not yet ready - // Also, setting display to none makes DOM manipulation a bit faster - .css('display','none') - .attr('data-finder-list-id',columnId) - .attr('data-finder-list-source',url) - .attr('data-finder-list-level',columnLevel) - .css('z-index',0); // Keep beneath other columns - - // Append new column - // Plain DOM scripting used as opposed to jQuery as it's faster - self.wrapper[0].appendChild(newColumn[0]); - - newColumn[0].appendChild($(data)[0]); - - // Adjust the width of the Finder - // but make sure that column is appended & parsed (timeout = 0) - setTimeout(function(){ - self.adjustWidth(false,newColumn,url);},0); - - // Call onOpenItem or onOpenFolder callback if target was anchor - // Note: target check necessary, root list has no target - if(target && target[0] && target.is('a')) { - var callbackArgs = [listItem,newColumn,self]; - if(type == 'file') { self.settings.onItemOpen.apply(self.element,callbackArgs); } - else { self.settings.onFolderOpen.apply(self.element,callbackArgs); } - } - - return this; - }; - - /*** - * Adjust Width - Adjust the width of the columns and the wrapper element - * param ignoreNew is true when select callbacks return false - ***/ - Finder.prototype.adjustWidth = function(ignoreNew,newColumn,url){ - var self = this, - wrapper = this.wrapper; - - newColumn = newColumn || $('div[data-finder-list-id]:visible:last',wrapper); - - // Get all siblings of the new column - // i.e those visible and not the last, as new column is always last - var columns = (!ignoreNew) - ? wrapper.children('div[data-finder-list-id]:not(.ui-finder-new-col):visible') - : wrapper.children('div[data-finder-list-id]:visible:not(:last)'), - width = 0; - - newColumn.removeClass('ui-finder-new-col'); - - // Prevent previous columns from taking up all the space (width) - columns.css('right','auto'); - - // Calculate the space taken by the visible columns - // The total width of these columns will be set as - // the left property of the new column (so that each column appears next to each other) - columns.each(function() { - $(this) - .width('auto') - // Explicitly setting the width of the column fixes some issues in IE. - // The 20px padding is needed for Webkit browsers (don't know why) - .width( $(this).outerWidth() + 20 ); - - width += $(this).width();}); - - // Account for Y axis scrollbar (only if it wasn't accounted before) - // The value specified will be added to the new column's width - var yScroll = 10,// ($.browser.msie && $.browser.version < 8) ? 10 : 5, - accountYScroll = ( !newColumn.data('yscroll') ) ? yScroll : 0; - - // Need to know the width of the new column (newColumnWidth), - // the total width of all columns (newWidth), - // the current width of the wrapper element (currentWidth), - // and the available width (specified in wrapper's parent) - var _tmpNewColumnWidth = newColumn.width(), - newColumnWidth = (self.settings.maxWidth && _tmpNewColumnWidth > self.settings.maxWidth) - ? self.settings.maxWidth : _tmpNewColumnWidth + accountYScroll, - newWidth = width + newColumnWidth, - currentWidth = wrapper.width(), - availableWidth = wrapper.parent().width(); - - // Mark column as y scrollbar fixed - newColumn.data('yscroll',true); - - // Adjust the width of the wrapper element. As columns as absolutely positioned - // no horizontal scrollbars appear if the total width of the columns exceeds the space available. - // By setting the width of the wrapper element to that of the columns, a horizontal scrollbar appears. - if ( newWidth > availableWidth || newWidth < currentWidth - && currentWidth > availableWidth && newWidth != currentWidth) { - - // If going from multiple levels down (ie. many columns) to a higher level - // (ie. to few columns) the new width will be less than available. - // Also if theres only one column visible (ie. root) newWidth will equal newColumnWidth. - // In these cases make sure Finder takes up all available space. - if(newColumnWidth == newWidth || newWidth < availableWidth) { newWidth = 'auto'; } - - // Account for Y axis scrollbar - // This adds the necessary width when moving backwards - accountYScroll = ( newWidth != 'auto' && newWidth != currentWidth ) ? yScroll : ''; - - // Set width to new - wrapper.width( newWidth + accountYScroll); - } - - // As the column is absolutely positioned, its left property - // must be specified - newColumn.css('left',width); - - // Make the new column take up all available space - // this must be set AFTER new column's width has been retrieved - // otherwise the value is not true - newColumn.css('right',0); - - // By setting the z-index of the new column to '2' - // it prevents subsequent columns from being above it - // whilst their css properties (left & right) are being set. - // For this to be effective columns must have a background specified - // (CSS class: .ui-finder-column) - newColumn.css('z-index',2); - - // Set display to block so that we can scroll to the new column - // Set visibility to hidden to avoid flicker if animation is required - newColumn.css({'display':'block','visibility':'hidden'}); - - // Scroll to new column - if(newColumn && scrollToPlugin){ - this.wrapper.parent().scrollTo(newColumn); } - - // ignoreNew exists when select callbacks return FALSE - // i.e. no new column was appended, but width of existing columns - // and wrapper still need fixing - if(!ignoreNew && this.settings.animate) { - // Animate column if desired - var duration = (!isNaN(this.settings.animate)) ? this.settings.animate : 500; - // To animate the column we cannot use its width value (its 0) - // but we can use its left property to calculate the width it currently occupies. - // Pixels from left - total pixels = pixels available for the column (i.e. width) - var fromLeft = newColumn.css('left').replace(/\D/g,''), - fromRight = wrapper.width() - fromLeft; - - // So by setting the column's right property to the calculated value - // and keeping its left property, the column becomes insivible - // The animation then decreases the right property gradually to zero - // to make the column visible - newColumn - .css('overflow-y','hidden') // avoid showing a scroll bar whilst animating - .css('right',fromRight) - .css('visibility','visible') - .animate({'right':0 },{ - duration:duration, - complete:function(){ - newColumn.css('overflow-y','scroll'); - self.finalise(newColumn,url); } - }); - } - // No animation, just show the new column - else { - newColumn.css('visibility','visible'); - self.finalise(newColumn,url); } - - return this; - }; - - Finder.prototype.finalise = function(newColumn,url){ - // Remove any loading classes - $('div.ui-finder-column .ui-finder-list-item.ui-finder-loading',this.wrapper) - .removeClass('ui-finder-loading'); - - // Specify that script is done processing (used in queing) - this.isProcessing = false; - - // Remove last item from queue - // and if there are more items, move on - this._queue.shift(); - if(this._queue.length > 0) { - this.preSelect(); } - - // If just loaded root, call on root ready callback - if(url == this.settings.url && typeof this.settings.onRootReady === 'function') { - this.settings.onRootReady.apply(this.element,[newColumn,this]); } - - return this; - }; - - Finder.prototype.destroy = function(){ - // Unbind events - this.wrapper - .unbind('click.FinderSelect'); - - // Remove Finder's HTML, append initial element - this.element.parents('.ui-finder').replaceWith(this.initial); - - // Delete reference to Finder - delete Finders[this.id]; - - return this; - }; - - Finder.prototype.current = function(){ - var current = $('.ui-state-hover',this.wrapper).find('a:first'); - return (current.length>0) ? current : null; - }; - - Finder.prototype.refresh = function(){ - var current = this.current(); - - if(current) { this.queue(current,true); } - else { this.selectItem('root',true); } - - return this; - }; - - var _finder = Finders[ $(this).eq(0).attr('data-finder-ts') ]; - - if(method == 'current' && _finder) { return _finder.current(); } - else if(method == 'get' && _finder) { return _finder; } - - return this.each(function(){ - var finderId = $(this).attr('data-finder-ts') || null, - timeStamp = new Date().valueOf(); - - // If name of method provided - // execute method - if(finderId && method) { - var finder = Finders[finderId]; - - // Access private methods - if(method == 'select' && m) { - if(m.constructor == Array) { - m = m.reverse(); - for (var i = m.length - 1; i >= 0; i--){ - finder.queue(m[i],false,method); } - } - else { finder.queue(m,false,method); } - } - else if(method == 'title') { finder.title(m); } - else if(method == 'toolbar') { finder.toolbar(m); } - else if(method == 'destroy') { finder.destroy(); } - else if(method == 'refresh') { finder.refresh(); } - } - // If no method provided new finder is created - else if (!method) { Finders[timeStamp] = new Finder(this,timeStamp).init(); } - else if (!finderId && method) { throw 'jQuery Finder: Element is not a finder'; } - }); -};})(jQuery); \ No newline at end of file diff --git a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.theme.css b/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.theme.css deleted file mode 100644 index 55f543c..0000000 --- a/ktatompub/Client/js/@research/jqueryfinder-0.7.0.1/ui.theme.css +++ /dev/null @@ -1,243 +0,0 @@ - - -/* -* jQuery UI CSS Framework -* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) -* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. -* 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 -*/ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; } -.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; } -.ui-widget-header a { color: #222222; } -.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; } -.ui-widget-content a { color: #222222; } - -/* Interaction states -----------------------------------*/ -.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; } -.ui-state-default a { color: #555555; text-decoration: none; outline: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; } -.ui-state-hover a { color: #212121; text-decoration: none; outline: none; } -.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; } -.ui-state-active a { color: #212121; outline: none; text-decoration: none; } - -/* Interaction Cues -----------------------------------*/ -.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; } -.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; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; } -.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } -.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } -.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; } -.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; } -.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; } -.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; } - -/* Overlays */ -.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } -.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; } \ No newline at end of file diff --git a/ktatompub/Client/js/APP/KT_atom_server.js b/ktatompub/Client/js/APP/KT_atom_server.js deleted file mode 100644 index e42a21a..0000000 --- a/ktatompub/Client/js/APP/KT_atom_server.js +++ /dev/null @@ -1,107 +0,0 @@ -KT_atom_server=new function(){ - this.xmlhelpers=new function(){ - this.getTagContents=function(node,tagName){ - return $(node).find(tagName)[0].textContent; - } - } - - this.set=function(element,value){ - if(element.tagName!=undefined){ - switch ((''+element.tagName+'').toLowerCase() ){ - case 'input': - $(element).val(value); - break; - default: - $(element).html(value); - } - } - } -}; - - -KT_atom_server.folder=new function(){ - this.fieldList={ - 'folder_id' :'id', - 'folder_name' :'folder_name', - 'folder_path' :'full_path', - 'folder_permissions' :'permissions' - }; - this.data={}; - - this.parseXML=function(entry){ - this.data={}; - for(var lFname in this.fieldList){ - this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); - } - } - - this.renderContainer=function(containerId){ - var elem=lib.def(document.getElementById(containerId),window.document.body); - for(var field in this.fieldList){ - $("."+field,elem).each(function(){ - KT_atom_server.set(this,KT_atom_server.folder.data[field]); - }); - } - } -} - -KT_atom_server.serviceDoc=new function(){ - this.parseXML=function(data,workspace){ - $('workspace',data).each(function(){ - var ws=$(this); - lib.debug.inspect($(ws[0].childNodes)); - if($('title',this)[0].textContent==workspace){ - alert('found workspace '+workspace) - } - }); - } -} - - -KT_atom_server.document=new function(){ - this.fieldList={ - 'document_id' :'document_id', - 'document_title' :'title', - 'document_custom_no' :'custom_document_no', - 'document_oem_no' :'oem_document_no', - 'document_type' :'document_type', - 'document_filename' :'filename', - 'document_file_size' :'filesize', - 'document_full_path' :'full_path', - 'document_created_by' :'created_by', - 'document_created_on' :'created_date', - 'document_modified_by' :'modified_by', - 'document_modified_on' :'modified_date', - 'document_checkout_by' :'checked_out_by', - 'document_checkout_on' :'checked_out_date', - 'document_owned_by' :'owned_by', - 'document_version' :'version', - 'document_content_id' :'content_id', - 'document_immutable' :'is_immutable', - 'document_permissions' :'permissions', - 'document_workflow' :'workflow', - 'document_workflow_state' :'workflow_state', - 'document_mime_type' :'mime_type', - 'document_mime_display' :'mime_display', - 'document_storage_path' :'storage_path', - 'document_download_url' :'downloaduri' - }; - this.data={}; - - this.parseXML=function(entry){ - this.data={}; - for(var lFname in this.fieldList){ - this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); - } - - } - - this.renderContainer=function(containerId){ - var elem=lib.def(document.getElementById(containerId),window.document.body); - for(var field in this.fieldList){ - $("."+field,elem).each(function(){ - KT_atom_server.set(this,KT_atom_server.document.data[field]); - }); - } - } -} \ No newline at end of file diff --git a/ktatompub/Client/js/APP/app.js b/ktatompub/Client/js/APP/app.js deleted file mode 100644 index fc283e0..0000000 --- a/ktatompub/Client/js/APP/app.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * AtomPub Handlers - * - * This library formats compliant AtomPub requests, handles server interaction - * and interprets the results back into JSON - */ -APP=new function(){ - this.GET=function(url){ - - } - - this.PUT=function(){ - } - - this.POST=function(){ - } - - this.DELETE=function(){ - } - -} \ No newline at end of file diff --git a/ktatompub/Client/js/APP/ktApp.js b/ktatompub/Client/js/APP/ktApp.js deleted file mode 100644 index b55f885..0000000 --- a/ktatompub/Client/js/APP/ktApp.js +++ /dev/null @@ -1,141 +0,0 @@ -KT_atom_server=new function(){ - this.xmlhelpers=new function(){ - this.getTagContents=function(node,tagName){ - return $(node).find(tagName)[0].textContent; - } - } - - this.set=function(element,value){ - //lib.debug.info('Setting Element '+element.id+' value: '+value); - if(element.tagName!=undefined){ - switch ((''+element.tagName+'').toLowerCase() ){ - case 'input': - $(element).val(value); - break; - default: - $(element).html(value); - } - } - } -}; - -/** - $('.folder_id',elem).html($(entry).find('id')[0].textContent); - $('.folder_name',elem).html($(entry).find('folder_name')[0].textContent); - $('.folder_path',elem).html($(entry).find('full_path')[0].textContent); - $('.folder_permissions',elem).html($(entry).find('permissions')[0].textContent); - */ - -/* - $('.document_id',elem).html($(entry).find('document_id')[0].textContent); - $('.document_title',elem).html($(entry).find('title')[0].textContent); - $('.document_custom_no',elem).html($(entry).find('custom_document_no')[0].textContent); - $('.document_oem_no',elem).html($(entry).find('oem_document_no')[0].textContent); - $('.document_type',elem).html($(entry).find('document_type')[0].textContent); - $('.document_filename',elem).html($(entry).find('filename')[0].textContent); - $('.document_file_size',elem).html($(entry).find('filesize')[0].textContent); - $('.document_full_path',elem).html($(entry).find('full_path')[0].textContent); - $('.document_created_by',elem).html($(entry).find('created_by')[0].textContent); - $('.document_created_on',elem).html($(entry).find('created_date')[0].textContent); - $('.document_checkout_by',elem).html($(entry).find('checked_out_by')[0].textContent); - $('.document_checkout_on',elem).html($(entry).find('checked_out_date')[0].textContent); - $('.document_modified_by',elem).html($(entry).find('modified_by')[0].textContent); - $('.document_modified_on',elem).html($(entry).find('modified_date')[0].textContent); - $('.document_owned_by',elem).html($(entry).find('owned_by')[0].textContent); - $('.document_version',elem).html($(entry).find('version')[0].textContent); - $('.document_content_id',elem).html($(entry).find('content_id')[0].textContent); - $('.document_immutable',elem).html($(entry).find('is_immutable')[0].textContent); - $('.document_permissions',elem).html($(entry).find('permissions')[0].textContent); - $('.document_workflow',elem).html($(entry).find('workflow')[0].textContent); - $('.document_workflow_state',elem).html($(entry).find('workflow_state')[0].textContent); - $('.document_mime_type',elem).html($(entry).find('mime_type')[0].textContent); - $('.document_mime_display',elem).html($(entry).find('mime_display')[0].textContent); - $('.document_storage_path',elem).html($(entry).find('storage_path')[0].textContent); - - */ -KT_atom_server.folder=new function(){ - this.fieldList={ - 'folder_id' :'id', - 'folder_name' :'folder_name', - 'folder_path' :'full_path', - 'folder_permissions' :'permissions' - }; - this.data={}; - - this.parseXML=function(entry){ - this.data={}; - for(var lFname in this.fieldList){ - this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); - } - } - - this.renderContainer=function(containerId){ - var elem=lib.def(document.getElementById(containerId),window.document.body); - for(var field in this.fieldList){ - $("."+field,elem).each(function(){ - KT_atom_server.set(this,KT_atom_server.folder.data[field]); - }); - } - } -} - -KT_atom_server.serviceDoc=new function(){ - this.parseXML=function(data,workspace){ - $('workspace',data).each(function(){ - var ws=$(this); - lib.debug.inspect($(ws[0].childNodes).); - if($('title',this)[0].textContent==workspace){ - alert('found workspace '+workspace) - } - }); - } -} - - -KT_atom_server.document=new function(){ - this.fieldList={ - 'document_id' :'document_id', - 'document_title' :'title', - 'document_custom_no' :'custom_document_no', - 'document_oem_no' :'oem_document_no', - 'document_type' :'document_type', - 'document_filename' :'filename', - 'document_file_size' :'filesize', - 'document_full_path' :'full_path', - 'document_created_by' :'created_by', - 'document_created_on' :'created_date', - 'document_modified_by' :'modified_by', - 'document_modified_on' :'modified_date', - 'document_checkout_by' :'checked_out_by', - 'document_checkout_on' :'checked_out_date', - 'document_owned_by' :'owned_by', - 'document_version' :'version', - 'document_content_id' :'content_id', - 'document_immutable' :'is_immutable', - 'document_permissions' :'permissions', - 'document_workflow' :'workflow', - 'document_workflow_state' :'workflow_state', - 'document_mime_type' :'mime_type', - 'document_mime_display' :'mime_display', - 'document_storage_path' :'storage_path', - 'document_download_url' :'downloaduri' - }; - this.data={}; - - this.parseXML=function(entry){ - this.data={}; - for(var lFname in this.fieldList){ - this.data[lFname]=KT_atom_server.xmlhelpers.getTagContents(entry,this.fieldList[lFname]); - } - - } - - this.renderContainer=function(containerId){ - var elem=lib.def(document.getElementById(containerId),window.document.body); - for(var field in this.fieldList){ - $("."+field,elem).each(function(){ - KT_atom_server.set(this,KT_atom_server.document.data[field]); - }); - } - } -} \ No newline at end of file diff --git a/ktatompub/Client/js/chili-2.2/start-here.html b/ktatompub/Client/js/chili-2.2/start-here.html deleted file mode 100644 index ee0f6f5..0000000 --- a/ktatompub/Client/js/chili-2.2/start-here.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - -

accessing the quick start page...

- - diff --git a/ktatompub/Client/js/chili/cplusplus.js b/ktatompub/Client/js/chili/cplusplus.js deleted file mode 100644 index a1725eb..0000000 --- a/ktatompub/Client/js/chili/cplusplus.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -=============================================================================== -Chili is the jQuery code highlighter plugin -............................................................................... -LICENSE: http://www.opensource.org/licenses/mit-license.php -WEBSITE: http://noteslog.com/chili/ - - Copyright 2008 / Andrea Ercolino -=============================================================================== -*/ - -{ - _name: "cpp" - , _case: true - , _main: { - mlcom : { - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// - , _style: "color: #4040c2;" - } - , com : { - _match: /\/\/.*/ - , _style: "color: green;" - } - , preproc : { - _match: /(?=^|\n)\s*#\w+/ - , _style: "color: red;" - } - , string : { - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ - , _style: "color: teal;" - } - , number : { - _match: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ - , _style: "color: red;" - } - , datatype: { - _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/ - , _style: "color: blue;" - } - , keyword : { - _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/ - , _style: "color: navy; font-weight: bold;" - } - } -} diff --git a/ktatompub/Client/js/chili/csharp.js b/ktatompub/Client/js/chili/csharp.js deleted file mode 100644 index 96205ce..0000000 --- a/ktatompub/Client/js/chili/csharp.js +++ /dev/null @@ -1,41 +0,0 @@ -/* -=============================================================================== -Chili is the jQuery code highlighter plugin -............................................................................... -LICENSE: http://www.opensource.org/licenses/mit-license.php -WEBSITE: http://noteslog.com/chili/ - - Copyright 2008 / Andrea Ercolino -=============================================================================== -*/ - -{ - _name: "cs" - , _case: true - , _main: { - mlcom : { - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// - , _style: "color: #4040c2;" - } - , com : { - _match: /\/\/.*/ - , _style: "color: green;" - } - , string : { - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ - , _style: "color: teal;" - } - , preproc: { - _match: /^\s*#.*/ - , _style: "color: red;" - } - , number : { - _match: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ - , _style: "color: red;" - } - , keyword: { - _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/ - , _style: "color: navy; font-weight: bold;" - } - } -} diff --git a/ktatompub/Client/js/chili/css.js b/ktatompub/Client/js/chili/css.js deleted file mode 100644 index 9020715..0000000 --- a/ktatompub/Client/js/chili/css.js +++ /dev/null @@ -1,85 +0,0 @@ -/* -=============================================================================== -Chili is the jQuery code highlighter plugin -............................................................................... -LICENSE: http://www.opensource.org/licenses/mit-license.php -WEBSITE: http://noteslog.com/chili/ - - Copyright 2008 / Andrea Ercolino -=============================================================================== -*/ - -{ - _name: 'css' - , _case: true - , _main: { - comment: { - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// - , _style: "color: olive;" - } - , directive: { - _match: /@\w+/ - , _style: "color: fuchsia;" - } - , url: { - _match: /\b(url\s*\()([^)]+)(\))/ - , _replace: "$1$2$3" - , _style: "color: fuchsia;" - } - , block: { - _match: /\{([\w\W]*?)\}/ - , _replace: function( all, pairs ) { - return '{' + this.x( pairs, '/definition' ) + '}'; - } - } - , 'class': { - _match: /\.\w+/ - , _style: "color: #CC0066; font-weight: bold;" - } - , id: { - _match: /#\w+/ - , _style: "color: IndianRed; font-weight: bold;" - } - , pseudo: { - _match: /:\w+/ - , _style: "color: #CC9900;" - } - , element: { - _match: /\w+/ - , _style: "color: Purple; font-weight: bold;" - } - } - , definition: { - comment: { - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// - } - , property: { - _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*:/ - , _style: "color: #330066;" - } - , special: { - _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*:/ - , _style: "color: #330066; text-decoration: underline;" - } - , url: { - _match: /\b(url\s*\()([^)]+)(\))/ - , _replace: "$1$2$3" - } - , value: { - _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/ - , _style: "color: #3366FF;" - } - , string: { - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ - , _style: "color: teal;" - } - , number: { - _match: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*))(?:%|(?:(?:px|pt|em|)\b))/ - , _style: "color: red;" - } - , color : { - _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/ - , _style: "color: green;" - } - } -} diff --git a/ktatompub/Client/js/chili/delphi.js b/ktatompub/Client/js/chili/delphi.js deleted file mode 100644 index d3382a7..0000000 --- a/ktatompub/Client/js/chili/delphi.js +++ /dev/null @@ -1,41 +0,0 @@ -/* -=============================================================================== -Chili is the jQuery code highlighter plugin -............................................................................... -LICENSE: http://www.opensource.org/licenses/mit-license.php -WEBSITE: http://noteslog.com/chili/ - - Copyright 2008 / Andrea Ercolino -=============================================================================== -*/ - -{ - _name: "pas" - , _case: true - , _main: { - mlcom: { - _match: /(?:\(\*[\w\W]*?\*\))|(?:{(?!\$)[\w\W]*?})/ - , _style: "color: #4040c2;" - } - , com: { - _match: /\/\/.*/ - , _style: "color: green;" - } - , string: { - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')/ - , _style: "color: teal;" - } - , number: { - _match: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:\$[a-zA-Z0-9]+\b)/ - , _style: "color: red;" - } - , direct: { - _match: /\{\$[a-zA-Z]+ .+\}/ - , _style: "color: red;" - } - , keyword: { - _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/ - , _style: "color: navy; font-weight: bold;" - } - } -} diff --git a/ktatompub/Client/js/chili/html.js b/ktatompub/Client/js/chili/html.js deleted file mode 100644 index f02954b..0000000 --- a/ktatompub/Client/js/chili/html.js +++ /dev/null @@ -1,80 +0,0 @@ -/* -=============================================================================== -Chili is the jQuery code highlighter plugin -............................................................................... -LICENSE: http://www.opensource.org/licenses/mit-license.php -WEBSITE: http://noteslog.com/chili/ - - Copyright 2008 / Andrea Ercolino -=============================================================================== -*/ - -{ - _name: 'html' - , _case: false - , _main: { - doctype: { - _match: // - , _style: "color: #CC6600;" - } - , ie_style: { - _match: /()/ - , _replace: function( all, open, content, close ) { - return "" + this.x( open ) + "" - + this.x( content, '//style' ) - + "" + this.x( close ) + ""; - } - , _style: "color: DarkSlateGray; font-weight: bold;" - } - , comment: { - _match: // - , _style: "color: #4040c2;" - } - , script: { - _match: /(]*>)([\w\W]*?)(<\/script\s*>)/ - , _replace: function( all, open, content, close ) { - return this.x( open, '//tag_start' ) - + this.x( content, 'js' ) - + this.x( close, '//tag_end' ); - } - } - , style: { - _match: /(]*>)([\w\W]*?)(<\/style\s*>)/ - , _replace: function( all, open, content, close ) { - return this.x( open, '//tag_start' ) - + this.x( content, 'css' ) - + this.x( close, '//tag_end' ); - } - } - // matches a starting tag of an element (with attrs) - // like "
" or "" - , tag_start: { - _match: /(<\w+)((?:[?%]>|[\w\W])*?)(\/>|>)/ - , _replace: function( all, open, content, close ) { - return "" + this.x( open ) + "" - + this.x( content, '/tag_attrs' ) - + "" + this.x( close ) + ""; - } - , _style: "color: navy; font-weight: bold;" - } - // matches an ending tag - // like "
" - , tag_end: { - _match: /<\/\w+\s*>|\/>/ - , _style: "color: navy;" - } - , entity: { - _match: /&\w+?;/ - , _style: "color: blue;" - } - } - , tag_attrs: { - // matches a name/value pair - attr: { - // before in $1, name in $2, between in $3, value in $4 - _match: /(\W*?)([\w-]+)(\s*=\s*)((?:\'[^\']*(?:\\.[^\']*)*\')|(?:\"[^\"]*(?:\\.[^\"]*)*\"))/ - , _replace: "$1$2$3$4" - , _style: { attr_name: "color: green;", attr_value: "color: maroon;" } - } - } -} diff --git a/ktatompub/Client/js/chili/java.js b/ktatompub/Client/js/chili/java.js deleted file mode 100644 index f583f47..0000000 --- a/ktatompub/Client/js/chili/java.js +++ /dev/null @@ -1,41 +0,0 @@ -/* -=============================================================================== -Chili is the jQuery code highlighter plugin -............................................................................... -LICENSE: http://www.opensource.org/licenses/mit-license.php -WEBSITE: http://noteslog.com/chili/ - - Copyright 2008 / Andrea Ercolino -=============================================================================== -*/ - -{ - _name: "java" - , _case: true - , _main: { - mlcom : { - _match: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// - , _style: "color: #4040c2;" - } - , com : { - _match: /\/\/.*/ - , _style: "color: green;" - } - , string : { - _match: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ - , _style: "color: teal;" - } - , number : { - _match: /(?:\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b)|(?:0x[a-f0-9]+)\b/ - , _style: "color: red;" - } - , meta : { - _match: /(?!\@interface\b)\@[\$\w]+\b/ - , _style: "color: red;" - } - , keyword: { - _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/ - , _style: "color: navy; font-weight: bold;" - } - } -} diff --git a/ktatompub/Client/js/chili/jquery.chili-2.2.js b/ktatompub/Client/js/chili/jquery.chili-2.2.js deleted file mode 100644 index 0a971bf..0000000 --- a/ktatompub/Client/js/chili/jquery.chili-2.2.js +++ /dev/null @@ -1,704 +0,0 @@ -/* -=============================================================================== -Chili is the jQuery code highlighter plugin -............................................................................... -LICENSE: http://www.opensource.org/licenses/mit-license.php -WEBSITE: http://noteslog.com/chili/ - - Copyright 2008 / Andrea Ercolino -=============================================================================== -*/ - - -( function($) { - -ChiliBook = { //implied global - - version: "2.2" // 2008-07-06 - -// options -------------------------------------------------------------------- - - , automatic: true - , automaticSelector: "code" - - , lineNumbers: !true - - , codeLanguage: function( el ) { - var recipeName = $( el ).attr( "class" ); - return recipeName ? recipeName : ''; - } - - , recipeLoading: true - , recipeFolder: "" // used like: recipeFolder + recipeName + '.js' - - // IE and FF convert   to " ", Safari and Opera do not - , replaceSpace: " " - , replaceTab: "    " - , replaceNewLine: " 
" - - , selectionStyle: [ "position:absolute; z-index:3000; overflow:scroll;" - , "width:16em;" - , "height:9em;" - , "border:1px solid gray;" - , "padding:15px;" - , "background-color:yellow;" - ].join( ' ' ) - -// ------------------------------------------------------------- end of options - - , defaultReplacement: '$$' // TODO: make this an option again - , recipes: {} //repository - , queue: {} //registry - - , unique: function() { - return (new Date()).valueOf(); - } -}; - - - -$.fn.chili = function( options ) { - var book = $.extend( {}, ChiliBook, options || {} ); - - function cook( ingredients, recipe, blockName ) { - - function prepareBlock( recipe, blockName ) { - var steps = []; - for( var stepName in recipe[ blockName ] ) { - steps.push( prepareStep( recipe, blockName, stepName ) ); - } - return steps; - } // prepareBlock - - function prepareStep( recipe, blockName, stepName ) { - var step = recipe[ blockName ][ stepName ]; - var exp = ( typeof step._match == "string" ) ? step._match : step._match.source; - return { - recipe: recipe - , blockName: blockName - , stepName: stepName - , exp: "(" + exp + ")" - , length: 1 // add 1 to account for the newly added parentheses - + (exp // count number of submatches in here - .replace( /\\./g, "%" ) // disable any escaped character - .replace( /\[.*?\]/g, "%" ) // disable any character class - .match( /\((?!\?)/g ) // match any open parenthesis, not followed by a ? - || [] // make sure it is an empty array if there are no matches - ).length // get the number of matches - , replacement: step._replace ? step._replace : book.defaultReplacement - }; - } // prepareStep - - function knowHow( steps ) { - var prevLength = 1; - var exps = []; - for (var i = 0; i < steps.length; i++) { - var exp = steps[ i ].exp; - // adjust backreferences - exp = exp.replace( /\\\\|\\(\d+)/g, function( m, aNum ) { - return !aNum ? m : "\\" + ( prevLength + 1 + parseInt( aNum, 10 ) ); - } ); - exps.push( exp ); - prevLength += steps[ i ].length; - } - var prolog = '((?:\\s|\\S)*?)'; - var epilog = '((?:\\s|\\S)+)'; - var source = '(?:' + exps.join( "|" ) + ')'; - source = prolog + source + '|' + epilog; - return new RegExp( source, recipe._case ? "g" : "gi" ); - } // knowHow - - function escapeHTML( str ) { - return str.replace( /&/g, "&" ).replace( /' + filter( subject ) + ''; - } - return filter( subject ); - } - else { - return filter( subject ); - } - } - } // applyModule - - function addPrefix( prefix, replacement ) { - var aux = replacement.replace( /()/ig, "$1" + prefix + "__$3" ); - return aux; - } // addPrefix - - function chef() { - if (! arguments[ 0 ]) { - return ''; - } - var steps = this.steps; - var i = 0; // iterate steps - var j = 2; // iterate chef's arguments - var prolog = arguments[ 1 ]; - var epilog = arguments[ arguments.length - 3 ]; - if (! epilog) { - var step; - while( step = steps[ i++ ] ) { - var aux = arguments; // this unmasks chef's arguments inside the next function - if( aux[ j ] ) { - var replacement = ''; - if( $.isFunction( step.replacement ) ) { - var matches = []; //Array.slice.call( aux, j, step.length ); - for (var k = 0, kTop = step.length; k < kTop; k++) { - matches.push( aux[ j + k ] ); - } - matches.push( aux[ aux.length - 2 ] ); - matches.push( aux[ aux.length - 1 ] ); - replacement = step.replacement - .apply( { - x: function() { - var subject = arguments[0]; - var module = arguments[1]; - var context = { - recipe: step.recipe - , blockName: step.blockName - }; - return applyModule( subject, module, context ); - } - }, matches ); - } - else { //we expect step.replacement to be a string - replacement = step.replacement - .replace( /(\\\$)|(?:\$\$)|(?:\$(\d+))/g, function( m, escaped, K ) { - if( escaped ) { /* \$ */ - return "$"; - } - else if( !K ) { /* $$ */ - return filter( aux[ j ] ); - } - else if( K == "0" ) { /* $0 */ - return step.stepName; - } - else { /* $K */ - return filter( aux[ j + parseInt( K, 10 ) ] ); - } - } ); - } - replacement = addPrefix( step.recipe._name, replacement ); - return filter( prolog ) + replacement; - } - else { - j+= step.length; - } - } - } - else { - return filter( epilog ); - } - } // chef - - if( ! blockName ) { - blockName = '_main'; - checkSpices( recipe ); - } - if( ! (blockName in recipe) ) { - return filter( ingredients ); - } - var replaceSpace = book.replaceSpace; - var steps = prepareBlock( recipe, blockName ); - var kh = knowHow( steps ); - var perfect = ingredients.replace( kh, function() { - return chef.apply( { steps: steps }, arguments ); - } ); - return perfect; - - } // cook - - function loadStylesheetInline( sourceCode ) { - if( document.createElement ) { - var e = document.createElement( "style" ); - e.type = "text/css"; - if( e.styleSheet ) { // IE - e.styleSheet.cssText = sourceCode; - } - else { - var t = document.createTextNode( sourceCode ); - e.appendChild( t ); - } - document.getElementsByTagName( "head" )[0].appendChild( e ); - } - } // loadStylesheetInline - - function checkSpices( recipe ) { - var name = recipe._name; - if( ! book.queue[ name ] ) { - - var content = ['/* Chili -- ' + name + ' */']; - for (var blockName in recipe) { - if( blockName.search( /^_(?!main\b)/ ) < 0 ) { - for (var stepName in recipe[ blockName ]) { - var step = recipe[ blockName ][ stepName ]; - if( '_style' in step ) { - if( step[ '_style' ].constructor == String ) { - content.push( '.' + name + '__' + stepName + ' { ' + step[ '_style' ] + ' }' ); - } - else { - for (var className in step[ '_style' ]) { - content.push( '.' + name + '__' + className + ' { ' + step[ '_style' ][ className ] + ' }' ); - } - } - } - } - } - } - content = content.join('\n'); - - loadStylesheetInline( content ); - - book.queue[ name ] = true; - } - } // checkSpices - - function askDish( el ) { - var recipeName = book.codeLanguage( el ); - if( '' != recipeName ) { - var path = getPath( recipeName ); - if( book.recipeLoading ) { - /* dynamic setups come here */ - if( ! book.queue[ path ] ) { - /* this is a new recipe to download */ - try { - book.queue[ path ] = [ el ]; - $.getJSON( path, function( recipeLoaded ) { - book.recipes[ path ] = recipeLoaded; - var q = book.queue[ path ]; - for( var i = 0, iTop = q.length; i < iTop; i++ ) { - makeDish( q[ i ], path ); - } - } ); - } - catch( recipeNotAvailable ) { - alert( "the recipe for '" + recipeName + "' was not found in '" + path + "'" ); - } - } - else { - /* not a new recipe, so just enqueue this element */ - book.queue[ path ].push( el ); - } - /* a recipe could have been already downloaded */ - makeDish( el, path ); - } - else { - /* static setups come here */ - makeDish( el, path ); - } - } - } // askDish - - function makeDish( el, recipePath ) { - var recipe = book.recipes[ recipePath ]; - if( ! recipe ) { - return; - } - var $el = $( el ); - var ingredients = $el.text(); - if( ! ingredients ) { - return; - } - - //fix for msie: \r (13) is used instead of \n (10) - //fix for opera: \r\n is used instead of \n - ingredients = ingredients.replace(/\r\n?/g, "\n"); - - //reverse fix for safari: msie, mozilla and opera render the initial \n - if( $el.parent().is('pre') ) { - if( ! $.browser.safari ) { - ingredients = ingredients.replace(/^\n/g, ""); - } - } - - var dish = cook( ingredients, recipe ); // all happens here - - if( book.replaceTab ) { - dish = dish.replace( /\t/g, book.replaceTab ); - } - if( book.replaceNewLine ) { - dish = dish.replace( /\n/g, book.replaceNewLine ); - } - - el.innerHTML = dish; //much faster than $el.html( dish ); - //tried also the function replaceHtml from http://blog.stevenlevithan.com/archives/faster-than-innerhtml - //but it was not faster nor without sideffects (it was not possible to count spans into el) - - //opera and safari select PRE text correctly - if( $.browser.msie || $.browser.mozilla ) { - enableSelectionHelper( el ); - } - - var $that = $el.parent(); - var classes = $that.attr( 'class' ); - var ln = /ln-(\d+)-([\w][\w\-]*)|ln-(\d+)|ln-/.exec( classes ); - if( ln ) { - addLineNumbers( el ); - var start = 0; - if( ln[1] ) { - start = parseInt( ln[1], 10 ); - var $pieces = $( '.ln-' + ln[1] + '-' + ln[2] ); - var pos = $pieces.index( $that[0] ); - $pieces.slice( 0, pos ).each( function() { - start += $( this ).find( 'li' ).length; - } ); - } - else if( ln[3] ) { - start = parseInt( ln[3], 10 ); - } - else { - start = 1; - } - $el.find( 'ol' )[0].start = start; - $('body').width( $('body').width() - 1 ).width( $('body').width() + 1 ); - } - else if( book.lineNumbers ) { - addLineNumbers( el ); - } - - } // makeDish - - function enableSelectionHelper( el ) { - var element = null; - $( el ) - .parents() - .filter( "pre" ) - .bind( "mousedown", function() { - element = this; - if( $.browser.msie ) { - document.selection.empty(); - } - else { - window.getSelection().removeAllRanges(); - } - } ) - .bind( "mouseup", function( event ) { - if( element && (element == this) ) { - element = null; - var selected = ''; - if( $.browser.msie ) { - selected = document.selection.createRange().htmlText; - if( '' == selected ) { - return; - } - selected = preserveNewLines( selected ); - var container_tag = '