Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advanced_help
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
advanced_help
Commits
6c295dbb
Commit
6c295dbb
authored
Apr 19, 2008
by
Earl Miles
Browse files
Options
Downloads
Patches
Plain Diff
A couple more minor adjustments
parent
4a5bb1b7
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
advanced_help.module
+3
-3
3 additions, 3 deletions
advanced_help.module
help-icon.css
+2
-0
2 additions, 0 deletions
help-icon.css
help.css
+2
-118
2 additions, 118 deletions
help.css
with
7 additions
and
121 deletions
advanced_help.module
+
3
−
3
View file @
6c295dbb
...
...
@@ -209,7 +209,6 @@ function advanced_help_index_page($module = '') {
$breadcrumb
=
array_merge
(
drupal_get_breadcrumb
(),
array_reverse
(
$breadcrumb
));
drupal_set_breadcrumb
(
$breadcrumb
);
$output
.
=
t
(
'This is a demo link to the popup: '
)
.
theme
(
'advanced_help_topic'
,
'advanced_help'
,
'using-advanced-help'
);
return
$output
;
}
...
...
@@ -362,6 +361,7 @@ function advanced_help_topic_page($module, $topic) {
return
;
}
drupal_add_css
(
drupal_get_path
(
'module'
,
'advanced_help'
)
.
'/help.css'
);
$breadcrumb
[]
=
l
(
'Home'
,
''
);
drupal_set_breadcrumb
(
array_reverse
(
$breadcrumb
));
return
$output
;
...
...
@@ -456,7 +456,7 @@ function advanced_help_view_topic($module, $topic, $popup = FALSE) {
$output
=
preg_replace
(
'/href="path:([^"]+)"/'
,
'href="/'
.
$info
[
'path'
]
.
'/$1"'
,
$output
);
$output
=
preg_replace
(
'/src="path:([^"]+)"/'
,
'src="/'
.
$info
[
'path'
]
.
'/$1"'
,
$output
);
return
$output
;
return
'<div class="advanced-help-topic">'
.
$output
.
'</div>'
;
}
}
...
...
@@ -646,7 +646,7 @@ function template_preprocess_advanced_help_popup(&$variables) {
}
}
drupal_add_css
(
drupal_get_path
(
'module'
,
'advanced_help'
)
.
'/help.css'
);
drupal_add_css
(
drupal_get_path
(
'module'
,
'advanced_help'
)
.
'/help
-popup
.css'
);
$variables
[
'head_title'
]
=
implode
(
' | '
,
$head_title
);
$variables
[
'base_path'
]
=
base_path
();
...
...
This diff is collapsed.
Click to expand it.
help-icon.css
+
2
−
0
View file @
6c295dbb
/* $Id$ */
.advanced-help-link
{
width
:
16px
;
height
:
16px
;
...
...
This diff is collapsed.
Click to expand it.
help.css
+
2
−
118
View file @
6c295dbb
/* $Id */
/* $Id
$
*/
body
{
margin
:
0
;
padding
:
0
;
background
:
#edf5fa
;
font
:
12px
/
170%
Verdana
,
sans-serif
;
color
:
#494949
;
}
input
{
font
:
12px
/
100%
Verdana
,
sans-serif
;
color
:
#494949
;
}
textarea
,
select
{
font
:
12px
/
160%
Verdana
,
sans-serif
;
color
:
#494949
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
margin
:
0
;
padding
:
0
;
font-weight
:
normal
;
font-family
:
Helvetica
,
Arial
,
sans-serif
;
}
h1
{
font-size
:
170%
;
}
h2
{
font-size
:
160%
;
line-height
:
130%
;
}
h3
{
font-size
:
140%
;
}
h4
{
font-size
:
130%
;
}
h5
{
font-size
:
120%
;
}
h6
{
font-size
:
110%
;
}
ul
,
quote
,
code
,
fieldset
{
margin
:
.5em
0
;
}
p
{
margin
:
0.6em
0
1.2em
;
padding
:
0
;
}
a
:link
,
a
:visited
{
color
:
#027AC6
;
text-decoration
:
none
;
}
a
:hover
{
color
:
#0062A0
;
text-decoration
:
underline
;
}
a
:active
,
a
.active
{
color
:
#5895be
;
}
hr
{
margin
:
0
;
padding
:
0
;
border
:
none
;
height
:
1px
;
background
:
#5294c1
;
}
ul
{
margin
:
0.5em
0
1em
;
padding
:
0
;
}
ol
{
margin
:
0.75em
0
1.25em
;
padding
:
0
;
}
ol
li
,
ul
li
{
margin
:
0.4em
0
0.4em
.5em
;
/* LTR */
}
#content
{
margin
:
.5em
1em
1em
1em
;
}
#content
#page-title
{
padding-bottom
:
.5em
;
}
div
#breadcrumb
{
padding-left
:
1em
;
background-color
:
white
;
border-bottom
:
1px
solid
#ccc
;
height
:
2em
;
}
div
#breadcrumb
.breadcrumb
{
padding
:
0
;
margin
:
0
;
}
code
,
pre
{
.advanced-help-topic
code
,
.advanced-help-topic
pre
{
border
:
1px
solid
#444
;
background
:
#f1f1f1
;
margin
:
1em
;
...
...
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