-// $Id$
Drupal 6.21-dev, xxxx-xx-xx (development release)
----------------------
-// $Id$
All Drupal code is Copyright 2001 - 2010 by the original authors.
-// $Id$
CREATE THE MySQL DATABASE
--------------------------
-// $Id$
CREATE THE PostgreSQL DATABASE
------------------------------
-// $Id$
CONTENTS OF THIS FILE
---------------------
-// $Id$
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
-// $Id$
List of maintainers
--------------------------------------------------------------------------------
-// $Id$
UPGRADING
---------
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file Batch processing API for processes to run in multiple HTTP requests.
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* A stub cache implementation to be used during the installation
<?php
-// $Id$
/**
* Return data from the persistent cache. Data may be stored as either plain text or as serialized data.
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @defgroup forms Form builder functions
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
define('SCHEMA_UNINSTALLED', -1);
define('SCHEMA_INSTALLED', 0);
<?php
-// $Id$
// MySQL specific install functions
<?php
-// $Id$
// MySQLi specific install functions
<?php
-// $Id$
// PostgreSQL specific install functions
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* Compose and optionally send an e-mail message.
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* Indicates an error during check for PHP unicode support.
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* The main entry point for XML-RPC requests.
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
require_once './includes/install.inc';
-// $Id$
/**
* Provides AJAX-like page updating via AHAH (Asynchronous HTML and HTTP).
-// $Id$
/**
* Attaches the autocomplete behavior to all required fields
-// $Id$
/**
* Attaches the batch behavior to progress bars.
-// $Id$
/**
* Toggle the visibility of a fieldset using smooth animations
-// $Id$
var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'themes': {}, 'locale': {} };
-/* $Id$ */
.farbtastic {
position: relative;
-// $Id$
// Farbtastic 1.2
jQuery.fn.farbtastic = function (callback) {
-// $Id$
Drupal.behaviors.multiselectSelector = function() {
// Automatically selects the right radio button in a multiselect control.
-// $Id$
/*
* jQuery Form Plugin
-// $Id$
/*
* jQuery 1.2.6 - New Wave Javascript
-/* $Id$ */
body {
direction: rtl;
-/* $Id$ */
body {
margin: 1em;
-// $Id$
/**
* A progressbar object. Initialized with the given id. Must be inserted into
-// $Id$
/**
* Drag and drop table rows with field manipulation.
-// $Id$
Drupal.tableHeaderDoScroll = function() {
if (typeof(Drupal.tableHeaderOnScroll)=='function') {
-// $Id$
Drupal.behaviors.tableSelect = function (context) {
$('form table:has(th.select-all):not(.tableSelect-processed)', context).each(Drupal.tableSelect);
-// $Id$
/**
* Auto-attach for teaser behavior.
-// $Id$
Drupal.behaviors.textarea = function(context) {
$('textarea.resizable:not(.textarea-processed)', context).each(function() {
<?php
-// $Id$
/**
* @file aggregator-feed-source.tpl.php
<?php
-// $Id$
/**
* @file aggregator-item.tpl.php
-/* $Id$ */
#aggregator .feed-source .feed-icon {
float: left;
<?php
-// $Id$
/**
* @file aggregator-summary-item.tpl.php
<?php
-// $Id$
/**
* @file aggregator-summary-items.tpl.php
<?php
-// $Id$
/**
* @file comment-wrapper.tpl.php
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#aggregator .feed-source .feed-title {
margin-top: 0;
-; $Id$
name = Aggregator
description = "Aggregates syndicated content (RSS, RDF, and Atom feeds)."
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file block-admin-display-form.tpl.php
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#blocks td.region {
font-weight: bold;
-; $Id$
name = Block
description = Controls the boxes that are displayed around the main content.
package = Core - required
<?php
-// $Id$
/**
* Implementation of hook_schema().
-// $Id$
/**
* Move a block in the blocks table from one region to another via select list.
<?php
-// $Id$
/**
* @file
-; $Id$
name = Blog
description = Enables keeping easily and regularly updated user web pages or blogs.
package = Core - optional
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-; $Id$
name = Blog API
description = Allows users to post content using applications that support XML-RPC blog APIs.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file book-all-books-block.tpl.php
<?php
-// $Id$
/**
* @file book-export-html.tpl.php
<?php
-// $Id$
/**
* @file book-navigation.tpl.php
<?php
-// $Id$
/**
* @file book-node-export-html.tpl.php
-/* $Id$ */
.book-navigation .page-previous {
float: right;
<?php
-// $Id$
/**
* @file
-/* $Id$ */
.book-navigation .menu {
border-top: 1px solid #888;
-; $Id$
name = Book
description = Allows users to structure site pages in a hierarchy or outline.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#placeholder {
left: 0;
-/* $Id$ */
/* Farbtastic placement */
.color-form {
-; $Id$
name = Color
description = Allows the user to change the color scheme of certain themes.
package = Core - optional
<?php
-/* $Id$ */
function color_requirements($phase) {
$requirements = array();
-// $Id$
Drupal.behaviors.color = function (context) {
// This behavior attaches by ID, so is only valid once on a page.
<?php
-// $Id$
/**
* Implementation of hook_help().
<?php
-// $Id$
/**
* @file comment-folded.tpl.php
-/* $Id$ */
.indented {
margin-left: 0;
<?php
-// $Id$
/**
* @file comment-wrapper.tpl.php
<?php
-// $Id$
/**
* @file
-/* $Id$ */
.indented {
margin-left: 25px; /* LTR */
-; $Id$
name = Comment
description = Allows users to comment on and discuss published content.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_enable().
-// $Id$
Drupal.behaviors.comment = function (context) {
var parts = new Array("name", "homepage", "mail");
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file comment.tpl.php
<?php
-// $Id$
/**
* @file
-; $Id$
name = Contact
description = Enables the use of both personal and site-wide contact forms.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#edit-type-wrapper, #edit-severity-wrapper {
float: right;
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#edit-type-wrapper, #edit-severity-wrapper {
float: left; /* LTR */
-; $Id$
name = Database logging
description = Logs and records system events to the database.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-; $Id$
name = Filter
description = Handles the filtering of content in preparation for display.
package = Core - required
<?php
-// $Id$
/**
* Implementation of hook_schema().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file forum-icon.tpl.php
<?php
-// $Id$
/**
* @file forum-list.tpl.php
-/* $Id$ */
#forum tr td.forum {
padding-left: 0.5em;
<?php
-// $Id$
/**
* @file forum-submitted.tpl.php
<?php
-// $Id$
/**
* @file forum-topic-list.tpl.php
<?php
-// $Id$
/**
* @file forum-topic-navigation.tpl.php
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#forum .description {
font-size: 0.9em;
-; $Id$
name = Forum
description = Enables threaded discussions about general topics.
dependencies[] = taxonomy
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file forums.tpl.php
-/* $Id$ */
.help-items {
float: right;
<?php
-// $Id$
/**
* @file
-/* $Id$ */
.help-items {
float: left; /* LTR */
-; $Id$
name = Help
description = Manages the display of online help.
package = Core - optional
<?php
-// $Id$
/**
* @file
-/* $Id$ */
.locale-untranslated {
font-style: normal;
-; $Id$
name = Locale
description = Adds language handling functionality and enables the translation of the user interface to languages other than English.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-; $Id$
name = Menu
description = Allows administrators to customize the site navigation menu.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#node-admin-buttons {
float: right;
<?php
-// $Id$
/**
* @file
-/* $Id$ */
.node-unpublished {
background-color: #fff4f4;
-; $Id$
name = Node
description = Allows content to be submitted to the site and displayed on pages.
package = Core - required
<?php
-// $Id$
/**
* Implementation of hook_schema().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file node.tpl.php
-/* $Id$ */
#edit-openid-identifier {
background-image: url("login-bg.png");
<?php
-// $Id$
/**
* @file
-; $Id$
name = OpenID
description = "Allows users to log into your site using OpenID."
version = VERSION
<?php
-// $Id$
/**
* Implementation of hook_install().
-// $Id$
Drupal.behaviors.openid = function (context) {
var $loginElements = $("#edit-name-wrapper, #edit-pass-wrapper, li.openid-link");
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
// Global variables to track parsing state
$xrds_open_elements = array();
<?php
-// $Id$
/**
* @file
-; $Id$
name = Path
description = Allows users to rename URLs.
package = Core - optional
<?php
-// $Id$
/**
* @file
-; $Id$
name = PHP filter
description = Allows embedded PHP code/snippets to be evaluated.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
-; $Id$
name = Ping
description = Alerts other sites when your site has been updated.
package = Core - optional
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file poll-bar-block.tpl.php
<?php
-// $Id$
/**
* @file poll-bar.tpl.php
<?php
-// $Id$
/**
* @file poll-results-block.tpl.php
* Display the poll results in a block.
<?php
-// $Id$
/**
* @file poll-results-block.tpl.php
-/* $Id$ */
.poll .bar .foreground {
float: right;
<?php
-// $Id$
/**
* @file poll-vote.tpl.php
-/* $Id$ */
.poll .bar {
height: 1em;
-; $Id$
name = Poll
description = Allows your site to capture votes on different topics in the form of multiple choice questions.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file profile-block.tpl.php
<?php
-// $Id$
/**
* @file profile-listing.tpl.php
<?php
-// $Id$
/**
* @file profile-wrapper.tpl.php
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#profile-fields td.category {
font-weight: bold;
-; $Id$
name = Profile
description = Supports configurable user profiles.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
-// $Id$
/**
* Add functionality to the profile drag and drop table.
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file search-block-form.tpl.php
<?php
-// $Id$
/**
* @file search-result.tpl.php
<?php
-// $Id$
/**
* @file search-results.tpl.php
-/* $Id$ */
.search-advanced .criterion {
float: right;
<?php
-// $Id$
/**
* @file search-theme-form.tpl.php
<?php
-// $Id$
/**
* @file
-/* $Id$ */
.search-form {
margin-bottom: 1em;
-; $Id$
name = Search
description = Enables site-wide keyword searching.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-; $Id$
name = Statistics
description = Logs access statistics for your site.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-; $Id$
name = Syslog
description = Logs and records system events to syslog.
package = Core - optional
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-/* $Id$ */
div.admin-panel .body {
padding: 0 8px 2px 4px;
-/* $Id$ */
/*
** Formatting for administration page
<?php
-// $Id$
/**
* @file block.tpl.php
<?php
-// $Id$
/**
* @file box.tpl.php
-/* $Id$ */
th {
text-align: right;
-/* $Id$ */
/*
** HTML elements
<?php
-// $Id$
/**
* @file maintenance-page.tpl.php
-/* $Id$ */
/* Update styles */
#update-results {
<?php
-// $Id$
/**
* @file
-/* $Id$ */
ul.menu {
text-align:right;
-/* $Id$ */
ul.menu {
list-style: none;
-/* $Id$ */
thead th {
text-align: right;
<?php
-// $Id$
/**
* @file
-/* $Id$ */
/*
** HTML elements
-; $Id$
name = System
description = Handles general site configuration for administrators.
package = Core - required
<?php
-// $Id$
/**
* Test and report Drupal installation requirements.
-// $Id$
/**
* Internal function to check using Ajax if clean URLs can be enabled on the
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-/* $Id$ */
tr.taxonomy-term-preview {
background-color: #EEE;
-; $Id$
name = Taxonomy
description = Enables the categorization of content.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_schema().
-// $Id$
/**
* Move a block in the blocks table from one region to another via select list.
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-; $Id$
name = Throttle
description = Handles the auto-throttling mechanism, to control site congestion.
package = Core - optional
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#tracker td.replies {
text-align: center;
-; $Id$
name = Tracker
description = Enables tracking of recent posts for users.
dependencies[] = comment
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-; $Id$
name = Content translation
description = Allows content to be translated into different languages.
dependencies[] = locale
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
-; $Id$
name = Trigger
description = Enables actions to be fired on certain system events, such as when new content is created.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
-/* $Id$ */
.update .project {
padding-right: .25em;
<?php
-// $Id$
/**
* @file
-/* $Id$ */
.update .project {
font-weight: bold;
<?php
-// $Id$
/**
* @file
-; $Id$
name = Update status
description = Checks the status of available updates for Drupal and your installed modules and themes.
version = VERSION
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* Form API callback to validate the upload settings form.
-; $Id$
name = Upload
description = Allows users to upload and attach files to content.
package = Core - optional
<?php
-// $Id$
/**
* Implementation of hook_install().
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file user-picture.tpl.php
<?php
-// $Id$
/**
* @file user-profile-category.tpl.php
<?php
-// $Id$
/**
* @file user-profile-item.tpl.php
<?php
-// $Id$
/**
* @file user-profile.tpl.php
-/* $Id$ */
#permissions td.permission {
padding-left: 0;
<?php
-// $Id$
/**
* @file
-/* $Id$ */
#permissions td.module {
font-weight: bold;
-; $Id$
name = User
description = Manages the user registration and login system.
package = Core - required
<?php
-// $Id$
/**
* Implementation of hook_schema().
-// $Id$
/**
* Attach handlers to evaluate the strength of any password fields and to check
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* Return an array of the modules to be enabled when this profile is installed.
#!/bin/sh
-# $Id$
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
#!/usr/bin/perl -w
-# $Id$
use Pod::Usage;
use Getopt::Long qw(GetOptions);
#!/bin/sh
-# $Id$
curl --silent --compressed http://example.com/cron.php
#!/bin/sh
-# $Id$
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
#!/usr/bin/php
<?php
-// $Id$
/**
* Drupal shell execution script
-// $Id$
This directory should be used to place downloaded and custom modules
and themes which are common to all sites. This will allow you to
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
?>
<div class="block block-<?php print $block->module; ?>" id="block-<?php print $block->module; ?>-<?php print $block->delta; ?>">
<h2 class="title"><?php print $block->subject; ?></h2>
-; $Id$
name = Bluemarine
description = Table-based multi-column theme with a marine and ash color scheme.
version = VERSION
<?php
-// $Id$
?>
<div class="box">
<?php if ($title) { ?><h2 class="title"><?php print $title; ?></h2><?php } ?>
<?php
-// $Id$
?>
<div class="comment<?php print ' '. $status; ?>">
<?php if ($picture) {
<?php
-// $Id$
?>
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
<?php if ($picture) {
<?php
-// $Id$
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
-/* $Id$ */
body {
direction: rtl;
}
-/* $Id$ */
/*
** HTML elements
-; $Id$
name = Chameleon
description = Minimalist tabled theme with light colors.
regions[left] = Left sidebar
<?php
-// $Id$
/**
* @file
-/* $Id$ */
body {
direction: rtl;
-/* $Id$ */
/*
** HTML elements
-; $Id$
name = Marvin
description = Boxy tabled theme in all grays.
regions[left] = Left sidebar
-/* $Id$ */
body {
background-image: url(druplicon-watermark-rtl.png);
-/* $Id$ */
/*
** HTML elements
-/* $Id$ */
body {
padding: 5em 3em 0 0;
-/* $Id$ */
/*
** HTML elements
<?php
-// $Id$
?>
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="clear-block block block-<?php print $block->module ?>">
<?php
-// $Id$
$info = array(
-/* $Id$ */
/* Positioning */
#preview {
<?php
-// $Id$
?>
<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
-/* $Id$ */
body {
/* Center layout */
-/* $Id$ */
/**
* Garland, for Drupal 6.x
-; $Id$
name = Garland
description = Tableless, recolorable, multi-column, fluid width theme (default).
version = VERSION
<?php
-// $Id$
/**
* @file maintenance-page.tpl.php
<?php
-// $Id$
$info = array(
-/* $Id$ */
/**
* Minnelli, for Drupal 6.x
-; $Id$
name = Minnelli
description = Tableless, recolorable, multi-column, fixed width theme.
version = VERSION
<?php
-// $Id$
?>
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
<?php
-// $Id$
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
-/* $Id$ */
/**
* Garland, for Drupal 5.0
-/* $Id$ */
html {
direction: rtl;
-/* $Id$ */
/**
* Garland, for Drupal 6.x
<?php
-// $Id$
/**
* Sets the body-tag class attribute.
<?php
-// $Id$
?>
<div class="<?php print "block block-$block->module" ?>" id="<?php print "block-$block->module-$block->delta"; ?>">
<div class="title"><h3><?php print $block->subject ?></h3></div>
<?php
-// $Id$
?>
<div class="box">
<?php if ($title): ?>
<?php
-// $Id$
?>
<div class="comment<?php print ' '. $status; ?>">
<?php if ($picture) : ?>
<?php
-// $Id$
?>
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
<?php print $picture ?>
<?php
-// $Id$
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
-; $Id$
name = Pushbutton
description = Tabled, multi-column theme in blue and orange tones.
version = VERSION
-/* $Id$ */
body {
direction: rtl;
-/* $Id$ */
/*
** HTML elements
<?php
-// $Id$
/**
* @file
<?php
-// $Id$
/**
* @file