gosora/template_list.go
Azareal dd8f68b6d2 Added the Social Groups plugin. This is still under construction.
Made a few improvements to the ForumStore, including bringing it's API closer in line with the other datastores, adding stubs for future subforum functionality, and improving efficiency in a few places.
The auth interface now handles all the authentication stuff.
Renamed the debug config variable to debug_mode.
Added the PluginPerms API.
Internal Errors will now dump the stack trace in the console.
Added support for installable plugins.
Refactored the routing logic so that the router now handles the common PreRoute logic(exc. /static/)
Added the CreateTable method to the query generator. It might need some tweaking to better support other database systems.
Added the same CreateTable method to the query builder.
Began work on PostgreSQL support.

Added the string-string hook type
Added the pre_render hook type.
Added the ParentID and ParentType fields to forums.
Added the get_forum_url_prefix function.
Added a more generic build_slug function.
Added the get_topic_url_prefix function.
Added the override_perms and override_forum_perms functions for bulk setting and unsetting permissions.
Added more ExtData fields in a few structs and removed them on the Perms struct as the PluginPerms API supersedes them there.
Plugins can now see the router instance.
The plugin initialisation handlers can now throw errors.
Plugins are now initialised after all the forum's subsystems are.
Refactored the unit test logic. For instance, we now use the proper .Log method rather than fmt.Println in many cases.
Sorry, we'll have to break Github's generated file detection, as the build instructions aren't working, unless I put them at the top, and they're far, far more important than getting Github to recognise the generated code as generated code.
Fixed an issue with mysql.go's _init_database() overwriting the dbpassword variable. Not a huge issue, but it is a "gotcha" for those not expecting a ':' at the start.
Fixed an issue with forum creation where the forum permissions didn't get cached.
Fixed a bug in plugin_bbcode where negative numbers in rand would crash Gosora.
Made the outputs of plugin_markdown and plugin_bbcode more compliant with the tests.
Revamped the phrase system to make it easier for us to add language pack related features in the future.
Added the WidgetMenu widget type.
Revamped the theme again. I'm experimenting to see which approach I like most.
- Excuse the little W3C rage. Some things about CSS drive me crazy :p

Tests:
Added 22 bbcode_full_parse tests.
Added 19 bbcode_regex_parse tests.
Added 27 markdown_parse tests.
Added four UserStore tests. More to come when the test database functionality is added.
Added 18 name_to_slug tests.

Hooks:
Added the pre_render hook.
Added the pre_render_forum_list hook.
Added the pre_render_view_forum hook.
Added the pre_render_topic_list hook.
Added the pre_render_view_topic hook.
Added the pre_render_profile hook.
Added the pre_render_custom_page hook.
Added the pre_render_overview hook.
Added the pre_render_create_topic hook.

Added the pre_render_account_own_edit_critical hook.
Added the pre_render_account_own_edit_avatar hook.
Added the pre_render_account_own_edit_username hook.
Added the pre_render_account_own_edit_email hook.
Added the pre_render_login hook.
Added the pre_render_register hook.
Added the pre_render_ban hook.

Added the pre_render_panel_dashboard hook.
Added the pre_render_panel_forums hook.
Added the pre_render_panel_delete_forum hook.
Added the pre_render_panel_edit_forum hook.
Added the pre_render_panel_settings hook.
Added the pre_render_panel_setting hook.
Added the pre_render_panel_plugins hook.
Added the pre_render_panel_users hook.
Added the pre_render_panel_edit_user hook.
Added the pre_render_panel_groups hook.
Added the pre_render_panel_edit_group hook.
Added the pre_render_panel_edit_group_perms hook.
Added the pre_render_panel_themes hook.
Added the pre_render_panel_mod_log hook.
Added the pre_render_error hook.
Added the pre_render_security_error hook.

Added the create_group_preappend hook.
Added the intercept_build_widgets hook.
Added the simple_forum_check_pre_perms hook.
Added the forum_check_pre_perms hook.
2017-07-09 13:06:04 +01:00

655 lines
28 KiB
Go

package main
var header_0 []byte = []byte(`<!doctype html>
<html lang="en">
<head>
<title>`)
var header_1 []byte = []byte(`</title>
<link href="/static/main.css" rel="stylesheet" type="text/css">
`)
var header_2 []byte = []byte(`
<link href="/static/`)
var header_3 []byte = []byte(`" rel="stylesheet" type="text/css">
`)
var header_4 []byte = []byte(`
<script type="text/javascript" src="/static/jquery-3.1.1.min.js"></script>
`)
var header_5 []byte = []byte(`
<script type="text/javascript" src="/static/`)
var header_6 []byte = []byte(`"></script>
`)
var header_7 []byte = []byte(`
<script type="text/javascript">var session = "`)
var header_8 []byte = []byte(`";
</script>
<script type="text/javascript" src="/static/global.js"></script>
<meta name="viewport" content="width=device-width,initial-scale = 1.0, maximum-scale=1.0,user-scalable=no" />
</head>
<body>
<div class="container">
`)
var menu_0 []byte = []byte(`<div class="nav">
<div class="move_left">
<div class="move_right">
<ul>
<li class="menu_left menu_overview"><a href="/">Overview</a></li>
<li class="menu_left menu_forums"><a href="/forums/">Forums</a></li>
<li class="menu_left menu_topics"><a href="/">Topics</a></li>
<li class="menu_left menu_create_topic"><a href="/topics/create/">Create Topic</a></li>
`)
var menu_1 []byte = []byte(`
<li class="menu_left menu_account"><a href="/user/edit/critical/">Account</a></li>
<li class="menu_left menu_profile"><a href="/user/`)
var menu_2 []byte = []byte(`.`)
var menu_3 []byte = []byte(`">Profile</a></li>
`)
var menu_4 []byte = []byte(`<li class="menu_left menu_account"><a href="/panel/">Panel</a></li>`)
var menu_5 []byte = []byte(`
<li class="menu_left menu_logout"><a href="/accounts/logout/?session=`)
var menu_6 []byte = []byte(`">Logout</a></li>
`)
var menu_7 []byte = []byte(`
<li class="menu_left menu_register"><a href="/accounts/create/">Register</a></li>
<li class="menu_left menu_login"><a href="/accounts/login/">Login</a></li>
`)
var menu_8 []byte = []byte(`
<li id="general_alerts" class="menu_right menu_alerts">
<div class="alert_bell">🔔︎</div>
<div class="alert_counter"></div>
<div class="alertList"></div>
</li>
</ul>
</div>
</div>
<div style="clear: both;"></div>
</div>
`)
var header_9 []byte = []byte(`
<div id="back"><div id="main" `)
var header_10 []byte = []byte(`class="shrink_main"`)
var header_11 []byte = []byte(`>
`)
var header_12 []byte = []byte(`<div class="alert">`)
var header_13 []byte = []byte(`</div>`)
var topic_0 []byte = []byte(`<div id="prevFloat" class="prev_button"><a class="prev_link" href="/topic/`)
var topic_1 []byte = []byte(`?page=`)
var topic_2 []byte = []byte(`">&lt;</a></div>`)
var topic_3 []byte = []byte(`<link rel="prerender" href="/topic/`)
var topic_4 []byte = []byte(`?page=`)
var topic_5 []byte = []byte(`" />
<div id="nextFloat" class="next_button">
<a class="next_link" href="/topic/`)
var topic_6 []byte = []byte(`?page=`)
var topic_7 []byte = []byte(`">&gt;</a>
</div>`)
var topic_8 []byte = []byte(`
<div class="rowblock rowhead topic_block">
<form action='/topic/edit/submit/`)
var topic_9 []byte = []byte(`' method="post">
<div class="rowitem topic_item"`)
var topic_10 []byte = []byte(` style="background-color:#FFFFEA;"`)
var topic_11 []byte = []byte(` style="background-color:#eaeaea;"`)
var topic_12 []byte = []byte(`>
<a class='topic_name hide_on_edit'>`)
var topic_13 []byte = []byte(`</a>
`)
var topic_14 []byte = []byte(`<span class='username hide_on_micro topic_status_e topic_status_closed hide_on_edit' title='Status: Closed' style="font-weight:normal;float: right;position:relative;top:-5px;">&#x1F512;&#xFE0E</span>`)
var topic_15 []byte = []byte(`
<input class='show_on_edit topic_name_input' name="topic_name" value='`)
var topic_16 []byte = []byte(`' type="text" />
`)
var topic_17 []byte = []byte(`<select name="topic_status" class='show_on_edit topic_status_input' style='float: right;'>
<option>open</option>
<option>closed</option>
</select>`)
var topic_18 []byte = []byte(`
<button name="topic-button" class="formbutton show_on_edit submit_edit">Update</button>
`)
var topic_19 []byte = []byte(`
</div>
</form>
</div>
<div class="rowblock post_container top_post">
<div class="rowitem passive editable_parent post_item" style="border-bottom: none;`)
var topic_20 []byte = []byte(`background-image:url(`)
var topic_21 []byte = []byte(`), url(/static/white-dot.jpg);background-position: 0px `)
var topic_22 []byte = []byte(`-1`)
var topic_23 []byte = []byte(`0px;background-repeat:no-repeat, repeat-y;background-size:128px;padding-left:136px;`)
var topic_24 []byte = []byte(`">
<p class="hide_on_edit topic_content user_content" style="margin:0;padding:0;">`)
var topic_25 []byte = []byte(`</p>
<textarea name="topic_content" class="show_on_edit topic_content_input">`)
var topic_26 []byte = []byte(`</textarea>
<span class="controls">
<a href="/user/`)
var topic_27 []byte = []byte(`.`)
var topic_28 []byte = []byte(`" class="username real_username">`)
var topic_29 []byte = []byte(`</a>&nbsp;&nbsp;
`)
var topic_30 []byte = []byte(`<a href="/topic/like/submit/`)
var topic_31 []byte = []byte(`" class="mod_button" title="Love it" style="color:#202020;">
<button class="username like_label" style="`)
var topic_32 []byte = []byte(`background-color:/*#eaffea*/#D6FFD6;`)
var topic_33 []byte = []byte(`"></button></a>`)
var topic_34 []byte = []byte(`<a href='/topic/edit/`)
var topic_35 []byte = []byte(`' class="mod_button open_edit" style="font-weight:normal;" title="Edit Topic"><button class="username edit_label"></button></a>`)
var topic_36 []byte = []byte(`<a href='/topic/delete/submit/`)
var topic_37 []byte = []byte(`' class="mod_button" style="font-weight:normal;" title="Delete Topic"><button class="username trash_label"></button></a>`)
var topic_38 []byte = []byte(`<a class="mod_button" href='/topic/unstick/submit/`)
var topic_39 []byte = []byte(`' style="font-weight:normal;" title="Unpin Topic"><button class="username unpin_label"></button></a>`)
var topic_40 []byte = []byte(`<a href='/topic/stick/submit/`)
var topic_41 []byte = []byte(`' class="mod_button" style="font-weight:normal;" title="Pin Topic"><button class="username pin_label"></button></a>`)
var topic_42 []byte = []byte(`
<a class="mod_button" href="/report/submit/`)
var topic_43 []byte = []byte(`?session=`)
var topic_44 []byte = []byte(`&type=topic" class="mod_button report_item" style="font-weight:normal;" title="Flag Topic"><button class="username flag_label"></button></a>
`)
var topic_45 []byte = []byte(`<a class="username hide_on_micro like_count">`)
var topic_46 []byte = []byte(`</a><a class="username hide_on_micro like_count_label" title="Like Count"></a>`)
var topic_47 []byte = []byte(`<a class="username hide_on_micro" style="float:right;color:#505050;font-size:16px;">`)
var topic_48 []byte = []byte(`</a>`)
var topic_49 []byte = []byte(`<a class="username hide_on_micro level">`)
var topic_50 []byte = []byte(`</a><a class="username hide_on_micro level_label" style="color:#505050;float:right;opacity:0.85;" title="Level"></a>`)
var topic_51 []byte = []byte(`
</span>
</div>
</div>
<div class="rowblock post_container" style="overflow: hidden;">`)
var topic_52 []byte = []byte(`
<div class="rowitem passive deletable_block editable_parent post_item action_item">
<span class="action_icon" style="font-size: 18px;padding-right: 5px;">`)
var topic_53 []byte = []byte(`</span>
<span>`)
var topic_54 []byte = []byte(`</span>
</div>
`)
var topic_55 []byte = []byte(`
<div class="rowitem passive deletable_block editable_parent post_item" style="`)
var topic_56 []byte = []byte(`background-image:url(`)
var topic_57 []byte = []byte(`), url(/static/white-dot.jpg);background-position: 0px `)
var topic_58 []byte = []byte(`-1`)
var topic_59 []byte = []byte(`0px;background-repeat:no-repeat, repeat-y;background-size:128px;padding-left:136px;`)
var topic_60 []byte = []byte(`">
<p class="editable_block user_content" style="margin:0;padding:0;">`)
var topic_61 []byte = []byte(`</p>
<span class="controls">
<a href="/user/`)
var topic_62 []byte = []byte(`.`)
var topic_63 []byte = []byte(`" class="username real_username">`)
var topic_64 []byte = []byte(`</a>&nbsp;&nbsp;
`)
var topic_65 []byte = []byte(`<a href="/reply/like/submit/`)
var topic_66 []byte = []byte(`" class="mod_button" title="Love it" style="color:#202020;"><button class="username like_label" style="`)
var topic_67 []byte = []byte(`background-color:/*#eaffea*/#D6FFD6;`)
var topic_68 []byte = []byte(`"></button></a>`)
var topic_69 []byte = []byte(`<a href="/reply/edit/submit/`)
var topic_70 []byte = []byte(`" class="mod_button" title="Edit Reply"><button class="username edit_item edit_label"></button></a>`)
var topic_71 []byte = []byte(`<a href="/reply/delete/submit/`)
var topic_72 []byte = []byte(`" class="mod_button" title="Delete Reply"><button class="username delete_item trash_label"></button></a>`)
var topic_73 []byte = []byte(`
<a class="mod_button" href="/report/submit/`)
var topic_74 []byte = []byte(`?session=`)
var topic_75 []byte = []byte(`&type=reply" class="mod_button report_item" title="Flag Reply"><button class="username report_item flag_label"></button></a>
`)
var topic_76 []byte = []byte(`<a class="username hide_on_micro like_count">`)
var topic_77 []byte = []byte(`</a><a class="username hide_on_micro like_count_label" title="Like Count"></a>`)
var topic_78 []byte = []byte(`<a class="username hide_on_micro" style="float: right;color:#505050;font-size:16px;">`)
var topic_79 []byte = []byte(`</a>`)
var topic_80 []byte = []byte(`<a class="username hide_on_micro level">`)
var topic_81 []byte = []byte(`</a><a class="username hide_on_micro level_label" style="color:#505050;float:right;opacity:0.85;" title="Level">`)
var topic_82 []byte = []byte(`</a>
</span>
</div>
`)
var topic_83 []byte = []byte(`</div>
`)
var topic_84 []byte = []byte(`
<div class="rowblock">
<form action="/reply/create/" method="post">
<input name="tid" value='`)
var topic_85 []byte = []byte(`' type="hidden" />
<div class="formrow">
<div class="formitem"><textarea name="reply-content" placeholder="Insert reply here"></textarea></div>
</div>
<div class="formrow">
<div class="formitem"><button name="reply-button" class="formbutton">Create Reply</button></div>
</div>
</form>
</div>
`)
var footer_0 []byte = []byte(` </div>
`)
var footer_1 []byte = []byte(`<div class="sidebar">`)
var footer_2 []byte = []byte(`</div>`)
var footer_3 []byte = []byte(`
<div style="clear: both;"></div>
</div>
</div>
</body>
</html>
`)
var topic_alt_0 []byte = []byte(`<div id="prevFloat" class="prev_button"><a class="prev_link" href="/topic/`)
var topic_alt_1 []byte = []byte(`?page=`)
var topic_alt_2 []byte = []byte(`">&lt;</a></div>`)
var topic_alt_3 []byte = []byte(`<link rel="prerender" href="/topic/`)
var topic_alt_4 []byte = []byte(`?page=`)
var topic_alt_5 []byte = []byte(`" />
<div id="nextFloat" class="next_button"><a class="next_link" href="/topic/`)
var topic_alt_6 []byte = []byte(`?page=`)
var topic_alt_7 []byte = []byte(`">&gt;</a></div>`)
var topic_alt_8 []byte = []byte(`
<div class="rowblock rowhead topic_block">
<form action='/topic/edit/submit/`)
var topic_alt_9 []byte = []byte(`' method="post">
<div class="rowitem topic_item`)
var topic_alt_10 []byte = []byte(` topic_sticky_head`)
var topic_alt_11 []byte = []byte(` topic_closed_head`)
var topic_alt_12 []byte = []byte(`">
<a class='topic_name hide_on_edit'>`)
var topic_alt_13 []byte = []byte(`</a>
`)
var topic_alt_14 []byte = []byte(`<span class='username hide_on_micro topic_status_e topic_status_closed hide_on_edit' title='Status: Closed' style="font-weight:normal;float: right;position:relative;top:-5px;">&#x1F512;&#xFE0E</span>`)
var topic_alt_15 []byte = []byte(`
<input class='show_on_edit topic_name_input' name="topic_name" value='`)
var topic_alt_16 []byte = []byte(`' type="text" />
`)
var topic_alt_17 []byte = []byte(`<select name="topic_status" class='show_on_edit topic_status_input' style='float: right;'>
<option>open</option>
<option>closed</option>
</select>`)
var topic_alt_18 []byte = []byte(`
<button name="topic-button" class="formbutton show_on_edit submit_edit">Update</button>
`)
var topic_alt_19 []byte = []byte(`
</div>
</form>
</div>
<style type="text/css">.rowitem:last-child .content_container { margin-bottom: 5px !important; }</style>
<div class="rowblock post_container" style="border-top: none;">
<div class="rowitem passive deletable_block editable_parent post_item" style="background-color: #eaeaea;padding-top: 4px;padding-left: 5px;clear: both;border-bottom: none;padding-right: 4px;padding-bottom: 2px;">
<div class="userinfo">
<div class="avatar_item" style="background-image: url(`)
var topic_alt_20 []byte = []byte(`), url(/static/white-dot.jpg);background-position: 0px -10px;">&nbsp;</div>
<a href="/user/`)
var topic_alt_21 []byte = []byte(`.`)
var topic_alt_22 []byte = []byte(`" class="the_name">`)
var topic_alt_23 []byte = []byte(`</a>
`)
var topic_alt_24 []byte = []byte(`<div class="tag_block"><div class="tag_pre"></div><div class="post_tag">`)
var topic_alt_25 []byte = []byte(`</div><div class="tag_post"></div></div>`)
var topic_alt_26 []byte = []byte(`<div class="tag_block"><div class="tag_pre"></div><div class="post_tag post_level">Level `)
var topic_alt_27 []byte = []byte(`</div><div class="tag_post"></div></div>`)
var topic_alt_28 []byte = []byte(`
</div>
<div class="content_container">
<div class="hide_on_edit topic_content user_content">`)
var topic_alt_29 []byte = []byte(`</div>
<textarea name="topic_content" class="show_on_edit topic_content_input">`)
var topic_alt_30 []byte = []byte(`</textarea>
<div class="button_container">
`)
var topic_alt_31 []byte = []byte(`<a href="/topic/like/submit/`)
var topic_alt_32 []byte = []byte(`" class="action_button">+1</a>`)
var topic_alt_33 []byte = []byte(`<a href="/topic/edit/`)
var topic_alt_34 []byte = []byte(`" class="action_button open_edit">Edit</a>`)
var topic_alt_35 []byte = []byte(`<a href="/topic/delete/submit/`)
var topic_alt_36 []byte = []byte(`" class="action_button delete_item">Delete</a>`)
var topic_alt_37 []byte = []byte(`<a href='/topic/unstick/submit/`)
var topic_alt_38 []byte = []byte(`' class="action_button">Unpin</a>`)
var topic_alt_39 []byte = []byte(`<a href='/topic/stick/submit/`)
var topic_alt_40 []byte = []byte(`' class="action_button">Pin</a>`)
var topic_alt_41 []byte = []byte(`
<a href="/report/submit/`)
var topic_alt_42 []byte = []byte(`?session=`)
var topic_alt_43 []byte = []byte(`&type=topic" class="action_button report_item">Report</a>
`)
var topic_alt_44 []byte = []byte(`<a href="#" title="IP Address" class="action_button action_button_right ip_item hide_on_mobile">`)
var topic_alt_45 []byte = []byte(`</a>`)
var topic_alt_46 []byte = []byte(`
<a class="action_button action_button_right hide_on_mobile">`)
var topic_alt_47 []byte = []byte(`</a>
`)
var topic_alt_48 []byte = []byte(`<a class="action_button action_button_right hide_on_micro">`)
var topic_alt_49 []byte = []byte(` up</a>`)
var topic_alt_50 []byte = []byte(`
</div>
</div><div style="clear:both;"></div>
</div>
`)
var topic_alt_51 []byte = []byte(`
<div class="rowitem passive deletable_block editable_parent post_item `)
var topic_alt_52 []byte = []byte(`action_item`)
var topic_alt_53 []byte = []byte(`">
<div class="userinfo">
<div class="avatar_item" style="background-image: url(`)
var topic_alt_54 []byte = []byte(`), url(/static/white-dot.jpg);background-position: 0px -10px;">&nbsp;</div>
<a href="/user/`)
var topic_alt_55 []byte = []byte(`.`)
var topic_alt_56 []byte = []byte(`" class="the_name">`)
var topic_alt_57 []byte = []byte(`</a>
`)
var topic_alt_58 []byte = []byte(`<div class="tag_block"><div class="tag_pre"></div><div class="post_tag">`)
var topic_alt_59 []byte = []byte(`</div><div class="tag_post"></div></div>`)
var topic_alt_60 []byte = []byte(`<div class="tag_block"><div class="tag_pre"></div><div class="post_tag post_level">Level `)
var topic_alt_61 []byte = []byte(`</div><div class="tag_post"></div></div>`)
var topic_alt_62 []byte = []byte(`
</div>
<div class="content_container" `)
var topic_alt_63 []byte = []byte(`style="margin-left: 0px;"`)
var topic_alt_64 []byte = []byte(`>
`)
var topic_alt_65 []byte = []byte(`
<span class="action_icon" style="font-size: 18px;padding-right: 5px;">`)
var topic_alt_66 []byte = []byte(`</span>
<span>`)
var topic_alt_67 []byte = []byte(`</span>
`)
var topic_alt_68 []byte = []byte(`
<div class="editable_block user_content">`)
var topic_alt_69 []byte = []byte(`</div>
<div class="button_container">
`)
var topic_alt_70 []byte = []byte(`<a href="/reply/like/submit/`)
var topic_alt_71 []byte = []byte(`" class="action_button">+1</a>`)
var topic_alt_72 []byte = []byte(`<a href="/reply/edit/submit/`)
var topic_alt_73 []byte = []byte(`" class="action_button edit_item">Edit</a>`)
var topic_alt_74 []byte = []byte(`<a href="/reply/delete/submit/`)
var topic_alt_75 []byte = []byte(`" class="action_button delete_item">Delete</a>`)
var topic_alt_76 []byte = []byte(`
<a href="/report/submit/`)
var topic_alt_77 []byte = []byte(`?session=`)
var topic_alt_78 []byte = []byte(`&type=reply" class="action_button report_item">Report</a>
`)
var topic_alt_79 []byte = []byte(`<a href="#" title="IP Address" class="action_button action_button_right ip_item hide_on_mobile">`)
var topic_alt_80 []byte = []byte(`</a>`)
var topic_alt_81 []byte = []byte(`
<a class="action_button action_button_right hide_on_mobile">`)
var topic_alt_82 []byte = []byte(`</a>
`)
var topic_alt_83 []byte = []byte(`<a class="action_button action_button_right hide_on_micro">`)
var topic_alt_84 []byte = []byte(` up</a>`)
var topic_alt_85 []byte = []byte(`
</div>
`)
var topic_alt_86 []byte = []byte(`
</div>
<div style="clear:both;"></div>
</div>
`)
var topic_alt_87 []byte = []byte(`</div>
`)
var topic_alt_88 []byte = []byte(`
<div class="rowblock" style="border-top: none;">
<form action="/reply/create/" method="post">
<input name="tid" value='`)
var topic_alt_89 []byte = []byte(`' type="hidden" />
<div class="formrow">
<div class="formitem"><textarea name="reply-content" placeholder="Insert reply here"></textarea></div>
</div>
<div class="formrow">
<div class="formitem"><button name="reply-button" class="formbutton">Create Reply</button></div>
</div>
</form>
</div>
`)
var profile_0 []byte = []byte(`
<div id="profile_left_pane" class="colblock_left" style="max-width: 220px;">
<div class="rowitem" style="padding: 0;">
<img src="`)
var profile_1 []byte = []byte(`" style="max-width: 100%;margin: 0;display: block;" />
</div>
<div class="rowitem">
<span style="font-size: 18px;">`)
var profile_2 []byte = []byte(`</span>`)
var profile_3 []byte = []byte(`<span class="username" style="float: right;font-weight: normal;">`)
var profile_4 []byte = []byte(`</span>`)
var profile_5 []byte = []byte(`
</div>
<div class="rowitem passive">
<a class="profile_menu_item">Add Friend</a>
</div>
`)
var profile_6 []byte = []byte(`<div class="rowitem passive">
`)
var profile_7 []byte = []byte(`<a href="/users/unban/`)
var profile_8 []byte = []byte(`?session=`)
var profile_9 []byte = []byte(`" class="profile_menu_item">Unban</a>
`)
var profile_10 []byte = []byte(`<a href="/users/ban/`)
var profile_11 []byte = []byte(`?session=`)
var profile_12 []byte = []byte(`" class="profile_menu_item">Ban</a>`)
var profile_13 []byte = []byte(`
</div>`)
var profile_14 []byte = []byte(`
<div class="rowitem passive">
<a href="/report/submit/`)
var profile_15 []byte = []byte(`?session=`)
var profile_16 []byte = []byte(`&type=user" class="profile_menu_item report_item">Report</a>
</div>
</div>
<div class="colblock_right rowhead" style="width: calc(95% - 210px);">
<div class="rowitem"><a>Comments</a></div>
</div>
<div id="profile_comments" class="colblock_right" style="overflow: hidden;border-top: none;width:calc(95% - 210px);">`)
var profile_17 []byte = []byte(`
<div class="rowitem passive deletable_block editable_parent simple" style="`)
var profile_18 []byte = []byte(`background-image: url(`)
var profile_19 []byte = []byte(`), url(/static/white-dot.jpg);background-position: 0px `)
var profile_20 []byte = []byte(`-1`)
var profile_21 []byte = []byte(`0px;background-repeat: no-repeat, repeat-y;background-size: 128px;padding-left: 136px;`)
var profile_22 []byte = []byte(`">
<span class="editable_block user_content simple">`)
var profile_23 []byte = []byte(`</span><br /><br />
<a href="/user/`)
var profile_24 []byte = []byte(`.`)
var profile_25 []byte = []byte(`" class="real_username username">`)
var profile_26 []byte = []byte(`</a>&nbsp;&nbsp;
`)
var profile_27 []byte = []byte(`<a href="/profile/reply/edit/submit/`)
var profile_28 []byte = []byte(`" class="mod_button" title="Edit Item"><button class="username edit_item edit_label"></button></a>
<a href="/profile/reply/delete/submit/`)
var profile_29 []byte = []byte(`" class="mod_button" title="Delete Item"><button class="username delete_item trash_label"></button></a>`)
var profile_30 []byte = []byte(`
<a class="mod_button" href="/report/submit/`)
var profile_31 []byte = []byte(`?session=`)
var profile_32 []byte = []byte(`&type=user-reply"><button class="username report_item flag_label"></button></a>
`)
var profile_33 []byte = []byte(`<a class="username hide_on_mobile" style="float: right;">`)
var profile_34 []byte = []byte(`</a>`)
var profile_35 []byte = []byte(`
</div>
`)
var profile_36 []byte = []byte(`</div>
<div class="colblock_right" style="border-top: none;width: calc(95% - 210px);">
`)
var profile_37 []byte = []byte(`
<form action="/profile/reply/create/" method="post">
<input name="uid" value='`)
var profile_38 []byte = []byte(`' type="hidden" />
<div class="formrow">
<div class="formitem"><textarea name="reply-content" placeholder="Insert reply here"></textarea></div>
</div>
<div class="formrow">
<div class="formitem"><button name="reply-button" class="formbutton">Create Reply</button></div>
</div>
</form>
`)
var profile_39 []byte = []byte(`
</div>
`)
var forums_0 []byte = []byte(`
<div class="rowblock opthead">
<div class="rowitem"><a>Forums</a></div>
</div>
<div class="rowblock">
`)
var forums_1 []byte = []byte(`<div class="rowitem `)
var forums_2 []byte = []byte(`datarow`)
var forums_3 []byte = []byte(`">
`)
var forums_4 []byte = []byte(`<span style="float: left;">
<a href="`)
var forums_5 []byte = []byte(`" style="">`)
var forums_6 []byte = []byte(`</a>
<br /><span class="rowsmall">`)
var forums_7 []byte = []byte(`</span>
</span>`)
var forums_8 []byte = []byte(`<span style="float: left;padding-top: 8px;font-size: 18px;">
<a href="`)
var forums_9 []byte = []byte(`">`)
var forums_10 []byte = []byte(`</a>
</span>`)
var forums_11 []byte = []byte(`<span style="float: left;">
<a href="`)
var forums_12 []byte = []byte(`">`)
var forums_13 []byte = []byte(`</a>
</span>`)
var forums_14 []byte = []byte(`
<span style="float: right;">
<a href="/topic/`)
var forums_15 []byte = []byte(`" style="float: right;font-size: 14px;">`)
var forums_16 []byte = []byte(`</a>
`)
var forums_17 []byte = []byte(`<br /><span class="rowsmall">`)
var forums_18 []byte = []byte(`</span>`)
var forums_19 []byte = []byte(`
</span>
<div style="clear: both;"></div>
</div>
`)
var forums_20 []byte = []byte(`<div class="rowitem passive">You don't have access to any forums.</div>`)
var forums_21 []byte = []byte(`
</div>
`)
var topics_0 []byte = []byte(`
<div class="rowblock rowhead">
<div class="rowitem"><a>Topic List</a></div>
</div>
<div id="topic_list" class="rowblock topic_list">
`)
var topics_1 []byte = []byte(`<div class="rowitem passive datarow `)
var topics_2 []byte = []byte(`topic_sticky`)
var topics_3 []byte = []byte(`topic_closed`)
var topics_4 []byte = []byte(`" style="`)
var topics_5 []byte = []byte(`background-image: url(`)
var topics_6 []byte = []byte(`);background-position: left;background-repeat: no-repeat;background-size: 64px;padding-left: 72px;`)
var topics_7 []byte = []byte(`">
<span class="rowsmall" style="float: right;">
<span class="replyCount">`)
var topics_8 []byte = []byte(` replies</span><br />
<span class="lastReplyAt">`)
var topics_9 []byte = []byte(`</span>
</span>
<span>
<a class="rowtopic" href="/topic/`)
var topics_10 []byte = []byte(`.`)
var topics_11 []byte = []byte(`">`)
var topics_12 []byte = []byte(`</a> `)
var topics_13 []byte = []byte(`<a class="rowsmall" href="`)
var topics_14 []byte = []byte(`">`)
var topics_15 []byte = []byte(`</a>`)
var topics_16 []byte = []byte(`
<br /><a class="rowsmall" href="/user/`)
var topics_17 []byte = []byte(`.`)
var topics_18 []byte = []byte(`">Starter: `)
var topics_19 []byte = []byte(`</a>
`)
var topics_20 []byte = []byte(`<span class="rowsmall topic_status_e topic_status_closed" title="Status: Closed"> | &#x1F512;&#xFE0E`)
var topics_21 []byte = []byte(`</span>
</span>
</div>
`)
var topics_22 []byte = []byte(`<div class="rowitem passive">There aren't any topics yet.`)
var topics_23 []byte = []byte(` <a href="/topics/create/">Start one?</a>`)
var topics_24 []byte = []byte(`</div>`)
var topics_25 []byte = []byte(`
</div>
`)
var forum_0 []byte = []byte(`<div id="prevFloat" class="prev_button"><a class="prev_link" href="/forum/`)
var forum_1 []byte = []byte(`?page=`)
var forum_2 []byte = []byte(`">&lt;</a></div>`)
var forum_3 []byte = []byte(`<link rel="prerender" href="/forum/`)
var forum_4 []byte = []byte(`?page=`)
var forum_5 []byte = []byte(`" />
<div id="nextFloat" class="next_button"><a class="next_link" href="/forum/`)
var forum_6 []byte = []byte(`?page=`)
var forum_7 []byte = []byte(`">&gt;</a></div>`)
var forum_8 []byte = []byte(`
<div class="rowblock rowhead">
<div class="rowitem `)
var forum_9 []byte = []byte(`has_opt`)
var forum_10 []byte = []byte(`"><a>`)
var forum_11 []byte = []byte(`</a>
</div>
`)
var forum_12 []byte = []byte(`
<div class="opt create_topic_opt" title="Create Topic">&#x1F58A;&#xFE0E</div>
`)
var forum_13 []byte = []byte(`<div class="opt locked_opt" title="You don't have the permissions needed to create a topic">&#x1F512;&#xFE0E</div>`)
var forum_14 []byte = []byte(`
<div style="clear: both;"></div>
`)
var forum_15 []byte = []byte(`
<!--href="/topics/create/`)
var forum_16 []byte = []byte(`"-->
</div>
<div id="forum_topic_list" class="rowblock topic_list">
`)
var forum_17 []byte = []byte(`<div class="rowitem passive datarow `)
var forum_18 []byte = []byte(`topic_sticky`)
var forum_19 []byte = []byte(`topic_closed`)
var forum_20 []byte = []byte(`" style="`)
var forum_21 []byte = []byte(`background-image: url(`)
var forum_22 []byte = []byte(`);background-position: left;background-repeat: no-repeat;background-size: 64px;padding-left: 72px;`)
var forum_23 []byte = []byte(`">
<span class="rowsmall" style="float: right;">
<span class="replyCount">`)
var forum_24 []byte = []byte(` replies</span><br />
<span class="lastReplyAt">`)
var forum_25 []byte = []byte(`</span>
</span>
<span>
<a class="rowtopic" href="/topic/`)
var forum_26 []byte = []byte(`.`)
var forum_27 []byte = []byte(`">`)
var forum_28 []byte = []byte(`</a>
<br /><a class="rowsmall" href="/user/`)
var forum_29 []byte = []byte(`.`)
var forum_30 []byte = []byte(`">Starter: `)
var forum_31 []byte = []byte(`</a>
`)
var forum_32 []byte = []byte(`<span class="rowsmall topic_status_e topic_status_closed" title="Status: Closed"> | &#x1F512;&#xFE0E`)
var forum_33 []byte = []byte(`</span>
</span>
</div>
`)
var forum_34 []byte = []byte(`<div class="rowitem passive">There aren't any topics in this forum yet.`)
var forum_35 []byte = []byte(` <a href="/topics/create/`)
var forum_36 []byte = []byte(`">Start one?</a>`)
var forum_37 []byte = []byte(`</div>`)
var forum_38 []byte = []byte(`
</div>
`)