This file is a technical summary of changes in the Geodesic Solutions Classifieds and Auctions software. Each entry will link to the corresponding bug found in Bugzilla on our website (You will need current support contract to view, more info here).
162 - "hide" switch for categories
450 - move category ( to under another main category)
616 - Contact seller, notify friend on listing details or in ajax overlay
1014 - SEO / GeoNav: Force terminal-level subdomain in links for each individual listing.
1082 - Re-factor categories to work like multi-level fields
1089 - Add new setting for showing category on home page
1094 - Automatically add nofollow to links in listings
1106 - Add hover effect to small thumbnails in image blocks
1115 - Show full listing title and ID in tooltip for order items - Sponsored
1117 - new Importer tool - Sponsored
1120 - Added some variables to the contact seller email - Sponsored
1125 - Remove all browsing filters when viewing "sellers other listings"
1128 - Add ability to disable "contact seller" and/or "view seller's other listings" on individual listings - Sponsored
1137 - Bulk Uploader: implemented Multi-part Uploads
1155 - Add ability to charge per word
1158 - Zipsearch: QoL fix for Swedish zipcodes
1163 - Convert auto-submit form to jquery
1170 - Adjust simple carousel to be mobile friendly
1182 - Search for category number by number
1186 - Improved admin user search - Sponsored
1190 - Ordering the pre-valued dropdowns in the while making a category question
1191 - Change number dropdowns to inputs on module settings
1208 - Way for template sets to add smary plugins
1209 - Change order system-loaded CSS is loaded
1210 - Update jQuery library to 1.11.0
1211 - Update jQuery UI 1.10.4
1212 - Convert / Remove ALL remaining Prototype usage on client side
1214 - Make the listing_id able to be retrieved easily by custom smarty plugins
1216 - Buyer selected "Adds Cost Option" groups - Sponsored
1231 - Show/Hide inputs when auction end time is enabled
1238 - Show feedback even when listing is removed from archive table
1241 - Core Addon: Setting for title length to show
1242 - Core Addon - Able to overwrite some of the featured gallery settings with tag params
1255 - Add setting to show closed classifieds without 404 - Sponsored
1259 - Add the ability to require email confirmation for JIT registrations
1260 - New admin option: require subscription to bid on auctions - Sponsored
1267 - Bulk Uploader: improve handling of large numbers of revolving inventory sessions
1268 - Bulk Uploader: revolving inventory uploads will no longer create a separate upload log for each run
1271 - Bulk Uploader: QoL improvements for Revolving Inventory
1272 - Update Smarty template engine to version 3.1.18
1276 - Move quantity field to be next to price fields
1285 - Added AJAX Pagination to browsing modules - Sponsored
1297 - Added Netcash.com payment gateway
1299 - User Rating system, allowing users to rate each other on a 5-star scale - Sponsored
1302 - Charity Tools improvements - Sponsored
1309 - increase storage size for My Listing Filters
1320 - format "seller phone" variables according to admin settings
1321 - update Netcash.co.za (SagePay) payment gateway to match (more) external api changes
1330 - Bulk Uploader: try to remove memory/time limits prior to starting the upload
1331 - Bulk Uploader: added result output
- No Security fixes or patches for this release.
1329 - Google Maps: fixed zoom controls looking weird
1228 - Listing Edit does not update "quantity remaining"
1289 - Fixed a rare case where user edit links sometimes don't appear on listings
1290 - Fixed browsing filters addon tag not detecting the current category correctly
1293 - SEO: fixed some multi-byte URLs being mangled
1294 - Do not use "global" browsing filters when viewing the front page with such filters set
1300 - Fixed a case where multiple child region-select dropdowns could be spawned by typing very fast
1305 - fixed some issues relating to entering non-integer values in browsing filters
1306 - SEO: Fixed single URLs being rewritten when addon is enabled but not in use
1311 - missing text label in My Listing Filters alert email
1313 - display of multi-level fields ignores browsing language
1314 - Fixed Region Selector not appearing when only one region exists on the terminal level
1315 - prevent the auction "quantity" field from appearing for classifieds
1317 - page jumps around on image filmstrip with images of widely different heights
1318 - Bulk Uploader: added protections to better handle cases where the Revolving Inventory could stop mid-upload
1323 - Sharing: Listing URLs not rewritten on My Account > Sharing page
1328 - restore missing CSS for search_box_1 module
1171 - Auction details text size too big
1177 - If too many languages (over 127) in system, addon text broken
1194 - Social Connect - log in with Facebook problem with IE11
1265 - Print view shows links and disrupts page layout
1273 - Embedded include files do not work right
1292 - Getting Started Checklist item for Contact Us addon mistakenly looks at the SEO addon instead
1295 - Fixed a rare case where empty modules could inherit listings from earlier in the page
1298 - unencode billing state and country names on invoice display
1308 - Fixed a fringe-case fatal error in Seller's Other Listings page
1310 - Fixed internal query object sometimes not returning expected data
1322 - Corrected a regression that could cause some phone numbers to not format properly
1326 - shadow on top link bar looks funny
1239 - Transparent background turns black on uploaded images
Reference Purposes Only: Like the rest of this changelog, the template changes below are for reference purposes only, not (necessarily) a list of changes everyone needs to follow. Refer to the full update instructions to find if you need to make any template changes during an update.
max-width: 40%; clear: both; color: #737373; } ul.info li.value {
max-width: 40%; clear: both; color: #737373; font-size: .75rem; } ul.info li.value {
max-width: 40%; clear: both; color: #737373; font-size: .75rem; } ul.info li.value {
width: 14em; max-width: 60%; color: #777777; } ul.info li.price {
width: 14em; max-width: 60%; color: #777777; font-size: .75rem; } ul.info li.price {
width: 14em; max-width: 60%; color: #777777; font-size: .75rem; } ul.info li.price {
} .page-bar { border: .32em solid #eaeaea; border-radius: 0 1.8em 1.8em 0; position: absolute; top: 2.7em; left: 0; z-index: 1; /* This gives it the white inner border without having to use an inner div */ box-shadow: inset 0 0 0 0.08em #fff; box-sizing: border-box; -moz-box-sizing: border-box; padding: .07em 0 .07em 26em; background: #4987C5 url('../images/backgrounds/search_bar.gif') repeat-x top left; text-align: center; max-width: 100%;
} .page-bar { border: .4em solid #eaeaea; border-radius: 0 1.8em 1.8em 0; position: absolute; top: 2.7em; left: 0; z-index: 1; box-sizing: border-box; -moz-box-sizing: border-box; padding: 0 0 0 26em; background: #4987C5 url('../images/backgrounds/search_bar.gif') repeat-x top left; text-align: center; max-width: 100%;
} .page-bar { border: .32em solid #eaeaea; border: .4em solid #eaeaea; border-radius: 0 1.8em 1.8em 0; position: absolute; top: 2.7em; left: 0; z-index: 1; /* This gives it the white inner border without having to use an inner div */ box-shadow: inset 0 0 0 0.08em #fff; box-sizing: border-box; -moz-box-sizing: border-box; padding: .07em 0 .07em 26em; padding: 0 0 0 26em; background: #4987C5 url('../images/backgrounds/search_bar.gif') repeat-x top left; text-align: center; max-width: 100%;
} /* ========================================================================== Feedback "help box" ========================================================================== */ /* ######### FEEDBACK HELP BOX STYLES ######### */
} /* ========================================================================== Dialog Boxes (jQuery-UI Overrides) ========================================================================== */ .ui-dialog { /* jQuery ui dialog - max width of 95% to be mobile friendly */ max-width: 95%; } .ui-widget-content a.button, .ui-widget-content a.button:visited, .ui-widget-content a.cancel, .ui-widget-content a.cancel:visited { /* jQuery UI likes to make buttons wrong color, fix that by getting closer to the element with the selectors */ color: #fff; } /* ========================================================================== Feedback "help box" ========================================================================== */ /* ######### FEEDBACK HELP BOX STYLES ######### */
} /* ========================================================================== Dialog Boxes (jQuery-UI Overrides) ========================================================================== */ .ui-dialog { /* jQuery ui dialog - max width of 95% to be mobile friendly */ max-width: 95%; } .ui-widget-content a.button, .ui-widget-content a.button:visited, .ui-widget-content a.cancel, .ui-widget-content a.cancel:visited { /* jQuery UI likes to make buttons wrong color, fix that by getting closer to the element with the selectors */ color: #fff; } /* ========================================================================== Feedback "help box" ========================================================================== */ /* ######### FEEDBACK HELP BOX STYLES ######### */
font-size: .57rem; } /* Cart page */ .cart_item { border: .2em solid #eaeaea;
font-size: .57rem; } /** * Buyer Options */ .cost-option-box { float: left; border: thin solid #ddd; border-radius: 1em; margin: 1em; padding: 1em; background-color: white; width: 24em; max-width: 90%; height: 13em; overflow: auto; box-sizing: border-box; -moz-box-sizing:border-box; /* Firefox */ } .cost-options-group { min-width: 100%; } .cost-option-group-label { cursor: move; } .cost-option-combined-quantity-box { background-color: white; max-height: 20em; overflow: auto; display: inline-block; vertical-align: top; border: thin solid #ddd; border-radius: 1em; } .cost-option-table thead tr { border-bottom: thin solid #000; } .cost-option-table th { padding-right: 1em; white-space: nowrap; } .cost-options-sort-icon { display: inline-block; } .cost-options-combined-quantity-label { color: #aaa; font-style: italic; margin-left: 1em; } .cost-options-combined-option-sep { font-weight: bold; } .buyer-option-image-box { float: right; border: thin solid #ddd; } /* Cart page */ .cart_item { border: .2em solid #eaeaea;
font-size: .57rem; } /** * Buyer Options */ .cost-option-box { float: left; border: thin solid #ddd; border-radius: 1em; margin: 1em; padding: 1em; background-color: white; width: 24em; max-width: 90%; height: 13em; overflow: auto; box-sizing: border-box; -moz-box-sizing:border-box; /* Firefox */ } .cost-options-group { min-width: 100%; } .cost-option-group-label { cursor: move; } .cost-option-combined-quantity-box { background-color: white; max-height: 20em; overflow: auto; display: inline-block; vertical-align: top; border: thin solid #ddd; border-radius: 1em; } .cost-option-table thead tr { border-bottom: thin solid #000; } .cost-option-table th { padding-right: 1em; white-space: nowrap; } .cost-options-sort-icon { display: inline-block; } .cost-options-combined-quantity-label { color: #aaa; font-style: italic; margin-left: 1em; } .cost-options-combined-option-sep { font-weight: bold; } .buyer-option-image-box { float: right; border: thin solid #ddd; } /* Cart page */ .cart_item { border: .2em solid #eaeaea;
} div.offsite_video_box_title { background: #4174a6 url('../../../../images/backgrounds/c_bar_primary.gif'); /* These boxes can be moved, so give title a cursor for moving */ cursor: move; } div.offsite_video_box_title_editing { background: #7ca93a url('../../../../images/backgrounds/c_bar_secondary.gif'); } input.offsite_video_id_input {
} div.offsite_video_box_title { background: #4174a6 url('../images/backgrounds/c_bar_primary.gif'); /* These boxes can be moved, so give title a cursor for moving */ cursor: move; } div.offsite_video_box_title_editing { background: #7ca93a url('../images/backgrounds/c_bar_secondary.gif'); } input.offsite_video_id_input {
} div.offsite_video_box_title { background: #4174a6 url('../../../../images/backgrounds/c_bar_primary.gif'); background: #4174a6 url('../images/backgrounds/c_bar_primary.gif'); /* These boxes can be moved, so give title a cursor for moving */ cursor: move; } div.offsite_video_box_title_editing { background: #7ca93a url('../../../../images/backgrounds/c_bar_secondary.gif'); background: #7ca93a url('../images/backgrounds/c_bar_secondary.gif'); } input.offsite_video_id_input {
border-color: #DDD; padding: .2em; } .content_box_1 img { max-width: 100%; } .content_box_2 { /* Content box used on listing details, light background */
border-color: #DDD; padding: .2em; } .content_box_1 img { max-width: 100%; } .content_box_1 .map-container img { /* undo the [.content_box_1 img] rule specifically for gmaps. otherwise it breaks the zoom controls */ max-width: none; } .content_box_2 { /* Content box used on listing details, light background */
border-color: #DDD; padding: .2em; } .content_box_1 img { max-width: 100%; } .content_box_1 .map-container img { /* undo the [.content_box_1 img] rule specifically for gmaps. otherwise it breaks the zoom controls */ max-width: none; } .content_box_2 { /* Content box used on listing details, light background */
color: #FF0000; } /* ========================================================================== Region Selectors ========================================================================== */
color: #FF0000; } /* ========================================================================== Search Box Module ========================================================================== */ #search_box_1 { float: right; } #search_box_1 ul { margin: 0; padding: 6px 5px 0 0; } #search_box_1 ul li { list-style: none; display: inline; } #search_box_1 input.keyword { width: 200px; } /* ========================================================================== Region Selectors ========================================================================== */
color: #FF0000; } /* ========================================================================== Search Box Module ========================================================================== */ #search_box_1 { float: right; } #search_box_1 ul { margin: 0; padding: 6px 5px 0 0; } #search_box_1 ul li { list-style: none; display: inline; } #search_box_1 input.keyword { width: 200px; } /* ========================================================================== Region Selectors ========================================================================== */
} } /* ========================================================================== Print styles.
} } /* ====================================================================================== Exception -- also do column widths specifically for the carousel, even on small screens ========================================================================================= */ .gj_simple_carousel .columns-2 { width: 50%; } .gj_simple_carousel .columns-3 { width: 33%; } .gj_simple_carousel .columns-4 { width: 25%; } .gj_simple_carousel .columns-5 { width: 20%; } .gj_simple_carousel .columns-6 { width: 16%; } .gj_simple_carousel .columns-7 { width: 14%; } .gj_simple_carousel .columns-8 { width: 12.5%; } .gj_simple_carousel .columns-9 { width: 11%; } .gj_simple_carousel .columns-10 { width: 10%; } /* ========================================================================== Print styles.
} } /* ====================================================================================== Exception -- also do column widths specifically for the carousel, even on small screens ========================================================================================= */ .gj_simple_carousel .columns-2 { width: 50%; } .gj_simple_carousel .columns-3 { width: 33%; } .gj_simple_carousel .columns-4 { width: 25%; } .gj_simple_carousel .columns-5 { width: 20%; } .gj_simple_carousel .columns-6 { width: 16%; } .gj_simple_carousel .columns-7 { width: 14%; } .gj_simple_carousel .columns-8 { width: 12.5%; } .gj_simple_carousel .columns-9 { width: 11%; } .gj_simple_carousel .columns-10 { width: 10%; } /* ========================================================================== Print styles.
text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } /* * Don't show links for images, or javascript/internal links */ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999;
text-decoration: underline; } pre, blockquote { border: 1px solid #999;
text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } /* * Don't show links for images, or javascript/internal links */ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999;
/*! jQuery UI - v1.10.3 - 2013-09-04 * http://jqueryui.com * Includes: jquery.ui.core.css, jquery.ui.autocomplete.css, jquery.ui.datepicker.css, jquery.ui.menu.css, jquery.ui.theme.css * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.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}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.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}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_228ef1_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_ffd27a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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-start{background-position:-80px -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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
/*! jQuery UI - v1.10.4 - 2014-02-27 * http://jqueryui.com * Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.theme.css * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.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}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.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}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_228ef1_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_ffd27a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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-start{background-position:-80px -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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
/*! jQuery UI - v1.10.3 - 2013-09-04 /*! jQuery UI - v1.10.4 - 2014-02-27 * http://jqueryui.com * Includes: jquery.ui.core.css, jquery.ui.autocomplete.css, jquery.ui.datepicker.css, jquery.ui.menu.css, jquery.ui.theme.css * Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.theme.css * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.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}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.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}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_228ef1_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_ffd27a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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-start{background-position:-80px -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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px} .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.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}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.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}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_228ef1_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_ffd27a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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-start{background-position:-80px -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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
//calendar inputs gjUtil.initDatePicker(); }, /**
//calendar inputs gjUtil.initDatePicker(); jQuery('ul.tabList').gjTabs(); }, /**
//calendar inputs gjUtil.initDatePicker(); jQuery('ul.tabList').gjTabs(); }, /**
//then shove in the p contents bigDesc.html(txt); }); }); //make sure the width of the outer is set to max height... $this.find('.galleryBigImage').width($this.find('.galleryBigImage img').gj('getMaxWidth')); if ($this.find('.filmstrip_strip_container').length) { //specific to filmstrip: make hover over arrows smooth scroll...
//then shove in the p contents bigDesc.html(txt); }); jQuery(this).hover(function () { //trigger the normal click behavior jQuery(this).click(); }, function () {}); }); //make sure the width of the outer is set to max height... $this.find('.galleryBigImage').width($this.find('.galleryBigImage img').gj('getMaxWidth')); if($this.find('.galleryBigImage').length) { //specific to "gallery" view: ("filmstrip" does this a bit further down, with different class names) //Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; $this.find('.bigLeadImage a > img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.bigLeadImage a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.bigLeadImage').css({ 'min-height':(tallestBig+1)+'px', //+1 here prevents some more jumping 'min-width':maxWidth+'px' }); } if ($this.find('.filmstrip_strip_container').length) { //specific to filmstrip: make hover over arrows smooth scroll...
//then shove in the p contents bigDesc.html(txt); }); jQuery(this).hover(function () { //trigger the normal click behavior jQuery(this).click(); }, function () {}); }); //make sure the width of the outer is set to max height... $this.find('.galleryBigImage').width($this.find('.galleryBigImage img').gj('getMaxWidth')); if($this.find('.galleryBigImage').length) { //specific to "gallery" view: ("filmstrip" does this a bit further down, with different class names) //Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; $this.find('.bigLeadImage a > img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.bigLeadImage a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.bigLeadImage').css({ 'min-height':(tallestBig+1)+'px', //+1 here prevents some more jumping 'min-width':maxWidth+'px' }); } if ($this.find('.filmstrip_strip_container').length) { //specific to filmstrip: make hover over arrows smooth scroll...
//Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; $this.find('.filmstrip_main_img a').each(function(){ tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img').css({ 'min-height':tallestBig+'px', 'min-width':maxWidth+'px' });
//Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; $this.find('.filmstrip_main_img a>img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img').css({ 'min-height':(tallestBig+1)+'px', //+1 here prevents some more jumping 'min-width':maxWidth+'px' });
//Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; $this.find('.filmstrip_main_img a>img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img').css({ 'min-height':tallestBig+'px', 'min-height':(tallestBig+1)+'px', //+1 here prevents some more jumping 'min-width':maxWidth+'px' });
}); }, searchCategory : { _onComplete : [],
}); }, /** * Handles taking user to next page automatically when logging in or * registering * * Note: Uses jQuery! * * @param string form ID of form to submit * @param string replaceTxt */ autoSubmitForm : function (form, replaceTxt) { jQuery(function () { var myForm = jQuery('#'+form); if (myForm && myForm.length) { if (replaceTxt) { //7/7/14 -- not sure why this is here. doesn't seem to serve any practical purpose and sometimes makes the spinner graphic go wonky //window.location.replace(replaceTxt); } myForm.submit(); } }); }, searchCategory : { _onComplete : [],
}); }, /** * Handles taking user to next page automatically when logging in or * registering * * Note: Uses jQuery! * * @param string form ID of form to submit * @param string replaceTxt */ autoSubmitForm : function (form, replaceTxt) { jQuery(function () { var myForm = jQuery('#'+form); if (myForm && myForm.length) { if (replaceTxt) { //7/7/14 -- not sure why this is here. doesn't seem to serve any practical purpose and sometimes makes the spinner graphic go wonky //window.location.replace(replaceTxt); } myForm.submit(); } }); }, searchCategory : { _onComplete : [],
return; } if (response.msg) { geoUtil.addMessage(response.msg); } if (response.preview) {
return; } if (response.msg) { gjUtil.addMessage(response.msg); } if (response.preview) {
return; } if (response.msg) { geoUtil.addMessage(response.msg); gjUtil.addMessage(response.msg); } if (response.preview) {
} if (response.msg) { geoUtil.addMessage(response.msg); } if (response.preview) {
} if (response.msg) { gjUtil.addMessage(response.msg); } if (response.preview) {
} if (response.msg) { geoUtil.addMessage(response.msg); gjUtil.addMessage(response.msg); } if (response.preview) {
} }); files = filesKept; geoUtil.addMessage(gjUtil.imageUpload._msgs.tooManyFiles+' '+gjUtil.imageUpload._maxImages); } var dummyCss = jQuery('#imagesProgressBarCss'); var props = gjUtil.imageUpload._progressProps;
} }); files = filesKept; gjUtil.addMessage(gjUtil.imageUpload._msgs.tooManyFiles+' '+gjUtil.imageUpload._maxImages); } var dummyCss = jQuery('#imagesProgressBarCss'); var props = gjUtil.imageUpload._progressProps;
} }); files = filesKept; geoUtil.addMessage(gjUtil.imageUpload._msgs.tooManyFiles+' '+gjUtil.imageUpload._maxImages); gjUtil.addMessage(gjUtil.imageUpload._msgs.tooManyFiles+' '+gjUtil.imageUpload._maxImages); } var dummyCss = jQuery('#imagesProgressBarCss'); var props = gjUtil.imageUpload._progressProps;
gjUtil.imageUpload.previewUpdate(response.preview); } if (response.msg) { geoUtil.addMessage(response.msg); } if (response.debug) {
gjUtil.imageUpload.previewUpdate(response.preview); } if (response.msg) { gjUtil.addMessage(response.msg); } if (response.debug) {
gjUtil.imageUpload.previewUpdate(response.preview); } if (response.msg) { geoUtil.addMessage(response.msg); gjUtil.addMessage(response.msg); } if (response.debug) {
} }); } } };
} }); } }, _initMsg : function () { if (!jQuery('#_msgDialog').length) { //create a container to put dialogs in jQuery(document.body).append('<div id="_msgDialog">empty</div>'); jQuery('#_msgDialog').dialog({ autoOpen: false, show:{effect : 'fade',duration:400}, hide:{effect : 'fade',duration:400} }); } //return the container, but make sure it is closed so it can be updated return jQuery('#_msgDialog').dialog('close'); }, addMessage : function (msg) { var box = gjUtil._initMsg(); box.attr({title : 'Error'}) .html(msg) //.dialog({title:' '}) .dialog('open'); }, addError : function (msg) { gjUtil.addMessage(msg); } }; /* Mini-object for handling loading/unloading wysiwyg's * TODO: move this into a plugin or something */ var gjWysiwyg = { editors : [], tinyLoaded : false, localStorage : false, loadTiny : function () { //This meant to be over-written by admin/client side return false; }, removeTiny : function () { if (!gjWysiwyg.tinyLoaded) { //nothing to do //alert('not loaded, nothing to do!'); return; } if (gjWysiwyg.editors) { gjWysiwyg.editors.each(function () { var id = jQuery(this).attr('id'); if (tinyMCE.getInstanceById(id)) { tinyMCE.execCommand('mceRemoveControl',false,id); } }); } //reset things, so they can be re-init gjWysiwyg.tinyLoaded = false; gjWysiwyg.editors = []; }, //This one used to re-load tiny after it has been removed restoreTiny : function () { gjWysiwyg.loadTiny(); gjWysiwyg.editors = jQuery('.editor'); }, toggleTinyEditors : function () { if (gjWysiwyg.loadTiny()) { if (gjWysiwyg.localStorage) { //tiny was loaded for first time, so toggling on localStorage.tinyMCE = 'on'; return; } } if (gjWysiwyg.editors) { gjWysiwyg.editors.each(function () { var id = jQuery(this).attr('id'); if (!tinyMCE.getInstanceById(id)) { tinyMCE.execCommand('mceAddControl',false,id); if (gjWysiwyg.localStorage) { localStorage.tinyMCE='on'; } } else { tinyMCE.execCommand('mceRemoveControl',false,id); if (gjWysiwyg.localStorage) { localStorage.tinyMCE='off'; } } }); } } };
} }); } }, _initMsg : function () { if (!jQuery('#_msgDialog').length) { //create a container to put dialogs in jQuery(document.body).append('<div id="_msgDialog">empty</div>'); jQuery('#_msgDialog').dialog({ autoOpen: false, show:{effect : 'fade',duration:400}, hide:{effect : 'fade',duration:400} }); } //return the container, but make sure it is closed so it can be updated return jQuery('#_msgDialog').dialog('close'); }, addMessage : function (msg) { var box = gjUtil._initMsg(); box.attr({title : 'Error'}) .html(msg) //.dialog({title:' '}) .dialog('open'); }, addError : function (msg) { gjUtil.addMessage(msg); } }; /* Mini-object for handling loading/unloading wysiwyg's * TODO: move this into a plugin or something */ var gjWysiwyg = { editors : [], tinyLoaded : false, localStorage : false, loadTiny : function () { //This meant to be over-written by admin/client side return false; }, removeTiny : function () { if (!gjWysiwyg.tinyLoaded) { //nothing to do //alert('not loaded, nothing to do!'); return; } if (gjWysiwyg.editors) { gjWysiwyg.editors.each(function () { var id = jQuery(this).attr('id'); if (tinyMCE.getInstanceById(id)) { tinyMCE.execCommand('mceRemoveControl',false,id); } }); } //reset things, so they can be re-init gjWysiwyg.tinyLoaded = false; gjWysiwyg.editors = []; }, //This one used to re-load tiny after it has been removed restoreTiny : function () { gjWysiwyg.loadTiny(); gjWysiwyg.editors = jQuery('.editor'); }, toggleTinyEditors : function () { if (gjWysiwyg.loadTiny()) { if (gjWysiwyg.localStorage) { //tiny was loaded for first time, so toggling on localStorage.tinyMCE = 'on'; return; } } if (gjWysiwyg.editors) { gjWysiwyg.editors.each(function () { var id = jQuery(this).attr('id'); if (!tinyMCE.getInstanceById(id)) { tinyMCE.execCommand('mceAddControl',false,id); if (gjWysiwyg.localStorage) { localStorage.tinyMCE='on'; } } else { tinyMCE.execCommand('mceRemoveControl',false,id); if (gjWysiwyg.localStorage) { localStorage.tinyMCE='off'; } } }); } } };
* @git-info@ */ Event.observe(window,'load',function () { geoListing.getLength(null, $('main_description')); geoListing.init(); } );
* @git-info@ */ jQuery(function () { jQuery('#main_description').keypress(geoListing.checkLength) .keyup(geoListing.getLength); geoListing.getLength(null); geoListing.init(); } );
* @git-info@ */ Event.observe(window,'load',function () { geoListing.getLength(null, $('main_description')); jQuery(function () { jQuery('#main_description').keypress(geoListing.checkLength) .keyup(geoListing.getLength); geoListing.getLength(null); geoListing.init(); } );
_loadQueue : [], onComplete : function (callback) { if (typeof callback !== 'function') { jQuery.error('Invalid callback specified, not a function.');
_loadQueue : [], _adminId : 0, _userId : 0, onComplete : function (callback) { if (typeof callback !== 'function') { jQuery.error('Invalid callback specified, not a function.');
_loadQueue : [], _adminId : 0, _userId : 0, onComplete : function (callback) { if (typeof callback !== 'function') { jQuery.error('Invalid callback specified, not a function.');
geoListing.combinedUpdate(jQuery(this).closest('.combined_step_section').attr('id')); }); } }, popQueue : function () {
geoListing.combinedUpdate(jQuery(this).closest('.combined_step_section').attr('id')); }); } //make instruction buttons work jQuery('.show_instructions_button').click(function (e) { e.preventDefault(); jQuery('#'+jQuery(this).attr('id')+'_box').toggle('fast'); }).each (function () { jQuery('#'+jQuery(this).attr('id')+'_box').hide(); }); //stuff for auction end time if (jQuery('#endModeSelect').length) { var endModeClick = function () { if (jQuery('#endModeSelect').val()=='1') { jQuery('#end_time').show('fast'); jQuery('#classified_length').hide('fast'); } else { jQuery('#end_time').hide('fast'); jQuery('#classified_length').show('fast'); } }; jQuery('#endModeSelect').change(endModeClick); endModeClick(); } }, popQueue : function () {
geoListing.combinedUpdate(jQuery(this).closest('.combined_step_section').attr('id')); }); } //make instruction buttons work jQuery('.show_instructions_button').click(function (e) { e.preventDefault(); jQuery('#'+jQuery(this).attr('id')+'_box').toggle('fast'); }).each (function () { jQuery('#'+jQuery(this).attr('id')+'_box').hide(); }); //stuff for auction end time if (jQuery('#endModeSelect').length) { var endModeClick = function () { if (jQuery('#endModeSelect').val()=='1') { jQuery('#end_time').show('fast'); jQuery('#classified_length').hide('fast'); } else { jQuery('#end_time').hide('fast'); jQuery('#classified_length').show('fast'); } }; jQuery('#endModeSelect').change(endModeClick); endModeClick(); } }, popQueue : function () {
var combinedForm = jQuery('#combined_form'); if (typeof geoWysiwyg !== 'undefined') { //close any wysiwyg editors... Need to unload tiny for serialize to //work properly geoWysiwyg.removeTiny(); } var formData = combinedForm.serialize();
var combinedForm = jQuery('#combined_form'); if (typeof gjWysiwyg !== 'undefined') { //close any wysiwyg editors... Need to unload tiny for serialize to //work properly gjWysiwyg.removeTiny(); } var formData = combinedForm.serialize();
var combinedForm = jQuery('#combined_form'); if (typeof geoWysiwyg !== 'undefined') { if (typeof gjWysiwyg !== 'undefined') { //close any wysiwyg editors... Need to unload tiny for serialize to //work properly geoWysiwyg.removeTiny(); gjWysiwyg.removeTiny(); } var formData = combinedForm.serialize();
}); geoUtil.init(); geoListing.init(); if (typeof geoWysiwyg !== 'undefined') { //close any wysiwyg editors... geoWysiwyg.restoreTiny(); } gjUtil.initDatePicker(); gjUtil.lightbox.initClick();
}); geoUtil.init(); geoListing.init(); if (typeof gjWysiwyg !== 'undefined') { //close any wysiwyg editors... gjWysiwyg.restoreTiny(); } gjUtil.initDatePicker(); gjUtil.lightbox.initClick();
}); geoUtil.init(); geoListing.init(); if (typeof geoWysiwyg !== 'undefined') { if (typeof gjWysiwyg !== 'undefined') { //close any wysiwyg editors... geoWysiwyg.restoreTiny(); gjWysiwyg.restoreTiny(); } gjUtil.initDatePicker(); gjUtil.lightbox.initClick();
}); }, checkLength : function( e , target ) { var selection = ''; var cur_len; var keynum; if(window.event) { // IE keynum = e.keyCode selection = document.selection.createRange().text; // check for selection } else if(e.which) { // Netscape/Firefox/Opera keynum = e.which selection = target.value.substring(target.selectionStart,target.selectionEnd); // check for selection } e.modifiers cur_len = target.value.length; if ( keynum != '8' && keynum != undefined && selection == '' ) { // 8 == backspace if ( cur_len == max_length ) return false; else if ( cur_len > max_length ) { target.value = e.target.value.substr(0,max_length); return false; } return true; } else return true; }, getLength : function ( e , target ) { //TODO: Convert to jquery target = $(target); if (!target) { //could not find element on page return; } var char_remain = $('chars_remaining'); if (!char_remain){ //could not find text to update return; } var cur_len = (target.value).length; if ( cur_len > max_length ) { // double check they didnt paste something huge into the textarea target.value = target.value.substr(0,max_length); char_remain.update('0'); return false; } char_remain.update(''+(max_length - cur_len)); return true; },
}); }, checkLength : function(e) { var selection = ''; var cur_len; var keynum; var target = jQuery('#main_description'); if (!target.length) { //could not find element on page return; } if(window.event) { // IE keynum = e.keyCode selection = (document.selection)? document.selection.createRange().text : ''; // check for selection } else if(e.which) { // Netscape/Firefox/Opera keynum = e.which selection = target.value.substring(target.selectionStart,target.selectionEnd); // check for selection } e.modifiers cur_len = target.val().length; if ( keynum != '8' && keynum != undefined && selection == '' ) { // 8 == backspace if ( cur_len == max_length ) { return false; } else if ( cur_len > max_length ) { target.val(e.target.value.substr(0,max_length)); return false; } return true; } return true; }, getLength : function (e) { var target = jQuery('#main_description'); if (!target.length) { //could not find element on page return; } var char_remain = jQuery('#chars_remaining'); if (!char_remain.length){ //could not find text to update return; } var cur_len = (target.val()).length; if ( cur_len > max_length ) { // double check they didnt paste something huge into the textarea target.val(target.val().substr(0,max_length)); char_remain.text('0'); return false; } char_remain.text(''+(max_length - cur_len)); return true; },
}); }, checkLength : function( e , target ) checkLength : function(e) { var selection = ''; var cur_len; var keynum; var target = jQuery('#main_description'); if (!target.length) { //could not find element on page return; } if(window.event) { // IE keynum = e.keyCode selection = document.selection.createRange().text; // check for selection selection = (document.selection)? document.selection.createRange().text : ''; // check for selection } else if(e.which) { // Netscape/Firefox/Opera keynum = e.which selection = target.value.substring(target.selectionStart,target.selectionEnd); // check for selection } e.modifiers cur_len = target.value.length; cur_len = target.val().length; if ( keynum != '8' && keynum != undefined && selection == '' ) { // 8 == backspace if ( cur_len == max_length ) if ( cur_len == max_length ) { return false; else if ( cur_len > max_length ) { target.value = e.target.value.substr(0,max_length); } else if ( cur_len > max_length ) { target.val(e.target.value.substr(0,max_length)); return false; } return true; } else return true; return true; }, getLength : function ( e , target ) getLength : function (e) { //TODO: Convert to jquery target = $(target); if (!target) { var target = jQuery('#main_description'); if (!target.length) { //could not find element on page return; } var char_remain = $('chars_remaining'); if (!char_remain){ var char_remain = jQuery('#chars_remaining'); if (!char_remain.length){ //could not find text to update return; } var cur_len = (target.value).length; var cur_len = (target.val()).length; if ( cur_len > max_length ) { // double check they didnt paste something huge into the textarea target.value = target.value.substr(0,max_length); char_remain.update('0'); target.val(target.val().substr(0,max_length)); char_remain.text('0'); return false; } char_remain.update(''+(max_length - cur_len)); char_remain.text(''+(max_length - cur_len)); return true; },
}, response); } }); } };
}, response); } }); }, costOptions : { _delGroupId : null, _msgs : {}, _limits : { label_length : 0, max_groups : 0, max_options_per_group : 0 }, init : function () { //Cost options //NOTE: Possibly called multiple times, each time the cost option box //contents are changed jQuery('#add_buyer_option_button').unbind().click(geoListing.costOptions.addDialog); jQuery('#cost-options-set-combined-quantity').unbind().click(geoListing.costOptions.setCombinedQuantityDialog); jQuery('.cost_options_del_group').unbind().click(function (e) { e.preventDefault(); geoListing.costOptions._delGroupId = jQuery(this).prop('hash').replace('#',''); jQuery('#dialog-confirm-cost-options-delete').dialog('open'); }); jQuery('.cost_options_edit_group').unbind().click(geoListing.costOptions.editGroupClick); if (gjUtil.updateCurrencies) { //make sure precurrency is set gjUtil.updateCurrencies(); } //show/hide options and buttons according to how many groups there are var optionGroupCount = jQuery('.cost-option-box').length; if (optionGroupCount >= geoListing.costOptions._limits.max_groups) { //hide the add button jQuery('#add_buyer_option_button').hide(); } else { jQuery('#add_buyer_option_button').show(); } if (optionGroupCount > 1) { //If there is at least 2 options... if (jQuery('.cost-option-quantity-combined').length>1 && jQuery('.cost-option-box .error_message').length==0) { //show the button to set quantities jQuery('#cost-options-set-combined-quantity').show('fast'); } else { jQuery('#cost-options-set-combined-quantity').hide(); } //Add the sortable to make things able to change order jQuery('.cost-options-box-sortbox').sortable({ handle : '.cost-option-group-label', update : function (event, ui) { var params = jQuery(this).sortable('serialize'); jQuery.ajax({ url:'AJAX.php?controller=CostOptions&action=sortGroups&adminId='+geoListing._adminId+'&userId='+geoListing._userId, dataType : 'json', type: 'POST', data: params }).done(geoListing.costOptions.handleResponse) .error(function () { //some error sorting... TODO: text gjUtil.addError('Server Error'); }); } }); } else { //Only 1 or fewer option... //hide the button to set quantities jQuery('#cost-options-set-combined-quantity').hide(); } }, addDialog : function (e) { if (e) { e.preventDefault(); } geoListing.costOptions.promptCombineReset(function () { jQuery.ajax({ url:'AJAX.php?controller=CostOptions&action=add&adminId='+geoListing._adminId+'&userId='+geoListing._userId, dataType : 'json' }).done(geoListing.costOptions.handleResponse) .error(function () { //some error deleting... TODO: text gjUtil.addError('Server Error'); }); }); }, addOption : function (e) { e.preventDefault(); jQuery('.cost_options_edit_tbody').append(jQuery('.cost_options_new_row') .clone() .removeClass('cost_options_new_row') .addClass('cost_options_row') .show('fast') ); //make sure it watches any new remove buttons jQuery('.cost_options_remove_option').unbind().click(geoListing.costOptions.remOption); jQuery('.cost_options_edit_tbody').sortable('refresh'); if (jQuery('.cost_options_row').length >= geoListing.costOptions._limits.max_options_per_group) { //reached max number of options, hide the button jQuery('.cost_option_add_option').hide(); } }, remOption : function (e) { e.preventDefault(); jQuery(this).closest('tr').remove(); if (jQuery('.cost_options_row').length < geoListing.costOptions._limits.max_options_per_group) { //make sure it shows if there are spots jQuery('.cost_option_add_option').show(); } }, deleteGroupClick : function () { var groupId = geoListing.costOptions._delGroupId; if (geoListing.costOptions._delGroupId===null) { //not set... return; } geoListing.costOptions.promptCombineReset(function () { jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=deleteGroup&adminId='+geoListing._adminId+'&userId='+geoListing._userId, data : 'groupId='+groupId, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); geoListing.costOptions._delGroupId = null; }); }, editGroupClick : function (e) { e.preventDefault(); var groupId = jQuery(this).prop('hash').replace('#',''); geoListing.costOptions.promptCombineReset(function () { jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=editGroup&adminId='+geoListing._adminId+'&userId='+geoListing._userId, data : 'groupId='+groupId, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); }); }, editSubmit : function (e) { e.preventDefault(); var data = jQuery(this).serialize(); jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=update&adminId='+geoListing._adminId+'&userId='+geoListing._userId, data : data, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); }, setCombinedQuantityDialog : function (e) { e.preventDefault(); jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=editCombinedQuantity&adminId='+geoListing._adminId+'&userId='+geoListing._userId, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); }, setCombinedQuantitySubmit : function (e) { e.preventDefault(); var data = jQuery(this).serialize(); jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=updateCombinedQuantity&adminId='+geoListing._adminId+'&userId='+geoListing._userId, data : data, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); }, addCombinedQuantity : function (e) { e.preventDefault(); //get the "last" row, make sure the selections start out "one further" var prevRow = jQuery('.cost-options-combined-tbody tr:last').not('.cost-options-new-combined-row'); var newRow = jQuery('.cost-options-new-combined-row') .clone() .removeClass('cost-options-new-combined-row'); jQuery('.cost-options-combined-tbody').append(newRow.show()); //watch changes on select newRow.find('select').change(geoListing.costOptions.quantitySelectChange); if (prevRow.length) { //first make the selects match up... var bumpVal = ''; newRow.find('select').each(function () { var matching = prevRow.find('option[value='+jQuery(this).val()+']').closest('select'); jQuery(this).val(matching.val()); bumpVal = matching.val(); }); //Bump value by one... if (bumpVal) { geoListing.costOptions._rollOptions(newRow.find('option[value='+bumpVal+']')); } } //trigger a change to set the name newRow.find('select').filter(':first').change(); //make sure it watches any new remove buttons jQuery('.cost_options_remove_option').unbind().click(geoListing.costOptions.remOption); }, quantitySelectChange : function (e) { //need to update the "name" for the quantity. var name = 'cost_options_quantity['; jQuery(this).closest('tr').find('select').each(function () { name += jQuery(this).val()+'_'; }); //remove last _ name = name.substring(0,name.length-1); name += ']' jQuery(this).closest('tr').find('.cost-options-number').prop('name',name); }, _rollOptions : function (option) { var setVal=''; if (option.next().length==0) { //roll it to first entry... setVal=option.siblings(':first').val(); if (!setVal) { //cannot set value return; } option.closest('select').val(setVal); //roll the previous selection var prev = option.closest('td'); if (!prev.length) { //some problem traveling up to parent td return; } prev = prev.prev('td'); if (!prev.length) { //there is no previous one... return; } geoListing.costOptions._rollOptions(prev.find('option[value='+prev.find('select').val()+']')); } else { //just roll it to next one setVal=option.next().val(); if (!setVal) { //cannot set value return; } option.closest('select').val(setVal); } }, handleResponse : function (response) { if (response.error) { geoListing.costOptions.handleError(response.error); return; } if (response.msg) { gjUtil.addMessage(response.msg); } if (response.dialog) { jQuery('#add-cost-dialog-box').html(response.dialog) .attr({title : response.dialog_title||''}) .dialog({ autoOpen : false, modal: true, buttons: [ { text: geoListing.costOptions._msgs.ok, click: function () {jQuery('.cost-options-edit-form').submit();} }, { text: geoListing.costOptions._msgs.cancel, click: function () {jQuery(this).dialog('close'); } } ], width: 'auto' }).dialog('open'); } if (response.cost_options_box) { //updating cost options box... //close the dialog if it is open if (jQuery('#add-cost-dialog-box').dialog('isOpen')) { jQuery('#add-cost-dialog-box').dialog('close'); } //and insert the new contents jQuery('#cost_options_box').html(response.cost_options_box); //re-init the buttons geoListing.costOptions.init(); //just updated cost options thing, reset del group just to be safe geoListing.costOptions._delGroupId = null; if (jQuery('.cost-option-box').length >= geoListing.costOptions._limits.max_groups) { //hide the add button jQuery('#add_buyer_option_button').hide(); } else { jQuery('#add_buyer_option_button').show(); } //remove error class / messages to avoid confusion over whether problem is fixed or not jQuery('#cost_options_box_outer').removeClass('field_error_row') .find('.cost_options_main_error').hide(); } if (response.update_quantity && jQuery('#auction_quantity').attr('type')!=='hidden') { //set the quantity used jQuery('#auction_quantity').val(response.update_quantity); } if (response.debug) { console.log('Debug: '+response.debug); } }, checkQuantity : function () { if (jQuery(this).prop('checked')) { //dialog for whether to show combined thingy or not jQuery('#cost-options-combine-option-box').dialog({ buttons : { Individual : function () { jQuery('#cost-options-quantity-type').val('individual'); jQuery('#cost-options-quantity-individual-span').show(); jQuery('#cost-options-quantity-combined-span').hide(); jQuery('.cost-options-individual-quantity').show(); jQuery(this).dialog('close'); }, Combined : function () { jQuery('#cost-options-quantity-type').val('combined'); jQuery('#cost-options-quantity-individual-span').hide(); jQuery('#cost-options-quantity-combined-span').show(); jQuery('.cost-options-individual-quantity').hide(); jQuery(this).dialog('close'); } }, modal : true }); } else { jQuery('#cost-options-quantity-type').val('none'); jQuery('#cost-options-quantity-individual-span').hide(); jQuery('#cost-options-quantity-combined-span').hide(); jQuery('.cost-options-individual-quantity').hide(); } }, /** * Call for any actions that will reset the combined quantities */ promptCombineReset : function (callback) { if (jQuery('.cost-option-combined-quantity-box').length==0) { //no combined quantity, so no problem... callback(); return; } jQuery('#dialog-confirm-cost-options-reset-combined').dialog({ buttons : { 'Continue' : function () { jQuery(this).dialog('close'); callback(); }, 'Cancel' : function () { jQuery(this).dialog('close'); } }, modal : true }); }, handleError : function (error) { gjUtil.addError(error); } } };
}, response); } }); }, costOptions : { _delGroupId : null, _msgs : {}, _limits : { label_length : 0, max_groups : 0, max_options_per_group : 0 }, init : function () { //Cost options //NOTE: Possibly called multiple times, each time the cost option box //contents are changed jQuery('#add_buyer_option_button').unbind().click(geoListing.costOptions.addDialog); jQuery('#cost-options-set-combined-quantity').unbind().click(geoListing.costOptions.setCombinedQuantityDialog); jQuery('.cost_options_del_group').unbind().click(function (e) { e.preventDefault(); geoListing.costOptions._delGroupId = jQuery(this).prop('hash').replace('#',''); jQuery('#dialog-confirm-cost-options-delete').dialog('open'); }); jQuery('.cost_options_edit_group').unbind().click(geoListing.costOptions.editGroupClick); if (gjUtil.updateCurrencies) { //make sure precurrency is set gjUtil.updateCurrencies(); } //show/hide options and buttons according to how many groups there are var optionGroupCount = jQuery('.cost-option-box').length; if (optionGroupCount >= geoListing.costOptions._limits.max_groups) { //hide the add button jQuery('#add_buyer_option_button').hide(); } else { jQuery('#add_buyer_option_button').show(); } if (optionGroupCount > 1) { //If there is at least 2 options... if (jQuery('.cost-option-quantity-combined').length>1 && jQuery('.cost-option-box .error_message').length==0) { //show the button to set quantities jQuery('#cost-options-set-combined-quantity').show('fast'); } else { jQuery('#cost-options-set-combined-quantity').hide(); } //Add the sortable to make things able to change order jQuery('.cost-options-box-sortbox').sortable({ handle : '.cost-option-group-label', update : function (event, ui) { var params = jQuery(this).sortable('serialize'); jQuery.ajax({ url:'AJAX.php?controller=CostOptions&action=sortGroups&adminId='+geoListing._adminId+'&userId='+geoListing._userId, dataType : 'json', type: 'POST', data: params }).done(geoListing.costOptions.handleResponse) .error(function () { //some error sorting... TODO: text gjUtil.addError('Server Error'); }); } }); } else { //Only 1 or fewer option... //hide the button to set quantities jQuery('#cost-options-set-combined-quantity').hide(); } }, addDialog : function (e) { if (e) { e.preventDefault(); } geoListing.costOptions.promptCombineReset(function () { jQuery.ajax({ url:'AJAX.php?controller=CostOptions&action=add&adminId='+geoListing._adminId+'&userId='+geoListing._userId, dataType : 'json' }).done(geoListing.costOptions.handleResponse) .error(function () { //some error deleting... TODO: text gjUtil.addError('Server Error'); }); }); }, addOption : function (e) { e.preventDefault(); jQuery('.cost_options_edit_tbody').append(jQuery('.cost_options_new_row') .clone() .removeClass('cost_options_new_row') .addClass('cost_options_row') .show('fast') ); //make sure it watches any new remove buttons jQuery('.cost_options_remove_option').unbind().click(geoListing.costOptions.remOption); jQuery('.cost_options_edit_tbody').sortable('refresh'); if (jQuery('.cost_options_row').length >= geoListing.costOptions._limits.max_options_per_group) { //reached max number of options, hide the button jQuery('.cost_option_add_option').hide(); } }, remOption : function (e) { e.preventDefault(); jQuery(this).closest('tr').remove(); if (jQuery('.cost_options_row').length < geoListing.costOptions._limits.max_options_per_group) { //make sure it shows if there are spots jQuery('.cost_option_add_option').show(); } }, deleteGroupClick : function () { var groupId = geoListing.costOptions._delGroupId; if (geoListing.costOptions._delGroupId===null) { //not set... return; } geoListing.costOptions.promptCombineReset(function () { jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=deleteGroup&adminId='+geoListing._adminId+'&userId='+geoListing._userId, data : 'groupId='+groupId, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); geoListing.costOptions._delGroupId = null; }); }, editGroupClick : function (e) { e.preventDefault(); var groupId = jQuery(this).prop('hash').replace('#',''); geoListing.costOptions.promptCombineReset(function () { jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=editGroup&adminId='+geoListing._adminId+'&userId='+geoListing._userId, data : 'groupId='+groupId, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); }); }, editSubmit : function (e) { e.preventDefault(); var data = jQuery(this).serialize(); jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=update&adminId='+geoListing._adminId+'&userId='+geoListing._userId, data : data, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); }, setCombinedQuantityDialog : function (e) { e.preventDefault(); jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=editCombinedQuantity&adminId='+geoListing._adminId+'&userId='+geoListing._userId, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); }, setCombinedQuantitySubmit : function (e) { e.preventDefault(); var data = jQuery(this).serialize(); jQuery.ajax({ url : 'AJAX.php?controller=CostOptions&action=updateCombinedQuantity&adminId='+geoListing._adminId+'&userId='+geoListing._userId, data : data, dataType : 'json', type : 'POST' }).done(geoListing.costOptions.handleResponse); }, addCombinedQuantity : function (e) { e.preventDefault(); //get the "last" row, make sure the selections start out "one further" var prevRow = jQuery('.cost-options-combined-tbody tr:last').not('.cost-options-new-combined-row'); var newRow = jQuery('.cost-options-new-combined-row') .clone() .removeClass('cost-options-new-combined-row'); jQuery('.cost-options-combined-tbody').append(newRow.show()); //watch changes on select newRow.find('select').change(geoListing.costOptions.quantitySelectChange); if (prevRow.length) { //first make the selects match up... var bumpVal = ''; newRow.find('select').each(function () { var matching = prevRow.find('option[value='+jQuery(this).val()+']').closest('select'); jQuery(this).val(matching.val()); bumpVal = matching.val(); }); //Bump value by one... if (bumpVal) { geoListing.costOptions._rollOptions(newRow.find('option[value='+bumpVal+']')); } } //trigger a change to set the name newRow.find('select').filter(':first').change(); //make sure it watches any new remove buttons jQuery('.cost_options_remove_option').unbind().click(geoListing.costOptions.remOption); }, quantitySelectChange : function (e) { //need to update the "name" for the quantity. var name = 'cost_options_quantity['; jQuery(this).closest('tr').find('select').each(function () { name += jQuery(this).val()+'_'; }); //remove last _ name = name.substring(0,name.length-1); name += ']' jQuery(this).closest('tr').find('.cost-options-number').prop('name',name); }, _rollOptions : function (option) { var setVal=''; if (option.next().length==0) { //roll it to first entry... setVal=option.siblings(':first').val(); if (!setVal) { //cannot set value return; } option.closest('select').val(setVal); //roll the previous selection var prev = option.closest('td'); if (!prev.length) { //some problem traveling up to parent td return; } prev = prev.prev('td'); if (!prev.length) { //there is no previous one... return; } geoListing.costOptions._rollOptions(prev.find('option[value='+prev.find('select').val()+']')); } else { //just roll it to next one setVal=option.next().val(); if (!setVal) { //cannot set value return; } option.closest('select').val(setVal); } }, handleResponse : function (response) { if (response.error) { geoListing.costOptions.handleError(response.error); return; } if (response.msg) { gjUtil.addMessage(response.msg); } if (response.dialog) { jQuery('#add-cost-dialog-box').html(response.dialog) .attr({title : response.dialog_title||''}) .dialog({ autoOpen : false, modal: true, buttons: [ { text: geoListing.costOptions._msgs.ok, click: function () {jQuery('.cost-options-edit-form').submit();} }, { text: geoListing.costOptions._msgs.cancel, click: function () {jQuery(this).dialog('close'); } } ], width: 'auto' }).dialog('open'); } if (response.cost_options_box) { //updating cost options box... //close the dialog if it is open if (jQuery('#add-cost-dialog-box').dialog('isOpen')) { jQuery('#add-cost-dialog-box').dialog('close'); } //and insert the new contents jQuery('#cost_options_box').html(response.cost_options_box); //re-init the buttons geoListing.costOptions.init(); //just updated cost options thing, reset del group just to be safe geoListing.costOptions._delGroupId = null; if (jQuery('.cost-option-box').length >= geoListing.costOptions._limits.max_groups) { //hide the add button jQuery('#add_buyer_option_button').hide(); } else { jQuery('#add_buyer_option_button').show(); } //remove error class / messages to avoid confusion over whether problem is fixed or not jQuery('#cost_options_box_outer').removeClass('field_error_row') .find('.cost_options_main_error').hide(); } if (response.update_quantity && jQuery('#auction_quantity').attr('type')!=='hidden') { //set the quantity used jQuery('#auction_quantity').val(response.update_quantity); } if (response.debug) { console.log('Debug: '+response.debug); } }, checkQuantity : function () { if (jQuery(this).prop('checked')) { //dialog for whether to show combined thingy or not jQuery('#cost-options-combine-option-box').dialog({ buttons : { Individual : function () { jQuery('#cost-options-quantity-type').val('individual'); jQuery('#cost-options-quantity-individual-span').show(); jQuery('#cost-options-quantity-combined-span').hide(); jQuery('.cost-options-individual-quantity').show(); jQuery(this).dialog('close'); }, Combined : function () { jQuery('#cost-options-quantity-type').val('combined'); jQuery('#cost-options-quantity-individual-span').hide(); jQuery('#cost-options-quantity-combined-span').show(); jQuery('.cost-options-individual-quantity').hide(); jQuery(this).dialog('close'); } }, modal : true }); } else { jQuery('#cost-options-quantity-type').val('none'); jQuery('#cost-options-quantity-individual-span').hide(); jQuery('#cost-options-quantity-combined-span').hide(); jQuery('.cost-options-individual-quantity').hide(); } }, /** * Call for any actions that will reset the combined quantities */ promptCombineReset : function (callback) { if (jQuery('.cost-option-combined-quantity-box').length==0) { //no combined quantity, so no problem... callback(); return; } jQuery('#dialog-confirm-cost-options-reset-combined').dialog({ buttons : { 'Continue' : function () { jQuery(this).dialog('close'); callback(); }, 'Cancel' : function () { jQuery(this).dialog('close'); } }, modal : true }); }, handleError : function (error) { gjUtil.addError(error); } } };
element.setStyle({ height : max+'px' }); }, values); } //init the instruction buttons geoUtil.instrBtns.init(); //tabs geoTabs.init(); }, //namespace for instruction button actions for show/hide instructions on //media collection step during listing process instrBtns : { _animating : false, //used to initialize any "instructions" buttons on the page, specifically //used during listing placement on media collection page init : function () { $$('.show_instructions_button').each (function (elem) { var descriptionBox = $(elem.identify()+'_box'); if (!descriptionBox) { //no description box found for this one return; } descriptionBox.hide(); elem.observe('click', geoUtil.instrBtns.buttonClicked); }); }, buttonClicked : function (action) { action.stop(); if (geoUtil.instrBtns._animating) { //do not do more than one animation at once return; } if (geoEffect.useEffect()) { geoUtil.instrBtns.startUpAction(); var params = { duration : geoEffect.defaultDuration, afterFinish : geoUtil.instrBtns.finishAction }; Effect.toggle(this.identify()+'_box', 'blind', params); } else { geoUtil.instrBtns.startUpAction (); $(this.identify()+'_box').toggle(); geoUtil.instrBtns.finishAction (); } }, _callbacks_start : new Array(), _callbacks_end : new Array(), registerCallbacks : function (callbackStart, callbackEnd) { if (typeof callbackStart == 'function') { var index = geoUtil.instrBtns._callbacks_start.size(); geoUtil.instrBtns._callbacks_start[index] = callbackStart; } if (typeof callbackEnd == 'function') { var index = geoUtil.instrBtns._callbacks_end.size(); geoUtil.instrBtns._callbacks_end[index] = callbackEnd; } }, startUpAction : function () { //mark as in middle of animating show/hide instructions geoUtil.instrBtns._animating = true; //process any pre-animation callbacks geoUtil.instrBtns._callbacks_start.each(function(f) {f();}); return true; }, finishAction : function () { //process any post-animation callbacks geoUtil.instrBtns._callbacks_end.each(function(f) {f();}); //no longer in middle of animating show/hide instructions geoUtil.instrBtns._animating = false; } }, /* * @deprecated versino 7.3.0 on 9/3/2013 - will be removed in future version */ initCalendars : function () { jQuery.error('Error: Function geoUtil.initCalendars() no longer exists. Either use the datepicker jQuery UI plugin, or use this instead: gjUtil.initDatePicker();'); }, _dateDefaultText : 'YYYY-MM-DD', pageDimensions : function () { //gets the page dimensions
element.setStyle({ height : max+'px' }); }, values); } }, pageDimensions : function () { //gets the page dimensions
element.setStyle({ height : max+'px' }); }, values); } //init the instruction buttons geoUtil.instrBtns.init(); //tabs geoTabs.init(); }, //namespace for instruction button actions for show/hide instructions on //media collection step during listing process instrBtns : { _animating : false, //used to initialize any "instructions" buttons on the page, specifically //used during listing placement on media collection page init : function () { $$('.show_instructions_button').each (function (elem) { var descriptionBox = $(elem.identify()+'_box'); if (!descriptionBox) { //no description box found for this one return; } descriptionBox.hide(); elem.observe('click', geoUtil.instrBtns.buttonClicked); }); }, buttonClicked : function (action) { action.stop(); if (geoUtil.instrBtns._animating) { //do not do more than one animation at once return; } if (geoEffect.useEffect()) { geoUtil.instrBtns.startUpAction(); var params = { duration : geoEffect.defaultDuration, afterFinish : geoUtil.instrBtns.finishAction }; Effect.toggle(this.identify()+'_box', 'blind', params); } else { geoUtil.instrBtns.startUpAction (); $(this.identify()+'_box').toggle(); geoUtil.instrBtns.finishAction (); } }, _callbacks_start : new Array(), _callbacks_end : new Array(), registerCallbacks : function (callbackStart, callbackEnd) { if (typeof callbackStart == 'function') { var index = geoUtil.instrBtns._callbacks_start.size(); geoUtil.instrBtns._callbacks_start[index] = callbackStart; } if (typeof callbackEnd == 'function') { var index = geoUtil.instrBtns._callbacks_end.size(); geoUtil.instrBtns._callbacks_end[index] = callbackEnd; } }, startUpAction : function () { //mark as in middle of animating show/hide instructions geoUtil.instrBtns._animating = true; //process any pre-animation callbacks geoUtil.instrBtns._callbacks_start.each(function(f) {f();}); return true; }, finishAction : function () { //process any post-animation callbacks geoUtil.instrBtns._callbacks_end.each(function(f) {f();}); //no longer in middle of animating show/hide instructions geoUtil.instrBtns._animating = false; } }, /* * @deprecated versino 7.3.0 on 9/3/2013 - will be removed in future version */ initCalendars : function () { jQuery.error('Error: Function geoUtil.initCalendars() no longer exists. Either use the datepicker jQuery UI plugin, or use this instead: gjUtil.initDatePicker();'); }, _dateDefaultText : 'YYYY-MM-DD', pageDimensions : function () { //gets the page dimensions
}, /** * Handles taking user to next page automatically when logging in or * registering * * Note: Uses prototype! * * @param string form ID of form to submit * @param string replaceTxt */ autoSubmitForm : function (form, replaceTxt) { var delay = 2000; //time to wait after the page is done loading Event.observe(window, 'load', function () { setTimeout(function () { //2 seconds after page is done loading, auto submit the form. myForm = $(form); if (myForm){ if (replaceTxt) { window.location.replace(replaceTxt); } myForm.submit(); } }, delay); }); }, initTagSearch : function () { //MOVED to gjMain }, /** * * MD5 (Message-Digest Algorithm) * http://www.webtoolkit.info/
}, /** * * MD5 (Message-Digest Algorithm) * http://www.webtoolkit.info/
}, /** * Handles taking user to next page automatically when logging in or * registering * * Note: Uses prototype! * * @param string form ID of form to submit * @param string replaceTxt */ autoSubmitForm : function (form, replaceTxt) { var delay = 2000; //time to wait after the page is done loading Event.observe(window, 'load', function () { setTimeout(function () { //2 seconds after page is done loading, auto submit the form. myForm = $(form); if (myForm){ if (replaceTxt) { window.location.replace(replaceTxt); } myForm.submit(); } }, delay); }); }, initTagSearch : function () { //MOVED to gjMain }, /** * * MD5 (Message-Digest Algorithm) * http://www.webtoolkit.info/
myFloater.location.href = fileName; }; /** * NO LONGER USED!!! Do NOT use lightUpBox, use the new jQuery version of things! * This is now just a shell that hopefully will make it easier for people to transition * to use the "new" way of doing things in jQuery. */ var lightUpBox = { /** * Set this to true, and the main functions will "call" the "new way" of * doing everything. This is only meant as a tool to help developers transition * code to use the new way, it should not be used as a long-term solution to * make old code work. * * It will add log entries to let you know what you need to be calling "instead" * * Note that even if it does "try" to call the new way, if one of the parameters * passed in uses somethign specific to prototype, it may not work anyways */ legacyCompat : false, startSlideshow : function () { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'startSlideshow\');'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('startSlideshow'); } }, stopSlideshow : function () { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'stopSlideshow\');'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('stopSlideshow'); } }, registerHideCallback : function (callback) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: gjUtil.lightbox.onOpen(callback);'); if (lightUpBox.legacyCompat) { gjUtil.lightbox.onOpen(callback); } }, registerShowCallback : function (callback) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: gjUtil.lightbox.onClose(callback);'); if (lightUpBox.legacyCompat) { gjUtil.lightbox.onClose(callback); } }, registerOnCompleteCallback : function (callback) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'onComplete\', callback);'); if (lightUpBox.legacyCompat) { gjUtil.lightbox.onComplete(callback); } }, openBox : function (contents) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'open\',contents);'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('open',contents); } }, closeBox : function (event) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'close\');'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('close'); } }, lightUpImage : function (event) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'getImg\',this.href);return false;'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('getImg',this.href); return false; } }, lightUpLink : function (event) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'get\',this.href);return false;'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('get',this.href); return false; } }, lightUpLinkManual : function (url) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'get\',url);'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('get',url); } }, lightUpLinkManualPost : function (url, params) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'post\',url,params);'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('post',url,params); } }, initBox : function () { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox();'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox(); } }, init : function () { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: gjUtil.lightbox.initClick();'); if (lightUpBox.legacyCompat) { gjUtil.lightbox.initClick(); } }, addImageObserver : function (element) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(\'#element_id\').gjLightbox(\'clickLinkImg\');'); //Not able to call automatically, if element is extended by Prototype }, addLinkObserver : function (element) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(\'#element_id\').gjLightbox(\'clickLink\');'); //Not able to call automatically, if element is extended by Prototype }, addDisabledObserver : function (element) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(\'#element_id\').gjLightbox(\'clickDisabled\');'); //Not able to call automatically, if element is extended by Prototype } }; /** * Used for having tabbed contents on the front side OR the admin side. See below for usage. * DEPRECATED: Will be converting this to use jQuery at some point. Along with everything * else in this file for that matter... */ /* NOTE: For tab ID's, can be whatever you want. The "content divs" must use same exact ID, but with "Content" added to end, as demonstrated in sample below. Note 2: If needed, this will work with multiple sets of tabbed contents, the ul just needs to be right above the content divs for that set of tabs. Using tabs example: <ul class="tabList"> <li id="firstTab">Tab 1</li> <li id="secondTab">Tab 2</li> <li id="funny" class="activeTab">Funny Tab</li> </ul> <div class="tabContents" id="firstTabContents"> Tab 1 contents. </div> <div class="tabContents" id="secondTabContents"> Tab 2 contents! </div> <div class="tabContents" id="funnyContents"> Funny Tab! Insert funny joke here: ____ </div> ------ Possible AJAX loading alternate: If need a loading image, have something like this (alternate to the way the divs are above, this one is stripped down for brevity): <div class="tabContents"> <div id="loadingImg"><img ...></div> <div id="firstTabContents">...</div> ... </div> Then using a callback (see below), would show the loading div and make an ajax call to populate that tab. */ /* Callbacks: It is possible to add a callback, by adding to geoTabs.tabCallbacks. the index would be the id if the tab, and the value should be the function to call when that tab is clicked (after normal stuff is done). Callback example: (this snippet would be done inside JS script run when window is done loading): //funny is ID for the "Funny Tab" in the tab example. geoTabs.tabCallbacks.funny = function () { alert ('Funny tab clicked!'); //Note: Might show "loading" image here, and possibly make ajax call that //would populate the tab's contents. Text search (in admin) uses this. }; */ var geoTabs = { tabCallbacks : {}, debug : false, ignoreActiveCookie : false, precheck : function (elem) { if (elem.hasClassName('activeTab')) { //has active tab, don't allow to proceed return false; } return true; }, init : function () { //look for tab menu items $$('ul.tabList').each(function (parent_elem) { var cookie = 'activeTab'; var activeTab = null; parent_elem.select('li').each (function(elem) { elem.observe('click', geoTabs.tabClick); if (!elem.hasClassName('activeTab')) { //hide the contents if (!$(elem.identify()+'Contents')) { alert ('Page did not finish loading, or tabs may be set up incorrectly! There is no content div with ID of '+elem.identify()+'Contents'); return; } $(elem.identify()+'Contents').hide(); } else { //has activeTab class, must be "default" active tab activeTab = elem.identify(); //remove class name so it can "activate" the tab without failing pre-checks elem.removeClassName('activeTab'); } cookie += '::'+elem.identify(); }); if (!geoTabs.ignoreActiveCookie && !parent_elem.hasClassName('ignoreActiveCookie')) { cookie = geoTabs.tabCookieName(cookie); var activeCookie = geoUtil.getCookie(cookie); if (activeCookie && $(activeCookie)) { activeTab = activeCookie; } } if (activeTab && $(activeTab)) { geoTabs.activateTab(activeTab); } }); }, tabCookieName : function (tabs) { return 'tab_'+geoUtil.md5(tabs); }, activateTab : function (tab, action) { tab = $(tab); if (!geoTabs.precheck(tab)) { //pre-checks failed, do not proceed. //NOTE: can over-write the precheck if needed, normally it just checks //to make sure that tab is not already the current active tab. return; } var cookie = 'activeTab'; tab.up('ul').select('li').each(function (elem) { cookie += '::'+elem.identify(); elem.removeClassName('activeTab'); if (!$(elem.identify()+'Contents') && (geoUtil.inAdmin||geoTabs.debug)) { alert ('Tabs set up incorrectly! There is no element with ID '+elem.identify()+'Contents'); } $(elem.identify()+'Contents').hide(); }); tab.addClassName('activeTab'); $(tab.identify()+'Contents').show(); if (typeof geoTabs.tabCallbacks[tab.identify()] == 'function') { geoTabs.tabCallbacks[tab.identify()](action); } if (!geoTabs.ignoreActiveCookie && !tab.up().hasClassName('ignoreActiveCookie')) { cookie = geoTabs.tabCookieName(cookie); //save the cookie, let expire at session end (when browser closes) document.cookie = cookie+'='+tab.identify()+'; path=/'; } }, tabClick : function (action) { geoTabs.activateTab(this, action); } }; //For older scripts that still do things old way var getCookie = geoUtil.getCookie; /* Mini-object for handling loading/unloading wysiwyg's */ var geoWysiwyg = { editors : [], tinyLoaded : false, loadTiny : function () { //This meant to be over-written by admin/client side return false; }, removeTiny : function () { if (!geoWysiwyg.tinyLoaded) { //nothing to do //alert('not loaded, nothing to do!'); return; } for (var i = 0; i < geoWysiwyg.editors.length; i++) { var id = geoWysiwyg.editors[i].identify(); if (tinyMCE.getInstanceById(id)) { tinyMCE.execCommand('mceRemoveControl',false,id); } } //reset things, so they can be re-init geoWysiwyg.tinyLoaded = false; geoWysiwyg.editors = []; }, //This one used to re-load tiny after it has been removed restoreTiny : function () { geoWysiwyg.loadTiny(); geoWysiwyg.editors = $$('.editor'); }, toggleTinyEditors : function () { if (geoWysiwyg.loadTiny()) { //tiny was loaded for first time, so toggling on document.cookie = 'tinyMCE=on'; return; } for (var i = 0; i < geoWysiwyg.editors.length; i++) { var id = geoWysiwyg.editors[i].identify(); if (!tinyMCE.getInstanceById(id)) { tinyMCE.execCommand('mceAddControl',false,id); document.cookie = 'tinyMCE=on'; } else { tinyMCE.execCommand('mceRemoveControl',false,id); document.cookie = 'tinyMCE=off'; } } } }; /* As the name implies, this is the "old" way of doing ajax. New stuff uses * prototype's Ajax object directly to do anything. This is scheduled to * eventually be re-coded so do not use for new code! * * @deprecated Do not use this for new code, it is old and being phased out. */ var geoOldAjax = { sendReq : function (action, b) { if (b) { b = '&b='+b; } else { var b = ''; } var url = ''; if (action=='close'){ //use different url for close/cron routines url = 'cron.php?action=cron'; } else { //find the filename url = 'ajaxBackend.php?action='+action+b; } new Ajax.Request (url, { onSuccess : geoOldAjax.handleResponse }); }, handleResponse : function (transport) { var response = transport.responseText; var update = new Array(); var sep = '|'; if (response.indexOf('~~|~~') != -1){ sep = '~~|~~'; } if(response.indexOf(sep) != -1) { update = response.split(sep); for (var i=1; i<update.length; i++) { if ($(update[i])) { //replace contents of container with first part $(update[i]).update(update[0]); } } gjUtil.initDatePicker(); } } }; //For customizations that still use sendReq straight up.. this will be removed eventually var sendReq = geoOldAjax.sendReq;
myFloater.location.href = fileName; }; //For older scripts that still do things old way var getCookie = geoUtil.getCookie;
myFloater.location.href = fileName; }; /** * NO LONGER USED!!! Do NOT use lightUpBox, use the new jQuery version of things! * This is now just a shell that hopefully will make it easier for people to transition * to use the "new" way of doing things in jQuery. */ var lightUpBox = { /** * Set this to true, and the main functions will "call" the "new way" of * doing everything. This is only meant as a tool to help developers transition * code to use the new way, it should not be used as a long-term solution to * make old code work. * * It will add log entries to let you know what you need to be calling "instead" * * Note that even if it does "try" to call the new way, if one of the parameters * passed in uses somethign specific to prototype, it may not work anyways */ legacyCompat : false, startSlideshow : function () { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'startSlideshow\');'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('startSlideshow'); } }, stopSlideshow : function () { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'stopSlideshow\');'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('stopSlideshow'); } }, registerHideCallback : function (callback) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: gjUtil.lightbox.onOpen(callback);'); if (lightUpBox.legacyCompat) { gjUtil.lightbox.onOpen(callback); } }, registerShowCallback : function (callback) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: gjUtil.lightbox.onClose(callback);'); if (lightUpBox.legacyCompat) { gjUtil.lightbox.onClose(callback); } }, registerOnCompleteCallback : function (callback) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'onComplete\', callback);'); if (lightUpBox.legacyCompat) { gjUtil.lightbox.onComplete(callback); } }, openBox : function (contents) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'open\',contents);'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('open',contents); } }, closeBox : function (event) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'close\');'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('close'); } }, lightUpImage : function (event) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'getImg\',this.href);return false;'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('getImg',this.href); return false; } }, lightUpLink : function (event) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'get\',this.href);return false;'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('get',this.href); return false; } }, lightUpLinkManual : function (url) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'get\',url);'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('get',url); } }, lightUpLinkManualPost : function (url, params) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox(\'post\',url,params);'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox('post',url,params); } }, initBox : function () { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(document).gjLightbox();'); if (lightUpBox.legacyCompat) { jQuery(document).gjLightbox(); } }, init : function () { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: gjUtil.lightbox.initClick();'); if (lightUpBox.legacyCompat) { gjUtil.lightbox.initClick(); } }, addImageObserver : function (element) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(\'#element_id\').gjLightbox(\'clickLinkImg\');'); //Not able to call automatically, if element is extended by Prototype }, addLinkObserver : function (element) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(\'#element_id\').gjLightbox(\'clickLink\');'); //Not able to call automatically, if element is extended by Prototype }, addDisabledObserver : function (element) { jQuery.error('Error: Function no longer exists, replaced by jQuery plugin. Use this instead: jQuery(\'#element_id\').gjLightbox(\'clickDisabled\');'); //Not able to call automatically, if element is extended by Prototype } }; /** * Used for having tabbed contents on the front side OR the admin side. See below for usage. * DEPRECATED: Will be converting this to use jQuery at some point. Along with everything * else in this file for that matter... */ /* NOTE: For tab ID's, can be whatever you want. The "content divs" must use same exact ID, but with "Content" added to end, as demonstrated in sample below. Note 2: If needed, this will work with multiple sets of tabbed contents, the ul just needs to be right above the content divs for that set of tabs. Using tabs example: <ul class="tabList"> <li id="firstTab">Tab 1</li> <li id="secondTab">Tab 2</li> <li id="funny" class="activeTab">Funny Tab</li> </ul> <div class="tabContents" id="firstTabContents"> Tab 1 contents. </div> <div class="tabContents" id="secondTabContents"> Tab 2 contents! </div> <div class="tabContents" id="funnyContents"> Funny Tab! Insert funny joke here: ____ </div> ------ Possible AJAX loading alternate: If need a loading image, have something like this (alternate to the way the divs are above, this one is stripped down for brevity): <div class="tabContents"> <div id="loadingImg"><img ...></div> <div id="firstTabContents">...</div> ... </div> Then using a callback (see below), would show the loading div and make an ajax call to populate that tab. */ /* Callbacks: It is possible to add a callback, by adding to geoTabs.tabCallbacks. the index would be the id if the tab, and the value should be the function to call when that tab is clicked (after normal stuff is done). Callback example: (this snippet would be done inside JS script run when window is done loading): //funny is ID for the "Funny Tab" in the tab example. geoTabs.tabCallbacks.funny = function () { alert ('Funny tab clicked!'); //Note: Might show "loading" image here, and possibly make ajax call that //would populate the tab's contents. Text search (in admin) uses this. }; */ var geoTabs = { tabCallbacks : {}, debug : false, ignoreActiveCookie : false, precheck : function (elem) { if (elem.hasClassName('activeTab')) { //has active tab, don't allow to proceed return false; } return true; }, init : function () { //look for tab menu items $$('ul.tabList').each(function (parent_elem) { var cookie = 'activeTab'; var activeTab = null; parent_elem.select('li').each (function(elem) { elem.observe('click', geoTabs.tabClick); if (!elem.hasClassName('activeTab')) { //hide the contents if (!$(elem.identify()+'Contents')) { alert ('Page did not finish loading, or tabs may be set up incorrectly! There is no content div with ID of '+elem.identify()+'Contents'); return; } $(elem.identify()+'Contents').hide(); } else { //has activeTab class, must be "default" active tab activeTab = elem.identify(); //remove class name so it can "activate" the tab without failing pre-checks elem.removeClassName('activeTab'); } cookie += '::'+elem.identify(); }); if (!geoTabs.ignoreActiveCookie && !parent_elem.hasClassName('ignoreActiveCookie')) { cookie = geoTabs.tabCookieName(cookie); var activeCookie = geoUtil.getCookie(cookie); if (activeCookie && $(activeCookie)) { activeTab = activeCookie; } } if (activeTab && $(activeTab)) { geoTabs.activateTab(activeTab); } }); }, tabCookieName : function (tabs) { return 'tab_'+geoUtil.md5(tabs); }, activateTab : function (tab, action) { tab = $(tab); if (!geoTabs.precheck(tab)) { //pre-checks failed, do not proceed. //NOTE: can over-write the precheck if needed, normally it just checks //to make sure that tab is not already the current active tab. return; } var cookie = 'activeTab'; tab.up('ul').select('li').each(function (elem) { cookie += '::'+elem.identify(); elem.removeClassName('activeTab'); if (!$(elem.identify()+'Contents') && (geoUtil.inAdmin||geoTabs.debug)) { alert ('Tabs set up incorrectly! There is no element with ID '+elem.identify()+'Contents'); } $(elem.identify()+'Contents').hide(); }); tab.addClassName('activeTab'); $(tab.identify()+'Contents').show(); if (typeof geoTabs.tabCallbacks[tab.identify()] == 'function') { geoTabs.tabCallbacks[tab.identify()](action); } if (!geoTabs.ignoreActiveCookie && !tab.up().hasClassName('ignoreActiveCookie')) { cookie = geoTabs.tabCookieName(cookie); //save the cookie, let expire at session end (when browser closes) document.cookie = cookie+'='+tab.identify()+'; path=/'; } }, tabClick : function (action) { geoTabs.activateTab(this, action); } }; //For older scripts that still do things old way var getCookie = geoUtil.getCookie; /* Mini-object for handling loading/unloading wysiwyg's */ var geoWysiwyg = { editors : [], tinyLoaded : false, loadTiny : function () { //This meant to be over-written by admin/client side return false; }, removeTiny : function () { if (!geoWysiwyg.tinyLoaded) { //nothing to do //alert('not loaded, nothing to do!'); return; } for (var i = 0; i < geoWysiwyg.editors.length; i++) { var id = geoWysiwyg.editors[i].identify(); if (tinyMCE.getInstanceById(id)) { tinyMCE.execCommand('mceRemoveControl',false,id); } } //reset things, so they can be re-init geoWysiwyg.tinyLoaded = false; geoWysiwyg.editors = []; }, //This one used to re-load tiny after it has been removed restoreTiny : function () { geoWysiwyg.loadTiny(); geoWysiwyg.editors = $$('.editor'); }, toggleTinyEditors : function () { if (geoWysiwyg.loadTiny()) { //tiny was loaded for first time, so toggling on document.cookie = 'tinyMCE=on'; return; } for (var i = 0; i < geoWysiwyg.editors.length; i++) { var id = geoWysiwyg.editors[i].identify(); if (!tinyMCE.getInstanceById(id)) { tinyMCE.execCommand('mceAddControl',false,id); document.cookie = 'tinyMCE=on'; } else { tinyMCE.execCommand('mceRemoveControl',false,id); document.cookie = 'tinyMCE=off'; } } } }; /* As the name implies, this is the "old" way of doing ajax. New stuff uses * prototype's Ajax object directly to do anything. This is scheduled to * eventually be re-coded so do not use for new code! * * @deprecated Do not use this for new code, it is old and being phased out. */ var geoOldAjax = { sendReq : function (action, b) { if (b) { b = '&b='+b; } else { var b = ''; } var url = ''; if (action=='close'){ //use different url for close/cron routines url = 'cron.php?action=cron'; } else { //find the filename url = 'ajaxBackend.php?action='+action+b; } new Ajax.Request (url, { onSuccess : geoOldAjax.handleResponse }); }, handleResponse : function (transport) { var response = transport.responseText; var update = new Array(); var sep = '|'; if (response.indexOf('~~|~~') != -1){ sep = '~~|~~'; } if(response.indexOf(sep) != -1) { update = response.split(sep); for (var i=1; i<update.length; i++) { if ($(update[i])) { //replace contents of container with first part $(update[i]).update(update[0]); } } gjUtil.initDatePicker(); } } }; //For customizations that still use sendReq straight up.. this will be removed eventually var sendReq = geoOldAjax.sendReq;
data = $this.data('gjTpl'); if (!data) { data = $this.data('gjTpl',$this.extend({ //default options here parameter_name : 'parameter value' }, options)); } //do init stuff here });
data = $this.data('gjTpl'); if (!data) { $this.data('gjTpl',$this.extend({ //default options here parameter_name : 'parameter value' }, options)); data = $this.data('gjTpl'); } //do init stuff here });
data = $this.data('gjTpl'); if (!data) { data = $this.data('gjTpl',$this.extend({ $this.data('gjTpl',$this.extend({ //default options here parameter_name : 'parameter value' }, options)); data = $this.data('gjTpl'); } //do init stuff here });
//Make it draggable, if it finds applicable anchor if (data.box.find('.lightUpMover,.lightUpTitle').length) { data.box.draggable({ handle : '.lightUpMover,.lightUpTitle', //make it slightly see-through when dragging, for fun and profit opacity : 0.75 }); }
//Make it draggable, if it finds applicable anchor if (data.box.find('.lightUpMover,.lightUpTitle').length) { //make it slightly see-through when dragging, for fun and profit data.box.draggable({ handle : '.lightUpMover,.lightUpTitle', opacity : 0.75 }); }
//Make it draggable, if it finds applicable anchor if (data.box.find('.lightUpMover,.lightUpTitle').length) { //make it slightly see-through when dragging, for fun and profit data.box.draggable({ handle : '.lightUpMover,.lightUpTitle', //make it slightly see-through when dragging, for fun and profit opacity : 0.75 }); }
data.box.animate({ width : newD.width+'px', height : newD.height+'px' }); }; if (newImg.length) {
data.box.animate({ width : newD.width+'px', height : newD.height+'px' }, function () { //when done moving it to the proper width / height, //unset CSS width and height to allow them to adjust data.box.css({width:'',height:''}); }); }; if (newImg.length) {
data.box.animate({ width : newD.width+'px', height : newD.height+'px' }, function () { //when done moving it to the proper width / height, //unset CSS width and height to allow them to adjust data.box.css({width:'',height:''}); }); }; if (newImg.length) {
//@git-info@ //TODO: Convert this to use a JS object like geoRegions = {} like rest of built-in JS functions var parent = []; var countries = []; var regionNames = []; Event.observe(window, 'load', function () { initRegions(); }); function initRegions() { for (var i = 0; i < regionNames.length; i++) { var regionElemName = regionNames[i][0]; var subRegionElemName = regionNames[i][1]; var country_dd = $(regionElemName); var state_dd = $(subRegionElemName); if (country_dd) { country_dd.observe('change', function (event) { var elem = Event.element(event); chooseCountry(elem); }); if ( state_dd && country_dd.selectedIndex > 0 ) { var selected = state_dd.options[state_dd.selectedIndex].value; chooseCountry( country_dd, subRegionElemName, selected ); } else { state_dd.disabled = true; } } } } function addCountry ( country_id, country_index ) { countries[country_index] = country_id; } function addRegion( parent_id, value, text ) { var new_array = new Array(); if (parent[parent_id] == undefined) { parent[parent_id] = new Array(); } new_array[0] = value; new_array[1] = text; parent[parent_id].push( new_array ); } function populateState(state_element_id, parent_id, selected ) { //parent_id = htmlentities(parent_id); //alert( parent_id + ' - '+state_element_id ); dd = $(state_element_id); dd.update( new Element('option',{'value': 'none'}).update(selectAStateText) ); for( var x=0; parent[parent_id] && x < parent[parent_id].length; x++ ) { //insert option for state. dd.insert(new Element('option',{'value': parent[parent_id][x][0]}).update(parent[parent_id][x][1])); } if (selected) { //select the state dd.value = selected; } dd.disabled = false; } function chooseCountry(country_id, next_dd, selected ) { if (next_dd) { var states = $(next_dd); } else { var states = null; for (var i = 0; i < regionNames.length && !states; i++) { if (regionNames[i][0] == country_id.identify()) { next_dd = regionNames[i][1]; states = $(next_dd); } } if (!states) { //error getting states field. return; } } if (country_id.getValue() != 'none') { states.disabled = false; populateState(next_dd, country_id.getValue(), selected ); } else { states.disabled = true; } }
//@git-info@ //@deprecated (removed 5/7/2014) //This file is no longer in use
//@git-info@ //TODO: Convert this to use a JS object like geoRegions = {} like rest of built-in JS functions var parent = []; var countries = []; var regionNames = []; Event.observe(window, 'load', function () { initRegions(); }); function initRegions() { for (var i = 0; i < regionNames.length; i++) { var regionElemName = regionNames[i][0]; var subRegionElemName = regionNames[i][1]; var country_dd = $(regionElemName); var state_dd = $(subRegionElemName); if (country_dd) { country_dd.observe('change', function (event) { var elem = Event.element(event); chooseCountry(elem); }); if ( state_dd && country_dd.selectedIndex > 0 ) { var selected = state_dd.options[state_dd.selectedIndex].value; chooseCountry( country_dd, subRegionElemName, selected ); } else { state_dd.disabled = true; } } } } function addCountry ( country_id, country_index ) { countries[country_index] = country_id; } function addRegion( parent_id, value, text ) { var new_array = new Array(); if (parent[parent_id] == undefined) { parent[parent_id] = new Array(); } new_array[0] = value; new_array[1] = text; parent[parent_id].push( new_array ); } function populateState(state_element_id, parent_id, selected ) { //parent_id = htmlentities(parent_id); //alert( parent_id + ' - '+state_element_id ); dd = $(state_element_id); dd.update( new Element('option',{'value': 'none'}).update(selectAStateText) ); for( var x=0; parent[parent_id] && x < parent[parent_id].length; x++ ) { //insert option for state. dd.insert(new Element('option',{'value': parent[parent_id][x][0]}).update(parent[parent_id][x][1])); } if (selected) { //select the state dd.value = selected; } dd.disabled = false; } function chooseCountry(country_id, next_dd, selected ) { if (next_dd) { var states = $(next_dd); } else { var states = null; for (var i = 0; i < regionNames.length && !states; i++) { if (regionNames[i][0] == country_id.identify()) { next_dd = regionNames[i][1]; states = $(next_dd); } } if (!states) { //error getting states field. return; } } if (country_id.getValue() != 'none') { states.disabled = false; populateState(next_dd, country_id.getValue(), selected ); } else { states.disabled = true; } } //@deprecated (removed 5/7/2014) //This file is no longer in use
* */ Event.observe(window,'load',function () { if ($('allTab')) { geoTabs.tabCallbacks.allTab = function () { $('classifiedsTabContents').show(); $('auctionsTabContents').show(); }; if ($('allTab').hasClassName('activeTab')) { //it is currently active... Just in case tab init has already happened geoTabs.tabCallbacks.allTab(); } } });
* */ jQuery(function () { jQuery('#allTab').gjTabs('onActive', function () { jQuery('#classifiedsTabContents').show(); jQuery('#auctionsTabContents').show(); }); if (jQuery('#allTab').hasClass('activeTab')) { //it is currently active... Just in case tab init has already happened jQuery('#classifiedsTabContents').show(); jQuery('#auctionsTabContents').show(); } });
* */ Event.observe(window,'load',function () { if ($('allTab')) { geoTabs.tabCallbacks.allTab = function () { $('classifiedsTabContents').show(); $('auctionsTabContents').show(); }; jQuery(function () { jQuery('#allTab').gjTabs('onActive', function () { jQuery('#classifiedsTabContents').show(); jQuery('#auctionsTabContents').show(); }); if ($('allTab').hasClassName('activeTab')) { //it is currently active... Just in case tab init has already happened geoTabs.tabCallbacks.allTab(); } if (jQuery('#allTab').hasClass('activeTab')) { //it is currently active... Just in case tab init has already happened jQuery('#classifiedsTabContents').show(); jQuery('#auctionsTabContents').show(); } });
init : function () { //init everything here $$('div.offsite_video_action_buttons').invoke('update'); if (geoVidProcess.currentSlot) { //insert the add button for (var i=1; i<=geoVidProcess.currentSlot; i++) { var buttonContainer = $('offsite_videoButtons_'+i); if (buttonContainer) { var msg = (i==geoVidProcess.currentSlot)? geoVidProcess.text.addButton : geoVidProcess.text.editButton; var addButton = new Element('a', {'class': 'button', 'href': '#'}) .update(msg); //watch the button like a hawk! addButton.observe ('click', geoVidProcess.buttonClick); buttonContainer.update(addButton); } } } //keep watch on delete buttons $$('.delete_offsite_video').each(function (elem) { elem.observe('click', geoVidProcess.deleteVideo); }); //transfer the offsite video slot sortable class to the parent... $$('.offsite_video_slot').each (function (elem) { var isSortable = elem.down().hasClassName ('offsite_video_is_sortable'); elem[(isSortable)?'addClassName':'removeClassName']('offsite_video_slot_sortable'); }); //do the draggable bit
init : function () { //init everything here jQuery('.offsite_video_action_buttons').html(''); if (geoVidProcess.currentSlot) { //insert the add button for (var i=1; i<=geoVidProcess.currentSlot; i++) { var buttonContainer = jQuery('#offsite_videoButtons_'+i); if (buttonContainer.length) { var msg = (i==geoVidProcess.currentSlot)? geoVidProcess.text.addButton : geoVidProcess.text.editButton; var addButton = jQuery('<a class="button" href="#">') .html(msg); //watch the button like a hawk! addButton.click(geoVidProcess.buttonClick); buttonContainer.append(addButton); } } } //keep watch on delete buttons jQuery('.delete_offsite_video').unbind().click(geoVidProcess.deleteVideo); //transfer the offsite video slot sortable class to the parent... jQuery('.offsite_video_slot').each (function (index) { var elem=jQuery(this); if (elem.siblings().hasClass('offsite_video_is_sortable')) { elem.addClass('offsite_video_slot_sortable'); } else { elem.removeClass('offsite_video_slot_sortable'); } }); //do the draggable bit
init : function () { //init everything here $$('div.offsite_video_action_buttons').invoke('update'); jQuery('.offsite_video_action_buttons').html(''); if (geoVidProcess.currentSlot) { //insert the add button for (var i=1; i<=geoVidProcess.currentSlot; i++) { var buttonContainer = $('offsite_videoButtons_'+i); if (buttonContainer) { var buttonContainer = jQuery('#offsite_videoButtons_'+i); if (buttonContainer.length) { var msg = (i==geoVidProcess.currentSlot)? geoVidProcess.text.addButton : geoVidProcess.text.editButton; var addButton = new Element('a', {'class': 'button', 'href': '#'}) .update(msg); var addButton = jQuery('<a class="button" href="#">') .html(msg); //watch the button like a hawk! addButton.observe ('click', geoVidProcess.buttonClick); addButton.click(geoVidProcess.buttonClick); buttonContainer.update(addButton); buttonContainer.append(addButton); } } } //keep watch on delete buttons $$('.delete_offsite_video').each(function (elem) { elem.observe('click', geoVidProcess.deleteVideo); }); jQuery('.delete_offsite_video').unbind().click(geoVidProcess.deleteVideo); //transfer the offsite video slot sortable class to the parent... $$('.offsite_video_slot').each (function (elem) { var isSortable = elem.down().hasClassName ('offsite_video_is_sortable'); elem[(isSortable)?'addClassName':'removeClassName']('offsite_video_slot_sortable'); jQuery('.offsite_video_slot').each (function (index) { var elem=jQuery(this); if (elem.siblings().hasClass('offsite_video_is_sortable')) { elem.addClass('offsite_video_slot_sortable'); } else { elem.removeClass('offsite_video_slot_sortable'); } }); //do the draggable bit
}, buttonClick : function (event) { event.stop(); if (geoVidProcess.doingSomething('')) return; geoVidProcess.doingSomething('applyChanges'); //make the animation show this.up().previous().show(); //trick is, we are sending ALL fields for all the offsite_video videos, so user //can actually enter in all of the fields before submitting. It will skip //processing on any that have not changed. var params = Form.serialize($('offsite_videos_outer'),true); params.adminId = geoVidProcess.adminId; params.userId = geoVidProcess.userId; new Ajax.Request(geoVidProcess.ajaxUrl+'?controller=OffsiteVideos&action=uploadVideo', { method: 'post', parameters: params, onSuccess: geoVidProcess.uploadResponse }); }, deleteVideo : function (event) { event.stop(); if (geoVidProcess.doingSomething('')) return; //figure out for which slot var deleteVideoSlot = this.identify().replace('deleteYoutube_',''); //TODO: add a confirmation for delete //send an ajax call to delete the image. geoVidProcess.doingSomething('deleteVideo'); var params = { videoSlot : deleteVideoSlot, userId : geoVidProcess.userId, adminId : geoVidProcess.adminId } new Ajax.Request(geoVidProcess.ajaxUrl+"?controller=OffsiteVideos&action=deleteVideo", { method: 'post', parameters: params, onSuccess: geoVidProcess.deleteSuccess }); }, deleteSuccess : function (transport) { var data = transport.responseJSON; if (data) { geoVidProcess.processResponse(data); } geoVidProcess.doNothing(); }, uploadResponse : function (transport) { var data = transport.responseJSON; if (data) { geoVidProcess.processResponse(data); }
}, buttonClick : function (event) { event.preventDefault(); if (geoVidProcess.doingSomething('')) return; geoVidProcess.doingSomething('applyChanges'); //make the animation show jQuery(this).parent().prev().show(); //trick is, we are sending ALL fields for all the offsite_video videos, so user //can actually enter in all of the fields before submitting. It will skip //processing on any that have not changed. var params = jQuery('#offsite_videos_outer').find('input').serializeArray(); params[params.length] = { name : 'adminId', value: geoVidProcess.adminId }; params[params.length] = { name : 'userId', value: geoVidProcess.userId }; jQuery.ajax({ url : geoVidProcess.ajaxUrl+'?controller=OffsiteVideos&action=uploadVideo', type : 'POST', data : jQuery.param(params), dataType : 'json' }).done(geoVidProcess.uploadResponse); }, deleteVideo : function (event) { event.preventDefault(); if (geoVidProcess.doingSomething('')) return; //figure out for which slot var deleteVideoSlot = jQuery(this).attr('id').replace('deleteYoutube_',''); //TODO: add a confirmation for delete //send an ajax call to delete the image. geoVidProcess.doingSomething('deleteVideo'); var params = [ { name: 'videoSlot', value : deleteVideoSlot }, { name: 'userId', value: geoVidProcess.userId }, { name: 'adminId', value: geoVidProcess.adminId } ]; jQuery.ajax({ url : geoVidProcess.ajaxUrl+"?controller=OffsiteVideos&action=deleteVideo", type : 'POST', data : jQuery.param(params), dataType : 'json' }).done(geoVidProcess.deleteSuccess); }, deleteSuccess : function (data) { if (data) { geoVidProcess.processResponse(data); } geoVidProcess.doNothing(); }, uploadResponse : function (data) { if (data) { geoVidProcess.processResponse(data); }
}, buttonClick : function (event) { event.stop(); event.preventDefault(); if (geoVidProcess.doingSomething('')) return; geoVidProcess.doingSomething('applyChanges'); //make the animation show this.up().previous().show(); jQuery(this).parent().prev().show(); //trick is, we are sending ALL fields for all the offsite_video videos, so user //can actually enter in all of the fields before submitting. It will skip //processing on any that have not changed. var params = Form.serialize($('offsite_videos_outer'),true); var params = jQuery('#offsite_videos_outer').find('input').serializeArray(); params.adminId = geoVidProcess.adminId; params.userId = geoVidProcess.userId; params[params.length] = { name : 'adminId', value: geoVidProcess.adminId }; new Ajax.Request(geoVidProcess.ajaxUrl+'?controller=OffsiteVideos&action=uploadVideo', { method: 'post', parameters: params, onSuccess: geoVidProcess.uploadResponse }); params[params.length] = { name : 'userId', value: geoVidProcess.userId }; jQuery.ajax({ url : geoVidProcess.ajaxUrl+'?controller=OffsiteVideos&action=uploadVideo', type : 'POST', data : jQuery.param(params), dataType : 'json' }).done(geoVidProcess.uploadResponse); }, deleteVideo : function (event) { event.stop(); event.preventDefault(); if (geoVidProcess.doingSomething('')) return; //figure out for which slot var deleteVideoSlot = this.identify().replace('deleteYoutube_',''); var deleteVideoSlot = jQuery(this).attr('id').replace('deleteYoutube_',''); //TODO: add a confirmation for delete //send an ajax call to delete the image. geoVidProcess.doingSomething('deleteVideo'); var params = { videoSlot : deleteVideoSlot, userId : geoVidProcess.userId, adminId : geoVidProcess.adminId } new Ajax.Request(geoVidProcess.ajaxUrl+"?controller=OffsiteVideos&action=deleteVideo", { method: 'post', parameters: params, onSuccess: geoVidProcess.deleteSuccess }); var params = [ { name: 'videoSlot', value : deleteVideoSlot }, { name: 'userId', value: geoVidProcess.userId }, { name: 'adminId', value: geoVidProcess.adminId } ]; jQuery.ajax({ url : geoVidProcess.ajaxUrl+"?controller=OffsiteVideos&action=deleteVideo", type : 'POST', data : jQuery.param(params), dataType : 'json' }).done(geoVidProcess.deleteSuccess); }, deleteSuccess : function (transport) { var data = transport.responseJSON; deleteSuccess : function (data) { if (data) { geoVidProcess.processResponse(data); } geoVidProcess.doNothing(); }, uploadResponse : function (transport) { var data = transport.responseJSON; uploadResponse : function (data) { if (data) { geoVidProcess.processResponse(data); }
//for us! So we can call geoVidProcess whenever we need the sortable items to be //re-done, no need to call destroy ourselves if (!$('offsite_videos_outer')) { //oops, not found... return; } Sortable.create('offsite_videos_outer', { tag: 'div', only: 'offsite_video_slot_sortable',
//for us! So we can call geoVidProcess whenever we need the sortable items to be //re-done, no need to call destroy ourselves if (!jQuery('#offsite_videos_outer').length) { //oops, not found... return; } //TODO: make it sortable using jQuery return; Sortable.create('offsite_videos_outer', { tag: 'div', only: 'offsite_video_slot_sortable',
//for us! So we can call geoVidProcess whenever we need the sortable items to be //re-done, no need to call destroy ourselves if (!$('offsite_videos_outer')) { if (!jQuery('#offsite_videos_outer').length) { //oops, not found... return; } //TODO: make it sortable using jQuery return; Sortable.create('offsite_videos_outer', { tag: 'div', only: 'offsite_video_slot_sortable',
geoVidProcess.dragableObserver.init(); }, sortableResponseSuccess : function (transport) { var response = transport.responseJSON; if (response) { geoVidProcess.processResponse(response); }
geoVidProcess.dragableObserver.init(); }, sortableResponseSuccess : function (response) { if (response) { geoVidProcess.processResponse(response); }
geoVidProcess.dragableObserver.init(); }, sortableResponseSuccess : function (transport) { var response = transport.responseJSON; sortableResponseSuccess : function (response) { if (response) { geoVidProcess.processResponse(response); }
processResponse : function (data) { if (data.error) { geoUtil.addError(data.error); } if (data.errorSession) { geoUtil.addError(data.errorSession); } if (data.msg){ geoUtil.addMessage(data.msg); } if (data.changed_slots) { data.changed_slots.each (function (item) { var itemBox = $('offsite_video_slot_'+item.slotNum); if (itemBox) { itemBox.update() .insert(item.contents); } }); geoVidProcess.currentSlot = data.edit_slot;
processResponse : function (data) { if (data.error) { gjUtil.addError(data.error); } if (data.errorSession) { gjUtil.addError(data.errorSession); } if (data.msg){ gjUtil.addMessage(data.msg); } if (data.changed_slots) { jQuery.each(data.changed_slots, function (index, item) { jQuery('#offsite_video_slot_'+item.slotNum).html(item.contents); }); geoVidProcess.currentSlot = data.edit_slot;
processResponse : function (data) { if (data.error) { geoUtil.addError(data.error); gjUtil.addError(data.error); } if (data.errorSession) { geoUtil.addError(data.errorSession); gjUtil.addError(data.errorSession); } if (data.msg){ geoUtil.addMessage(data.msg); gjUtil.addMessage(data.msg); } if (data.changed_slots) { data.changed_slots.each (function (item) { var itemBox = $('offsite_video_slot_'+item.slotNum); if (itemBox) { itemBox.update() .insert(item.contents); } jQuery.each(data.changed_slots, function (index, item) { jQuery('#offsite_video_slot_'+item.slotNum).html(item.contents); }); geoVidProcess.currentSlot = data.edit_slot;
} if (data.upload_slots_html) { $('offsite_videos_outer').update() .insert(data.upload_slots_html); geoVidProcess.currentSlot = data.edit_slot; geoVidProcess.init(); } $$('.offsite_video_loading_container').invoke('hide'); }, dragableObserver : {
} if (data.upload_slots_html) { jQuery('#offsite_videos_outer').html(data.upload_slots_html); geoVidProcess.currentSlot = data.edit_slot; geoVidProcess.init(); } jQuery('.offsite_video_loading_container').hide(); }, dragableObserver : {
} if (data.upload_slots_html) { $('offsite_videos_outer').update() .insert(data.upload_slots_html); jQuery('#offsite_videos_outer').html(data.upload_slots_html); geoVidProcess.currentSlot = data.edit_slot; geoVidProcess.init(); } $$('.offsite_video_loading_container').invoke('hide'); jQuery('.offsite_video_loading_container').hide(); }, dragableObserver : {
<strong>This will not work on your browser:</strong> You are using an <strong>outdated</strong> browser that is not capable of properly showing the mobile demonstration. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience. </div> <div class="phone"> <iframe class="frame" src="index.php"></iframe> </div>
<strong>This will not work on your browser:</strong> You are using an <strong>outdated</strong> browser that is not capable of properly showing the mobile demonstration. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience. </div> <p><strong>Responsive Web Design (RWD)</strong> is a name for a set of technologies that enable web pages to dynamically adjust to the size of the screen they're being viewed on. GeoCore 7.3 leverages these techniques in order to make your site viewable and fully functional on any computer, phone, or tablet. Below, we've taken <a href="http://geodesicsolutions.com/demo">this demo GeoCore installation</a> and loaded it into a phone-sized window, so you can see for yourself how the design automatically adjusts to the size and functionality of the smaller touchscreen.</p> <div class="phone"> <iframe class="frame" src="index.php"></iframe> </div>
<strong>This will not work on your browser:</strong> You are using an <strong>outdated</strong> browser that is not capable of properly showing the mobile demonstration. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience. </div> <p><strong>Responsive Web Design (RWD)</strong> is a name for a set of technologies that enable web pages to dynamically adjust to the size of the screen they're being viewed on. GeoCore 7.3 leverages these techniques in order to make your site viewable and fully functional on any computer, phone, or tablet. Below, we've taken <a href="http://geodesicsolutions.com/demo">this demo GeoCore installation</a> and loaded it into a phone-sized window, so you can see for yourself how the design automatically adjusts to the size and functionality of the smaller touchscreen.</p> <div class="phone"> <iframe class="frame" src="index.php"></iframe> </div>
a list of all parameters that can be over-written in this way. *} {module tag='module_featured_pic_1' gallery_columns=4 module_thumb_width=120} </div> <!-- FEATURED CAROUSEL END -->
a list of all parameters that can be over-written in this way. *} {module tag='module_featured_pic_1' gallery_columns=3 module_thumb_width=90} </div> <!-- FEATURED CAROUSEL END -->
a list of all parameters that can be over-written in this way. *} {module tag='module_featured_pic_1' gallery_columns=4 module_thumb_width=120} {module tag='module_featured_pic_1' gallery_columns=3 module_thumb_width=90} </div> <!-- FEATURED CAROUSEL END -->
<div class="half_column_left"> <h2 class="title section-collapser">Hottest Listings</h2> <div> {module tag='module_hottest_ads' browse_view='list'} </div> </div> <div class="half_column_right"> <h1 class="title section-collapser">Recent Listings</h1> <div> {module tag='newest_ads_1' browse_view='list'} </div> </div> <!-- Hottest and Recent Half Columns END -->
<div class="half_column_left"> <h2 class="title section-collapser">Hottest Listings</h2> <div> {module tag='module_hottest_ads' browse_view='list' use_pagination=1} </div> </div> <div class="half_column_right"> <h1 class="title section-collapser">Recent Listings</h1> <div> {module tag='newest_ads_1' browse_view='list' use_pagination=1} </div> </div> <!-- Hottest and Recent Half Columns END -->
<div class="half_column_left"> <h2 class="title section-collapser">Hottest Listings</h2> <div> {module tag='module_hottest_ads' browse_view='list'} {module tag='module_hottest_ads' browse_view='list' use_pagination=1} </div> </div> <div class="half_column_right"> <h1 class="title section-collapser">Recent Listings</h1> <div> {module tag='newest_ads_1' browse_view='list'} {module tag='newest_ads_1' browse_view='list' use_pagination=1} </div> </div> <!-- Hottest and Recent Half Columns END -->
</ul> {listing tag='multi_level_field_ul'} </div> <div class="half_column_right bid_box"> {if $minimum_bid} <div class="bid_amount"> {$minimum_label}<br /> <span class="value price" style="font-size: 1.6em;">{$minimum_bid}</span><br /> {listing tag='price_for_how_many'} {$reserve} </div> <div class="bid_button"> {listing tag='make_bid_link'} </div> <p class="bid_box_note">{$additional_text_15}</p> {/if} {if $buy_now_data} <div style="margin-top: 10px;"> <div class="bid_amount"> {$buy_now_label}<br /> <span class="value price" style="font-size: 1.6em;">{$buy_now_data}</span><br /> {listing tag='price_for_how_many'} </div> <div class="bid_button"> {listing tag='buy_now_link'}<span style="max-width: 50px;">{listing tag='on_site_purchase_link'}</span> </div> </div> {/if} </div> </div> {listing tag='offsite_videos_block' assign='offsite_videos_block'}
</ul> {listing tag='multi_level_field_ul'} </div> <div class="half_column_right"> <div style="white-space: normal;"> {listing tag='buyer_option_selections'} </div> <div class="bid_box"> {if $minimum_bid} <div class="bid_amount"> {$minimum_label}<br /> <span class="value price" style="font-size: 1.6em;">{$minimum_bid}</span><br /> {listing tag='price_for_how_many'} {$reserve} </div> <div class="bid_button"> {listing tag='make_bid_link'} </div> <p class="bid_box_note">{$additional_text_15}</p> {/if} {if $buy_now_data} <div style="margin-top: 10px;"> <div class="bid_amount"> {$buy_now_label}<br /> <span class="value price" style="font-size: 1.6em;">{listing tag='buy_now_price_adjusted'}</span><br /> {listing tag='price_for_how_many'} </div> <div class="bid_button"> {listing tag='buy_now_link'}<span style="max-width: 50px;">{listing tag='on_site_purchase_link'}</span> </div> </div> {/if} </div> </div> </div> {listing tag='offsite_videos_block' assign='offsite_videos_block'}
</ul> {listing tag='multi_level_field_ul'} </div> <div class="half_column_right bid_box"> {if $minimum_bid} <div class="bid_amount"> {$minimum_label}<br /> <span class="value price" style="font-size: 1.6em;">{$minimum_bid}</span><br /> {listing tag='price_for_how_many'} {$reserve} </div> <div class="bid_button"> {listing tag='make_bid_link'} </div> <p class="bid_box_note">{$additional_text_15}</p> {/if} {if $buy_now_data} <div style="margin-top: 10px;"> <div class="half_column_right"> <div style="white-space: normal;"> {listing tag='buyer_option_selections'} </div> <div class="bid_box"> {if $minimum_bid} <div class="bid_amount"> {$buy_now_label}<br /> <span class="value price" style="font-size: 1.6em;">{$buy_now_data}</span><br /> {$minimum_label}<br /> <span class="value price" style="font-size: 1.6em;">{$minimum_bid}</span><br /> {listing tag='price_for_how_many'} {$reserve} </div> <div class="bid_button"> {listing tag='buy_now_link'}<span style="max-width: 50px;">{listing tag='on_site_purchase_link'}</span> {listing tag='make_bid_link'} </div> </div> {/if} <p class="bid_box_note">{$additional_text_15}</p> {/if} {if $buy_now_data} <div style="margin-top: 10px;"> <div class="bid_amount"> {$buy_now_label}<br /> <span class="value price" style="font-size: 1.6em;">{listing tag='buy_now_price_adjusted'}</span><br /> {listing tag='price_for_how_many'} </div> <div class="bid_button"> {listing tag='buy_now_link'}<span style="max-width: 50px;">{listing tag='on_site_purchase_link'}</span> </div> </div> {/if} </div> </div> </div> {listing tag='offsite_videos_block' assign='offsite_videos_block'}
<div class="content_box_2"> <h1 class="seller_username">{listing tag='seller'}</h1> <p class="content_section"> <strong>{$additional_text_17}</strong><br /> {listing field='member_since'} </p>
<div class="content_box_2"> <h1 class="seller_username">{listing tag='seller'}</h1> <p class="content_section"> {listing tag='user_rating'} <strong>{$additional_text_17}</strong><br /> {listing field='member_since'} </p>
<div class="content_box_2"> <h1 class="seller_username">{listing tag='seller'}</h1> <p class="content_section"> {listing tag='user_rating'} <strong>{$additional_text_17}</strong><br /> {listing field='member_since'} </p>
<div class="element"> <a href="{$classifieds_file_name}" style="display: none;" id="cat_dropdown_base"> </a> <select name="category_quick_nav{$nav_id}" id="category_quick_nav{$nav_id}" onchange="location.href = $('cat_dropdown_base').href+'?a=5&b=' + this.options[this.selectedIndex].value;" class="field"> {foreach from=$options key=id item=option} <option value="{$option.value}"{if $option.value == $category_id} selected="selected"{/if}>{$option.label}</option> {/foreach}
<div class="element"> <a href="{$classifieds_file_name}" style="display: none;" id="cat_dropdown_base"> </a> <select name="category_quick_nav{$nav_id}" id="category_quick_nav{$nav_id}" onchange="location.href = jQuery('#cat_dropdown_base').attr('href')+'?a=5&b=' + this.options[this.selectedIndex].value;" class="field"> {foreach from=$options key=id item=option} <option value="{$option.value}"{if $option.value == $category_id} selected="selected"{/if}>{$option.label}</option> {/foreach}
<div class="element"> <a href="{$classifieds_file_name}" style="display: none;" id="cat_dropdown_base"> </a> <select name="category_quick_nav{$nav_id}" id="category_quick_nav{$nav_id}" onchange="location.href = $('cat_dropdown_base').href+'?a=5&b=' + this.options[this.selectedIndex].value;" class="field"> onchange="location.href = jQuery('#cat_dropdown_base').attr('href')+'?a=5&b=' + this.options[this.selectedIndex].value;" class="field"> {foreach from=$options key=id item=option} <option value="{$option.value}"{if $option.value == $category_id} selected="selected"{/if}>{$option.label}</option> {/foreach}
{* @git-info@ *} {* Allow built in main browsing template to be used... *} {if $module.module_display_header_row && $header_title} <h1 class="title">{$header_title}</h1> {/if} {include file=$browse_tpl g_type='system' g_resource='browsing'}
{* @git-info@ *} {if $is_ajax} {* loading this as the results of an ajax pagination call. only interested in the internal data, which will replace the contents of div#module_content_{tag} below *} {include file=$browse_tpl g_type='system' g_resource='browsing'} {if $module_pagination}<div>{$module_pagination}</div>{/if} {else} {* this is the "main" display (first page) *} {if $module.module_display_header_row && $header_title} <h1 class="title">{$header_title}</h1> {/if} <div id="module_content_{$module.module_replace_tag}"> {include file=$browse_tpl g_type='system' g_resource='browsing'} {if $module_pagination}<div>{$module_pagination}</div>{/if} </div> {if $module_pagination} <script> LoadModulePage_{$module.module_replace_tag} = function(page) { jQuery.post('AJAX.php?controller=ModuleControls&action=GetPage', { tag: '{$module.module_replace_tag}', results_page: page, params: {$params_json} {*this way any smarty-set parameters get passed along to the next "page" *} }, function(returned) { jQuery('#module_content_{$module.module_replace_tag}').html(returned); }, 'html' ); }; </script> {/if} {/if}
{* @git-info@ *} {* Allow built in main browsing template to be used... *} {if $module.module_display_header_row && $header_title} <h1 class="title">{$header_title}</h1> {/if} {include file=$browse_tpl g_type='system' g_resource='browsing'} {if $is_ajax} {* loading this as the results of an ajax pagination call. only interested in the internal data, which will replace the contents of div#module_content_{tag} below *} {include file=$browse_tpl g_type='system' g_resource='browsing'} {if $module_pagination}<div>{$module_pagination}</div>{/if} {else} {* this is the "main" display (first page) *} {if $module.module_display_header_row && $header_title} <h1 class="title">{$header_title}</h1> {/if} <div id="module_content_{$module.module_replace_tag}"> {include file=$browse_tpl g_type='system' g_resource='browsing'} {if $module_pagination}<div>{$module_pagination}</div>{/if} </div> {if $module_pagination} <script> LoadModulePage_{$module.module_replace_tag} = function(page) { jQuery.post('AJAX.php?controller=ModuleControls&action=GetPage', { tag: '{$module.module_replace_tag}', results_page: page, params: {$params_json} {*this way any smarty-set parameters get passed along to the next "page" *} }, function(returned) { jQuery('#module_content_{$module.module_replace_tag}').html(returned); }, 'html' ); }; </script> {/if} {/if}
{* @git-info@ *} {if $module.module_display_header_row} <div class="content_box"> <h1 class="title">{$header_title}</h1> </div> {/if} <div class="featured_items"> {include file=$browse_tpl g_type='system' g_resource='browsing'} </div>
{* @git-info@ *} {if $is_ajax} {* loading this as the results of an ajax pagination call. only interested in the internal data, which will replace the contents of div#module_content_{tag} below *} {include file=$browse_tpl g_type='system' g_resource='browsing'} {if $module_pagination}<div>{$module_pagination}</div>{/if} {else} {* this is the "main" display (first page) *} {if $module.module_display_header_row} <div class="content_box"> <h1 class="title">{$header_title}</h1> </div> {/if} <div class="featured_items" id="module_content_{$module.module_replace_tag}"> {include file=$browse_tpl g_type='system' g_resource='browsing'} {if $module_pagination}<div>{$module_pagination}</div>{/if} </div> {if $module_pagination} <script> LoadModulePage_{$module.module_replace_tag} = function(page) { jQuery.post('AJAX.php?controller=ModuleControls&action=GetPage', { tag: '{$module.module_replace_tag}', results_page: page, params: {$params_json} {*this way any smarty-set parameters get passed along to the next "page" *} }, function(returned) { jQuery('#module_content_{$module.module_replace_tag}').html(returned); }, 'html' ); }; </script> {/if} {/if}
{* @git-info@ *} {if $module.module_display_header_row} <div class="content_box"> <h1 class="title">{$header_title}</h1> </div> {/if} <div class="featured_items"> {if $is_ajax} {* loading this as the results of an ajax pagination call. only interested in the internal data, which will replace the contents of div#module_content_{tag} below *} {include file=$browse_tpl g_type='system' g_resource='browsing'} </div> {if $module_pagination}<div>{$module_pagination}</div>{/if} {else} {* this is the "main" display (first page) *} {if $module.module_display_header_row} <div class="content_box"> <h1 class="title">{$header_title}</h1> </div> {/if} <div class="featured_items" id="module_content_{$module.module_replace_tag}"> {include file=$browse_tpl g_type='system' g_resource='browsing'} {if $module_pagination}<div>{$module_pagination}</div>{/if} </div> {if $module_pagination} <script> LoadModulePage_{$module.module_replace_tag} = function(page) { jQuery.post('AJAX.php?controller=ModuleControls&action=GetPage', { tag: '{$module.module_replace_tag}', results_page: page, params: {$params_json} {*this way any smarty-set parameters get passed along to the next "page" *} }, function(returned) { jQuery('#module_content_{$module.module_replace_tag}').html(returned); }, 'html' ); }; </script> {/if} {/if}
<div class="content_box"> <h1 class="title">{$messages.102437}</h1> <h1 class="subtitle">{$title}</h1> <form action="{$formTarget}" method="post"> {if $auction_type == 'buy_now'} <p class="page_instructions">{$messages.102442}</p>
<div class="content_box"> <h1 class="title">{$messages.102437}</h1> <h1 class="subtitle">{$title}</h1> <form action="{$formTarget}" method="post" id="bid_data_form"> {if $auction_type == 'buy_now'} <p class="page_instructions">{$messages.102442}</p>
<div class="content_box"> <h1 class="title">{$messages.102437}</h1> <h1 class="subtitle">{$title}</h1> <form action="{$formTarget}" method="post"> <form action="{$formTarget}" method="post" id="bid_data_form"> {if $auction_type == 'buy_now'} <p class="page_instructions">{$messages.102442}</p>
{if $additional_fees} <div class="{cycle values='row_even,row_odd'}"> <label for="fees" class="field_label">{$messages.502169}</label> {$additional_fees.formatted.total} {if $price_applies=='item' && (!{$verify} && $max_quantity > 1) || ({$verify} && $quantity > 1)}{$messages.502105}{/if} </div> {/if} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">
{if $additional_fees} <div class="{cycle values='row_even,row_odd'}"> <label for="fees" class="field_label">{$messages.502169}</label> <span class="price">{$additional_fees.formatted.total}</span> {if $price_applies=='item' && (!{$verify} && $max_quantity > 1) || ({$verify} && $quantity > 1)}{$messages.502105}{/if} </div> {/if} {if $cost_options.groups} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502271}</label> {include file='bidding/cost_options.tpl'} </div> {if $verify && $cost_options_cost} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502272}</label> <span class="price">{$cost_options_cost|displayPrice}</span> {if $price_applies=='item' && $quantity > 1}{$messages.502105}{/if} </div> {/if} {/if} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">
{if $additional_fees} <div class="{cycle values='row_even,row_odd'}"> <label for="fees" class="field_label">{$messages.502169}</label> {$additional_fees.formatted.total} <span class="price">{$additional_fees.formatted.total}</span> {if $price_applies=='item' && (!{$verify} && $max_quantity > 1) || ({$verify} && $quantity > 1)}{$messages.502105}{/if} </div> {/if} {if $cost_options.groups} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502271}</label> {include file='bidding/cost_options.tpl'} </div> {if $verify && $cost_options_cost} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502272}</label> <span class="price">{$cost_options_cost|displayPrice}</span> {if $price_applies=='item' && $quantity > 1}{$messages.502105}{/if} </div> {/if} {/if} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">
{if $additional_fees||($price_applies=='item' && $quantity>1)} <div class="{cycle values='row_even,row_odd'}"> <label for="grandTotal" class="field_label">{$messages.502170}</label> {$grandTotal} {if !$verify && $price_applies == 'item' && $max_quantity > 1}{$messages.502105}{/if} </div> {/if}
{if $additional_fees||($price_applies=='item' && $quantity>1)} <div class="{cycle values='row_even,row_odd'}"> <label for="grandTotal" class="field_label">{$messages.502170}</label> <span class="price"> {if $verify} {$grandTotal} {else} {strip} {$precurrency} <span data-base-cost="{$baseTotal}" id="listing-buy-now-price-{$listing_id}"> {$grandTotalRaw|displayPrice:'':''} </span> {if !$hide_postcurrency} {$postcurrency}{/if} {/strip} {/if} </span> {if !$verify && $price_applies == 'item' && $max_quantity > 1}{$messages.502105}{/if} </div> {/if}
{if $additional_fees||($price_applies=='item' && $quantity>1)} <div class="{cycle values='row_even,row_odd'}"> <label for="grandTotal" class="field_label">{$messages.502170}</label> {$grandTotal} <span class="price"> {if $verify} {$grandTotal} {else} {strip} {$precurrency} <span data-base-cost="{$baseTotal}" id="listing-buy-now-price-{$listing_id}"> {$grandTotalRaw|displayPrice:'':''} </span> {if !$hide_postcurrency} {$postcurrency}{/if} {/strip} {/if} </span> {if !$verify && $price_applies == 'item' && $max_quantity > 1}{$messages.502105}{/if} </div> {/if}
<label for="grandTotal" class="field_label">{$messages.502170}</label> {$additional_fees.grandTotal} </div> {/if} <br /> <div class="center">
<label for="grandTotal" class="field_label">{$messages.502170}</label> {$additional_fees.grandTotal} </div> {/if} {if $cost_options.groups} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502271}</label> {include file='bidding/cost_options.tpl'} </div> {if $verify && $cost_options_cost} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502272}</label> <span class="price">{$cost_options_cost|displayPrice}</span> {if $price_applies=='item' && $quantity > 1}{$messages.502105}{/if} </div> {/if} {/if} <br /> <div class="center">
<label for="grandTotal" class="field_label">{$messages.502170}</label> {$additional_fees.grandTotal} </div> {/if} {if $cost_options.groups} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502271}</label> {include file='bidding/cost_options.tpl'} </div> {if $verify && $cost_options_cost} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502272}</label> <span class="price">{$cost_options_cost|displayPrice}</span> {if $price_applies=='item' && $quantity > 1}{$messages.502105}{/if} </div> {/if} {/if} <br /> <div class="center">
</div> {/if} {/if} <br /> <div class="center">
</div> {/if} {/if} {if $cost_options.groups} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502271}</label> {include file='bidding/cost_options.tpl'} </div> {if $verify && $cost_options_cost} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502272}</label> <span class="price">{$cost_options_cost|displayPrice}</span> </div> {/if} {/if} <br /> <div class="center">
</div> {/if} {/if} {if $cost_options.groups} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502271}</label> {include file='bidding/cost_options.tpl'} </div> {if $verify && $cost_options_cost} <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.502272}</label> <span class="price">{$cost_options_cost|displayPrice}</span> </div> {/if} {/if} <br /> <div class="center">
{* @git-info@ *} <div class="content_box"> <h1 class="title">{$section_title}</h1> <h1 class="subtitle">{$page_title}</h1> <div class="success_box">{$instructions}</div> </div> <div class="center"> <a href="{$link}" class="button">{$link_text}</a> </div>
{* @git-info@ *} {if $json} <div class="success_box">{$instructions}</div> {else} <div class="content_box"> <h1 class="title">{$section_title}</h1> <h1 class="subtitle">{$page_title}</h1> </div> <div class="center"> <a href="{$link}" class="button">{$link_text}</a> </div> {/if}
{* @git-info@ *} <div class="content_box"> <h1 class="title">{$section_title}</h1> <h1 class="subtitle">{$page_title}</h1> {if $json} <div class="success_box">{$instructions}</div> </div> {else} <div class="content_box"> <h1 class="title">{$section_title}</h1> <h1 class="subtitle">{$page_title}</h1> </div> <div class="center"> <a href="{$link}" class="button">{$link_text}</a> </div> <div class="center"> <a href="{$link}" class="button">{$link_text}</a> </div> {/if}
{if !$view_only && $no_use_checkout ne 1} <div class="checkout_button"> <input type="hidden" name="checkout_clicked" value="0" id="checkout_clicked" /> <button type="submit" class="button" onclick="$('checkout_clicked').value='click';">{if $allFree}{$messages.500406}{else}{$messages.500250}{/if}</button> </div> {/if} {if !$view_only}</form>{/if}
{if !$view_only && $no_use_checkout ne 1} <div class="checkout_button"> <input type="hidden" name="checkout_clicked" value="0" id="checkout_clicked" /> <button type="submit" class="button" onclick="jQuery('#checkout_clicked').val('click');">{if $allFree}{$messages.500406}{else}{$messages.500250}{/if}</button> </div> {/if} {if !$view_only}</form>{/if}
{if !$view_only && $no_use_checkout ne 1} <div class="checkout_button"> <input type="hidden" name="checkout_clicked" value="0" id="checkout_clicked" /> <button type="submit" class="button" onclick="$('checkout_clicked').value='click';">{if $allFree}{$messages.500406}{else}{$messages.500250}{/if}</button> <button type="submit" class="button" onclick="jQuery('#checkout_clicked').val('click');">{if $allFree}{$messages.500406}{else}{$messages.500250}{/if}</button> </div> {/if} {if !$view_only}</form>{/if}
{if $no_use_checkout ne 1} //comment the next line in the template to make it un-collapsed //by default //$('cart_buttons').hide(); {/if} //]]> </script>
{if $no_use_checkout ne 1} //comment the next line in the template to make it un-collapsed //by default //jQuery('#cart_buttons').hide(); {/if} //]]> </script>
{if $no_use_checkout ne 1} //comment the next line in the template to make it un-collapsed //by default //$('cart_buttons').hide(); //jQuery('#cart_buttons').hide(); {/if} //]]> </script>
{* @git-info@ *} <ul class="pagination{if $css} {$css}{/if}"> {if $previousPage} <li><a href="{$url}{$previousPage}{$postUrl}"><</a></li> {/if} {foreach from=$links item=page} {if $page == $currentPage} <li class="current">{$page}</li> {else} <li><a href="{$url}{$page}{$postUrl}">{$page}</a></li> {/if} {/foreach} {if $nextPage} <li><a href="{$url}{$nextPage}{$postUrl}">></a></li> {/if} </ul> <div class="clr"></div>
{* @git-info@ *} <ul class="pagination{if $css} {$css}{/if}"> {if $previousPage} <li> {if $moduleTag} <a href="#" onclick="LoadModulePage_{$moduleTag}({$previousPage}); return false;"> {else} <a href="{$url}{$previousPage}{$postUrl}"> {/if} < </a> </li> {elseif $moduleTag} {* always show "previous" button for module navigation, so it doesn't "jump around" *} <li> <a href="#" onclick="return false;" style="opacity:0.5; cursor: default;"><</a> </li> {/if} {foreach from=$links item=page} {if $page == $currentPage} <li class="current">{$page}</li> {else} <li> {if $moduleTag} {* Note: LoadModulePage_{tag} is defined in module/common/browsing.tpl *} <a href="#" onclick="LoadModulePage_{$moduleTag}({$page}); return false;"> {else} <a href="{$url}{$page}{$postUrl}"> {/if} {$page} </a> </li> {/if} {/foreach} {if $nextPage} <li> {if $moduleTag} <a href="#" onclick="LoadModulePage_{$moduleTag}({$nextPage}); return false;"> {else} <a href="{$url}{$nextPage}{$postUrl}"> {/if} > </a> </li> {elseif $moduleTag} {* always show "next" button for module navigation, so it doesn't "jump around" *} <li> <a href="#" onclick="return false;" style="opacity:0.5; cursor: default;">></a> </li> {/if} </ul> <div class="clr"></div>
{* @git-info@ *} <ul class="pagination{if $css} {$css}{/if}"> {if $previousPage} <li><a href="{$url}{$previousPage}{$postUrl}"><</a></li> <li> {if $moduleTag} <a href="#" onclick="LoadModulePage_{$moduleTag}({$previousPage}); return false;"> {else} <a href="{$url}{$previousPage}{$postUrl}"> {/if} < </a> </li> {elseif $moduleTag} {* always show "previous" button for module navigation, so it doesn't "jump around" *} <li> <a href="#" onclick="return false;" style="opacity:0.5; cursor: default;"><</a> </li> {/if} {foreach from=$links item=page} {if $page == $currentPage} <li class="current">{$page}</li> {else} <li><a href="{$url}{$page}{$postUrl}">{$page}</a></li> <li> {if $moduleTag} {* Note: LoadModulePage_{tag} is defined in module/common/browsing.tpl *} <a href="#" onclick="LoadModulePage_{$moduleTag}({$page}); return false;"> {else} <a href="{$url}{$page}{$postUrl}"> {/if} {$page} </a> </li> {/if} {/foreach} {if $nextPage} <li><a href="{$url}{$nextPage}{$postUrl}">></a></li> <li> {if $moduleTag} <a href="#" onclick="LoadModulePage_{$moduleTag}({$nextPage}); return false;"> {else} <a href="{$url}{$nextPage}{$postUrl}"> {/if} > </a> </li> {elseif $moduleTag} {* always show "next" button for module navigation, so it doesn't "jump around" *} <li> <a href="#" onclick="return false;" style="opacity:0.5; cursor: default;">></a> </li> {/if} </ul> <div class="clr"></div>
{* @git-info@ *} <div class="region_selector region_wrapper_{$level.id}_{$fieldName_class}"> {if $level.use_label === 'yes'}<label class="field_label region_label{if $isScalarLevel} region_scalar_label{/if}">{$level.label}</label>{/if}<br /> {if $isScalarLevel} {* This is the only region on this level -- Print the region's name directly (and store its ID for form submission) *} <span class="region_scalar_name region_scalar_name_level_{$level.id}_{$fieldName_class}">{$regions.0.name}</span> <input type="hidden" name="{$fieldName}[{$level.id}]" value="{$regions.0.id}" />
{* @git-info@ *} <div class="region_selector region_wrapper_{$level.id}_{$fieldName_class}"> {if $level.use_label === 'yes'}<label class="field_label region_label{if $isScalarLevel && $level.id != $bottomLevel} region_scalar_label{/if}">{$level.label}</label>{/if}<br /> {if $isScalarLevel && $level.id != $bottomLevel} {* This is the only region on this level -- Print the region's name directly (and store its ID for form submission) *} {* EXCEPTION: if this is the bottom level, show the full dropdown anyway because it makes more sense for UX *} <span class="region_scalar_name region_scalar_name_level_{$level.id}_{$fieldName_class}">{$regions.0.name}</span> <input type="hidden" name="{$fieldName}[{$level.id}]" value="{$regions.0.id}" />
{* @git-info@ *} <div class="region_selector region_wrapper_{$level.id}_{$fieldName_class}"> {if $level.use_label === 'yes'}<label class="field_label region_label{if $isScalarLevel} region_scalar_label{/if}">{$level.label}</label>{/if}<br /> {if $level.use_label === 'yes'}<label class="field_label region_label{if $isScalarLevel && $level.id != $bottomLevel} region_scalar_label{/if}">{$level.label}</label>{/if}<br /> {if $isScalarLevel} {if $isScalarLevel && $level.id != $bottomLevel} {* This is the only region on this level -- Print the region's name directly (and store its ID for form submission) *} {* EXCEPTION: if this is the bottom level, show the full dropdown anyway because it makes more sense for UX *} <span class="region_scalar_name region_scalar_name_level_{$level.id}_{$fieldName_class}">{$regions.0.name}</span> <input type="hidden" name="{$fieldName}[{$level.id}]" value="{$regions.0.id}" />
skipEmptyRegions: {$skipEmptyRegions} }, success: function (data) { if (data) { //append the results to teh wrapper jQuery('.region_selector_wrapper_{$fieldName_class}').append(data); } },
skipEmptyRegions: {$skipEmptyRegions} }, success: function (data) { //append the results to the wrapper, but first make sure they're not already there //(prevents multiple super-speedy ajax requests from gumming up the works) if(jQuery('.region_wrapper_{$level.id + 1}_geoRegion_user_location').length==0) { jQuery('.region_selector_wrapper_{$fieldName_class}').append(data); } },
skipEmptyRegions: {$skipEmptyRegions} }, success: function (data) { if (data) { //append the results to teh wrapper //append the results to the wrapper, but first make sure they're not already there //(prevents multiple super-speedy ajax requests from gumming up the works) if(jQuery('.region_wrapper_{$level.id + 1}_geoRegion_user_location').length==0) { jQuery('.region_selector_wrapper_{$fieldName_class}').append(data); } },
<script type="text/javascript"> //<![CDATA[ Event.observe("{$name}_country_ddl", "change", function() { //remove the state selector (if it exists) if($('{$name}_state_remove_me')) { $('{$name}_state_remove_me').remove(); } //now make an AJAX call with the selected country to get its states and show their DDL if($('{$name}_country_ddl').value.length == 0) { //empty selection -- nothing else to do here return false; } new Ajax.Request('{if $in_admin}../{/if}AJAX.php?controller=RegionSelect&action=getChildStatesForBilling', { method: 'post', parameters: { country: $('{$name}_country_ddl').value, name: '{$name}', }, onSuccess: function(ret) { if(ret.responseText.length > 0) { $('billing_state_wrapper').insert(ret.responseText); } } }); });
<script type="text/javascript"> //<![CDATA[ jQuery('#{$name}_country_ddl').change(function() { //remove the state selector (if it exists) if(jQuery('#{$name}_state_remove_me')) { jQuery('#{$name}_state_remove_me').remove(); } //now make an AJAX call with the selected country to get its states and show their DDL if(jQuery('#{$name}_country_ddl').val().length == 0) { //empty selection -- nothing else to do here return false; } jQuery.post('{if $in_admin}../{/if}AJAX.php?controller=RegionSelect&action=getChildStatesForBilling', { country: jQuery('#{$name}_country_ddl').val(), name: '{$name}', }, function(returned) { if(returned.length > 0) { jQuery('#billing_state_wrapper').append(returned); } }, 'text' ); });
<script type="text/javascript"> //<![CDATA[ Event.observe("{$name}_country_ddl", "change", function() { jQuery('#{$name}_country_ddl').change(function() { //remove the state selector (if it exists) if($('{$name}_state_remove_me')) { $('{$name}_state_remove_me').remove(); if(jQuery('#{$name}_state_remove_me')) { jQuery('#{$name}_state_remove_me').remove(); } //now make an AJAX call with the selected country to get its states and show their DDL if($('{$name}_country_ddl').value.length == 0) { if(jQuery('#{$name}_country_ddl').val().length == 0) { //empty selection -- nothing else to do here return false; } new Ajax.Request('{if $in_admin}../{/if}AJAX.php?controller=RegionSelect&action=getChildStatesForBilling', { method: 'post', parameters: { country: $('{$name}_country_ddl').value, name: '{$name}', }, onSuccess: function(ret) { if(ret.responseText.length > 0) { $('billing_state_wrapper').insert(ret.responseText); } } }); jQuery.post('{if $in_admin}../{/if}AJAX.php?controller=RegionSelect&action=getChildStatesForBilling', { country: jQuery('#{$name}_country_ddl').val(), name: '{$name}', }, function(returned) { if(returned.length > 0) { jQuery('#billing_state_wrapper').append(returned); } }, 'text' ); });
<strong>{$finalBidLabel}</strong> {$finalBid} {/if} <br /><br /> {if $additionalFees} <strong>{if $price_applies=='item'}{$messages.502116}{else}{$messages.500033}{/if}</strong><br /> {foreach $additionalFees.formatted as $key => $fee}
<strong>{$finalBidLabel}</strong> {$finalBid} {/if} <br /><br /> {if $cost_options} <strong>{$messages.502274}</strong><br /> {foreach $cost_options as $group_id => $option_id} {$group=$cost_option_group_details.$group_id} {$option=$cost_option_details.$option_id} <strong>{$group.label|fromDB}</strong> {$option.label|fromDB} {if $option.cost_added} [+{$option.cost_added_pretty}]{/if} <br /> {/foreach} <br /> {if $cost_options_cost} {if $price_applies=='item'} <strong>{$messages.502275}</strong> {else} <strong>{$messages.502276}</strong> {/if} {$cost_options_cost_pretty} <br /><br /> {/if} {/if} {if $additionalFees} <strong>{if $price_applies=='item'}{$messages.502116}{else}{$messages.500033}{/if}</strong><br /> {foreach $additionalFees.formatted as $key => $fee}
<strong>{$finalBidLabel}</strong> {$finalBid} {/if} <br /><br /> {if $cost_options} <strong>{$messages.502274}</strong><br /> {foreach $cost_options as $group_id => $option_id} {$group=$cost_option_group_details.$group_id} {$option=$cost_option_details.$option_id} <strong>{$group.label|fromDB}</strong> {$option.label|fromDB} {if $option.cost_added} [+{$option.cost_added_pretty}]{/if} <br /> {/foreach} <br /> {if $cost_options_cost} {if $price_applies=='item'} <strong>{$messages.502275}</strong> {else} <strong>{$messages.502276}</strong> {/if} {$cost_options_cost_pretty} <br /><br /> {/if} {/if} {if $additionalFees} <strong>{if $price_applies=='item'}{$messages.502116}{else}{$messages.500033}{/if}</strong><br /> {foreach $additionalFees.formatted as $key => $fee}
<strong>{$messages.502117}</strong> {$additionalFees.formatted.total} <br /><br /> <strong>{$messages.502118}</strong> {$additionalFees.grandTotal} <br /><br /> <strong>{$messages.500036}</strong> {$additionalFees.grandGrandTotal} {else} <strong>{$messages.500035}</strong> {$additionalFees.formatted.total} <br /><br /> <strong>{$messages.500036}</strong> {$additionalFees.grandTotal} {/if} <br /><br /> {$messages.500034} <br /><br /> {elseif $price_applies=='item'} <strong>{$messages.500036}</strong> {$grandTotal} {/if} {$highBidderInfo.firstname} {$highBidderInfo.lastname}<br /> {$highBidderInfo.email}<br /> <br /> {$listingTitle}<br /> <a href="{$listingLink}">{$listingLink}</a> {if $price_applies=='item'} <br /><br />
<strong>{$messages.502117}</strong> {$additionalFees.formatted.total} <br /><br /> <strong>{$messages.502118}</strong> {$additionalFees.grandTotal} {else} <strong>{$messages.500035}</strong> {$additionalFees.formatted.total} {/if} <br /><br /> {$messages.500034} <br /><br /> {/if} <strong>{$messages.500036}</strong> {$grandTotal} <br /><br /> {$highBidderInfo.firstname} {$highBidderInfo.lastname}<br /> {$highBidderInfo.email}<br /> <br /> {$listingTitle}<br /> {if $cost_options} <strong>{$messages.502274}</strong><br /> {foreach $cost_options as $group_id => $option_id} {$group=$cost_option_group_details.$group_id} {$option=$cost_option_details.$option_id} <strong>{$group.label|fromDB}</strong> {$option.label|fromDB} {if $option.cost_added} [+{$option.cost_added_pretty}]{/if} {if $option.image_url} <img src="{$option.image_url}" alt="{$option.label|fromDB}" style="width: 50px;"> {/if} <br /> {/foreach} <br /> {/if} <a href="{$listingLink}">{$listingLink}</a> {if $price_applies=='item'} <br /><br />
<strong>{$messages.502117}</strong> {$additionalFees.formatted.total} <br /><br /> <strong>{$messages.502118}</strong> {$additionalFees.grandTotal} <br /><br /> <strong>{$messages.500036}</strong> {$additionalFees.grandGrandTotal} {else} <strong>{$messages.500035}</strong> {$additionalFees.formatted.total} <br /><br /> <strong>{$messages.500036}</strong> {$additionalFees.grandTotal} {/if} <br /><br /> {$messages.500034} <br /><br /> {elseif $price_applies=='item'} <strong>{$messages.500036}</strong> {$grandTotal} {/if} <strong>{$messages.500036}</strong> {$grandTotal} <br /><br /> {$highBidderInfo.firstname} {$highBidderInfo.lastname}<br /> {$highBidderInfo.email}<br /> <br /> {$listingTitle}<br /> {if $cost_options} <strong>{$messages.502274}</strong><br /> {foreach $cost_options as $group_id => $option_id} {$group=$cost_option_group_details.$group_id} {$option=$cost_option_details.$option_id} <strong>{$group.label|fromDB}</strong> {$option.label|fromDB} {if $option.cost_added} [+{$option.cost_added_pretty}]{/if} {if $option.image_url} <img src="{$option.image_url}" alt="{$option.label|fromDB}" style="width: 50px;"> {/if} <br /> {/foreach} <br /> {/if} <a href="{$listingLink}">{$listingLink}</a> {if $price_applies=='item'} <br /><br />
{$invoice.client.address} {$invoice.client.address_2}<br /> {/if} {if $invoice.client.city OR $invoice.client.state OR $invoice.client.zip OR $invoice.client.country} {$invoice.client.city}, {$invoice.client.state}, {$invoice.client.country} {$invoice.client.zip} {/if} <br /><br /> {if $invoice.client.phone}
{$invoice.client.address} {$invoice.client.address_2}<br /> {/if} {if $invoice.client.city OR $invoice.client.state OR $invoice.client.zip OR $invoice.client.country} {* |fromDB the state and country because they come from geoRegion selectors unlike the rest of the fields, which should be plaintext *} {$invoice.client.city}, {$invoice.client.state|fromDB}, {$invoice.client.country|fromDB} {$invoice.client.zip} {/if} <br /><br /> {if $invoice.client.phone}
{$invoice.client.address} {$invoice.client.address_2}<br /> {/if} {if $invoice.client.city OR $invoice.client.state OR $invoice.client.zip OR $invoice.client.country} {$invoice.client.city}, {$invoice.client.state}, {$invoice.client.country} {$invoice.client.zip} {* |fromDB the state and country because they come from geoRegion selectors unlike the rest of the fields, which should be plaintext *} {$invoice.client.city}, {$invoice.client.state|fromDB}, {$invoice.client.country|fromDB} {$invoice.client.zip} {/if} <br /><br /> {if $invoice.client.phone}
<ul class='extraQuestionValue' id='extraQuestionValue'> {foreach $answers as $a} <li> {if $a.link}<a href="{$a.link}">{/if} {$a.value} {if $a.link}</a>{/if} </li>
<ul class='extraQuestionValue' id='extraQuestionValue'> {foreach $answers as $a} <li> {if $a.link}<a href="{$a.link}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}>{/if} {$a.value} {if $a.link}</a>{/if} </li>
<ul class='extraQuestionValue' id='extraQuestionValue'> {foreach $answers as $a} <li> {if $a.link}<a href="{$a.link}">{/if} {if $a.link}<a href="{$a.link}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}>{/if} {$a.value} {if $a.link}</a>{/if} </li>
<tr> <td class='question'><strong>{$q.question}</strong></td> <td class='answer'> {if $q.link}<a href="{$q.link}">{/if} {$q.value} {if $q.link}</a>{/if} </td>
<tr> <td class='question'><strong>{$q.question}</strong></td> <td class='answer'> {if $q.link}<a href="{$q.link}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}>{/if} {$q.value} {if $q.link}</a>{/if} </td>
<tr> <td class='question'><strong>{$q.question}</strong></td> <td class='answer'> {if $q.link}<a href="{$q.link}">{/if} {if $q.link}<a href="{$q.link}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}>{/if} {$q.value} {if $q.link}</a>{/if} </td>
{if $anon} {$anon_username} {else} <a href="{$classifieds_file_name}?a=13&b={$listing_id}" class="display_ad_value">{$seller_data.username}</a> {/if} {/strip}
{if $anon} {$anon_username} {else} {strip} {if $show_contact_seller!='no'}<a href="{$classifieds_file_name}?a=13&b={$listing_id}" class="display_ad_value">{/if} {$seller_data.username} {if $show_contact_seller!='no'}</a>{/if} {/strip} {/if} {/strip}
{if $anon} {$anon_username} {else} <a href="{$classifieds_file_name}?a=13&b={$listing_id}" class="display_ad_value">{$seller_data.username}</a> {strip} {if $show_contact_seller!='no'}<a href="{$classifieds_file_name}?a=13&b={$listing_id}" class="display_ad_value">{/if} {$seller_data.username} {if $show_contact_seller!='no'}</a>{/if} {/strip} {/if} {/strip}
{* @git-info@ *}{strip} <a class="url_link_1" href="{$url}" onclick="window.open(this.href,'mywindow','toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes'); return false;"> {$messages.2440} </a> {/strip}
{* @git-info@ *}{strip} <a class="url_link_1" href="{$url}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}> {$messages.2440} </a> {/strip}
{* @git-info@ *}{strip} <a class="url_link_1" href="{$url}" onclick="window.open(this.href,'mywindow','toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes'); return false;"> <a class="url_link_1" href="{$url}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}> {$messages.2440} </a> {/strip}
{* @git-info@ *}{strip} <a class="url_link_2" href="{$url}" onclick="window.open(this.href,'mywindow','toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes'); return false;"> {$messages.2441} </a> {/strip}
{* @git-info@ *}{strip} <a class="url_link_2" href="{$url}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}> {$messages.2441} </a> {/strip}
{* @git-info@ *}{strip} <a class="url_link_2" href="{$url}" onclick="window.open(this.href,'mywindow','toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes'); return false;"> <a class="url_link_2" href="{$url}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}> {$messages.2441} </a> {/strip}
{* @git-info@ *}{strip} <a class="url_link_3" href="{$url}" onclick="window.open(this.href,'mywindow','toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes'); return false;"> {$messages.2442} </a> {/strip}
{* @git-info@ *}{strip} <a class="url_link_3" href="{$url}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}> {$messages.2442} </a> {/strip}
{* @git-info@ *}{strip} <a class="url_link_3" href="{$url}" onclick="window.open(this.href,'mywindow','toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes'); return false;"> <a class="url_link_3" href="{$url}"{if $open_window_user_links} target="_blank"{/if}{if $add_nofollow_user_links} rel="nofollow"{/if}> {$messages.2442} </a> {/strip}
{* (Current Balance: <em>{$current_balance|displayPrice}</em>) *} </label> <input type="submit" value="{$messages.500589}" class="button" onclick="$('checkout_clicked').value='click';" /> {else} {$messages.500313} {/if}
{* (Current Balance: <em>{$current_balance|displayPrice}</em>) *} </label> <input type="submit" value="{$messages.500589}" class="button" onclick="jQuery('#checkout_clicked').val('click');" /> {else} {$messages.500313} {/if}
{* (Current Balance: <em>{$current_balance|displayPrice}</em>) *} </label> <input type="submit" value="{$messages.500589}" class="button" onclick="$('checkout_clicked').value='click';" /> <input type="submit" value="{$messages.500589}" class="button" onclick="jQuery('#checkout_clicked').val('click');" /> {else} {$messages.500313} {/if}
{* @git-info@ *} <div {if !$slot.empty}class="offsite_video_is_sortable"{/if}> <div class="offsite_video_box_title_buttons"{if $slot.empty} style="display: none;"{/if}> <span class="delete_offsite_video" id="deleteYoutube_{$slotNum}"> {if $in_admin}
{* @git-info@ *} <div{if !$slot.empty} class="offsite_video_is_sortable"{/if}> <div class="offsite_video_box_title_buttons"{if $slot.empty} style="display: none;"{/if}> <span class="delete_offsite_video" id="deleteYoutube_{$slotNum}"> {if $in_admin}
{* @git-info@ *} <div {if !$slot.empty}class="offsite_video_is_sortable"{/if}> <div{if !$slot.empty} class="offsite_video_is_sortable"{/if}> <div class="offsite_video_box_title_buttons"{if $slot.empty} style="display: none;"{/if}> <span class="delete_offsite_video" id="deleteYoutube_{$slotNum}"> {if $in_admin}
{* @git-info@ *} <script type="text/javascript"> //<![CDATA[ Event.observe(window, 'load', function () {ldelim} //set defaults geoVidProcess.currentSlot = {$currentSlot};
{* @git-info@ *} <script> jQuery(function () { //set defaults geoVidProcess.currentSlot = {$currentSlot};
{* @git-info@ *} <script type="text/javascript"> //<![CDATA[ Event.observe(window, 'load', function () {ldelim} <script> jQuery(function () { //set defaults geoVidProcess.currentSlot = {$currentSlot};
//initialize external video js geoVidProcess.init(); }); //]]> </script>
//initialize external video js geoVidProcess.init(); }); </script>
//initialize external video js geoVidProcess.init(); }); //]]> </script>
<div class="clr"><br /></div> {if $use_rte && $messages.500235|strip:'' != ''} <a href="javascript:void(0)" onclick="geoWysiwyg.toggleTinyEditors();">{$messages.500235}</a> <br /> {/if} <textarea id="main_description" name="b[description]"{if $field_config.textarea_wrap} style="white-space: pre;"{/if} class="editor field" onkeypress="return geoListing.checkLength(event,this)" onkeyup="return geoListing.getLength(event,this)">{$desc_clean}</textarea> </div> {/if}
<div class="clr"><br /></div> {if $use_rte && $messages.500235|strip:'' != ''} <a href="#" onclick="gjWysiwyg.toggleTinyEditors(); return false;">{$messages.500235}</a> <br /> {/if} <textarea id="main_description" name="b[description]"{if $field_config.textarea_wrap} style="white-space: pre;"{/if} class="editor field">{$desc_clean}</textarea> </div> {/if}
<div class="clr"><br /></div> {if $use_rte && $messages.500235|strip:'' != ''} <a href="javascript:void(0)" onclick="geoWysiwyg.toggleTinyEditors();">{$messages.500235}</a> <a href="#" onclick="gjWysiwyg.toggleTinyEditors(); return false;">{$messages.500235}</a> <br /> {/if} <textarea id="main_description" name="b[description]"{if $field_config.textarea_wrap} style="white-space: pre;"{/if} class="editor field" onkeypress="return geoListing.checkLength(event,this)" onkeyup="return geoListing.getLength(event,this)">{$desc_clean}</textarea> <textarea id="main_description" name="b[description]"{if $field_config.textarea_wrap} style="white-space: pre;"{/if} class="editor field">{$desc_clean}</textarea> </div> {/if}
<div class="jit_login_form" style="text-align: center; width: 75%; margin: 0 auto;"> {if $emailExists} <p style="font-weight: bold;">{$messages.500769}</p> <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$backURL}">{$messages.500773}</a></p> {elseif !$allow_user_pass} <p style="font-weight: bold;">{$messages.500770}</p> <form action="{$continueURL}" id="continueForm" method="post"> {if $errorMsg}<p class="error_message">{$errorMsg}</p>{/if} {$securityImageHTML} <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$continueURL}" onclick="$('continueForm').submit(); return false;">{$messages.500774}</a></p> </form> {else} <p style="font-weight: bold;">{$messages.500788}</p> <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a></p> <p style="font-size: 18pt;"> <form action="{$continueURL}" method="post">
<div class="jit_login_form" style="text-align: center; width: 75%; margin: 0 auto;"> {if $didResend}<p style="color: #980000;">{$messages.502207}</p>{/if} {if $emailExists} <p style="font-weight: bold;">{$messages.500769}</p> <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$backURL}">{$messages.500773}</a></p> {elseif !$allow_user_pass} <p style="font-weight: bold;">{$messages.500770}</p> {if $require_email_confirmation} <p style="font-weight: bold; background-color: #e0e0e0;">{$messages.502204}<span style="color: #980000">{$email}</span>{$messages.502205}</p> {/if} <form action="{$continueURL}" id="continueForm" method="post"> {if $errorMsg}<p class="error_message">{$errorMsg}</p>{/if} {$securityImageHTML} {if $require_email_confirmation} <p>Confirmation Code: <input type="text" name="confirmation_code" /> <input type="button" value="{$messages.502206}" onclick="window.location.href='{$continueURL}&resend=1'" /></p> {/if} <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$continueURL}" onclick="jQuery('#continueForm').submit(); return false;">{$messages.500774}</a></p> </form> {else} <p style="font-weight: bold;">{$messages.500788}</p> {if $require_email_confirmation} <p style="font-weight: bold; background-color: #e0e0e0;">{$messages.502204}<span style="color: #980000">{$email}</span>{$messages.502205}</p> {/if} <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a></p> <p style="font-size: 18pt;"> <form action="{$continueURL}" method="post">
<div class="jit_login_form" style="text-align: center; width: 75%; margin: 0 auto;"> {if $didResend}<p style="color: #980000;">{$messages.502207}</p>{/if} {if $emailExists} <p style="font-weight: bold;">{$messages.500769}</p> <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$backURL}">{$messages.500773}</a></p> {elseif !$allow_user_pass} <p style="font-weight: bold;">{$messages.500770}</p> {if $require_email_confirmation} <p style="font-weight: bold; background-color: #e0e0e0;">{$messages.502204}<span style="color: #980000">{$email}</span>{$messages.502205}</p> {/if} <form action="{$continueURL}" id="continueForm" method="post"> {if $errorMsg}<p class="error_message">{$errorMsg}</p>{/if} {$securityImageHTML} <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$continueURL}" onclick="$('continueForm').submit(); return false;">{$messages.500774}</a></p> {if $require_email_confirmation} <p>Confirmation Code: <input type="text" name="confirmation_code" /> <input type="button" value="{$messages.502206}" onclick="window.location.href='{$continueURL}&resend=1'" /></p> {/if} <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$continueURL}" onclick="jQuery('#continueForm').submit(); return false;">{$messages.500774}</a></p> </form> {else} <p style="font-weight: bold;">{$messages.500788}</p> {if $require_email_confirmation} <p style="font-weight: bold; background-color: #e0e0e0;">{$messages.502204}<span style="color: #980000">{$email}</span>{$messages.502205}</p> {/if} <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a></p> <p style="font-size: 18pt;"> <form action="{$continueURL}" method="post">
<tr> <td colspan="2" style="text-align: center;" class="error_message">{$errorMsg}</td> </tr> <tr> <td style="text-align: right; width: 50%;">{$messages.500789}</td><td><input type="text" name="username" maxlength="{$max_user_length}" /></td> </tr>
<tr> <td colspan="2" style="text-align: center;" class="error_message">{$errorMsg}</td> </tr> {if $require_email_confirmation} <tr> <td style="text-align: right; width: 50%;">Confirmation Code:</td><td><input type="text" name="confirmation_code" /> <input type="button" value="{$messages.502206}" onclick="window.location.href='{$continueURL}&resend=1'" /></td> </tr> {/if} <tr> <td style="text-align: right; width: 50%;">{$messages.500789}</td><td><input type="text" name="username" maxlength="{$max_user_length}" /></td> </tr>
<tr> <td colspan="2" style="text-align: center;" class="error_message">{$errorMsg}</td> </tr> {if $require_email_confirmation} <tr> <td style="text-align: right; width: 50%;">Confirmation Code:</td><td><input type="text" name="confirmation_code" /> <input type="button" value="{$messages.502206}" onclick="window.location.href='{$continueURL}&resend=1'" /></td> </tr> {/if} <tr> <td style="text-align: right; width: 50%;">{$messages.500789}</td><td><input type="text" name="username" maxlength="{$max_user_length}" /></td> </tr>
{/if} </div> {if $force_single_quantity} <input type="hidden" id="auction_quantity" name="b[auction_quantity]" value="1" /> {else} <div class="{if $error_msgs.auction_quantity}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label for="auction_quantity" class="field_label">{$messages.102690}</label> {if $editCheck || $fields->price->can_edit} <input type="text" id="auction_quantity" name="b[auction_quantity]" value="{if $session_variables.auction_quantity <= 0}1{else}{$session_variables.auction_quantity}{/if}" class="field" /> {else} {if $session_variables.auction_quantity <= 0}1{else}{$session_variables.auction_quantity}{/if} {/if} {if $error_msgs.auction_quantity} <span class="error_message">{$messages.500217}</span> {/if} </div> {/if} {if $field_config.user_set_auction_start_times && $editCheck} <div class="{if $error_msgs.start_time}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label">{$messages.102816}</label>
{/if} </div> {if $field_config.user_set_auction_start_times && $editCheck} <div class="{if $error_msgs.start_time}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label">{$messages.102816}</label>
{/if} </div> {if $force_single_quantity} <input type="hidden" id="auction_quantity" name="b[auction_quantity]" value="1" /> {else} <div class="{if $error_msgs.auction_quantity}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label for="auction_quantity" class="field_label">{$messages.102690}</label> {if $editCheck || $fields->price->can_edit} <input type="text" id="auction_quantity" name="b[auction_quantity]" value="{if $session_variables.auction_quantity <= 0}1{else}{$session_variables.auction_quantity}{/if}" class="field" /> {else} {if $session_variables.auction_quantity <= 0}1{else}{$session_variables.auction_quantity}{/if} {/if} {if $error_msgs.auction_quantity} <span class="error_message">{$messages.500217}</span> {/if} </div> {/if} {if $field_config.user_set_auction_start_times && $editCheck} <div class="{if $error_msgs.start_time}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label">{$messages.102816}</label>
</div> {/if} {if $field_config.user_set_auction_end_times && $pricePlan.charge_per_ad_type != 2 && $editCheck} <div class="{if $error_msgs.end_time}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label">{$messages.102820}</label> <input type="radio" id="endTimeRadio" value="1" name="b[end_mode]"{if $session_variables.end_mode == 1} checked="checked"{/if} onclick="SetEndMode(1);" /> {$date_select_end_time} {if $error_msgs.end_time} <span class="error_message">{$messages.103357}</span> {/if} </div> {/if} {if $editCheck} <div class="{if $error_msgs.duration||$error_msgs.classified_length}field_error_row {/if}{cycle values='row_odd,row_even'} combined_update_fields"> <label class="field_label">{$messages.125}<br />{$messages.100126}</label> {if $field_config.user_set_auction_end_times && $pricePlan.charge_per_ad_type != 2} <input type="radio" id="durationRadio" value="2" name="b[end_mode]"{if $session_variables.end_mode != 1} checked="checked"{/if} onclick="SetEndMode(2);" /> {/if} <select class="field" id="classified_length" name="b[classified_length]"> {$auction_duration_dropdown} </select> {if $field_config.user_set_auction_end_times && $pricePlan.charge_per_ad_type != 2} <script type="text/javascript"> //TODO: Move this function to a JS file or something, and //only leave the SetEndMode call, as that part is dynamic. function SetEndMode(mode) {ldelim} if(mode == 1) {ldelim} document.getElementById('classified_length').disabled = true; document.getElementById('endtime_month').disabled = false; document.getElementById('endtime_day').disabled = false; document.getElementById('endtime_year').disabled = false; document.getElementById('endtime_hour').disabled = false; document.getElementById('endtime_minute').disabled = false; } else if (mode == 2) {ldelim} document.getElementById('classified_length').disabled = false; document.getElementById('endtime_month').disabled = true; document.getElementById('endtime_day').disabled = true; document.getElementById('endtime_year').disabled = true; document.getElementById('endtime_hour').disabled = true; document.getElementById('endtime_minute').disabled = true; } } SetEndMode({if $session_variables.end_mode}{$session_variables.end_mode}{else}2{/if}); </script> {/if} {if $error_msgs.duration || $error_msgs.classified_length} <span class="error_message">{$messages.103358}</span> {/if}
</div> {/if} {if $editCheck} <div class="{if $error_msgs.duration||$error_msgs.classified_length}field_error_row {/if}{cycle values='row_odd,row_even'} combined_update_fields"> {if $field_config.user_set_auction_end_times && $pricePlan.charge_per_ad_type != 2} <label class="field_label"> <select name="b[end_mode]" id="endModeSelect" class="field"> <option value="1">{$messages.102820}</option> <option value="2">{$messages.125}</option> </select> </label> <div id="end_time" style="display: inline-block;"> {$date_select_end_time} </div> {else} <label class="field_label">{$messages.125}<br />{$messages.100126}</label> {/if} <select class="field" id="classified_length" name="b[classified_length]"> {$auction_duration_dropdown} </select> {if $error_msgs.duration || $error_msgs.classified_length} <span class="error_message">{$messages.103358}</span> {/if}
</div> {/if} {if $field_config.user_set_auction_end_times && $pricePlan.charge_per_ad_type != 2 && $editCheck} <div class="{if $error_msgs.end_time}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label">{$messages.102820}</label> <input type="radio" id="endTimeRadio" value="1" name="b[end_mode]"{if $session_variables.end_mode == 1} checked="checked"{/if} onclick="SetEndMode(1);" /> {$date_select_end_time} {if $error_msgs.end_time} <span class="error_message">{$messages.103357}</span> {/if} </div> {/if} {if $editCheck} <div class="{if $error_msgs.duration||$error_msgs.classified_length}field_error_row {/if}{cycle values='row_odd,row_even'} combined_update_fields"> <label class="field_label">{$messages.125}<br />{$messages.100126}</label> {if $field_config.user_set_auction_end_times && $pricePlan.charge_per_ad_type != 2} <input type="radio" id="durationRadio" value="2" name="b[end_mode]"{if $session_variables.end_mode != 1} checked="checked"{/if} onclick="SetEndMode(2);" /> <label class="field_label"> <select name="b[end_mode]" id="endModeSelect" class="field"> <option value="1">{$messages.102820}</option> <option value="2">{$messages.125}</option> </select> </label> <div id="end_time" style="display: inline-block;"> {$date_select_end_time} </div> {else} <label class="field_label">{$messages.125}<br />{$messages.100126}</label> {/if} <select class="field" id="classified_length" name="b[classified_length]"> {$auction_duration_dropdown} </select> {if $field_config.user_set_auction_end_times && $pricePlan.charge_per_ad_type != 2} <script type="text/javascript"> //TODO: Move this function to a JS file or something, and //only leave the SetEndMode call, as that part is dynamic. function SetEndMode(mode) {ldelim} if(mode == 1) {ldelim} document.getElementById('classified_length').disabled = true; document.getElementById('endtime_month').disabled = false; document.getElementById('endtime_day').disabled = false; document.getElementById('endtime_year').disabled = false; document.getElementById('endtime_hour').disabled = false; document.getElementById('endtime_minute').disabled = false; } else if (mode == 2) {ldelim} document.getElementById('classified_length').disabled = false; document.getElementById('endtime_month').disabled = true; document.getElementById('endtime_day').disabled = true; document.getElementById('endtime_year').disabled = true; document.getElementById('endtime_hour').disabled = true; document.getElementById('endtime_minute').disabled = true; } } SetEndMode({if $session_variables.end_mode}{$session_variables.end_mode}{else}2{/if}); </script> {/if} {if $error_msgs.duration || $error_msgs.classified_length} <span class="error_message">{$messages.103358}</span> {/if}
{/if} {/foreach} {/if} {if $sell_type == 2 && $editAuctionPrices} {if $force_single_quantity} <input type="hidden" name="b[price_applies]" value="lot" />
{/if} {/foreach} {/if} {if $sell_type == 2 && $editAuctionPrices && $fields->cost_options->is_enabled} <div class="{if $error_msgs.cost_options}field_error_row {/if}{cycle values='row_odd,row_even'}" id="cost_options_box_outer"> <label class="field_label">{$messages.502230}</label> {include file='shared/cost_options/index.tpl'} {if $error_msgs.cost_options} <span class="error_message cost_options_main_error">{$error_msgs.cost_options}</span> {/if} </div> {/if} {if $force_single_quantity} <input type="hidden" id="auction_quantity" name="b[auction_quantity]" value="1" /> {else} <div class="{if $error_msgs.auction_quantity}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label for="auction_quantity" class="field_label">{$messages.102690}</label> {if $editCheck || $fields->price->can_edit} <input type="text" id="auction_quantity" name="b[auction_quantity]" value="{if $session_variables.auction_quantity <= 0}1{else}{$session_variables.auction_quantity}{/if}" class="field" /> {else} {if $session_variables.auction_quantity <= 0}1{else}{$session_variables.auction_quantity}{/if} {/if} {if $error_msgs.auction_quantity} <span class="error_message">{$messages.500217}</span> {/if} </div> {/if} {if $sell_type == 2 && $editAuctionPrices} {if $force_single_quantity} <input type="hidden" name="b[price_applies]" value="lot" />
{/if} {/foreach} {/if} {if $sell_type == 2 && $editAuctionPrices && $fields->cost_options->is_enabled} <div class="{if $error_msgs.cost_options}field_error_row {/if}{cycle values='row_odd,row_even'}" id="cost_options_box_outer"> <label class="field_label">{$messages.502230}</label> {include file='shared/cost_options/index.tpl'} {if $error_msgs.cost_options} <span class="error_message cost_options_main_error">{$error_msgs.cost_options}</span> {/if} </div> {/if} {if $force_single_quantity} <input type="hidden" id="auction_quantity" name="b[auction_quantity]" value="1" /> {else} <div class="{if $error_msgs.auction_quantity}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label for="auction_quantity" class="field_label">{$messages.102690}</label> {if $editCheck || $fields->price->can_edit} <input type="text" id="auction_quantity" name="b[auction_quantity]" value="{if $session_variables.auction_quantity <= 0}1{else}{$session_variables.auction_quantity}{/if}" class="field" /> {else} {if $session_variables.auction_quantity <= 0}1{else}{$session_variables.auction_quantity}{/if} {/if} {if $error_msgs.auction_quantity} <span class="error_message">{$messages.500217}</span> {/if} </div> {/if} {if $sell_type == 2 && $editAuctionPrices} {if $force_single_quantity} <input type="hidden" name="b[price_applies]" value="lot" />
</div> {/if} {if $field_config.use_buy_now} <div class="{if $error_msgs.paypal_id}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label for="paypal_id" class="field_label">{$messages.3279}</label> <span class="sub_note">{$messages.3280}</span> {if $editCheck || $field_config.editable_buy_now} <input type="text" class="field" id="paypal_id" name="b[paypal_id]" value='{$session_variables.paypal_id}' /> {else} {$session_variables.paypal_id} {/if} {if $error_msgs.paypal_id} <span class="error_message">{$messages.3281}</span> {/if} </div> {/if} {if $leveled_fields} {foreach $leveled_fields as $lev_id => $lev_field} {* Note: already checks for "enabled" in PHP *}
</div> {/if} {if $leveled_fields} {foreach $leveled_fields as $lev_id => $lev_field} {* Note: already checks for "enabled" in PHP *}
</div> {/if} {if $field_config.use_buy_now} <div class="{if $error_msgs.paypal_id}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label for="paypal_id" class="field_label">{$messages.3279}</label> <span class="sub_note">{$messages.3280}</span> {if $editCheck || $field_config.editable_buy_now} <input type="text" class="field" id="paypal_id" name="b[paypal_id]" value='{$session_variables.paypal_id}' /> {else} {$session_variables.paypal_id} {/if} {if $error_msgs.paypal_id} <span class="error_message">{$messages.3281}</span> {/if} </div> {/if} {if $leveled_fields} {foreach $leveled_fields as $lev_id => $lev_field} {* Note: already checks for "enabled" in PHP *}
{if $moreDetailsLocation} {include file='shared/listing_collect_more.tpl' more=$moreDetailsLocation} {/if} </div> <br />
{if $moreDetailsLocation} {include file='shared/listing_collect_more.tpl' more=$moreDetailsLocation} {/if} {if $fields->show_contact_seller->is_enabled && ($editCheck || $fields->show_contact_seller->can_edit)} <div class="{if $error_msgs.show_contact_seller}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label"></label> <label> {* Note: Default to "yes" via hidden input, which means it shows the contact seller link. If box is checked, gets overridden by a "no" *} <input type="hidden" name="b[show_contact_seller]" value="yes" /> <input type="checkbox" name="b[show_contact_seller]" value="no"{if $session_variables.show_contact_seller=='no'} checked="checked"{/if} /> {$messages.502195} </label> </div> {else} <input type="hidden" name="b[show_contact_seller]" value="yes"/> {/if} {if $fields->show_other_ads->is_enabled && ($editCheck || $fields->show_other_ads->can_edit)} <div class="{if $error_msgs.show_other_ads}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label"></label> <label> {* Note: Default to "yes" via hidden input, which means it shows the contact seller link. If box is checked, gets overridden by a "no" *} <input type="hidden" name="b[show_other_ads]" value="yes" /> <input type="checkbox" name="b[show_other_ads]" value="no"{if $session_variables.show_other_ads=='no'} checked="checked"{/if} /> {$messages.502196} </label> </div> {else} <input type="hidden" name="b[show_other_ads]" value="yes"/> {/if} </div> <br />
{if $moreDetailsLocation} {include file='shared/listing_collect_more.tpl' more=$moreDetailsLocation} {/if} {if $fields->show_contact_seller->is_enabled && ($editCheck || $fields->show_contact_seller->can_edit)} <div class="{if $error_msgs.show_contact_seller}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label"></label> <label> {* Note: Default to "yes" via hidden input, which means it shows the contact seller link. If box is checked, gets overridden by a "no" *} <input type="hidden" name="b[show_contact_seller]" value="yes" /> <input type="checkbox" name="b[show_contact_seller]" value="no"{if $session_variables.show_contact_seller=='no'} checked="checked"{/if} /> {$messages.502195} </label> </div> {else} <input type="hidden" name="b[show_contact_seller]" value="yes"/> {/if} {if $fields->show_other_ads->is_enabled && ($editCheck || $fields->show_other_ads->can_edit)} <div class="{if $error_msgs.show_other_ads}field_error_row {/if}{cycle values='row_odd,row_even'}"> <label class="field_label"></label> <label> {* Note: Default to "yes" via hidden input, which means it shows the contact seller link. If box is checked, gets overridden by a "no" *} <input type="hidden" name="b[show_other_ads]" value="yes" /> <input type="checkbox" name="b[show_other_ads]" value="no"{if $session_variables.show_other_ads=='no'} checked="checked"{/if} /> {$messages.502196} </label> </div> {else} <input type="hidden" name="b[show_other_ads]" value="yes"/> {/if} </div> <br />
<script type="text/javascript"> //<![CDATA[ var geoPaypalInplace = { onComplete : function (transport, element) { var data = transport.responseJSON; if (!data) { geoUtil.addError('Server Error, re-load page'); return; } if (data.error) { geoUtil.addError(data.error); } else if (data.message) { geoUtil.addMessage(data.message); } if (data.email && data.email.length > 0) { element.update(data.email); } else { element.update(''); } new Effect.Highlight(element, {startcolor: this.options.highlightColor}); } }; Event.observe(window, 'load', function () { var paypalInplace = new Ajax.InPlaceEditor ($('paypal_id'), 'AJAX.php?controller=UserDetailChange&action=edit', { cancelControl:'button', onComplete: geoPaypalInplace.onComplete, {/literal} okText: '{$messages.500216|escape_js}', cancelText: '{$messages.500816|escape_js}', savingText: '{$messages.500817|escape_js}', clickToEditText: '{$messages.500215|escape_js}' {literal} }); if ('{/literal}{$paypal_id}{literal}'=='') { //it is blank! paypalInplace.enterEditMode('click'); } }); //]]> </script>
<script type="text/javascript"> //<![CDATA[ var geoPaypalInplace = { update : function () { //first, hide the save/cancel buttons jQuery('#savePaypal').hide(); var $this = jQuery(this); var title = $this.text().replace(/\s/g,''); //simple method to generate plain text var plain = function (txt) { return jQuery('<div>').html(txt).text(); }; //at this point, the title should be clean... Go ahead and stick it //back in so that newlines and stuff are not displayed for as long $this.text(title); var oldTitle = plain($this.data('orig')); if (title===oldTitle) { //nothing to do return; } jQuery.ajax({ type: 'POST', url: 'AJAX.php?controller=UserDetailChange&action=edit', data: { 'value' : title } }).done(function (response) { if (response.error) { gjUtil.addError(response.error); return; } if (response.email && response.email.length>0) { //update the image title displayed (to account for anything trimmed off), //and also update the hidden input so it knows when changes are made. $this.text(plain(response.email)) .data('orig',response.email); $this.siblings('.media-editable-saved').addClass('media-editable-saved-show'); //after 1 second hide it again setTimeout(function () { $this.siblings('.media-editable-saved').removeClass('media-editable-saved-show'); }, 1000); } else { $this.text('') .data('orig',''); } /* if (response.message) { gjUtil.addMessage(response.message); } */ if (response.debug) { console.log('Debug: '+response.debug); } }).error(function () { //changing title ajax call failed geoUtil.addError('server error'); }); } }; jQuery(function () { jQuery('#paypal_id') .unbind() .data('orig',jQuery('#paypal_id').text().replace(/\s/g,'')) .on('focus', function () { jQuery('#savePaypal').show(); }) .on('blur',geoPaypalInplace.update) .on('keyup', function (e) { if (e.keyCode == 27) { //esc key pressed... cancel jQuery(this).text(jQuery(this).data('orig')) .blur(); } else if (e.keyCode == 13) { //trigger blur event which in turn should save the value jQuery(this).blur(); } }); jQuery('#savePaypal').click(function (e) { e.preventDefault(); jQuery('#paypal_id').blur(); }); }); //]]> </script>
<script type="text/javascript"> //<![CDATA[ var geoPaypalInplace = { onComplete : function (transport, element) { var data = transport.responseJSON; if (!data) { geoUtil.addError('Server Error, re-load page'); update : function () { //first, hide the save/cancel buttons jQuery('#savePaypal').hide(); var $this = jQuery(this); var title = $this.text().replace(/\s/g,''); //simple method to generate plain text var plain = function (txt) { return jQuery('<div>').html(txt).text(); }; //at this point, the title should be clean... Go ahead and stick it //back in so that newlines and stuff are not displayed for as long $this.text(title); var oldTitle = plain($this.data('orig')); if (title===oldTitle) { //nothing to do return; } if (data.error) { geoUtil.addError(data.error); } else if (data.message) { geoUtil.addMessage(data.message); } if (data.email && data.email.length > 0) { element.update(data.email); } else { element.update(''); } new Effect.Highlight(element, {startcolor: this.options.highlightColor}); jQuery.ajax({ type: 'POST', url: 'AJAX.php?controller=UserDetailChange&action=edit', data: { 'value' : title } }).done(function (response) { if (response.error) { gjUtil.addError(response.error); return; } if (response.email && response.email.length>0) { //update the image title displayed (to account for anything trimmed off), //and also update the hidden input so it knows when changes are made. $this.text(plain(response.email)) .data('orig',response.email); $this.siblings('.media-editable-saved').addClass('media-editable-saved-show'); //after 1 second hide it again setTimeout(function () { $this.siblings('.media-editable-saved').removeClass('media-editable-saved-show'); }, 1000); } else { $this.text('') .data('orig',''); } /* if (response.message) { gjUtil.addMessage(response.message); } */ if (response.debug) { console.log('Debug: '+response.debug); } }).error(function () { //changing title ajax call failed geoUtil.addError('server error'); }); } }; Event.observe(window, 'load', function () { var paypalInplace = new Ajax.InPlaceEditor ($('paypal_id'), 'AJAX.php?controller=UserDetailChange&action=edit', { cancelControl:'button', onComplete: geoPaypalInplace.onComplete, {/literal} okText: '{$messages.500216|escape_js}', cancelText: '{$messages.500816|escape_js}', savingText: '{$messages.500817|escape_js}', clickToEditText: '{$messages.500215|escape_js}' {literal} jQuery(function () { jQuery('#paypal_id') .unbind() .data('orig',jQuery('#paypal_id').text().replace(/\s/g,'')) .on('focus', function () { jQuery('#savePaypal').show(); }) .on('blur',geoPaypalInplace.update) .on('keyup', function (e) { if (e.keyCode == 27) { //esc key pressed... cancel jQuery(this).text(jQuery(this).data('orig')) .blur(); } else if (e.keyCode == 13) { //trigger blur event which in turn should save the value jQuery(this).blur(); } }); if ('{/literal}{$paypal_id}{literal}'=='') { //it is blank! paypalInplace.enterEditMode('click'); } jQuery('#savePaypal').click(function (e) { e.preventDefault(); jQuery('#paypal_id').blur(); }); }); //]]> </script>
<div class="row_even"> <div id='update_response'> <label class="field_label">{$messages.500205}</label> <div class="inline"><div id="paypal_id" class="field" style="min-width: 250px;">{$paypal_id}</div></div> </div> </div>
<div class="row_even"> <div id='update_response'> <label class="field_label">{$messages.500205}</label> <div class="inline" style="position: relative;"> <div class="media-editable-saved"><img src="{external file='images/saved-check.png'}" alt="" /></div> <div id="paypal_id" class="field" style="min-width: 250px;" contenteditable="true">{$paypal_id}</div> </div> <a href="#" id="savePaypal" style="display: none;">{$messages.500216}</a> </div> </div>
<div class="row_even"> <div id='update_response'> <label class="field_label">{$messages.500205}</label> <div class="inline"><div id="paypal_id" class="field" style="min-width: 250px;">{$paypal_id}</div></div> <div class="inline" style="position: relative;"> <div class="media-editable-saved"><img src="{external file='images/saved-check.png'}" alt="" /></div> <div id="paypal_id" class="field" style="min-width: 250px;" contenteditable="true">{$paypal_id}</div> </div> <a href="#" id="savePaypal" style="display: none;">{$messages.500216}</a> </div> </div>
{add_footer_html} <script type="text/javascript"> //<![CDATA[ geoUtil.autoSubmitForm("gateway_post"); //]]> </script> {/add_footer_html}
{add_footer_html} <script type="text/javascript"> //<![CDATA[ gjUtil.autoSubmitForm("gateway_post"); //]]> </script> {/add_footer_html}
{add_footer_html} <script type="text/javascript"> //<![CDATA[ geoUtil.autoSubmitForm("gateway_post"); gjUtil.autoSubmitForm("gateway_post"); //]]> </script> {/add_footer_html}
*} {literal} <script type='text/javascript'> //<![CDATA[ Event.observe(window, 'load', function () { //stop any clicks to prevent clicking on links, and set style to crosshair //so people don't wonder why it says they can click but it doesn't do anything. $$('body')[0].observe('click', function (event) { event.stop(); //un-comment the following line to display a message when user clicks on something //alert('Links disabled in preview window.'); }).setStyle({cursor: 'crosshair'}); //also set the style for all the links to a crosshair $$('a').each(function (element) { element.setStyle({cursor: 'crosshair'})}); }); //]]> </script> {/literal}
*} {literal} <script> jQuery(function () { jQuery('body').click(function (e) { e.preventDefault(); }).css({ cursor: 'crosshair'}); //also set the style for all links to a crosshair jQuery('a').css({ cursor: 'crosshair'}); }); </script> {/literal}
*} {literal} <script type='text/javascript'> //<![CDATA[ Event.observe(window, 'load', function () { //stop any clicks to prevent clicking on links, and set style to crosshair //so people don't wonder why it says they can click but it doesn't do anything. $$('body')[0].observe('click', function (event) { event.stop(); //un-comment the following line to display a message when user clicks on something //alert('Links disabled in preview window.'); }).setStyle({cursor: 'crosshair'}); //also set the style for all the links to a crosshair $$('a').each(function (element) { element.setStyle({cursor: 'crosshair'})}); <script> jQuery(function () { jQuery('body').click(function (e) { e.preventDefault(); }).css({ cursor: 'crosshair'}); //also set the style for all links to a crosshair jQuery('a').css({ cursor: 'crosshair'}); }); //]]> </script> {/literal}
optionHTML = '<option value="">{$allCitiesLabel}</option>'; {rdelim} $('ziploc_cities_ddl').update(optionHTML); {rdelim} </script>
optionHTML = '<option value="">{$allCitiesLabel}</option>'; {rdelim} jQuery('#ziploc_cities_ddl').html(optionHTML); {rdelim} </script>
optionHTML = '<option value="">{$allCitiesLabel}</option>'; {rdelim} $('ziploc_cities_ddl').update(optionHTML); jQuery('#ziploc_cities_ddl').html(optionHTML); {rdelim} </script>
{* make sure radio buttons and dropdown don't de-sync *} <script type="text/javascript"> //reset radio button for FF users who hit refresh $('ziploc_default').checked = true; //reset form for IE users who come Back to the page Event.observe(window, 'load', function () {ldelim} myForm = $('search_form'); if(myForm) {ldelim} myForm.reset(); {rdelim} else {ldelim} $('ziploc_default').checked=true; {rdelim} {rdelim}); </script> {/add_footer_html} </td>
{* make sure radio buttons and dropdown don't de-sync *} <script type="text/javascript"> //reset radio button for FF users who hit refresh jQuery('#ziploc_default').prop('checked', true); //reset form for IE users who come Back to the page jQuery(function () { myForm = jQuery('#search_form'); if(myForm.length) { myForm.reset(); } else { jQuery('#ziploc_default').prop('checked', true); } }); </script> {/add_footer_html} </td>
{* make sure radio buttons and dropdown don't de-sync *} <script type="text/javascript"> //reset radio button for FF users who hit refresh $('ziploc_default').checked = true; jQuery('#ziploc_default').prop('checked', true); //reset form for IE users who come Back to the page Event.observe(window, 'load', function () {ldelim} myForm = $('search_form'); if(myForm) {ldelim} jQuery(function () { myForm = jQuery('#search_form'); if(myForm.length) { myForm.reset(); {rdelim} else {ldelim} $('ziploc_default').checked=true; {rdelim} {rdelim}); } else { jQuery('#ziploc_default').prop('checked', true); } }); </script> {/add_footer_html} </td>
<script type="text/javascript"> //<![CDATA[ geoWysiwyg.loadTiny = function () { if (geoWysiwyg.tinyLoaded) { return false; } geoWysiwyg.tinyLoaded = true; tinyMCE.init({ theme : 'advanced',
<script type="text/javascript"> //<![CDATA[ gjWysiwyg.loadTiny = function () { if (gjWysiwyg.tinyLoaded) { return false; } gjWysiwyg.tinyLoaded = true; gjWysiwyg.localStorage = (typeof(Storage)!=='undefined'); tinyMCE.init({ theme : 'advanced',
<script type="text/javascript"> //<![CDATA[ geoWysiwyg.loadTiny = function () { if (geoWysiwyg.tinyLoaded) { gjWysiwyg.loadTiny = function () { if (gjWysiwyg.tinyLoaded) { return false; } geoWysiwyg.tinyLoaded = true; gjWysiwyg.tinyLoaded = true; gjWysiwyg.localStorage = (typeof(Storage)!=='undefined'); tinyMCE.init({ theme : 'advanced',
}); {if $inAdmin} geoWysiwyg.editors = $$('.editor'); {/if} return true; }; {if !$inAdmin} //load tiny right away when not in admin geoWysiwyg.loadTiny(); //when page is loaded, init the editor Event.observe(window,'load',function () { //load tiny mce geoWysiwyg.editors = $$('.editor'); if (geoUtil.getCookie('tinyMCE') == 'off') { //now restore values, un-doing any damage that might have been done... geoWysiwyg.toggleTinyEditors(); } }); {/if} //]]>
}); {if $inAdmin} gjWysiwyg.editors = jQuery('.editor'); {/if} return true; }; {if !$inAdmin} //when page is loaded, init the editor jQuery(function () { gjWysiwyg.localStorage = (typeof(Storage)!=='undefined'); if (!gjWysiwyg.localStorage || localStorage.tinyMCE!='off') { gjWysiwyg.loadTiny(); } gjWysiwyg.editors = jQuery('.editor'); }); {/if} //]]>
}); {if $inAdmin} geoWysiwyg.editors = $$('.editor'); gjWysiwyg.editors = jQuery('.editor'); {/if} return true; }; {if !$inAdmin} //load tiny right away when not in admin geoWysiwyg.loadTiny(); //when page is loaded, init the editor Event.observe(window,'load',function () { //load tiny mce geoWysiwyg.editors = $$('.editor'); if (geoUtil.getCookie('tinyMCE') == 'off') { //now restore values, un-doing any damage that might have been done... geoWysiwyg.toggleTinyEditors(); jQuery(function () { gjWysiwyg.localStorage = (typeof(Storage)!=='undefined'); if (!gjWysiwyg.localStorage || localStorage.tinyMCE!='off') { gjWysiwyg.loadTiny(); } gjWysiwyg.editors = jQuery('.editor'); }); {/if} //]]>
</table> </div> {add_footer_html} <script type="text/javascript"> {literal} showing = false; var showActionsForRow = function(row) { //hide previously chosen action bar if(showing !== false) { $('actions_'+showing).hide(); $('button_'+showing).show(); } //hide this row's manage button, and show its action bar $('button_'+row).hide(); $('actions_'+row).show(); showing = row; };
</table> </div> {add_footer_html} <script> showing = false; var showActionsForRow = function(row) { //hide previously chosen action bar if(showing !== false) { jQuery('#actions_'+showing).hide(); jQuery('#button_'+showing).show(); } //hide this row's manage button, and show its action bar jQuery('#button_'+row).hide(); jQuery('#actions_'+row).show(); showing = row; };
</table> </div> {add_footer_html} <script type="text/javascript"> {literal} <script> showing = false; var showActionsForRow = function(row) { //hide previously chosen action bar if(showing !== false) { $('actions_'+showing).hide(); $('button_'+showing).show(); jQuery('#actions_'+showing).hide(); jQuery('#button_'+showing).show(); } //hide this row's manage button, and show its action bar $('button_'+row).hide(); $('actions_'+row).show(); jQuery('#button_'+row).hide(); jQuery('#actions_'+row).show(); showing = row; };
return false; }); }); {/literal} </script> {/add_footer_html}
return false; }); }); </script> {/add_footer_html}
return false; }); }); {/literal} </script> {/add_footer_html}
{/if} {/if} <script type="text/javascript"> {literal} showing = false; var showActionsForRow = function(row) { //hide previously chosen action bar if(showing !== false) { $('actions_'+showing).hide(); $('button_'+showing).show(); } //hide this row's manage button, and show its action bar $('button_'+row).hide(); $('actions_'+row).show(); showing = row; }; {/literal} </script> {if count($pending) > 0} <br />
{/if} {/if} {add_footer_html} <script> showing = false; var showActionsForRow = function(row) { //hide previously chosen action bar if(showing !== false) { jQuery('#actions_'+showing).hide(); jQuery('#button_'+showing).show(); } //hide this row's manage button, and show its action bar jQuery('#button_'+row).hide(); jQuery('#actions_'+row).show(); showing = row; }; </script> {/add_footer_html} {if count($pending) > 0} <br />
{/if} {/if} <script type="text/javascript"> {literal} {add_footer_html} <script> showing = false; var showActionsForRow = function(row) { //hide previously chosen action bar if(showing !== false) { $('actions_'+showing).hide(); $('button_'+showing).show(); jQuery('#actions_'+showing).hide(); jQuery('#button_'+showing).show(); } //hide this row's manage button, and show its action bar $('button_'+row).hide(); $('actions_'+row).show(); jQuery('#button_'+row).hide(); jQuery('#actions_'+row).show(); showing = row; }; {/literal} </script> {/add_footer_html} {if count($pending) > 0} <br />
1316 - new payment gateway: Mollie.nl (iDEAL payments) - Sponsored
1348 - Updated to Smarty v3.1.19
- No Security fixes or patches for this release.
1344 - Buy Now price display truncates too many trailing zeroes
1334 - Corrected some typos in the default CSS
1335 - Bulk Uploader: fixed deleting a previous upload not actually removing associated listings
1336 - Bulk Uploader: certain fields ignore any "default" values
1338 - User Ratings selection stars don't work if delaying javascript to end of page.
1340 - image description display configuration ignored in gallery image display of listing display page
1341 - Invited bidders do not see "make bid" button
1342 - Make bid button displaying to banned bidders
1343 - Geographic Navigation: Restored absolutized "floating" functionality to change_region_link's js nav box
1346 - RWD resizing broken for main listing images
1347 - Sharing: "method" buttons missing from My Account > Sharing page
1349 - Added cost fields not displayed in "bid verify" page after bidding
1350 - upgrade doesn't copy category images from top-level categories to new db structure
1351 - login/registration spinner graphic sometimes missing
1352 - Charity Tools: some Charitable Badge options were not correctly shown as purchasable choices
1353 - fixed a couple places where date formats didn't follow the admin settings
1354 - category count not updated when user deletes his own listing from My Active Listings
1355 - Admin listing creation/edit mangles double-quotes in listing titles
1356 - fatal error when Copying categories
1345 - Admin Restart Listing form shows incorrect timestamp
Reference Purposes Only: Like the rest of this changelog, the template changes below are for reference purposes only, not (necessarily) a list of changes everyone needs to follow. Refer to the full update instructions to find if you need to make any template changes during an update.
"section" not the entire page. */ max-width: 100%; overflow: auto; text-overflow: ellipses; margin-bottom: .6em; }
"section" not the entire page. */ max-width: 100%; overflow: auto; text-overflow: ellipsis; margin-bottom: .6em; }
"section" not the entire page. */ max-width: 100%; overflow: auto; text-overflow: ellipses; text-overflow: ellipsis; margin-bottom: .6em; }
max-width: 30em; overflow: hidden; display: none; text-overflow: ellipses; max-height: 100%; }
max-width: 30em; overflow: hidden; display: none; text-overflow: ellipsis; max-height: 100%; }
max-width: 30em; overflow: hidden; display: none; text-overflow: ellipses; text-overflow: ellipsis; max-height: 100%; }
font-style: italic; display: block; white-space: nowrap; text-overflow: ellipses; } @media only screen and (min-width: 50em) {
font-style: italic; display: block; white-space: nowrap; text-overflow: ellipsis; } @media only screen and (min-width: 50em) {
font-style: italic; display: block; white-space: nowrap; text-overflow: ellipses; text-overflow: ellipsis; } @media only screen and (min-width: 50em) {
font-weight: bold; text-shadow: 2px 2px 0 #FFF; text-align: center; } /* Fancy Search Box */
font-weight: bold; text-shadow: 2px 2px 0 #FFF; text-align: center; margin-top: -0.5em; margin-left: 0.5em; } /* Fancy Search Box */
font-weight: bold; text-shadow: 2px 2px 0 #FFF; text-align: center; margin-top: -0.5em; margin-left: 0.5em; } /* Fancy Search Box */
font-weight: normal; font-size: .81rem; font-face: 'trebuchet MS', arial, helvetica; } /* Here are some fancy shadow DOM pseudo selectors.. Goal is to change color of
font-weight: normal; font-size: .81rem; font-family: 'trebuchet MS', arial, helvetica; } /* Here are some fancy shadow DOM pseudo selectors.. Goal is to change color of
font-weight: normal; font-size: .81rem; font-face: 'trebuchet MS', arial, helvetica; font-family: 'trebuchet MS', arial, helvetica; } /* Here are some fancy shadow DOM pseudo selectors.. Goal is to change color of
/* For gallery pics, image does not float or have border */ float: none; border: none; margin: none; } .listing_set article p {
/* For gallery pics, image does not float or have border */ float: none; border: none; margin: auto; } .listing_set article p {
/* For gallery pics, image does not float or have border */ float: none; border: none; margin: none; margin: auto; } .listing_set article p {
/* This hides the radio button from showing */ position: absolute; width:1px; heigh: 1px; overflow: hidden; }
/* This hides the radio button from showing */ position: absolute; width:1px; height: 1px; overflow: hidden; }
/* This hides the radio button from showing */ position: absolute; width:1px; heigh: 1px; height: 1px; overflow: hidden; }
//specific to "gallery" view: ("filmstrip" does this a bit further down, with different class names) //Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; $this.find('.bigLeadImage a > img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.bigLeadImage a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.bigLeadImage').css({ 'min-height':(tallestBig+1)+'px', //+1 here prevents some more jumping 'min-width':maxWidth+'px' }); } if ($this.find('.filmstrip_strip_container').length) {
//specific to "gallery" view: ("filmstrip" does this a bit further down, with different class names) //Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0; $this.find('.bigLeadImage a > img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); }); $this.find('.bigLeadImage a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); }); $this.find('.bigLeadImage').css({ 'min-height':(tallestBig+1)+'px' //+1 here prevents some more jumping }); } if ($this.find('.filmstrip_strip_container').length) {
//specific to "gallery" view: ("filmstrip" does this a bit further down, with different class names) //Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; var tallestBig=0; $this.find('.bigLeadImage a > img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.bigLeadImage a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.bigLeadImage').css({ 'min-height':(tallestBig+1)+'px', //+1 here prevents some more jumping 'min-width':maxWidth+'px' }); 'min-height':(tallestBig+1)+'px' //+1 here prevents some more jumping }); } if ($this.find('.filmstrip_strip_container').length) {
//Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; $this.find('.filmstrip_main_img a>img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img').css({ 'min-height':(tallestBig+1)+'px', //+1 here prevents some more jumping 'min-width':maxWidth+'px' }); //now get the infernal hovers to work
//Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0; $this.find('.filmstrip_main_img a>img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); }); $this.find('.filmstrip_main_img a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); }); $this.find('.filmstrip_main_img').css({ 'min-height':(tallestBig+1)+'px' //+1 here prevents some more jumping }); //now get the infernal hovers to work
//Set min width/height on big image according to largest dimensions //so that the big img doesn't jump around. var tallestBig=0, maxWidth=0; var tallestBig=0; $this.find('.filmstrip_main_img a>img').each(function(){ //this only correctly gets dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img a').each(function(){ //this does NOT correctly get dimensions for the first image tallestBig = Math.max(tallestBig, jQuery(this).outerHeight()); maxWidth = Math.max(maxWidth, jQuery(this).outerWidth()); }); $this.find('.filmstrip_main_img').css({ 'min-height':(tallestBig+1)+'px', //+1 here prevents some more jumping 'min-width':maxWidth+'px' 'min-height':(tallestBig+1)+'px' //+1 here prevents some more jumping }); //now get the infernal hovers to work
*/ autoSubmitForm : function (form, replaceTxt) { jQuery(function () { var myForm = jQuery('#'+form); if (myForm && myForm.length) { if (replaceTxt) { //7/7/14 -- not sure why this is here. doesn't seem to serve any practical purpose and sometimes makes the spinner graphic go wonky //window.location.replace(replaceTxt); } myForm.submit(); } }); },
*/ autoSubmitForm : function (form, replaceTxt) { jQuery(function () { setTimeout(function() { var myForm = jQuery('#'+form); if (myForm && myForm.length) { if (replaceTxt) { window.location.replace(replaceTxt); } myForm.submit(); } }, 2000); //wait two seconds after page loads, then go! }); },
*/ autoSubmitForm : function (form, replaceTxt) { jQuery(function () { var myForm = jQuery('#'+form); if (myForm && myForm.length) { if (replaceTxt) { //7/7/14 -- not sure why this is here. doesn't seem to serve any practical purpose and sometimes makes the spinner graphic go wonky //window.location.replace(replaceTxt); setTimeout(function() { var myForm = jQuery('#'+form); if (myForm && myForm.length) { if (replaceTxt) { window.location.replace(replaceTxt); } myForm.submit(); } myForm.submit(); } }, 2000); //wait two seconds after page loads, then go! }); },
</dl> </div> <div class="half_column_left normal-whitespace"> <div class="title2">Sell Something...</div> <dl> <dt>List Your Item</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Fast and Easy-to-use Listing Process <ul class="checklist"> <li>Choose a Category</li> <li>Enter Item Details</li> <li>Upload Your Photos</li> </ul> </dd> <dt>Receive Offers from Buyers</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Email notices are sent directly to your inbox from interested buyers.</dd> </dl> </div> <div class="half_column_right normal-whitespace"> <div class="title2">Buy Something...</div> <dl> <dt>Start Your Search</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Several Search Options to Choose from <ul class="checklist"> <li>Browse a Category</li> <li>Quick or Advanced Searches</li> <li>Auto-Search Notifications by Email</li> </ul> </dd> <dt>Make Offers to Sellers</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Contact Sellers directly through our on-site messaging system.</dd> </dl> </div> </div> <div style="clear:both;">
</dl> </div> <div style="width: 70%; margin: 0 auto;"> <div class="half_column_left normal-whitespace"> <div class="title2">Sell Something...</div> <dl> <dt>List Your Item</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Fast and Easy-to-use Listing Process <ul class="checklist"> <li>Choose a Category</li> <li>Enter Item Details</li> <li>Upload Your Photos</li> </ul> </dd> <dt>Receive Offers from Buyers</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Email notices are sent directly to your inbox from interested buyers.</dd> </dl> </div> <div class="half_column_right normal-whitespace"> <div class="title2">Buy Something...</div> <dl> <dt>Start Your Search</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Several Search Options to Choose from <ul class="checklist"> <li>Browse a Category</li> <li>Quick or Advanced Searches</li> <li>Auto-Search Notifications by Email</li> </ul> </dd> <dt>Make Offers to Sellers</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Contact Sellers directly through our on-site messaging system.</dd> </dl> </div> </div> </div> <div style="clear:both;">
</dl> </div> <div class="half_column_left normal-whitespace"> <div class="title2">Sell Something...</div> <dl> <dt>List Your Item</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Fast and Easy-to-use Listing Process <ul class="checklist"> <li>Choose a Category</li> <li>Enter Item Details</li> <li>Upload Your Photos</li> </ul> </dd> <dt>Receive Offers from Buyers</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Email notices are sent directly to your inbox from interested buyers.</dd> </dl> </div> <div class="half_column_right normal-whitespace"> <div class="title2">Buy Something...</div> <dl> <dt>Start Your Search</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Several Search Options to Choose from <ul class="checklist"> <li>Browse a Category</li> <li>Quick or Advanced Searches</li> <li>Auto-Search Notifications by Email</li> </ul> </dd> <dt>Make Offers to Sellers</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Contact Sellers directly through our on-site messaging system.</dd> </dl> </div> <div style="width: 70%; margin: 0 auto;"> <div class="half_column_left normal-whitespace"> <div class="title2">Sell Something...</div> <dl> <dt>List Your Item</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Fast and Easy-to-use Listing Process <ul class="checklist"> <li>Choose a Category</li> <li>Enter Item Details</li> <li>Upload Your Photos</li> </ul> </dd> <dt>Receive Offers from Buyers</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Email notices are sent directly to your inbox from interested buyers.</dd> </dl> </div> <div class="half_column_right normal-whitespace"> <div class="title2">Buy Something...</div> <dl> <dt>Start Your Search</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Several Search Options to Choose from <ul class="checklist"> <li>Browse a Category</li> <li>Quick or Advanced Searches</li> <li>Auto-Search Notifications by Email</li> </ul> </dd> <dt>Make Offers to Sellers</dt> <dd class="image"><img src="{external file='images/backgrounds/bullet_list_checkmark.gif'}" alt="bullet" title="bullet" width="30" height="30" /></dd> <dd>Contact Sellers directly through our on-site messaging system.</dd> </dl> </div> </div> </div> <div style="clear:both;">
</div> {if !$is_anon} {* this user is logged in, so he is able to rate other users. Add the rating overlay/script *} <script> originalRating_{$id} = [ jQuery('#user_rating_{$id}_star_1').html(), jQuery('#user_rating_{$id}_star_2').html(), jQuery('#user_rating_{$id}_star_3').html(), jQuery('#user_rating_{$id}_star_4').html(), jQuery('#user_rating_{$id}_star_5').html() ]; jQuery('.user_rating_star').css('cursor','pointer'); //show a hand cursor when over the ratings ShowRating_{$id} = function(rating, obj) { if(jQuery(obj).is('.block-events')) { return; } for(i=1; i<=5; i++) { if(i <= rating) { jQuery('#user_rating_{$id}_star_'+i).html("<img src=\"{external file='images/user_rating_selected.png'}\" alt=\"\" />"); } else { jQuery('#user_rating_{$id}_star_'+i).html("<img src=\"{external file='images/user_rating_empty.png'}\" alt=\"\" />"); } } }; SendRating_{$id} = function(rating) { jQuery.post('AJAX.php?controller=UserRating&action=SetRating', { newRating: rating, about: {$about} }, function(returned) { if(returned == 'SAVED') { //rating saved to DB OK. Make sure we're showing it, then replace the contents of the 'default' array ShowRating_{$id}(rating); originalRating_{$id} = [ jQuery('#user_rating_{$id}_star_1').html(), jQuery('#user_rating_{$id}_star_2').html(), jQuery('#user_rating_{$id}_star_3').html(), jQuery('#user_rating_{$id}_star_4').html(), jQuery('#user_rating_{$id}_star_5').html() ]; jQuery('#user_rating_success_{$id}').show('fast'); setTimeout(function(){ jQuery('#user_rating_success_{$id}').hide('fast'); },3000); } }, 'html' ); }; CancelShowRating_{$id} = function() { jQuery('#user_rating_{$id}_star_1').html(originalRating_{$id}[0]); jQuery('#user_rating_{$id}_star_2').html(originalRating_{$id}[1]); jQuery('#user_rating_{$id}_star_3').html(originalRating_{$id}[2]); jQuery('#user_rating_{$id}_star_4').html(originalRating_{$id}[3]); jQuery('#user_rating_{$id}_star_5').html(originalRating_{$id}[4]); }; //set up event observers jQuery(document).ready(function(){ jQuery('#user_rating_wrapper').mouseleave(function(){ CancelShowRating_{$id}(); }); //need to add a blocking class on mouseenter, or else Safari gets hung up and never fires the onclick jQuery('#user_rating_{$id}_star_1').mouseenter(function(){ ShowRating_{$id}(1, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(1); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_2').mouseenter(function(){ ShowRating_{$id}(2, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(2); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_3').mouseenter(function(){ ShowRating_{$id}(3, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(3); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_4').mouseenter(function(){ ShowRating_{$id}(4, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(4); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_5').mouseenter(function(){ ShowRating_{$id}(5, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(5); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); }); </script> {/if}
</div> {if !$is_anon} {add_footer_html} {* this user is logged in, so he is able to rate other users. Add the rating overlay/script *} <script> originalRating_{$id} = [ jQuery('#user_rating_{$id}_star_1').html(), jQuery('#user_rating_{$id}_star_2').html(), jQuery('#user_rating_{$id}_star_3').html(), jQuery('#user_rating_{$id}_star_4').html(), jQuery('#user_rating_{$id}_star_5').html() ]; jQuery('.user_rating_star').css('cursor','pointer'); //show a hand cursor when over the ratings ShowRating_{$id} = function(rating, obj) { if(jQuery(obj).is('.block-events')) { return; } for(i=1; i<=5; i++) { if(i <= rating) { jQuery('#user_rating_{$id}_star_'+i).html("<img src=\"{external file='images/user_rating_selected.png'}\" alt=\"\" />"); } else { jQuery('#user_rating_{$id}_star_'+i).html("<img src=\"{external file='images/user_rating_empty.png'}\" alt=\"\" />"); } } }; SendRating_{$id} = function(rating) { jQuery.post('AJAX.php?controller=UserRating&action=SetRating', { newRating: rating, about: {$about} }, function(returned) { if(returned == 'SAVED') { //rating saved to DB OK. Make sure we're showing it, then replace the contents of the 'default' array ShowRating_{$id}(rating); originalRating_{$id} = [ jQuery('#user_rating_{$id}_star_1').html(), jQuery('#user_rating_{$id}_star_2').html(), jQuery('#user_rating_{$id}_star_3').html(), jQuery('#user_rating_{$id}_star_4').html(), jQuery('#user_rating_{$id}_star_5').html() ]; jQuery('#user_rating_success_{$id}').show('fast'); setTimeout(function(){ jQuery('#user_rating_success_{$id}').hide('fast'); },3000); } }, 'html' ); }; CancelShowRating_{$id} = function() { jQuery('#user_rating_{$id}_star_1').html(originalRating_{$id}[0]); jQuery('#user_rating_{$id}_star_2').html(originalRating_{$id}[1]); jQuery('#user_rating_{$id}_star_3').html(originalRating_{$id}[2]); jQuery('#user_rating_{$id}_star_4').html(originalRating_{$id}[3]); jQuery('#user_rating_{$id}_star_5').html(originalRating_{$id}[4]); }; //set up event observers jQuery(document).ready(function(){ jQuery('#user_rating_wrapper').mouseleave(function(){ CancelShowRating_{$id}(); }); //need to add a blocking class on mouseenter, or else Safari gets hung up and never fires the onclick jQuery('#user_rating_{$id}_star_1').mouseenter(function(){ ShowRating_{$id}(1, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(1); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_2').mouseenter(function(){ ShowRating_{$id}(2, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(2); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_3').mouseenter(function(){ ShowRating_{$id}(3, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(3); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_4').mouseenter(function(){ ShowRating_{$id}(4, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(4); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_5').mouseenter(function(){ ShowRating_{$id}(5, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(5); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); }); </script> {/add_footer_html} {/if}
</div> {if !$is_anon} {* this user is logged in, so he is able to rate other users. Add the rating overlay/script *} <script> originalRating_{$id} = [ jQuery('#user_rating_{$id}_star_1').html(), jQuery('#user_rating_{$id}_star_2').html(), jQuery('#user_rating_{$id}_star_3').html(), jQuery('#user_rating_{$id}_star_4').html(), jQuery('#user_rating_{$id}_star_5').html() ]; jQuery('.user_rating_star').css('cursor','pointer'); //show a hand cursor when over the ratings ShowRating_{$id} = function(rating, obj) { if(jQuery(obj).is('.block-events')) { return; } for(i=1; i<=5; i++) { if(i <= rating) { jQuery('#user_rating_{$id}_star_'+i).html("<img src=\"{external file='images/user_rating_selected.png'}\" alt=\"\" />"); } else { jQuery('#user_rating_{$id}_star_'+i).html("<img src=\"{external file='images/user_rating_empty.png'}\" alt=\"\" />"); {add_footer_html} {* this user is logged in, so he is able to rate other users. Add the rating overlay/script *} <script> originalRating_{$id} = [ jQuery('#user_rating_{$id}_star_1').html(), jQuery('#user_rating_{$id}_star_2').html(), jQuery('#user_rating_{$id}_star_3').html(), jQuery('#user_rating_{$id}_star_4').html(), jQuery('#user_rating_{$id}_star_5').html() ]; jQuery('.user_rating_star').css('cursor','pointer'); //show a hand cursor when over the ratings ShowRating_{$id} = function(rating, obj) { if(jQuery(obj).is('.block-events')) { return; } } }; SendRating_{$id} = function(rating) { jQuery.post('AJAX.php?controller=UserRating&action=SetRating', { newRating: rating, about: {$about} }, function(returned) { if(returned == 'SAVED') { //rating saved to DB OK. Make sure we're showing it, then replace the contents of the 'default' array ShowRating_{$id}(rating); originalRating_{$id} = [ jQuery('#user_rating_{$id}_star_1').html(), jQuery('#user_rating_{$id}_star_2').html(), jQuery('#user_rating_{$id}_star_3').html(), jQuery('#user_rating_{$id}_star_4').html(), jQuery('#user_rating_{$id}_star_5').html() ]; jQuery('#user_rating_success_{$id}').show('fast'); setTimeout(function(){ jQuery('#user_rating_success_{$id}').hide('fast'); },3000); for(i=1; i<=5; i++) { if(i <= rating) { jQuery('#user_rating_{$id}_star_'+i).html("<img src=\"{external file='images/user_rating_selected.png'}\" alt=\"\" />"); } else { jQuery('#user_rating_{$id}_star_'+i).html("<img src=\"{external file='images/user_rating_empty.png'}\" alt=\"\" />"); } }, 'html' ); }; CancelShowRating_{$id} = function() { jQuery('#user_rating_{$id}_star_1').html(originalRating_{$id}[0]); jQuery('#user_rating_{$id}_star_2').html(originalRating_{$id}[1]); jQuery('#user_rating_{$id}_star_3').html(originalRating_{$id}[2]); jQuery('#user_rating_{$id}_star_4').html(originalRating_{$id}[3]); jQuery('#user_rating_{$id}_star_5').html(originalRating_{$id}[4]); }; //set up event observers jQuery(document).ready(function(){ jQuery('#user_rating_wrapper').mouseleave(function(){ CancelShowRating_{$id}(); }); } }; //need to add a blocking class on mouseenter, or else Safari gets hung up and never fires the onclick jQuery('#user_rating_{$id}_star_1').mouseenter(function(){ ShowRating_{$id}(1, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(1); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_2').mouseenter(function(){ ShowRating_{$id}(2, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(2); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_3').mouseenter(function(){ ShowRating_{$id}(3, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(3); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_4').mouseenter(function(){ ShowRating_{$id}(4, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(4); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_5').mouseenter(function(){ ShowRating_{$id}(5, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(5); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); }); </script> SendRating_{$id} = function(rating) { jQuery.post('AJAX.php?controller=UserRating&action=SetRating', { newRating: rating, about: {$about} }, function(returned) { if(returned == 'SAVED') { //rating saved to DB OK. Make sure we're showing it, then replace the contents of the 'default' array ShowRating_{$id}(rating); originalRating_{$id} = [ jQuery('#user_rating_{$id}_star_1').html(), jQuery('#user_rating_{$id}_star_2').html(), jQuery('#user_rating_{$id}_star_3').html(), jQuery('#user_rating_{$id}_star_4').html(), jQuery('#user_rating_{$id}_star_5').html() ]; jQuery('#user_rating_success_{$id}').show('fast'); setTimeout(function(){ jQuery('#user_rating_success_{$id}').hide('fast'); },3000); } }, 'html' ); }; CancelShowRating_{$id} = function() { jQuery('#user_rating_{$id}_star_1').html(originalRating_{$id}[0]); jQuery('#user_rating_{$id}_star_2').html(originalRating_{$id}[1]); jQuery('#user_rating_{$id}_star_3').html(originalRating_{$id}[2]); jQuery('#user_rating_{$id}_star_4').html(originalRating_{$id}[3]); jQuery('#user_rating_{$id}_star_5').html(originalRating_{$id}[4]); }; //set up event observers jQuery(document).ready(function(){ jQuery('#user_rating_wrapper').mouseleave(function(){ CancelShowRating_{$id}(); }); //need to add a blocking class on mouseenter, or else Safari gets hung up and never fires the onclick jQuery('#user_rating_{$id}_star_1').mouseenter(function(){ ShowRating_{$id}(1, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(1); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_2').mouseenter(function(){ ShowRating_{$id}(2, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(2); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_3').mouseenter(function(){ ShowRating_{$id}(3, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(3); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_4').mouseenter(function(){ ShowRating_{$id}(4, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(4); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); jQuery('#user_rating_{$id}_star_5').mouseenter(function(){ ShowRating_{$id}(5, this); jQuery(this).addClass('block-events'); }) .click(function(){ SendRating_{$id}(5); }) .mouseleave(function(){ jQuery(this).removeClass('block-events'); }); }); </script> {/add_footer_html} {/if}
<br /><br /> <strong>{$messages.500449}</strong> <span style="font-weight: bold; color: red;">{$balance|displayPrice}</span> <br /> <strong>{$messages.500450}</strong> {$balance_negative_date|date_format} <br /><br /> {$messages.500451} <br />
<br /><br /> <strong>{$messages.500449}</strong> <span style="font-weight: bold; color: red;">{$balance|displayPrice}</span> <br /> <strong>{$messages.500450}</strong> {$balance_negative_date|format_date:$short_date_format} <br /><br /> {$messages.500451} <br />
<br /><br /> <strong>{$messages.500449}</strong> <span style="font-weight: bold; color: red;">{$balance|displayPrice}</span> <br /> <strong>{$messages.500450}</strong> {$balance_negative_date|date_format} <strong>{$messages.500450}</strong> {$balance_negative_date|format_date:$short_date_format} <br /><br /> {$messages.500451} <br />
[{$transaction_id}] {$trans.desc} </td> <td class="{$row_color}"> {$trans.date|date_format} </td> {* uncomment to show gateway name on invoice <td class="{$row_color}">
[{$transaction_id}] {$trans.desc} </td> <td class="{$row_color}"> {$trans.date|format_date:$short_date_format} </td> {* uncomment to show gateway name on invoice <td class="{$row_color}">
[{$transaction_id}] {$trans.desc} </td> <td class="{$row_color}"> {$trans.date|date_format} {$trans.date|format_date:$short_date_format} </td> {* uncomment to show gateway name on invoice <td class="{$row_color}">
{/if} {/foreach} </div> <p class="imageTitle">{$images.1.image_text}</p> </div> {if $image_count>1} <div class="galleryThumbs">
{/if} {/foreach} </div> {if $image.image_text && $ad_configuration_data.maximum_image_description} <p class="imageTitle">{$images.1.image_text|truncate:$ad_configuration_data.maximum_image_description}</p> {/if} </div> {if $image_count>1} <div class="galleryThumbs">
{/if} {/foreach} </div> <p class="imageTitle">{$images.1.image_text}</p> {if $image.image_text && $ad_configuration_data.maximum_image_description} <p class="imageTitle">{$images.1.image_text|truncate:$ad_configuration_data.maximum_image_description}</p> {/if} </div> {if $image_count>1} <div class="galleryThumbs">
1027 - Bulk Uploader: needs multi-language support
1365 - Allow combining JS/CSS without minimizing them
- No Security fixes or patches for this release.
1368 - category-specific listing type restrictions are ignored
1357 - Fixed a few issues relating to the handling of pre-7.4 listing category values
1358 - Codemirror syntax highlighting sometimes fails to load with admin design editor
1359 - category breadcrumbs display backwards in listing placement
1360 - missing category images on listing placement category selection step
1364 - Charity Tools causes fatal error in admin Listing Placement Steps page
1367 - js/css minimizer can't handle server-side redirects
1370 - Fixed some bugs in the implementation of the Mollie.nl gateway
Reference Purposes Only: Like the rest of this changelog, the template changes below are for reference purposes only, not (necessarily) a list of changes everyone needs to follow. Refer to the full update instructions to find if you need to make any template changes during an update.
.mini_cancel:hover { border-color: #B9002F; /* required-primary */ background: #CE0034; /* required-primary */ text-decoration: none; }
.mini_cancel:hover { border-color: #B9002F; /* required-primary */ background: #CE0034; /* required-primary */ color: #FFFFFF; text-decoration: none; }
.mini_cancel:hover { border-color: #B9002F; /* required-primary */ background: #CE0034; /* required-primary */ color: #FFFFFF; text-decoration: none; }
<div class="main_cat_title"> <a href="{$process_form_url}&b={$cat.category_id}"> {if $display_cat_image ne 0 AND $cat.category_image ne ""} <img src="{external file=$cat.category_image}" alt="" /> {/if} <span class="category_title">{$cat.category_name|fromDB}</span> {if $display_cat_description && $cat.description}
<div class="main_cat_title"> <a href="{$process_form_url}&b={$cat.category_id}"> {if $display_cat_image ne 0 AND $cat.category_image ne ""} <img src="{external file=$cat.category_image|fromDB}" alt="" /> {/if} <span class="category_title">{$cat.category_name|fromDB}</span> {if $display_cat_description && $cat.description}
<div class="main_cat_title"> <a href="{$process_form_url}&b={$cat.category_id}"> {if $display_cat_image ne 0 AND $cat.category_image ne ""} <img src="{external file=$cat.category_image}" alt="" /> <img src="{external file=$cat.category_image|fromDB}" alt="" /> {/if} <span class="category_title">{$cat.category_name|fromDB}</span> {if $display_cat_description && $cat.description}
1392 - GeoNav: add reset button to main navigation
- No Security fixes or patches for this release.
1408 - deleting an item from the cart no longer sometimes shows "order complete" page
1374 - don't show "quantity" field when editing a classified
1375 - reset viewed/responded/forwarded counts on listing copy (including auction renewals)
1378 - Corrected a Fatal Error that could occur when setting up recurring payments with Paypal Pro
1379 - Sharing: fixed broken Craigslist popup
1382 - Allow including "smarty" files in a downloaded template set
1383 - fixed category tree modules highlighting the wrong category
1384 - search form's category selection dropdown no longer shows disabled categories
1385 - The "hide contact seller" and "hide other listings" switches on a listing may now correctly be changed during a Listing Edit
1387 - admin-deleting a listing from the front end now returns you to the correct page and updates category counts
1388 - Added some missing {add_footer_html} tags to "cost options" js templates
1390 - further improvements to mollie.nl payment gateway integration
1391 - Deleting a category now moves any listings it may have into its parent category, instead of deleting them outright.
1396 - Bulk Uploader: fixed saving "cost options" incorrectly when prices were not set.
1397 - "end time" selection now defaults to "tomorrow" instead of "now"
1400 - Fixed a bug that could cause admin edit/delete listing buttons to be shown to non-admin users
1405 - Fixed storefront add/remove wysiwyg links refreshing their host pages
1406 - improve handling of category re-counts
1407 - Exporter: fixed export data being empty when selecting multiple categories
1409 - adjust jQueryUI theme to better fit the default software design
1410 - fixed several issues relating to showing the Contact Seller/Friend forms in a lightbox
1401 - Storefront: "extra" contact fields were broken
Reference Purposes Only: Like the rest of this changelog, the template changes below are for reference purposes only, not (necessarily) a list of changes everyone needs to follow. Refer to the full update instructions to find if you need to make any template changes during an update.
font-weight: bold; } .success_box h1 { color: #17A400; font-size: 1.4rem;
font-weight: bold; } .ui-dialog .success_box { background: none; border: none; } .success_box h1 { color: #17A400; font-size: 1.4rem;
font-weight: bold; } .ui-dialog .success_box { background: none; border: none; } .success_box h1 { color: #17A400; font-size: 1.4rem;
/*! jQuery UI - v1.10.4 - 2014-02-27 * http://jqueryui.com * Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.theme.css * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.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}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.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}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_228ef1_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_ffd27a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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-start{background-position:-80px -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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
/*! jQuery UI - v1.11.1 - 2014-09-11 * http://jqueryui.com * Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=%234987c5&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=%234987c5&fcHeader=%23ffffff&iconColorHeader=%23ffffff&bgColorContent=%23eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=%23dddddd&fcContent=%23333333&iconColorContent=%23222222&bgColorDefault=%23f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=%23cccccc&fcDefault=%23666666&iconColorDefault=%234987c5&bgColorHover=%23dcdcdc&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=%23c0c0c0&fcHover=%23666666&iconColorHover=%234987c5&bgColorActive=%23ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=%23c0c0c0&fcActive=%234987c5&iconColorActive=%234987c5&bgColorHighlight=%23ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=%23fed22f&fcHighlight=%23363636&iconColorHighlight=%23228ef1&bgColorError=%23b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=%23cd0a0a&fcError=%23ffffff&iconColorError=%23ffd27a&bgColorOverlay=%23666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=%23000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:0.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:0.4em 2.1em 0.4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #4987c5;background:#4987c5 url("images/ui-bg_gloss-wave_35_4987c5_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#666}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#666;text-decoration:none}.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 #c0c0c0;background:#dcdcdc url("images/ui-bg_glass_100_dcdcdc_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#666}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#666;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #c0c0c0;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#4987c5}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#4987c5;text-decoration:none}.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}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_4987c5_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_4987c5_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_4987c5_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_228ef1_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_ffd27a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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-start{background-position:-80px -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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
/*! jQuery UI - v1.10.4 - 2014-02-27 /*! jQuery UI - v1.11.1 - 2014-09-11 * http://jqueryui.com * Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.theme.css * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=%234987c5&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=%234987c5&fcHeader=%23ffffff&iconColorHeader=%23ffffff&bgColorContent=%23eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=%23dddddd&fcContent=%23333333&iconColorContent=%23222222&bgColorDefault=%23f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=%23cccccc&fcDefault=%23666666&iconColorDefault=%234987c5&bgColorHover=%23dcdcdc&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=%23c0c0c0&fcHover=%23666666&iconColorHover=%234987c5&bgColorActive=%23ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=%23c0c0c0&fcActive=%234987c5&iconColorActive=%234987c5&bgColorHighlight=%23ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=%23fed22f&fcHighlight=%23363636&iconColorHighlight=%23228ef1&bgColorError=%23b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=%23cd0a0a&fcError=%23ffffff&iconColorError=%23ffd27a&bgColorOverlay=%23666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=%23000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #e78f08;background:#f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#1c94c4}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#1c94c4;text-decoration:none}.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}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#c77405;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #fbd850;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:bold;color:#eb8f00}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#eb8f00;text-decoration:none}.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}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_ffffff_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-active .ui-icon{background-image:url(images/ui-icons_ef8c08_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_228ef1_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_ffd27a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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-start{background-position:-80px -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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px} .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:none}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{position:relative;margin:0;padding:3px 1em 3px .4em;cursor:pointer;min-height:0;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-button{display:inline-block;overflow:hidden;position:relative;text-decoration:none;cursor:pointer}.ui-selectmenu-button span.ui-icon{right:0.5em;left:auto;margin-top:-8px;position:absolute;top:50%}.ui-selectmenu-button span.ui-selectmenu-text{text-align:left;padding:0.4em 2.1em 0.4em 1em;display:block;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#eee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #4987c5;background:#4987c5 url("images/ui-bg_gloss-wave_35_4987c5_500x100.png") 50% 50% repeat-x;color:#fff;font-weight:bold}.ui-widget-header a{color:#fff}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #ccc;background:#f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#666}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#666;text-decoration:none}.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 #c0c0c0;background:#dcdcdc url("images/ui-bg_glass_100_dcdcdc_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#666}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#666;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #c0c0c0;background:#fff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;font-weight:bold;color:#4987c5}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#4987c5;text-decoration:none}.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}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.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:#fff}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#fff}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_4987c5_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_4987c5_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_4987c5_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_228ef1_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_ffd27a_256x240.png")}.ui-icon-blank{background-position:16px 16px}.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-on{background-position:-96px -144px}.ui-icon-radio-off{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-start{background-position:-80px -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}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat;opacity:.5;filter:Alpha(Opacity=50)}.ui-widget-shadow{margin:-5px 0 0 -5px;padding:5px;background:#000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x;opacity:.2;filter:Alpha(Opacity=20);border-radius:5px}
return; } if (response.msg) { gjUtil.addMessage(response.msg); } if (response.preview) {
return; } if (response.msg) { gjUtil.addMessage(response.msg, 2000); } if (response.preview) {
return; } if (response.msg) { gjUtil.addMessage(response.msg); gjUtil.addMessage(response.msg, 2000); } if (response.preview) {
} if (response.msg) { gjUtil.addMessage(response.msg); } if (response.preview) {
} if (response.msg) { gjUtil.addMessage(response.msg, 2000); } if (response.preview) {
} if (response.msg) { gjUtil.addMessage(response.msg); gjUtil.addMessage(response.msg, 2000); } if (response.preview) {
} }); files = filesKept; gjUtil.addMessage(gjUtil.imageUpload._msgs.tooManyFiles+' '+gjUtil.imageUpload._maxImages); } var dummyCss = jQuery('#imagesProgressBarCss'); var props = gjUtil.imageUpload._progressProps;
} }); files = filesKept; gjUtil.addMessage(gjUtil.imageUpload._msgs.tooManyFiles+' '+gjUtil.imageUpload._maxImages, 2000); } var dummyCss = jQuery('#imagesProgressBarCss'); var props = gjUtil.imageUpload._progressProps;
} }); files = filesKept; gjUtil.addMessage(gjUtil.imageUpload._msgs.tooManyFiles+' '+gjUtil.imageUpload._maxImages); gjUtil.addMessage(gjUtil.imageUpload._msgs.tooManyFiles+' '+gjUtil.imageUpload._maxImages, 2000); } var dummyCss = jQuery('#imagesProgressBarCss'); var props = gjUtil.imageUpload._progressProps;
gjUtil.imageUpload.previewUpdate(response.preview); } if (response.msg) { gjUtil.addMessage(response.msg); } if (response.debug) {
gjUtil.imageUpload.previewUpdate(response.preview); } if (response.msg) { gjUtil.addMessage(response.msg, 2000); } if (response.debug) {
gjUtil.imageUpload.previewUpdate(response.preview); } if (response.msg) { gjUtil.addMessage(response.msg); gjUtil.addMessage(response.msg, 2000); } if (response.debug) {
//return the container, but make sure it is closed so it can be updated return jQuery('#_msgDialog').dialog('close'); }, addMessage : function (msg) { var box = gjUtil._initMsg(); box.attr({title : 'Error'}) .html(msg) //.dialog({title:' '}) .dialog('open'); }, addError : function (msg) { gjUtil.addMessage(msg);
//return the container, but make sure it is closed so it can be updated return jQuery('#_msgDialog').dialog('close'); }, addMessage : function (msg, autoClose) { var box = gjUtil._initMsg(); box.html(msg) .dialog('open'); if(autoClose > 0) { setTimeout(function(){if(box.dialog('isOpen')){box.dialog('close');}}, autoClose); } }, addError : function (msg) { gjUtil.addMessage(msg);
//return the container, but make sure it is closed so it can be updated return jQuery('#_msgDialog').dialog('close'); }, addMessage : function (msg) { addMessage : function (msg, autoClose) { var box = gjUtil._initMsg(); box.attr({title : 'Error'}) .html(msg) //.dialog({title:' '}) box.html(msg) .dialog('open'); if(autoClose > 0) { setTimeout(function(){if(box.dialog('isOpen')){box.dialog('close');}}, autoClose); } }, addError : function (msg) { gjUtil.addMessage(msg);
data.boxState = 'open'; }); }, /** * Closes the lightbox and restores everything to normal.
data.boxState = 'open'; }); }, /** * Easy way to tell if a lightbox is open or not * @returns Boolean */ isOpen : function() { var $this=jQuery(this), data = $this.data('gjLightbox'); if(data && data.boxState=='open') { return true; } return false; }, /** * Closes the lightbox and restores everything to normal.
data.boxState = 'open'; }); }, /** * Easy way to tell if a lightbox is open or not * @returns Boolean */ isOpen : function() { var $this=jQuery(this), data = $this.data('gjLightbox'); if(data && data.boxState=='open') { return true; } return false; }, /** * Closes the lightbox and restores everything to normal.
} if (data.msg){ gjUtil.addMessage(data.msg); } if (data.changed_slots) {
} if (data.msg){ gjUtil.addMessage(data.msg, 2000); } if (data.changed_slots) {
} if (data.msg){ gjUtil.addMessage(data.msg); gjUtil.addMessage(data.msg, 2000); } if (data.changed_slots) {
</div> {/if} <script> jQuery(function () { var buyer_options_bidding = { }; buyer_options_bidding.out_of_stock = '{$messages.502278|escape_js}'; {if $cost_options.hasCombined} buyer_options_bidding.combined = {$combined_json}; buyer_options_bidding.updateCombined = function () { jQuery('.costOptionCombined{$listing_id}').each(function () { var values = []; //get the "other" values... var thisId = jQuery(this).attr('id'); jQuery('.costOptionCombined{$listing_id}:not(#'+thisId+')').each(function () { if (jQuery(this).val()>0) { values[values.length] = jQuery(this).val(); } }); //the value before we do this.. we'll try to set it to this if possible var preValue = jQuery(this).val(); //disable all options jQuery(this).find('option:not([value='+preValue+'])').prop({ disabled: true }).each (function () { //add "out of stock" text to each option if (jQuery(this).val()==0) { //don't add it to this one return; } if (!jQuery(this).data('originalLabel')) { jQuery(this).data('originalLabel',jQuery(this).text()); } jQuery(this).text(jQuery(this).data('originalLabel')+buyer_options_bidding.out_of_stock); }); if (preValue!='0') { //enable 0 value jQuery(this).find('option[value=0]').prop({ disabled:false }); } //now enable the options that are good... for (var a=0; a<buyer_options_bidding.combined.length; a++) { //loop through the combined options... Find the ones that the "other" values //match the entries in there var thisOptions = buyer_options_bidding.combined[a].options; //loop through the "other" options, see if this has those in it var isGood = true; for (var b=0; b<values.length && isGood; b++) { if (thisOptions.indexOf(values[b]) == -1) { //not good isGood = false; } } if (isGood) { //enable the options in this one for (var c=0; c<thisOptions.length; c++) { jQuery(this).find('option[value='+thisOptions[c]+']').prop({ disabled:false}).each(function () { if (jQuery(this).data('originalLabel')) { //remove the "out of stock" message jQuery(this).text(jQuery(this).data('originalLabel')); } }); } } } }); }; buyer_options_bidding.verifyForm = function (e) { //verify to make sure none of the values are set to 0 if (jQuery('.costOptionCombined{$listing_id} option:selected[value=0]').length) { e.preventDefault(); gjUtil.addError('{$messages.502273|escape_js}'); } }; jQuery('#bid_data_form').submit(buyer_options_bidding.verifyForm); {/if} buyer_options_bidding.updateBuyNowCost = function () { if (!jQuery('#listing-buy-now-price-{$listing_id}').length) { return; } //update the buy now price displayed var cost = jQuery('#listing-buy-now-price-{$listing_id}').data('baseCost'); if (typeof cost === 'number') { jQuery('.buyer_options_selection{$listing_id}').each(function () { var currentOption = jQuery(this).find('option:selected'); if (currentOption.val()>0 && currentOption.data('addCost')) { var addCost = currentOption.data('addCost'); if (typeof addCost === 'number') { //safe to add them up, they are both numbers cost = cost+addCost; } else { //one of the values not a number, not able to "safely" update cost return; } } }); jQuery('#listing-buy-now-price-{$listing_id}').text(cost); } }; buyer_options_bidding.updateBuyNowUrl = function () { //get the option values (that are actually set) var formInfo = jQuery('.buyer_options_selection{$listing_id}').not(function () { return (jQuery(this).val()==0); }); formInfo = (formInfo.length)? '&'+formInfo.serialize() : ''; //send the selections to the buy now button jQuery('a.buy_now_link').each(function () { //see if URL matches this URL in case being used on browsing page if (!jQuery(this).data('baseHref')) { //keep track of "original" URL jQuery(this).data('baseHref',jQuery(this).attr('href')); } var baseHref = jQuery(this).data('baseHref'); if (baseHref.indexOf("b={$listing_id}&")>-1) { jQuery(this).attr('href', baseHref+formInfo); } else if (baseHref.indexOf("%2Aand%2Ab%2Ais%2A{$listing_id}%2A")>-1) { //right link, but sending info to login so have to do things different jQuery(this).attr('href', baseHref+formInfo.replace('&','%2Aand%2A').replace('=','%2Ais%2A')); } }); }; {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot = function () { jQuery('.buyer_options_selection{$listing_id}').each(function () { var fileSlot = jQuery(this).find('option:selected').data('fileSlot'); var imageBox = jQuery(this).prev('.buyer-option-image-box'); if (fileSlot) { var image = jQuery('.galleryThumbs li:nth-child('+fileSlot+') img'); } if (!imageBox.length) { //nothing can be done young one... return; } if (fileSlot && image.length) { imageBox.html(image.clone().width(50)) .show('fast'); } else { imageBox.hide(); } }); }; {/if} buyer_options_bidding.optionChanged = function () { buyer_options_bidding.updateBuyNowCost(); {if $cost_options.hasCombined} if (jQuery(this).hasClass('costOptionCombined{$listing_id}')) { buyer_options_bidding.updateCombined(); } {/if} buyer_options_bidding.updateBuyNowUrl(); {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot(); {/if} }; {if $cost_options.hasCombined} //initialize the combined quantities buyer_options_bidding.updateCombined(); {/if} //go ahead and adjust the cost & link starting out buyer_options_bidding.updateBuyNowCost(); buyer_options_bidding.updateBuyNowUrl(); {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot(); {/if} jQuery('.buyer_options_selection{$listing_id}').change(buyer_options_bidding.optionChanged); }); </script>
</div> {/if} {add_footer_html} <script> jQuery(function () { var buyer_options_bidding = { }; buyer_options_bidding.out_of_stock = '{$messages.502278|escape_js}'; {if $cost_options.hasCombined} buyer_options_bidding.combined = {$combined_json}; buyer_options_bidding.updateCombined = function () { jQuery('.costOptionCombined{$listing_id}').each(function () { var values = []; //get the "other" values... var thisId = jQuery(this).attr('id'); jQuery('.costOptionCombined{$listing_id}:not(#'+thisId+')').each(function () { if (jQuery(this).val()>0) { values[values.length] = jQuery(this).val(); } }); //the value before we do this.. we'll try to set it to this if possible var preValue = jQuery(this).val(); //disable all options jQuery(this).find('option:not([value='+preValue+'])').prop({ disabled: true }).each (function () { //add "out of stock" text to each option if (jQuery(this).val()==0) { //don't add it to this one return; } if (!jQuery(this).data('originalLabel')) { jQuery(this).data('originalLabel',jQuery(this).text()); } jQuery(this).text(jQuery(this).data('originalLabel')+buyer_options_bidding.out_of_stock); }); if (preValue!='0') { //enable 0 value jQuery(this).find('option[value=0]').prop({ disabled:false }); } //now enable the options that are good... for (var a=0; a<buyer_options_bidding.combined.length; a++) { //loop through the combined options... Find the ones that the "other" values //match the entries in there var thisOptions = buyer_options_bidding.combined[a].options; //loop through the "other" options, see if this has those in it var isGood = true; for (var b=0; b<values.length && isGood; b++) { if (thisOptions.indexOf(values[b]) == -1) { //not good isGood = false; } } if (isGood) { //enable the options in this one for (var c=0; c<thisOptions.length; c++) { jQuery(this).find('option[value='+thisOptions[c]+']').prop({ disabled:false}).each(function () { if (jQuery(this).data('originalLabel')) { //remove the "out of stock" message jQuery(this).text(jQuery(this).data('originalLabel')); } }); } } } }); }; buyer_options_bidding.verifyForm = function (e) { //verify to make sure none of the values are set to 0 if (jQuery('.costOptionCombined{$listing_id} option:selected[value=0]').length) { e.preventDefault(); gjUtil.addError('{$messages.502273|escape_js}'); } }; jQuery('#bid_data_form').submit(buyer_options_bidding.verifyForm); {/if} buyer_options_bidding.updateBuyNowCost = function () { if (!jQuery('#listing-buy-now-price-{$listing_id}').length) { return; } //update the buy now price displayed var cost = jQuery('#listing-buy-now-price-{$listing_id}').data('baseCost'); if (typeof cost === 'number') { jQuery('.buyer_options_selection{$listing_id}').each(function () { var currentOption = jQuery(this).find('option:selected'); if (currentOption.val()>0 && currentOption.data('addCost')) { var addCost = currentOption.data('addCost'); if (typeof addCost === 'number') { //safe to add them up, they are both numbers cost = cost+addCost; } else { //one of the values not a number, not able to "safely" update cost return; } } }); jQuery('#listing-buy-now-price-{$listing_id}').text(cost); } }; buyer_options_bidding.updateBuyNowUrl = function () { //get the option values (that are actually set) var formInfo = jQuery('.buyer_options_selection{$listing_id}').not(function () { return (jQuery(this).val()==0); }); formInfo = (formInfo.length)? '&'+formInfo.serialize() : ''; //send the selections to the buy now button jQuery('a.buy_now_link').each(function () { //see if URL matches this URL in case being used on browsing page if (!jQuery(this).data('baseHref')) { //keep track of "original" URL jQuery(this).data('baseHref',jQuery(this).attr('href')); } var baseHref = jQuery(this).data('baseHref'); if (baseHref.indexOf("b={$listing_id}&")>-1) { jQuery(this).attr('href', baseHref+formInfo); } else if (baseHref.indexOf("%2Aand%2Ab%2Ais%2A{$listing_id}%2A")>-1) { //right link, but sending info to login so have to do things different jQuery(this).attr('href', baseHref+formInfo.replace('&','%2Aand%2A').replace('=','%2Ais%2A')); } }); }; {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot = function () { jQuery('.buyer_options_selection{$listing_id}').each(function () { var fileSlot = jQuery(this).find('option:selected').data('fileSlot'); var imageBox = jQuery(this).prev('.buyer-option-image-box'); if (fileSlot) { var image = jQuery('.galleryThumbs li:nth-child('+fileSlot+') img'); } if (!imageBox.length) { //nothing can be done young one... return; } if (fileSlot && image.length) { imageBox.html(image.clone().width(50)) .show('fast'); } else { imageBox.hide(); } }); }; {/if} buyer_options_bidding.optionChanged = function () { buyer_options_bidding.updateBuyNowCost(); {if $cost_options.hasCombined} if (jQuery(this).hasClass('costOptionCombined{$listing_id}')) { buyer_options_bidding.updateCombined(); } {/if} buyer_options_bidding.updateBuyNowUrl(); {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot(); {/if} }; {if $cost_options.hasCombined} //initialize the combined quantities buyer_options_bidding.updateCombined(); {/if} //go ahead and adjust the cost & link starting out buyer_options_bidding.updateBuyNowCost(); buyer_options_bidding.updateBuyNowUrl(); {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot(); {/if} jQuery('.buyer_options_selection{$listing_id}').change(buyer_options_bidding.optionChanged); }); </script> {/add_footer_html}
</div> {/if} <script> jQuery(function () { var buyer_options_bidding = { }; buyer_options_bidding.out_of_stock = '{$messages.502278|escape_js}'; {if $cost_options.hasCombined} buyer_options_bidding.combined = {$combined_json}; {add_footer_html} <script> jQuery(function () { var buyer_options_bidding = { }; buyer_options_bidding.updateCombined = function () { jQuery('.costOptionCombined{$listing_id}').each(function () { var values = []; //get the "other" values... var thisId = jQuery(this).attr('id'); jQuery('.costOptionCombined{$listing_id}:not(#'+thisId+')').each(function () { if (jQuery(this).val()>0) { values[values.length] = jQuery(this).val(); } }); //the value before we do this.. we'll try to set it to this if possible var preValue = jQuery(this).val(); //disable all options jQuery(this).find('option:not([value='+preValue+'])').prop({ disabled: true }).each (function () { //add "out of stock" text to each option if (jQuery(this).val()==0) { //don't add it to this one return; buyer_options_bidding.out_of_stock = '{$messages.502278|escape_js}'; {if $cost_options.hasCombined} buyer_options_bidding.combined = {$combined_json}; buyer_options_bidding.updateCombined = function () { jQuery('.costOptionCombined{$listing_id}').each(function () { var values = []; //get the "other" values... var thisId = jQuery(this).attr('id'); jQuery('.costOptionCombined{$listing_id}:not(#'+thisId+')').each(function () { if (jQuery(this).val()>0) { values[values.length] = jQuery(this).val(); } }); //the value before we do this.. we'll try to set it to this if possible var preValue = jQuery(this).val(); //disable all options jQuery(this).find('option:not([value='+preValue+'])').prop({ disabled: true }).each (function () { //add "out of stock" text to each option if (jQuery(this).val()==0) { //don't add it to this one return; } if (!jQuery(this).data('originalLabel')) { jQuery(this).data('originalLabel',jQuery(this).text()); } jQuery(this).text(jQuery(this).data('originalLabel')+buyer_options_bidding.out_of_stock); }); if (preValue!='0') { //enable 0 value jQuery(this).find('option[value=0]').prop({ disabled:false }); } if (!jQuery(this).data('originalLabel')) { jQuery(this).data('originalLabel',jQuery(this).text()); //now enable the options that are good... for (var a=0; a<buyer_options_bidding.combined.length; a++) { //loop through the combined options... Find the ones that the "other" values //match the entries in there var thisOptions = buyer_options_bidding.combined[a].options; //loop through the "other" options, see if this has those in it var isGood = true; for (var b=0; b<values.length && isGood; b++) { if (thisOptions.indexOf(values[b]) == -1) { //not good isGood = false; } } if (isGood) { //enable the options in this one for (var c=0; c<thisOptions.length; c++) { jQuery(this).find('option[value='+thisOptions[c]+']').prop({ disabled:false}).each(function () { if (jQuery(this).data('originalLabel')) { //remove the "out of stock" message jQuery(this).text(jQuery(this).data('originalLabel')); } }); } } } jQuery(this).text(jQuery(this).data('originalLabel')+buyer_options_bidding.out_of_stock); }); if (preValue!='0') { //enable 0 value jQuery(this).find('option[value=0]').prop({ disabled:false }); }; buyer_options_bidding.verifyForm = function (e) { //verify to make sure none of the values are set to 0 if (jQuery('.costOptionCombined{$listing_id} option:selected[value=0]').length) { e.preventDefault(); gjUtil.addError('{$messages.502273|escape_js}'); } //now enable the options that are good... for (var a=0; a<buyer_options_bidding.combined.length; a++) { //loop through the combined options... Find the ones that the "other" values //match the entries in there var thisOptions = buyer_options_bidding.combined[a].options; //loop through the "other" options, see if this has those in it var isGood = true; for (var b=0; b<values.length && isGood; b++) { if (thisOptions.indexOf(values[b]) == -1) { //not good isGood = false; } } if (isGood) { //enable the options in this one for (var c=0; c<thisOptions.length; c++) { jQuery(this).find('option[value='+thisOptions[c]+']').prop({ disabled:false}).each(function () { if (jQuery(this).data('originalLabel')) { //remove the "out of stock" message jQuery(this).text(jQuery(this).data('originalLabel')); } }); }; jQuery('#bid_data_form').submit(buyer_options_bidding.verifyForm); {/if} buyer_options_bidding.updateBuyNowCost = function () { if (!jQuery('#listing-buy-now-price-{$listing_id}').length) { return; } //update the buy now price displayed var cost = jQuery('#listing-buy-now-price-{$listing_id}').data('baseCost'); if (typeof cost === 'number') { jQuery('.buyer_options_selection{$listing_id}').each(function () { var currentOption = jQuery(this).find('option:selected'); if (currentOption.val()>0 && currentOption.data('addCost')) { var addCost = currentOption.data('addCost'); if (typeof addCost === 'number') { //safe to add them up, they are both numbers cost = cost+addCost; } else { //one of the values not a number, not able to "safely" update cost return; } } }); jQuery('#listing-buy-now-price-{$listing_id}').text(cost); } }; buyer_options_bidding.updateBuyNowUrl = function () { //get the option values (that are actually set) var formInfo = jQuery('.buyer_options_selection{$listing_id}').not(function () { return (jQuery(this).val()==0); }); formInfo = (formInfo.length)? '&'+formInfo.serialize() : ''; //send the selections to the buy now button jQuery('a.buy_now_link').each(function () { //see if URL matches this URL in case being used on browsing page if (!jQuery(this).data('baseHref')) { //keep track of "original" URL jQuery(this).data('baseHref',jQuery(this).attr('href')); } var baseHref = jQuery(this).data('baseHref'); if (baseHref.indexOf("b={$listing_id}&")>-1) { jQuery(this).attr('href', baseHref+formInfo); } else if (baseHref.indexOf("%2Aand%2Ab%2Ais%2A{$listing_id}%2A")>-1) { //right link, but sending info to login so have to do things different jQuery(this).attr('href', baseHref+formInfo.replace('&','%2Aand%2A').replace('=','%2Ais%2A')); } }); }; buyer_options_bidding.verifyForm = function (e) { //verify to make sure none of the values are set to 0 if (jQuery('.costOptionCombined{$listing_id} option:selected[value=0]').length) { e.preventDefault(); gjUtil.addError('{$messages.502273|escape_js}'); } }; jQuery('#bid_data_form').submit(buyer_options_bidding.verifyForm); {/if} buyer_options_bidding.updateBuyNowCost = function () { if (!jQuery('#listing-buy-now-price-{$listing_id}').length) { return; } //update the buy now price displayed var cost = jQuery('#listing-buy-now-price-{$listing_id}').data('baseCost'); if (typeof cost === 'number') { jQuery('.buyer_options_selection{$listing_id}').each(function () { var currentOption = jQuery(this).find('option:selected'); if (currentOption.val()>0 && currentOption.data('addCost')) { var addCost = currentOption.data('addCost'); if (typeof addCost === 'number') { //safe to add them up, they are both numbers cost = cost+addCost; } else { //one of the values not a number, not able to "safely" update cost {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot = function () { jQuery('.buyer_options_selection{$listing_id}').each(function () { var fileSlot = jQuery(this).find('option:selected').data('fileSlot'); var imageBox = jQuery(this).prev('.buyer-option-image-box'); if (fileSlot) { var image = jQuery('.galleryThumbs li:nth-child('+fileSlot+') img'); } if (!imageBox.length) { //nothing can be done young one... return; } } }); jQuery('#listing-buy-now-price-{$listing_id}').text(cost); } }; buyer_options_bidding.updateBuyNowUrl = function () { //get the option values (that are actually set) var formInfo = jQuery('.buyer_options_selection{$listing_id}').not(function () { return (jQuery(this).val()==0); }); formInfo = (formInfo.length)? '&'+formInfo.serialize() : ''; if (fileSlot && image.length) { imageBox.html(image.clone().width(50)) .show('fast'); } else { imageBox.hide(); } }); }; {/if} //send the selections to the buy now button jQuery('a.buy_now_link').each(function () { //see if URL matches this URL in case being used on browsing page if (!jQuery(this).data('baseHref')) { //keep track of "original" URL jQuery(this).data('baseHref',jQuery(this).attr('href')); } var baseHref = jQuery(this).data('baseHref'); if (baseHref.indexOf("b={$listing_id}&")>-1) { jQuery(this).attr('href', baseHref+formInfo); } else if (baseHref.indexOf("%2Aand%2Ab%2Ais%2A{$listing_id}%2A")>-1) { //right link, but sending info to login so have to do things different jQuery(this).attr('href', baseHref+formInfo.replace('&','%2Aand%2A').replace('=','%2Ais%2A')); } }); }; {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot = function () { jQuery('.buyer_options_selection{$listing_id}').each(function () { var fileSlot = jQuery(this).find('option:selected').data('fileSlot'); var imageBox = jQuery(this).prev('.buyer-option-image-box'); if (fileSlot) { var image = jQuery('.galleryThumbs li:nth-child('+fileSlot+') img'); } if (!imageBox.length) { //nothing can be done young one... return; } if (fileSlot && image.length) { imageBox.html(image.clone().width(50)) .show('fast'); } else { imageBox.hide(); buyer_options_bidding.optionChanged = function () { buyer_options_bidding.updateBuyNowCost(); {if $cost_options.hasCombined} if (jQuery(this).hasClass('costOptionCombined{$listing_id}')) { buyer_options_bidding.updateCombined(); } }); {/if} buyer_options_bidding.updateBuyNowUrl(); {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot(); {/if} }; {/if} buyer_options_bidding.optionChanged = function () { buyer_options_bidding.updateBuyNowCost(); {if $cost_options.hasCombined} if (jQuery(this).hasClass('costOptionCombined{$listing_id}')) { buyer_options_bidding.updateCombined(); } //initialize the combined quantities buyer_options_bidding.updateCombined(); {/if} //go ahead and adjust the cost & link starting out buyer_options_bidding.updateBuyNowCost(); buyer_options_bidding.updateBuyNowUrl(); {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot(); {/if} }; {if $cost_options.hasCombined} //initialize the combined quantities buyer_options_bidding.updateCombined(); {/if} //go ahead and adjust the cost & link starting out buyer_options_bidding.updateBuyNowCost(); buyer_options_bidding.updateBuyNowUrl(); {if $cost_options.hasFileSlot} buyer_options_bidding.updateFileSlot(); {/if} jQuery('.buyer_options_selection{$listing_id}').change(buyer_options_bidding.optionChanged); }); </script> jQuery('.buyer_options_selection{$listing_id}').change(buyer_options_bidding.optionChanged); }); </script> {/add_footer_html}
</div> {/foreach} <script> jQuery(function () { var buyer_options{$listing_id} = { }; buyer_options{$listing_id}.out_of_stock = '{$messages.502277|escape_js}'; {if $hasCombined} buyer_options{$listing_id}.combined = {$combined_json}; buyer_options{$listing_id}.updateCombined = function () { jQuery('.costOptionCombined{$listing_id}').each(function () { var values = []; //get the "other" values... var thisId = jQuery(this).attr('id'); jQuery('.costOptionCombined{$listing_id}:not(#'+thisId+')').each(function () { if (jQuery(this).val()>0) { values[values.length] = jQuery(this).val(); } }); //the value before we do this.. we'll try to set it to this if possible var preValue = jQuery(this).val(); //disable all options jQuery(this).find('option:not([value='+preValue+'])').prop({ disabled: true }).each (function () { //add "out of stock" text to each option if (jQuery(this).val()==0) { //don't add it to this one return; } if (!jQuery(this).data('originalLabel')) { jQuery(this).data('originalLabel',jQuery(this).text()); } jQuery(this).text(jQuery(this).data('originalLabel')+buyer_options{$listing_id}.out_of_stock); }); if (preValue!='0') { //enable 0 value jQuery(this).find('option[value=0]').prop({ disabled:false }); } //now enable the options that are good... for (var a=0; a<buyer_options{$listing_id}.combined.length; a++) { //loop through the combined options... Find the ones that the "other" values //match the entries in there var thisOptions = buyer_options{$listing_id}.combined[a].options; //loop through the "other" options, see if this has those in it var isGood = true; for (var b=0; b<values.length && isGood; b++) { if (thisOptions.indexOf(values[b]) == -1) { //not good isGood = false; } } if (isGood) { //enable the options in this one for (var c=0; c<thisOptions.length; c++) { jQuery(this).find('option[value='+thisOptions[c]+']').prop({ disabled:false}).each(function () { if (jQuery(this).data('originalLabel')) { //remove the "out of stock" message jQuery(this).text(jQuery(this).data('originalLabel')); } }); } } } }); }; {/if} buyer_options{$listing_id}.updateBuyNowCost = function () { if (!jQuery('#listing-buy-now-price-{$listing_id}').length) { return; } //update the buy now price displayed var cost = jQuery('#listing-buy-now-price-{$listing_id}').data('baseCost'); if (typeof cost === 'number') { jQuery('.buyer_options_selection{$listing_id}').each(function () { var currentOption = jQuery(this).find('option:selected'); if (currentOption.val()>0 && currentOption.data('addCost')) { var addCost = currentOption.data('addCost'); if (typeof addCost === 'number') { //safe to add them up, they are both numbers cost = cost+addCost; } else { //one of the values not a number, not able to "safely" update cost return; } } }); jQuery('#listing-buy-now-price-{$listing_id}').text(cost); } }; buyer_options{$listing_id}.updateBuyNowUrl = function () { //get the option values (that are actually set) var formInfo = jQuery('.buyer_options_selection{$listing_id}').not(function () { return (jQuery(this).val()==0); }); formInfo = (formInfo.length)? '&'+formInfo.serialize() : ''; //send the selections to the buy now button jQuery('a.buy_now_link').each(function () { //see if URL matches this URL in case being used on browsing page if (!jQuery(this).data('baseHref')) { //keep track of "original" URL jQuery(this).data('baseHref',jQuery(this).attr('href')); } var baseHref = jQuery(this).data('baseHref'); if (baseHref.indexOf("b={$listing_id}&")>-1) { jQuery(this).attr('href', baseHref+formInfo); } else if (baseHref.indexOf("%2Aand%2Ab%2Ais%2A{$listing_id}%2A")>-1) { //right link, but sending info to login so have to do things different jQuery(this).attr('href', baseHref+formInfo.replace('&','%2Aand%2A').replace('=','%2Ais%2A')); } }); }; buyer_options{$listing_id}.updateFileSlot = function () { jQuery('.buyer_options_selection{$listing_id}').each(function () { var fileSlot = jQuery(this).find('option:selected').data('fileSlot'); var imageBox = jQuery(this).prev('.buyer-option-image-box'); if (fileSlot) { var image = jQuery('.galleryThumbs li:nth-child('+fileSlot+') img'); } if (!imageBox.length) { //nothing can be done young one... return; } if (fileSlot && image.length) { imageBox.html(image.clone().width(50)) .show('fast'); } else { imageBox.hide(); } }); }; buyer_options{$listing_id}.optionChanged = function () { buyer_options{$listing_id}.updateBuyNowCost(); {if $hasCombined} if (jQuery(this).hasClass('costOptionCombined{$listing_id}')) { buyer_options{$listing_id}.updateCombined(); } {/if} buyer_options{$listing_id}.updateBuyNowUrl(); buyer_options{$listing_id}.updateFileSlot(); }; {if $hasCombined} //initialize the combined quantities buyer_options{$listing_id}.updateCombined(); {/if} //go ahead and adjust the cost & link starting out buyer_options{$listing_id}.updateBuyNowCost(); buyer_options{$listing_id}.updateBuyNowUrl(); jQuery('.buyer-option-image-box').hide(); buyer_options{$listing_id}.updateFileSlot(); jQuery('.buyer_options_selection{$listing_id}').change(buyer_options{$listing_id}.optionChanged); }); </script>
</div> {/foreach} {add_footer_html} <script> jQuery(function () { var buyer_options{$listing_id} = { }; buyer_options{$listing_id}.out_of_stock = '{$messages.502277|escape_js}'; {if $hasCombined} buyer_options{$listing_id}.combined = {$combined_json}; buyer_options{$listing_id}.updateCombined = function () { jQuery('.costOptionCombined{$listing_id}').each(function () { var values = []; //get the "other" values... var thisId = jQuery(this).attr('id'); jQuery('.costOptionCombined{$listing_id}:not(#'+thisId+')').each(function () { if (jQuery(this).val()>0) { values[values.length] = jQuery(this).val(); } }); //the value before we do this.. we'll try to set it to this if possible var preValue = jQuery(this).val(); //disable all options jQuery(this).find('option:not([value='+preValue+'])').prop({ disabled: true }).each (function () { //add "out of stock" text to each option if (jQuery(this).val()==0) { //don't add it to this one return; } if (!jQuery(this).data('originalLabel')) { jQuery(this).data('originalLabel',jQuery(this).text()); } jQuery(this).text(jQuery(this).data('originalLabel')+buyer_options{$listing_id}.out_of_stock); }); if (preValue!='0') { //enable 0 value jQuery(this).find('option[value=0]').prop({ disabled:false }); } //now enable the options that are good... for (var a=0; a<buyer_options{$listing_id}.combined.length; a++) { //loop through the combined options... Find the ones that the "other" values //match the entries in there var thisOptions = buyer_options{$listing_id}.combined[a].options; //loop through the "other" options, see if this has those in it var isGood = true; for (var b=0; b<values.length && isGood; b++) { if (thisOptions.indexOf(values[b]) == -1) { //not good isGood = false; } } if (isGood) { //enable the options in this one for (var c=0; c<thisOptions.length; c++) { jQuery(this).find('option[value='+thisOptions[c]+']').prop({ disabled:false}).each(function () { if (jQuery(this).data('originalLabel')) { //remove the "out of stock" message jQuery(this).text(jQuery(this).data('originalLabel')); } }); } } } }); }; {/if} buyer_options{$listing_id}.updateBuyNowCost = function () { if (!jQuery('#listing-buy-now-price-{$listing_id}').length) { return; } //update the buy now price displayed var cost = jQuery('#listing-buy-now-price-{$listing_id}').data('baseCost'); if (typeof cost === 'number') { jQuery('.buyer_options_selection{$listing_id}').each(function () { var currentOption = jQuery(this).find('option:selected'); if (currentOption.val()>0 && currentOption.data('addCost')) { var addCost = currentOption.data('addCost'); if (typeof addCost === 'number') { //safe to add them up, they are both numbers cost = cost+addCost; } else { //one of the values not a number, not able to "safely" update cost return; } } }); jQuery('#listing-buy-now-price-{$listing_id}').text(cost); } }; buyer_options{$listing_id}.updateBuyNowUrl = function () { //get the option values (that are actually set) var formInfo = jQuery('.buyer_options_selection{$listing_id}').not(function () { return (jQuery(this).val()==0); }); formInfo = (formInfo.length)? '&'+formInfo.serialize() : ''; //send the selections to the buy now button jQuery('a.buy_now_link').each(function () { //see if URL matches this URL in case being used on browsing page if (!jQuery(this).data('baseHref')) { //keep track of "original" URL jQuery(this).data('baseHref',jQuery(this).attr('href')); } var baseHref = jQuery(this).data('baseHref'); if (baseHref.indexOf("b={$listing_id}&")>-1) { jQuery(this).attr('href', baseHref+formInfo); } else if (baseHref.indexOf("%2Aand%2Ab%2Ais%2A{$listing_id}%2A")>-1) { //right link, but sending info to login so have to do things different jQuery(this).attr('href', baseHref+formInfo.replace('&','%2Aand%2A').replace('=','%2Ais%2A')); } }); }; buyer_options{$listing_id}.updateFileSlot = function () { jQuery('.buyer_options_selection{$listing_id}').each(function () { var fileSlot = jQuery(this).find('option:selected').data('fileSlot'); var imageBox = jQuery(this).prev('.buyer-option-image-box'); if (fileSlot) { var image = jQuery('.galleryThumbs li:nth-child('+fileSlot+') img'); } if (!imageBox.length) { //nothing can be done young one... return; } if (fileSlot && image.length) { imageBox.html(image.clone().width(50)) .show('fast'); } else { imageBox.hide(); } }); }; buyer_options{$listing_id}.optionChanged = function () { buyer_options{$listing_id}.updateBuyNowCost(); {if $hasCombined} if (jQuery(this).hasClass('costOptionCombined{$listing_id}')) { buyer_options{$listing_id}.updateCombined(); } {/if} buyer_options{$listing_id}.updateBuyNowUrl(); buyer_options{$listing_id}.updateFileSlot(); }; {if $hasCombined} //initialize the combined quantities buyer_options{$listing_id}.updateCombined(); {/if} //go ahead and adjust the cost & link starting out buyer_options{$listing_id}.updateBuyNowCost(); buyer_options{$listing_id}.updateBuyNowUrl(); jQuery('.buyer-option-image-box').hide(); buyer_options{$listing_id}.updateFileSlot(); jQuery('.buyer_options_selection{$listing_id}').change(buyer_options{$listing_id}.optionChanged); }); </script> {/add_footer_html}
</div> {/foreach} <script> jQuery(function () { var buyer_options{$listing_id} = { }; buyer_options{$listing_id}.out_of_stock = '{$messages.502277|escape_js}'; {if $hasCombined} buyer_options{$listing_id}.combined = {$combined_json}; {add_footer_html} <script> jQuery(function () { var buyer_options{$listing_id} = { }; buyer_options{$listing_id}.updateCombined = function () { jQuery('.costOptionCombined{$listing_id}').each(function () { var values = []; //get the "other" values... var thisId = jQuery(this).attr('id'); jQuery('.costOptionCombined{$listing_id}:not(#'+thisId+')').each(function () { if (jQuery(this).val()>0) { values[values.length] = jQuery(this).val(); } }); //the value before we do this.. we'll try to set it to this if possible var preValue = jQuery(this).val(); //disable all options jQuery(this).find('option:not([value='+preValue+'])').prop({ disabled: true }).each (function () { //add "out of stock" text to each option if (jQuery(this).val()==0) { //don't add it to this one return; } if (!jQuery(this).data('originalLabel')) { jQuery(this).data('originalLabel',jQuery(this).text()); } jQuery(this).text(jQuery(this).data('originalLabel')+buyer_options{$listing_id}.out_of_stock); }); if (preValue!='0') { //enable 0 value jQuery(this).find('option[value=0]').prop({ disabled:false }); } //now enable the options that are good... for (var a=0; a<buyer_options{$listing_id}.combined.length; a++) { //loop through the combined options... Find the ones that the "other" values //match the entries in there buyer_options{$listing_id}.out_of_stock = '{$messages.502277|escape_js}'; {if $hasCombined} buyer_options{$listing_id}.combined = {$combined_json}; buyer_options{$listing_id}.updateCombined = function () { jQuery('.costOptionCombined{$listing_id}').each(function () { var values = []; //get the "other" values... var thisId = jQuery(this).attr('id'); jQuery('.costOptionCombined{$listing_id}:not(#'+thisId+')').each(function () { if (jQuery(this).val()>0) { values[values.length] = jQuery(this).val(); } }); var thisOptions = buyer_options{$listing_id}.combined[a].options; //loop through the "other" options, see if this has those in it var isGood = true; for (var b=0; b<values.length && isGood; b++) { if (thisOptions.indexOf(values[b]) == -1) { //not good isGood = false; //the value before we do this.. we'll try to set it to this if possible var preValue = jQuery(this).val(); //disable all options jQuery(this).find('option:not([value='+preValue+'])').prop({ disabled: true }).each (function () { //add "out of stock" text to each option if (jQuery(this).val()==0) { //don't add it to this one return; } if (!jQuery(this).data('originalLabel')) { jQuery(this).data('originalLabel',jQuery(this).text()); } jQuery(this).text(jQuery(this).data('originalLabel')+buyer_options{$listing_id}.out_of_stock); }); if (preValue!='0') { //enable 0 value jQuery(this).find('option[value=0]').prop({ disabled:false }); } if (isGood) { //enable the options in this one for (var c=0; c<thisOptions.length; c++) { jQuery(this).find('option[value='+thisOptions[c]+']').prop({ disabled:false}).each(function () { if (jQuery(this).data('originalLabel')) { //remove the "out of stock" message jQuery(this).text(jQuery(this).data('originalLabel')); } }); //now enable the options that are good... for (var a=0; a<buyer_options{$listing_id}.combined.length; a++) { //loop through the combined options... Find the ones that the "other" values //match the entries in there var thisOptions = buyer_options{$listing_id}.combined[a].options; //loop through the "other" options, see if this has those in it var isGood = true; for (var b=0; b<values.length && isGood; b++) { if (thisOptions.indexOf(values[b]) == -1) { //not good isGood = false; } } if (isGood) { //enable the options in this one for (var c=0; c<thisOptions.length; c++) { jQuery(this).find('option[value='+thisOptions[c]+']').prop({ disabled:false}).each(function () { if (jQuery(this).data('originalLabel')) { //remove the "out of stock" message jQuery(this).text(jQuery(this).data('originalLabel')); } }); } } } }); }; {/if} buyer_options{$listing_id}.updateBuyNowCost = function () { if (!jQuery('#listing-buy-now-price-{$listing_id}').length) { return; } //update the buy now price displayed var cost = jQuery('#listing-buy-now-price-{$listing_id}').data('baseCost'); if (typeof cost === 'number') { jQuery('.buyer_options_selection{$listing_id}').each(function () { var currentOption = jQuery(this).find('option:selected'); if (currentOption.val()>0 && currentOption.data('addCost')) { var addCost = currentOption.data('addCost'); if (typeof addCost === 'number') { //safe to add them up, they are both numbers cost = cost+addCost; } else { //one of the values not a number, not able to "safely" update cost return; } } }); jQuery('#listing-buy-now-price-{$listing_id}').text(cost); } }; buyer_options{$listing_id}.updateBuyNowUrl = function () { //get the option values (that are actually set) var formInfo = jQuery('.buyer_options_selection{$listing_id}').not(function () { return (jQuery(this).val()==0); }); formInfo = (formInfo.length)? '&'+formInfo.serialize() : ''; //send the selections to the buy now button jQuery('a.buy_now_link').each(function () { //see if URL matches this URL in case being used on browsing page if (!jQuery(this).data('baseHref')) { //keep track of "original" URL jQuery(this).data('baseHref',jQuery(this).attr('href')); } var baseHref = jQuery(this).data('baseHref'); if (baseHref.indexOf("b={$listing_id}&")>-1) { jQuery(this).attr('href', baseHref+formInfo); } else if (baseHref.indexOf("%2Aand%2Ab%2Ais%2A{$listing_id}%2A")>-1) { //right link, but sending info to login so have to do things different jQuery(this).attr('href', baseHref+formInfo.replace('&','%2Aand%2A').replace('=','%2Ais%2A')); } }); }; {/if} buyer_options{$listing_id}.updateBuyNowCost = function () { if (!jQuery('#listing-buy-now-price-{$listing_id}').length) { return; } //update the buy now price displayed var cost = jQuery('#listing-buy-now-price-{$listing_id}').data('baseCost'); if (typeof cost === 'number') { buyer_options{$listing_id}.updateFileSlot = function () { jQuery('.buyer_options_selection{$listing_id}').each(function () { var currentOption = jQuery(this).find('option:selected'); if (currentOption.val()>0 && currentOption.data('addCost')) { var addCost = currentOption.data('addCost'); if (typeof addCost === 'number') { //safe to add them up, they are both numbers cost = cost+addCost; } else { //one of the values not a number, not able to "safely" update cost return; } var fileSlot = jQuery(this).find('option:selected').data('fileSlot'); var imageBox = jQuery(this).prev('.buyer-option-image-box'); if (fileSlot) { var image = jQuery('.galleryThumbs li:nth-child('+fileSlot+') img'); } if (!imageBox.length) { //nothing can be done young one... return; } if (fileSlot && image.length) { imageBox.html(image.clone().width(50)) .show('fast'); } else { imageBox.hide(); } }); jQuery('#listing-buy-now-price-{$listing_id}').text(cost); } }; buyer_options{$listing_id}.updateBuyNowUrl = function () { //get the option values (that are actually set) var formInfo = jQuery('.buyer_options_selection{$listing_id}').not(function () { return (jQuery(this).val()==0); }); formInfo = (formInfo.length)? '&'+formInfo.serialize() : ''; //send the selections to the buy now button jQuery('a.buy_now_link').each(function () { //see if URL matches this URL in case being used on browsing page if (!jQuery(this).data('baseHref')) { //keep track of "original" URL jQuery(this).data('baseHref',jQuery(this).attr('href')); } var baseHref = jQuery(this).data('baseHref'); if (baseHref.indexOf("b={$listing_id}&")>-1) { jQuery(this).attr('href', baseHref+formInfo); } else if (baseHref.indexOf("%2Aand%2Ab%2Ais%2A{$listing_id}%2A")>-1) { //right link, but sending info to login so have to do things different jQuery(this).attr('href', baseHref+formInfo.replace('&','%2Aand%2A').replace('=','%2Ais%2A')); } }); }; buyer_options{$listing_id}.updateFileSlot = function () { jQuery('.buyer_options_selection{$listing_id}').each(function () { var fileSlot = jQuery(this).find('option:selected').data('fileSlot'); var imageBox = jQuery(this).prev('.buyer-option-image-box'); if (fileSlot) { var image = jQuery('.galleryThumbs li:nth-child('+fileSlot+') img'); } if (!imageBox.length) { //nothing can be done young one... return; } if (fileSlot && image.length) { imageBox.html(image.clone().width(50)) .show('fast'); } else { imageBox.hide(); } }); }; buyer_options{$listing_id}.optionChanged = function () { buyer_options{$listing_id}.updateBuyNowCost(); }; buyer_options{$listing_id}.optionChanged = function () { buyer_options{$listing_id}.updateBuyNowCost(); {if $hasCombined} if (jQuery(this).hasClass('costOptionCombined{$listing_id}')) { buyer_options{$listing_id}.updateCombined(); } {/if} buyer_options{$listing_id}.updateBuyNowUrl(); buyer_options{$listing_id}.updateFileSlot(); }; {if $hasCombined} if (jQuery(this).hasClass('costOptionCombined{$listing_id}')) { buyer_options{$listing_id}.updateCombined(); } //initialize the combined quantities buyer_options{$listing_id}.updateCombined(); {/if} //go ahead and adjust the cost & link starting out buyer_options{$listing_id}.updateBuyNowCost(); buyer_options{$listing_id}.updateBuyNowUrl(); jQuery('.buyer-option-image-box').hide(); buyer_options{$listing_id}.updateFileSlot(); }; {if $hasCombined} //initialize the combined quantities buyer_options{$listing_id}.updateCombined(); {/if} //go ahead and adjust the cost & link starting out buyer_options{$listing_id}.updateBuyNowCost(); buyer_options{$listing_id}.updateBuyNowUrl(); jQuery('.buyer-option-image-box').hide(); buyer_options{$listing_id}.updateFileSlot(); jQuery('.buyer_options_selection{$listing_id}').change(buyer_options{$listing_id}.optionChanged); }); </script> jQuery('.buyer_options_selection{$listing_id}').change(buyer_options{$listing_id}.optionChanged); }); </script> {/add_footer_html}
<div id="contact-seller-form{$listing_id}"{if $ajax_link} style="display: none;"{/if}> <div class="contact-result"></div> <div class="contact-loading" style="display: none;"> <br /><br /> <div class="cntr"><img src="{external file='images/loading.gif'}" alt="" /></div> <br /><br /> </div> <form action="{$classifieds_file_name}?a=13&b={$listing_id}" method="post" id="contact_seller_form{$listing_id}"> <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.55}</label>
<div id="contact-seller-form{$listing_id}"{if $ajax_link} style="display: none;"{/if}> <div class="contact-result"></div> <form action="{$classifieds_file_name}?a=13&b={$listing_id}" method="post" id="contact_seller_form{$listing_id}"> <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.55}</label>
<div id="contact-seller-form{$listing_id}"{if $ajax_link} style="display: none;"{/if}> <div class="contact-result"></div> <div class="contact-loading" style="display: none;"> <br /><br /> <div class="cntr"><img src="{external file='images/loading.gif'}" alt="" /></div> <br /><br /> </div> <form action="{$classifieds_file_name}?a=13&b={$listing_id}" method="post" id="contact_seller_form{$listing_id}"> <div class="{cycle values='row_even,row_odd'}"> <label class="field_label">{$messages.55}</label>
<textarea name="c[senders_comments]" id="c_senders_comments{$listing_id}" cols="78" rows="7" class="field">{$values.comment}</textarea> </div> {$security_image} <div class="center"> <input type="submit" name="submit" value="{$messages.60}" class="button" /> <input type="reset" name="reset" value="{$messages.500115}" class="button" /> </div> </form> </div> {if $ajax_link} <a href="#" id="contact-seller-ajax-link{$listing_id}" onclick="return false;">{$messages.14}</a>
<textarea name="c[senders_comments]" id="c_senders_comments{$listing_id}" cols="78" rows="7" class="field">{$values.comment}</textarea> </div> {$security_image} <div class="center contact-buttons"> <input type="submit" name="submit" value="{$messages.60}" class="button" /> <input type="reset" name="reset" value="{$messages.500115}" class="button" /> </div> </form> <div class="contact-loading" style="display: none;"> <br /><br /> <div class="cntr"><img src="{external file='images/loading.gif'}" alt="" /></div> <br /><br /> </div> </div> {if $ajax_link} <a href="#" id="contact-seller-ajax-link{$listing_id}" onclick="return false;">{$messages.14}</a>
<textarea name="c[senders_comments]" id="c_senders_comments{$listing_id}" cols="78" rows="7" class="field">{$values.comment}</textarea> </div> {$security_image} <div class="center"> <div class="center contact-buttons"> <input type="submit" name="submit" value="{$messages.60}" class="button" /> <input type="reset" name="reset" value="{$messages.500115}" class="button" /> </div> </form> <div class="contact-loading" style="display: none;"> <br /><br /> <div class="cntr"><img src="{external file='images/loading.gif'}" alt="" /></div> <br /><br /> </div> </div> {if $ajax_link} <a href="#" id="contact-seller-ajax-link{$listing_id}" onclick="return false;">{$messages.14}</a>
var data = $this.serialize(); $this.hide('fast'); container.find('.contact-loading').show('fast'); jQuery.ajax({ url : '{$classifieds_file_name}?a=13&b={$listing_id}&json=1',
var data = $this.serialize(); var isLightbox = jQuery(document).gjLightbox('isOpen'); if(isLightbox) { //replace just the submit buttons with the spinner graphic (minimize motion on the lightbox for aesthetics) jQuery(gjUtil.lightbox.contents).find('.contact-buttons').hide(); jQuery(gjUtil.lightbox.contents).find('.contact-loading').show(); } else { //not using a lightbox, so we can replace the whole form with the spinner graphic $this.hide('fast'); container.find('.contact-loading').show('fast'); } jQuery.ajax({ url : '{$classifieds_file_name}?a=13&b={$listing_id}&json=1',
var data = $this.serialize(); $this.hide('fast'); container.find('.contact-loading').show('fast'); var isLightbox = jQuery(document).gjLightbox('isOpen'); if(isLightbox) { //replace just the submit buttons with the spinner graphic (minimize motion on the lightbox for aesthetics) jQuery(gjUtil.lightbox.contents).find('.contact-buttons').hide(); jQuery(gjUtil.lightbox.contents).find('.contact-loading').show(); } else { //not using a lightbox, so we can replace the whole form with the spinner graphic $this.hide('fast'); container.find('.contact-loading').show('fast'); } jQuery.ajax({ url : '{$classifieds_file_name}?a=13&b={$listing_id}&json=1',
dataType : 'json', type : 'POST' }).done(function (response) { container.find('.contact-loading').hide('fast'); if (!response || !response.success) { //show the form again since it was not a success $this.show('fast'); if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); return; } if (response.message) { container.find('.contact-result').html(response.message); } }); });
dataType : 'json', type : 'POST' }).done(function (response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-loading').hide(); } else { container.find('.contact-loading').hide('fast'); } if (!response || !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); } else { $this.show('fast'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(gjUtil.lightbox.contents).find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } return; } if (response.message) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } }); });
dataType : 'json', type : 'POST' }).done(function (response) { container.find('.contact-loading').hide('fast'); if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-loading').hide(); } else { container.find('.contact-loading').hide('fast'); } if (!response || !response.success) { //show the form again since it was not a success $this.show('fast'); if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); } else { $this.show('fast'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(gjUtil.lightbox.contents).find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } return; } if (response.message) { container.find('.contact-result').html(response.message); if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } }); });
jQuery(function () { jQuery('#contact-seller-ajax-link{$listing_id}').click(function (e) { e.preventDefault(); jQuery(document).gjLightbox('open', jQuery('#contact-seller-form{$listing_id}').clone().show()); initContactSellerForm{$listing_id}(); }); }); {else}
jQuery(function () { jQuery('#contact-seller-ajax-link{$listing_id}').click(function (e) { e.preventDefault(); initContactSellerForm{$listing_id}(); jQuery(document).gjLightbox('open', jQuery('#contact-seller-form{$listing_id}').clone(true).show()); }); }); {else}
jQuery(function () { jQuery('#contact-seller-ajax-link{$listing_id}').click(function (e) { e.preventDefault(); jQuery(document).gjLightbox('open', jQuery('#contact-seller-form{$listing_id}').clone().show()); initContactSellerForm{$listing_id}(); jQuery(document).gjLightbox('open', jQuery('#contact-seller-form{$listing_id}').clone(true).show()); }); }); {else}
<div id="tell-a-friend-form{$listing_id}"{if $ajax_link} style="display: none;"{/if}> <div class="contact-result"></div> <div class="contact-loading" style="display: none;"> <br /><br /> <div class="cntr"><img src="{external file='images/loading.gif'}" alt="" /></div> <br /><br /> </div> <form action="{$classifieds_file_name}?a=12&b={$listing_id}" method="post" id="tell_a_friend_form{$listing_id}"> <div class="{cycle values='row_odd,row_even'}"> <label for="c_friends_name{$listing_id}" class="field_label">{$messages.43}</label>
<div id="tell-a-friend-form{$listing_id}"{if $ajax_link} style="display: none;"{/if}> <div class="contact-result"></div> <form action="{$classifieds_file_name}?a=12&b={$listing_id}" method="post" id="tell_a_friend_form{$listing_id}"> <div class="{cycle values='row_odd,row_even'}"> <label for="c_friends_name{$listing_id}" class="field_label">{$messages.43}</label>
<div id="tell-a-friend-form{$listing_id}"{if $ajax_link} style="display: none;"{/if}> <div class="contact-result"></div> <div class="contact-loading" style="display: none;"> <br /><br /> <div class="cntr"><img src="{external file='images/loading.gif'}" alt="" /></div> <br /><br /> </div> <form action="{$classifieds_file_name}?a=12&b={$listing_id}" method="post" id="tell_a_friend_form{$listing_id}"> <div class="{cycle values='row_odd,row_even'}"> <label for="c_friends_name{$listing_id}" class="field_label">{$messages.43}</label>
<input type="reset" name="reset" value="{$messages.500116}" class="button" /> </div> </form> </div> {if $ajax_link} <a href="#" id="tell-a-friend-ajax-link{$listing_id}" onclick="return false;">{$messages.13}</a>
<input type="reset" name="reset" value="{$messages.500116}" class="button" /> </div> </form> <div class="contact-loading" style="display: none;"> <br /><br /> <div class="cntr"><img src="{external file='images/loading.gif'}" alt="" /></div> <br /><br /> </div> </div> {if $ajax_link} <a href="#" id="tell-a-friend-ajax-link{$listing_id}" onclick="return false;">{$messages.13}</a>
<input type="reset" name="reset" value="{$messages.500116}" class="button" /> </div> </form> <div class="contact-loading" style="display: none;"> <br /><br /> <div class="cntr"><img src="{external file='images/loading.gif'}" alt="" /></div> <br /><br /> </div> </div> {if $ajax_link} <a href="#" id="tell-a-friend-ajax-link{$listing_id}" onclick="return false;">{$messages.13}</a>
var container = jQuery('#tell-a-friend-form{$listing_id}'); var data = $this.serialize(); console.log(data); $this.hide('fast'); container.find('.contact-loading').show('fast'); jQuery.ajax({ url : '{$classifieds_file_name}?a=12&b={$listing_id}&json=1',
var container = jQuery('#tell-a-friend-form{$listing_id}'); var isLightbox = jQuery(document).gjLightbox('isOpen'); var data = $this.serialize(); if(isLightbox) { //replace just the submit buttons with the spinner graphic (minimize motion on the lightbox for aesthetics) jQuery(gjUtil.lightbox.contents).find('.contact-buttons').hide(); jQuery(gjUtil.lightbox.contents).find('.contact-loading').show(); } else { //not using a lightbox, so we can replace the whole form with the spinner graphic $this.hide('fast'); container.find('.contact-loading').show('fast'); } jQuery.ajax({ url : '{$classifieds_file_name}?a=12&b={$listing_id}&json=1',
var container = jQuery('#tell-a-friend-form{$listing_id}'); var isLightbox = jQuery(document).gjLightbox('isOpen'); var data = $this.serialize(); console.log(data); $this.hide('fast'); container.find('.contact-loading').show('fast'); if(isLightbox) { //replace just the submit buttons with the spinner graphic (minimize motion on the lightbox for aesthetics) jQuery(gjUtil.lightbox.contents).find('.contact-buttons').hide(); jQuery(gjUtil.lightbox.contents).find('.contact-loading').show(); } else { //not using a lightbox, so we can replace the whole form with the spinner graphic $this.hide('fast'); container.find('.contact-loading').show('fast'); } jQuery.ajax({ url : '{$classifieds_file_name}?a=12&b={$listing_id}&json=1',
container.find('.contact-loading').hide('fast'); if (!response || !response.success) { //show the form again since it was not a success $this.show('fast'); if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); return; } if (response.message) { container.find('.contact-result').html(response.message); } }); });
container.find('.contact-loading').hide('fast'); if (!response || !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); } else { $this.show('fast'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(gjUtil.lightbox.contents).find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } return; } if (response.message) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } }); });
container.find('.contact-loading').hide('fast'); if (!response || !response.success) { //show the form again since it was not a success $this.show('fast'); if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); } else { $this.show('fast'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(gjUtil.lightbox.contents).find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } return; } if (response.message) { container.find('.contact-result').html(response.message); if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } }); });
jQuery(function () { jQuery('#tell-a-friend-ajax-link{$listing_id}').click(function (e) { e.preventDefault(); jQuery(document).gjLightbox('open', jQuery('#tell-a-friend-form{$listing_id}').clone().show()); initTellAFriendForm{$listing_id}(); }); }); {else}
jQuery(function () { jQuery('#tell-a-friend-ajax-link{$listing_id}').click(function (e) { e.preventDefault(); initTellAFriendForm{$listing_id}(); jQuery(document).gjLightbox('open', jQuery('#tell-a-friend-form{$listing_id}').clone(true).show()); }); }); {else}
jQuery(function () { jQuery('#tell-a-friend-ajax-link{$listing_id}').click(function (e) { e.preventDefault(); jQuery(document).gjLightbox('open', jQuery('#tell-a-friend-form{$listing_id}').clone().show()); initTellAFriendForm{$listing_id}(); jQuery(document).gjLightbox('open', jQuery('#tell-a-friend-form{$listing_id}').clone(true).show()); }); }); {else}
1436 - updated PLUpload to version 2.1.2
1452 - add js hook to allow manipulating google maps from templates
- No Security fixes or patches for this release.
1188 - Show "transaction approved" page after completing a PayPal transaction
1411 - Enabled notify friend/seller pages to return status 404 if given an invalid listing
1412 - Fixed a bug that could cause problems when changing Extra Page body attachments in the admin
1415 - GeoNav: Fixed Change Region selector box returning to blank page when triggered from inside some addon pages
1416 - Misc cleanup on Contact Seller/Friend forms
1421 - Fixed an issue that caused thumbnail sizes in the Featured Gallery to follow the wrong setting for height
1428 - Fixed category_dropdown module ignoring its settings
1430 - listing placement description field character count doesn't update after changing categories
1432 - Storefront: List Stores page no longer incorrectly shows a store's title as its own
1433 - State Filter Module no longer ignores "region disabled" switch
1435 - removed a couple lingering references to the old geoUtil js object
1437 - fix Paypal Pro to use the correct transaction IDs
1438 - Fixed Make Bid button redirecting to "extend subscription" when it shouldn't
1439 - Fixed a bug that could cause categories to appear for the wrong listing types during listing placement
1441 - broken pieces of the "tell a friend" and "add to favorites" links will no longer appear when previewing a listing
1446 - Storefront: corrected an issue where users could purchase multiple recurring subscriptions simultaneously
1449 - cleared out some vestigial calls to deprecated js
1453 - Admin Design Manager now allows copy/download of the "smarty" folder from template sets. For real this time.
1420 - Remove empty region Levels from the database when deleting the final region in a level
1442 - user's Paypal Email entry field (seller/buyer gateway) no longer looks funny when empty
1445 - Fixed an admin error message from appearing when it shouldn't
Reference Purposes Only: Like the rest of this changelog, the template changes below are for reference purposes only, not (necessarily) a list of changes everyone needs to follow. Refer to the full update instructions to find if you need to make any template changes during an update.
gjUtil.initCarousel(); }, initRWD : function () { jQuery('.fixed-link').click(function () { //expand it
gjUtil.initCarousel(); }, getCookie : function (sName) { var aCookie = document.cookie.split('; '); for (var i=0; i < aCookie.length; i++) { var aCrumb = aCookie[i].split('='); if (sName == aCrumb[0]) { return unescape(aCrumb[1]); } } return null; }, initRWD : function () { jQuery('.fixed-link').click(function () { //expand it
gjUtil.initCarousel(); }, getCookie : function (sName) { var aCookie = document.cookie.split('; '); for (var i=0; i < aCookie.length; i++) { var aCrumb = aCookie[i].split('='); if (sName == aCrumb[0]) { return unescape(aCrumb[1]); } } return null; }, initRWD : function () { jQuery('.fixed-link').click(function () { //expand it
}, initDatePicker : function () { jQuery('.dateInput,.datepicker').attr('placeholder', geoUtil._dateDefaultText) .datepicker({ dateFormat: 'yy-mm-dd' }); },
}, initDatePicker : function () { jQuery('.dateInput,.datepicker').attr('placeholder', gjUtil._dateDefaultText) .datepicker({ dateFormat: 'yy-mm-dd' }); },
}, initDatePicker : function () { jQuery('.dateInput,.datepicker').attr('placeholder', geoUtil._dateDefaultText) jQuery('.dateInput,.datepicker').attr('placeholder', gjUtil._dateDefaultText) .datepicker({ dateFormat: 'yy-mm-dd' }); },
}).error(function () { //some error deleting... jQuery('form').unbind('.imgSave'); geoUtil.addError(gjUtil.imageUpload._msgs.m500682); }); }); },
}).error(function () { //some error deleting... jQuery('form').unbind('.imgSave'); gjUtil.addError(gjUtil.imageUpload._msgs.m500682); }); }); },
}).error(function () { //some error deleting... jQuery('form').unbind('.imgSave'); geoUtil.addError(gjUtil.imageUpload._msgs.m500682); gjUtil.addError(gjUtil.imageUpload._msgs.m500682); }); }); },
}).error(function () { jQuery('form').unbind('.imgSave'); //changing title ajax call failed geoUtil.addError(gjUtil.imageUpload._msgs.m500689); }); },
}).error(function () { jQuery('form').unbind('.imgSave'); //changing title ajax call failed gjUtil.addError(gjUtil.imageUpload._msgs.m500689); }); },
}).error(function () { jQuery('form').unbind('.imgSave'); //changing title ajax call failed geoUtil.addError(gjUtil.imageUpload._msgs.m500689); gjUtil.addError(gjUtil.imageUpload._msgs.m500689); }); },
}).error(function () { jQuery('form').unbind('.imgSave'); //Sort ajax failed geoUtil.addError(gjUtil.imageUpload._msgs.m500689); }); },
}).error(function () { jQuery('form').unbind('.imgSave'); //Sort ajax failed gjUtil.addError(gjUtil.imageUpload._msgs.m500689); }); },
}).error(function () { jQuery('form').unbind('.imgSave'); //Sort ajax failed geoUtil.addError(gjUtil.imageUpload._msgs.m500689); gjUtil.addError(gjUtil.imageUpload._msgs.m500689); }); },
//queue... In which case this would not be populated jQuery('#' + error.file.id + ' .queue-message').html(msg); } geoUtil.addError(msg); }, //this is over-ridden by head init : function () {},
//queue... In which case this would not be populated jQuery('#' + error.file.id + ' .queue-message').html(msg); } gjUtil.addError(msg); }, //this is over-ridden by head init : function () {},
//queue... In which case this would not be populated jQuery('#' + error.file.id + ' .queue-message').html(msg); } geoUtil.addError(msg); gjUtil.addError(msg); }, //this is over-ridden by head init : function () {},
data: params }).done(function (response) { if (response.error) { geoUtil.addError(response.error.message+' ('+response.error.code+')'); return; }
data: params }).done(function (response) { if (response.error) { gjUtil.addError(response.error.message+' ('+response.error.code+')'); return; }
data: params }).done(function (response) { if (response.error) { geoUtil.addError(response.error.message+' ('+response.error.code+')'); gjUtil.addError(response.error.message+' ('+response.error.code+')'); return; }
console.log('Debug: '+response.debug); } }).error(function () { geoUtil.addError(gjUtil.imageUpload._msgs.m500689); }); } });
console.log('Debug: '+response.debug); } }).error(function () { gjUtil.addError(gjUtil.imageUpload._msgs.m500689); }); } });
console.log('Debug: '+response.debug); } }).error(function () { geoUtil.addError(gjUtil.imageUpload._msgs.m500689); gjUtil.addError(gjUtil.imageUpload._msgs.m500689); }); } });
} } };
} } }; //For older scripts that still do things old way var getCookie = gjUtil.getCookie;
} } }; //For older scripts that still do things old way var getCookie = gjUtil.getCookie;
*/ jQuery(function () { jQuery('#main_description').keypress(geoListing.checkLength) .keyup(geoListing.getLength); geoListing.getLength(null); geoListing.init(); } );
*/ jQuery(function () { geoListing.init(); } );
*/ jQuery(function () { jQuery('#main_description').keypress(geoListing.checkLength) .keyup(geoListing.getLength); geoListing.getLength(null); geoListing.init(); } );
jQuery('#endModeSelect').change(endModeClick); endModeClick(); } }, popQueue : function () {
jQuery('#endModeSelect').change(endModeClick); endModeClick(); } //watch the description field for length changes jQuery('#main_description').keypress(geoListing.checkLength).keyup(geoListing.getLength); geoListing.getLength(null); //initialize count to current length }, popQueue : function () {
jQuery('#endModeSelect').change(endModeClick); endModeClick(); } //watch the description field for length changes jQuery('#main_description').keypress(geoListing.checkLength).keyup(geoListing.getLength); geoListing.getLength(null); //initialize count to current length }, popQueue : function () {
gjUtil.leveledFields.init(sectionBox); } }); geoUtil.init(); geoListing.init(); if (typeof gjWysiwyg !== 'undefined') { //close any wysiwyg editors...
gjUtil.leveledFields.init(sectionBox); } }); geoListing.init(); if (typeof gjWysiwyg !== 'undefined') { //close any wysiwyg editors...
gjUtil.leveledFields.init(sectionBox); } }); geoUtil.init(); geoListing.init(); if (typeof gjWysiwyg !== 'undefined') { //close any wysiwyg editors...
// @git-info@ //OLD Main javascript used on most pages of the software. //EVERYTHING IN THIS FILE IS DEPRECATED!!! //We will be converting existing JS to use jQuery instead of Prototype.
// @git-info@ //OLD Main javascript -- still used by the ADMIN, but not on the front end! //EVERYTHING IN THIS FILE IS DEPRECATED!!! //We will be converting existing JS to use jQuery instead of Prototype.
// @git-info@ //OLD Main javascript used on most pages of the software. //OLD Main javascript -- still used by the ADMIN, but not on the front end! //EVERYTHING IN THIS FILE IS DEPRECATED!!! //We will be converting existing JS to use jQuery instead of Prototype.
myFloater.location.href = fileName; }; //For older scripts that still do things old way var getCookie = geoUtil.getCookie;
myFloater.location.href = fileName; };
myFloater.location.href = fileName; }; //For older scripts that still do things old way var getCookie = geoUtil.getCookie;
{/if} <p>{$viewed_count_label} {listing field='viewed_count'}</p> <br /> <div class="icon-link"> <img alt="Print Friendly" src="{external file='images/icons/printer.png'}" title="Print Friendly" /> {listing tag='print_friendly_link'} </div> <div class="icon-link"> <img alt="Tell-a-Friend" src="{external file='images/icons/friend.png'}" title="Tell-a-Friend" /> {listing tag='notify_friend_link'} </div> <div class="icon-link"> <img alt="Add-to-Favorites" src="{external file='images/icons/favorite.png'}" title="Add-to-Favorites" /> {listing tag='favorites_link'} </div> {if $enabledAddons.contact_us} <div class="icon-link"> <img alt="Report Abuse" src="{external file='images/icons/flag.png'}" title="Report Abuse" /> <a href="{$classifieds_file_name}?a=ap&addon=contact_us&page=main&reportAbuse={$classified_id}" class="lightUpLink">{$additional_text_10}</a>
{/if} <p>{$viewed_count_label} {listing field='viewed_count'}</p> <br /> {listing tag='print_friendly_link' assign='print_friendly_link'} {if $print_friendly_link} <div class="icon-link"> <img alt="Print Friendly" src="{external file='images/icons/printer.png'}" title="Print Friendly" /> {$print_friendly_link} </div> {/if} {listing tag='notify_friend_link' assign='notify_friend_link'} {if $notify_friend_link} <div class="icon-link"> <img alt="Tell-a-Friend" src="{external file='images/icons/friend.png'}" title="Tell-a-Friend" /> {$notify_friend_link} </div> {/if} {listing tag='favorites_link' assign='favorites_link'} {if $favorites_link} <div class="icon-link"> <img alt="Add-to-Favorites" src="{external file='images/icons/favorite.png'}" title="Add-to-Favorites" /> {$favorites_link} </div> {/if} {if $enabledAddons.contact_us && $additional_text_10} <div class="icon-link"> <img alt="Report Abuse" src="{external file='images/icons/flag.png'}" title="Report Abuse" /> <a href="{$classifieds_file_name}?a=ap&addon=contact_us&page=main&reportAbuse={$classified_id}" class="lightUpLink">{$additional_text_10}</a>
{/if} <p>{$viewed_count_label} {listing field='viewed_count'}</p> <br /> <div class="icon-link"> <img alt="Print Friendly" src="{external file='images/icons/printer.png'}" title="Print Friendly" /> {listing tag='print_friendly_link'} </div> <div class="icon-link"> <img alt="Tell-a-Friend" src="{external file='images/icons/friend.png'}" title="Tell-a-Friend" /> {listing tag='notify_friend_link'} </div> <div class="icon-link"> <img alt="Add-to-Favorites" src="{external file='images/icons/favorite.png'}" title="Add-to-Favorites" /> {listing tag='favorites_link'} </div> {if $enabledAddons.contact_us} {listing tag='print_friendly_link' assign='print_friendly_link'} {if $print_friendly_link} <div class="icon-link"> <img alt="Print Friendly" src="{external file='images/icons/printer.png'}" title="Print Friendly" /> {$print_friendly_link} </div> {/if} {listing tag='notify_friend_link' assign='notify_friend_link'} {if $notify_friend_link} <div class="icon-link"> <img alt="Tell-a-Friend" src="{external file='images/icons/friend.png'}" title="Tell-a-Friend" /> {$notify_friend_link} </div> {/if} {listing tag='favorites_link' assign='favorites_link'} {if $favorites_link} <div class="icon-link"> <img alt="Add-to-Favorites" src="{external file='images/icons/favorite.png'}" title="Add-to-Favorites" /> {$favorites_link} </div> {/if} {if $enabledAddons.contact_us && $additional_text_10} <div class="icon-link"> <img alt="Report Abuse" src="{external file='images/icons/flag.png'}" title="Report Abuse" /> <a href="{$classifieds_file_name}?a=ap&addon=contact_us&page=main&reportAbuse={$classified_id}" class="lightUpLink">{$additional_text_10}</a>
<nav class="listing-prev-next-links"> {listing tag='previous_ad_link'} {listing tag='next_ad_link'} </nav> <div class="clearfix"> {listing tag='category_breadcrumb'} </div> <h1 class="listing_title" style="display: inline;"> {$title} {if $price} - <span class="value price">{$price}</span>{/if} <span class="id">{$classified_id_label} {$classified_id}</span> </h1> <div class="action_buttons" style="display: inline;"> {if $can_edit} <a href="{$classifieds_file_name}?a=cart&action=new&main_type=listing_edit&listing_id={$classified_id}"><img src="{external file='images/buttons/listing_edit.gif'}" alt="" /></a> {/if} {if $can_delete} <a onclick="if (!confirm('Are you sure you want to delete this?')) return false;" href="{$classifieds_file_name}?a=99&b={$classified_id}"><img src="{external file='images/buttons/listing_delete.gif'}" alt="" /></a> {/if} {listing tag='listing_action_buttons' addon='core'} </div> <br /><br /> <div class="main listing_maincol"> <!-- MAIN CENTER COLUMN --> <h2 class="title" style="margin-bottom: .5em;">{$additional_text_1} {$additional_text_13}</h2> {* Assign social buttons to $social so we can check if there are any before showing the section *} {listing tag='listing_social_buttons' addon='core' assign='social'} {if $social} {* There are social buttons to display, use a rounded top box *} <div class="rounded_top"> {$social} </div> {/if} <div class="content_box_3 clearfix"> <div style="width:95%; margin: 0 auto; padding: 3px 0;"> <div style="float:left; width:50%; text-align: left;"><strong>{$date_started_label}</strong> {$date_started}</div> <div style="float:left; width:50%; text-align: right;"><strong>{$viewed_count_label}</strong> {$viewed_count}</div> </div> {listing tag='image_block'} {listing tag='offsite_videos_block' assign='offsite_videos_block'} {if $offsite_videos_block} <div class="clear"></div> <h1 class="title">{$offsite_videos_title}</h1> {$offsite_videos_block} <div class="clear"><br /></div> {/if} </div> {* START OPTIONAL FIELDS *} {if $optional_field_1 or $optional_field_2 or $optional_field_3 or $optional_field_4 or $optional_field_5 or $optional_field_6 or $optional_field_7 or $optional_field_8 or $optional_field_9 or $optional_field_10 or $optional_field_11 or $optional_field_12 or $optional_field_13 or $optional_field_16 or $optional_field_17 or $optional_field_18 or $optional_field_19 or $optional_field_20} {* Only show section if at least one optional field 1-20 is used, skipping 14 and 15 as they are already displayed further up in template. *} <h1 class="title rounded_top"> {$additional_text_11} </h1> <div class="content_box_1 clearfix" style="padding: 4px;"> <ul class="optional_fields"> {* Keep track of how many fields are actually displayed. *} {$optional_list_count=0} {if $optional_field_1} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_1_label}</label> {$optional_field_1} </li> {/if} {if $optional_field_2} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_2_label}</label> {$optional_field_2} </li> {/if} {if $optional_field_3} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_3_label}</label> {$optional_field_3} </li> {/if} {if $optional_field_4} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_4_label}</label> {$optional_field_4} </li> {/if} {if $optional_field_5} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_5_label}</label> {$optional_field_5} </li> {/if} {if $optional_field_6} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_6_label}</label> {$optional_field_6} </li> {/if} {if $optional_field_7} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_7_label}</label> {$optional_field_7} </li> {/if} {if $optional_field_8} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_8_label}</label> {$optional_field_8} </li> {/if} {if $optional_field_9} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_9_label}</label> {$optional_field_9} </li> {/if} {if $optional_field_10} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_10_label}</label> {$optional_field_10} </li> {/if} {if $optional_field_11} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_11_label}</label> {$optional_field_11} </li> {/if} {if $optional_field_12} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_12_label}</label> {$optional_field_12} </li> {/if} {if $optional_field_13} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_13_label}</label> {$optional_field_13} </li> {/if} {* NOTE: optional fields 14 and 15 already displayed in seller note section. If you add them here, be sure to update the {if ...} to include it. *} {if $optional_field_16} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_16_label}</label> {$optional_field_16} </li> {/if} {if $optional_field_17} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_17_label}</label> {$optional_field_17} </li> {/if} {if $optional_field_18} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_18_label}</label> {$optional_field_18} </li> {/if} {if $optional_field_19} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_19_label}</label> {$optional_field_19} </li> {/if} {if $optional_field_20} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_20_label}</label> {$optional_field_20} </li> {/if} {if $optional_list_count is odd by 1} {* If an odd number is displayed, insert a blank value to show on left side *} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"><label></label></li> {/if} </ul> </div> {/if} {* END OPTIONAL FIELDS *} {* START DESCRIPTION *} <h1 class="title rounded_top">{$description_label}</h1> <div class="content_box_1 clearfix"> {listing tag='extra_checkbox_name' assign='extra_checkbox_name'} {if $extra_checkbox_name} <br /> <h3>{$additional_text_11}</h3> <div id="checkbox" style="margin:5px;"> {$extra_checkbox_name} </div> <div class="clear"><br /></div> {/if} <h3>{$additional_text_7}</h3> <p>{$description}</p> {listing tag='multi_level_field_ul' assign='multi_level'} {listing tag='extra_questions' assign='extra_questions'} {if $extra_questions or $multi_level} <br /> <h3>{$additional_text_5}</h3> {if $extra_questions} {$extra_questions} <br /> {/if} {if $multi_level} {$multi_level} {/if} {/if} </div> <br /> {* END DESCRIPTION *} {addon author='geo_addons' addon='twitter_feed' tag='show_feed'} <br /> {* START PUBLIC QUESTIONS *} <h1 class="title rounded_top"> {$publicQuestionsLabel}{if $logged_in} - <a href="{$classifieds_file_name}?a=13&b={$classified_id}">{$askAQuestionText}</a>{/if} </h1> <div class="content_box_1"> {if $publicQuestions} {foreach from=$publicQuestions key='question_id' item='q'} {if $q.answer !== false} <div class="publicQuestions {cycle values='row_odd,row_even'}"> <div class="question"> <span class="public_question_asker_username"><a href="{$classifieds_file_name}?a=6&b={$q.asker_id}">{$q.asker}</a></span> <span class="public_question_asker_timestamp">({$q.time})</span> {if $can_delete}<a onclick="if (!confirm('Are you sure you want to remove this question and its answer?')) return false;" href="{$classifieds_file_name}?a=4&b=8&c=2&d={$question_id}&public=1"><img src="{external file='images/buttons/listing_delete.gif'}" alt="" /></a> {/if} <br /> {$q.question} </div> <div class="answer"> {$q.answer} </div> </div> {/if} {/foreach} {else} <div class="box_pad">{$noPublicQuestions}</div> {/if} </div> <br /> {* END PUBLIC QUESTIONS *} {* START GOOGLE MAPS *} {addon author='geo_addons' addon='google_maps' tag='listing_map' assign='map'} {if $map} <h1 class="title rounded_top">{$additional_text_18}</h1> <div class="content_box_1 cntr"> {* Make sure map is centered in the box *} <div class="clearfix">{$map}</div> </div> {/if} <br /> <!-- END CENTER COLUMN --> </div> <div class="sidebar listing_leftcol"> <!-- LEFT SIDEBAR CONTENTS --> <!-- SELLER INFO BEGIN --> <h2 class="title rounded_top">{$seller_label}</h2> <div class="content_box_2"> <h1 class="seller_username">{listing tag='seller'}</h1> <p class="content_section"> {listing tag='user_rating'} <strong>{$additional_text_17}</strong><br /> {listing field='member_since'} </p> {if $city_data or $state_data or $zip_data} {* Only show this section if the city, state, or zip is set for the listing. This prevents an "empty section" when all of location information is empty *} <p class="content_section"> {if $city_data} {$city_data}, {/if} {if $state_data} {$state_data} {/if} {if $zip_data} {$zip_data} {/if} </p> {/if} {if $phone_data or $phone2_data or $fax_data} {* Only show this section if one of the phones or fax is set for the listing. This prevents an "empty section" when all of the phone numbers are empty. *} <p class="content_section cntr"> {if $phone_data} <span class="sec_color" style="font-size:1.6em;">{$phone_data}</span><br /> {/if} {if $phone2_data} {$phone2_label} {$phone2_data}<br /> {/if} {if $fax_data} {$fax_label} {$fax_data}<br /> {/if} </p> {/if} {* "Assign" contents of each url link to a smarty variable, so we can see if the link exists before adding the section *} {listing tag='url_link_1' assign='url_link_1'} {listing tag='url_link_2' assign='url_link_2'} {listing tag='url_link_3' assign='url_link_3'} {if $url_link_1 or $url_link_2 or $url_link_3 or $public_email} {* Only show section if there is at least one URL link or if there is public e-mail to show *} <p class="content_section cntr"> {if $url_link_1} {$url_link_1}<br /> {/if} {if $url_link_2} {$url_link_2}<br /> {/if} {if $url_link_3} {$url_link_3}<br /> {/if} {if $public_email} <a href="mailto:{$public_email}">{$public_email}</a> {/if} </p> {/if} {* Assign the storefront link to $storefront_link so we can check if it is "empty" or not before showing it... To prevent an "empty" item in the list if there is no storefront link. *} {listing tag='storefront_link' addon='storefront' assign='storefront_link'} <ul class="option_list"> {if $storefront_link} {* The storefront link exists so show it! *} <li>{$storefront_link}</li> {/if} <li>{listing tag='sellers_other_ads_link'}</li> <li>{listing tag='message_to_seller_link'}</li> </ul> </div> <!-- SELLER INFO END --> <div class="icon-link"> <img alt="Print Friendly" src="{external file='images/icons/printer.png'}" title="Print Friendly" /> {listing tag='print_friendly_link'} </div> <div class="icon-link"> <img alt="Tell-a-Friend" src="{external file='images/icons/friend.png'}" title="Tell-a-Friend" /> {listing tag='notify_friend_link'} </div> <div class="icon-link"> <img alt="Add-to-Favorites" src="{external file='images/icons/favorite.png'}" title="Add-to-Favorites" /> {listing tag='favorites_link'} </div> {if $enabledAddons.contact_us} <div class="icon-link"> <img alt="Report Abuse" src="{external file='images/icons/flag.png'}" title="Report Abuse" /> <a href="{$classifieds_file_name}?a=ap&addon=contact_us&page=main&reportAbuse={$classified_id}" class="lightUpLink">{$additional_text_10}</a> </div> {/if} {if $payment_options or $optional_field_14 or $optional_field_15} {* Only show section if there is payment_options, or if either optional field 14 or 15 is turned on *} <!-- SELLER NOTES BEGIN --> <h2 class="title rounded_top"> {$additional_text_19} </h2> <div class="content_box_2"> {if $payment_options} <p class="content_section"> <strong>{$payment_options_label}</strong><br /> {$payment_options} </p> {/if} {if $optional_field_14} <p class="content_section"> <strong>{$optional_field_14_label}</strong><br /> {$optional_field_14} </p> {/if} {if $optional_field_15} <p class="content_section"> <strong>{$optional_field_15_label}</strong><br /> {$optional_field_15} </p> {/if} </div> <!-- SELLER NOTES END --> {/if} <!-- LISTING POPULARITY BEGIN --> <h2 class="title rounded_top"> {$additional_text_6} </h2> <div class="content_box_2"> {* Assign vote total to $vote_total so can use it to determine whether to show the current vote info section *} {listing tag='voteSummary_total' assign='vote_total'} {if $vote_total gt 0} {* only show if there are already votes on the listing *} <div class="cntr" style="font-size: 12px;"> Out of <span style="color: #4076B1; font-size: 18px; font-weight: bold;">{$vote_total}</span> Vote(s) <span style="color: #4076B1; font-size: 18px; font-weight: bold;">{listing tag='voteSummary_percent'}%</span> of Customers Say: </div> <div class="cntr">{listing tag='voteSummary_text'}</div> {/if} <div class="cntr"> <!-- Space the links apart --> <div style="display: inline-block; padding: 8px;"> {listing tag='vote_on_ad_link'} </div> <div style="display: inline-block; padding: 8px;"> {listing tag='show_ad_vote_comments_link'} </div> </div> </div> <!-- LISTING POPULARITY END --> <!-- FIND SIMILAR BEGIN --> {if $listing_tags_array} {* only show section if there are listing tags on this listing *} <h2 class="title rounded_top"> {$additional_text_20} </h2> <div class="content_box_2"> <p class="content_section"> <strong>{$listing_tags_label}:</strong><br /> {listing tag='listing_tags_links'} </p> </div> {/if} <!-- FIND SIMILAR END --> <!-- FEATURED LISTINGS BEGIN --> <h2 class="title rounded_top"> {$additional_text_2} </h2> <div class="content_box_1"> {* NOTE: In order to show featured listings in a single column, the {module} tag below includes a number of parameters that over-write the module settings set in the admin. You must change those settings "in-line" below to change them. Or, you can remove the parameter(s) from the {module} tag completely, and it will use the module settings as set in the admin panel. See the user manual entry for the {module} tag for a list of all parameters that can be over-written in this way. *} {module tag='module_featured_pic_2' gallery_columns=1 module_thumb_width=168 module_thumb_height=200} </div> <!-- FEATURED LISTINGS END --> <!-- END LEFT SIDEBAR --> </div> <div class="sidebar2"> <!-- RIGHT SIDEBAR CONTENTS --> <h3 class="title rounded_top">{$additional_text_3}</h3> <div class="content_box_3 cntr"> <a href="#"><img src="{external file='../images/banners/banner1_160w.jpg'}" alt="" /></a> </div> <!-- END RIGHT SIDBAR CONTENTS --> </div> <div class="center clearfix"> {listing tag='previous_ad_link'} {listing tag='next_ad_link'} </div>
<nav class="listing-prev-next-links"> {listing tag='previous_ad_link'} {listing tag='next_ad_link'} </nav> <div class="clearfix"> {listing tag='category_breadcrumb'} </div> <h1 class="listing_title" style="display: inline;"> {$title} {if $price} - <span class="value price">{$price}</span>{/if} <span class="id">{$classified_id_label} {$classified_id}</span> </h1> <div class="action_buttons" style="display: inline;"> {if $can_edit} <a href="{$classifieds_file_name}?a=cart&action=new&main_type=listing_edit&listing_id={$classified_id}"><img src="{external file='images/buttons/listing_edit.gif'}" alt="" /></a> {/if} {if $can_delete} <a onclick="if (!confirm('Are you sure you want to delete this?')) return false;" href="{$classifieds_file_name}?a=99&b={$classified_id}"><img src="{external file='images/buttons/listing_delete.gif'}" alt="" /></a> {/if} {listing tag='listing_action_buttons' addon='core'} </div> <br /><br /> <div class="main listing_maincol"> <!-- MAIN CENTER COLUMN --> <h2 class="title" style="margin-bottom: .5em;">{$additional_text_1} {$additional_text_13}</h2> {* Assign social buttons to $social so we can check if there are any before showing the section *} {listing tag='listing_social_buttons' addon='core' assign='social'} {if $social} {* There are social buttons to display, use a rounded top box *} <div class="rounded_top"> {$social} </div> {/if} <div class="content_box_3 clearfix"> <div style="width:95%; margin: 0 auto; padding: 3px 0;"> <div style="float:left; width:50%; text-align: left;"><strong>{$date_started_label}</strong> {$date_started}</div> <div style="float:left; width:50%; text-align: right;"><strong>{$viewed_count_label}</strong> {$viewed_count}</div> </div> {listing tag='image_block'} {listing tag='offsite_videos_block' assign='offsite_videos_block'} {if $offsite_videos_block} <div class="clear"></div> <h1 class="title">{$offsite_videos_title}</h1> {$offsite_videos_block} <div class="clear"><br /></div> {/if} </div> {* START OPTIONAL FIELDS *} {if $optional_field_1 or $optional_field_2 or $optional_field_3 or $optional_field_4 or $optional_field_5 or $optional_field_6 or $optional_field_7 or $optional_field_8 or $optional_field_9 or $optional_field_10 or $optional_field_11 or $optional_field_12 or $optional_field_13 or $optional_field_16 or $optional_field_17 or $optional_field_18 or $optional_field_19 or $optional_field_20} {* Only show section if at least one optional field 1-20 is used, skipping 14 and 15 as they are already displayed further up in template. *} <h1 class="title rounded_top"> {$additional_text_11} </h1> <div class="content_box_1 clearfix" style="padding: 4px;"> <ul class="optional_fields"> {* Keep track of how many fields are actually displayed. *} {$optional_list_count=0} {if $optional_field_1} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_1_label}</label> {$optional_field_1} </li> {/if} {if $optional_field_2} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_2_label}</label> {$optional_field_2} </li> {/if} {if $optional_field_3} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_3_label}</label> {$optional_field_3} </li> {/if} {if $optional_field_4} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_4_label}</label> {$optional_field_4} </li> {/if} {if $optional_field_5} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_5_label}</label> {$optional_field_5} </li> {/if} {if $optional_field_6} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_6_label}</label> {$optional_field_6} </li> {/if} {if $optional_field_7} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_7_label}</label> {$optional_field_7} </li> {/if} {if $optional_field_8} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_8_label}</label> {$optional_field_8} </li> {/if} {if $optional_field_9} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_9_label}</label> {$optional_field_9} </li> {/if} {if $optional_field_10} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_10_label}</label> {$optional_field_10} </li> {/if} {if $optional_field_11} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_11_label}</label> {$optional_field_11} </li> {/if} {if $optional_field_12} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_12_label}</label> {$optional_field_12} </li> {/if} {if $optional_field_13} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_13_label}</label> {$optional_field_13} </li> {/if} {* NOTE: optional fields 14 and 15 already displayed in seller note section. If you add them here, be sure to update the {if ...} to include it. *} {if $optional_field_16} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_16_label}</label> {$optional_field_16} </li> {/if} {if $optional_field_17} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_17_label}</label> {$optional_field_17} </li> {/if} {if $optional_field_18} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_18_label}</label> {$optional_field_18} </li> {/if} {if $optional_field_19} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_19_label}</label> {$optional_field_19} </li> {/if} {if $optional_field_20} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_20_label}</label> {$optional_field_20} </li> {/if} {if $optional_list_count is odd by 1} {* If an odd number is displayed, insert a blank value to show on left side *} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"><label></label></li> {/if} </ul> </div> {/if} {* END OPTIONAL FIELDS *} {* START DESCRIPTION *} <h1 class="title rounded_top">{$description_label}</h1> <div class="content_box_1 clearfix"> {listing tag='extra_checkbox_name' assign='extra_checkbox_name'} {if $extra_checkbox_name} <br /> <h3>{$additional_text_11}</h3> <div id="checkbox" style="margin:5px;"> {$extra_checkbox_name} </div> <div class="clear"><br /></div> {/if} <h3>{$additional_text_7}</h3> <p>{$description}</p> {listing tag='multi_level_field_ul' assign='multi_level'} {listing tag='extra_questions' assign='extra_questions'} {if $extra_questions or $multi_level} <br /> <h3>{$additional_text_5}</h3> {if $extra_questions} {$extra_questions} <br /> {/if} {if $multi_level} {$multi_level} {/if} {/if} </div> <br /> {* END DESCRIPTION *} {addon author='geo_addons' addon='twitter_feed' tag='show_feed'} <br /> {* START PUBLIC QUESTIONS *} <h1 class="title rounded_top"> {$publicQuestionsLabel}{if $logged_in} - <a href="{$classifieds_file_name}?a=13&b={$classified_id}">{$askAQuestionText}</a>{/if} </h1> <div class="content_box_1"> {if $publicQuestions} {foreach from=$publicQuestions key='question_id' item='q'} {if $q.answer !== false} <div class="publicQuestions {cycle values='row_odd,row_even'}"> <div class="question"> <span class="public_question_asker_username"><a href="{$classifieds_file_name}?a=6&b={$q.asker_id}">{$q.asker}</a></span> <span class="public_question_asker_timestamp">({$q.time})</span> {if $can_delete}<a onclick="if (!confirm('Are you sure you want to remove this question and its answer?')) return false;" href="{$classifieds_file_name}?a=4&b=8&c=2&d={$question_id}&public=1"><img src="{external file='images/buttons/listing_delete.gif'}" alt="" /></a> {/if} <br /> {$q.question} </div> <div class="answer"> {$q.answer} </div> </div> {/if} {/foreach} {else} <div class="box_pad">{$noPublicQuestions}</div> {/if} </div> <br /> {* END PUBLIC QUESTIONS *} {* START GOOGLE MAPS *} {addon author='geo_addons' addon='google_maps' tag='listing_map' assign='map'} {if $map} <h1 class="title rounded_top">{$additional_text_18}</h1> <div class="content_box_1 cntr"> {* Make sure map is centered in the box *} <div class="clearfix">{$map}</div> </div> {/if} <br /> <!-- END CENTER COLUMN --> </div> <div class="sidebar listing_leftcol"> <!-- LEFT SIDEBAR CONTENTS --> <!-- SELLER INFO BEGIN --> <h2 class="title rounded_top">{$seller_label}</h2> <div class="content_box_2"> <h1 class="seller_username">{listing tag='seller'}</h1> <p class="content_section"> {listing tag='user_rating'} <strong>{$additional_text_17}</strong><br /> {listing field='member_since'} </p> {if $city_data or $state_data or $zip_data} {* Only show this section if the city, state, or zip is set for the listing. This prevents an "empty section" when all of location information is empty *} <p class="content_section"> {if $city_data} {$city_data}, {/if} {if $state_data} {$state_data} {/if} {if $zip_data} {$zip_data} {/if} </p> {/if} {if $phone_data or $phone2_data or $fax_data} {* Only show this section if one of the phones or fax is set for the listing. This prevents an "empty section" when all of the phone numbers are empty. *} <p class="content_section cntr"> {if $phone_data} <span class="sec_color" style="font-size:1.6em;">{$phone_data}</span><br /> {/if} {if $phone2_data} {$phone2_label} {$phone2_data}<br /> {/if} {if $fax_data} {$fax_label} {$fax_data}<br /> {/if} </p> {/if} {* "Assign" contents of each url link to a smarty variable, so we can see if the link exists before adding the section *} {listing tag='url_link_1' assign='url_link_1'} {listing tag='url_link_2' assign='url_link_2'} {listing tag='url_link_3' assign='url_link_3'} {if $url_link_1 or $url_link_2 or $url_link_3 or $public_email} {* Only show section if there is at least one URL link or if there is public e-mail to show *} <p class="content_section cntr"> {if $url_link_1} {$url_link_1}<br /> {/if} {if $url_link_2} {$url_link_2}<br /> {/if} {if $url_link_3} {$url_link_3}<br /> {/if} {if $public_email} <a href="mailto:{$public_email}">{$public_email}</a> {/if} </p> {/if} {* Assign the storefront link to $storefront_link so we can check if it is "empty" or not before showing it... To prevent an "empty" item in the list if there is no storefront link. *} {listing tag='storefront_link' addon='storefront' assign='storefront_link'} <ul class="option_list"> {if $storefront_link} {* The storefront link exists so show it! *} <li>{$storefront_link}</li> {/if} <li>{listing tag='sellers_other_ads_link'}</li> <li>{listing tag='message_to_seller_link'}</li> </ul> </div> <!-- SELLER INFO END --> {listing tag='print_friendly_link' assign='print_friendly_link'} {if $print_friendly_link} <div class="icon-link"> <img alt="Print Friendly" src="{external file='images/icons/printer.png'}" title="Print Friendly" /> {$print_friendly_link} </div> {/if} {listing tag='notify_friend_link' assign='notify_friend_link'} {if $notify_friend_link} <div class="icon-link"> <img alt="Tell-a-Friend" src="{external file='images/icons/friend.png'}" title="Tell-a-Friend" /> {$notify_friend_link} </div> {/if} {listing tag='favorites_link' assign='favorites_link'} {if $favorites_link} <div class="icon-link"> <img alt="Add-to-Favorites" src="{external file='images/icons/favorite.png'}" title="Add-to-Favorites" /> {$favorites_link} </div> {/if} {if $enabledAddons.contact_us && $additional_text_10} <div class="icon-link"> <img alt="Report Abuse" src="{external file='images/icons/flag.png'}" title="Report Abuse" /> <a href="{$classifieds_file_name}?a=ap&addon=contact_us&page=main&reportAbuse={$classified_id}" class="lightUpLink">{$additional_text_10}</a> </div> {/if} {if $payment_options or $optional_field_14 or $optional_field_15} {* Only show section if there is payment_options, or if either optional field 14 or 15 is turned on *} <!-- SELLER NOTES BEGIN --> <h2 class="title rounded_top"> {$additional_text_19} </h2> <div class="content_box_2"> {if $payment_options} <p class="content_section"> <strong>{$payment_options_label}</strong><br /> {$payment_options} </p> {/if} {if $optional_field_14} <p class="content_section"> <strong>{$optional_field_14_label}</strong><br /> {$optional_field_14} </p> {/if} {if $optional_field_15} <p class="content_section"> <strong>{$optional_field_15_label}</strong><br /> {$optional_field_15} </p> {/if} </div> <!-- SELLER NOTES END --> {/if} <!-- LISTING POPULARITY BEGIN --> <h2 class="title rounded_top"> {$additional_text_6} </h2> <div class="content_box_2"> {* Assign vote total to $vote_total so can use it to determine whether to show the current vote info section *} {listing tag='voteSummary_total' assign='vote_total'} {if $vote_total gt 0} {* only show if there are already votes on the listing *} <div class="cntr" style="font-size: 12px;"> Out of <span style="color: #4076B1; font-size: 18px; font-weight: bold;">{$vote_total}</span> Vote(s) <span style="color: #4076B1; font-size: 18px; font-weight: bold;">{listing tag='voteSummary_percent'}%</span> of Customers Say: </div> <div class="cntr">{listing tag='voteSummary_text'}</div> {/if} <div class="cntr"> <!-- Space the links apart --> <div style="display: inline-block; padding: 8px;"> {listing tag='vote_on_ad_link'} </div> <div style="display: inline-block; padding: 8px;"> {listing tag='show_ad_vote_comments_link'} </div> </div> </div> <!-- LISTING POPULARITY END --> <!-- FIND SIMILAR BEGIN --> {if $listing_tags_array} {* only show section if there are listing tags on this listing *} <h2 class="title rounded_top"> {$additional_text_20} </h2> <div class="content_box_2"> <p class="content_section"> <strong>{$listing_tags_label}:</strong><br /> {listing tag='listing_tags_links'} </p> </div> {/if} <!-- FIND SIMILAR END --> <!-- FEATURED LISTINGS BEGIN --> <h2 class="title rounded_top"> {$additional_text_2} </h2> <div class="content_box_1"> {* NOTE: In order to show featured listings in a single column, the {module} tag below includes a number of parameters that over-write the module settings set in the admin. You must change those settings "in-line" below to change them. Or, you can remove the parameter(s) from the {module} tag completely, and it will use the module settings as set in the admin panel. See the user manual entry for the {module} tag for a list of all parameters that can be over-written in this way. *} {module tag='module_featured_pic_2' gallery_columns=1 module_thumb_width=168 module_thumb_height=200} </div> <!-- FEATURED LISTINGS END --> <!-- END LEFT SIDEBAR --> </div> <div class="sidebar2"> <!-- RIGHT SIDEBAR CONTENTS --> <h3 class="title rounded_top">{$additional_text_3}</h3> <div class="content_box_3 cntr"> <a href="#"><img src="{external file='../images/banners/banner1_160w.jpg'}" alt="" /></a> </div> <!-- END RIGHT SIDBAR CONTENTS --> </div> <div class="center clearfix"> {listing tag='previous_ad_link'} {listing tag='next_ad_link'} </div>
<nav class="listing-prev-next-links"> {listing tag='previous_ad_link'} {listing tag='next_ad_link'} </nav> <div class="clearfix"> {listing tag='category_breadcrumb'} </div> <h1 class="listing_title" style="display: inline;"> {$title} {if $price} - <span class="value price">{$price}</span>{/if} <span class="id">{$classified_id_label} {$classified_id}</span> </h1> <div class="action_buttons" style="display: inline;"> {if $can_edit} <a href="{$classifieds_file_name}?a=cart&action=new&main_type=listing_edit&listing_id={$classified_id}"><img src="{external file='images/buttons/listing_edit.gif'}" alt="" /></a> {/if} {if $can_delete} <a onclick="if (!confirm('Are you sure you want to delete this?')) return false;" href="{$classifieds_file_name}?a=99&b={$classified_id}"><img src="{external file='images/buttons/listing_delete.gif'}" alt="" /></a> {/if} {listing tag='listing_action_buttons' addon='core'} </div> <br /><br /> <div class="main listing_maincol"> <!-- MAIN CENTER COLUMN --> <h2 class="title" style="margin-bottom: .5em;">{$additional_text_1} {$additional_text_13}</h2> {* Assign social buttons to $social so we can check if there are any before showing the section *} {listing tag='listing_social_buttons' addon='core' assign='social'} {if $social} {* There are social buttons to display, use a rounded top box *} <div class="rounded_top"> {$social} </div> {/if} <div class="content_box_3 clearfix"> <div style="width:95%; margin: 0 auto; padding: 3px 0;"> <div style="float:left; width:50%; text-align: left;"><strong>{$date_started_label}</strong> {$date_started}</div> <div style="float:left; width:50%; text-align: right;"><strong>{$viewed_count_label}</strong> {$viewed_count}</div> </div> {listing tag='image_block'} {listing tag='offsite_videos_block' assign='offsite_videos_block'} {if $offsite_videos_block} <div class="clear"></div> <h1 class="title">{$offsite_videos_title}</h1> {$offsite_videos_block} <div class="clear"><br /></div> {/if} </div> {* START OPTIONAL FIELDS *} {if $optional_field_1 or $optional_field_2 or $optional_field_3 or $optional_field_4 or $optional_field_5 or $optional_field_6 or $optional_field_7 or $optional_field_8 or $optional_field_9 or $optional_field_10 or $optional_field_11 or $optional_field_12 or $optional_field_13 or $optional_field_16 or $optional_field_17 or $optional_field_18 or $optional_field_19 or $optional_field_20} {* Only show section if at least one optional field 1-20 is used, skipping 14 and 15 as they are already displayed further up in template. *} <h1 class="title rounded_top"> {$additional_text_11} </h1> <div class="content_box_1 clearfix" style="padding: 4px;"> <ul class="optional_fields"> {* Keep track of how many fields are actually displayed. *} {$optional_list_count=0} {if $optional_field_1} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_1_label}</label> {$optional_field_1} </li> {/if} {if $optional_field_2} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_2_label}</label> {$optional_field_2} </li> {/if} {if $optional_field_3} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_3_label}</label> {$optional_field_3} </li> {/if} {if $optional_field_4} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_4_label}</label> {$optional_field_4} </li> {/if} {if $optional_field_5} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_5_label}</label> {$optional_field_5} </li> {/if} {if $optional_field_6} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_6_label}</label> {$optional_field_6} </li> {/if} {if $optional_field_7} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_7_label}</label> {$optional_field_7} </li> {/if} {if $optional_field_8} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_8_label}</label> {$optional_field_8} </li> {/if} {if $optional_field_9} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_9_label}</label> {$optional_field_9} </li> {/if} {if $optional_field_10} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_10_label}</label> {$optional_field_10} </li> {/if} {if $optional_field_11} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_11_label}</label> {$optional_field_11} </li> {/if} {if $optional_field_12} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_12_label}</label> {$optional_field_12} </li> {/if} {if $optional_field_13} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_13_label}</label> {$optional_field_13} </li> {/if} {* NOTE: optional fields 14 and 15 already displayed in seller note section. If you add them here, be sure to update the {if ...} to include it. *} {if $optional_field_16} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_16_label}</label> {$optional_field_16} </li> {/if} {if $optional_field_17} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_17_label}</label> {$optional_field_17} </li> {/if} {if $optional_field_18} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_18_label}</label> {$optional_field_18} </li> {/if} {if $optional_field_19} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_19_label}</label> {$optional_field_19} </li> {/if} {if $optional_field_20} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_20_label}</label> {$optional_field_20} </li> {/if} {if $optional_list_count is odd by 1} {* If an odd number is displayed, insert a blank value to show on left side *} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"><label></label></li> {/if} </ul> </div> {/if} {* END OPTIONAL FIELDS *} {* START DESCRIPTION *} <h1 class="title rounded_top">{$description_label}</h1> <div class="content_box_1 clearfix"> {listing tag='extra_checkbox_name' assign='extra_checkbox_name'} {if $extra_checkbox_name} <br /> <h3>{$additional_text_11}</h3> <div id="checkbox" style="margin:5px;"> {$extra_checkbox_name} </div> <div class="clear"><br /></div> {/if} <h3>{$additional_text_7}</h3> <p>{$description}</p> {listing tag='multi_level_field_ul' assign='multi_level'} {listing tag='extra_questions' assign='extra_questions'} {if $extra_questions or $multi_level} <br /> <h3>{$additional_text_5}</h3> {if $extra_questions} {$extra_questions} <br /> {/if} {if $multi_level} {$multi_level} {/if} {/if} </div> <br /> {* END DESCRIPTION *} {addon author='geo_addons' addon='twitter_feed' tag='show_feed'} <br /> {* START PUBLIC QUESTIONS *} <h1 class="title rounded_top"> {$publicQuestionsLabel}{if $logged_in} - <a href="{$classifieds_file_name}?a=13&b={$classified_id}">{$askAQuestionText}</a>{/if} </h1> <div class="content_box_1"> {if $publicQuestions} {foreach from=$publicQuestions key='question_id' item='q'} {if $q.answer !== false} <div class="publicQuestions {cycle values='row_odd,row_even'}"> <div class="question"> <span class="public_question_asker_username"><a href="{$classifieds_file_name}?a=6&b={$q.asker_id}">{$q.asker}</a></span> <span class="public_question_asker_timestamp">({$q.time})</span> {if $can_delete}<a onclick="if (!confirm('Are you sure you want to remove this question and its answer?')) return false;" href="{$classifieds_file_name}?a=4&b=8&c=2&d={$question_id}&public=1"><img src="{external file='images/buttons/listing_delete.gif'}" alt="" /></a> {/if} <br /> {$q.question} </div> <div class="answer"> {$q.answer} </div> </div> {/if} {/foreach} {else} <div class="box_pad">{$noPublicQuestions}</div> {/if} </div> <br /> {* END PUBLIC QUESTIONS *} {* START GOOGLE MAPS *} {addon author='geo_addons' addon='google_maps' tag='listing_map' assign='map'} {if $map} <h1 class="title rounded_top">{$additional_text_18}</h1> <div class="content_box_1 cntr"> {* Make sure map is centered in the box *} <div class="clearfix">{$map}</div> </div> {/if} <br /> <!-- END CENTER COLUMN --> </div> <div class="sidebar listing_leftcol"> <!-- LEFT SIDEBAR CONTENTS --> <!-- SELLER INFO BEGIN --> <h2 class="title rounded_top">{$seller_label}</h2> <div class="content_box_2"> <h1 class="seller_username">{listing tag='seller'}</h1> <p class="content_section"> {listing tag='user_rating'} <strong>{$additional_text_17}</strong><br /> {listing field='member_since'} </p> {if $city_data or $state_data or $zip_data} {* Only show this section if the city, state, or zip is set for the listing. This prevents an "empty section" when all of location information is empty *} <p class="content_section"> {if $city_data} {$city_data}, {/if} {if $state_data} {$state_data} {/if} {if $zip_data} {$zip_data} {/if} </p> {/if} {if $phone_data or $phone2_data or $fax_data} {* Only show this section if one of the phones or fax is set for the listing. This prevents an "empty section" when all of the phone numbers are empty. *} <p class="content_section cntr"> {if $phone_data} <span class="sec_color" style="font-size:1.6em;">{$phone_data}</span><br /> {/if} {if $phone2_data} {$phone2_label} {$phone2_data}<br /> {/if} {if $fax_data} {$fax_label} {$fax_data}<br /> {/if} </p> {/if} {* "Assign" contents of each url link to a smarty variable, so we can see if the link exists before adding the section *} {listing tag='url_link_1' assign='url_link_1'} {listing tag='url_link_2' assign='url_link_2'} {listing tag='url_link_3' assign='url_link_3'} {if $url_link_1 or $url_link_2 or $url_link_3 or $public_email} {* Only show section if there is at least one URL link or if there is public e-mail to show *} <p class="content_section cntr"> {if $url_link_1} {$url_link_1}<br /> {/if} {if $url_link_2} {$url_link_2}<br /> {/if} {if $url_link_3} {$url_link_3}<br /> {/if} {if $public_email} <a href="mailto:{$public_email}">{$public_email}</a> {/if} </p> {/if} {* Assign the storefront link to $storefront_link so we can check if it is "empty" or not before showing it... To prevent an "empty" item in the list if there is no storefront link. *} {listing tag='storefront_link' addon='storefront' assign='storefront_link'} <ul class="option_list"> {if $storefront_link} {* The storefront link exists so show it! *} <li>{$storefront_link}</li> {/if} <li>{listing tag='sellers_other_ads_link'}</li> <li>{listing tag='message_to_seller_link'}</li> </ul> </div> <!-- SELLER INFO END --> <div class="icon-link"> <img alt="Print Friendly" src="{external file='images/icons/printer.png'}" title="Print Friendly" /> {listing tag='print_friendly_link'} </div> <div class="icon-link"> <img alt="Tell-a-Friend" src="{external file='images/icons/friend.png'}" title="Tell-a-Friend" /> {listing tag='notify_friend_link'} </div> <div class="icon-link"> <img alt="Add-to-Favorites" src="{external file='images/icons/favorite.png'}" title="Add-to-Favorites" /> {listing tag='favorites_link'} </div> {if $enabledAddons.contact_us} <div class="icon-link"> <img alt="Report Abuse" src="{external file='images/icons/flag.png'}" title="Report Abuse" /> <a href="{$classifieds_file_name}?a=ap&addon=contact_us&page=main&reportAbuse={$classified_id}" class="lightUpLink">{$additional_text_10}</a> </div> {/if} {if $payment_options or $optional_field_14 or $optional_field_15} {* Only show section if there is payment_options, or if either optional field 14 or 15 is turned on *} <!-- SELLER NOTES BEGIN --> <h2 class="title rounded_top"> {$additional_text_19} </h2> <div class="content_box_2"> {if $payment_options} <p class="content_section"> <strong>{$payment_options_label}</strong><br /> {$payment_options} </p> {/if} {if $optional_field_14} <p class="content_section"> <strong>{$optional_field_14_label}</strong><br /> {$optional_field_14} </p> {/if} {if $optional_field_15} <p class="content_section"> <strong>{$optional_field_15_label}</strong><br /> {$optional_field_15} </p> {/if} </div> <!-- SELLER NOTES END --> {/if} <!-- LISTING POPULARITY BEGIN --> <h2 class="title rounded_top"> {$additional_text_6} </h2> <div class="content_box_2"> {* Assign vote total to $vote_total so can use it to determine whether to show the current vote info section *} {listing tag='voteSummary_total' assign='vote_total'} {if $vote_total gt 0} {* only show if there are already votes on the listing *} <div class="cntr" style="font-size: 12px;"> Out of <span style="color: #4076B1; font-size: 18px; font-weight: bold;">{$vote_total}</span> Vote(s) <span style="color: #4076B1; font-size: 18px; font-weight: bold;">{listing tag='voteSummary_percent'}%</span> of Customers Say: </div> <div class="cntr">{listing tag='voteSummary_text'}</div> {/if} <div class="cntr"> <!-- Space the links apart --> <div style="display: inline-block; padding: 8px;"> {listing tag='vote_on_ad_link'} </div> <div style="display: inline-block; padding: 8px;"> {listing tag='show_ad_vote_comments_link'} </div> </div> </div> <!-- LISTING POPULARITY END --> <!-- FIND SIMILAR BEGIN --> {if $listing_tags_array} {* only show section if there are listing tags on this listing *} <h2 class="title rounded_top"> {$additional_text_20} </h2> <div class="content_box_2"> <p class="content_section"> <strong>{$listing_tags_label}:</strong><br /> {listing tag='listing_tags_links'} </p> </div> {/if} <!-- FIND SIMILAR END --> <!-- FEATURED LISTINGS BEGIN --> <h2 class="title rounded_top"> {$additional_text_2} </h2> <div class="content_box_1"> {* NOTE: In order to show featured listings in a single column, the {module} tag below includes a number of parameters that over-write the module settings set in the admin. You must change those settings "in-line" below to change them. Or, you can remove the parameter(s) from the {module} tag completely, and it will use the module settings as set in the admin panel. See the user manual entry for the {module} tag for a list of all parameters that can be over-written in this way. *} {module tag='module_featured_pic_2' gallery_columns=1 module_thumb_width=168 module_thumb_height=200} </div> <!-- FEATURED LISTINGS END --> <!-- END LEFT SIDEBAR --> </div> <div class="sidebar2"> <!-- RIGHT SIDEBAR CONTENTS --> <h3 class="title rounded_top">{$additional_text_3}</h3> <div class="content_box_3 cntr"> <a href="#"><img src="{external file='../images/banners/banner1_160w.jpg'}" alt="" /></a> </div> <!-- END RIGHT SIDBAR CONTENTS --> </div> <div class="center clearfix"> {listing tag='previous_ad_link'} {listing tag='next_ad_link'} </div> <nav class="listing-prev-next-links"> {listing tag='previous_ad_link'} {listing tag='next_ad_link'} </nav> <div class="clearfix"> {listing tag='category_breadcrumb'} </div> <h1 class="listing_title" style="display: inline;"> {$title} {if $price} - <span class="value price">{$price}</span>{/if} <span class="id">{$classified_id_label} {$classified_id}</span> </h1> <div class="action_buttons" style="display: inline;"> {if $can_edit} <a href="{$classifieds_file_name}?a=cart&action=new&main_type=listing_edit&listing_id={$classified_id}"><img src="{external file='images/buttons/listing_edit.gif'}" alt="" /></a> {/if} {if $can_delete} <a onclick="if (!confirm('Are you sure you want to delete this?')) return false;" href="{$classifieds_file_name}?a=99&b={$classified_id}"><img src="{external file='images/buttons/listing_delete.gif'}" alt="" /></a> {/if} {listing tag='listing_action_buttons' addon='core'} </div> <br /><br /> <div class="main listing_maincol"> <!-- MAIN CENTER COLUMN --> <h2 class="title" style="margin-bottom: .5em;">{$additional_text_1} {$additional_text_13}</h2> {* Assign social buttons to $social so we can check if there are any before showing the section *} {listing tag='listing_social_buttons' addon='core' assign='social'} {if $social} {* There are social buttons to display, use a rounded top box *} <div class="rounded_top"> {$social} </div> {/if} <div class="content_box_3 clearfix"> <div style="width:95%; margin: 0 auto; padding: 3px 0;"> <div style="float:left; width:50%; text-align: left;"><strong>{$date_started_label}</strong> {$date_started}</div> <div style="float:left; width:50%; text-align: right;"><strong>{$viewed_count_label}</strong> {$viewed_count}</div> </div> {listing tag='image_block'} {listing tag='offsite_videos_block' assign='offsite_videos_block'} {if $offsite_videos_block} <div class="clear"></div> <h1 class="title">{$offsite_videos_title}</h1> {$offsite_videos_block} <div class="clear"><br /></div> {/if} </div> {* START OPTIONAL FIELDS *} {if $optional_field_1 or $optional_field_2 or $optional_field_3 or $optional_field_4 or $optional_field_5 or $optional_field_6 or $optional_field_7 or $optional_field_8 or $optional_field_9 or $optional_field_10 or $optional_field_11 or $optional_field_12 or $optional_field_13 or $optional_field_16 or $optional_field_17 or $optional_field_18 or $optional_field_19 or $optional_field_20} {* Only show section if at least one optional field 1-20 is used, skipping 14 and 15 as they are already displayed further up in template. *} <h1 class="title rounded_top"> {$additional_text_11} </h1> <div class="content_box_1 clearfix" style="padding: 4px;"> <ul class="optional_fields"> {* Keep track of how many fields are actually displayed. *} {$optional_list_count=0} {if $optional_field_1} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_1_label}</label> {$optional_field_1} </li> {/if} {if $optional_field_2} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_2_label}</label> {$optional_field_2} </li> {/if} {if $optional_field_3} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_3_label}</label> {$optional_field_3} </li> {/if} {if $optional_field_4} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_4_label}</label> {$optional_field_4} </li> {/if} {if $optional_field_5} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_5_label}</label> {$optional_field_5} </li> {/if} {if $optional_field_6} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_6_label}</label> {$optional_field_6} </li> {/if} {if $optional_field_7} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_7_label}</label> {$optional_field_7} </li> {/if} {if $optional_field_8} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_8_label}</label> {$optional_field_8} </li> {/if} {if $optional_field_9} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_9_label}</label> {$optional_field_9} </li> {/if} {if $optional_field_10} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_10_label}</label> {$optional_field_10} </li> {/if} {if $optional_field_11} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_11_label}</label> {$optional_field_11} </li> {/if} {if $optional_field_12} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_12_label}</label> {$optional_field_12} </li> {/if} {if $optional_field_13} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_13_label}</label> {$optional_field_13} </li> {/if} {* NOTE: optional fields 14 and 15 already displayed in seller note section. If you add them here, be sure to update the {if ...} to include it. *} {if $optional_field_16} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_16_label}</label> {$optional_field_16} </li> {/if} {if $optional_field_17} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_17_label}</label> {$optional_field_17} </li> {/if} {if $optional_field_18} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_18_label}</label> {$optional_field_18} </li> {/if} {if $optional_field_19} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_19_label}</label> {$optional_field_19} </li> {/if} {if $optional_field_20} {$optional_list_count=$optional_list_count+1} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"> <label>{$optional_field_20_label}</label> {$optional_field_20} </li> {/if} {if $optional_list_count is odd by 1} {* If an odd number is displayed, insert a blank value to show on left side *} <li class="{cycle values='row_odd,row_even,row_even,row_odd'}"><label></label></li> {/if} </ul> </div> {/if} {* END OPTIONAL FIELDS *} {* START DESCRIPTION *} <h1 class="title rounded_top">{$description_label}</h1> <div class="content_box_1 clearfix"> {listing tag='extra_checkbox_name' assign='extra_checkbox_name'} {if $extra_checkbox_name} <br /> <h3>{$additional_text_11}</h3> <div id="checkbox" style="margin:5px;"> {$extra_checkbox_name} </div> <div class="clear"><br /></div> {/if} <h3>{$additional_text_7}</h3> <p>{$description}</p> {listing tag='multi_level_field_ul' assign='multi_level'} {listing tag='extra_questions' assign='extra_questions'} {if $extra_questions or $multi_level} <br /> <h3>{$additional_text_5}</h3> {if $extra_questions} {$extra_questions} <br /> {/if} {if $multi_level} {$multi_level} {/if} {/if} </div> <br /> {* END DESCRIPTION *} {addon author='geo_addons' addon='twitter_feed' tag='show_feed'} <br /> {* START PUBLIC QUESTIONS *} <h1 class="title rounded_top"> {$publicQuestionsLabel}{if $logged_in} - <a href="{$classifieds_file_name}?a=13&b={$classified_id}">{$askAQuestionText}</a>{/if} </h1> <div class="content_box_1"> {if $publicQuestions} {foreach from=$publicQuestions key='question_id' item='q'} {if $q.answer !== false} <div class="publicQuestions {cycle values='row_odd,row_even'}"> <div class="question"> <span class="public_question_asker_username"><a href="{$classifieds_file_name}?a=6&b={$q.asker_id}">{$q.asker}</a></span> <span class="public_question_asker_timestamp">({$q.time})</span> {if $can_delete}<a onclick="if (!confirm('Are you sure you want to remove this question and its answer?')) return false;" href="{$classifieds_file_name}?a=4&b=8&c=2&d={$question_id}&public=1"><img src="{external file='images/buttons/listing_delete.gif'}" alt="" /></a> {/if} <br /> {$q.question} </div> <div class="answer"> {$q.answer} </div> </div> {/if} {/foreach} {else} <div class="box_pad">{$noPublicQuestions}</div> {/if} </div> <br /> {* END PUBLIC QUESTIONS *} {* START GOOGLE MAPS *} {addon author='geo_addons' addon='google_maps' tag='listing_map' assign='map'} {if $map} <h1 class="title rounded_top">{$additional_text_18}</h1> <div class="content_box_1 cntr"> {* Make sure map is centered in the box *} <div class="clearfix">{$map}</div> </div> {/if} <br /> <!-- END CENTER COLUMN --> </div> <div class="sidebar listing_leftcol"> <!-- LEFT SIDEBAR CONTENTS --> <!-- SELLER INFO BEGIN --> <h2 class="title rounded_top">{$seller_label}</h2> <div class="content_box_2"> <h1 class="seller_username">{listing tag='seller'}</h1> <p class="content_section"> {listing tag='user_rating'} <strong>{$additional_text_17}</strong><br /> {listing field='member_since'} </p> {if $city_data or $state_data or $zip_data} {* Only show this section if the city, state, or zip is set for the listing. This prevents an "empty section" when all of location information is empty *} <p class="content_section"> {if $city_data} {$city_data}, {/if} {if $state_data} {$state_data} {/if} {if $zip_data} {$zip_data} {/if} </p> {/if} {if $phone_data or $phone2_data or $fax_data} {* Only show this section if one of the phones or fax is set for the listing. This prevents an "empty section" when all of the phone numbers are empty. *} <p class="content_section cntr"> {if $phone_data} <span class="sec_color" style="font-size:1.6em;">{$phone_data}</span><br /> {/if} {if $phone2_data} {$phone2_label} {$phone2_data}<br /> {/if} {if $fax_data} {$fax_label} {$fax_data}<br /> {/if} </p> {/if} {* "Assign" contents of each url link to a smarty variable, so we can see if the link exists before adding the section *} {listing tag='url_link_1' assign='url_link_1'} {listing tag='url_link_2' assign='url_link_2'} {listing tag='url_link_3' assign='url_link_3'} {if $url_link_1 or $url_link_2 or $url_link_3 or $public_email} {* Only show section if there is at least one URL link or if there is public e-mail to show *} <p class="content_section cntr"> {if $url_link_1} {$url_link_1}<br /> {/if} {if $url_link_2} {$url_link_2}<br /> {/if} {if $url_link_3} {$url_link_3}<br /> {/if} {if $public_email} <a href="mailto:{$public_email}">{$public_email}</a> {/if} </p> {/if} {* Assign the storefront link to $storefront_link so we can check if it is "empty" or not before showing it... To prevent an "empty" item in the list if there is no storefront link. *} {listing tag='storefront_link' addon='storefront' assign='storefront_link'} <ul class="option_list"> {if $storefront_link} {* The storefront link exists so show it! *} <li>{$storefront_link}</li> {/if} <li>{listing tag='sellers_other_ads_link'}</li> <li>{listing tag='message_to_seller_link'}</li> </ul> </div> <!-- SELLER INFO END --> {listing tag='print_friendly_link' assign='print_friendly_link'} {if $print_friendly_link} <div class="icon-link"> <img alt="Print Friendly" src="{external file='images/icons/printer.png'}" title="Print Friendly" /> {$print_friendly_link} </div> {/if} {listing tag='notify_friend_link' assign='notify_friend_link'} {if $notify_friend_link} <div class="icon-link"> <img alt="Tell-a-Friend" src="{external file='images/icons/friend.png'}" title="Tell-a-Friend" /> {$notify_friend_link} </div> {/if} {listing tag='favorites_link' assign='favorites_link'} {if $favorites_link} <div class="icon-link"> <img alt="Add-to-Favorites" src="{external file='images/icons/favorite.png'}" title="Add-to-Favorites" /> {$favorites_link} </div> {/if} {if $enabledAddons.contact_us && $additional_text_10} <div class="icon-link"> <img alt="Report Abuse" src="{external file='images/icons/flag.png'}" title="Report Abuse" /> <a href="{$classifieds_file_name}?a=ap&addon=contact_us&page=main&reportAbuse={$classified_id}" class="lightUpLink">{$additional_text_10}</a> </div> {/if} {if $payment_options or $optional_field_14 or $optional_field_15} {* Only show section if there is payment_options, or if either optional field 14 or 15 is turned on *} <!-- SELLER NOTES BEGIN --> <h2 class="title rounded_top"> {$additional_text_19} </h2> <div class="content_box_2"> {if $payment_options} <p class="content_section"> <strong>{$payment_options_label}</strong><br /> {$payment_options} </p> {/if} {if $optional_field_14} <p class="content_section"> <strong>{$optional_field_14_label}</strong><br /> {$optional_field_14} </p> {/if} {if $optional_field_15} <p class="content_section"> <strong>{$optional_field_15_label}</strong><br /> {$optional_field_15} </p> {/if} </div> <!-- SELLER NOTES END --> {/if} <!-- LISTING POPULARITY BEGIN --> <h2 class="title rounded_top"> {$additional_text_6} </h2> <div class="content_box_2"> {* Assign vote total to $vote_total so can use it to determine whether to show the current vote info section *} {listing tag='voteSummary_total' assign='vote_total'} {if $vote_total gt 0} {* only show if there are already votes on the listing *} <div class="cntr" style="font-size: 12px;"> Out of <span style="color: #4076B1; font-size: 18px; font-weight: bold;">{$vote_total}</span> Vote(s) <span style="color: #4076B1; font-size: 18px; font-weight: bold;">{listing tag='voteSummary_percent'}%</span> of Customers Say: </div> <div class="cntr">{listing tag='voteSummary_text'}</div> {/if} <div class="cntr"> <!-- Space the links apart --> <div style="display: inline-block; padding: 8px;"> {listing tag='vote_on_ad_link'} </div> <div style="display: inline-block; padding: 8px;"> {listing tag='show_ad_vote_comments_link'} </div> </div> </div> <!-- LISTING POPULARITY END --> <!-- FIND SIMILAR BEGIN --> {if $listing_tags_array} {* only show section if there are listing tags on this listing *} <h2 class="title rounded_top"> {$additional_text_20} </h2> <div class="content_box_2"> <p class="content_section"> <strong>{$listing_tags_label}:</strong><br /> {listing tag='listing_tags_links'} </p> </div> {/if} <!-- FIND SIMILAR END --> <!-- FEATURED LISTINGS BEGIN --> <h2 class="title rounded_top"> {$additional_text_2} </h2> <div class="content_box_1"> {* NOTE: In order to show featured listings in a single column, the {module} tag below includes a number of parameters that over-write the module settings set in the admin. You must change those settings "in-line" below to change them. Or, you can remove the parameter(s) from the {module} tag completely, and it will use the module settings as set in the admin panel. See the user manual entry for the {module} tag for a list of all parameters that can be over-written in this way. *} {module tag='module_featured_pic_2' gallery_columns=1 module_thumb_width=168 module_thumb_height=200} </div> <!-- FEATURED LISTINGS END --> <!-- END LEFT SIDEBAR --> </div> <div class="sidebar2"> <!-- RIGHT SIDEBAR CONTENTS --> <h3 class="title rounded_top">{$additional_text_3}</h3> <div class="content_box_3 cntr"> <a href="#"><img src="{external file='../images/banners/banner1_160w.jpg'}" alt="" /></a> </div> <!-- END RIGHT SIDBAR CONTENTS --> </div> <div class="center clearfix"> {listing tag='previous_ad_link'} {listing tag='next_ad_link'} </div>
<div class="content_box"> <h1 class="title">{$section_title}</h1> <h1 class="subtitle">{$page_title}</h1> </div> <div class="center">
<div class="content_box"> <h1 class="title">{$section_title}</h1> <h1 class="subtitle">{$page_title}</h1> <div class="success_box">{$instructions}</div> </div> <div class="center">
<div class="content_box"> <h1 class="title">{$section_title}</h1> <h1 class="subtitle">{$page_title}</h1> <div class="success_box">{$instructions}</div> </div> <div class="center">
{* @git-info@ *} {* NOTE: this template is used for the internals of the current_low_bidder and outbid emails *} {$titleLabel} {$title}<br /> <br /> {$currentBidLabel} {$currentBid}<br /> {if $maxBid} <br /> {$maxBidLabel} {$maxBid}<br /> {/if} <br /> {$endDateLabel} {$endDate}<br /> <br /> {$listingLinkLabel} <a href="{$listingLink}">{$listingLink}</a><br />
{* @git-info@ *} {* NOTE: this template is used for the internals of the current_low_bidder and outbid emails *} {$titleLabel} {$title}<br /> <br /> {$currentBidLabel} {$currentBid}<br /> {if $maxBid} <br /> {$maxBidLabel} {$maxBid}<br /> {/if} <br /> {$endDateLabel} {$endDate}<br /> <br /> {$listingLinkLabel} <a href="{$listingLink}">{$listingLink}</a><br />
{* @git-info@ *} {* NOTE: this template is used for the internals of the current_low_bidder and outbid emails *} {$titleLabel} {$title}<br /> <br /> {$currentBidLabel} {$currentBid}<br /> {if $maxBid} <br /> {$maxBidLabel} {$maxBid}<br /> {/if} <br /> {$endDateLabel} {$endDate}<br /> <br /> {* @git-info@ *} {* NOTE: this template is used for the internals of the current_low_bidder and outbid emails *} {$titleLabel} {$title}<br /> <br /> {$currentBidLabel} {$currentBid}<br /> {if $maxBid} <br /> {$maxBidLabel} {$maxBid}<br /> {/if} <br /> {$endDateLabel} {$endDate}<br /> <br /> {$listingLinkLabel} <a href="{$listingLink}">{$listingLink}</a><br />
} else { container.find('.contact-loading').hide('fast'); } if (!response || !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); } else { $this.show('fast'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(gjUtil.lightbox.contents).find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } return; } if (response.message) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } });
} else { container.find('.contact-loading').hide('fast'); } if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(gjUtil.lightbox.contents).find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } return; } if (response && !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); if(response.message.length > 0) { jQuery(gjUtil.lightbox.contents).find('.contact-result').html(response.message).show(); } } else { $this.show('fast'); if(response.message.length > 0) { container.find('.contact-result').html(response.message).show(); } } } else if(response.success) { if (response.message) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } } });
} else { container.find('.contact-loading').hide('fast'); } if (!response || !response.success) { //show the form again since it was not a success if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(gjUtil.lightbox.contents).find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } else { $this.show('fast'); container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(gjUtil.lightbox.contents).find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } return; } if (response.message) { if (response && !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); if(response.message.length > 0) { jQuery(gjUtil.lightbox.contents).find('.contact-result').html(response.message).show(); } } else { container.find('.contact-result').html(response.message); $this.show('fast'); if(response.message.length > 0) { container.find('.contact-result').html(response.message).show(); } } } else if(response.success) { if (response.message) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } } });
dataType : 'json', type : 'POST' }).done(function (response) { container.find('.contact-loading').hide('fast'); if (!response || !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); } else { $this.show('fast'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } } if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show();
dataType : 'json', type : 'POST' }).done(function (response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-loading').hide(); } else { container.find('.contact-loading').hide('fast'); } if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show();
dataType : 'json', type : 'POST' }).done(function (response) { container.find('.contact-loading').hide('fast'); if (!response || !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); } else { $this.show('fast'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-loading').hide(); } else { container.find('.contact-loading').hide('fast'); } if (!response) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show();
} else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } return; } if (response.message) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } });
} else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } return; } if (response && !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); if(response.message.length > 0) { jQuery(gjUtil.lightbox.contents).find('.contact-result').html(response.message).show(); } } else { $this.show('fast'); if(response.message.length > 0) { container.find('.contact-result').html(response.message).show(); } } } else if(response.success) { if (response.message) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } } });
} else { container.find('.contact-result').html('<div class="error_message">{$messages.69|escape_js} (invalid response)</div>'); } if (changeSecurityImage) { //reset security image changeSecurityImage(); } return; } if (response.message) { if (response && !response.success) { //show the form again since it was not a success if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); if(response.message.length > 0) { jQuery(gjUtil.lightbox.contents).find('.contact-result').html(response.message).show(); } } else { container.find('.contact-result').html(response.message); $this.show('fast'); if(response.message.length > 0) { container.find('.contact-result').html(response.message).show(); } } } else if(response.success) { if (response.message) { if(isLightbox) { jQuery(gjUtil.lightbox.contents).find('.contact-buttons').show(); jQuery(document).gjLightbox('close'); gjUtil.addMessage(response.message, 1500); } else { container.find('.contact-result').html(response.message); } } } });
}; //The default sample text used, like YYYY-MM-DD geoUtil._dateDefaultText='{$messages.501042|escape_js}'; //]]> </script>
}; //The default sample text used, like YYYY-MM-DD gjUtil._dateDefaultText='{$messages.501042|escape_js}'; //]]> </script>
}; //The default sample text used, like YYYY-MM-DD geoUtil._dateDefaultText='{$messages.501042|escape_js}'; gjUtil._dateDefaultText='{$messages.501042|escape_js}'; //]]> </script>
} }).error(function () { //changing title ajax call failed geoUtil.addError('server error'); }); } };
} }).error(function () { //changing title ajax call failed gjUtil.addError('server error'); }); } };
} }).error(function () { //changing title ajax call failed geoUtil.addError('server error'); gjUtil.addError('server error'); }); } };
<div id='update_response'> <label class="field_label">{$messages.500205}</label> <div class="inline" style="position: relative;"> <div class="media-editable-saved"><img src="{external file='images/saved-check.png'}" alt="" /></div> <div id="paypal_id" class="field" style="min-width: 250px;" contenteditable="true">{$paypal_id}</div> </div> <a href="#" id="savePaypal" style="display: none;">{$messages.500216}</a> </div>
<div id='update_response'> <label class="field_label">{$messages.500205}</label> <div class="inline" style="position: relative;"> <div class="media-editable-saved" style="bottom: 0.6em; left: -4em;"><img src="{external file='images/saved-check.png'}" alt="" /></div> <div id="paypal_id" class="field" style="min-width: 250px; min-height: 1.4em;" contenteditable="true">{$paypal_id}</div> </div> <a href="#" id="savePaypal" style="display: none;">{$messages.500216}</a> </div>
<div id='update_response'> <label class="field_label">{$messages.500205}</label> <div class="inline" style="position: relative;"> <div class="media-editable-saved"><img src="{external file='images/saved-check.png'}" alt="" /></div> <div id="paypal_id" class="field" style="min-width: 250px;" contenteditable="true">{$paypal_id}</div> <div class="media-editable-saved" style="bottom: 0.6em; left: -4em;"><img src="{external file='images/saved-check.png'}" alt="" /></div> <div id="paypal_id" class="field" style="min-width: 250px; min-height: 1.4em;" contenteditable="true">{$paypal_id}</div> </div> <a href="#" id="savePaypal" style="display: none;">{$messages.500216}</a> </div>
1455 - Add ability to not display category specific header elements in listing details and printer friendly pages
1456 - Allow redirecting all "Contact Seller" emails to a single inbox
1459 - Expose Storefront owners' userdata to storefront templates
1465 - added new addon hook: overload_geoFile_correctMSDocMagicMime
1466 - Security Image: update ReCAPTCHA to latest version
1467 - expose mobile detection to templates
1480 - Contact Seller form now retains entered contact info on failed submit
1487 - enabled "Clear Selection" link for multi-level fields
- No Security fixes or patches for this release.
1476 - restored missing video sort functionality during listing placement
1458 - created a new setting to fix a "bug" that would prevent accurate zipsearching in certain countries
1461 - Storefront: improve behavior at the end of a recurring-billed subscription
1462 - fixed the way Revenue Reports handle Account Balance transactions
1463 - Paypal Pro recurring billing now treats "suspended" profiles as cancelled.
1468 - fixed trailing zeroes being truncated from display of "cost options"
1473 - Storefront: removed a broken link that shouldn't have been appearing anyway
1477 - Fixed a case where it was possible to set auction end times further out than intended
1478 - Fixed error checking logic surrounding auction "end time" versus "duration" choices
1479 - Fixed Invoice print-friendly view referencing old/incorrect CSS files
1481 - Cleaned up a couple of fringe display oddities with region selectors
1482 - Cleaned up some cases where removing a listing would not remove all relevant data
1484 - Social Connect: upgraded database to support new, longer Facebook IDs
1486 - Bridge (geo_all): fixed a regression breaking the ability to sync between Geo installs
1489 - Charity Tools: fixed a typo that could prevent purchased charity icons from appearing
1460 - Fixed RSS Feed always displaying "no listings" (even when showing listings)
1469 - restored missing icon to non-image uploads in media preview section
1470 - fixed login_trackback cookie not being cleared once consumed
1454 - improved styling of admin "sent message" page to make it easier to read
Reference Purposes Only: Like the rest of this changelog, the template changes below are for reference purposes only, not (necessarily) a list of changes everyone needs to follow. Refer to the full update instructions to find if you need to make any template changes during an update.
margin-left: 13.33em; } /* ========================================================================== Columns ========================================================================== */
margin-left: 13.33em; } .region_selector.region_selector_block { display: block; } /* ========================================================================== Columns ========================================================================== */
margin-left: 13.33em; } .region_selector.region_selector_block { display: block; } /* ========================================================================== Columns ========================================================================== */
//transfer the offsite video slot sortable class to the parent... jQuery('.offsite_video_slot').each (function (index) { var elem=jQuery(this); if (elem.siblings().hasClass('offsite_video_is_sortable')) { elem.addClass('offsite_video_slot_sortable'); } else { elem.removeClass('offsite_video_slot_sortable'); } });
//transfer the offsite video slot sortable class to the parent... jQuery('.offsite_video_slot').each (function (index) { var elem=jQuery(this); if (elem.children().hasClass('offsite_video_is_sortable')) { elem.removeClass('offsite_video_slot_not_sortable'); } else { elem.addClass('offsite_video_slot_not_sortable'); } });
//transfer the offsite video slot sortable class to the parent... jQuery('.offsite_video_slot').each (function (index) { var elem=jQuery(this); if (elem.siblings().hasClass('offsite_video_is_sortable')) { elem.addClass('offsite_video_slot_sortable'); if (elem.children().hasClass('offsite_video_is_sortable')) { elem.removeClass('offsite_video_slot_not_sortable'); } else { elem.removeClass('offsite_video_slot_sortable'); elem.addClass('offsite_video_slot_not_sortable'); } });
//oops, not found... return; } //TODO: make it sortable using jQuery return; Sortable.create('offsite_videos_outer', { tag: 'div', only: 'offsite_video_slot_sortable', overlap: 'horizontal', treeTag: 'div', constraint: '', handle: 'offsite_video_box_title', scroll : geoVidProcess.scrollSetting, revert : true, //hoverclass: 'dragHover', onUpdate: function () { new Ajax.Request(geoVidProcess.ajaxUrl+"?controller=OffsiteVideos&action=sortVideos", { method: 'post', parameters: { 'videoSlots': Sortable.serialize('offsite_videos_outer'), 'userId' : geoVidProcess.userId, 'adminId' : geoVidProcess.adminId }, onSuccess: geoVidProcess.sortableResponseSuccess }); } }); geoVidProcess.dragableObserver.init(); }, sortableResponseSuccess : function (response) { if (response) {
//oops, not found... return; } video_starting_order = null; jQuery('#offsite_videos_outer').sortable({ cancel: ".offsite_video_slot_not_sortable, input, a, textarea, button, select, option", cursor: "move", start: function(event, ui) { video_starting_order = jQuery('#offsite_videos_outer').sortable('serialize'); }, stop: function(event, ui) { //save sort here video_final_order = jQuery('#offsite_videos_outer').sortable('serialize'); if(video_starting_order == video_final_order) { //no change in order; nothing to do return; } jQuery.post(geoVidProcess.ajaxUrl+"?controller=OffsiteVideos&action=sortVideos", { 'videoSlots': video_final_order, 'userId' : geoVidProcess.userId, 'adminId' : geoVidProcess.adminId }, function(data) { geoVidProcess.sortableResponseSuccess(data); } ); } }); }, sortableResponseSuccess : function (response) { if (response) {
//oops, not found... return; } //TODO: make it sortable using jQuery return; Sortable.create('offsite_videos_outer', { tag: 'div', only: 'offsite_video_slot_sortable', overlap: 'horizontal', treeTag: 'div', constraint: '', handle: 'offsite_video_box_title', scroll : geoVidProcess.scrollSetting, revert : true, //hoverclass: 'dragHover', onUpdate: function () { new Ajax.Request(geoVidProcess.ajaxUrl+"?controller=OffsiteVideos&action=sortVideos", { method: 'post', parameters: { 'videoSlots': Sortable.serialize('offsite_videos_outer'), video_starting_order = null; jQuery('#offsite_videos_outer').sortable({ cancel: ".offsite_video_slot_not_sortable, input, a, textarea, button, select, option", cursor: "move", start: function(event, ui) { video_starting_order = jQuery('#offsite_videos_outer').sortable('serialize'); }, stop: function(event, ui) { //save sort here video_final_order = jQuery('#offsite_videos_outer').sortable('serialize'); if(video_starting_order == video_final_order) { //no change in order; nothing to do return; } jQuery.post(geoVidProcess.ajaxUrl+"?controller=OffsiteVideos&action=sortVideos", { 'videoSlots': video_final_order, 'userId' : geoVidProcess.userId, 'adminId' : geoVidProcess.adminId }, onSuccess: geoVidProcess.sortableResponseSuccess }); function(data) { geoVidProcess.sortableResponseSuccess(data); } ); } }); geoVidProcess.dragableObserver.init(); }, sortableResponseSuccess : function (response) { if (response) {
jQuery('.offsite_video_loading_container').hide(); }, dragableObserver : { _doFade: false, _plopVideo : function (draggable) { //move the "move image here" image to the right place, and make it visible. var plopVideo = $('plopDropVideoHere'); if (!plopVideo) { //nothing can be done, can't find the plog image! return; } //figure out choords to move it to var d = draggable.currentDelta(); var now = draggable.element.positionedOffset(); var ptop = now.top - d[1]; var pleft = now.left - d[0]; plopVideo.setStyle({left: pleft+'px', top: ptop+'px'}); plopVideo.show(); }, onStart: function (eventName, draggable, event) { if (!draggable.element.hasClassName('offsite_video_slot_sortable')) { //ignore this one return; } if (geoVidProcess.doingSomething('')) { //what the... already doing something event.stop(); return; } //simple hack to make the box centered vertically on the mouse, //so people don't get as confused... draggable.options.snap = function (x,y, draggable) { return [x, y-75]; }; //start out with the plopHere box visible instead of waiting for change geoVidProcess.dragableObserver._plopVideo(draggable); }, currentOrder : null, onDrag: function (eventName, draggable, event) { if (!draggable.element.hasClassName('offsite_video_slot_sortable')) { //ignore this one return; } //don't do this every single time it's moved, only when the move //causes the position to change var newOrder = Sortable.serialize('offsite_videos_outer'); if (newOrder == geoVidProcess.dragableObserver.currentOrder) { //did not change order, nothing to do return; } geoVidProcess.dragableObserver.currentOrder = newOrder; //move the "move image here" image to the right place, and make it visible. var plopVideo = $('plopDropVideoHere'); if (!plopVideo) { //nothing can be done, can't find the plog image! return; } geoVidProcess.dragableObserver._plopVideo(draggable); }, onEnd: function (eventName, draggable, event) { if (!draggable.element.hasClassName('offsite_video_slot_sortable')) { //ignore this one return; } //move it to where it goes var plopVideo = $('plopDropVideoHere'); if (plopVideo) plopVideo.hide(); }, _alreadyInited: false, init: function() { if (geoVidProcess.dragableObserver._alreadyInited) { //already initialized return; } geoVidProcess.dragableObserver._alreadyInited = true; Draggables.addObserver(geoVidProcess.dragableObserver); } }, doingSomething : function (notThis) { return (geoVidProcess._inTransition == notThis)? false: true; },
jQuery('.offsite_video_loading_container').hide(); }, doingSomething : function (notThis) { return (geoVidProcess._inTransition == notThis)? false: true; },
jQuery('.offsite_video_loading_container').hide(); }, dragableObserver : { _doFade: false, _plopVideo : function (draggable) { //move the "move image here" image to the right place, and make it visible. var plopVideo = $('plopDropVideoHere'); if (!plopVideo) { //nothing can be done, can't find the plog image! return; } //figure out choords to move it to var d = draggable.currentDelta(); var now = draggable.element.positionedOffset(); var ptop = now.top - d[1]; var pleft = now.left - d[0]; plopVideo.setStyle({left: pleft+'px', top: ptop+'px'}); plopVideo.show(); }, onStart: function (eventName, draggable, event) { if (!draggable.element.hasClassName('offsite_video_slot_sortable')) { //ignore this one return; } if (geoVidProcess.doingSomething('')) { //what the... already doing something event.stop(); return; } //simple hack to make the box centered vertically on the mouse, //so people don't get as confused... draggable.options.snap = function (x,y, draggable) { return [x, y-75]; }; //start out with the plopHere box visible instead of waiting for change geoVidProcess.dragableObserver._plopVideo(draggable); }, currentOrder : null, onDrag: function (eventName, draggable, event) { if (!draggable.element.hasClassName('offsite_video_slot_sortable')) { //ignore this one return; } //don't do this every single time it's moved, only when the move //causes the position to change var newOrder = Sortable.serialize('offsite_videos_outer'); if (newOrder == geoVidProcess.dragableObserver.currentOrder) { //did not change order, nothing to do return; } geoVidProcess.dragableObserver.currentOrder = newOrder; //move the "move image here" image to the right place, and make it visible. var plopVideo = $('plopDropVideoHere'); if (!plopVideo) { //nothing can be done, can't find the plog image! return; } geoVidProcess.dragableObserver._plopVideo(draggable); }, onEnd: function (eventName, draggable, event) { if (!draggable.element.hasClassName('offsite_video_slot_sortable')) { //ignore this one return; } //move it to where it goes var plopVideo = $('plopDropVideoHere'); if (plopVideo) plopVideo.hide(); }, _alreadyInited: false, init: function() { if (geoVidProcess.dragableObserver._alreadyInited) { //already initialized return; } geoVidProcess.dragableObserver._alreadyInited = true; Draggables.addObserver(geoVidProcess.dragableObserver); } }, doingSomething : function (notThis) { return (geoVidProcess._inTransition == notThis)? false: true; },
<title>{$title}</title> <link>{$classifieds_url}</link> <description>{$description}</description> {foreach $listings as $listing name="listingLoop"} {process_listing listing=$listing} <item> {if $debug}<debug>DEBUG :: Item {$smarty.foreach.listingLoop.iteration} of {$smarty.foreach.listingLoop.total}</debug>{/if} <title>{strip} {if $titleCharLimit} {$listing.title|fromDB|truncate:$titleCharLimit} {else} {$listing.title|fromDB} {/if} {/strip}</title> {* Send link through filter page to convert URL if applicable *} <link>{capture assign="chunk"}{$classifieds_url}?a=2&b={$listing.id}{/capture}{$chunk|rewriteUrl}</link> <guid>{$classifieds_url}?a=2&b={$listing.id}</guid> <pubDate>{$listing.date|format_date:'r'}</pubDate> <description><![CDATA[ {if $leadImage && $listing.images.1} {strip}<img src="{$listing.images.1.url}" alt="{$listing.images.1.text|fromDB}" {if $listing.images.1.width} width="{$listing.images.1.width}"{/if}{if $listing.images.1.height} height="{$listing.images.1.height}"{/if} {if $leadImageFloat} style="float: {$leadImageFloat};"{/if} class='leadImage' />{/strip} {/if} {foreach $fields as $field => $fieldLabel} {if $listing.$field} {if $fieldLabel}<strong>{$fieldLabel}</strong>{/if} {if $field == 'price'} {* If price, that will already be formatted for us *} {$listing.$field} {elseif $field == 'description'} {if $descriptionCharLimit} {$listing.description|fromDB|replace:']]>':''|strip_tags|truncate:$descriptionCharLimit} {else} {$listing.description|fromDB|replace:']]>':''} {/if} <br /> {elseif $field == 'image'} {foreach from=$listing.images item='image'} <img src="{$image.url}" alt="{$image.text|fromDB}"{if $image.width} width="{$image.width}"{/if}{if $image.height} height="{$image.height}"{/if} /> {/foreach} {else} {$listing.$field|fromDB} {/if} <br /> {/if} {/foreach} {if $leadImage && $listing.images.1 && $leadImageFloat} <div style="clear: both;" class="clearLeadImage"></div> {/if} ]]></description> </item> {foreachelse} {if $useEmptyItem} <item> <title>{$emptyItem.title}</title>
<title>{$title}</title> <link>{$classifieds_url}</link> <description>{$description}</description> {if $listings != 0} {foreach $listings as $listing name="listingLoop"} {process_listing listing=$listing} <item> {if $debug}<debug>DEBUG :: Item {$smarty.foreach.listingLoop.iteration} of {$smarty.foreach.listingLoop.total}</debug>{/if} <title>{strip} {if $titleCharLimit} {$listing.title|fromDB|truncate:$titleCharLimit} {else} {$listing.title|fromDB} {/if} {/strip}</title> {* Send link through filter page to convert URL if applicable *} <link>{capture assign="chunk"}{$classifieds_url}?a=2&b={$listing.id}{/capture}{$chunk|rewriteUrl}</link> <guid>{$classifieds_url}?a=2&b={$listing.id}</guid> <pubDate>{$listing.date|format_date:'r'}</pubDate> <description><![CDATA[ {if $leadImage && $listing.images.1} {strip}<img src="{$listing.images.1.url}" alt="{$listing.images.1.text|fromDB}" {if $listing.images.1.width} width="{$listing.images.1.width}"{/if}{if $listing.images.1.height} height="{$listing.images.1.height}"{/if} {if $leadImageFloat} style="float: {$leadImageFloat};"{/if} class='leadImage' />{/strip} {/if} {foreach $fields as $field => $fieldLabel} {if $listing.$field} {if $fieldLabel}<strong>{$fieldLabel}</strong>{/if} {if $field == 'price'} {* If price, that will already be formatted for us *} {$listing.$field} {elseif $field == 'description'} {if $descriptionCharLimit} {$listing.description|fromDB|replace:']]>':''|strip_tags|truncate:$descriptionCharLimit} {else} {$listing.description|fromDB|replace:']]>':''} {/if} <br /> {elseif $field == 'image'} {foreach from=$listing.images item='image'} <img src="{$image.url}" alt="{$image.text|fromDB}"{if $image.width} width="{$image.width}"{/if}{if $image.height} height="{$image.height}"{/if} /> {/foreach} {else} {$listing.$field|fromDB} {/if} <br /> {/if} {/foreach} {if $leadImage && $listing.images.1 && $leadImageFloat} <div style="clear: both;" class="clearLeadImage"></div> {/if} ]]></description> </item> {/foreach} {else} {if $useEmptyItem} <item> <title>{$emptyItem.title}</title>
<title>{$title}</title> <link>{$classifieds_url}</link> <description>{$description}</description> {foreach $listings as $listing name="listingLoop"} {process_listing listing=$listing} <item> {if $debug}<debug>DEBUG :: Item {$smarty.foreach.listingLoop.iteration} of {$smarty.foreach.listingLoop.total}</debug>{/if} <title>{strip} {if $titleCharLimit} {$listing.title|fromDB|truncate:$titleCharLimit} {else} {$listing.title|fromDB} {/if} {/strip}</title> {* Send link through filter page to convert URL if applicable *} <link>{capture assign="chunk"}{$classifieds_url}?a=2&b={$listing.id}{/capture}{$chunk|rewriteUrl}</link> <guid>{$classifieds_url}?a=2&b={$listing.id}</guid> <pubDate>{$listing.date|format_date:'r'}</pubDate> <description><![CDATA[ {if $leadImage && $listing.images.1} {strip}<img src="{$listing.images.1.url}" alt="{$listing.images.1.text|fromDB}" {if $listing.images.1.width} width="{$listing.images.1.width}"{/if}{if $listing.images.1.height} height="{$listing.images.1.height}"{/if} {if $leadImageFloat} style="float: {$leadImageFloat};"{/if} class='leadImage' />{/strip} {/if} {foreach $fields as $field => $fieldLabel} {if $listing.$field} {if $fieldLabel}<strong>{$fieldLabel}</strong>{/if} {if $field == 'price'} {* If price, that will already be formatted for us *} {$listing.$field} {elseif $field == 'description'} {if $descriptionCharLimit} {$listing.description|fromDB|replace:']]>':''|strip_tags|truncate:$descriptionCharLimit} {if $listings != 0} {foreach $listings as $listing name="listingLoop"} {process_listing listing=$listing} <item> {if $debug}<debug>DEBUG :: Item {$smarty.foreach.listingLoop.iteration} of {$smarty.foreach.listingLoop.total}</debug>{/if} <title>{strip} {if $titleCharLimit} {$listing.title|fromDB|truncate:$titleCharLimit} {else} {$listing.title|fromDB} {/if} {/strip}</title> {* Send link through filter page to convert URL if applicable *} <link>{capture assign="chunk"}{$classifieds_url}?a=2&b={$listing.id}{/capture}{$chunk|rewriteUrl}</link> <guid>{$classifieds_url}?a=2&b={$listing.id}</guid> <pubDate>{$listing.date|format_date:'r'}</pubDate> <description><![CDATA[ {if $leadImage && $listing.images.1} {strip}<img src="{$listing.images.1.url}" alt="{$listing.images.1.text|fromDB}" {if $listing.images.1.width} width="{$listing.images.1.width}"{/if}{if $listing.images.1.height} height="{$listing.images.1.height}"{/if} {if $leadImageFloat} style="float: {$leadImageFloat};"{/if} class='leadImage' />{/strip} {/if} {foreach $fields as $field => $fieldLabel} {if $listing.$field} {if $fieldLabel}<strong>{$fieldLabel}</strong>{/if} {if $field == 'price'} {* If price, that will already be formatted for us *} {$listing.$field} {elseif $field == 'description'} {if $descriptionCharLimit} {$listing.description|fromDB|replace:']]>':''|strip_tags|truncate:$descriptionCharLimit} {else} {$listing.description|fromDB|replace:']]>':''} {/if} <br /> {elseif $field == 'image'} {foreach from=$listing.images item='image'} <img src="{$image.url}" alt="{$image.text|fromDB}"{if $image.width} width="{$image.width}"{/if}{if $image.height} height="{$image.height}"{/if} /> {/foreach} {else} {$listing.description|fromDB|replace:']]>':''} {$listing.$field|fromDB} {/if} <br /> {elseif $field == 'image'} {foreach from=$listing.images item='image'} <img src="{$image.url}" alt="{$image.text|fromDB}"{if $image.width} width="{$image.width}"{/if}{if $image.height} height="{$image.height}"{/if} /> {/foreach} {else} {$listing.$field|fromDB} {/if} <br /> {/if} {/foreach} {if $leadImage && $listing.images.1 && $leadImageFloat} <div style="clear: both;" class="clearLeadImage"></div> {/if} ]]></description> </item> {foreachelse} {/if} {/foreach} {if $leadImage && $listing.images.1 && $leadImageFloat} <div style="clear: both;" class="clearLeadImage"></div> {/if} ]]></description> </item> {/foreach} {else} {if $useEmptyItem} <item> <title>{$emptyItem.title}</title>
<description><![CDATA[{$emptyItem.description}]]></description> </item> {/if} {/foreach} </channel> </rss> {if $debug}</textarea>{/if}
<description><![CDATA[{$emptyItem.description}]]></description> </item> {/if} {/if} </channel> </rss> {if $debug}</textarea>{/if}
<description><![CDATA[{$emptyItem.description}]]></description> </item> {/if} {/foreach} {/if} </channel> </rss> {if $debug}</textarea>{/if}
{* @git-info@ *} <div class="region_selector region_wrapper_{$level.id}_{$fieldName_class}"> {if $level.use_label === 'yes'}<label class="field_label region_label{if $isScalarLevel && $level.id != $bottomLevel} region_scalar_label{/if}">{$level.label}</label>{/if}<br /> {if $isScalarLevel && $level.id != $bottomLevel}
{* @git-info@ *} <div class="region_selector region_wrapper_{$level.id}_{$fieldName_class}" {if $buildDown}style="display: block;"{/if}> {if $level.use_label === 'yes'}<label class="field_label region_label{if $isScalarLevel && $level.id != $bottomLevel} region_scalar_label{/if}">{$level.label}</label>{/if}<br /> {if $isScalarLevel && $level.id != $bottomLevel}
{* @git-info@ *} <div class="region_selector region_wrapper_{$level.id}_{$fieldName_class}"> <div class="region_selector region_wrapper_{$level.id}_{$fieldName_class}" {if $buildDown}style="display: block;"{/if}> {if $level.use_label === 'yes'}<label class="field_label region_label{if $isScalarLevel && $level.id != $bottomLevel} region_scalar_label{/if}">{$level.label}</label>{/if}<br /> {if $isScalarLevel && $level.id != $bottomLevel}
{/add_footer_html} {/if} </div> {if $buildDown}<br />{/if}
{/add_footer_html} {/if} </div>
{/add_footer_html} {/if} </div> {if $buildDown}<br />{/if}
{include file='Region/ajax_region_select.tpl'} </div> <div class="region_selector_placeholders_{$fieldName_class}{if $buildDown}_multiline{/if}"{if !$buildDown} style="display: inline-block;"{/if}> {foreach $fakeLevels as $fake} <div class="region_selector region_fake_{$fake.id}_{$fieldName_class}" style="display: none;"> {if $fake.use_label === 'yes'}<label class="field_label region_label">{$fake.label}</label>{/if}<br /> <select name="fake_region" class="field" disabled="disabled"><option value=""></option></select> </div>
{include file='Region/ajax_region_select.tpl'} </div> <div class="region_selector_placeholders_{$fieldName_class}{if $buildDown}_multiline{/if}" style="{if $buildDown}display: block; margin-left: 13.33em;{else}display: inline-block;{/if}"> {foreach $fakeLevels as $fake} <div class="region_selector region_fake_{$fake.id}_{$fieldName_class} {if $buildDown}region_selector_block{/if}" style="display: none;"> {if $fake.use_label === 'yes'}<label class="field_label region_label">{$fake.label}</label>{/if}<br /> <select name="fake_region" class="field" disabled="disabled"><option value=""></option></select> </div>
{include file='Region/ajax_region_select.tpl'} </div> <div class="region_selector_placeholders_{$fieldName_class}{if $buildDown}_multiline{/if}"{if !$buildDown} style="display: inline-block;"{/if}> <div class="region_selector_placeholders_{$fieldName_class}{if $buildDown}_multiline{/if}" style="{if $buildDown}display: block; margin-left: 13.33em;{else}display: inline-block;{/if}"> {foreach $fakeLevels as $fake} <div class="region_selector region_fake_{$fake.id}_{$fieldName_class}" style="display: none;"> <div class="region_selector region_fake_{$fake.id}_{$fieldName_class} {if $buildDown}region_selector_block{/if}" style="display: none;"> {if $fake.use_label === 'yes'}<label class="field_label region_label">{$fake.label}</label>{/if}<br /> <select name="fake_region" class="field" disabled="disabled"><option value=""></option></select> </div>
}); </script> {/add_footer_html} {if $buildDown}<br />{/if} {/foreach} </div>
}); </script> {/add_footer_html} {/foreach} </div>
}); </script> {/add_footer_html} {if $buildDown}<br />{/if} {/foreach} </div>
<head> <title>{$messages.501152}{$invoice.invoice_id} {$messages.501153}{$invoice.order_id}</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="{if $in_admin}../{/if}{external file='css/theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/primary_theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/secondary_theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/system/invoices/invoice_styles.css'}" rel="stylesheet" type="text/css" /> {if $print} <style type="text/css" media="print">
<head> <title>{$messages.501152}{$invoice.invoice_id} {$messages.501153}{$invoice.order_id}</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="{if $in_admin}../{/if}{external file='css/default.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/custom.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/system/invoices/invoice_styles.css'}" rel="stylesheet" type="text/css" /> {if $print} <style type="text/css" media="print">
<head> <title>{$messages.501152}{$invoice.invoice_id} {$messages.501153}{$invoice.order_id}</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="{if $in_admin}../{/if}{external file='css/theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/primary_theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/secondary_theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/default.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/custom.css'}" rel="stylesheet" type="text/css" /> <link href="{if $in_admin}../{/if}{external file='css/system/invoices/invoice_styles.css'}" rel="stylesheet" type="text/css" /> {if $print} <style type="text/css" media="print">
{if $in_admin && !$print} {* admin lightbox view -- add styles but not surrounding html *} <link href="../{external file='css/primary_theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="../{external file='css/secondary_theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="../{external file='css/system/invoices/invoice_styles.css'}" rel="stylesheet" type="text/css" /> {else} {include file="common/head.tpl"}
{if $in_admin && !$print} {* admin lightbox view -- add styles but not surrounding html *} <link href="../{external file='css/default.css'}" rel="stylesheet" type="text/css" /> <link href="../{external file='css/custom.css'}" rel="stylesheet" type="text/css" /> <link href="../{external file='css/system/invoices/invoice_styles.css'}" rel="stylesheet" type="text/css" /> {else} {include file="common/head.tpl"}
{if $in_admin && !$print} {* admin lightbox view -- add styles but not surrounding html *} <link href="../{external file='css/primary_theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="../{external file='css/secondary_theme_styles.css'}" rel="stylesheet" type="text/css" /> <link href="../{external file='css/default.css'}" rel="stylesheet" type="text/css" /> <link href="../{external file='css/custom.css'}" rel="stylesheet" type="text/css" /> <link href="../{external file='css/system/invoices/invoice_styles.css'}" rel="stylesheet" type="text/css" /> {else} {include file="common/head.tpl"}
<div class="clr"></div> {/if} {if !$in_ajax}<div id="offsite_videos_outer" class="clearfix">{/if} <div id="plopDropVideoHere" style="display: none;"> {$messages.500917} </div> {foreach from=$offsite_videos.slots item='slot' key='slotNum' name='offsite_video_slots'} <div id="offsite_video_slot_{$slotNum}" class="offsite_video_slot"> {include file='offsite_videos/upload_slot.tpl'}
<div class="clr"></div> {/if} {if !$in_ajax}<div id="offsite_videos_outer" class="clearfix">{/if} {foreach from=$offsite_videos.slots item='slot' key='slotNum' name='offsite_video_slots'} <div id="offsite_video_slot_{$slotNum}" class="offsite_video_slot"> {include file='offsite_videos/upload_slot.tpl'}
<div class="clr"></div> {/if} {if !$in_ajax}<div id="offsite_videos_outer" class="clearfix">{/if} <div id="plopDropVideoHere" style="display: none;"> {$messages.500917} </div> {foreach from=$offsite_videos.slots item='slot' key='slotNum' name='offsite_video_slots'} <div id="offsite_video_slot_{$slotNum}" class="offsite_video_slot"> {include file='offsite_videos/upload_slot.tpl'}
<li class="leveled_value_empty"> </li> {/foreach} </ul> {if $leveled_clear_selection_text} <br /> <a href="#clear" class="leveled_clear obvious">{$leveled_clear_selection_text}</a> {/if}
<li class="leveled_value_empty"> </li> {/foreach} </ul> {if $leveled_clear_selection_text && $lev_field.can_edit} <br /> <a href="#clear" class="leveled_clear obvious">{$leveled_clear_selection_text}</a> {/if}
<li class="leveled_value_empty"> </li> {/foreach} </ul> {if $leveled_clear_selection_text} {if $leveled_clear_selection_text && $lev_field.can_edit} <br /> <a href="#clear" class="leveled_clear obvious">{$leveled_clear_selection_text}</a> {/if}
{* @git-info@ *} {if count($questions) > 0} {if $messages.131} <h1 class="subtitle">
{* @git-info@ *} {if count($questions) > 0} {if $messages.131} <h1 class="subtitle">
{* @git-info@ *} {if count($questions) > 0} {if $messages.131} <h1 class="subtitle">
{$messages.132} </p> {/if} {foreach from=$questions key="display_order" item="order_questions"} {foreach from=$order_questions item="question"} {assign var="key" value=$question.key} <div class="{cycle values='row_odd,row_even'}"> <label for="b[question_value][{$key}]" class="field_label"> {$question.name|fromDB} </label>
{$messages.132} </p> {/if} {assign var=current_counter value=0} <table width="100%"> {foreach from=$questions key="display_order" item="order_questions"} {foreach from=$order_questions item="question"} {if $current_counter % $listing_process_count_columns == 0}<tr>{/if} {assign var="key" value=$question.key} {if (($listing_process_count_columns == 0) || ($listing_process_count_columns == 1))}<div class="{cycle values='row_odd,row_even'}">{else}<td>{/if} <label for="b[question_value][{$key}]" class="field_label"> {$question.name|fromDB} </label>
{$messages.132} </p> {/if} {assign var=current_counter value=0} <table width="100%"> {foreach from=$questions key="display_order" item="order_questions"} {foreach from=$order_questions item="question"} {if $current_counter % $listing_process_count_columns == 0}<tr>{/if} {assign var="key" value=$question.key} <div class="{cycle values='row_odd,row_even'}"> {if (($listing_process_count_columns == 0) || ($listing_process_count_columns == 1))}<div class="{cycle values='row_odd,row_even'}">{else}<td>{/if} <label for="b[question_value][{$key}]" class="field_label"> {$question.name|fromDB} </label>
{/if} {$question.help} <input type="hidden" name="b[question_display_order][{$key}]" value="{$display_order}" /> </div> {/foreach} {/foreach} {/if}
{/if} {$question.help} <input type="hidden" name="b[question_display_order][{$key}]" value="{$display_order}" /> {if (($listing_process_count_columns == 0) || ($listing_process_count_columns == 1))}</div>{else}</td>{/if} {assign var=current_counter value=$current_counter+1} {if $current_counter % $listing_process_count_columns == 0}</tr>{/if} {/foreach} {/foreach} {if $current_counter % $listing_process_count_columns != 0}</tr>{/if} </table> {/if}
{/if} {$question.help} <input type="hidden" name="b[question_display_order][{$key}]" value="{$display_order}" /> </div> {if (($listing_process_count_columns == 0) || ($listing_process_count_columns == 1))}</div>{else}</td>{/if} {assign var=current_counter value=$current_counter+1} {if $current_counter % $listing_process_count_columns == 0}</tr>{/if} {/foreach} {/foreach} {if $current_counter % $listing_process_count_columns != 0}</tr>{/if} </table> {/if}
- No enhancements for this release.
- No Security fixes or patches for this release.
1491 - Fixed fatal error in listing placement
1490 - Fixed fatal error in Tokens Purchase order item
- No Template changes in this release
Other Changelogs