Initial code using Drupal 6.38

This commit is contained in:
Manuel Cillero 2017-07-24 15:21:05 +02:00
commit 4824608a33
467 changed files with 90887 additions and 0 deletions

View file

@ -0,0 +1,36 @@
div.admin-panel .body {
padding: 0 8px 2px 4px;
}
div.admin .expert-link {
text-align: left;
margin-right: 0;
margin-left: 1em;
padding-right: 0;
padding-left: 4px;
}
table.system-status-report th, table.system-status-report tr.merge-up td {
padding-right: 30px;
}
table.system-status-report th {
background-position: 95% 50%;
}
table.screenshot {
margin-left: 1em;
}
.date-container {
clear: right;
}
.date-container .select-container, .date-container .custom-container {
float: right;
}
.date-container .custom-container {
margin-left: 0;
margin-right: 15px;
}

136
modules/system/admin.css Normal file
View file

@ -0,0 +1,136 @@
/*
** Formatting for administration page
*/
div.admin-panel {
margin: 0;
padding: 5px 5px 15px 5px;
}
div.admin-panel .description {
margin: 0 0 3px;
padding: 2px 0 3px 0;
}
div.admin-panel .body {
padding: 0 4px 2px 8px; /* LTR */
}
div.admin {
padding-top: 15px;
}
div.admin .left {
float: left;
width: 47%;
margin-left: 1em;
}
div.admin .right {
float: right;
width: 47%;
margin-right: 1em;
}
div.admin .expert-link {
text-align: right; /* LTR */
margin-right: 1em; /* LTR */
padding-right: 4px; /* LTR */
}
table.package {
width: 100%;
}
table.package .description {
width: 100%;
}
table.package .version {
direction: ltr;
}
div.admin-dependencies, div.admin-required {
font-size: 0.9em;
color: #444;
}
span.admin-disabled {
color: #800;
}
span.admin-enabled {
color: #080;
}
span.admin-missing {
color: #f00;
}
/**
* Formatting for status report
*/
table.system-status-report th {
border-bottom: 1px solid #ccc;
}
table.system-status-report th, table.system-status-report tr.merge-up td {
padding-left: 30px; /* LTR */
}
table.system-status-report th {
background-repeat: no-repeat;
background-position: 5px 50%; /* LTR */
padding-top: 6px;
padding-bottom: 6px;
}
table.system-status-report tr.error th {
background-image: url(../../misc/watchdog-error.png);
}
table.system-status-report tr.warning th {
background-image: url(../../misc/watchdog-warning.png);
}
table.system-status-report tr.ok th {
background-image: url(../../misc/watchdog-ok.png);
}
/**
* Formatting for theme configuration
*/
.theme-settings-left {
float: left;
width: 49%;
}
.theme-settings-right {
float: right;
width: 49%;
}
.theme-settings-bottom {
clear: both;
}
/**
* Formatting for theme overview
*/
table.screenshot {
margin-right: 1em; /* LTR */
}
.theme-info h2 {
margin-bottom: 0;
}
.theme-info p {
margin-top: 0;
}
/**
* Date and time settings page
*/
.date-container {
overflow: auto;
clear: left; /* LTR */
}
.date-container .form-item {
margin-top: 0;
}
.date-container .select-container, .date-container .custom-container {
float: left; /* LTR */
}
.date-container .custom-container {
margin-left: 15px; /* LTR */
width: 50%;
}
html.js .custom-container label {
visibility: hidden;
}

View file

@ -0,0 +1,36 @@
<?php
/**
* @file block.tpl.php
*
* Theme implementation to display a block.
*
* Available variables:
* - $block->subject: Block title.
* - $block->content: Block content.
* - $block->module: Module that generated the block.
* - $block->delta: This is a numeric id connected to each module.
* - $block->region: The block region embedding the current block.
*
* Helper variables:
* - $block_zebra: Outputs 'odd' and 'even' dependent on each block region.
* - $zebra: Same output as $block_zebra but independent of any block region.
* - $block_id: Counter dependent on each block region.
* - $id: Same output as $block_id but independent of any block region.
* - $is_front: Flags true when presented in the front page.
* - $logged_in: Flags true when the current user is a logged-in member.
* - $is_admin: Flags true when the current user is an administrator.
*
* @see template_preprocess()
* @see template_preprocess_block()
*/
?>
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>">
<?php if ($block->subject): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<div class="content">
<?php print $block->content ?>
</div>
</div>

View file

@ -0,0 +1,22 @@
<?php
/**
* @file box.tpl.php
*
* Theme implementation to display a box.
*
* Available variables:
* - $title: Box title.
* - $content: Box content.
*
* @see template_preprocess()
*/
?>
<div class="box">
<?php if ($title): ?>
<h2><?php print $title ?></h2>
<?php endif; ?>
<div class="content"><?php print $content ?></div>
</div>

View file

@ -0,0 +1,6 @@
th {
text-align: right;
padding-right: 0;
padding-left: 1em;
}

View file

@ -0,0 +1,52 @@
/*
** HTML elements
*/
fieldset {
margin-bottom: 1em;
padding: .5em;
}
form {
margin: 0;
padding: 0;
}
hr {
height: 1px;
border: 1px solid gray;
}
img {
border: 0;
}
table {
border-collapse: collapse;
}
th {
text-align: left; /* LTR */
padding-right: 1em; /* LTR */
border-bottom: 3px solid #ccc;
}
/*
** Markup free clearing
** Details: http://www.positioniseverything.net/easyclearing.html
*/
.clear-block:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clear-block {
display: inline-block;
}
/* Hides from IE-mac \*/
* html .clear-block {
height: 1%;
}
.clear-block {
display: block;
}
/* End hide from IE-mac */

View file

@ -0,0 +1,97 @@
<?php
/**
* @file maintenance-page.tpl.php
*
* Theme implementation to display a single Drupal page while off-line.
*
* All the available variables are mirrored in page.tpl.php. Some may be left
* blank but they are provided for consistency.
*
*
* @see template_preprocess()
* @see template_preprocess_maintenance_page()
*/
?>
<!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 ?>">
<head>
<?php print $head; ?>
<title><?php print $head_title; ?></title>
<?php print $styles; ?>
<?php print $scripts; ?>
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?> </script>
</head>
<body class="<?php print $body_classes; ?>">
<div id="page">
<div id="header">
<div id="logo-title">
<?php if (!empty($logo)): ?>
<a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
<img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
</a>
<?php endif; ?>
<div id="name-and-slogan">
<?php if (!empty($site_name)): ?>
<h1 id="site-name">
<a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
</h1>
<?php endif; ?>
<?php if (!empty($site_slogan)): ?>
<div id="site-slogan"><?php print $site_slogan; ?></div>
<?php endif; ?>
</div> <!-- /name-and-slogan -->
</div> <!-- /logo-title -->
<?php if (!empty($header)): ?>
<div id="header-region">
<?php print $header; ?>
</div>
<?php endif; ?>
</div> <!-- /header -->
<div id="container" class="clear-block">
<?php if (!empty($left)): ?>
<div id="sidebar-left" class="column sidebar">
<?php print $left; ?>
</div> <!-- /sidebar-left -->
<?php endif; ?>
<div id="main" class="column"><div id="main-squeeze">
<div id="content">
<?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
<?php if (!empty($messages)): print $messages; endif; ?>
<div id="content-content" class="clear-block">
<?php print $content; ?>
</div> <!-- /content-content -->
</div> <!-- /content -->
</div></div> <!-- /main-squeeze /main -->
<?php if (!empty($right)): ?>
<div id="sidebar-right" class="column sidebar">
<?php print $right; ?>
</div> <!-- /sidebar-right -->
<?php endif; ?>
</div> <!-- /container -->
<div id="footer-wrapper">
<div id="footer">
<?php print $footer_message; ?>
<?php if (!empty($footer)): print $footer; endif; ?>
</div> <!-- /footer -->
</div> <!-- /footer-wrapper -->
</div> <!-- /page -->
</body>
</html>

View file

@ -0,0 +1,22 @@
/* Update styles */
#update-results {
margin-top: 3em;
padding: 0.25em;
border: 1px solid #ccc;
background: #eee;
font-size: smaller;
}
#update-results h2 {
margin-top: 0.25em;
}
#update-results h4 {
margin-bottom: 0.25em;
}
#update-results li.none {
color: #888;
font-style: italic;
}
#update-results li.failure strong {
color: #b63300;
}

188
modules/system/page.tpl.php Normal file
View file

@ -0,0 +1,188 @@
<?php
/**
* @file
* Displays a single Drupal page.
*
* Available variables:
*
* General utility variables:
* - $base_path: The base URL path of the Drupal installation. At the very
* least, this will always default to /.
* - $css: An array of CSS files for the current page.
* - $directory: The directory the theme is located in, e.g. themes/garland or
* themes/garland/minelli.
* - $is_front: TRUE if the current page is the front page.
* - $logged_in: TRUE if the user is registered and signed in.
* - $is_admin: TRUE if the user has permission to access administration pages.
*
* Page metadata:
* - $language: (object) The language the site is being displayed in.
* $language->language contains its textual representation.
* $language->dir contains the language direction. It will either be 'ltr' or
* 'rtl'.
* - $head_title: A modified version of the page title, for use in the TITLE
* element.
* - $head: Markup for the HEAD element (including meta tags, keyword tags, and
* so on).
* - $styles: Style tags necessary to import all CSS files for the page.
* - $scripts: Script tags necessary to load the JavaScript files and settings
* for the page.
* - $body_classes: A set of CSS classes for the BODY tag. This contains flags
* indicating the current layout (multiple columns, single column), the
* current path, whether the user is logged in, and so on.
*
* Site identity:
* - $front_page: The URL of the front page. Use this instead of $base_path,
* when linking to the front page. This includes the language domain or
* prefix.
* - $logo: The path to the logo image, as defined in theme configuration.
* - $site_name: The name of the site, empty when display has been disabled in
* theme settings.
* - $site_slogan: The slogan of the site, empty when display has been disabled
* in theme settings.
* - $mission: The text of the site mission, empty when display has been
* disabled in theme settings.
*
* Navigation:
* - $search_box: HTML to display the search box, empty if search has been
* disabled.
* - $primary_links (array): An array containing primary navigation links for
* the site, if they have been configured.
* - $secondary_links (array): An array containing secondary navigation links
* for the site, if they have been configured.
*
* Page content (in order of occurrence in the default page.tpl.php):
* - $left: The HTML for the left sidebar.
* - $breadcrumb: The breadcrumb trail for the current page.
* - $title: The page title, for use in the actual HTML content.
* - $help: Dynamic help text, mostly for admin pages.
* - $messages: HTML for status and error messages. Should be displayed
* prominently.
* - $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the
* view and edit tabs when displaying a node).
* - $content: The main content of the current Drupal page.
* - $right: The HTML for the right sidebar.
* - $node: The node object, if there is an automatically-loaded node associated
* with the page, and the node ID is the second argument in the page's path
* (e.g. node/12345 and node/12345/revisions, but not comment/reply/12345).
*
* Footer/closing data:
* - $feed_icons: A string of all feed icons for the current page.
* - $footer_message: The footer message as defined in the admin settings.
* - $footer : The footer region.
* - $closure: Final closing markup from any modules that have altered the page.
* This variable should always be output last, after all other dynamic
* content.
*
* @see template_preprocess()
* @see template_preprocess_page()
*/
?>
<!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 ?>">
<head>
<?php print $head; ?>
<title><?php print $head_title; ?></title>
<?php print $styles; ?>
<?php print $scripts; ?>
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?> </script>
</head>
<body class="<?php print $body_classes; ?>">
<div id="page">
<div id="header">
<div id="logo-title">
<?php if (!empty($logo)): ?>
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
<img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
</a>
<?php endif; ?>
<div id="name-and-slogan">
<?php if (!empty($site_name)): ?>
<h1 id="site-name">
<a href="<?php print $front_page ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
</h1>
<?php endif; ?>
<?php if (!empty($site_slogan)): ?>
<div id="site-slogan"><?php print $site_slogan; ?></div>
<?php endif; ?>
</div> <!-- /name-and-slogan -->
</div> <!-- /logo-title -->
<?php if (!empty($search_box)): ?>
<div id="search-box"><?php print $search_box; ?></div>
<?php endif; ?>
<?php if (!empty($header)): ?>
<div id="header-region">
<?php print $header; ?>
</div>
<?php endif; ?>
</div> <!-- /header -->
<div id="container" class="clear-block">
<div id="navigation" class="menu <?php if (!empty($primary_links)) { print "withprimary"; } if (!empty($secondary_links)) { print " withsecondary"; } ?> ">
<?php if (!empty($primary_links)): ?>
<div id="primary" class="clear-block">
<?php print theme('links', $primary_links, array('class' => 'links primary-links')); ?>
</div>
<?php endif; ?>
<?php if (!empty($secondary_links)): ?>
<div id="secondary" class="clear-block">
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')); ?>
</div>
<?php endif; ?>
</div> <!-- /navigation -->
<?php if (!empty($left)): ?>
<div id="sidebar-left" class="column sidebar">
<?php print $left; ?>
</div> <!-- /sidebar-left -->
<?php endif; ?>
<div id="main" class="column"><div id="main-squeeze">
<?php if (!empty($breadcrumb)): ?><div id="breadcrumb"><?php print $breadcrumb; ?></div><?php endif; ?>
<?php if (!empty($mission)): ?><div id="mission"><?php print $mission; ?></div><?php endif; ?>
<div id="content">
<?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
<?php if (!empty($tabs)): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?>
<?php if (!empty($messages)): print $messages; endif; ?>
<?php if (!empty($help)): print $help; endif; ?>
<div id="content-content" class="clear-block">
<?php print $content; ?>
</div> <!-- /content-content -->
<?php print $feed_icons; ?>
</div> <!-- /content -->
</div></div> <!-- /main-squeeze /main -->
<?php if (!empty($right)): ?>
<div id="sidebar-right" class="column sidebar">
<?php print $right; ?>
</div> <!-- /sidebar-right -->
<?php endif; ?>
</div> <!-- /container -->
<div id="footer-wrapper">
<div id="footer">
<?php print $footer_message; ?>
<?php if (!empty($footer)): print $footer; endif; ?>
</div> <!-- /footer -->
</div> <!-- /footer-wrapper -->
<?php print $closure; ?>
</div> <!-- /page -->
</body>
</html>

View file

@ -0,0 +1,17 @@
ul.menu {
text-align:right;
}
ul.menu li {
margin: 0 0.5em 0 0;
}
li.expanded {
padding: 0.2em 0 0 0.5em;
}
li.collapsed {
list-style-image: url(../../misc/menu-collapsed-rtl.png);
padding: 0.2em 0 0 0.5em;
}
li.leaf {
padding: 0.2em 0 0 0.5em;
}

View file

@ -0,0 +1,49 @@
ul.menu {
list-style: none;
border: none;
text-align:left; /* LTR */
}
ul.menu li {
margin: 0 0 0 0.5em; /* LTR */
}
li.expanded {
list-style-type: circle;
list-style-image: url(../../misc/menu-expanded.png);
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
}
li.collapsed {
list-style-type: disc;
list-style-image: url(../../misc/menu-collapsed.png); /* LTR */
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
}
li.leaf {
list-style-type: square;
list-style-image: url(../../misc/menu-leaf.png);
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
}
li a.active {
color: #000;
}
td.menu-disabled {
background: #ccc;
}
ul.links {
margin: 0;
padding: 0;
}
ul.links.inline {
display: inline;
}
ul.links li {
display: inline;
list-style-type: none;
padding: 0 0.5em;
}
.block ul {
margin: 0;
padding: 0 0 0.25em 1em; /* LTR */
}

View file

@ -0,0 +1,106 @@
thead th {
text-align: right;
padding-left: 1em;
padding-right: 0.5em;
}
.item-list .icon {
float: left;
padding-left: 0;
padding-right: 0.25em;
clear: left;
}
.item-list ul li {
margin: 0 1.5em 0.25em 0;
}
.more-link {
text-align: left;
}
.more-help-link {
text-align: left;
}
dl.multiselect dt, dl.multiselect dd {
float: right;
margin: 0 0 0 1em;
}
.block ul {
padding: 0 1em 0.25em 0;
}
ul.primary {
padding: 0 1em 0 0;
}
ul.primary li a {
margin-right: 5px;
margin-left: 0.5em;
}
ul.secondary li {
display: inline;
padding: 0 1em;
border-right: none;
border-left: 1px solid #ccc;
}
html.js input.form-autocomplete {
background-position: 0% 2px;
}
html.js input.throbbing {
background-position: 0% -18px;
}
html.js fieldset.collapsible legend a {
padding-left: 0;
padding-right: 15px;
background-position: 98% 75%;
}
html.js fieldset.collapsed legend a {
background-image: url(../../misc/menu-collapsed-rtl.png);
background-position: 98% 50%;
}
div.teaser-button-wrapper {
float: left;
padding-right: 0;
padding-left: 5%;
}
.teaser-checkbox div.form-item {
float: left;
margin: 0 0 0 5%;
}
.progress .percentage {
float: left;
}
.progess-disabled {
float: right;
}
.ahah-progress {
float: right;
}
.ahah-progress .throbber {
float: right;
}
input.password-field {
margin-left: 10px;
margin-right: 0;
}
input.password-confirm {
margin-left: 10px;
margin-right: 0;
}
.draggable a.tabledrag-handle {
float: right;
margin: -0.4em -0.5em -0.4em 0;
padding: 0.42em 0.5em 0.42em 1.5em;
}
div.indentation {
margin: -0.4em -0.4em -0.4em 0.2em;
padding: 0.42em 0.6em 0.42em 0;
float: right;
}
div.tree-child, div.tree-child-last {
background-position: -65px center;
}

File diff suppressed because it is too large Load diff

543
modules/system/system.css Normal file
View file

@ -0,0 +1,543 @@
/*
** 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: 10em;
}
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;
}

View file

@ -0,0 +1,11 @@
name = System
description = Handles general site configuration for administrators.
package = Core - required
version = VERSION
core = 6.x
; Information added by Drupal.org packaging script on 2016-02-24
version = "6.38"
project = "drupal"
datestamp = "1456343372"

File diff suppressed because it is too large Load diff

112
modules/system/system.js Normal file
View file

@ -0,0 +1,112 @@
/**
* 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('<div id="testing">'+ Drupal.t('Testing clean URLs...') +"</div>");
$("#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('<div class="ok">'+ Drupal.t('Your server has been successfully tested to support this feature.') +"</div>");
$("#testing").hide();
},
error: function() {
// Check failed.
$("#clean-url .description span").append('<div class="warning">'+ Drupal.t('Your system configuration does not currently support this feature. The <a href="http://drupal.org/node/15365">handbook page on Clean URLs</a> has additional troubleshooting information.') +"</div>");
$("#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('<span><div id="testing">'+ Drupal.settings.cleanURL.testing +"</div></span>");
$("#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('<div class="ok">'+ Drupal.settings.cleanURL.success +"</div>");
$("#testing").hide();
},
error: function() {
// Check failed.
$("#clean-url .description span").append('<div class="warning">'+ Drupal.settings.cleanURL.failure +"</div>");
$("#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(/\?/) ? "&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');
};

1975
modules/system/system.module Normal file

File diff suppressed because it is too large Load diff