Skip to content

Commit

Permalink
Debug modulebuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 31, 2018
1 parent e4cfc2c commit 970f501
Show file tree
Hide file tree
Showing 12 changed files with 1,808 additions and 8 deletions.
404 changes: 404 additions & 0 deletions htdocs/admin/emailcollector_card.php

Large diffs are not rendered by default.

551 changes: 551 additions & 0 deletions htdocs/admin/emailcollector_list.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion htdocs/core/class/translate.class.php
Expand Up @@ -577,7 +577,7 @@ private function getTradFromKey($key)
//$newstr=$this->getLabelFromKey($db,$reg[1],'c_ordersource','code','label');
}

if (! empty($conf->global->MAIN_FEATURES_LEVEL) && $conf->global->MAIN_FEATURES_LEVEL >= 2) dol_syslog(__METHOD__." missing translation for key '".$newstr."' in ".$_SERVER["PHP_SELF"], LOG_DEBUG);
if (! empty($conf->global->MAIN_FEATURES_LEVEL) && $conf->global->MAIN_FEATURES_LEVEL >= 2) dol_syslog(__METHOD__." MAIN_FEATURES_LEVEL=DEVELOP: missing translation for key '".$newstr."' in ".$_SERVER["PHP_SELF"], LOG_DEBUG);

return $newstr;
}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/modEmailCollector.class.php
Expand Up @@ -83,7 +83,7 @@ public function __construct($db)
$this->dirs = array();

// Config pages. Put here list of php page, stored into dav/admin directory, to use to setup module.
$this->config_page_url = array("emailcollector.php");
$this->config_page_url = array("emailcollector_list.php");

// Dependencies
$this->hidden = false; // A condition to hide module
Expand Down

0 comments on commit 970f501

Please sign in to comment.