Skip to content
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8a268f3
Add config.inc.php to dynamically generate expire times
ulikoehler Oct 8, 2013
937aa35
Fix syntax error
ulikoehler Oct 8, 2013
a69f2b2
Fix tpl variables
ulikoehler Oct 8, 2013
b30488b
Fix tpl errors
ulikoehler Oct 8, 2013
9f95b84
Fix never-expiration
ulikoehler Oct 8, 2013
d9ff124
Fix multiline comment style
ulikoehler Oct 8, 2013
aa59963
Added config option to enable or disable burn-after-reading checkbox …
ulikoehler Oct 8, 2013
5cf28cd
Fix burn-after-reading checkbox default selection
ulikoehler Oct 8, 2013
c19e5d2
Fix disabling of open discussion checkbox if burn-after-reading is di…
ulikoehler Oct 8, 2013
04f96b0
Added time between posts option
ulikoehler Oct 9, 2013
2cc138a
Fix variable scope
ulikoehler Oct 9, 2013
47ab138
Fix time between posts error message
ulikoehler Oct 9, 2013
8f72136
Fix time between posts error message
ulikoehler Oct 9, 2013
333eaed
Fix bracket indentation
ulikoehler Oct 9, 2013
6d9cb8e
Allow rate-limiting disable
ulikoehler Oct 9, 2013
5513eee
Implemented configurable maximum post size
ulikoehler Oct 9, 2013
38d0f83
Fix error message if maximum size is exceeded
ulikoehler Oct 9, 2013
6371488
Implemented configurable vizhash
ulikoehler Oct 10, 2013
77d188e
Fix vizhash in JS
ulikoehler Oct 10, 2013
f02d062
Added config option to disable discussion
ulikoehler Oct 10, 2013
439f80f
Made syntax highlighting optional
ulikoehler Oct 10, 2013
ed9991f
Disable syntax highlighting btn if disabled in cfg
ulikoehler Oct 10, 2013
d182ef3
Remove merge leftover
ulikoehler Oct 10, 2013
1b52926
Don't load highlighting CSS/JS if disabled
ulikoehler Oct 10, 2013
3e5c8b9
Fix not declared global, thanks @nitmir
ulikoehler Oct 28, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tpl variables
  • Loading branch information
ulikoehler committed Oct 8, 2013
commit a69f2b22a9e705ab7fb6de2cbd73d97f8e8f20a8
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ function processPasteFetch($pasteid)
require_once "lib/rain.tpl.class.php";
header('Content-Type: text/html; charset=utf-8');
$page = new RainTPL;
$page->assign('cfg',$cfg);
$page->assign('CIPHERDATA',htmlspecialchars($CIPHERDATA,ENT_NOQUOTES)); // We escape it here because ENT_NOQUOTES can't be used in RainTPL templates.
$page->assign('VERSION',$VERSION);
$page->assign('ERRORMESSAGE',$ERRORMESSAGE);
Expand Down