Debug
This commit is contained in:
parent
46f41681ff
commit
69511e2706
@ -65,7 +65,7 @@ class modKnowledgeManagement extends DolibarrModules
|
|||||||
// Module description, used if translation string 'ModuleKnowledgeManagementDesc' not found (KnowledgeManagement is name of module).
|
// Module description, used if translation string 'ModuleKnowledgeManagementDesc' not found (KnowledgeManagement is name of module).
|
||||||
$this->description = "Knowledge Management (KM)";
|
$this->description = "Knowledge Management (KM)";
|
||||||
// Used only if file README.md and README-LL.md not found.
|
// Used only if file README.md and README-LL.md not found.
|
||||||
$this->descriptionlong = "Manage a Knowledge Management (KM) database";
|
$this->descriptionlong = "Manage a Knowledge Management (KM) or Help-Desk base";
|
||||||
|
|
||||||
// Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated' or a version string like 'x.y.z'
|
// Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated' or a version string like 'x.y.z'
|
||||||
$this->version = 'development';
|
$this->version = 'development';
|
||||||
|
|||||||
@ -212,7 +212,7 @@ llxHeader('', $title, $help_url);
|
|||||||
|
|
||||||
// Part to create
|
// Part to create
|
||||||
if ($action == 'create') {
|
if ($action == 'create') {
|
||||||
print load_fiche_titre($langs->trans("NewObject", $langs->transnoentitiesnoconv("KnowledgeRecord")), '', 'object_'.$object->picto);
|
print load_fiche_titre($langs->trans("NewKnowledgeRecord"), '', 'object_'.$object->picto);
|
||||||
|
|
||||||
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||||
|
|||||||
@ -250,7 +250,7 @@ $now = dol_now();
|
|||||||
|
|
||||||
//$help_url="EN:Module_KnowledgeRecord|FR:Module_KnowledgeRecord_FR|ES:Módulo_KnowledgeRecord";
|
//$help_url="EN:Module_KnowledgeRecord|FR:Module_KnowledgeRecord_FR|ES:Módulo_KnowledgeRecord";
|
||||||
$help_url = '';
|
$help_url = '';
|
||||||
$title = $langs->trans('ListOf', $langs->transnoentitiesnoconv("KnowledgeRecords"));
|
$title = $langs->trans('ListOfArticles');
|
||||||
$morejs = array();
|
$morejs = array();
|
||||||
$morecss = array();
|
$morecss = array();
|
||||||
|
|
||||||
@ -382,20 +382,6 @@ if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $
|
|||||||
|
|
||||||
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'classforhorizontalscrolloftabs');
|
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'classforhorizontalscrolloftabs');
|
||||||
|
|
||||||
// Example : Adding jquery code
|
|
||||||
print '<script type="text/javascript" language="javascript">
|
|
||||||
jQuery(document).ready(function() {
|
|
||||||
function init_myfunc()
|
|
||||||
{
|
|
||||||
jQuery("#myid").removeAttr(\'disabled\');
|
|
||||||
jQuery("#myid").attr(\'disabled\',\'disabled\');
|
|
||||||
}
|
|
||||||
init_myfunc();
|
|
||||||
jQuery("#mybutton").click(function() {
|
|
||||||
init_myfunc();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>';
|
|
||||||
|
|
||||||
$arrayofselected = is_array($toselect) ? $toselect : array();
|
$arrayofselected = is_array($toselect) ? $toselect : array();
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
# Module label 'ModuleKnowledgeManagementName'
|
# Module label 'ModuleKnowledgeManagementName'
|
||||||
ModuleKnowledgeManagementName = Knowledge Management System
|
ModuleKnowledgeManagementName = Knowledge Management System
|
||||||
# Module description 'ModuleKnowledgeManagementDesc'
|
# Module description 'ModuleKnowledgeManagementDesc'
|
||||||
ModuleKnowledgeManagementDesc = Manage a Knowledge Management database
|
ModuleKnowledgeManagementDesc=Manage a Knowledge Management (KM) or Help-Desk base
|
||||||
|
|
||||||
#
|
#
|
||||||
# Admin page
|
# Admin page
|
||||||
@ -46,10 +46,10 @@ KnowledgeManagementArea = Knowledge Management
|
|||||||
#
|
#
|
||||||
# Menu
|
# Menu
|
||||||
#
|
#
|
||||||
MenuKnowledgeRecord = Knowledge
|
MenuKnowledgeRecord = Knowledge base
|
||||||
ListKnowledgeRecord = List
|
ListOfArticles = List of articles
|
||||||
NewKnowledgeRecord = New knowledge
|
NewKnowledgeRecord = New article
|
||||||
ValidateReply = Validate solution
|
ValidateReply = Validate solution
|
||||||
KnowledgeRecords = Knowledges
|
KnowledgeRecords = Articles
|
||||||
KnowledgeRecord = Knowledge
|
KnowledgeRecord = Article
|
||||||
KnowledgeRecordExtraFields = Extrafields for Knowledge record
|
KnowledgeRecordExtraFields = Extrafields for Article
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user