// $Id: webform.js,v 1.3.2.1 2008/11/19 22:24:39 quicksketch Exp $ /** * Webform node form interface enhancments. */ Drupal.behaviors.webform = function(context) { // Apply special behaviors to fields with default values. Drupal.webform.defaultValues(context); // On click or change, make a parent radio button selected. Drupal.webform.setActive(context); } Drupal.webform = new Object(); Drupal.webform.defaultValues = function(context) { var $fields = $('.webform-default-value', context); var $forms = $('.webform-default-value', context).parents('form:first'); $fields.each(function() { this.defaultValue = this.value; $(this).focus(function() { if (this.value == this.defaultValue) { this.value = ''; $(this).removeClass('webform-default-value'); } }); $(this).blur(function() { if (this.value == '') { $(this).addClass('webform-default-value'); this.value = this.defaultValue; } }); }); // Clear all the form elements before submission. $forms.submit(function() { $fields.focus(); }); }; Drupal.webform.setActive = function(context) { var setActive = function() { $('.form-radio', $(this).parent().parent()).attr('checked', true); }; $('.webform-set-active', context).click(setActive).change(setActive); }; ; $Id: block.info,v 1.4 2007/06/08 05:50:53 dries Exp $ name = Block description = Controls the boxes that are displayed around the main content. package = Core - required version = VERSION core = 6.x ; Information added by drupal.org packaging script on 2010-03-04 version = "6.16" project = "drupal" datestamp = "1267662008" /* $Id: locale.css,v 1.1 2006/08/14 07:14:49 drumm Exp $ */ .locale-untranslated { font-style: normal; text-decoration: line-through; } ; $Id: path.info,v 1.4 2007/06/08 05:50:55 dries Exp $ name = Path description = Allows users to rename URLs. package = Core - optional version = VERSION core = 6.x ; Information added by drupal.org packaging script on 2010-03-04 version = "6.16" project = "drupal" datestamp = "1267662008" /* $Id: system.css,v 1.48 2008/01/09 09:56:39 goba Exp $ */ /* ** HTML elements */ body.drag { cursor: move; } th.active img { display: inline; } tr.even, tr.odd { background-color: #eee; border-bottom: 1px solid #ccc; padding: 0.1em 0.6em; } tr.drag { background-color: #fffff0; } tr.drag-previous { background-color: #ffd; } td.active { background-color: #ddd; } td.checkbox, th.checkbox { text-align: center; } tbody { border-top: 1px solid #ccc; } tbody th { border-bottom: 1px solid #ccc; } thead th { text-align: left; /* LTR */ padding-right: 1em; /* LTR */ border-bottom: 3px solid #ccc; } /* ** Other common styles */ .breadcrumb { padding-bottom: .5em } div.indentation { width: 20px; height: 1.7em; margin: -0.4em 0.2em -0.4em -0.4em; /* LTR */ padding: 0.42em 0 0.42em 0.6em; /* LTR */ float: left; /* LTR */ } div.tree-child { background: url(../../misc/tree.png) no-repeat 11px center; /* LTR */ } div.tree-child-last { background: url(../../misc/tree-bottom.png) no-repeat 11px center; /* LTR */ } div.tree-child-horizontal { background: url(../../misc/tree.png) no-repeat -11px center; } .error { color: #e55; } div.error { border: 1px solid #d77; } div.error, tr.error { background: #fcc; color: #200; padding: 2px; } .warning { color: #e09010; } div.warning { border: 1px solid #f0c020; } div.warning, tr.warning { background: #ffd; color: #220; padding: 2px; } .ok { color: #008000; } div.ok { border: 1px solid #00aa00; } div.ok, tr.ok { background: #dfd; color: #020; padding: 2px; } .item-list .icon { color: #555; float: right; /* LTR */ padding-left: 0.25em; /* LTR */ clear: right; /* LTR */ } .item-list .title { font-weight: bold; } .item-list ul { margin: 0 0 0.75em 0; padding: 0; } .item-list ul li { margin: 0 0 0.25em 1.5em; /* LTR */ padding: 0; list-style: disc; } ol.task-list li.active { font-weight: bold; } .form-item { margin-top: 1em; margin-bottom: 1em; } tr.odd .form-item, tr.even .form-item { margin-top: 0; margin-bottom: 0; white-space: nowrap; } tr.merge-down, tr.merge-down td, tr.merge-down th { border-bottom-width: 0 !important; } tr.merge-up, tr.merge-up td, tr.merge-up th { border-top-width: 0 !important; } .form-item input.error, .form-item textarea.error, .form-item select.error { border: 2px solid red; } .form-item .description { font-size: 0.85em; } .form-item label { display: block; font-weight: bold; } .form-item label.option { display: inline; font-weight: normal; } .form-checkboxes, .form-radios { margin: 1em 0; } .form-checkboxes .form-item, .form-radios .form-item { margin-top: 0.4em; margin-bottom: 0.4em; } .marker, .form-required { color: #f00; } .more-link { text-align: right; /* LTR */ } .more-help-link { font-size: 0.85em; text-align: right; /* LTR */ } .nowrap { white-space: nowrap; } .item-list .pager { clear: both; text-align: center; } .item-list .pager li { background-image:none; display:inline; list-style-type:none; padding: 0.5em; } .pager-current { font-weight:bold; } .tips { margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; font-size: 0.9em; } dl.multiselect dd.b, dl.multiselect dd.b .form-item, dl.multiselect dd.b select { font-family: inherit; font-size: inherit; width: 14em; } dl.multiselect dd.a, dl.multiselect dd.a .form-item { width: 8em; } dl.multiselect dt, dl.multiselect dd { float: left; /* LTR */ line-height: 1.75em; padding: 0; margin: 0 1em 0 0; /* LTR */ } dl.multiselect .form-item { height: 1.75em; margin: 0; } /* ** Inline items (need to override above) */ .container-inline div, .container-inline label { display: inline; } /* ** Tab navigation */ ul.primary { border-collapse: collapse; padding: 0 0 0 1em; /* LTR */ white-space: nowrap; list-style: none; margin: 5px; height: auto; line-height: normal; border-bottom: 1px solid #bbb; } ul.primary li { display: inline; } ul.primary li a { background-color: #ddd; border-color: #bbb; border-width: 1px; border-style: solid solid none solid; height: auto; margin-right: 0.5em; /* LTR */ padding: 0 1em; text-decoration: none; } ul.primary li.active a { background-color: #fff; border: 1px solid #bbb; border-bottom: #fff 1px solid; } ul.primary li a:hover { background-color: #eee; border-color: #ccc; border-bottom-color: #eee; } ul.secondary { border-bottom: 1px solid #bbb; padding: 0.5em 1em; margin: 5px; } ul.secondary li { display: inline; padding: 0 1em; border-right: 1px solid #ccc; /* LTR */ } ul.secondary a { padding: 0; text-decoration: none; } ul.secondary a.active { border-bottom: 4px solid #999; } /* ** Autocomplete styles */ /* Suggestion list */ #autocomplete { position: absolute; border: 1px solid; overflow: hidden; z-index: 100; } #autocomplete ul { margin: 0; padding: 0; list-style: none; } #autocomplete li { background: #fff; color: #000; white-space: pre; cursor: default; } #autocomplete li.selected { background: #0072b9; color: #fff; } /* Animated throbber */ html.js input.form-autocomplete { background-image: url(../../misc/throbber.gif); background-repeat: no-repeat; background-position: 100% 2px; /* LTR */ } html.js input.throbbing { background-position: 100% -18px; /* LTR */ } /* ** Collapsing fieldsets */ html.js fieldset.collapsed { border-bottom-width: 0; border-left-width: 0; border-right-width: 0; margin-bottom: 0; height: 1em; } html.js fieldset.collapsed * { display: none; } html.js fieldset.collapsed legend { display: block; } html.js fieldset.collapsible legend a { padding-left: 15px; /* LTR */ background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; /* LTR */ } html.js fieldset.collapsed legend a { background-image: url(../../misc/menu-collapsed.png); /* LTR */ background-position: 5px 50%; /* LTR */ } /* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */ * html.js fieldset.collapsed legend, * html.js fieldset.collapsed legend *, * html.js fieldset.collapsed table * { display: inline; } /* For Safari 2 to prevent collapsible fieldsets containing tables from dissapearing due to tableheader.js. */ html.js fieldset.collapsible { position: relative; } html.js fieldset.collapsible legend a { display: block; } /* Avoid jumping around due to margins collapsing into collapsible fieldset border */ html.js fieldset.collapsible .fieldset-wrapper { overflow: auto; } /* ** Resizable text areas */ .resizable-textarea { width: 95%; } .resizable-textarea .grippie { height: 9px; overflow: hidden; background: #eee url(../../misc/grippie.png) no-repeat center 2px; border: 1px solid #ddd; border-top-width: 0; cursor: s-resize; } html.js .resizable-textarea textarea { margin-bottom: 0; width: 100%; display: block; } /* ** Table drag and drop. */ .draggable a.tabledrag-handle { cursor: move; float: left; /* LTR */ height: 1.7em; margin: -0.4em 0 -0.4em -0.5em; /* LTR */ padding: 0.42em 1.5em 0.42em 0.5em; /* LTR */ text-decoration: none; } a.tabledrag-handle:hover { text-decoration: none; } a.tabledrag-handle .handle { margin-top: 4px; height: 13px; width: 13px; background: url(../../misc/draggable.png) no-repeat 0 0; } a.tabledrag-handle-hover .handle { background-position: 0 -20px; } /* ** Teaser splitter */ .joined + .grippie { height: 5px; background-position: center 1px; margin-bottom: -2px; } /* Keeps inner content contained in Opera 9. */ .teaser-checkbox { padding-top: 1px; } div.teaser-button-wrapper { float: right; /* LTR */ padding-right: 5%; /* LTR */ margin: 0; } .teaser-checkbox div.form-item { float: right; /* LTR */ margin: 0 5% 0 0; /* LTR */ padding: 0; } textarea.teaser { display: none; } html.js .no-js { display: none; } /* ** Progressbar styles */ .progress { font-weight: bold; } .progress .bar { background: #fff url(../../misc/progress.gif); border: 1px solid #00375a; height: 1.5em; margin: 0 0.2em; } .progress .filled { background: #0072b9; height: 1em; border-bottom: 0.5em solid #004a73; width: 0%; } .progress .percentage { float: right; /* LTR */ } .progress-disabled { float: left; /* LTR */ } .ahah-progress { float: left; /* LTR */ } .ahah-progress .throbber { width: 15px; height: 15px; margin: 2px; background: transparent url(../../misc/throbber.gif) no-repeat 0px -18px; float: left; /* LTR */ } tr .ahah-progress .throbber { margin: 0 2px; } .ahah-progress-bar { width: 16em; } /* ** Formatting for welcome page */ #first-time strong { display: block; padding: 1.5em 0 .5em; } /* ** To be used with tableselect.js */ tr.selected td { background: #ffc; } /* ** Floating header for tableheader.js */ table.sticky-header { margin-top: 0; background: #fff; } /* ** Installation clean URLs */ #clean-url.install { display: none; } /* ** For anything you want to hide on page load when JS is enabled, so ** that you can use the JS to control visibility and avoid flicker. */ html.js .js-hide { display: none; } /* ** Styles for the system modules page (admin/build/modules) */ #system-modules div.incompatible { font-weight: bold; } /* ** Styles for the system themes page (admin/build/themes) */ #system-themes-form div.incompatible { font-weight: bold; } /* ** Password strength indicator */ span.password-strength { visibility: hidden; } input.password-field { margin-right: 10px; /* LTR */ } div.password-description { padding: 0 2px; margin: 4px 0 0 0; font-size: 0.85em; max-width: 500px; } div.password-description ul { margin-bottom: 0; } .password-parent { margin: 0 0 0 0; } /* ** Password confirmation checker */ input.password-confirm { margin-right: 10px; /* LTR */ } .confirm-parent { margin: 5px 0 0 0; } span.password-confirm { visibility: hidden; } span.password-confirm span { font-weight: normal; } /* $Id: update.css,v 1.3.2.2 2009/04/29 17:17:20 goba Exp $ */ .update .project { font-weight: bold; font-size: 110%; padding-left: .25em; /* LTR */ height: 22px; } .update .version-status { float: right; /* LTR */ padding-right: 10px; /* LTR */ font-size: 110%; height: 20px; } .update .version-status .icon { padding-left: .5em; /* LTR */ } .update .version-date { white-space: nowrap; } .update .info { margin: 0; padding: 1em 1em .25em 1em; } .update tr td { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; } .update tr.error { background: #fcc; } .update tr.error .version-recommended { background: #fdd; } .update tr.ok { background: #dfd; } .update tr.warning { background: #ffd; } .update tr.warning .version-recommended { background: #ffe; } .current-version, .new-version { direction: ltr; /* Note: version numbers should always be LTR. */ } .update tr.unknown { background: #ddd; } table.update, .update table.version { width: 100%; margin-top: .5em; } .update table.version tbody { border: none; } .update table.version tr, .update table.version td { line-height: .9em; padding: 0; margin: 0; border: none; } .update table.version .version-title { padding-left: 1em; /* LTR */ width: 14em; } .update table.version .version-details { padding-right: .5em; /* LTR */ } .update table.version .version-links { text-align: right; /* LTR */ padding-right: 1em; /* LTR */ } .update table.version-security .version-title { color: #970F00; } .update table.version-recommended-strong .version-title { font-weight: bold; } .update .security-error { font-weight: bold; color: #970F00; } .update .check-manually { padding-left: 1em; /* LTR */ } ; $Id: ckeditor.info,v 1.1 2009/12/04 20:36:57 wwalc Exp $ name = CKEditor description = "Enables the usage of CKEditor (WYSIWYG) instead of plain text fields." core = 6.x ; Information added by drupal.org packaging script on 2010-03-11 version = "6.x-1.1" core = "6.x" project = "ckeditor" datestamp = "1268316023" // $Id: pathauto.js,v 1.4.2.2 2010/02/10 21:50:30 greggles Exp $ if (Drupal.jsEnabled) { $(document).ready(function() { if ($("#edit-pathauto-perform-alias").size() && $("#edit-pathauto-perform-alias").attr("checked")) { // Disable input and hide its description. $("#edit-path").attr("disabled","disabled"); $("#edit-path-wrapper > div.description").hide(0); } $("#edit-pathauto-perform-alias").bind("click", function() { if ($("#edit-pathauto-perform-alias").attr("checked")) { // Auto-alias checked; disable input. $("#edit-path").attr("disabled","disabled"); $("#edit-path-wrapper > div[class=description]").slideUp('fast'); } else { // Auto-alias unchecked; enable input. $("#edit-path").removeAttr("disabled"); $("#edit-path")[0].focus(); $("#edit-path-wrapper > div[class=description]").slideDown('fast'); } }); }); Drupal.verticalTabs = Drupal.verticalTabs || {}; Drupal.verticalTabs.path = function() { var path = $('#edit-path').val(); var automatic = $('#edit-pathauto-perform-alias').attr('checked'); if (automatic) { return Drupal.t('Automatic alias'); } if (path) { return Drupal.t('Alias: @alias', { '@alias': path }); } else { return Drupal.t('No alias'); } } } ; $Id: nodewords.info,v 1.3.2.9 2009/11/09 11:26:52 kiam Exp $ name = Nodewords description = Allows users to add meta tags, e.g. keywords or description. This module doesn't actually implement any meta tags, but requires other modules to implement them. package = Meta tags core = 6.x recommends[] = checkall recommends[] = vertical_tabs ; Information added by drupal.org packaging script on 2009-12-31 version = "6.x-1.11" core = "6.x" project = "nodewords" datestamp = "1262270443"