Commit Diff


commit - c4d12e43706d890a10d2265e06644dee00866c76
commit + 65e5af17e50cbfdaa84cdd2d7d09afb121116f92
blob - 362f320bf5f5b25a8b07a12f10b933c33248803f
blob + bf2f717556a669c708967bb6b81992bbada66d24
--- templates/viewlog.tpl
+++ templates/viewlog.tpl
@@ -19,7 +19,7 @@ if (count($list_domains) > 0) {
 if (count($log ?? array()) > 0) {
 	echo "<table id=\"log_table\">";
 	echo "<tr>";
-	echo "<td colspan=\"5\"><h3>" . $LANG['Viewlog_welcome'] . " " . $domain . " (". LOG_SIZE . ")</h3></td>";
+	echo "<td colspan=\"5\"><h3>" . $LANG['Viewlog_welcome'] . " " . $domain . " (last ". LOG_SIZE . " entries)</h3></td>";
 	echo "</tr>";
 	echo "<tr class=\"header\">";
 	echo "<td>" . $LANG['Viewlog_timestamp'] . "</td>";
@@ -29,7 +29,7 @@ if (count($log ?? array()) > 0) {
 	echo "<td>" . $LANG['Viewlog_data'] . "</td>";
 	echo "</tr>";
 	foreach ($log as $row) {
-		if (strlen($row['data']) > 35) $row['data'] = substr($row['data'], 0, 35) . " ...";
+		if (strlen($row['data']) > 40) $row['data'] = substr($row['data'], 0, 40) . " ...";
 		echo "<tr class=\"hilightoff\" onMouseOver=\"className='hilighton';\" onMouseOut=\"className='hilightoff';\">";
 		echo "<td nowrap>" . $row['timestamp'] . "</td>";
 		echo "<td nowrap>" . $row['username'] . "</td>";