Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
advanced_help
Commits
49e2bbd9
Commit
49e2bbd9
authored
Mar 26, 2015
by
geerlingguy
Committed by
gisle
Mar 26, 2015
Browse files
Issue
#1901746
by fietserwin, geerlingguy: Allowed more space for the up text
parent
498537ab
Changes
4
Hide whitespace changes
Inline
Side-by-side
advanced_help.module
View file @
49e2bbd9
...
...
@@ -714,13 +714,13 @@ function advanced_help_view_topic($module, $topic, $popup = FALSE) {
$navigation
=
'<div class="help-navigation clear-block">'
;
if
(
$prev
)
{
$navigation
.
=
advanced_help_l
(
'
<<
'
.
$topics
[
$prev
[
0
]][
$prev
[
1
]][
'title'
],
"help/
$prev[0]/$prev[1]
"
,
array
(
'attributes'
=>
array
(
'class'
=>
'help-left'
)));
$navigation
.
=
advanced_help_l
(
'
««
'
.
$topics
[
$prev
[
0
]][
$prev
[
1
]][
'title'
],
"help/
$prev[0]/$prev[1]
"
,
array
(
'attributes'
=>
array
(
'class'
=>
'help-left'
)));
}
if
(
$up
)
{
$navigation
.
=
advanced_help_l
(
t
(
'Up'
),
$up
,
array
(
'attributes'
=>
array
(
'class'
=>
$prev
?
'help-up'
:
'help-up-noleft'
)));
}
if
(
$next
)
{
$navigation
.
=
advanced_help_l
(
$topics
[
$next
[
0
]][
$next
[
1
]][
'title'
]
.
'
>>
'
,
"help/
$next[0]/$next[1]
"
,
array
(
'attributes'
=>
array
(
'class'
=>
'help-right'
)));
$navigation
.
=
advanced_help_l
(
$topics
[
$next
[
0
]][
$next
[
1
]][
'title'
]
.
'
»»
'
,
"help/
$next[0]/$next[1]
"
,
array
(
'attributes'
=>
array
(
'class'
=>
'help-right'
)));
}
$navigation
.
=
'</div>'
;
...
...
help-icon.css
View file @
49e2bbd9
...
...
@@ -3,6 +3,7 @@
background
:
transparent
url('help.png')
no-repeat
top
left
;
background-position
:
0px
0px
;
display
:
block
;
//
display
:
inline-block
;
float
:
left
;
/* this is cheesy, I know */
height
:
12px
;
margin-top
:
2px
;
...
...
help.css
View file @
49e2bbd9
...
...
@@ -38,7 +38,8 @@
display
:
block
;
float
:
left
;
/* LTR */
margin
:
0
5%
;
width
:
4%
;
text-align
:
center
;
width
:
10%
;
}
.help-up-noleft
{
...
...
help_example/help_example.module
View file @
49e2bbd9
...
...
@@ -22,6 +22,7 @@ function help_example_menu() {
* Topic index callback.
*/
function
help_example_index_page
()
{
//$output = 'The icon: ';
$output
=
theme
(
'advanced_help_topic'
,
array
(
'module'
=>
'help_example'
,
'topic'
=>
'about-php'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment