Use the settings get method for the buttons

This commit is contained in:
FusionPBX
2025-04-14 10:36:21 -06:00
committed by GitHub
parent de10ea2a4a
commit c3952028b1
177 changed files with 771 additions and 771 deletions

View File

@@ -146,7 +146,7 @@
echo " <td class='center'>".escape($member_count)."</td>\n";
if (permission_exists('conference_interactive_view') && filter_var($_SESSION['theme']['list_row_edit_button']['boolean'] ?? false, FILTER_VALIDATE_BOOL)) {
echo " <td class='action-button'>";
echo button::create(['type'=>'button','title'=>$text['button-view'],'icon'=>$_SESSION['theme']['button_icon_view'],'link'=>$list_row_url]);
echo button::create(['type'=>'button','title'=>$text['button-view'],'icon'=>$settings->get('theme', 'button_icon_view'),'link'=>$list_row_url]);
echo " </td>\n";
}
echo "</tr>\n";