Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
fe2b95b4
Commit
fe2b95b4
authored
Feb 17, 2014
by
Scott Vivian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert body_script() placement; add control braces
parent
968ea5cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
qa-theme-base.php
qa-include/qa-theme-base.php
+6
-3
No files found.
qa-include/qa-theme-base.php
View file @
fe2b95b4
...
...
@@ -259,11 +259,14 @@
if
(
isset
(
$this
->
content
[
'feed'
][
'url'
]))
$this
->
output
(
'<link rel="alternate" type="application/rss+xml" href="'
.
$this
->
content
[
'feed'
][
'url'
]
.
'" title="'
.@
$this
->
content
[
'feed'
][
'label'
]
.
'"/>'
);
if
(
isset
(
$this
->
content
[
'page_links'
][
'items'
]))
// convert page links to rel=prev and rel=next tags
foreach
(
$this
->
content
[
'page_links'
][
'items'
]
as
$page_link
)
// convert page links to rel=prev and rel=next tags
if
(
isset
(
$this
->
content
[
'page_links'
][
'items'
]))
{
foreach
(
$this
->
content
[
'page_links'
][
'items'
]
as
$page_link
)
{
if
(
in_array
(
$page_link
[
'type'
],
array
(
'prev'
,
'next'
)))
$this
->
output
(
'<link rel="'
.
$page_link
[
'type'
]
.
'" href="'
.
$page_link
[
'url'
]
.
'" />'
);
}
}
}
function
head_script
()
{
...
...
@@ -311,11 +314,11 @@
$this
->
body_tags
();
$this
->
output
(
'>'
);
$this
->
body_script
();
$this
->
body_header
();
$this
->
body_content
();
$this
->
body_footer
();
$this
->
body_hidden
();
$this
->
body_script
();
$this
->
output
(
'</body>'
);
}
...
...
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