{* component Hotlist *} {script} {if $authorized || $userInList} {literal} $("#add_to_list").click(function(){ hotListFloatBox = OW.ajaxFloatBox("HOTLIST_CMP_Floatbox", {} , {width:380, iconClass: "ow_ic_heart", title: "{/literal}{if $userInList}{text key="hotlist+floatbox_header_remove_from_list"}{else}{text key="hotlist+floatbox_header"}{/if}{literal}"}); }); {/literal} {else} {literal} $("#add_to_list").click(function(){ OW.authorizationLimitedFloatbox({/literal}{$authMsg}{literal}); }); {/literal} {/if} {if $userInList} {literal} $(".hotlist").hover( function () { $('.hotlist_footer').css('visibility', 'visible'); }, function () { $('.hotlist_footer').css('visibility', 'hidden'); } ); {/literal} {/if} {/script}
{if $userList}
{foreach from=$userList item='user' name='userList'} {if $smarty.foreach.userList.first}
{/if}
{if !empty($user.isMarked)}
{/if} {$user.displayName}
{if $smarty.foreach.userList.iteration % ( $number_of_users * $number_of_rows ) == 0 && !$smarty.foreach.userList.last}
{/if} {/foreach}
{else}
{text key="hotlist+label_no_users"}
{/if}