Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE8A318A0B for ; Wed, 23 Mar 2016 21:57:08 +0000 (UTC) Received: (qmail 99925 invoked by uid 500); 23 Mar 2016 21:57:08 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 99878 invoked by uid 500); 23 Mar 2016 21:57:08 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 99869 invoked by uid 99); 23 Mar 2016 21:57:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2016 21:57:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6E92BDFC72; Wed, 23 Mar 2016 21:57:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: scnakandala@apache.org To: commits@airavata.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: airavata-php-gateway git commit: fixing html issue Date: Wed, 23 Mar 2016 21:57:08 +0000 (UTC) Repository: airavata-php-gateway Updated Branches: refs/heads/develop 7a825b33b -> 69de925f5 fixing html issue Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/69de925f Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/69de925f Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/69de925f Branch: refs/heads/develop Commit: 69de925f56642219b11d06f2716125e56dd2e8b3 Parents: 7a825b3 Author: scnakandala Authored: Wed Mar 23 17:57:05 2016 -0400 Committer: scnakandala Committed: Wed Mar 23 17:57:05 2016 -0400 ---------------------------------------------------------------------- app/libraries/ExperimentUtilities.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/69de925f/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index 78403ac..41bb779 100644 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -73,7 +73,6 @@ class ExperimentUtilities $order[$index] = $input->inputOrder; } array_multisort($order, SORT_ASC, $experimentInputs); - $html = ""; foreach ($experimentInputs as $input) { $matchingAppInput = null; @@ -92,14 +91,12 @@ class ExperimentUtilities if(!ExperimentUtilities::endsWith($dataRoot, "/")) $dataRoot += "/"; $filePath = str_replace($hostPathConstant . $dataRoot . Session::get('username'), "", $currentInputPath); - $html .= '

' . basename($filePath) . '

'; + echo '

' . basename($filePath) . '

'; } elseif ($input->type == DataType::STRING || $input->type == DataType::INTEGER || $input->type == DataType::FLOAT) { - $html .= '

' . $input->name . ': ' . $input->value . '

'; + echo '

' . $input->name . ': ' . $input->value . '

'; } } - - return $html; } private static function endsWith($haystack, $needle) {