{if !empty($statusChanges)}
{$history.added|date_format:"%b %e, %Y %l:%M %p"} - {if (empty($history.oldtypetitle))} {* old was not set *} {include file="Member/Admin/cells/historyAccountType.tpl" row=$history} is set to {$history.newtypetitle|htmlspecialchars} {$history.newstatustitle|htmlspecialchars} status. {include file="Member/Admin/cells/dateJoinedSetTo.tpl" row=$history} {elseif empty($history.newtypetitle)} {* unset this type *} {include file="Member/Admin/cells/historyAccountType.tpl" row=$history} has been cleared. The settings before the changes were: account subtype - {$history.oldtypetitle|htmlspecialchars}, status - {$history.oldstatustitle|htmlspecialchars} {if !empty($history.olddatejoined)}, date joined - {$history.olddatejoined|date_format} {/if}. {else} {if $history.oldtypetitle == $history.newtypetitle && $history.oldstatustitle == $history.newstatustitle && $history.olddatejoined != $history.newdatejoined} {*changed only Date Joined*} Date Joined is {if empty($history.newdatejoined)}unset {else} set to {$history.newdatejoined|date_format}{/if} for {include file="Member/Admin/cells/historyAccountType.tpl" row=$history}: {$history.newtypetitle|htmlspecialchars} {$history.newstatustitle|htmlspecialchars}. {else} {* changed subtype or status (or both) *} {include file="Member/Admin/cells/historyAccountType.tpl" row=$history} is changed from {$history.oldtypetitle|htmlspecialchars} {$history.oldstatustitle|htmlspecialchars} status to {if $history.newtypetitle != $history.oldtypetitle} {$history.newtypetitle|htmlspecialchars} {/if} {if $history.newstatustitle != $history.oldstatustitle} {$history.newstatustitle|htmlspecialchars} {/if} one. {include file="Member/Admin/cells/dateJoinedSetTo.tpl" row=$history} {/if} {/if} |