diff --git a/workflow/engine/templates/triggers/triggers_CreateWizard.html b/workflow/engine/templates/triggers/triggers_CreateWizard.html index 5109b6d6b..6682c93b2 100755 --- a/workflow/engine/templates/triggers/triggers_CreateWizard.html +++ b/workflow/engine/templates/triggers/triggers_CreateWizard.html @@ -43,7 +43,7 @@ {PMFUNTION_DESCRIPTION} -   (More Info) +   ({MORE_INFO}) diff --git a/workflow/engine/templates/triggers/triggers_CreateWizard.php b/workflow/engine/templates/triggers/triggers_CreateWizard.php index bc210bbde..b9644a08c 100755 --- a/workflow/engine/templates/triggers/triggers_CreateWizard.php +++ b/workflow/engine/templates/triggers/triggers_CreateWizard.php @@ -1,26 +1,26 @@ . - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * +/** + * triggers_CreateWizard.php + * + * ProcessMaker Open Source Edition + * Copyright (C) 2004 - 2008 Colosa Inc.23 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * 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. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + * For more information, contact Colosa Inc, 2566 Le Jeune Rd., + * Coral Gables, FL, 33134, USA, or email info@colosa.com. + * */ try { @@ -51,7 +51,7 @@ try { $methodreturnA = explode ( "|", $methodReturn ); $methodReturnLabel = isset ( $methodreturnA [3] ) ? $methodreturnA [3] : $methodReturn; - $aParametersFun = $methodParameters; + $aParametersFun = $methodParameters; $triggerWizardTemplate = PATH_TPL . 'triggers' . PATH_SEP . 'triggers_CreateWizard.html'; $template = new TemplatePower ( $triggerWizardTemplate ); $template->prepare (); @@ -66,6 +66,7 @@ try { if ($methodLink != "") { $template->newBlock ( 'methodLink' ); $template->assign ( 'LIBRARY_METHOD_LINK', $methodLink ); + $template->assign ( 'MORE_INFO', G::LoadTranslation ( 'ID_MORE_INFO' ) ); $template->gotoBlock ( '_ROOT' ); } @@ -105,7 +106,7 @@ try { $paramDescription = isset ( $aParametersFunA [3] ) ? $aParametersFunA [3] : ""; $sPMfunction .= ($nrows != 2) ? ', "' . trim ( str_replace ( "$", "", $paramName ) ) . '"' : '"' . trim ( str_replace ( "$", "", $paramName ) . '"' ); $template->newBlock ( 'paremetersTriggers' ); - $template->assign ( 'LABEL_PARAMETER', $paramLabel ); + $template->assign ( 'LABEL_PARAMETER', $paramLabel ); $template->assign ( 'OPT_PARAMETER', trim ( str_replace ( "$", "", $paramName ) ) ); $sNameTag = 'form.' . trim ( str_replace ( "$", "", $paramName ) ) . '.name'; $sNameTag = trim ( $sNameTag ); @@ -131,4 +132,4 @@ try { die ( $oException->getMessage () ); } unset ( $_SESSION ['PROCESS'] ); -?> \ No newline at end of file +?>