r80288 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80287‎ | r80288 | r80289 >
Date:18:40, 14 January 2011
Author:husky
Status:ok
Tags:
Comment:
initial checkin for wp-photocommons
Modified paths:
  • /trunk/tools/wp-photocommons/css (added) (history)
  • /trunk/tools/wp-photocommons/css/autosuggest.css (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_222222_256x240.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_228ef1_256x240.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ef8c08_256x240.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ffd27a_256x240.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ffffff_256x240.png (added) (history)
  • /trunk/tools/wp-photocommons/css/ui-lightness/jquery-ui-1.8.5.custom.css (added) (history)
  • /trunk/tools/wp-photocommons/img (added) (history)
  • /trunk/tools/wp-photocommons/img/loading.gif (added) (history)
  • /trunk/tools/wp-photocommons/index.php (added) (history)
  • /trunk/tools/wp-photocommons/js (added) (history)
  • /trunk/tools/wp-photocommons/js/jquery-ui-1.8.5.custom.min.js (added) (history)
  • /trunk/tools/wp-photocommons/search.js (added) (history)

Diff [purge]

Index: trunk/tools/wp-photocommons/search.js
@@ -0,0 +1,109 @@
 2+window.log = (console && console.log) ? console.log : function(){};
 3+
 4+$(document).ready(function() {
 5+ function getQueryUrl(type, args) {
 6+ var queries = {
 7+ "pagesearch" : function(q) {
 8+ return {
 9+ "action" : "opensearch",
 10+ "search" : q.search
 11+ };
 12+ },
 13+
 14+ "pageimages" : function(q) {
 15+ return {
 16+ "action" : "query",
 17+ "prop" : "images",
 18+ "indexpageids" : "1",
 19+ "titles" : q.title
 20+ };
 21+ },
 22+
 23+ "thumbs" : function(q) {
 24+ return {
 25+ "action" : "query",
 26+ "prop" : "imageinfo",
 27+ "iiprop" : "url",
 28+ "iiurlwidth" : q.width,
 29+ "indexpageids" : "1",
 30+ "titles" : q.image
 31+ };
 32+ }
 33+ }
 34+
 35+ if (!queries[type]) {
 36+ throw new Error("Unknown query type");
 37+ }
 38+
 39+ return makeUrl(queries[type](args));
 40+ }
 41+
 42+ function makeUrl(args) {
 43+ // default arguments
 44+ args = $.extend({
 45+ "format" : "json",
 46+ "callback" : "!noencode!?"
 47+ }, args);
 48+
 49+ var url = 'http://commons.wikimedia.org/w/api.php';
 50+ var first = true;
 51+ for (var key in args) {
 52+ var value = args[key];
 53+ url += (first) ? "?" : "&";
 54+ first = false;
 55+
 56+ if (value.indexOf("!noencode!") === 0 && typeof value === "string") {
 57+ value = value.slice(10);
 58+ } else {
 59+ value = encodeURIComponent(value);
 60+ }
 61+
 62+ url += key + '=' + value;
 63+ }
 64+
 65+ return url;
 66+ }
 67+
 68+ $("#search").autocomplete({
 69+ source : function(request, response) {
 70+ var url = getQueryUrl("pagesearch", {
 71+ "search" : $("#search").val()
 72+ });
 73+
 74+ $.getJSON(url, function(data) {
 75+ response(data[1]);
 76+ });
 77+ },
 78+
 79+ select : function(event, ui) {
 80+ $("#images").empty();
 81+ $("#loading").show();
 82+
 83+ var url = getQueryUrl("pageimages", {
 84+ "title" : ui.item.value
 85+ });
 86+
 87+ $.getJSON(url, function(data) {
 88+ var pageid = data.query.pageids[0],
 89+ query = data.query.pages[pageid].images;
 90+
 91+ if (!query) $("#images").html("No images found :(");
 92+
 93+ $.each(query, function() {
 94+ var url = getQueryUrl("thumbs", {
 95+ width : "200",
 96+ image : this.title
 97+ });
 98+
 99+ $.getJSON(url, function(data) {
 100+ var pageid = data.query.pageids[0],
 101+ src = data.query.pages[pageid].imageinfo[0].thumburl;
 102+ $("#images").append('<img src="' + src + '" style="display:none;"/>').find("img").fadeIn();
 103+ });
 104+ });
 105+
 106+ $("#loading").hide();
 107+ });
 108+ }
 109+ });
 110+});
\ No newline at end of file
Property changes on: trunk/tools/wp-photocommons/search.js
___________________________________________________________________
Added: svn:eol-style
1111 + native
Index: trunk/tools/wp-photocommons/css/autosuggest.css
@@ -0,0 +1,217 @@
 2+/* AutoSuggest CSS - Version 1.2 */
 3+
 4+ul.as-selections {
 5+ list-style-type: none;
 6+ border-top: 1px solid #888;
 7+ border-bottom: 1px solid #b6b6b6;
 8+ border-left: 1px solid #aaa;
 9+ border-right: 1px solid #aaa;
 10+ padding: 4px 0 4px 4px;
 11+ margin: 0;
 12+ overflow: auto;
 13+ background-color: #fff;
 14+ box-shadow:inset 0 1px 2px #888;
 15+ -webkit-box-shadow:inset 0 1px 2px #888;
 16+ -moz-box-shadow:inset 0 1px 2px #888;
 17+}
 18+
 19+ul.as-selections.loading {
 20+ background-color: #eee;
 21+}
 22+
 23+ul.as-selections li {
 24+ float: left;
 25+ margin: 1px 4px 1px 0;
 26+}
 27+
 28+ul.as-selections li.as-selection-item {
 29+ color: #2b3840;
 30+ font-size: 13px;
 31+ font-family: "Lucida Grande", arial, sans-serif;
 32+ text-shadow: 0 1px 1px #fff;
 33+ background-color: #ddeefe;
 34+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ddeefe), to(#bfe0f1));
 35+ border: 1px solid #acc3ec;
 36+ border-top-color: #c0d9e9;
 37+ padding: 2px 7px 2px 10px;
 38+ border-radius: 12px;
 39+ -webkit-border-radius: 12px;
 40+ -moz-border-radius: 12px;
 41+ box-shadow: 0 1px 1px #e4edf2;
 42+ -webkit-box-shadow: 0 1px 1px #e4edf2;
 43+ -moz-box-shadow: 0 1px 1px #e4edf2;
 44+}
 45+
 46+ul.as-selections li.as-selection-item:last-child {
 47+ margin-left: 30px;
 48+}
 49+
 50+ul.as-selections li.as-selection-item a.as-close {
 51+ float: right;
 52+ margin: 1px 0 0 7px;
 53+ padding: 0 2px;
 54+ cursor: pointer;
 55+ color: #5491be;
 56+ font-family: "Helvetica", helvetica, arial, sans-serif;
 57+ font-size: 14px;
 58+ font-weight: bold;
 59+ text-shadow: 0 1px 1px #fff;
 60+ -webkit-transition: color .1s ease-in;
 61+}
 62+
 63+ul.as-selections li.as-selection-item.blur {
 64+ color: #666666;
 65+ background-color: #f4f4f4;
 66+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f4f4f4), to(#d5d5d5));
 67+ border-color: #bbb;
 68+ border-top-color: #ccc;
 69+ box-shadow: 0 1px 1px #e9e9e9;
 70+ -webkit-box-shadow: 0 1px 1px #e9e9e9;
 71+ -moz-box-shadow: 0 1px 1px #e9e9e9;
 72+}
 73+
 74+ul.as-selections li.as-selection-item.blur a.as-close {
 75+ color: #999;
 76+}
 77+
 78+ul.as-selections li:hover.as-selection-item {
 79+ color: #2b3840;
 80+ background-color: #bbd4f1;
 81+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bbd4f1), to(#a3c2e5));
 82+ border-color: #6da0e0;
 83+ border-top-color: #8bb7ed;
 84+}
 85+
 86+ul.as-selections li:hover.as-selection-item a.as-close {
 87+ color: #4d70b0;
 88+}
 89+
 90+ul.as-selections li.as-selection-item.selected {
 91+ border-color: #1f30e4;
 92+}
 93+
 94+ul.as-selections li.as-selection-item a:hover.as-close {
 95+ color: #1b3c65;
 96+}
 97+
 98+ul.as-selections li.as-selection-item a:active.as-close {
 99+ color: #4d70b0;
 100+}
 101+
 102+ul.as-selections li.as-original {
 103+ margin-left: 0;
 104+}
 105+
 106+ul.as-selections li.as-original input {
 107+ border: none;
 108+ outline: none;
 109+ font-size: 13px;
 110+ width: 120px;
 111+ height: 18px;
 112+ padding-top: 3px;
 113+}
 114+
 115+ul.as-list {
 116+ position: absolute;
 117+ list-style-type: none;
 118+ margin: 2px 0 0 0;
 119+ padding: 0;
 120+ font-size: 14px;
 121+ color: #000;
 122+ font-family: "Lucida Grande", arial, sans-serif;
 123+ background-color: #fff;
 124+ background-color: rgba(255,255,255,0.95);
 125+ z-index: 2;
 126+ box-shadow: 0 2px 12px #222;
 127+ -webkit-box-shadow: 0 2px 12px #222;
 128+ -moz-box-shadow: 0 2px 12px #222;
 129+ border-radius: 5px;
 130+ -webkit-border-radius: 5px;
 131+ -moz-border-radius: 5px;
 132+}
 133+
 134+li.as-result-item, li.as-message {
 135+ margin: 0 0 0 0;
 136+ padding: 5px 12px;
 137+ background-color: transparent;
 138+ border: 1px solid #fff;
 139+ border-bottom: 1px solid #ddd;
 140+ cursor: pointer;
 141+ border-radius: 5px;
 142+ -webkit-border-radius: 5px;
 143+ -moz-border-radius: 5px;
 144+}
 145+
 146+li:first-child.as-result-item {
 147+ margin: 0;
 148+}
 149+
 150+li.as-message {
 151+ margin: 0;
 152+ cursor: default;
 153+}
 154+
 155+li.as-result-item.active {
 156+ background-color: #3668d9;
 157+ background-image: -webkit-gradient(linear, 0% 0%, 0% 64%, from(rgb(110, 129, 245)), to(rgb(62, 82, 242)));
 158+ border-color: #3342e8;
 159+ color: #fff;
 160+ text-shadow: 0 1px 2px #122042;
 161+}
 162+
 163+li.as-result-item em {
 164+ font-style: normal;
 165+ background: #444;
 166+ padding: 0 2px;
 167+ color: #fff;
 168+}
 169+
 170+li.as-result-item.active em {
 171+ background: #253f7a;
 172+ color: #fff;
 173+}
 174+
 175+/* Webkit Hacks */
 176+@media screen and (-webkit-min-device-pixel-ratio:0) {
 177+ ul.as-selections {
 178+ border-top-width: 2px;
 179+ }
 180+ ul.as-selections li.as-selection-item {
 181+ padding-top: 3px;
 182+ padding-bottom: 3px;
 183+ }
 184+ ul.as-selections li.as-selection-item a.as-close {
 185+ margin-top: -1px;
 186+ }
 187+ ul.as-selections li.as-original input {
 188+ height: 19px;
 189+ }
 190+}
 191+
 192+/* Opera Hacks */
 193+@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
 194+ ul.as-list {
 195+ border: 1px solid #888;
 196+ }
 197+ ul.as-selections li.as-selection-item a.as-close {
 198+ margin-left: 4px;
 199+ margin-top: 0;
 200+ }
 201+}
 202+
 203+/* IE Hacks */
 204+ul.as-list {
 205+ border: 1px solid #888\9;
 206+}
 207+ul.as-selections li.as-selection-item a.as-close {
 208+ margin-left: 4px\9;
 209+ margin-top: 0\9;
 210+}
 211+
 212+/* Firefox 3.0 Hacks */
 213+ul.as-list, x:-moz-any-link, x:default {
 214+ border: 1px solid #888;
 215+}
 216+BODY:first-of-type ul.as-list, x:-moz-any-link, x:default { /* Target FF 3.5+ */
 217+ border: none;
 218+}
\ No newline at end of file
Property changes on: trunk/tools/wp-photocommons/css/autosuggest.css
___________________________________________________________________
Added: svn:eol-style
1219 + native
Index: trunk/tools/wp-photocommons/css/ui-lightness/jquery-ui-1.8.5.custom.css
@@ -0,0 +1,347 @@
 2+/*
 3+ * jQuery UI CSS Framework @VERSION
 4+ *
 5+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 6+ * Dual licensed under the MIT or GPL Version 2 licenses.
 7+ * http://jquery.org/license
 8+ *
 9+ * http://docs.jquery.com/UI/Theming/API
 10+ */
 11+
 12+/* Layout helpers
 13+----------------------------------*/
 14+.ui-helper-hidden { display: none; }
 15+.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
 16+.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
 17+.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
 18+.ui-helper-clearfix { display: inline-block; }
 19+/* required comment for clearfix to work in Opera \*/
 20+* html .ui-helper-clearfix { height:1%; }
 21+.ui-helper-clearfix { display:block; }
 22+/* end clearfix */
 23+.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
 24+
 25+
 26+/* Interaction Cues
 27+----------------------------------*/
 28+.ui-state-disabled { cursor: default !important; }
 29+
 30+
 31+/* Icons
 32+----------------------------------*/
 33+
 34+/* states and images */
 35+.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
 36+
 37+
 38+/* Misc visuals
 39+----------------------------------*/
 40+
 41+/* Overlays */
 42+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
 43+
 44+
 45+/*
 46+ * jQuery UI CSS Framework @VERSION
 47+ *
 48+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 49+ * Dual licensed under the MIT or GPL Version 2 licenses.
 50+ * http://jquery.org/license
 51+ *
 52+ * http://docs.jquery.com/UI/Theming/API
 53+ *
 54+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
 55+ */
 56+
 57+
 58+/* Component containers
 59+----------------------------------*/
 60+.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
 61+.ui-widget .ui-widget { font-size: 1em; }
 62+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
 63+.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
 64+.ui-widget-content a { color: #333333; }
 65+.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
 66+.ui-widget-header a { color: #ffffff; }
 67+
 68+/* Interaction states
 69+----------------------------------*/
 70+.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
 71+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
 72+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
 73+.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
 74+.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
 75+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
 76+.ui-widget :active { outline: none; }
 77+
 78+/* Interaction Cues
 79+----------------------------------*/
 80+.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
 81+.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
 82+.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
 83+.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
 84+.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
 85+.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
 86+.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
 87+.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
 88+
 89+/* Icons
 90+----------------------------------*/
 91+
 92+/* states and images */
 93+.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
 94+.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
 95+.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
 96+.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
 97+.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
 98+.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
 99+.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
 100+.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
 101+
 102+/* positioning */
 103+.ui-icon-carat-1-n { background-position: 0 0; }
 104+.ui-icon-carat-1-ne { background-position: -16px 0; }
 105+.ui-icon-carat-1-e { background-position: -32px 0; }
 106+.ui-icon-carat-1-se { background-position: -48px 0; }
 107+.ui-icon-carat-1-s { background-position: -64px 0; }
 108+.ui-icon-carat-1-sw { background-position: -80px 0; }
 109+.ui-icon-carat-1-w { background-position: -96px 0; }
 110+.ui-icon-carat-1-nw { background-position: -112px 0; }
 111+.ui-icon-carat-2-n-s { background-position: -128px 0; }
 112+.ui-icon-carat-2-e-w { background-position: -144px 0; }
 113+.ui-icon-triangle-1-n { background-position: 0 -16px; }
 114+.ui-icon-triangle-1-ne { background-position: -16px -16px; }
 115+.ui-icon-triangle-1-e { background-position: -32px -16px; }
 116+.ui-icon-triangle-1-se { background-position: -48px -16px; }
 117+.ui-icon-triangle-1-s { background-position: -64px -16px; }
 118+.ui-icon-triangle-1-sw { background-position: -80px -16px; }
 119+.ui-icon-triangle-1-w { background-position: -96px -16px; }
 120+.ui-icon-triangle-1-nw { background-position: -112px -16px; }
 121+.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
 122+.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
 123+.ui-icon-arrow-1-n { background-position: 0 -32px; }
 124+.ui-icon-arrow-1-ne { background-position: -16px -32px; }
 125+.ui-icon-arrow-1-e { background-position: -32px -32px; }
 126+.ui-icon-arrow-1-se { background-position: -48px -32px; }
 127+.ui-icon-arrow-1-s { background-position: -64px -32px; }
 128+.ui-icon-arrow-1-sw { background-position: -80px -32px; }
 129+.ui-icon-arrow-1-w { background-position: -96px -32px; }
 130+.ui-icon-arrow-1-nw { background-position: -112px -32px; }
 131+.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
 132+.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
 133+.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
 134+.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
 135+.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
 136+.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
 137+.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
 138+.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
 139+.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
 140+.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
 141+.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
 142+.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
 143+.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
 144+.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
 145+.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
 146+.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
 147+.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
 148+.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
 149+.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
 150+.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
 151+.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
 152+.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
 153+.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
 154+.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
 155+.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
 156+.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
 157+.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
 158+.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
 159+.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
 160+.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
 161+.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
 162+.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
 163+.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
 164+.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
 165+.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
 166+.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
 167+.ui-icon-arrow-4 { background-position: 0 -80px; }
 168+.ui-icon-arrow-4-diag { background-position: -16px -80px; }
 169+.ui-icon-extlink { background-position: -32px -80px; }
 170+.ui-icon-newwin { background-position: -48px -80px; }
 171+.ui-icon-refresh { background-position: -64px -80px; }
 172+.ui-icon-shuffle { background-position: -80px -80px; }
 173+.ui-icon-transfer-e-w { background-position: -96px -80px; }
 174+.ui-icon-transferthick-e-w { background-position: -112px -80px; }
 175+.ui-icon-folder-collapsed { background-position: 0 -96px; }
 176+.ui-icon-folder-open { background-position: -16px -96px; }
 177+.ui-icon-document { background-position: -32px -96px; }
 178+.ui-icon-document-b { background-position: -48px -96px; }
 179+.ui-icon-note { background-position: -64px -96px; }
 180+.ui-icon-mail-closed { background-position: -80px -96px; }
 181+.ui-icon-mail-open { background-position: -96px -96px; }
 182+.ui-icon-suitcase { background-position: -112px -96px; }
 183+.ui-icon-comment { background-position: -128px -96px; }
 184+.ui-icon-person { background-position: -144px -96px; }
 185+.ui-icon-print { background-position: -160px -96px; }
 186+.ui-icon-trash { background-position: -176px -96px; }
 187+.ui-icon-locked { background-position: -192px -96px; }
 188+.ui-icon-unlocked { background-position: -208px -96px; }
 189+.ui-icon-bookmark { background-position: -224px -96px; }
 190+.ui-icon-tag { background-position: -240px -96px; }
 191+.ui-icon-home { background-position: 0 -112px; }
 192+.ui-icon-flag { background-position: -16px -112px; }
 193+.ui-icon-calendar { background-position: -32px -112px; }
 194+.ui-icon-cart { background-position: -48px -112px; }
 195+.ui-icon-pencil { background-position: -64px -112px; }
 196+.ui-icon-clock { background-position: -80px -112px; }
 197+.ui-icon-disk { background-position: -96px -112px; }
 198+.ui-icon-calculator { background-position: -112px -112px; }
 199+.ui-icon-zoomin { background-position: -128px -112px; }
 200+.ui-icon-zoomout { background-position: -144px -112px; }
 201+.ui-icon-search { background-position: -160px -112px; }
 202+.ui-icon-wrench { background-position: -176px -112px; }
 203+.ui-icon-gear { background-position: -192px -112px; }
 204+.ui-icon-heart { background-position: -208px -112px; }
 205+.ui-icon-star { background-position: -224px -112px; }
 206+.ui-icon-link { background-position: -240px -112px; }
 207+.ui-icon-cancel { background-position: 0 -128px; }
 208+.ui-icon-plus { background-position: -16px -128px; }
 209+.ui-icon-plusthick { background-position: -32px -128px; }
 210+.ui-icon-minus { background-position: -48px -128px; }
 211+.ui-icon-minusthick { background-position: -64px -128px; }
 212+.ui-icon-close { background-position: -80px -128px; }
 213+.ui-icon-closethick { background-position: -96px -128px; }
 214+.ui-icon-key { background-position: -112px -128px; }
 215+.ui-icon-lightbulb { background-position: -128px -128px; }
 216+.ui-icon-scissors { background-position: -144px -128px; }
 217+.ui-icon-clipboard { background-position: -160px -128px; }
 218+.ui-icon-copy { background-position: -176px -128px; }
 219+.ui-icon-contact { background-position: -192px -128px; }
 220+.ui-icon-image { background-position: -208px -128px; }
 221+.ui-icon-video { background-position: -224px -128px; }
 222+.ui-icon-script { background-position: -240px -128px; }
 223+.ui-icon-alert { background-position: 0 -144px; }
 224+.ui-icon-info { background-position: -16px -144px; }
 225+.ui-icon-notice { background-position: -32px -144px; }
 226+.ui-icon-help { background-position: -48px -144px; }
 227+.ui-icon-check { background-position: -64px -144px; }
 228+.ui-icon-bullet { background-position: -80px -144px; }
 229+.ui-icon-radio-off { background-position: -96px -144px; }
 230+.ui-icon-radio-on { background-position: -112px -144px; }
 231+.ui-icon-pin-w { background-position: -128px -144px; }
 232+.ui-icon-pin-s { background-position: -144px -144px; }
 233+.ui-icon-play { background-position: 0 -160px; }
 234+.ui-icon-pause { background-position: -16px -160px; }
 235+.ui-icon-seek-next { background-position: -32px -160px; }
 236+.ui-icon-seek-prev { background-position: -48px -160px; }
 237+.ui-icon-seek-end { background-position: -64px -160px; }
 238+.ui-icon-seek-start { background-position: -80px -160px; }
 239+/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
 240+.ui-icon-seek-first { background-position: -80px -160px; }
 241+.ui-icon-stop { background-position: -96px -160px; }
 242+.ui-icon-eject { background-position: -112px -160px; }
 243+.ui-icon-volume-off { background-position: -128px -160px; }
 244+.ui-icon-volume-on { background-position: -144px -160px; }
 245+.ui-icon-power { background-position: 0 -176px; }
 246+.ui-icon-signal-diag { background-position: -16px -176px; }
 247+.ui-icon-signal { background-position: -32px -176px; }
 248+.ui-icon-battery-0 { background-position: -48px -176px; }
 249+.ui-icon-battery-1 { background-position: -64px -176px; }
 250+.ui-icon-battery-2 { background-position: -80px -176px; }
 251+.ui-icon-battery-3 { background-position: -96px -176px; }
 252+.ui-icon-circle-plus { background-position: 0 -192px; }
 253+.ui-icon-circle-minus { background-position: -16px -192px; }
 254+.ui-icon-circle-close { background-position: -32px -192px; }
 255+.ui-icon-circle-triangle-e { background-position: -48px -192px; }
 256+.ui-icon-circle-triangle-s { background-position: -64px -192px; }
 257+.ui-icon-circle-triangle-w { background-position: -80px -192px; }
 258+.ui-icon-circle-triangle-n { background-position: -96px -192px; }
 259+.ui-icon-circle-arrow-e { background-position: -112px -192px; }
 260+.ui-icon-circle-arrow-s { background-position: -128px -192px; }
 261+.ui-icon-circle-arrow-w { background-position: -144px -192px; }
 262+.ui-icon-circle-arrow-n { background-position: -160px -192px; }
 263+.ui-icon-circle-zoomin { background-position: -176px -192px; }
 264+.ui-icon-circle-zoomout { background-position: -192px -192px; }
 265+.ui-icon-circle-check { background-position: -208px -192px; }
 266+.ui-icon-circlesmall-plus { background-position: 0 -208px; }
 267+.ui-icon-circlesmall-minus { background-position: -16px -208px; }
 268+.ui-icon-circlesmall-close { background-position: -32px -208px; }
 269+.ui-icon-squaresmall-plus { background-position: -48px -208px; }
 270+.ui-icon-squaresmall-minus { background-position: -64px -208px; }
 271+.ui-icon-squaresmall-close { background-position: -80px -208px; }
 272+.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
 273+.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
 274+.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
 275+.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
 276+.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
 277+.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
 278+
 279+
 280+/* Misc visuals
 281+----------------------------------*/
 282+
 283+/* Corner radius */
 284+.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
 285+.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
 286+.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
 287+.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
 288+.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
 289+.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
 290+.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
 291+.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
 292+.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
 293+
 294+/* Overlays */
 295+.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
 296+.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*
 297+ * jQuery UI Autocomplete @VERSION
 298+ *
 299+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 300+ * Dual licensed under the MIT or GPL Version 2 licenses.
 301+ * http://jquery.org/license
 302+ *
 303+ * http://docs.jquery.com/UI/Autocomplete#theming
 304+ */
 305+.ui-autocomplete { position: absolute; cursor: default; }
 306+
 307+/* workarounds */
 308+* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
 309+
 310+/*
 311+ * jQuery UI Menu @VERSION
 312+ *
 313+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 314+ * Dual licensed under the MIT or GPL Version 2 licenses.
 315+ * http://jquery.org/license
 316+ *
 317+ * http://docs.jquery.com/UI/Menu#theming
 318+ */
 319+.ui-menu {
 320+ list-style:none;
 321+ padding: 2px;
 322+ margin: 0;
 323+ display:block;
 324+ float: left;
 325+}
 326+.ui-menu .ui-menu {
 327+ margin-top: -3px;
 328+}
 329+.ui-menu .ui-menu-item {
 330+ margin:0;
 331+ padding: 0;
 332+ zoom: 1;
 333+ float: left;
 334+ clear: left;
 335+ width: 100%;
 336+}
 337+.ui-menu .ui-menu-item a {
 338+ text-decoration:none;
 339+ display:block;
 340+ padding:.2em .4em;
 341+ line-height:1.5;
 342+ zoom:1;
 343+}
 344+.ui-menu .ui-menu-item a.ui-state-hover,
 345+.ui-menu .ui-menu-item a.ui-state-active {
 346+ font-weight: normal;
 347+ margin: -1px;
 348+}
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/jquery-ui-1.8.5.custom.css
___________________________________________________________________
Added: svn:eol-style
1349 + native
Added: svn:executable
2350 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
___________________________________________________________________
Added: svn:mime-type
3351 + image/png
Added: svn:executable
4352 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
___________________________________________________________________
Added: svn:mime-type
5353 + image/png
Added: svn:executable
6354 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
___________________________________________________________________
Added: svn:mime-type
7355 + image/png
Added: svn:executable
8356 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
___________________________________________________________________
Added: svn:mime-type
9357 + image/png
Added: svn:executable
10358 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ffffff_256x240.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ffffff_256x240.png
___________________________________________________________________
Added: svn:mime-type
11359 + image/png
Added: svn:executable
12360 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
___________________________________________________________________
Added: svn:mime-type
13361 + image/png
Added: svn:executable
14362 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
___________________________________________________________________
Added: svn:mime-type
15363 + image/png
Added: svn:executable
16364 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
___________________________________________________________________
Added: svn:mime-type
17365 + image/png
Added: svn:executable
18366 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
___________________________________________________________________
Added: svn:mime-type
19367 + image/png
Added: svn:executable
20368 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_228ef1_256x240.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_228ef1_256x240.png
___________________________________________________________________
Added: svn:mime-type
21369 + image/png
Added: svn:executable
22370 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
___________________________________________________________________
Added: svn:mime-type
23371 + image/png
Added: svn:executable
24372 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
___________________________________________________________________
Added: svn:mime-type
25373 + image/png
Added: svn:executable
26374 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
___________________________________________________________________
Added: svn:mime-type
27375 + image/png
Added: svn:executable
28376 + *
Index: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_222222_256x240.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes on: trunk/tools/wp-photocommons/css/ui-lightness/images/ui-icons_222222_256x240.png
___________________________________________________________________
Added: svn:mime-type
29377 + image/png
Added: svn:executable
30378 + *
Index: trunk/tools/wp-photocommons/img/loading.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/tools/wp-photocommons/img/loading.gif
___________________________________________________________________
Added: svn:mime-type
31379 + application/octet-stream
Added: svn:executable
32380 + *
Index: trunk/tools/wp-photocommons/js/jquery-ui-1.8.5.custom.min.js
@@ -0,0 +1,80 @@
 2+/*!
 3+ * jQuery UI 1.8.5
 4+ *
 5+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 6+ * Dual licensed under the MIT or GPL Version 2 licenses.
 7+ * http://jquery.org/license
 8+ *
 9+ * http://docs.jquery.com/UI
 10+ */
 11+(function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.5",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,
 12+NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,
 13+"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");
 14+if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"));if(!isNaN(b)&&b!=0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind("mousedown.ui-disableSelection selectstart.ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,
 15+"border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c.style(this,h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c.style(this,
 16+h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}});
 17+c(function(){var a=document.createElement("div"),b=document.body;c.extend(a.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.appendChild(a).offsetHeight===100;b.removeChild(a).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,
 18+d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
 19+;/*!
 20+ * jQuery UI Widget 1.8.5
 21+ *
 22+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 23+ * Dual licensed under the MIT or GPL Version 2 licenses.
 24+ * http://jquery.org/license
 25+ *
 26+ * http://docs.jquery.com/UI/Widget
 27+ */
 28+(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
 29+a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.substring(0,1)===
 30+"_")return h;e?this.each(function(){var g=b.data(this,a);if(!g)throw"cannot call methods on "+a+" prior to initialization; attempted to call method '"+d+"'";if(!b.isFunction(g[d]))throw"no such method '"+d+"' for "+a+" widget instance";var i=g[d].apply(g,f);if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",
 31+widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,b.metadata&&b.metadata.get(c)[this.widgetName],a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+
 32+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(a,c){var d=a,e=this;if(arguments.length===0)return b.extend({},e.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}b.each(d,function(f,h){e._setOption(f,h)});return e},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},enable:function(){return this._setOption("disabled",
 33+false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
 34+;/*
 35+ * jQuery UI Position 1.8.5
 36+ *
 37+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 38+ * Dual licensed under the MIT or GPL Version 2 licenses.
 39+ * http://jquery.org/license
 40+ *
 41+ * http://docs.jquery.com/UI/Position
 42+ */
 43+(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.scrollTo&&d.document){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j=
 44+{top:b.of.pageY,left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/
 45+2;if(b.at[1]==="bottom")j.top+=k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+parseInt(c.curCSS(this,"marginRight",true))||0,w=m+q+parseInt(c.curCSS(this,"marginBottom",true))||0,i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]===
 46+"center")i.top-=m/2;i.left=parseInt(i.left);i.top=parseInt(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();
 47+b.left=d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];
 48+b.left+=a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=
 49+c(b),g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery);
 50+;/*
 51+ * jQuery UI Autocomplete 1.8.5
 52+ *
 53+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 54+ * Dual licensed under the MIT or GPL Version 2 licenses.
 55+ * http://jquery.org/license
 56+ *
 57+ * http://docs.jquery.com/UI/Autocomplete
 58+ *
 59+ * Depends:
 60+ * jquery.ui.core.js
 61+ * jquery.ui.widget.js
 62+ * jquery.ui.position.js
 63+ */
 64+(function(e){e.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},_create:function(){var a=this,b=this.element[0].ownerDocument;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!a.options.disabled){var d=e.ui.keyCode;switch(c.keyCode){case d.PAGE_UP:a._move("previousPage",
 65+c);break;case d.PAGE_DOWN:a._move("nextPage",c);break;case d.UP:a._move("previous",c);c.preventDefault();break;case d.DOWN:a._move("next",c);c.preventDefault();break;case d.ENTER:case d.NUMPAD_ENTER:a.menu.element.is(":visible")&&c.preventDefault();case d.TAB:if(!a.menu.active)return;a.menu.select(c);break;case d.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=a.element.val()){a.selectedItem=null;a.search(null,c)}},a.options.delay);
 66+break}}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};this.menu=e("<ul></ul>").addClass("ui-autocomplete").appendTo(e(this.options.appendTo||"body",b)[0]).mousedown(function(c){var d=a.menu.element[0];
 67+c.target===d&&setTimeout(function(){e(document).one("mousedown",function(f){f.target!==a.element[0]&&f.target!==d&&!e.ui.contains(d,f.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,d){d=d.item.data("item.autocomplete");false!==a._trigger("focus",null,{item:d})&&/^key/.test(c.originalEvent.type)&&a.element.val(d.value)},selected:function(c,d){d=d.item.data("item.autocomplete");var f=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();
 68+a.previous=f}if(false!==a._trigger("select",c,{item:d})){a.term=d.value;a.element.val(d.value)}a.close(c);a.selectedItem=d},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");e.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");
 69+this.menu.element.remove();e.Widget.prototype.destroy.call(this)},_setOption:function(a,b){e.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(e(b||"body",this.element[0].ownerDocument)[0])},_initSource:function(){var a=this,b,c;if(e.isArray(this.options.source)){b=this.options.source;this.source=function(d,f){f(e.ui.autocomplete.filter(b,d.term))}}else if(typeof this.options.source==="string"){c=this.options.source;this.source=
 70+function(d,f){a.xhr&&a.xhr.abort();a.xhr=e.getJSON(c,d,function(g,i,h){h===a.xhr&&f(g);a.xhr=null})}}else this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search")!==false)return this._search(a)},_search:function(a){this.element.addClass("ui-autocomplete-loading");this.source({term:a},this.response)},_response:function(a){if(a.length){a=
 71+this._normalize(a);this._suggest(a);this._trigger("open")}else this.close();this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this._trigger("close",a);this.menu.element.hide();this.menu.deactivate()}},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return e.map(a,function(b){if(typeof b===
 72+"string")return{label:b,value:b};return e.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1),c;this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();this.menu.element.show().position(e.extend({of:this.element},this.options.position));a=b.width("").outerWidth();c=this.element.outerWidth();b.outerWidth(Math.max(a,c))},_renderMenu:function(a,b){var c=this;e.each(b,function(d,f){c._renderItem(a,f)})},
 73+_renderItem:function(a,b){return e("<li></li>").data("item.autocomplete",b).append(e("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},
 74+filter:function(a,b){var c=new RegExp(e.ui.autocomplete.escapeRegex(b),"i");return e.grep(a,function(d){return c.test(d.label||d.value||d)})}})})(jQuery);
 75+(function(e){e.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(b){if(e(b.target).closest(".ui-menu-item a").length){b.preventDefault();a.select(b)}});this.refresh()},refresh:function(){var a=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
 76+-1).mouseenter(function(b){a.activate(b,e(this).parent())}).mouseleave(function(){a.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.attr("scrollTop"),f=this.element.height();if(c<0)this.element.attr("scrollTop",d+c);else c>=f&&this.element.attr("scrollTop",d+c-f+b.height())}this.active=b.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",a,{item:b})},
 77+deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null}},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(a,b,c){if(this.active){a=this.active[a+"All"](".ui-menu-item").eq(0);
 78+a.length?this.activate(c,a):this.activate(c,this.element.children(b))}else this.activate(c,this.element.children(b))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(":first"));else{var b=this.active.offset().top,c=this.element.height(),d=this.element.children("li").filter(function(){var f=e(this).offset().top-b-c+e(this).height();return f<10&&f>-10});d.length||(d=this.element.children(":last"));this.activate(a,d)}else this.activate(a,this.element.children(!this.active||
 79+this.last()?":first":":last"))},previousPage:function(a){if(this.hasScroll())if(!this.active||this.first())this.activate(a,this.element.children(":last"));else{var b=this.active.offset().top,c=this.element.height();result=this.element.children("li").filter(function(){var d=e(this).offset().top-b+c-e(this).height();return d<10&&d>-10});result.length||(result=this.element.children(":first"));this.activate(a,result)}else this.activate(a,this.element.children(!this.active||this.first()?":last":":first"))},
 80+hasScroll:function(){return this.element.height()<this.element.attr("scrollHeight")},select:function(a){this._trigger("selected",a,{item:this.active})}})})(jQuery);
 81+;
\ No newline at end of file
Property changes on: trunk/tools/wp-photocommons/js/jquery-ui-1.8.5.custom.min.js
___________________________________________________________________
Added: svn:eol-style
182 + native
Added: svn:executable
283 + *
Index: trunk/tools/wp-photocommons/index.php
@@ -0,0 +1,16 @@
 2+<!doctype html>
 3+<html>
 4+<head>
 5+ <meta charset="utf-8" />
 6+ <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.8.5.custom.css" />
 7+</head>
 8+<body>
 9+<input type="search" id="search" />
 10+<ul id="results"></ul>
 11+<img src="img/loading.gif" style="display:none;" id="loading" />
 12+<div id="images"></div>
 13+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
 14+<script src="js/jquery-ui-1.8.5.custom.min.js"></script>
 15+<script src="search.js"></script>
 16+</body>
 17+</html>
\ No newline at end of file
Property changes on: trunk/tools/wp-photocommons/index.php
___________________________________________________________________
Added: svn:eol-style
118 + native

Status & tagging log