diff --git a/html/ajax_card.php b/html/ajax_card.php index 5057e6e8f..cfce99ea0 100644 --- a/html/ajax_card.php +++ b/html/ajax_card.php @@ -72,7 +72,7 @@ foreach ($var as $v) { if ( ! isset ($_REQUEST [$v] ) ) { - echo _("$v is not set "); + echo "$v._(' is not set ')"; $cont=1; } } @@ -115,7 +115,7 @@ case 'rmfa': catch (Exception $e) { $cn->rollback(); - echo _($e->getMessage()); + echo $e->getMessage(); } $html=ob_get_contents(); ob_end_clean(); diff --git a/html/ajax_ledger.php b/html/ajax_ledger.php index 06278186d..33f9ffb17 100644 --- a/html/ajax_ledger.php +++ b/html/ajax_ledger.php @@ -97,7 +97,7 @@ if ($ledger=="") { ob_start(); - echo _(HtmlInput::title_box(_("Information")), $div); + echo HtmlInput::title_box(_("Information"), $div); require_once ('template/ledger_detail_forbidden.php'); echo HtmlInput::button_close($div); $html=ob_get_contents(); @@ -119,7 +119,7 @@ $access=$g_user->get_ledger_access($ledger); if ( $access == 'X' ) { ob_start(); - echo _(HtmlInput::title_box(_("Information")), $div); + echo HtmlInput::title_box(_("Information"), $div); require_once ('template/ledger_detail_forbidden.php'); echo HtmlInput::button_close($div); $html=ob_get_contents(); @@ -197,7 +197,7 @@ case 'de': catch (Exception $e) { echo HtmlInput::anchor_close($div); - echo _('