From e4df0476850eb19b07dbb6522b4c78f034dfebd0 Mon Sep 17 00:00:00 2001 From: Shawn Kwang Date: Mon, 17 Sep 2018 09:50:00 -0500 Subject: [PATCH] web: Misc small fixes. Added tra() function. --- html/inc/account.inc | 4 ++-- html/ops/index.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/inc/account.inc b/html/inc/account.inc index 6c2a358032..11443c994a 100644 --- a/html/inc/account.inc +++ b/html/inc/account.inc @@ -122,7 +122,7 @@ function create_account_form($teamid, $next_url) { if ($checkct and check_termsofuse()) { $terms_of_use = trim(file_get_contents(TERMSOFUSE_FILE)); if ($terms_of_use) { - panel('Terms of Use', function() use($terms_of_use) { + panel(tra('Terms of Use'), function() use($terms_of_use) { echo nl2br($terms_of_use); } ); @@ -166,7 +166,7 @@ function user_agreetermsofuse_form($next_url) { $terms_of_use = trim(file_get_contents(TERMSOFUSE_FILE)); if ($terms_of_use) { - panel('Terms of Use', function() use($terms_of_use) { + panel(tra('Terms of Use'), function() use($terms_of_use) { echo nl2br($terms_of_use); } ); diff --git a/html/ops/index.php b/html/ops/index.php index 822e5bfa18..6dcb0f7127 100644 --- a/html/ops/index.php +++ b/html/ops/index.php @@ -106,7 +106,7 @@ echo "