summaryrefslogtreecommitdiff
path: root/httemplate/edit/msgcat.cgi
diff options
context:
space:
mode:
authorivan <ivan>2002-04-10 13:42:49 +0000
committerivan <ivan>2002-04-10 13:42:49 +0000
commit0b65ce59c7d2ee712389c27954382274ddf718a5 (patch)
treeed8d8fb079faf656fe93e5f68d98e095500c03ef /httemplate/edit/msgcat.cgi
parentfd597aef277c522889a849d78dc7dcae67d00d95 (diff)
bulk checkin from working on the road:
- use msgcat for more error messages - should be all things that would come3 back from the signup server normally now - signup server: don't display access number <SELECT> if there's none or one - signup_server-realtime config option to run billing for signup server signups immediately - signup server: pkg available to success templates, better documentation on success templates - httemplate/edit/msgcat.cgi fields are properly sticky on errors - httemplate/edit/process/msgcat.cgi - don't update identical fields
Diffstat (limited to 'httemplate/edit/msgcat.cgi')
-rwxr-xr-xhttemplate/edit/msgcat.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/edit/msgcat.cgi b/httemplate/edit/msgcat.cgi
index 5d256c05b..ee9b1c6b3 100755
--- a/httemplate/edit/msgcat.cgi
+++ b/httemplate/edit/msgcat.cgi
@@ -1,11 +1,12 @@
<!-- mason kludge -->
<%
-print header("Message catalog", menubar(
+print header("Edit Message catalog", menubar(
# 'Main Menu' => $p,
)), '<BR>';
-print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !. $cgi->param('error')
+print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !. $cgi->param('error').
+ '</FONT><BR><BR>'
if $cgi->param('error');
my $widget = new HTML::Widgets::SelectLayers(
@@ -28,7 +29,7 @@ my $widget = new HTML::Widgets::SelectLayers(
'<TR><TD>'. $msgcat->msgnum. '</TD><TD>'. $msgcat->msgcode. '</TD>'.
'<TD><INPUT TYPE="text" SIZE=32 '.
qq! NAME="!. $msgcat->msgnum. '" '.
- qq!VALUE="!. $msgcat->msg. qq!"></TD>!;
+ qq!VALUE="!. ($cgi->param($msgcat->msgnum)||$msgcat->msg). qq!"></TD>!;
unless ( $layer eq 'en_US' ) {
my $en_msgcat = qsearchs('msgcat', {
'locale' => 'en_US',