teraßyte Posted March 28, 2022 Share Posted March 28, 2022 The code below is from the template applications/core/dev/html/global/global/poll.phtml (lines 60-90): {{if $poll->canVote() || !member.member_id || $poll->canClose() || ( ( $poll->poll_close_date instanceof \IPS\DateTime ) and !$poll->poll_closed ) || ( ( $poll->poll_close_date instanceof \IPS\DateTime ) and $poll->poll_closed )}} <hr class='ipsHr'> {{if $poll->poll_closed}} <p class="ipsType_reset ipsType_medium ipsType_unbold ipsMargin_vertical:half"> <i class='fa fa-lock'></i> {lang="poll_closed_for_votes"} </p> {{endif}} <ul class='ipsToolList ipsToolList_horizontal ipsClearfix cPollButtons'> {{if $poll->canVote()}} <li class='ipsPos_left ipsResponsive_noFloat ipsToolList_primaryAction'> <a href="{$url->setQueryString( '_poll', 'form' )}" title='{lang="show_vote_options"}' class='ipsButton ipsButton_small ipsButton_light ipsButton_fullWidth' data-action='viewResults'><i class='fa fa-caret-left'></i> {lang="show_vote_options"}</a> </li> {{endif}} {{if !member.member_id}} <li class='ipsPos_left ipsResponsive_noFloat'> {lang="poll_guest" sprintf="\IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login' ), \IPS\Http\Url::internal( 'app=core&module=system&controller=register', 'front', 'register' )"} </li> {{endif}} {{if $poll->canClose()}} {{if ! $poll->poll_closed}} <li class='ipsPos_right ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' href='{$url->setQueryString( array( 'do' => 'pollStatus', 'value' => 0 ) )->csrf()}'><i class="fa fa-lock"></i> {lang="poll_close"}</a></li> {{else}} <li class='ipsPos_right ipsResponsive_noFloat'><a class='ipsButton ipsButton_link ipsButton_small ipsButton_fullWidth' href='{$url->setQueryString( array( 'do' => 'pollStatus', 'value' => 1 ) )->csrf()}'><i class="fa fa-unlock"></i> {lang="poll_open"}</a></li> {{endif}} {{endif}} {{if ( $poll->poll_close_date instanceof \IPS\DateTime ) and !$poll->poll_closed}} <li class='ipsPos_right cPollCloseDate ipsResponsive_noFloat'><span class='ipsType_light ipsType_medium'>{lang="poll_auto_closes_on" sprintf="$poll->poll_close_date->localeDate(), $poll->poll_close_date->localeTime( FALSE )"}</span></li> {{elseif ( $poll->poll_close_date instanceof \IPS\DateTime ) and $poll->poll_closed}} <li class='ipsPos_right cPollCloseDate ipsResponsive_noFloat'><span class='ipsType_light ipsType_medium'>{lang="poll_auto_closed_on" sprintf="$poll->poll_close_date->localeDate(), $poll->poll_close_date->localeTime( FALSE )"}</span></li> {{endif}} {{endif}} The <ul> element with the ipsToolList class is missing the closing </ul> at the bottom right before the last {{endif}}. SeNioR- 1 Link to comment Share on other sites More sharing options...
Solution Stuart Silvester Posted May 19, 2022 Solution Share Posted May 19, 2022 Thank you for letting us know, this will be fixed in an upcoming release. SeNioR- 1 Link to comment Share on other sites More sharing options...
Recommended Posts