forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New: Trigger now have a priority to define sort execution order.
- Loading branch information
Showing
17 changed files
with
113 additions
and
2,562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
/* Copyright (C) 2005-2007 Laurent Destailleur <[email protected]> | ||
/* Copyright (C) 2005-2012 Laurent Destailleur <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -17,21 +17,21 @@ | |
|
||
/** | ||
* \file htdocs/admin/triggers.php | ||
* \brief Page de configuration et activation des triggers | ||
* \brief Page to view triggers | ||
*/ | ||
|
||
require("../main.inc.php"); | ||
require_once(DOL_DOCUMENT_ROOT."/core/class/interfaces.class.php"); | ||
|
||
$langs->load("admin"); | ||
|
||
if (!$user->admin) | ||
accessforbidden(); | ||
if (!$user->admin) accessforbidden(); | ||
|
||
/* | ||
* Action | ||
*/ | ||
|
||
// None | ||
|
||
|
||
/* | ||
|
@@ -50,9 +50,11 @@ | |
$template_dir = DOL_DOCUMENT_ROOT.'/core/tpl/'; | ||
|
||
$interfaces = new Interfaces($db); | ||
$triggers = $interfaces->getTriggersList(0); | ||
$triggers = $interfaces->getTriggersList(0,'priority'); | ||
|
||
include($template_dir.'triggers.tpl.php'); | ||
|
||
llxFooter(); | ||
|
||
$db->close(); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.