Panel/modules/user_games/monitor_buttons.php
copilot-swe-agent[bot] 898018d204 Complete license header replacement with file purpose descriptions (675 files)
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-09-05 22:46:27 +00:00

21 lines
No EOL
724 B
PHP

<?php
/*
* Component of the user_games module
*/
$module_buttons = array(
"<a class='monitorbutton' href='?m=user_games&amp;p=edit&amp;home_id=".$server_home['home_id']."'>
<img src='" . check_theme_image("images/edit.png") . "' title='". get_lang("edit") ."'>
<span>". get_lang("edit") ."</span>
</a>"
);
if(preg_match("/c/",$server_home['access_rights'])){
if( isset($server_xml->custom_fields) ) {
$module_buttons[] = "<a href=\"?m=user_games&p=custom_fields&home_id=".$server_home['home_id']."\" class=\"monitorbutton\">
<img src='" . check_theme_image("images/customfields.png") . "' title='". get_lang("custom_fields") ."'>
<span>". get_lang("custom_fields") ."</span>
</a>";
}
}
?>