Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
8c538bd6
Commit
8c538bd6
authored
13 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#1261926
by droplet: remove duplicated CSS.
parent
d577495f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/system/system.admin.inc
+8
-7
8 additions, 7 deletions
modules/system/system.admin.inc
themes/bartik/css/style.css
+0
-4
0 additions, 4 deletions
themes/bartik/css/style.css
with
8 additions
and
11 deletions
modules/system/system.admin.inc
+
8
−
7
View file @
8c538bd6
...
...
@@ -1475,12 +1475,6 @@ function system_site_information_settings() {
'#type'
=>
'fieldset'
,
'#title'
=>
t
(
'Front page'
),
);
$form
[
'front_page'
][
'default_nodes_main'
]
=
array
(
'#type'
=>
'select'
,
'#title'
=>
t
(
'Number of posts on front page'
),
'#default_value'
=>
variable_get
(
'default_nodes_main'
,
10
),
'#options'
=>
drupal_map_assoc
(
array
(
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
15
,
20
,
25
,
30
)),
'#description'
=>
t
(
'The maximum number of posts displayed on overview pages such as the front page.'
)
);
$form
[
'front_page'
][
'site_frontpage'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'Default front page'
),
...
...
@@ -1489,6 +1483,13 @@ function system_site_information_settings() {
'#description'
=>
t
(
'Optionally, specify a relative URL to display as the front page. Leave blank to display the default content feed.'
),
'#field_prefix'
=>
url
(
NULL
,
array
(
'absolute'
=>
TRUE
))
.
(
variable_get
(
'clean_url'
,
0
)
?
''
:
'?q='
),
);
$form
[
'front_page'
][
'default_nodes_main'
]
=
array
(
'#type'
=>
'select'
,
'#title'
=>
t
(
'Number of posts on front page'
),
'#default_value'
=>
variable_get
(
'default_nodes_main'
,
10
),
'#options'
=>
drupal_map_assoc
(
array
(
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
15
,
20
,
25
,
30
)),
'#description'
=>
t
(
'The maximum number of posts displayed on overview pages such as the front page.'
),
'#access'
=>
(
variable_get
(
'site_frontpage'
)
==
'node'
),
);
$form
[
'error_page'
]
=
array
(
'#type'
=>
'fieldset'
,
'#title'
=>
t
(
'Error pages'
),
...
...
@@ -3130,4 +3131,4 @@ function system_action_delete_orphans_post($orphaned) {
function
system_actions_remove_orphans
()
{
actions_synchronize
(
TRUE
);
drupal_goto
(
'admin/config/system/actions/manage'
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
themes/bartik/css/style.css
+
0
−
4
View file @
8c538bd6
...
...
@@ -459,10 +459,6 @@ h1#site-name {
#main-menu
{
clear
:
both
;
}
#main-menu-links
a
{
color
:
#d9d9d9
;
padding
:
0.6em
1em
0.4em
;
}
#main-menu-links
{
font-size
:
0.929em
;
margin
:
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment