Added versioning; changed repo name

This commit is contained in:
Marcin Kurczewski 2013-10-20 11:12:56 +02:00
parent 230f555da9
commit 07f36c710a
4 changed files with 9 additions and 2 deletions

View file

@ -129,7 +129,10 @@ footer {
} }
footer span:not(:last-child):after { footer span:not(:last-child):after {
content: '\022C5'; content: '\022C5';
margin: 0 0.2em; margin: 0 0.5em;
}
footer a {
color: silver;
} }

View file

@ -7,7 +7,7 @@
<p> <p>
<span>serving <?php echo $this->context->transport->postCount ?> posts</span> <span>serving <?php echo $this->context->transport->postCount ?> posts</span>
<span>powered by <a href="http://github.com/rr-/booru">szurubooru</a></span> <span>powered by <a href="<?php echo SZURU_LINK ?>">szurubooru</a></span>
</p> </p>
</div> </div>

View file

@ -104,6 +104,7 @@
<?php if ($this->config->main->debugQueries): ?> <?php if ($this->config->main->debugQueries): ?>
<pre class="debug"><?php echo join('<br>', array_map(function($x) { return preg_replace('/\s+/', ' ', $x); }, queryLogger()->getLogs())) ?></pre> <pre class="debug"><?php echo join('<br>', array_map(function($x) { return preg_replace('/\s+/', ' ', $x); }, queryLogger()->getLogs())) ?></pre>
<?php endif ?> <?php endif ?>
<span><a href="<?php echo SZURU_LINK ?>">szurubooru v<?php echo SZURU_VERSION ?></a></span>
</div> </div>
</footer> </footer>
</body> </body>

View file

@ -1,4 +1,7 @@
<?php <?php
define('SZURU_VERSION', '0.1.0');
define('SZURU_LINK', 'http://github.com/rr-/szurubooru');
function trueStartTime() function trueStartTime()
{ {
static $time = null; static $time = null;