diff options
Diffstat (limited to 'template')
| -rwxr-xr-x | template/altar_log.st | 7 | ||||
| -rwxr-xr-x | template/altar_user_log.st | 7 | ||||
| -rwxr-xr-x | template/frontpagePROFILE.st | 7 | ||||
| -rwxr-xr-x | template/hiscore_test.st | 7 | ||||
| -rw-r--r-- | template/json_tags_block.st | 7 | ||||
| -rwxr-xr-x | template/log.st | 7 | ||||
| -rwxr-xr-x | template/newlog.st | 7 | ||||
| -rwxr-xr-x | template/simplerlog.st | 7 |
8 files changed, 14 insertions, 42 deletions
diff --git a/template/altar_log.st b/template/altar_log.st index 40704ee..5d64397 100755 --- a/template/altar_log.st +++ b/template/altar_log.st @@ -20,12 +20,7 @@ $banner()$ <span class="content"><center> $dumps: { d | $log_dump(dump=d)$ }$ </center></span> - $if(json_tags)$ - <script> - $json_tags: { j | $j$; - }$ - </script> - $endif$ + $json_tags_block(json_tags=json_tags)$ $else$ No dumps! $endif$ diff --git a/template/altar_user_log.st b/template/altar_user_log.st index b3c197c..fe1065b 100755 --- a/template/altar_user_log.st +++ b/template/altar_user_log.st @@ -20,12 +20,7 @@ <span class="content"> $dumps: { d | $log_dump(dump=d)$ }$ </span> - $if(json_tags)$ - <script> - $json_tags: { j | $j$; - }$ - </script> - $endif$ + $json_tags_block(json_tags=json_tags)$ $else$ No dumps! $endif$ diff --git a/template/frontpagePROFILE.st b/template/frontpagePROFILE.st index 4c1b63b..6f64d61 100755 --- a/template/frontpagePROFILE.st +++ b/template/frontpagePROFILE.st @@ -156,12 +156,7 @@ You are viewing the current trending images posted to dump.fm; a super fun commu $dumps: { d | $hall_log_dump(dump=d)$ }$ - $if(json_tags)$ - <script> - $json_tags: { j | $j$; - }$ - </script> - $endif$ + $json_tags_block(json_tags=json_tags)$ $else$ No dumps! $endif$ diff --git a/template/hiscore_test.st b/template/hiscore_test.st index 7e0c679..1c2739f 100755 --- a/template/hiscore_test.st +++ b/template/hiscore_test.st @@ -25,12 +25,7 @@ $banner()$ <span class="content"><center> $dumps: { d | $log_dump(dump=d)$ }$ </center></span> - $if(json_tags)$ - <script> - $json_tags: { j | $j$; - }$ - </script> - $endif$ + $json_tags_block(json_tags=json_tags)$ $else$ No dumps! $endif$ diff --git a/template/json_tags_block.st b/template/json_tags_block.st new file mode 100644 index 0000000..17a8ea4 --- /dev/null +++ b/template/json_tags_block.st @@ -0,0 +1,7 @@ +$if(json_tags)$ +<script> + $json_tags: { j | $j$; + }$ +</script> +$endif$ + diff --git a/template/log.st b/template/log.st index 241a06a..718f360 100755 --- a/template/log.st +++ b/template/log.st @@ -20,12 +20,7 @@ <span class="content"> $dumps: { d | $log_dump(dump=d)$ }$ </span> - $if(json_tags)$ - <script> - $json_tags: { j | $j$; - }$ - </script> - $endif$ + $json_tags_block(json_tags=json_tags)$ $else$ No dumps! $endif$ diff --git a/template/newlog.st b/template/newlog.st index e1f987a..15da014 100755 --- a/template/newlog.st +++ b/template/newlog.st @@ -128,12 +128,7 @@ window.location = "/error/ie"; $dumps: { d | $log_dump(dump=d)$ }$ - $if(json_tags)$ - <script> - $json_tags: { j | $j$; - }$ - </script> - $endif$ + $json_tags_block(json_tags=json_tags)$ $else$ No dumps! $endif$ diff --git a/template/simplerlog.st b/template/simplerlog.st index 9acc742..819f808 100755 --- a/template/simplerlog.st +++ b/template/simplerlog.st @@ -147,12 +147,7 @@ dump.fm lets you talk with pictures! Paste an image url, upload, or snap a pic r $dumps: { d | $log_dump(dump=d)$ }$ - $if(json_tags)$ - <script> - $json_tags: { j | $j$; - }$ - </script> - $endif$ + $json_tags_block(json_tags=json_tags)$ $else$ No dumps! $endif$ |
