Panel/modules/ftp/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

22 lines
422 B
PHP

<?php
/*
* Component of the ftp module
*/
if(preg_match("/t/",$server_home['access_rights']) > 0)
{
$module_buttons = array();
$module_buttons = array(
"<a class='monitorbutton' href='?m=ftp&amp;home_id=".$server_home['home_id']."'>
<img src='" . check_theme_image("images/ftp.png") . "' title='". get_lang("ftp") ."'>
<span>". get_lang("ftp") ."</span>
</a>"
);
}
else
$module_buttons = array();
?>