Skip to content

Node.js based forum software built for the modern web

removed template-variables

barisusaklief65b711de04
diff --git a/src/views/admin/extend/rewards.tpl b/src/views/admin/extend/rewards.tpl
index 29bf0b8288..9d2a2fd0f4 100644
--- a/src/views/admin/extend/rewards.tpl
+++ b/src/views/admin/extend/rewards.tpl
@@ -60,10 +60,6 @@
</li>
<!-- END active -->
</ul>
- <input type="hidden" template-variable="rewards" value="{function.stringify, rewards}" />
- <input type="hidden" template-variable="active" value="{function.stringify, active}" />
- <input type="hidden" template-variable="conditions" value="{function.stringify, conditions}" />
- <input type="hidden" template-variable="conditionals" value="{function.stringify, conditionals}" />
</div>
</div>
</div>
diff --git a/src/views/admin/general/navigation.tpl b/src/views/admin/general/navigation.tpl
index eca07b44c1..779d6bf5a9 100644
--- a/src/views/admin/general/navigation.tpl
+++ b/src/views/admin/general/navigation.tpl
@@ -82,7 +82,6 @@
<span class="pull-right badge"><!-- IF available.core -->core<!-- ELSE -->plugin<!-- ENDIF available.core --></span>
</li>
<!-- END available -->
- <input type="hidden" template-variable="available" value="{function.stringify, available}" />
</ul>
</div>
</div>
diff --git a/src/views/admin/manage/category.tpl b/src/views/admin/manage/category.tpl
index a73ca45444..7d76b0b176 100644
--- a/src/views/admin/manage/category.tpl
+++ b/src/views/admin/manage/category.tpl
@@ -131,4 +131,3 @@
<i class="material-icons">save</i>
</button>
-<input type="hidden" template-variable="cid" value="{category.cid}" />
\ No newline at end of file
diff --git a/src/views/admin/manage/groups.tpl b/src/views/admin/manage/groups.tpl
index e2079e74b4..72ad905427 100644
--- a/src/views/admin/manage/groups.tpl
+++ b/src/views/admin/manage/groups.tpl
@@ -77,6 +77,5 @@
</div>
-<input type="hidden" template-variable="yourid" value="{yourid}" />
diff --git a/src/views/admin/manage/users.tpl b/src/views/admin/manage/users.tpl
index 96df92ca3f..275e1d6255 100644
--- a/src/views/admin/manage/users.tpl
+++ b/src/views/admin/manage/users.tpl
@@ -118,7 +118,6 @@
<div class="text-center {loadmore_display}">
<button id="load-more-users-btn" class="btn btn-primary">Load More</button>
</div>
- <input type="hidden" template-variable="yourid" value="{yourid}" />
</div>
</div>
diff --git a/src/views/partials/variables/account.tpl b/src/views/partials/variables/account.tpl
deleted file mode 100644
index cc63770339..0000000000
--- a/src/views/partials/variables/account.tpl
+++ /dev/null
@@ -1,2 +0,0 @@
-<input type="hidden" template-variable="yourid" value="{yourid}" />
-<input type="hidden" template-variable="theirid" value="{theirid}" />
\ No newline at end of file
diff --git a/src/views/partials/variables/account/edit.tpl b/src/views/partials/variables/account/edit.tpl
deleted file mode 100644
index d8e5d259cc..0000000000
--- a/src/views/partials/variables/account/edit.tpl
+++ /dev/null
@@ -1,3 +0,0 @@
-<input type="hidden" template-variable="userslug" value="{userslug}" />
-<input type="hidden" template-variable="gravatarpicture" value="{gravatarpicture}" />
-<input type="hidden" template-variable="uploadedpicture" value="{uploadedpicture}" />
\ No newline at end of file
diff --git a/src/views/partials/variables/account/profile.tpl b/src/views/partials/variables/account/profile.tpl
deleted file mode 100644
index be91685112..0000000000
--- a/src/views/partials/variables/account/profile.tpl
+++ /dev/null
@@ -1 +0,0 @@
-<input type="hidden" template-type="boolean" template-variable="isFollowing" value="{isFollowing}" />
\ No newline at end of file
diff --git a/src/views/partials/variables/category.tpl b/src/views/partials/variables/category.tpl
deleted file mode 100644
index 984002411a..0000000000
--- a/src/views/partials/variables/category.tpl
+++ /dev/null
@@ -1,6 +0,0 @@
-<input type="hidden" template-variable="category_id" value="{cid}" />
-<input type="hidden" template-variable="category_name" value="{name}" />
-<input type="hidden" template-variable="category_slug" value="{slug}" />
-<input type="hidden" template-variable="topic_count" value="{topic_count}" />
-<input type="hidden" template-variable="currentPage" value="{currentPage}" />
-<input type="hidden" template-variable="pageCount" value="{pageCount}" />
\ No newline at end of file
diff --git a/src/views/partials/variables/groups/details.tpl b/src/views/partials/variables/groups/details.tpl
deleted file mode 100644
index 5379a4a8aa..0000000000
--- a/src/views/partials/variables/groups/details.tpl
+++ /dev/null
@@ -1,2 +0,0 @@
-<input type="hidden" template-variable="group_name" value="{group.displayName}" />
-<input type="hidden" template-variable="is_owner" value="{group.isOwner}" />
\ No newline at end of file
diff --git a/src/views/partials/variables/reset_code.tpl b/src/views/partials/variables/reset_code.tpl
deleted file mode 100644
index ab630d7cff..0000000000
--- a/src/views/partials/variables/reset_code.tpl
+++ /dev/null
@@ -1 +0,0 @@
-<input type="hidden" template-variable="reset_code" value="{code}" />
\ No newline at end of file
diff --git a/src/views/partials/variables/tag.tpl b/src/views/partials/variables/tag.tpl
deleted file mode 100644
index 486ba8245c..0000000000
--- a/src/views/partials/variables/tag.tpl
+++ /dev/null
@@ -1 +0,0 @@
-<input type="hidden" template-variable="tag" value="{tag}" />
\ No newline at end of file
diff --git a/src/views/partials/variables/topic.tpl b/src/views/partials/variables/topic.tpl
deleted file mode 100644
index 4f3c15180d..0000000000
--- a/src/views/partials/variables/topic.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-<input type="hidden" template-variable="topic_id" value="{tid}" />
-<input type="hidden" template-variable="topic_slug" value="{slug}" />
-<input type="hidden" template-variable="category_id" value="{category.cid}" />
-<input type="hidden" template-variable="currentPage" value="{currentPage}" />
-<input type="hidden" template-variable="pageCount" value="{pageCount}" />
-<input type="hidden" template-variable="locked" template-type="boolean" value="{locked}" />
-<input type="hidden" template-variable="deleted" template-type="boolean" value="{deleted}" />
-<input type="hidden" template-variable="pinned" template-type="boolean" value="{pinned}" />
-<input type="hidden" template-variable="topic_name" value="{title}" />
-<input type="hidden" template-variable="postcount" value="{postcount}" />
-<input type="hidden" template-variable="viewcount" value="{viewcount}" />
\ No newline at end of file