Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/dev/htdocs/custom/stockalert/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/dev/htdocs/custom/stockalert/lib/stockalert.lib.php
<?php
/* StockAlert - Dolibarr module
 * Copyleft 2015 cyberesprit
 *
 * DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
 * TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 *
 * 0. You just DO WHAT THE FUCK YOU WANT TO.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 */

/**
 * \file    lib/stockalert.lib.php
 * \ingroup stockalert
 * \brief   Library file for StockAlert - Dolibarr module
 *
 */
function stockalertAdminPrepareHead()
{
    global $langs, $conf;

    $langs->load("stockalert@stockalert");
    $head   = array();
    $head[] = array
    (
        dol_buildpath("/stockalert/admin/admin_stockalert.php", 1),
        $langs->trans("StockAlertSettings"),
        'settings'
    );

    /*
    $head[] = array
    (
        dol_buildpath("/stockalert/admin/about.php", 1),
        $langs->trans("StockAlertAbout"),
        'about'
    );
    */
    //complete_head_from_modules($conf, $langs, $object, $head, count($head), 'stockalert');

    return $head;
}

Hry