Browse Source

Update addpost

FI & Video
pull/140/head
Mohamad Fahmi 10 years ago
parent
commit
9eead84004
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      system/admin/views/add-post.html.php

+ 3
- 1
system/admin/views/add-post.html.php View File

@ -13,6 +13,8 @@
<span class="help">If the url leave empty we will use the post title.</span><br><br>
Meta Description (optional)<br><textarea name="description" maxlength="200"><?php if (isset($p->description)) { echo $p->description;} ?></textarea>
<br><br>
Featured Image (optional)<br><input type="text" class="text" name="fi" value="<?php if (isset($postFi)) { echo $postFi;} ?>"/><br><br>
Embed Youtube Video (optional)<br><input type="text" class="text" name="vid" value="<?php if (isset($postVid)) { echo $postVid;} ?>"/><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 if (isset($postContent)) { echo $postContent;} ?></textarea><br/>
<input type="hidden" name="csrf_token" value="<?php echo get_csrf()?>">
@ -28,4 +30,4 @@
editor.run();
})();
</script>
</script>

Loading…
Cancel
Save