diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 20:26:55 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-30 20:26:55 +1100 |
| commit | 739bccd1bf5b2f3a681f4ff6e33d4a4018da22e5 (patch) | |
| tree | e0ee5c8581b8164b3232a7cb2a448f295f40ca64 | |
| parent | 9d5674fbfc88a5cdb7911fac0daeb29e2fcedf4b (diff) | |
Made the subtitle optional in templates.
| -rw-r--r-- | templates/index.html | 3 | ||||
| -rw-r--r-- | templates/thread.html | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index 1f459483..58529230 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]}</div>
+ <div class="title">{board[title]?{board[title]}}</div>
+
<form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">
<table>
<tr>
diff --git a/templates/thread.html b/templates/thread.html index d78ca3f1..f0f271b7 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -10,7 +10,8 @@ </head>
<body>
<h1>{board[url]} - {board[name]}</h1>
- <div class="title">{board[title]}</div>
+ <div class="title">{board[title]?{board[title]}}</div>
+
<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">
<input type="hidden" name="thread" value="{id}" />
|
