summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-16 19:12:13 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-12-16 19:12:13 +1100
commit466d5e4832d68f6e3a88957db1b0997d12550711 (patch)
tree71c87949ebd18109c87aab133b6b7afd109def16
parentf45d3fdb32a932a7202c1e68331b442ae23d1a63 (diff)
"Return to dashboard" links
-rw-r--r--templates/index.html3
-rw-r--r--templates/page.html3
-rw-r--r--templates/thread.html1
3 files changed, 4 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 048a3dd9..7aaf72e0 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -10,7 +10,8 @@
</head>
<body>
<h1>{board[url]} - {board[name]}</h1>
- <div class="title">{board[title]?{board[title]}}</div>
+ <div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
+
<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">
<input type="hidden" name="board" value="{board[uri]}" />
diff --git a/templates/page.html b/templates/page.html
index 487f8f28..9e243b75 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -8,8 +8,7 @@
</head>
<body>
<h1>{title}</h1>
- <div class="title">{subtitle?{subtitle}}</div>
- {mod?<a href="?/" style="text-align:center;display:block;">Return to dashboard</a>}
+ <div class="title">{subtitle?{subtitle}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
{body}
<hr/>
<p class="unimportant" style="text-align:center;">Copyright &copy; 2010 <a href="http://omegadev.org/">OmegaSDG</a></p>
diff --git a/templates/thread.html b/templates/thread.html
index f0f271b7..a56a3ad7 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -11,6 +11,7 @@
<body>
<h1>{board[url]} - {board[name]}</h1>
<div class="title">{board[title]?{board[title]}}</div>
+ {mod?<a href="?/" style="text-align:center;display:block;">Return to dashboard</a>}
<div class="banner">Posting mode: Reply <a class="unimportant" href="{index}{board[dir]}">[Return.]</a></div>
<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">