moved all template variables to core

v1.18.x
psychobunny 10 years ago
parent e08f34e79d
commit 8727c7be17

@ -0,0 +1,2 @@
<input type="hidden" template-variable="yourid" value="{yourid}" />
<input type="hidden" template-variable="theirid" value="{theirid}" />

@ -0,0 +1,3 @@
<input type="hidden" template-variable="userslug" value="{userslug}" />
<input type="hidden" template-variable="gravatarpicture" value="{gravatarpicture}" />
<input type="hidden" template-variable="uploadedpicture" value="{uploadedpicture}" />

@ -0,0 +1 @@
<input type="hidden" template-type="boolean" template-variable="isFollowing" value="{isFollowing}" />

@ -0,0 +1,6 @@
<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}" />

@ -0,0 +1,2 @@
<input type="hidden" template-variable="group_name" value="{group.name}" />
<input type="hidden" template-variable="is_owner" value="{group.isOwner}" />

@ -0,0 +1 @@
<input type="hidden" template-variable="reset_code" value="{reset_code}" />

@ -0,0 +1 @@
<input type="hidden" template-variable="tag" value="{tag}" />

@ -0,0 +1,11 @@
<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}" />
Loading…
Cancel
Save