
-
Database Error
-A database error has occurred:[% error.info %]
+A database error has occurred:
[%- error.info -%]
Please contact the admin about the problem
[% heading %]
-A error has occurred:[% text %]
+
[%- heading -%]
+A error has occurred:[%- text -%]
hidden Posting [% entry.id %] from [% entry.poster %] posted at [% entry.postedate %] expires:
-[% IF entry.expires == -1 %]
+hidden Posting [%- entry.id -%] from [%- entry.poster -%] posted at [%- entry.postedate -%] expires:
+[%- IF entry.expires == -1 -%]
never
-[% ELSE %]
-[% entry.expiredate %]
-[% END %]
+[%- ELSE -%]
+[%- entry.expiredate -%]
+[%- END -%]
-[% TRY -%]
- [% IF entry.code -%]
- [% IF entry.lang_id == -1 %]
- [% language.desc = "text" %]
- [% END %]
- [% IF lines == 0 %]
-[% FILTER highlight "$language.desc" linenumbers = 0 cache=0 cache_dir="cache/" -%]
-[% entry.code -%]
-[% END -%]
-[% ELSE %]
-[% FILTER highlight "$language.desc" linenumbers = 1 cache=0 cache_dir="cache/" -%]
-[% entry.code -%]
-[% END -%]
- [% END %]
+[%- TRY -%]
+ [%- IF entry.code -%]
+ [%- IF entry.lang_id == -1 -%]
+ [%- language.desc = "text" -%]
+ [%- END -%]
+ [%- IF lines == 0 -%]
+[%- FILTER highlight "$language.desc" linenumbers = 0 cache=0 cache_dir="cache/" -%]
+[%- entry.code -%]
+[%- END -%]
+[%- ELSE -%]
+[%- FILTER highlight "$language.desc" linenumbers = 1 cache=0 cache_dir="cache/" -%]
+[%- entry.code -%]
+[%- END -%]
+ [%- END -%]
- Show as text |
- Download |
- [% IF lines == 0 %]
- With linenumbers |
- [% ELSE %]
- Without linenumbers |
- [% END %]
- Paste new |
+ Show as text |
+ Download |
+ [%- IF lines == 0 -%]
+ With linenumbers |
+ [%- ELSE -%]
+ Without linenumbers |
+ [%- END -%]
+ Paste new |
- [% END %]
-[% CATCH -%]
+ [%- END -%]
+[%- CATCH -%]
-[% entry.code | html -%]
+[%- entry.code | html -%]
-[% END %]
-[% comments = mydb.query ("SELECT text,name,date_trunc('second', date) as postedate from comments where paste_id = '$entry.paste_id'") %]
-[% IF comments.size >= 1 %]
+[%- END -%]
+[%- comments = mydb.query ("SELECT text,name,date_trunc('second', date) as postedate from comments where paste_id = '$entry.paste_id'") -%]
+[%- IF comments.size >= 1 -%]
-[% FOREACH comment = mydb.query ("SELECT text,name,date_trunc('second', date) as postedate from comments where paste_id = '$entry.paste_id'") %] +[%- FOREACH comment = mydb.query ("SELECT text,name,date_trunc('second', date) as postedate from comments where paste_id = '$entry.paste_id'") -%]