Update of /cvsroot/phpslash/phpslash-ft/public_html/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv30216/phpslash-ft/public_html/admin
Modified Files:
sectionAdmin.php3 submissionAdmin.php3
Log Message:
Admin messages should be available for translation now.
Index: sectionAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/sectionAdmin.php3,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** sectionAdmin.php3 20 Dec 2002 22:17:32 -0000 1.10
--- sectionAdmin.php3 23 Jan 2003 02:48:02 -0000 1.11
***************
*** 47,55 ****
if ($perm->have_perm("sectionDelete")) {
$success = $section->deleteSection($section_id);
! if($success) {
$content .= getMessage($section->getMessage());
! } else {
$content .= getError($section->getMessage());
! }
}
break;
--- 47,55 ----
if ($perm->have_perm("sectionDelete")) {
$success = $section->deleteSection($section_id);
! if($success) {
$content .= getMessage($section->getMessage());
! } else {
$content .= getError($section->getMessage());
! }
}
break;
Index: submissionAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/submissionAdmin.php3,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** submissionAdmin.php3 20 Dec 2002 22:17:32 -0000 1.12
--- submissionAdmin.php3 23 Jan 2003 02:48:02 -0000 1.13
***************
*** 55,63 ****
$submission->deleteSubmission($submission_id_ary[$i]);
}
! $content .= "$count record deleted<BR>\n";
} else {
! $content .= "<BR><BR>This would work <B>SO</B> much better if you actually selected something to delete!<BR>\n";
}
! }
break;
--- 55,63 ----
$submission->deleteSubmission($submission_id_ary[$i]);
}
! $content .= $count.pslgetText(" record deleted")."<BR>\n";
} else {
! $content .= "<BR><BR>".pslgetText("This would work SO much better if you actually selected something to delete!")."<BR>\n";
}
! }
break;
|