Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Websites
/
SlimSpots Wiki
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 991423b2
authored
2015-01-28 16:25:44 +0000
by
Aleksandar Hristov
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.tpl files go to a separate directory
1 parent
e99567ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
41 deletions
html/footer.tpl
html/footer.tpl
deleted
100644 → 0
View file @
e99567a
<!-- Bootstrap Core JavaScript -->
<script
src=
"static/bootstrap/js/bootstrap.min.js"
></script>
<!-- Update time JavaScript -->
<script
src=
"static/js/main.js"
></script>
<script
src=
"static/js/updatetime.js"
></script>
<script>
var
ToC
=
"<nav role='navigation' class='table-of-contents'>"
+
"<b><?php echo $page_title; ?></b>"
+
"<ul>"
;
var
newLine
,
el
,
title
,
link
;
$
(
"article h3"
).
each
(
function
()
{
el
=
$
(
this
);
title
=
el
.
text
();
link
=
"#"
+
el
.
attr
(
"id"
);
newLine
=
"<li>"
+
"<a href='"
+
link
+
"'>"
+
title
+
"</a>"
+
"</li>"
;
ToC
+=
newLine
;
});
ToC
+=
"</ul>"
+
"</nav>"
;
$
(
".all-chapters"
).
prepend
(
ToC
);
</script>
</body>
</html>
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment