Update intracommreport.php
This commit is contained in:
parent
31fcfc5aa5
commit
1a061b1690
@ -13,15 +13,17 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/intracommreport/admin/intracommreport.php
|
* \file htdocs/intracommreport/admin/intracommreport.php
|
||||||
* \ingroup intracommreport
|
* \ingroup intracommreport
|
||||||
* \brief Page to setup the module intracomm report
|
* \brief Page to setup the module intracomm report
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
// Load Dolibarr environment
|
||||||
require '../../main.inc.php';
|
require '../../main.inc.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/intracommreport.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/intracommreport.lib.php';
|
||||||
@ -30,10 +32,12 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
|
|||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array("admin", "intracommreport"));
|
$langs->loadLangs(array("admin", "intracommreport"));
|
||||||
|
|
||||||
|
// Access Control
|
||||||
if (!$user->admin) {
|
if (!$user->admin) {
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get Parameters
|
||||||
$action = GETPOST('action', 'aZ09');
|
$action = GETPOST('action', 'aZ09');
|
||||||
|
|
||||||
// Parameters INTRACOMMREPORT_* and others
|
// Parameters INTRACOMMREPORT_* and others
|
||||||
@ -81,6 +85,7 @@ if ($action == 'update') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user