Refactor template to use get_avatar MACRO

This commit is contained in:
Roan Horning 2023-03-13 23:13:25 -04:00
parent dee924e6a8
commit 7a6ace156f
Signed by: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -55,8 +55,7 @@
<!--% this_host = hosts.$id %--> <!--% this_host = hosts.$id %-->
<h2 class="title">Correspondent</h2> <h2 class="title">Correspondent</h2>
<h2><!--% this_host.host %--></h2> <h2><!--% this_host.host %--></h2>
<p><img src="<!--% absolute_path(baseurl) %-->images/<!--% get_avatar_src(this_host.hostid) %-->" <p><!--% get_avatar(this_host.hostid, this_host.host) %--><br>
height="80" alt="Host Image" /><br>
<label>Host ID</label>: <!--% this_host.hostid %--><br><br> <label>Host ID</label>: <!--% this_host.hostid %--><br><br>
<label>email:</label> <u><!--% this_host.email %--></u><br> <label>email:</label> <u><!--% this_host.email %--></u><br>
<label>episodes:</label> <strong><!--% hpr_show_count + twat_show_count %--></strong> <label>episodes:</label> <strong><!--% hpr_show_count + twat_show_count %--></strong>