diff options
Diffstat (limited to 'h-source/Application/Views/Notebooks/form.php')
-rw-r--r-- | h-source/Application/Views/Notebooks/form.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/h-source/Application/Views/Notebooks/form.php b/h-source/Application/Views/Notebooks/form.php index d4e871b..a331539 100644 --- a/h-source/Application/Views/Notebooks/form.php +++ b/h-source/Application/Views/Notebooks/form.php @@ -120,11 +120,20 @@ <div class="form_entry"> <div class="entry_label"><?php echo gtext("Description: (write here all the useful information)");?><br /><a href="<?php echo $this->baseUrl."/help/index/$lang#wiki-syntax";?>"><?php echo gtext("discover all the wiki tags");?></a></div> + + <?php if (isset($descriptionPreview)) { ?> + <div class="description_preview_title"><?php echo gtext("Description entry preview");?>:</div> + <div class="description_preview"> + <?php echo decodeWikiText($descriptionPreview); ?> + </div> + <?php } ?> + <?php echo Html_Form::textarea('description',$values['description'],'textarea_entry','bb_code');?> </div> <?php echo $hiddenInput;?> - + + <input type="submit" name="previewAction" value="Preview"> <input type="submit" name="<?php echo $submitName;?>" value="Save"> <div class="mandatory_fields_notice"> |