replaces this.
function FriendsPage::print_body() {
if((size($.entries) == 0)) {
# hacked from custom title bar comps tutorial by lj:masterslacker
# entry header text
var string entry_header = "Error";
# print the header
print_entry_header("<b>$entry_header<b>");
# open entry area
"""
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td width="1" class="dkLine"><img src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt="" border="0" /></td>
<td class="entryHolderBg" width="100%">
""";
print_content_top();
"""<div>""";
# start html block
"""
Viewing of my Friends Page has been disabled.
""";
# end html block
"""</div>""";
# close off the component and place a spacer.
print_content_bottom();
print_system_box_bottom();
print_spacer();
} else {
# print as normal
foreach var Entry e ($.entries) {
$this->print_entry($e);
}
print_bottom_nav($this);
}
}