summaryrefslogtreecommitdiff
path: root/editnews.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-02-21 20:51:06 +0000
committerGreg Roach <fisharebest@gmail.com>2016-02-21 22:25:08 +0000
commita86dd8b13b4210d1576f0fdaf5e3c9e5653c4884 (patch)
tree8ce1f1a0ba2852e63136a023b5c6728deea4227a /editnews.php
parent4c621133aafa69fdd64737cca8c1e2754deeee92 (diff)
downloadwebtrees-a86dd8b13b4210d1576f0fdaf5e3c9e5653c4884.tar.gz
webtrees-a86dd8b13b4210d1576f0fdaf5e3c9e5653c4884.tar.bz2
webtrees-a86dd8b13b4210d1576f0fdaf5e3c9e5653c4884.zip
Fix #824 - obsolete HTML markup
Diffstat (limited to 'editnews.php')
-rw-r--r--editnews.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/editnews.php b/editnews.php
index ead5b73cc4..817be5703d 100644
--- a/editnews.php
+++ b/editnews.php
@@ -65,9 +65,9 @@ case 'compose':
echo '<input type="hidden" name="gedcom_id" value="' . $news['gedcom_id'] . '">';
echo '<input type="hidden" name="date" value="' . $news['date'] . '">';
echo '<table>';
- echo '<tr><th style="text-align:left;font-weight:900;" dir="auto;">' . I18N::translate('Title') . '</th><tr>';
+ echo '<tr><th style="text-align:start;">' . I18N::translate('Title') . '</th><tr>';
echo '<tr><td><input type="text" name="title" size="50" dir="auto" autofocus value="' . $news['subject'] . '"></td></tr>';
- echo '<tr><th valign="top" style="text-align:left;font-weight:900;" dir="auto;">' . I18N::translate('Content') . '</th></tr>';
+ echo '<tr><th style="text-align:start;">' . I18N::translate('Content') . '</th></tr>';
echo '<tr><td>';
echo '<textarea name="text" class="html-edit" cols="80" rows="10" dir="auto">' . Filter::escapeHtml($news['body']) . '</textarea>';
echo '</td></tr>';