summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-02-04 18:52:20 +0000
committeryo momma <shutup@oops.wtf>2026-02-04 18:52:20 +0000
commitae480c44c59a9e77ea279f2208dd7f932079e078 (patch)
treebe098491808cc88d6aa3790f5b6a20d4feb4aad8
parent8dd5a7b4e75ce418df5d75673304a8d14181c8f8 (diff)
Refactor templates: humps/hump variables
-rwxr-xr-xsrc/site.clj138
-rwxr-xr-xtemplate/altar_log.st6
-rwxr-xr-xtemplate/altar_user_log.st6
-rwxr-xr-xtemplate/directory.st22
-rwxr-xr-xtemplate/fame.st6
-rwxr-xr-xtemplate/fame2.st6
-rwxr-xr-xtemplate/fame_dump.st12
-rwxr-xr-xtemplate/frontpage copy.st4
-rwxr-xr-xtemplate/frontpage.st4
-rwxr-xr-xtemplate/frontpagePROFILE.st6
-rwxr-xr-xtemplate/frontpage_halloffame.st4
-rwxr-xr-xtemplate/frontpage_share_buttons.st4
-rwxr-xr-xtemplate/hall_log_dump.st8
-rwxr-xr-xtemplate/hall_share_buttons.st8
-rwxr-xr-xtemplate/hiscore_test.st8
-rwxr-xr-xtemplate/log.st6
-rwxr-xr-xtemplate/log_dump.st10
-rwxr-xr-xtemplate/mini_profile.st6
-rwxr-xr-xtemplate/newlog.st6
-rwxr-xr-xtemplate/nigga.st6
-rwxr-xr-xtemplate/popular.st6
-rwxr-xr-xtemplate/popular_dump.st8
-rwxr-xr-xtemplate/profile.st2
-rwxr-xr-xtemplate/profile_dump.st14
-rwxr-xr-xtemplate/profilelog.st10
-rwxr-xr-xtemplate/profilenew.st2
-rwxr-xr-xtemplate/rooms/frontpage.st6
-rwxr-xr-xtemplate/search_files.st2
-rwxr-xr-xtemplate/share_buttons.st8
-rwxr-xr-xtemplate/simplerlog.st6
-rwxr-xr-xtemplate/single_message.st20
-rwxr-xr-xtemplate/single_message_share_buttons.st8
-rwxr-xr-xtemplate/tagged_dumps.st4
-rwxr-xr-xtemplate/topic.st4
-rwxr-xr-xtemplate/topic_dump.st6
-rwxr-xr-xtemplate/userlog.st6
36 files changed, 194 insertions, 194 deletions
diff --git a/src/site.clj b/src/site.clj
index be3edd4..8e5082b 100755
--- a/src/site.clj
+++ b/src/site.clj
@@ -232,7 +232,7 @@
(catch Exception e (println e) [])))
3600
nil))
-(def num-frontpage-dumps 20)
+(def num-frontpage-humps 20)
(defn front-page
([session]
@@ -246,12 +246,12 @@
(cond (.before cur-date earliest-daily-hall) (redirect-to "/")
(.after cur-date today) (redirect-to "/")
:else (let [st (fetch-template "frontpage" session)
- dumps (map process-message-for-output
+ humps (map process-message-for-output
(if (:nick session)
(fetch-redis-daily-hall cur-date 0 20 (:user_id session))
- (take num-frontpage-dumps
+ (take num-frontpage-humps
(shuffle (poll frontpage-posts-agent)))))]
- (.setAttribute st "dumps" dumps)
+ (.setAttribute st "humps" humps)
(if-not (.after next-date today)
(.setAttribute st "next_date" (format-yyyymmdd next-date)))
(if-not (.before prev-date earliest-daily-hall)
@@ -496,35 +496,35 @@ WHERE user_id IN
([session user-info date msg-id template]
(let [st (fetch-template template session)
logger (make-time-logger)
- raw-dumps (tags/fetch-dumps
+ raw-humps (tags/fetch-dumps
:nick (:nick user-info)
:user-tag-id (:user_id session)
:msg-id msg-id
:date (if msg-id nil date)
:limit (inc *dumps-per-page*))
- recips (map :nick (get-recips-from-msgs raw-dumps))
- back-dumps (if (or date msg-id)
+ recips (map :nick (get-recips-from-msgs raw-humps))
+ back-humps (if (or date msg-id)
(tags/fetch-dumps
:nick (:nick user-info)
:msg-id msg-id
:date (if msg-id nil date)
:limit (inc *dumps-per-page*)
:direction :forward))
- dumps (map process-message-for-output (take *dumps-per-page* raw-dumps))]
+ humps (map process-message-for-output (take *dumps-per-page* raw-humps))]
(.setAttribute st "nick" (:nick user-info))
(.setAttribute st "is_home" (= (:nick user-info) (:nick session)))
(.setAttribute st "mini_profile" (build-mini-profile user-info))
- (when (> (count dumps) 0)
- (.setAttribute st "dumps" dumps))
+ (when (> (count humps) 0)
+ (.setAttribute st "humps" humps))
(.setAttribute st "recips" (json-str recips))
(.setAttribute st "prev"
- (if back-dumps
+ (if back-humps
(cond
- (> (count back-dumps) *dumps-per-page*) (log-next-page-link (last back-dumps))
- (> (count back-dumps) 1) (format "/%s/log" (:nick user-info))
+ (> (count back-humps) *dumps-per-page*) (log-next-page-link (last back-humps))
+ (> (count back-humps) 1) (format "/%s/log" (:nick user-info))
:else nil)))
- (if (> (count raw-dumps) *dumps-per-page*)
- (.setAttribute st "next" (log-next-page-link (last raw-dumps))))
+ (if (> (count raw-humps) *dumps-per-page*)
+ (.setAttribute st "next" (log-next-page-link (last raw-humps))))
(.setAttribute st "debug_log_items" (logger))
(.toString st))))
@@ -540,13 +540,13 @@ WHERE user_id IN
(if-let [user-info (fetch-nick profile-nick)]
(let [st (fetch-template "popular" session)
profile-nick (:nick user-info)
- raw-dumps (fetch-popular-dumps-redis profile-nick (:nick session))
- raw-dumps (filter #(> (:count %) 0) raw-dumps)
- recips (map :nick (get-recips-from-msgs raw-dumps))
- dumps (map process-message-for-output raw-dumps)]
+ raw-humps (fetch-popular-dumps-redis profile-nick (:nick session))
+ raw-humps (filter #(> (:count %) 0) raw-humps)
+ recips (map :nick (get-recips-from-msgs raw-humps))
+ humps (map process-message-for-output raw-humps)]
(.setAttribute st "nick" profile-nick)
(.setAttribute st "mini_profile" (build-mini-profile user-info))
- (.setAttribute st "dumps" dumps)
+ (.setAttribute st "humps" humps)
(.setAttribute st "recips" (json-str recips))
(.toString st))
(resp-error "NO_USER")))
@@ -610,9 +610,9 @@ WHERE user_id IN
(if-let [message (fetch-public-message-by-id id-from-url (:nick session))]
; error if nick in url doesn't match the nick who posted the message from the id in url
; this prevents people from scraping all the content by incrementing the id in the url
- (if (= nick-from-url (:nick message))
- (let [st (fetch-template "single_message" session)]
- (.setAttribute st "dump" (process-message-for-output message))
+ (if (= nick-from-url (:nick message))
+ (let [st (fetch-template "single_message" session)]
+ (.setAttribute st "hump" (process-message-for-output message))
(.setAttribute st "recips" (json-str (map :nick (get-recips (:content message)))))
(.toString st))
(resp-error "NO_MESSAGE"))
@@ -762,7 +762,7 @@ WHERE user_id IN
(.setAttribute st "recips" (json-str recips))
(.setAttribute st "topic" topic)
(if-not (empty? msgs)
- (.setAttribute st "dumps" msgs))
+ (.setAttribute st "humps" msgs))
(.toString st)))
;; Chat Log
@@ -772,24 +772,24 @@ WHERE user_id IN
st (fetch-template "log" session)
logger (make-time-logger)
offset (maybe-parse-int offset 0)
- dump-offset (* offset *dumps-per-page*)
+ hump-offset (* offset *dumps-per-page*)
image-only (and (not (room :admin_only))
(not= (params :show) "all"))
- raw-dumps (logger tags/fetch-dumps-by-room
+ raw-humps (logger tags/fetch-dumps-by-room
:room-id (room :room_id)
:image-only image-only
:amount (+ 1 *dumps-per-page*)
- :offset dump-offset)
- dumps (map tags/add-favorited-flag
- (take *dumps-per-page* raw-dumps)
+ :offset hump-offset)
+ humps (map tags/add-favorited-flag
+ (take *dumps-per-page* raw-humps)
(repeat session))
- dumps (map tags/remove-tags-for-output dumps)
- dumps (logger doall (map process-message-for-output dumps))]
- (if (> (count raw-dumps) *dumps-per-page*)
+ humps (map tags/remove-tags-for-output humps)
+ humps (logger doall (map process-message-for-output humps))]
+ (if (> (count raw-humps) *dumps-per-page*)
(.setAttribute st "next" (inc offset)))
(if (not= offset 0)
(.setAttribute st "prev" (max (dec offset) 0)))
- (.setAttribute st "dumps" dumps)
+ (.setAttribute st "humps" humps)
(if (default-room? roomkey)
(.setAttribute st "roomkey" "")
(.setAttribute st "roomkey" (str roomkey ".")))
@@ -814,13 +814,13 @@ WHERE user_id IN
(defn hiscore-test [session params period]
(let [st (fetch-template "hiscore_test" session)
- dumps (tags/fetch-dumps-by-ids (redis-ids-test period))
- dumps (map tags/add-favorited-flag dumps (repeat session))
- dumps (map tags/add-fav-count dumps)
- dumps (reverse (sort-by :favcount dumps))
- dumps (map tags/remove-tags-for-output dumps)
- dumps (map process-message-for-output dumps)]
- (.setAttribute st "dumps" dumps)
+ humps (tags/fetch-dumps-by-ids (redis-ids-test period))
+ humps (map tags/add-favorited-flag humps (repeat session))
+ humps (map tags/add-fav-count humps)
+ humps (reverse (sort-by :favcount humps))
+ humps (map tags/remove-tags-for-output humps)
+ humps (map process-message-for-output humps)]
+ (.setAttribute st "humps" humps)
(.toString st)))
;; Altars
@@ -834,16 +834,16 @@ WHERE user_id IN
user-id (if nick (user-id-from-nick nick) nil)
template (if user-id "altar_user_log" "altar_log")
st (fetch-template template session)
- raw-dumps (tags/fetch-altars :message-id id :amount (+ 1 *dumps-per-page*) :user-id user-id)
- dumps (map tags/add-favorited-flag (take *dumps-per-page* raw-dumps) (repeat session))
- dumps (map tags/remove-tags-for-output dumps)
- dumps (map process-message-for-output dumps)]
- (.setAttribute st "dumps" dumps)
+ raw-humps (tags/fetch-altars :message-id id :amount (+ 1 *dumps-per-page*) :user-id user-id)
+ humps (map tags/add-favorited-flag (take *dumps-per-page* raw-humps) (repeat session))
+ humps (map tags/remove-tags-for-output humps)
+ humps (map process-message-for-output humps)]
+ (.setAttribute st "humps" humps)
(.setAttribute st "nick" nick)
- (if (> (count raw-dumps) *dumps-per-page*)
- (.setAttribute st "next" ((last raw-dumps) :message_id)))
+ (if (> (count raw-humps) *dumps-per-page*)
+ (.setAttribute st "next" ((last raw-humps) :message_id)))
(if id
- (.setAttribute st "prev" ((first raw-dumps) :message_id)))
+ (.setAttribute st "prev" ((first raw-humps) :message_id)))
(.toString st)))
;; Tags
@@ -914,25 +914,25 @@ WHERE user_id IN
:logger (make-time-logger)
:include-vip false]
(let [st (fetch-template "tagged_dumps" session)
- offset (maybe-parse-int (params :offset) 0)
- dump-offset (* offset *dumps-per-page*)
- raw-dumps (logger tags/fetch-dumps-by-tag :tags tags
+ offset (maybe-parse-int (params :offset) 0)
+ hump-offset (* offset *dumps-per-page*)
+ raw-humps (logger tags/fetch-dumps-by-tag :tags tags
:image-only false
:amount (+ 1 *dumps-per-page*)
- :offset dump-offset
+ :offset hump-offset
:message-user-id message-user-id
:tag-user-id tag-user-id
:include-vip include-vip)
- dumps (map tags/add-favorited-flag (take *dumps-per-page* raw-dumps) (repeat session))
- dumps (map tags/remove-tags-for-output dumps)
- dumps (logger doall (map process-message-for-output dumps))]
- (.setAttribute st "dumps" dumps)
+ humps (map tags/add-favorited-flag (take *dumps-per-page* raw-humps) (repeat session))
+ humps (map tags/remove-tags-for-output humps)
+ humps (logger doall (map process-message-for-output humps))]
+ (.setAttribute st "humps" humps)
(.setAttribute st "infobar" info-bar)
(.setAttribute st "page_title" page-title)
(.setAttribute st "page_url" url)
(if (not= offset 0)
(.setAttribute st "prev" (format "/%s/%s" url (max 0 (dec offset)))))
- (if (> (count raw-dumps) *dumps-per-page*)
+ (if (> (count raw-humps) *dumps-per-page*)
(.setAttribute st "next" (format "/%s/%s" url (inc offset))))
(.setAttribute st "debug_log_items" (logger))
(.toString st)))
@@ -964,15 +964,15 @@ WHERE user_id IN
(defn favorites [session user-info date msg-id]
(let [st (fetch-template "tagged_dumps" session)
logger (make-time-logger)
- raw-dumps (tags/fetch-tagged-dumps
+ raw-humps (tags/fetch-tagged-dumps
:nick (:nick user-info)
:user-tag-id (:user_id session)
:msg-id msg-id
:hide-vip (not (:is_admin session))
:date (if msg-id nil date)
:limit (inc *dumps-per-page*))
- recips (map :nick (get-recips-from-msgs raw-dumps))
- back-dumps (if (or date msg-id)
+ recips (map :nick (get-recips-from-msgs raw-humps))
+ back-humps (if (or date msg-id)
(tags/fetch-tagged-dumps
:nick (:nick user-info)
:msg-id msg-id
@@ -980,17 +980,17 @@ WHERE user_id IN
:date (if msg-id nil date)
:limit (inc *dumps-per-page*)
:direction :forward))
- dumps (map process-message-for-output (butlast raw-dumps))]
+ humps (map process-message-for-output (butlast raw-humps))]
(.setAttribute st "prev"
- (if back-dumps
+ (if back-humps
(cond
- (> (count back-dumps) *dumps-per-page*) (favorites-next-page-link (:nick user-info)
- (last back-dumps))
- (> (count back-dumps) 1) (format "/%s/favorites" (:nick user-info))
+ (> (count back-humps) *dumps-per-page*) (favorites-next-page-link (:nick user-info)
+ (last back-humps))
+ (> (count back-humps) 1) (format "/%s/favorites" (:nick user-info))
:else nil)))
- (if (> (count raw-dumps) *dumps-per-page*)
- (.setAttribute st "next" (favorites-next-page-link (:nick user-info) (last raw-dumps))))
- (.setAttribute st "dumps" dumps)
+ (if (> (count raw-humps) *dumps-per-page*)
+ (.setAttribute st "next" (favorites-next-page-link (:nick user-info) (last raw-humps))))
+ (.setAttribute st "humps" humps)
(.setAttribute st "recips" (json-str recips))
(.setAttribute st "infobar" (build-mini-profile user-info))
(.setAttribute st "page_title" (format "%s'S FAVS" (:nick user-info)))
@@ -1218,7 +1218,7 @@ WHERE user_id IN
(defn hall-of-fame [session]
(let [st (fetch-template "fame" session)
msgs (fetch-redis-hall (:nick session))]
- (.setAttribute st "dumps" (map process-message-for-output msgs))
+ (.setAttribute st "humps" (map process-message-for-output msgs))
(.toString st)))
;; MGMT
diff --git a/template/altar_log.st b/template/altar_log.st
index c9a6fba..1bbc223 100755
--- a/template/altar_log.st
+++ b/template/altar_log.st
@@ -16,13 +16,13 @@ $banner()$
</div>
<div id="messageList">
- $if(dumps)$
+ $if(humps)$
<span class="content"><center>
- $dumps: { d | $log_dump(dump=d)$ }$
+ $humps: { d | $log_dump(hump=d)$ }$
</center></span>
$json_tags_block(json_tags=json_tags)$
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/altar_user_log.st b/template/altar_user_log.st
index e58bff8..8d19f58 100755
--- a/template/altar_user_log.st
+++ b/template/altar_user_log.st
@@ -16,13 +16,13 @@
</div>
<div id="messageList">
- $if(dumps)$
+ $if(humps)$
<span class="content">
- $dumps: { d | $log_dump(dump=d)$ }$
+ $humps: { d | $log_dump(hump=d)$ }$
</span>
$json_tags_block(json_tags=json_tags)$
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/directory.st b/template/directory.st
index f0f88fa..7c97da0 100755
--- a/template/directory.st
+++ b/template/directory.st
@@ -21,18 +21,18 @@
<br>
$if(users)$
- $users:{ dump |
- <div class="dlogged-dump dump is-relative $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$">
- <div id="usernicks"> <a href="/$dump.nick$"> <b>$dump.nick$'s</b>
- $if(dump.score_ent)$
- fav score: $dump.score$
- <h9>$dump.score_ent$</h9>
+ $users:{ hump |
+ <div class="dlogged-dump dump is-relative $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$">
+ <div id="usernicks"> <a href="/$hump.nick$"> <b>$hump.nick$'s</b>
+ $if(hump.score_ent)$
+ fav score: $hump.score$
+ <h9>$hump.score_ent$</h9>
</a></div>
$endif$
- $if(dump.avatar)$
- <a href="/$dump.nick$"> <div id="dlogavatar">
- <img height="50" width="50" src="$dump.avatar$" />
+ $if(hump.avatar)$
+ <a href="/$hump.nick$"> <div id="dlogavatar">
+ <img height="50" width="50" src="$hump.avatar$" />
</div>
$else$
<div id="dlogavatar">
@@ -41,9 +41,9 @@
$endif$
</a>
<div id="infotxt"><b>last post</b></div>
- <span class="linkify">$dump.content$</span>
+ <span class="linkify">$hump.content$</span>
<hr />
- $share_buttons(dump=dump)$
+ $share_buttons(hump=hump)$
</div>
}$
$else$
diff --git a/template/fame.st b/template/fame.st
index ab47150..883e6bb 100755
--- a/template/fame.st
+++ b/template/fame.st
@@ -15,12 +15,12 @@
<div id="messageList">
- $if(dumps)$
+ $if(humps)$
<span class="content">
- $dumps: { dump | $fame_dump()$ }$
+ $humps: { hump | $fame_dump()$ }$
</span>
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/fame2.st b/template/fame2.st
index 5360c66..239f43e 100755
--- a/template/fame2.st
+++ b/template/fame2.st
@@ -27,12 +27,12 @@
</form><br>
</div>
<div id="messageList">
- $if(dumps)$
+ $if(humps)$
<span class="content">
- $dumps: { d | $fame_dump(dump=d)$ }$
+ $humps: { d | $fame_dump(hump=d)$ }$
</span>
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/fame_dump.st b/template/fame_dump.st
index 5a8d637..f96bbae 100755
--- a/template/fame_dump.st
+++ b/template/fame_dump.st
@@ -1,14 +1,14 @@
-$if(dump.ztags)$
- <div class="logged-dump dump" id="message-$dump.message_id$" nick="$dump.nick$" tags="$dump.tags: { tag | $tag.nick$:$tag.tag$ }$">
+$if(hump.ztags)$
+ <div class="logged-dump dump" id="message-$hump.message_id$" nick="$hump.nick$" tags="$hump.tags: { tag | $tag.nick$:$tag.tag$ }$">
$else$
- <div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+ <div class="logged-dump dump $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$" nick="$hump.nick$">
$endif$
-$dump.created_on$ -- by <a href="/$dump.nick$"><b>$dump.nick$</b></a>
-<span>&nbsp;&nbsp;&nbsp;<img height="16px" width="16px" src="/static/img/thumbs/heartfaved.gif"><span class="scorecount">$dump.count$</span></span>
+$hump.created_on$ -- by <a href="/$hump.nick$"><b>$hump.nick$</b></a>
+<span>&nbsp;&nbsp;&nbsp;<img height="16px" width="16px" src="/static/img/thumbs/heartfaved.gif"><span class="scorecount">$hump.count$</span></span>
- <div class="content">$dump.content$</div>
+ <div class="content">$hump.content$</div>
<hr />
$hall_share_buttons()$
</div>
diff --git a/template/frontpage copy.st b/template/frontpage copy.st
index 64d5f73..3bc12ae 100755
--- a/template/frontpage copy.st
+++ b/template/frontpage copy.st
@@ -130,8 +130,8 @@
$endif$
</div>
- $if(dumps)$
- $dumps: { dump | $hall_log_dump()$ }$
+ $if(humps)$
+ $humps: { hump | $hall_log_dump()$ }$
$endif$
</div>
diff --git a/template/frontpage.st b/template/frontpage.st
index a1c58aa..8f51d9e 100755
--- a/template/frontpage.st
+++ b/template/frontpage.st
@@ -132,8 +132,8 @@
$endif$
</div>
- $if(dumps)$
- $dumps: { dump | $hall_log_dump()$ }$
+ $if(humps)$
+ $humps: { hump | $hall_log_dump()$ }$
$endif$
</div>
diff --git a/template/frontpagePROFILE.st b/template/frontpagePROFILE.st
index 727843c..ae46b9e 100755
--- a/template/frontpagePROFILE.st
+++ b/template/frontpagePROFILE.st
@@ -150,15 +150,15 @@ You are viewing the current trending images posted to hump.fm; a super fun commu
<iframe src="/fullscreen" class="fullscreen-thumb"></iframe>
</div>
- $if(dumps)$
+ $if(humps)$
- $dumps: { d | $hall_log_dump(dump=d)$ }$
+ $humps: { d | $hall_log_dump(hump=d)$ }$
$json_tags_block(json_tags=json_tags)$
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/frontpage_halloffame.st b/template/frontpage_halloffame.st
index a74eb94..c8dcc2a 100755
--- a/template/frontpage_halloffame.st
+++ b/template/frontpage_halloffame.st
@@ -130,8 +130,8 @@
$endif$
</div>
- $if(dumps)$
- $dumps: { dump | $hall_log_dump()$ }$
+ $if(humps)$
+ $humps: { hump | $hall_log_dump()$ }$
$endif$
</div>
diff --git a/template/frontpage_share_buttons.st b/template/frontpage_share_buttons.st
index d5bdb01..0c8f4b4 100755
--- a/template/frontpage_share_buttons.st
+++ b/template/frontpage_share_buttons.st
@@ -1,6 +1,6 @@
<span class="buttons frontpage">
- <a class="permalink" href="$domain$/p/$dump.nick$/$dump.message_id$"><img src="/static/img/link.gif"></a>
-$if(dump.favorited)$
+ <a class="permalink" href="$domain$/p/$hump.nick$/$hump.message_id$"><img src="/static/img/link.gif"></a>
+$if(hump.favorited)$
<img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.animated_fav(this, '.hallscore', '60px', '40px')">
$else$
<div class="is-relative">
diff --git a/template/hall_log_dump.st b/template/hall_log_dump.st
index d12fecb..a6b014d 100755
--- a/template/hall_log_dump.st
+++ b/template/hall_log_dump.st
@@ -1,7 +1,7 @@
-<div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
- <a href="/$dump.nick$"><b class="hallnick">$dump.nick$</a></b>
- $if(dump.score)$<span class="hallscore" onclick="Tag.animated_fav(this, '.hallscore', '60px', '40px')">$dump.score$</span>$endif$
- <div class="content" data-category="posts">$dump.content$</div>
+<div class="logged-dump dump $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$" nick="$hump.nick$">
+ <a href="/$hump.nick$"><b class="hallnick">$hump.nick$</a></b>
+ $if(hump.score)$<span class="hallscore" onclick="Tag.animated_fav(this, '.hallscore', '60px', '40px')">$hump.score$</span>$endif$
+ <div class="content" data-category="posts">$hump.content$</div>
<hr />
$if(logged_in)$
$frontpage_share_buttons()$
diff --git a/template/hall_share_buttons.st b/template/hall_share_buttons.st
index eb5dd64..a9e8c4e 100755
--- a/template/hall_share_buttons.st
+++ b/template/hall_share_buttons.st
@@ -3,9 +3,9 @@
<img src="/static/img/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
<img src="/static/img/share/twittericon.png" class="share" onclick="Share.twitter(this)">
<img src="/static/img/share/delishicon.png" class="share" onclick="Share.delicious(this)">
- <a class="permalink" href="/p/$dump.nick$/$dump.message_id$"><img src="/static/img/link.gif"></a>
+ <a class="permalink" href="/p/$hump.nick$/$hump.message_id$"><img src="/static/img/link.gif"></a>
$if(logged_in)$
-$if(dump.favorited)$
+$if(hump.favorited)$
<img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.animated_fav(this, '.scorecount', '18px', '12px')">
$else$
<div class="is-relative">
@@ -13,7 +13,7 @@ $else$
</div>
$endif$
$endif$
-$if(dump.favcount)$
- $dump.favcount$
+$if(hump.favcount)$
+ $hump.favcount$
$endif$
</span>
diff --git a/template/hiscore_test.st b/template/hiscore_test.st
index 44c6346..662a0b1 100755
--- a/template/hiscore_test.st
+++ b/template/hiscore_test.st
@@ -12,7 +12,7 @@ $banner()$
<div id="content">
<div id="messagePanep">
<div id="userListp">
- <h2> most fav'd dumps this
+ <h2> most fav'd humps this
<a href="/test/hiscores/day">day</a>,
<a href="/test/hiscores/week">week</a>,
<a href="/test/hiscores/month">month</a>,
@@ -21,13 +21,13 @@ $banner()$
</div>
<div id="messageList">
- $if(dumps)$
+ $if(humps)$
<span class="content"><center>
- $dumps: { d | $log_dump(dump=d)$ }$
+ $humps: { d | $log_dump(hump=d)$ }$
</center></span>
$json_tags_block(json_tags=json_tags)$
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/log.st b/template/log.st
index a2a8888..1afb0d1 100755
--- a/template/log.st
+++ b/template/log.st
@@ -16,13 +16,13 @@
</div>
<div id="messageList">
- $if(dumps)$
+ $if(humps)$
<span class="content">
- $dumps: { d | $log_dump(dump=d)$ }$
+ $humps: { d | $log_dump(hump=d)$ }$
</span>
$json_tags_block(json_tags=json_tags)$
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/log_dump.st b/template/log_dump.st
index fced8de..daf6fda 100755
--- a/template/log_dump.st
+++ b/template/log_dump.st
@@ -1,11 +1,11 @@
-$if(dump.ztags)$
- <div class="logged-dump dump" id="message-$dump.message_id$" nick="$dump.nick$" tags="$dump.tags: { tag | $tag.nick$:$tag.tag$ }$">
+$if(hump.ztags)$
+ <div class="logged-dump dump" id="message-$hump.message_id$" nick="$hump.nick$" tags="$hump.tags: { tag | $tag.nick$:$tag.tag$ }$">
$else$
- <div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+ <div class="logged-dump dump $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$" nick="$hump.nick$">
$endif$
-$dump.created_on$ -- by <a href="/$dump.nick$"><b>$dump.nick$</b></a>
-<div class="content" data-category="posts">$dump.content$</div>
+$hump.created_on$ -- by <a href="/$hump.nick$"><b>$hump.nick$</b></a>
+<div class="content" data-category="posts">$hump.content$</div>
<hr />
$share_buttons()$
</div>
diff --git a/template/mini_profile.st b/template/mini_profile.st
index e32cc5b..5db8977 100755
--- a/template/mini_profile.st
+++ b/template/mini_profile.st
@@ -18,9 +18,9 @@
</div>
$endif$
- <div><a href="/$nick$/log">dumps</a></div>
- <div><a href="/$nick$/favorites">dumps faved</a></div>
- <div><a href="/$nick$/popular">top dumps</a></div>
+ <div><a href="/$nick$/log">humps</a></div>
+ <div><a href="/$nick$/favorites">humps faved</a></div>
+ <div><a href="/$nick$/popular">top humps</a></div>
<br> <h3>contact info</h3>
$if(contact)$
diff --git a/template/newlog.st b/template/newlog.st
index 559c4b7..9bef1f7 100755
--- a/template/newlog.st
+++ b/template/newlog.st
@@ -123,14 +123,14 @@ window.location = "/error/ie";
<div id="posts">
<div id="sideinfo">$roomkey$ log</div>
- $if(dumps)$
+ $if(humps)$
- $dumps: { d | $log_dump(dump=d)$ }$
+ $humps: { d | $log_dump(hump=d)$ }$
$json_tags_block(json_tags=json_tags)$
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/nigga.st b/template/nigga.st
index f8920e4..91b0d8b 100755
--- a/template/nigga.st
+++ b/template/nigga.st
@@ -78,15 +78,15 @@
<div id="middash">
- <h2><a href="/$nick$">$dump_cnt$ dumps &#10145;</a></h2>
+ <h2><a href="/$nick$">$dump_cnt$ humps &#10145;</a></h2>
<hr>
</h8>
- <h2><a href="/$nick$/favorites">$dumps_user_faved_cnt$ dumps Faved &#10145;</a></h2>
+ <h2><a href="/$nick$/favorites">$dumps_user_faved_cnt$ humps Faved &#10145;</a></h2>
<hr>
- <h3> $if(score_ent)$ $score$ $else$ 0 $endif$ of $if(is_home)$ your $else$ $nick$'s$endif$ dumps Faved</h3>
+ <h3> $if(score_ent)$ $score$ $else$ 0 $endif$ of $if(is_home)$ your $else$ $nick$'s$endif$ humps Faved</h3>
</div>
<div id="dashpix">
<div id="favstxt">$nick$'s most recent favs</div>
diff --git a/template/popular.st b/template/popular.st
index 49395c8..d7312c8 100755
--- a/template/popular.st
+++ b/template/popular.st
@@ -16,11 +16,11 @@
<div id="messagePanep">
$mini_profile$
<div id="messageList">
- $if(dumps)$ <span class="content">
- $dumps:{ d | $popular_dump(dump=d)$ }$
+ $if(humps)$ <span class="content">
+ $humps:{ d | $popular_dump(hump=d)$ }$
</span>
$else$
- no dumps
+ no humps
$endif$
</div>
diff --git a/template/popular_dump.st b/template/popular_dump.st
index ae15326..e98562c 100755
--- a/template/popular_dump.st
+++ b/template/popular_dump.st
@@ -1,15 +1,15 @@
-<div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+<div class="logged-dump dump $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$" nick="$hump.nick$">
<div id="profiletxt">
-$dump.created_on$ - in <b><a href="http://$dump.key$.hump.fm">$dump.key$</a></b>
+$hump.created_on$ - in <b><a href="http://$hump.key$.hump.fm">$hump.key$</a></b>
</div>
-<div class="content">$dump.content$</div>
+<div class="content">$hump.content$</div>
<hr/>
<div class="faver-list">
-$dump.count$ <img src="/static/img/thumbs/heartfavedsm.gif"></span> $dump.favers: { nick | <a href="/$nick$/popular"><b>$nick$</b></a> &nbsp; }$
+$hump.count$ <img src="/static/img/thumbs/heartfavedsm.gif"></span> $hump.favers: { nick | <a href="/$nick$/popular"><b>$nick$</b></a> &nbsp; }$
</div>
$share_buttons()$
</div>
diff --git a/template/profile.st b/template/profile.st
index 6f3e5dc..7522e8a 100755
--- a/template/profile.st
+++ b/template/profile.st
@@ -103,7 +103,7 @@ jQuery(document).ready(function() {
</div>
<div id="dashpix">
- <a href="/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent dumps</div></a>
+ <a href="/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent humps</div></a>
<div id="mostrecentdumps">
$imgs: { img | <a target="_blank" href="$img$"><img src="$img$"></img></a> }$
</div>
diff --git a/template/profile_dump.st b/template/profile_dump.st
index 23d8e6c..0fe4832 100755
--- a/template/profile_dump.st
+++ b/template/profile_dump.st
@@ -1,23 +1,23 @@
-<div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+<div class="logged-dump dump $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$" nick="$hump.nick$">
<div id="profiletxt">
- $dump.created_on$ -- in <b><a href="$dump.roomlink$">$dump.key$</a></b>
+ $hump.created_on$ -- in <b><a href="$hump.roomlink$">$hump.key$</a></b>
</div>
- <a href="/$dump.nick$">
+ <a href="/$hump.nick$">
<div id="logavatar">
-$if(dump.avatar)$
- <img height="50" width="50" src="$dump.avatar$" />
+$if(hump.avatar)$
+ <img height="50" width="50" src="$hump.avatar$" />
$else$
<img height="50" width="50" src="/static/img/noinfo.png">
$endif$
</div></a>
<!--
-$if(dump.favorited)$
+$if(hump.favorited)$
<img src="/static/img/thumbs/heartover.gif" class="thumb favorite" onclick="Tag.favorite(this)">
$else$
<img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.favorite(this)">
$endif$
-->
- <div class="content">$dump.content$</div>
+ <div class="content">$hump.content$</div>
<hr/>
$share_buttons()$
</div>
diff --git a/template/profilelog.st b/template/profilelog.st
index 3f92185..d277f77 100755
--- a/template/profilelog.st
+++ b/template/profilelog.st
@@ -36,8 +36,8 @@
</div>
$endif$
- <div>dumps posted: $dump_cnt$</div>
- <div>dumps $nick$ faved: $dumps_user_faved_cnt$</div>
+ <div>humps posted: $dump_cnt$</div>
+ <div>humps $nick$ faved: $dumps_user_faved_cnt$</div>
$if(is_home)$
<div id="avatar-editing" class="is-hidden">
@@ -79,8 +79,8 @@
<div id="favbox"></div>
<div id="messageList">
- $if(dumps)$ <span class="content">
- $dumps:{ d | $profile_dump(dump=d)$ }$
+ $if(humps)$ <span class="content">
+ $humps:{ d | $profile_dump(hump=d)$ }$
@@ -89,7 +89,7 @@
$else$
- no dumps
+ no humps
$endif$
</div>
diff --git a/template/profilenew.st b/template/profilenew.st
index 48607e7..8569921 100755
--- a/template/profilenew.st
+++ b/template/profilenew.st
@@ -101,7 +101,7 @@ jQuery(document).ready(function() {
</div>
<div class="logged-dump">
- <a href="/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent dumps</div></a>
+ <a href="/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent humps</div></a>
<div class="logged-dump">
$imgs: { img | <a target="_blank" href="$img$"><img src="$img$"></img></a> }$
</div>
diff --git a/template/rooms/frontpage.st b/template/rooms/frontpage.st
index 1cf6fba..fb1b36a 100755
--- a/template/rooms/frontpage.st
+++ b/template/rooms/frontpage.st
@@ -78,12 +78,12 @@
</div>
<div id="messageList">
- $if(dumps)$
+ $if(humps)$
<span class="content">
- $dumps: { d | $fame_dump(dump=d)$ }$
+ $humps: { d | $fame_dump(hump=d)$ }$
</span>
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/search_files.st b/template/search_files.st
index b375f83..ae24080 100755
--- a/template/search_files.st
+++ b/template/search_files.st
@@ -8,7 +8,7 @@
</head>
<body>
- <center>search dumps: <input type="text" name="search-query" id="search-query" /></center><br><br>
+ <center>search humps: <input type="text" name="search-query" id="search-query" /></center><br><br>
<center><div id="search-message"></div><br><br></center>
<div id="fullpage-search-results">
<div id="search-results-images"></div>
diff --git a/template/share_buttons.st b/template/share_buttons.st
index f10a29e..c481607 100755
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -3,9 +3,9 @@
<img src="/static/img/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
<img src="/static/img/share/twittericon.png" class="share" onclick="Share.twitter(this)">
<img src="/static/img/share/delishicon.png" class="share" onclick="Share.delicious(this)">
- <a class="permalink" href="$domain$/p/$dump.nick$/$dump.message_id$"><img src="/static/img/link.gif"></a>
+ <a class="permalink" href="$domain$/p/$hump.nick$/$hump.message_id$"><img src="/static/img/link.gif"></a>
$if(logged_in)$
-$if(dump.favorited)$
+$if(hump.favorited)$
<img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.favorite(this)">
$else$
<div class="is-relative">
@@ -13,7 +13,7 @@ $else$
</div>
$endif$
$endif$
-$if(dump.favcount)$
- $dump.favcount$
+$if(hump.favcount)$
+ $hump.favcount$
$endif$
</span>
diff --git a/template/simplerlog.st b/template/simplerlog.st
index d54f6b3..eee6b8e 100755
--- a/template/simplerlog.st
+++ b/template/simplerlog.st
@@ -141,15 +141,15 @@ hump.fm lets you talk with pictures! Paste an image url, upload, or snap a pic r
</div>
- $if(dumps)$
+ $if(humps)$
- $dumps: { d | $log_dump(dump=d)$ }$
+ $humps: { d | $log_dump(hump=d)$ }$
$json_tags_block(json_tags=json_tags)$
$else$
- No dumps!
+ No humps!
$endif$
</div>
diff --git a/template/single_message.st b/template/single_message.st
index 88d4e3d..33e5e3d 100755
--- a/template/single_message.st
+++ b/template/single_message.st
@@ -10,27 +10,27 @@
<body class="permalink">
$banner()$
<div class="content"><br><br><br>
- <div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+ <div class="logged-dump dump $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$" nick="$hump.nick$">
<div id="profiletxt">
- <a href="/$dump.nick$">
- $if(dump.avatar)$
- <div style="border-image:url($dump.avatar$)">
+ <a href="/$hump.nick$">
+ $if(hump.avatar)$
+ <div style="border-image:url($hump.avatar$)">
<div id="avatarPic">
- <img height="50" width="50" src="$dump.avatar$"></img>
+ <img height="50" width="50" src="$hump.avatar$"></img>
</div>
- <b>$dump.nick$</b>
+ <b>$hump.nick$</b>
</div>
$endif$
</a>
- $dump.created_on$ - in <b><a href="http://$dump.key$.hump.fm">$dump.key$</a></b>
+ $hump.created_on$ - in <b><a href="http://$hump.key$.hump.fm">$hump.key$</a></b>
</div>
- <div class="content">$dump.content$</div>
+ <div class="content">$hump.content$</div>
<hr/>
<div class="faver-list">
- <span class="dump_score">$dump.count$</span>
+ <span class="dump_score">$hump.count$</span>
<img src="/static/img/thumbs/heartfavedsm.gif">
- $dump.favers: { nick | <a href="/$nick$/popular"><b>$nick$</b>&nbsp;</a> }$
+ $hump.favers: { nick | <a href="/$nick$/popular"><b>$nick$</b>&nbsp;</a> }$
</div>
$single_message_share_buttons()$
</div>
diff --git a/template/single_message_share_buttons.st b/template/single_message_share_buttons.st
index 2781199..04a91a3 100755
--- a/template/single_message_share_buttons.st
+++ b/template/single_message_share_buttons.st
@@ -3,9 +3,9 @@
<img src="/static/img/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
<img src="/static/img/share/twittericon.png" class="share" onclick="Share.twitter(this)">
<img src="/static/img/share/delishicon.png" class="share" onclick="Share.delicious(this)">
- <a class="permalink" href="$domain$/p/$dump.nick$/$dump.message_id$"><img src="/static/img/link.gif"></a>
+ <a class="permalink" href="$domain$/p/$hump.nick$/$hump.message_id$"><img src="/static/img/link.gif"></a>
$if(user_nick)$
- $if(dump.favorited)$
+ $if(hump.favorited)$
<img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.animated_fav(this, '.dump_score', '30px', '20px')">
$else$
<div class="is-relative">
@@ -13,7 +13,7 @@ $if(user_nick)$
</div>
$endif$
$endif$
-$if(dump.favcount)$
- $dump.favcount$
+$if(hump.favcount)$
+ $hump.favcount$
$endif$
</span>
diff --git a/template/tagged_dumps.st b/template/tagged_dumps.st
index 052aa34..5f72b4b 100755
--- a/template/tagged_dumps.st
+++ b/template/tagged_dumps.st
@@ -19,8 +19,8 @@
$infobar$
<div id="messageList">
- $if(dumps)$ <span class="content">
- $dumps: { d | $log_dump(dump=d)$ }$
+ $if(humps)$ <span class="content">
+ $humps: { d | $log_dump(hump=d)$ }$
</span>
$else$
<span>favless</span>
diff --git a/template/topic.st b/template/topic.st
index 30a5b87..9addb22 100755
--- a/template/topic.st
+++ b/template/topic.st
@@ -16,9 +16,9 @@
<br><h3></h3>
</div>
<div id="messageList">
- $if(dumps)$
+ $if(humps)$
<span class="content">
- $dumps: { d | $topic_dump(dump=d)$ }$
+ $humps: { d | $topic_dump(hump=d)$ }$
</span>
$else$
<span>Topic #$topic$ doesn't exist yet!</span>
diff --git a/template/topic_dump.st b/template/topic_dump.st
index cc52e4e..be26aeb 100755
--- a/template/topic_dump.st
+++ b/template/topic_dump.st
@@ -1,8 +1,8 @@
-<div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+<div class="logged-dump dump $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$" nick="$hump.nick$">
<div>
- $dump.created_on$ -- by <a href="/$dump.nick$"><b>$dump.nick$</b></a> in <b><a href="$dump.roomlink$">$dump.key$</a></b>
+ $hump.created_on$ -- by <a href="/$hump.nick$"><b>$hump.nick$</b></a> in <b><a href="$hump.roomlink$">$hump.key$</a></b>
</div>
- <div class="content">$dump.content$</div>
+ <div class="content">$hump.content$</div>
<hr/>
$share_buttons()$
</div>
diff --git a/template/userlog.st b/template/userlog.st
index 30925a9..6552642 100755
--- a/template/userlog.st
+++ b/template/userlog.st
@@ -13,11 +13,11 @@
<div id="messagePanep">
$mini_profile$
<div id="messageList">
- $if(dumps)$ <span class="content">
- $dumps:{ d | $profile_dump(dump=d)$ }$
+ $if(humps)$ <span class="content">
+ $humps:{ d | $profile_dump(hump=d)$ }$
</span>
$else$
- no dumps
+ no humps
$endif$
</div>