# HG changeset patch # User Dan Fuhry # Date 1280539925 14400 # Node ID 871f17a0d27d262d03ccd3514ac49b66fd491514 # Parent 0bc945385d7479a4a578f5c3ba2b2a9289ce7697 Improved display of comments from foes, and fixed some general issues with the friend and foe lists diff -r 0bc945385d74 -r 871f17a0d27d includes/clientside/static/template-compiler.js --- a/includes/clientside/static/template-compiler.js Fri Jul 30 21:31:30 2010 -0400 +++ b/includes/clientside/static/template-compiler.js Fri Jul 30 21:32:05 2010 -0400 @@ -39,6 +39,7 @@ catch(e) { alert(e); + load_component('acl'); aclDebug(tpl_code); } return compiled; @@ -60,6 +61,7 @@ code = code.replace(/\ +
+ {NAME} – {lang:comment_msg_foe_comment_hidden} + {lang:comment_btn_display_foe_comment} +
+ + + style="display: none;"> diff -r 0bc945385d74 -r 871f17a0d27d themes/enanium/comment.tpl --- a/themes/enanium/comment.tpl Fri Jul 30 21:31:30 2010 -0400 +++ b/themes/enanium/comment.tpl Fri Jul 30 21:32:05 2010 -0400 @@ -1,5 +1,13 @@
-
{DATETIME}
+ + +
+ {NAME} – {lang:comment_msg_foe_comment_hidden} + {lang:comment_btn_display_foe_comment} +
+ + +
style="display: none;"> @@ -22,7 +30,10 @@
{DATETIME}
- {SEND_PM_LINK} {ADD_BUDDY_LINK} + {SEND_PM_LINK} + + {ADD_BUDDY_LINK} +
diff -r 0bc945385d74 -r 871f17a0d27d themes/oxygen/comment.tpl --- a/themes/oxygen/comment.tpl Fri Jul 30 21:31:30 2010 -0400 +++ b/themes/oxygen/comment.tpl Fri Jul 30 21:32:05 2010 -0400 @@ -1,5 +1,13 @@
- + + +
+ {NAME} – {lang:comment_msg_foe_comment_hidden} + {lang:comment_btn_display_foe_comment} +
+ + +
style="display: none;"> @@ -22,7 +30,10 @@
{DATETIME}
- {SEND_PM_LINK} {ADD_BUDDY_LINK} + {SEND_PM_LINK} + + {ADD_BUDDY_LINK} +
diff -r 0bc945385d74 -r 871f17a0d27d themes/printable/comment.tpl --- a/themes/printable/comment.tpl Fri Jul 30 21:31:30 2010 -0400 +++ b/themes/printable/comment.tpl Fri Jul 30 21:32:05 2010 -0400 @@ -1,5 +1,13 @@
- + + +
+ {NAME} – {lang:comment_msg_foe_comment_hidden} + {lang:comment_btn_display_foe_comment} +
+ + +
style="display: none;"> diff -r 0bc945385d74 -r 871f17a0d27d themes/stpatty/comment.tpl --- a/themes/stpatty/comment.tpl Fri Jul 30 21:31:30 2010 -0400 +++ b/themes/stpatty/comment.tpl Fri Jul 30 21:32:05 2010 -0400 @@ -1,5 +1,13 @@
-
{DATETIME}
+ + +
+ {NAME} – {lang:comment_msg_foe_comment_hidden} + {lang:comment_btn_display_foe_comment} +
+ + +
style="display: none;">
{DATETIME}