Skip to content

Node.js based forum software built for the modern web

added copyright info at footer, moved recent activity to global footer (from register)

psychobunnyf911b8d1de6a
diff --git a/public/templates/footer.tpl b/public/templates/footer.tpl
index 559db431c6..9366394355 100644
--- a/public/templates/footer.tpl
+++ b/public/templates/footer.tpl
@@ -1,5 +1,31 @@
+
</div><!--END container -->
+ <!-- START Forum Info -->
+ <div class="container">
+ <div class="alert alert-info">
+ <span id="number_of_users"></span><br />
+ <span id="latest_user"></span>
+ </div>
+ <footer class="footer">Copyright (c) 2013 <a target="_blank" href="http://www.nodebb.com">NodeBB</a> by <a target="_blank" href="https://github.com/psychobunny">psychobunny</a>, <a href="https://github.com/julianlam" target="_blank">julianlam</a>, <a href="https://github.com/barisusakli" target="_blank">barisusalki</a> from <a target="_blank" href="http://www.designcreateplay.com">designcreateplay</a></footer>
+ </div>
+
+ <script type="text/javascript">
+ (function() {
+ var num_users = document.getElementById('number_of_users'),
+ latest_user = document.getElementById('latest_user');
+ socket.emit('user.count', {});
+ socket.on('user.count', function(data) {
+ num_users.innerHTML = "We currently have <b>" + data.count + "</b> registered users.";
+ });
+ socket.emit('user.latest', {});
+ socket.on('user.latest', function(data) {
+ latest_user.innerHTML = "The most recent user to register is <b>" + data.username + "</b>.";
+ });
+ }());
+ </script>
+ <!-- END Forum Info -->
+
<script>
(function() {
// On menu click, change "active" state
diff --git a/public/templates/header.tpl b/public/templates/header.tpl
index d25675eb5f..43d9eb967b 100644
--- a/public/templates/header.tpl
+++ b/public/templates/header.tpl
@@ -23,6 +23,13 @@
height: 0px;
}
+ footer.footer {
+ color: #555;
+ text-align: center;
+ }
+ footer.footer a {
+ color: #222;
+ }
</style>
</head>
diff --git a/public/templates/register.tpl b/public/templates/register.tpl
index 608dd1bb34..5a8c38766b 100644
--- a/public/templates/register.tpl
+++ b/public/templates/register.tpl
@@ -1,23 +1,3 @@
-<!-- START Forum Info Template -->
-<div class="alert alert-info">
- <span id="number_of_users"></span><br />
- <span id="latest_user"></span>
-</div>
-<script type="text/javascript">
-(function() {
- var num_users = document.getElementById('number_of_users'),
- latest_user = document.getElementById('latest_user');
- socket.emit('user.count', {});
- socket.on('user.count', function(data) {
- num_users.innerHTML = "We currently have <b>" + data.count + "</b> registered users.";
- });
- socket.emit('user.latest', {});
- socket.on('user.latest', function(data) {
- latest_user.innerHTML = "The most recent user to register is <b>" + data.username + "</b>.";
- });
-}());
-</script>
-<!-- END Forum Info Template -->
<!-- START Register Template -->
<h1>Register</h1>