completely removing all motd code in favour of using the widget system
parent
c0df95b2dc
commit
0963e62acb
@ -1,33 +0,0 @@
|
||||
<h1><i class="fa fa-comment"></i> MOTD</h1>
|
||||
<hr />
|
||||
<div class="alert alert-warning motd">
|
||||
<p>
|
||||
The <strong>Message of the Day</strong> (MOTD) is typically a message shown to users when they first log into a forum or chat room.
|
||||
In NodeBB, the MOTD is present at the top of the forum homepage, and can be customized much like a header.
|
||||
</p>
|
||||
<p>
|
||||
You can enter full HTML/Javascript.
|
||||
</p>
|
||||
<br />
|
||||
<textarea class="form-control" placeholder="Welcome to NodeBB!" data-field="motd" rows="10"></textarea>
|
||||
<br />
|
||||
<form class="form-inline">
|
||||
<label>MOTD Class</label>
|
||||
<input class="form-control" type="text" placeholder="CSS class to add to MOTD" data-field="motd_class" />
|
||||
</form>
|
||||
<form class="form-inline">
|
||||
<div class="checkbox">
|
||||
<label for="show_motd">
|
||||
<input type="checkbox" id="show_motd" data-field="show_motd" /> Show the Message of the Day
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-primary" id="save" checked>Save</button>
|
||||
|
||||
<script>
|
||||
require(['forum/admin/settings'], function(Settings) {
|
||||
Settings.prepare();
|
||||
});
|
||||
</script>
|
Loading…
Reference in New Issue