/** * Rewrite autocomplete inputs to pass the language of the node currently being * edited in the path. * * This functionality ensures node autocompletes get suggestions for the node's * language rather than the current interface language. */ Drupal.behaviors.i18n = function (context) { if (Drupal.settings && Drupal.settings.i18n) { $('form[id^=node-form]', context).find('input.autocomplete[value^=' + Drupal.settings.i18n.interface_path + ']').each(function () { $(this).val($(this).val().replace(Drupal.settings.i18n.interface_path, Drupal.settings.i18n.content_path)); }); } }; /** * Move a block in the blocks table from one region to another via select list. * * This behavior is dependent on the tableDrag behavior, since it uses the * objects initialized in that behavior to update the row. */ Drupal.behaviors.blockDrag = function(context) { var table = $('table#blocks'); var tableDrag = Drupal.tableDrag.blocks; // Get the blocks tableDrag object. // Add a handler for when a row is swapped, update empty regions. tableDrag.row.prototype.onSwap = function(swappedRow) { checkEmptyRegions(table, this); }; // A custom message for the blocks page specifically. Drupal.theme.tableDragChangedWarning = function () { return '
' + Drupal.theme('tableDragChangedMarker') + ' ' + Drupal.t("The changes to these blocks will not be saved until the Save blocks button is clicked.") + '
'; }; // Add a handler so when a row is dropped, update fields dropped into new regions. tableDrag.onDrop = function() { dragObject = this; if ($(dragObject.rowObject.element).prev('tr').is('.region-message')) { var regionRow = $(dragObject.rowObject.element).prev('tr').get(0); var regionName = regionRow.className.replace(/([^ ]+[ ]+)*region-([^ ]+)-message([ ]+[^ ]+)*/, '$2'); var regionField = $('select.block-region-select', dragObject.rowObject.element); var weightField = $('select.block-weight', dragObject.rowObject.element); var oldRegionName = weightField[0].className.replace(/([^ ]+[ ]+)*block-weight-([^ ]+)([ ]+[^ ]+)*/, '$2'); if (!regionField.is('.block-region-'+ regionName)) { regionField.removeClass('block-region-' + oldRegionName).addClass('block-region-' + regionName); weightField.removeClass('block-weight-' + oldRegionName).addClass('block-weight-' + regionName); regionField.val(regionName); } } }; // Add the behavior to each region select list. $('select.block-region-select:not(.blockregionselect-processed)', context).each(function() { $(this).change(function(event) { // Make our new row and select field. var row = $(this).parents('tr:first'); var select = $(this); tableDrag.rowObject = new tableDrag.row(row); // Find the correct region and insert the row as the first in the region. $('tr.region-message', table).each(function() { if ($(this).is('.region-' + select[0].value + '-message')) { // Add the new row and remove the old one. $(this).after(row); // Manually update weights and restripe. tableDrag.updateFields(row.get(0)); tableDrag.rowObject.changed = true; if (tableDrag.oldRowElement) { $(tableDrag.oldRowElement).removeClass('drag-previous'); } tableDrag.oldRowElement = row.get(0); tableDrag.restripeTable(); tableDrag.rowObject.markChanged(); tableDrag.oldRowElement = row; $(row).addClass('drag-previous'); } }); // Modify empty regions with added or removed fields. checkEmptyRegions(table, row); // Remove focus from selectbox. select.get(0).blur(); }); $(this).addClass('blockregionselect-processed'); }); var checkEmptyRegions = function(table, rowObject) { $('tr.region-message', table).each(function() { // If the dragged row is in this region, but above the message row, swap it down one space. if ($(this).prev('tr').get(0) == rowObject.element) { // Prevent a recursion problem when using the keyboard to move rows up. if ((rowObject.method != 'keyboard' || rowObject.direction == 'down')) { rowObject.swap('after', this); } } // This region has become empty if ($(this).next('tr').is(':not(.draggable)') || $(this).next('tr').size() == 0) { $(this).removeClass('region-populated').addClass('region-empty'); } // This region has become populated. else if ($(this).is('.region-empty')) { $(this).removeClass('region-empty').addClass('region-populated'); } }); }; }; /** * Internal function to check using Ajax if clean URLs can be enabled on the * settings page. * * This function is not used to verify whether or not clean URLs * are currently enabled. */ Drupal.behaviors.cleanURLsSettingsCheck = function(context) { // This behavior attaches by ID, so is only valid once on a page. // Also skip if we are on an install page, as Drupal.cleanURLsInstallCheck will handle // the processing. if ($("#clean-url.clean-url-processed, #clean-url.install").size()) { return; } var url = Drupal.settings.basePath +"admin/settings/clean-urls/check"; $("#clean-url .description span").html('
'+ Drupal.t('Testing clean URLs...') +"
"); $("#clean-url p").hide(); $.ajax({ url: location.protocol +"//"+ location.host + url, dataType: 'json', success: function () { // Check was successful. $("#clean-url input.form-radio").attr("disabled", false); $("#clean-url .description span").append('
'+ Drupal.t('Your server has been successfully tested to support this feature.') +"
"); $("#testing").hide(); }, error: function() { // Check failed. $("#clean-url .description span").append('
'+ Drupal.t('Your system configuration does not currently support this feature. The handbook page on Clean URLs has additional troubleshooting information.') +"
"); $("#testing").hide(); } }); $("#clean-url").addClass('clean-url-processed'); }; /** * Internal function to check using Ajax if clean URLs can be enabled on the * install page. * * This function is not used to verify whether or not clean URLs * are currently enabled. */ Drupal.cleanURLsInstallCheck = function() { var url = location.protocol +"//"+ location.host + Drupal.settings.basePath +"admin/settings/clean-urls/check"; $("#clean-url .description").append('
'+ Drupal.settings.cleanURL.testing +"
"); $("#clean-url.install").css("display", "block"); $.ajax({ url: url, dataType: 'json', success: function () { // Check was successful. $("#clean-url input.form-radio").attr("disabled", false); $("#clean-url input.form-radio").attr("checked", 1); $("#clean-url .description span").append('
'+ Drupal.settings.cleanURL.success +"
"); $("#testing").hide(); }, error: function() { // Check failed. $("#clean-url .description span").append('
'+ Drupal.settings.cleanURL.failure +"
"); $("#testing").hide(); } }); $("#clean-url").addClass('clean-url-processed'); }; /** * When a field is filled out, apply its value to other fields that will likely * use the same value. In the installer this is used to populate the * administrator e-mail address with the same value as the site e-mail address. */ Drupal.behaviors.copyFieldValue = function (context) { for (var sourceId in Drupal.settings.copyFieldValue) { // Get the list of target fields. targetIds = Drupal.settings.copyFieldValue[sourceId]; if (!$('#'+ sourceId + '.copy-field-values-processed').size(), context) { // Add the behavior to update target fields on blur of the primary field. sourceField = $('#' + sourceId); sourceField.bind('blur', function() { for (var delta in targetIds) { var targetField = $('#'+ targetIds[delta]); if (targetField.val() == '') { targetField.val(this.value); } } }); sourceField.addClass('copy-field-values-processed'); } } }; /** * Show/hide custom format sections on the date-time settings page. */ Drupal.behaviors.dateTime = function(context) { // Show/hide custom format depending on the select's value. $('select.date-format:not(.date-time-processed)', context).change(function() { $(this).addClass('date-time-processed').parents("div.date-container").children("div.custom-container")[$(this).val() == "custom" ? "show" : "hide"](); }); // Attach keyup handler to custom format inputs. $('input.custom-format:not(.date-time-processed)', context).addClass('date-time-processed').keyup(function() { var input = $(this); var url = Drupal.settings.dateTime.lookup +(Drupal.settings.dateTime.lookup.match(/\?q=/) ? "&format=" : "?format=") + encodeURIComponent(input.val()); $.getJSON(url, function(data) { $("div.description span", input.parent()).html(data); }); }); // Trigger the event handler to show the form input if necessary. $('select.date-format', context).trigger('change'); }; name = Taxonomy description = Enables the categorization of content. package = Core - optional version = VERSION core = 6.x ; Information added by drupal.org packaging script on 2012-05-02 version = "6.26" project = "drupal" datestamp = "1335977158" name = Content translation description = Allows content to be translated into different languages. dependencies[] = locale package = Core - optional version = VERSION core = 6.x ; Information added by drupal.org packaging script on 2012-05-02 version = "6.26" project = "drupal" datestamp = "1335977158" #permissions td.module { font-weight: bold; } #permissions td.permission { padding-left: 1.5em; /* LTR */ } #access-rules .access-type, #access-rules .rule-type { margin-right: 1em; /* LTR */ float: left; /* LTR */ } #access-rules .access-type .form-item, #access-rules .rule-type .form-item { margin-top: 0; } #access-rules .mask { clear: both; } #user-login-form { text-align: center; } #user-admin-filter ul { list-style-type: none; padding: 0; margin: 0; width: 100%; } #user-admin-buttons { float: left; /* LTR */ margin-left: 0.5em; /* LTR */ clear: right; /* LTR */ } #user-admin-settings fieldset .description { font-size: 0.85em; padding-bottom: .5em; } /* Generated by user.module but used by profile.module: */ .profile { clear: both; margin: 1em 0; } .profile .picture { float: right; /* LTR */ margin: 0 1em 1em 0; /* LTR */ } .profile h3 { border-bottom: 1px solid #ccc; } .profile dl { margin: 0 0 1.5em 0; } .profile dt { margin: 0 0 0.2em 0; font-weight: bold; } .profile dd { margin: 0 0 1em 0; } ; $Id: administerusersbyrole.info,v 1.1.2.2 2009/06/29 16:06:09 smokris Exp $ name = Administer Users by Role description = "Allows users with 'administer users' permission and a role (specified in 'Permissions') to edit/delete other users with a specified role. Also provides control over user creation." core = 6.x ; Information added by drupal.org packaging script on 2009-06-29 version = "6.x-1.4" core = "6.x" project = "administerusersbyrole" datestamp = "1246292114" /* Reset the fixed width of input form text fields to use a dynamic width depending on the parent elements */ div.sidebar div.block-contact_form_blocks input[type=text] { width: 94%; } /** * Formatter styles */ .filefield-icon { margin: 0 2px 0 0; /* RTL */ } /* End formatter styles. */ /** * General widget form styles (applicable to all widgets). */ .filefield-element { margin: 1em 0; white-space: normal; } .filefield-element .widget-preview { float: left; /* RTL */ padding: 0 10px 0 0; /* RTL */ margin: 0 10px 0 0; /* RTL */ border-width: 0 1px 0 0; /* RTL */ border-style: solid; border-color: #CCC; max-width: 30%; } .filefield-element .widget-edit { float: left; /* RTL */ max-width: 70%; } .filefield-element .filefield-preview { width: 16em; overflow: hidden; } .filefield-element .widget-edit .form-item { margin: 0 0 1em 0; } .filefield-element input.form-submit, .filefield-element input.form-file { margin: 0; } .filefield-element input.progress-disabled { float: none; display: inline; } .filefield-element div.ahah-progress, .filefield-element div.throbber { display: inline; float: none; padding: 1px 13px 2px 3px; /* RTL */ } .filefield-element div.ahah-progress-bar { display: none; margin-top: 4px; width: 28em; padding: 0; } .filefield-element div.ahah-progress-bar div.bar { margin: 0; } /* End general widget form styles. */ name = ImageAPI description = ImageAPI supporting multiple toolkits. package = ImageCache core = 6.x php = 5.1 ; Information added by drupal.org packaging script on 2011-05-16 version = "6.x-1.10" core = "6.x" project = "imageapi" datestamp = "1305563215" ´╗┐name = ImageCache UI description = ImageCache User Interface. dependencies[] = imagecache dependencies[] = imageapi package = ImageCache core = 6.x ; Information added by drupal.org packaging script on 2012-05-23 version = "6.x-2.0-rc1" core = "6.x" project = "imagecache" datestamp = "1337742655" name = "IMCE" description = "An image/file uploader and browser supporting personal directories and user quota." core = "6.x" ; Information added by drupal.org packaging script on 2011-10-20 version = "6.x-2.3" core = "6.x" project = "imce" datestamp = "1319104233" name = Localization update description = Provides automatic downloads and updates for translations. dependencies[] = locale core = 6.x package = Multilanguage php = 5 ; Information added by drupal.org packaging script on 2012-02-26 version = "6.x-1.0-beta3" core = "6.x" project = "l10n_update" datestamp = "1330292747" ; $Id: menu_admin_per_menu.info,v 1.2 2010/03/21 17:13:58 anrikun Exp $ name = Menu Admin per Menu description = Allows to give roles per menu admin permissions without giving them full administrer menu permission. package = Administration core = 6.x ; Information added by drupal.org packaging script on 2010-06-26 version = "6.x-1.4" core = "6.x" project = "menu_admin_per_menu" datestamp = "1277560829" name = "Menu Block" description = "Provides configurable blocks of menu items." core = 6.x dependencies[] = block dependencies[] = menu ; Information added by drupal.org packaging script on January 1, 1970 - 00:00 version = "6.x-2.4" core = "6.x" project = "menu_block" datestamp = "1297370223" /* $Id: site_map.css,v 1.3.2.3.2.3 2010/05/22 07:42:48 frjo Exp $ */ #site-map .description { margin-bottom: 0.5em; } #site-map .site-map-box { margin-bottom: 1em; } #site-map .site-map-box ul { padding-left: 1.5em; } /* Styles when RSS icons are displayed on the left. */ #site-map .site-map-rss-left ul { padding-left: 0; } #site-map .site-map-rss-left li { list-style-type: none; list-style-image: none; background-image: none; margin: 0; padding: 0; } #site-map .site-map-rss-left ul li li { padding-left: 1.5em; } ; $Id: smtp.info,v 1.3 2008/07/03 18:41:15 oadaeh Exp $ name = SMTP Authentication Support description = "Allows the sending of site e-mail through an SMTP server of your choice." core = 6.x package = Mail php = 4.0.0 ; Information added by drupal.org packaging script on 2010-08-04 version = "6.x-1.0-beta5" core = "6.x" project = "smtp" datestamp = "1280945778" /* $Id: taxonomy_term_children.css,v 1.1 2010/10/09 17:26:56 eanima Exp $ */ .block-taxonomy_term_children h2.title { border-bottom: 1px solid #D6DDB9; margin-top:25px; } ul.categories li { float:left; list-style:none; margin-right:30px; } ul.categories li a{ display:block; }name = Weight description = Add weight-based sorting to nodes. core = 6.x ; Information added by drupal.org packaging script on 2012-01-24 version = "6.x-1.2" core = "6.x" project = "weight" datestamp = "1327443074"
Fatal error: Class 'DrupalWebTestCase' not found in /home/wizualizacja/ftp/htdocs/poburski.pl/sites/all/modules/xmlsitemap/xmlsitemap.test on line 13