Bug Fix on Meta Description Author Page

This commit is contained in:
Kanti 2014-08-22 07:34:56 +02:00
commit cd0d4cce2f
2 changed files with 3 additions and 5 deletions

View file

@ -12,8 +12,8 @@
$oldcontent = remove_html_comments($content);
}
else {
$oldtitle = $user;
$oldcontent = 'Just another HTMLy user.';
$oldtitle = $user;
$oldcontent = 'Just another HTMLy user.';
}
?>
@ -28,7 +28,6 @@
<div class="wmd-panel">
<form method="POST">
Title <span class="required">*</span> <br><input type="text" name="title" class="text <?php if (isset($postTitle)) { if (empty($postTitle)) { echo 'error';}} ?>" value="<?php echo $oldtitle?>"/><br><br>
Meta Description (optional)<br><input type="text" class="text" name="description" value="<?php if (isset($postDescription)) { echo $postDescription;} ?>"/><br>
<br>
<div id="wmd-button-bar" class="wmd-button-bar"></div>
<textarea id="wmd-input" class="wmd-input <?php if (isset($postContent)) { if (empty($postContent)) { echo 'error';}} ?>" name="content" cols="20" rows="10"><?php echo $oldcontent ?></textarea><br>