/* $Id: block.css,v 1.6 2007/11/14 09:49:30 dries Exp $ */ #blocks td.region { font-weight: bold; } #blocks tr.region-message { font-weight: normal; color: #999; } #blocks tr.region-populated { display: none; } .block-region { background-color: #ff6; margin-top: 4px; margin-bottom: 4px; padding: 3px; } /* $Id: color.css,v 1.4 2007/05/27 17:57:48 goba Exp $ */ /* Farbtastic placement */ .color-form { max-width: 50em; position: relative; } #placeholder { position: absolute; top: 0; right: 0; /* LTR */ } /* Palette */ .color-form .form-item { height: 2em; line-height: 2em; padding-left: 1em; /* LTR */ margin: 0.5em 0; } .color-form label { float: left; /* LTR */ clear: left; /* LTR */ width: 10em; } .color-form .form-text, .color-form .form-select { float: left; /* LTR */ } .color-form .form-text { text-align: center; margin-right: 5px; /* LTR */ cursor: pointer; } #palette .hook { float: left; /* LTR */ margin-top: 3px; width: 16px; height: 16px; } #palette .down, #palette .up, #palette .both { background: url(images/hook.png) no-repeat 100% 0; /* LTR */ } #palette .up { background-position: 100% -27px; /* LTR */ } #palette .both { background-position: 100% -54px; /* LTR */ } #palette .lock { float: left; /* LTR */ position: relative; top: -1.4em; left: -10px; /* LTR */ width: 20px; height: 25px; background: url(images/lock.png) no-repeat 50% 2px; cursor: pointer; } #palette .unlocked { background-position: 50% -22px; } #palette .form-item { width: 20em; } #palette .item-selected { background: #eee; } /* Preview */ #preview { display: none; } html.js #preview { display: block; position: relative; float: left; /* LTR */ } ; $Id: help.info,v 1.4 2007/06/08 05:50:54 dries Exp $ name = Help description = Manages the display of online help. package = Core - optional version = VERSION core = 6.x ; Information added by drupal.org packaging script on 2010-12-15 version = "6.20" project = "drupal" datestamp = "1292447788" ; $Id: locale.info,v 1.6 2007/11/05 08:43:48 goba Exp $ name = Locale description = Adds language handling functionality and enables the translation of the user interface to languages other than English. package = Core - optional version = VERSION core = 6.x ; Information added by drupal.org packaging script on 2010-12-15 version = "6.20" project = "drupal" datestamp = "1292447788" ; $Id: update.info,v 1.1 2007/07/11 15:15:40 dries Exp $ name = Update status description = Checks the status of available updates for Drupal and your installed modules and themes. version = VERSION package = Core - optional core = 6.x ; Information added by drupal.org packaging script on 2010-12-15 version = "6.20" project = "drupal" datestamp = "1292447788" /* $Id: user.css,v 1.7 2007/06/21 04:38:41 unconed Exp $ */ #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; } /* calendar calendar table styles */ .calendar-calendar tr.odd, .calendar-calendar tr.even { background-color:#fff; } .calendar-calendar table { border-collapse: collapse; border-spacing: 0; margin:0 auto; padding:0; width: 100%; /* Setting at 100% causes problem in Internet Explorer. */ } .calendar-calendar .month-view table { border:none; padding:0; margin:0; width:100%; } /* IE needs a little help to get the side by side tables to the right size */ .calendar-calendar .year-view td { width:32%; padding:1px; border:none; } .calendar-calendar .year-view td table td { width:13%; padding:0; } .calendar-calendar tr { padding: 0; margin: 0; background-color: white; } .calendar-calendar th { text-align: center; margin:0; } .calendar-calendar th a { font-weight: bold; } .calendar-calendar td { width: 12%; /* 14% is about 1/7 of total table width */ min-width: 12%; border: 1px solid #ccc; color: #777; text-align: right; vertical-align: top; margin: 0; padding:0; } /* simplify the mini calendar by removing borders */ .calendar-calendar .mini { border:none; } /* format for the week number in the first cell */ .calendar-calendar td.week { width:1%; min-width:1%; } .calendar-calendar .week { clear:both; font-style: normal; color: #555; font-size: 0.8em; } .calendar-calendar .week a { font-weight:normal; } /* IE6 does not support min-height, using Min-Height fast hack from http://www.dustindiaz.com/min-height-fast-hack */ .calendar-calendar .inner { height:auto !important; height:5em; padding:0; margin:0; } .calendar-calendar .inner div { padding:0; margin:0; } /* Make sure paragraphs buried in calendar cells use padding, not margins, for separation so the background color doesn't come through. */ .calendar-calendar .inner p { padding:0 0 .8em 0; margin:0; } .calendar-calendar td a { font-weight: bold; text-decoration: none; } .calendar-calendar td a:hover { text-decoration: underline; } .calendar-calendar td.year, .calendar-calendar td.month { text-align: center; } /* format days of the week header cells */ .calendar-calendar th.days { color: #ccc; background-color: #224; text-align: center; padding:1px; margin:0; } /* floating day number div */ .calendar-calendar div.day { float: right; text-align: center; padding: 0.125em 0.25em 0 0.25em; margin: 0; background-color: #f3f3f3; border: 1px solid gray; border-width: 0 0 1px 1px; clear:both; width:1.5em; } /* individual node container */ .calendar-calendar div.calendar { background-color: #fff; border: solid 1px #ddd; text-align: left; margin:0 .25em .25em 0; width: 96%; float:right; /* needed to keep IE from hiding the floating day number */ clear:both; } /* No floating of day view content because there is no floating day number */ .calendar-calendar .day-view div.calendar { float:none; width:98%; margin:1% 1% 0 1%; } .calendar-calendar div.title { font-size:.8em; text-align:center; } .calendar-calendar div.title a { color: #000; } .calendar-calendar div.title a:hover { color: #c00; } .calendar-calendar .content { clear:both; padding: 3px; padding-left: 5px; } .calendar div.form-item { white-space: normal; } table td.mini, table th.mini, table.mini td.week { padding:0 1px 0 0; margin:0; } table td.mini a { font-weight:normal; } .calendar-calendar .mini-day-off { padding:0px; } .calendar-calendar .mini-day-on { padding:0px; } table .mini-day-on a { text-decoration:underline; } .calendar-calendar .mini .title { font-size:.8em; } .mini .calendar-calendar .week { font-size:.7em; } .mini-row { width:100%; border:none; } .mini{ width:32%; vertical-align:top; } /* formatting for the legend stripe and block */ .calendar-calendar .stripe { height: 5px; width: auto; font-size:1px !important; line-height:1px !important; } .calendar-calendar .day-view .stripe { width:100%; } table.calendar-legend { background-color:#ccc; width:100%; margin:0; padding:0; } table.calendar-legend tr.odd .stripe, table.calendar-legend tr.even .stripe { height:12px !important; font-size:9px !important; line-height:10px !important; } .calendar-legend td { text-align:left; } .calendar-empty { font-size:1px; line-height:1px; } /* formatting for the full day view */ .calendar-calendar td.calendar-agenda-hour { text-align:right; border:none; border-top:1px solid #CCCCCC; padding-top:.25em; width:1%; } .calendar-calendar td.calendar-agenda-no-hours { min-width:1%; } .calendar-calendar td.calendar-agenda-hour .calendar-hour { font-size:1.2em; font-weight:bold; } .calendar-calendar td.calendar-agenda-hour .calendar-ampm { font-size:1em; } .calendar-calendar td.calendar-agenda-items { border:1px solid #CCCCCC; text-align:left; } .calendar-calendar td.calendar-agenda-items div.calendar { width:auto; padding:.25em; margin:0; } .calendar-calendar div.calendar div.inner .calendar-agenda-empty { width:100%; text-align:center; vertical-align:middle; padding:1em 0; background-color:#fff; } /* the popup date selector for jumping to a new date */ .calendar-date-select form { text-align:right; float:right; width:25%; } .calendar-date-select div, .calendar-date-select input, .calendar-date-select label { text-align:right; padding:0; margin:0; float:right; clear:both; } .calendar-date-select .description { float:right; } .calendar-label { font-weight:bold; display:block; clear:both; } .calendar-calendar div.date-nav { background-color:#ccc; color:#777; padding:0.2em; width:auto; border:1px solid #ccc; } .calendar-calendar div.date-nav a, .calendar-calendar div.date-nav h3 { color:#777; text-decoration:none; } .calendar-calendar th.days { background-color:#eee; color:#777; font-weight:bold; border:1px solid #ccc; } .calendar-calendar td.empty { background:#ccc; border-color:#ccc; } .calendar-calendar table.mini td.empty { background:#fff; border-color:#fff; } .calendar-calendar td div.day { border:1px solid #ccc; border-top:none; border-right:none; margin-bottom:2px; } .calendar-calendar td .inner div, .calendar-calendar td .inner div a { background:#eee; } /* Set small font size for all items in calendar div, themes can override this. */ /* Use x-small instead of em to avoid multiplying effect in nested items. */ .calendar-calendar div.calendar { border:none; font-size:x-small; } .calendar-calendar td .inner div.calendar div, .calendar-calendar td .inner div.calendar div a { border:none; background:#ffc; padding:0; } .calendar-calendar td .inner div.calendar div.calendar-more, .calendar-calendar td .inner div.calendar div.calendar-more a { color:#444; background:#fff; text-align:right; } .calendar-calendar td .inner .view-field, .calendar-calendar td .inner .view-field a { color:#444; font-weight:normal; } .calendar-calendar td span.date-display-single, .calendar-calendar td span.date-display-start, .calendar-calendar td span.date-display-end, .calendar-calendar td span.date-display-separator { font-weight:bold; } .calendar-calendar td .inner div.day a { color:#4b85ac; } .calendar-calendar tr td.today, .calendar-calendar tr.odd td.today, .calendar-calendar tr.even td.today { background-color:#C3D6E4; } .calendar-calendar td .inner div.calendar div div.view-data-node-data-field-date-field-date-value { } /* The following are not used by default but are available for themes */ .calendar-calendar td.past {} .calendar-calendar td.future {} .calendar-calendar td.has-events {} .calendar-calendar td.has-no-events {} /* Multi day styles */ .calendar-calendar tbody { border-top : none; } .calendar-calendar .month-view .full .inner, .calendar-calendar .week-view .full .multi-day .inner { height : auto; min-height : auto; } .calendar-calendar .week-view .full .calendar-agenda-hour .calendar-calendar .month-view .full .single-day .inner .view-item { float : left; width : 100%; } .calendar-calendar .week-view .full .calendar-agenda-hour { width : 6%; min-width : 0px; padding-right : 2px; } .calendar-calendar .week-view .full .days { width : 13%; } .calendar-calendar .month-view .full div.calendar, .calendar-calendar .week-view .full div.calendar, .calendar-calendar .day-view div.calendar { width : auto; } .calendar-calendar .month-view .full tr.date-box, .calendar-calendar .month-view .full tr.date-box td, .calendar-calendar .month-view .full tr.multi-day, .calendar-calendar .month-view .full tr.multi-day td { height : 19px; max-height : 19px; } .calendar-calendar .month-view .full tr.single-day .no-entry, .calendar-calendar .month-view .full tr.single-day .no-entry .inner { height : 44px !important; line-height : 44px; font-size : 1px; } .calendar-calendar .month-view .full tr.single-day .noentry-multi-day, .calendar-calendar .month-view .full tr.single-day .noentry-multi-day .inner { height : 22px !important; line-height : 22px; font-size : 1px; } .calendar-calendar .month-view .full td, .calendar-calendar .week-view .full td, .calendar-calendar .day-view td { vertical-align: top; padding :1px 2px 0 2px } .calendar-calendar .month-view .full td.date-box { height : 1%; border-bottom: 0px; padding-bottom : 2px; } .calendar-calendar .month-view .full .week { font-size : inherit; } .calendar-calendar .month-view .full .week a, .calendar-calendar .week-view .full .week a { color:#4b85ac; } .calendar-calendar .month-view .full td .inner div.day, .calendar-calendar .month-view .full td .inner div.day a { border :none; background : none; margin-bottom: 0px; } .calendar-calendar .month-view .full td.date-box .inner, .calendar-calendar .week-view .full td.date-box .inner { min-height : inherit; } .calendar-calendar .month-view .full td.multi-day, .calendar-calendar .week-view .full td.multi-day { border-top: 0px; border-bottom: 0px; } .calendar-calendar .week-view .full .first td.multi-day { border-top : 1px solid #CCCCCC; } .calendar-calendar .month-view .full td.single-day { border-top: 0px; } .calendar-calendar .month-view .full td.multi-day .inner, .calendar-calendar .week-view .full td.multi-day .inner, .calendar-calendar .day-view .full td.multi-day .inner { min-height : inherit; width : auto; position : relative; } .calendar-calendar .month-view .full td.multi-day.no-entry { min-height : 0px; } .calendar-calendar .month-view .full td.single-day .calendar-empty, .calendar-calendar .month-view .full td.single-day.empty, .calendar-calendar .month-view .full td.date-box.empty { background : #F4F4F4; } .calendar-calendar .month-view .full td.single-day .inner div, .calendar-calendar .month-view .full td.single-day .inner div a , .calendar-calendar .month-view .full td.multi-day .inner div, .calendar-calendar .month-view .full td.multi-day .inner div a , .calendar-calendar .month-view .full td .inner div.calendar.monthview div, .calendar-calendar .month-view .full td .inner div.calendar.monthview div a, .calendar-calendar .week-view .full td.single-day .inner div, .calendar-calendar .week-view .full td.single-day .inner div a , .calendar-calendar .week-view .full td.multi-day .inner div, .calendar-calendar .week-view .full td.multi-day .inner div a , .calendar-calendar .week-view .full td .inner div.calendar.weekview div, .calendar-calendar .week-view .full td .inner div.calendar.weekview div a, .calendar-calendar .day-view .full td .inner div.view-item, .calendar-calendar .day-view .full td .inner div.calendar div, .calendar-calendar .day-view .full td .inner div.calendar div a { background : none; } .calendar-calendar .day-view .full td .inner div.calendar div, .calendar-calendar .day-view .full td .inner div.calendar div a { margin : 0px 3px; } .calendar-calendar .day-view .full td .inner div.calendar div.stripe { margin : 0px; } .calendar-calendar .month-view .full tr td.today, .calendar-calendar .month-view .full tr.odd td.today, .calendar-calendar .month-view .full tr.even td.today { background: none; border-left :2px solid #7C7F12; border-right :2px solid #7C7F12; } .calendar-calendar .month-view .full td.date-box.today { border-width : 2px 2px 0px 2px; border-style: solid; border-color : #7C7F12; } .calendar-calendar .month-view .full tr td.single-day.today { border-bottom :2px solid #7C7F12; } .calendar-calendar .month-view .full tr td.multi-day.starts-today { border-left :2px solid #7C7F12; } .calendar-calendar .month-view .full tr td.multi-day.ends-today { border-right :2px solid #7C7F12; } .calendar-calendar .month-view .full tr td.multi-day, .calendar-calendar .month-view .full tr td.single-day { border-top : 0px; } .calendar-calendar .month-view .full tr td.multi-day, .calendar-calendar .month-view .full tr td.date-box { border-bottom : 0px; } .calendar-calendar .month-view .full .inner .monthview, .calendar-calendar .week-view .full .inner .weekview, .calendar-calendar .day-view .full .inner .dayview { -moz-border-radius : 5px; border-radius : 5px; width : auto; float : none; display : block; margin : .25em auto; position : relative; } .calendar-calendar .month-view .full td.single-day div.monthview, .calendar-calendar .week-view .full td.single-day div.weekview, .calendar-calendar .day-view .full td.single-day div.dayview { background : #FFD8C0; width : auto; padding : 0px 3px; overflow : hidden; } .calendar-calendar .month-view .full td.single-day .calendar-more div.monthview { background : none; } .calendar-calendar .day-view td div.dayview { padding : 0px; } .calendar-calendar .month-view .full td.multi-day div.monthview, .calendar-calendar .week-view .full td.multi-day div.weekview, .calendar-calendar .day-view .full td.multi-day div.dayview { background : #74a5d7; height : 1.9em; overflow : hidden; margin : 0px auto; color : #ffffff; position : relative; } .calendar-calendar .week-view .full td.multi-day div.weekview { height : 3.5em; } .calendar-calendar .month-view .full td.multi-day .inner .view-field, .calendar-calendar .month-view .full td.multi-day .inner .view-field a, .calendar-calendar .week-view .full td.multi-day .inner .view-field, .calendar-calendar .week-view .full td.multi-day .inner .view-field a, .calendar-calendar .day-view .full td.multi-day .inner .view-field, .calendar-calendar .day-view .full td.multi-day .inner .view-field a { color : #ffffff; } .calendar-calendar .full td.multi-day .calendar .view-field, .calendar-calendar .full td.single-day .calendar .view-field { } .calendar-calendar .day-view .full td.multi-day div.dayview, .calendar-calendar .week-view .full td.multi-day div.weekview { margin-bottom: 2px; } .calendar-calendar .month-view .full td.multi-day .calendar.monthview .view-field { white-space: nowrap; float : left; margin-right : 3px; } .calendar-calendar .week-view .full td.multi-day .calendar.weekview .view-field { white-space: nowrap; display : inline; margin-right : 3px; } .calendar-calendar .day-view .full td.multi-day .calendar.weekview .view-field { display : block; } .calendar-calendar .month-view .full td.multi-day .calendar.monthview .contents, .calendar-calendar .week-view .full td.multi-day .calendar.weekview .contents { position : absolute; width : 3000px; left: 5px; } .calendar-calendar .day-view td .stripe, .calendar-calendar .month-view .full td .stripe, .calendar-calendar .week-view .full td .stripe { -moz-border-radius : 5px 5px 0px 0px; border-radius : 5px 5px 0px 0px; left: 0px; top : 0px; position:absolute; width : 100%; height :3px; z-index : 2; } .calendar-calendar .full td.single-day .continuation, .calendar-calendar .full td.single-day .continues, .calendar-calendar .full td.single-day .cutoff { display : none; } .calendar-calendar .month-view .full td.multi-day .inner .monthview .continuation, .calendar-calendar .week-view .full td.multi-day .inner .weekview .continuation { float :left; margin-right : 3px; height : 1.9em; } .calendar-calendar .week-view .full td.multi-day .inner .weekview .continuation { height : 2.75em; padding-top: 0.75em; margin-right : 8px; } .calendar-calendar .month-view .full td.multi-day .inner .monthview .continues, .calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff, .calendar-calendar .week-view .full td.multi-day .inner .weekview .continues, .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff { position:absolute; right : 0px !important; right : -1px; width : 10px; text-align: left; background : #74a5d7; -moz-border-radius : 0px 5px 5px 0px; border-radius : 0px 5px 5px 0px; height : 1.9em; padding-left: 6px; z-index : 1; } .calendar-calendar .week-view .full td.multi-day .inner .weekview .continues, .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff { height : 2.75em; padding-top: 0.75em; } .calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff, .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff { width : 8px; padding-left: 0px; } .calendar-calendar .week-view .full td.multi-day { padding : 2px; } .calendar-calendar .week-view td.single-day div.calendar { width : 100%; padding-left:0px; padding-right : 0px; } .calendar-calendar .week-view .full tr.last td.multi-day { border-bottom:1px solid #CCCCCC; } /* Restyle Header */ .view-content .calendar-calendar { position : relative; margin-top : 5px; float:left; width: 100%; } .view-content .calendar-calendar .links { display : block; } .view-content .calendar-calendar ul.links { margin-bottom: 3px; } .view-content .calendar-calendar ul { position : absolute; top : 8px ; line-height : inherit; z-index : 1; } .view-content .calendar-calendar li { float : left; line-height : inherit ; margin-left : 10px ; } .view-content .calendar-calendar li a { text-decoration : underline ; line-height : inherit ; } .view-content .calendar-calendar .date-nav { background-color : transparent ; border : 0px ; height : 30px; height : auto ; min-height : 30px; } .view-content .calendar-calendar .date-prev a, .view-content .calendar-calendar .date-next a { text-decoration : none ; color : inherit ; font-size : 12px; } .view-content .calendar-calendar .date-nav a:hover { text-decoration : underline ; } .view-content .calendar-calendar .date-prev { -moz-border-radius:5px 0 0 5px; border-radius:5px 0 0 5px; background:none repeat scroll 0 0 #dfdfdf; float:none; padding:5px 0; position:absolute; right:60px; text-align:right; top:0px; width:auto; z-index : 1; font-size : 12px; } div.block .view-content .calendar-calendar .date-prev { left:0; right:auto; } .view-content .calendar-calendar .date-prev span { margin-left : 10px; font-style : bold; } .view-content .calendar-calendar .date-heading { position : relative; width : 100%; top : 0px; text-align : center; z-index : 0; float : none; } .view-content .calendar-calendar .date-heading h3 { line-height : 30px ; font-size : 1.7em ; } .view-content .calendar-calendar .date-next { -moz-border-radius:0px 5px 5px 0px; border-radius:0px 5px 5px 0px; background:none repeat scroll 0 0 #dfdfdf; float:none; padding:5px 0; position:absolute; right:0px; text-align:right; top:0px; width:auto; z-index : 1; font-size : 12px; } .view-content .calendar-calendar .date-next span { margin-right : 10px; font-style : bold; } .view-content:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .attachment .calendar-calendar { margin-top : 20px ; clear : both; } .calendar-calendar th a, .attachment .calendar-calendar th { background-color : transparent ; border : 0px ; } .attachment .calendar-calendar th.calendar-agenda-hour { color : #777777; font-weight : bold; text-align : right; } .view-calendar .feed-icon { margin-top : 5px; } ; $Id: jcalendar.info,v 1.1.4.2 2008/06/23 14:55:01 karens Exp $ name = Calendar Popup description = "Replaces the links to calendar items with a javascript popup that gracefully regresses if javascript is not enabled" dependencies[] = calendar dependencies[] = views core = 6.x package = Date/Time ; Information added by drupal.org packaging script on 2011-01-03 version = "6.x-2.4" core = "6.x" project = "calendar" datestamp = "1294072550" // $Id: content.js,v 1.1.2.3 2008/10/06 14:30:01 karens Exp $ Drupal.behaviors.cckManageFields = function(context) { attachUpdateSelects(context); }; function attachUpdateSelects(context) { var widgetTypes = Drupal.settings.contentWidgetTypes; var fields = Drupal.settings.contentFields; // Store the default text of widget selects. $('#content-field-overview .content-widget-type-select', context).each(function() { this.initialValue = this.options[0].text; }); // 'Field type' select updates its 'Widget' select. $('#content-field-overview .content-field-type-select', context).each(function() { this.targetSelect = $('.content-widget-type-select', $(this).parents('tr').eq(0)); $(this).change(function() { var selectedFieldType = this.options[this.selectedIndex].value; var options = (selectedFieldType in widgetTypes) ? widgetTypes[selectedFieldType] : [ ]; this.targetSelect.contentPopulateOptions(options); }); // Trigger change on initial pageload to get the right widget options // when field type comes pre-selected (on failed validation). $(this).trigger('change'); }); // 'Existing field' select updates its 'Widget' select and 'Label' textfield. $('#content-field-overview .content-field-select', context).each(function() { this.targetSelect = $('.content-widget-type-select', $(this).parents('tr').eq(0)); this.targetTextfield = $('.content-label-textfield', $(this).parents('tr').eq(0)); $(this).change(function(e, updateText) { var updateText = (typeof(updateText) == 'undefined') ? true : updateText; var selectedField = this.options[this.selectedIndex].value; var selectedFieldType = (selectedField in fields) ? fields[selectedField].type : null; var selectedFieldWidget = (selectedField in fields) ? fields[selectedField].widget : null var options = (selectedFieldType && (selectedFieldType in widgetTypes)) ? widgetTypes[selectedFieldType] : [ ]; this.targetSelect.contentPopulateOptions(options, selectedFieldWidget); if (updateText) { $(this.targetTextfield).attr('value', (selectedField in fields) ? fields[selectedField].label : ''); } }); // Trigger change on initial pageload to get the right widget options // and label when field type comes pre-selected (on failed validation). $(this).trigger('change', false); }); } jQuery.fn.contentPopulateOptions = function(options, selected) { return this.each(function() { var disabled = false; if (options.length == 0) { options = [this.initialValue]; disabled = true; } // If possible, keep the same widget selected when changing field type. // This is based on textual value, since the internal value might be // different (optionwidgets_buttons vs. nodereference_buttons). var previousSelectedText = this.options[this.selectedIndex].text; var html = ''; jQuery.each(options, function(value, text) { // Figure out which value should be selected. The 'selected' param // takes precedence. var is_selected = ((typeof(selected) !== 'undefined' && value == selected) || (typeof(selected) == 'undefined' && text == previousSelectedText)); html += ''; }); $(this) .html(html) .attr('disabled', disabled ? 'disabled' : ''); }); }; $Id: userreference.info,v 1.8 2008/04/23 18:02:38 dww Exp $ name = User Reference description = Defines a field type for referencing a user from a node. dependencies[] = content dependencies[] = text dependencies[] = optionwidgets package = CCK core = 6.x ; Information added by drupal.org packaging script on 2010-08-11 version = "6.x-2.8" core = "6.x" project = "cck" datestamp = "1281570988" /** * Show/hide custom format sections on the date-time settings page. */ Drupal.behaviors.dateDateTime = 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.dateDateTime.lookup +(Drupal.settings.dateDateTime.lookup.match(/\?q=/) ? "&format=" : "?format=") + Drupal.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'); }; // $Id: date_timezone.js,v 1.1.4.2.2.1 2008/06/20 12:25:30 karens Exp $ /** * Set the client's system time zone as default values of form fields. */ Drupal.setDefaultTimezone = function() { var dateString = Date(); // In some client environments, date strings include a time zone // abbreviation which can be interpreted by PHP. var matches = Date().match(/\(([A-Z]{3,5})\)/); var abbreviation = matches ? matches[1] : 0; // For all other client environments, the abbreviation is set to "0" // and the current offset from UTC and daylight saving time status are // used to guess the time zone. var dateNow = new Date(); var offsetNow = dateNow.getTimezoneOffset() * -60; // Use January 1 and July 1 as test dates for determining daylight // saving time status by comparing their offsets. var dateJan = new Date(dateNow.getFullYear(), 0, 1, 12, 0, 0, 0); var dateJul = new Date(dateNow.getFullYear(), 6, 1, 12, 0, 0, 0); var offsetJan = dateJan.getTimezoneOffset() * -60; var offsetJul = dateJul.getTimezoneOffset() * -60; // If the offset from UTC is identical on January 1 and July 1, // assume daylight saving time is not used in this time zone. if (offsetJan == offsetJul) { var isDaylightSavingTime = ''; } // If the maximum annual offset is equivalent to the current offset, // assume daylight saving time is in effect. else if (Math.max(offsetJan, offsetJul) == offsetNow) { var isDaylightSavingTime = 1; } // Otherwise, assume daylight saving time is not in effect. else { var isDaylightSavingTime = 0; } // Submit request to the user/timezone callback and set the form field // to the response time zone. var path = 'user/timezone/' + abbreviation + '/' + offsetNow + '/' + isDaylightSavingTime; $.getJSON(Drupal.settings.basePath, { q: path, date: dateString }, function (data) { if (data) { $("#edit-date-default-timezone, #edit-user-register-timezone, #edit-timezone-name").val(data); } }); };; $Id: calendarsignup.info,v 1.1 2008/11/09 01:36:11 killes Exp $ name = Calendar Signup description = Add signup forms in an event.module calendar package = Event dependencies[] = event dependencies[] = signup core = 6.x ; Information added by drupal.org packaging script on 2010-07-11 version = "6.x-2.x-dev" core = "6.x" project = "event" datestamp = "1278834158" // This file is currently empty ; $Id: fckeditor.info,v 1.2.2.2 2008/03/18 13:50:45 wwalc Exp $ name = FCKeditor description = "Enables the usage of FCKeditor (WYSIWYG) instead of plain text fields." core = 6.x ; Information added by drupal.org packaging script on 2010-03-13 version = "6.x-2.1" core = "6.x" project = "fckeditor" datestamp = "1268510707" // $Id: filefield.js,v 1.25 2010/04/24 02:47:49 quicksketch Exp $ /** * Auto-attach standard client side file input validation. */ Drupal.behaviors.filefieldValidateAutoAttach = function(context) { $("input[type='file'][accept]", context).change( function() { // Remove any previous errors. $('.file-upload-js-error').remove(); /** * Add client side validation for the input[type=file] accept attribute. */ var accept = this.accept.replace(/,\s*/g, '|'); if (accept.length > 1 && this.value.length > 0) { var v = new RegExp('\\.(' + accept + ')$', 'gi'); if (!v.test(this.value)) { var error = Drupal.t("The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.", { '%filename' : this.value, '%extensions' : accept.replace(/\|/g, ', ') } ); // What do I prepend this to? $(this).before('
' + error + '
'); this.value = ''; return false; } } /** * Add filesize validation where possible. */ /* @todo */ }); }; /** * Prevent FileField uploads when using buttons not intended to upload. */ Drupal.behaviors.filefieldButtons = function(context) { $('input.form-submit', context).bind('mousedown', Drupal.filefield.disableFields); $('div.filefield-element input.form-submit', context).bind('mousedown', Drupal.filefield.progressBar); }; /** * Open links to files within the node form in a new window. */ Drupal.behaviors.filefieldPreviewLinks = function(context) { $('div.filefield-element div.widget-preview a', context).click(Drupal.filefield.openInNewWindow).attr('target', '_blank'); } /** * Admin enhancement: only show the "Files listed by default" when needed. */ Drupal.behaviors.filefieldAdmin = function(context) { var $listField = $('div.filefield-list-field', context); if ($listField.size()) { $listField.find('input').change(function() { if (this.checked) { if (this.value == 0) { $('#edit-list-default-wrapper').css('display', 'none'); } else { $('#edit-list-default-wrapper').css('display', 'block'); } } }).change(); } }; /** * Utility functions for use by FileField. * @param {Object} event */ Drupal.filefield = { disableFields: function(event){ var clickedButton = this; // Only disable upload fields for AHAH buttons. if (!$(clickedButton).hasClass('ahah-processed')) { return; } // Check if we're working with an "Upload" button. var $enabledFields = []; if ($(this).parents('div.filefield-element').size() > 0) { $enabledFields = $(this).parents('div.filefield-element').find('input.form-file'); } // Otherwise we're probably dealing with CCK's "Add another item" button. else if ($(this).parents('div.content-add-more').size() > 0) { $enabledFields = $(this).parent().parent().find('input.form-file'); } var $disabledFields = $('div.filefield-element input.form-file').not($enabledFields); // Disable upload fields other than the one we're currently working with. $disabledFields.attr('disabled', 'disabled'); // All the other mousedown handlers (like AHAH) are excuted before any // timeout functions will be called, so this effectively re-enables // the filefields after the AHAH process is complete even though it only // has a 1 millisecond timeout. setTimeout(function(){ $disabledFields.attr('disabled', ''); }, 1000); }, progressBar: function(event) { var clickedButton = this; var $progressId = $(clickedButton).parents('div.filefield-element').find('input.filefield-progress'); if ($progressId.size()) { var originalName = $progressId.attr('name'); // Replace the name with the required identifier. $progressId.attr('name', originalName.match(/APC_UPLOAD_PROGRESS|UPLOAD_IDENTIFIER/)[0]); // Restore the original name after the upload begins. setTimeout(function() { $progressId.attr('name', originalName); }, 1000); // Show the progress bar if the upload takes longer than 3 seconds. setTimeout(function() { $(clickedButton).parents('div.filefield-element').find('div.ahah-progress-bar').slideDown(); }, 500); } }, openInNewWindow: function(event) { window.open(this.href, 'filefieldPreview', 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=500,height=550'); return false; } }; ; $Id: imageapi_imagemagick.info,v 1.3 2008/08/01 18:52:22 dopry Exp $ name = ImageAPI ImageMagick description = Command Line ImageMagick support. package = ImageCache core = 6.x ; Information added by drupal.org packaging script on 2010-10-17 version = "6.x-1.9" core = "6.x" project = "imageapi" datestamp = "1287340884" ; $Id: imagecache.info,v 1.6.2.1 2009/08/19 21:02:51 drewish Exp $ name = ImageCache description = Dynamic image manipulator and cache. package = ImageCache dependencies[] = imageapi core = 6.x ; Information added by drupal.org packaging script on 2009-08-19 version = "6.x-2.0-beta10" core = "6.x" project = "imagecache" datestamp = "1250716281" /* $Id: imagefield.css,v 1.10 2009/04/08 20:04:52 quicksketch Exp $ */ .filefield-element .imagefield-preview { min-width: 100px; min-height: 100px; } .filefield-element .imagefield-text { max-width: 40em; /* Reflect the maxlength of the ALT attribute (80 characters). */ } ; $Id: lightbox2.info,v 1.1.6.4 2008/07/14 11:51:34 snpower Exp $ name = Lightbox2 description = Enables Lightbox2 for Drupal core = 6.x ; Information added by drupal.org packaging script on 2010-09-24 version = "6.x-1.11" core = "6.x" project = "lightbox2" datestamp = "1285342563" ; $Id: link.info,v 1.2 2008/03/31 06:50:42 quicksketch Exp $ name = Link description = Defines simple link field types. dependencies[] = content package = CCK core = 6.x ; Information added by drupal.org packaging script on 2010-06-14 version = "6.x-2.9" core = "6.x" project = "link" datestamp = "1276539609" ; $Id: linkimagefield.info,v 1.3 2009/07/01 02:17:28 johnfyoung Exp $ name = LinkImage description = Defines an link image field type. dependencies[] = content dependencies[] = filefield dependencies[] = imagefield package = CCK core = 6.x ; Information added by drupal.org packaging script on 2009-09-04 version = "6.x-1.0-beta2" core = "6.x" project = "linkimagefield" datestamp = "1252089639" ; $Id: location.info,v 1.3 2008/07/24 19:44:00 bdragon Exp $ name = Location package = Location description = The location module allows you to associate a geographic location with content and users. Users can do proximity searches by postal code. This is useful for organizing communities that have a geographic presence. core = 6.x ; Information added by drupal.org packaging script on 2010-07-06 version = "6.x-3.1" core = "6.x" project = "location" datestamp = "1278427508" /* $Id: nice_menus.css,v 1.28 2008/07/11 16:04:44 add1sun Exp $ */ /* This file contains the basic logic for nice menus, and should not be edited. To customize the menus, it's recommended to create a custom CSS file using nice_menus_default.css as a template, then configure the module to use your custom CSS file (this is done in the global settings tab of the theme administration.) */ /* Below should fix menu being a few pixels away in some themes, and menus disappearing behind other stuff. */ .block-nice_menus { line-height: normal; z-index: 10; } ul.nice-menu, ul.nice-menu ul { z-index: 5; position: relative; } ul.nice-menu li { position: relative; } ul.nice-menu a { display: block; } ul.nice-menu ul, /* For Garland header. */ #header-region ul.nice-menu ul { position: absolute; visibility: hidden; } ul.nice-menu li.over ul { visibility: visible; } ul.nice-menu ul li { display: block; } ul.nice-menu:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } /* Show submenus when over their parents. */ ul.nice-menu li:hover ul, ul.nice-menu li.menuparent li:hover ul, ul.nice-menu li.menuparent li.menuparent li:hover ul, ul.nice-menu li.menuparent li.menuparent li.menuparent li:hover ul, ul.nice-menu li.over ul, ul.nice-menu li.menuparent li.over ul, ul.nice-menu li.menuparent li.menuparent li.over ul, ul.nice-menu li.menuparent li.menuparent li.menuparent li.over ul, /* Repeat all this stuff just for Garland headers. */ #header-region ul.nice-menu li:hover ul, #header-region ul.nice-menu li.menuparent li:hover ul, #header-region ul.nice-menu li.menuparent li.menuparent li:hover ul, #header-region ul.nice-menu li.over ul, #header-region ul.nice-menu li.menuparent li.over ul, #header-region ul.nice-menu li.menuparent li.menuparent li.over ul { visibility: visible; } /* Hide sub-menus initially. */ ul.nice-menu li:hover ul ul, ul.nice-menu li:hover ul ul ul, ul.nice-menu li:hover li:hover ul ul, ul.nice-menu li:hover li:hover ul ul ul, ul.nice-menu li:hover li:hover li:hover ul ul, ul.nice-menu li:hover li:hover li:hover ul ul ul, ul.nice-menu li.over ul ul, ul.nice-menu li.over ul ul ul, ul.nice-menu li.over li.over ul ul, ul.nice-menu li.over li.over ul ul ul, ul.nice-menu li.over li.over li.over ul ul, ul.nice-menu li.over li.over li.over ul ul ul, /* Repeat all this stuff just for Garland headers. */ #header-region ul.nice-menu li:hover ul ul, #header-region ul.nice-menu li:hover ul ul ul, #header-region ul.nice-menu li:hover li:hover ul ul, #header-region ul.nice-menu li:hover li:hover ul ul ul, #header-region ul.nice-menu li:hover li:hover li:hover ul ul, #header-region ul.nice-menu li:hover li:hover li:hover ul ul ul, #header-region ul.nice-menu li.over ul ul, #header-region ul.nice-menu li.over ul ul ul, #header-region ul.nice-menu li.over li.over ul ul, #header-region ul.nice-menu li.over li.over ul ul ul, #header-region ul.nice-menu li.over li.over li.over ul ul, #header-region ul.nice-menu li.over li.over li.over ul ul ul { visibility: hidden; } /*************** IE 6 Fixes ***************/ /* Iframe to fix z-index bug when menu hovers over