Skip to content

Commit 07f36c7

Browse files
author
Marcin Kurczewski
committed
Added versioning; changed repo name
1 parent 230f555 commit 07f36c7

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

public_html/media/css/core.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ footer {
129129
}
130130
footer span:not(:last-child):after {
131131
content: '\022C5';
132-
margin: 0 0.2em;
132+
margin: 0 0.5em;
133+
}
134+
footer a {
135+
color: silver;
133136
}
134137

135138

src/Views/index-index.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<p>
99
<span>serving <?php echo $this->context->transport->postCount ?> posts</span>
10-
<span>powered by <a href="http://github.com/rr-/booru">szurubooru</a></span>
10+
<span>powered by <a href="<?php echo SZURU_LINK ?>">szurubooru</a></span>
1111
</p>
1212
</div>
1313

src/Views/layout-normal.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
<?php if ($this->config->main->debugQueries): ?>
105105
<pre class="debug"><?php echo join('<br>', array_map(function($x) { return preg_replace('/\s+/', ' ', $x); }, queryLogger()->getLogs())) ?></pre>
106106
<?php endif ?>
107+
<span><a href="<?php echo SZURU_LINK ?>">szurubooru v<?php echo SZURU_VERSION ?></a></span>
107108
</div>
108109
</footer>
109110
</body>

src/core.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?php
2+
define('SZURU_VERSION', '0.1.0');
3+
define('SZURU_LINK', 'http://github.com/rr-/szurubooru');
4+
25
function trueStartTime()
36
{
47
static $time = null;

0 commit comments

Comments
 (0)