summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2016-08-24 11:46:59 +0530
committerprashantsinalkar2016-08-24 11:46:59 +0530
commitbcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4 (patch)
tree1f11df744c6e65fdbb49dbd71b09d6173615e8d8
parent59a4134b853235523481b0b403d38df97ea41939 (diff)
downloadscilab_textbook_companion-bcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4.tar.gz
scilab_textbook_companion-bcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4.tar.bz2
scilab_textbook_companion-bcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4.zip
added note to upload code
-rwxr-xr-xeditcode.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/editcode.inc b/editcode.inc
index 8cf51eb..cbd806b 100755
--- a/editcode.inc
+++ b/editcode.inc
@@ -216,6 +216,11 @@ function upload_examples_edit_form($form, $form_state)
'#title' => t('Existing Main or Source File'),
'#markup' => $source_file
);
+ $form['sourcefile']['source_file_action_note'] = array(
+ '#type' => 'item',
+ '#title' => t('Note:'),
+ '#markup' => t("<Strong style='color:red' >Use Replace option to upload your corrected code. Do not delete the example if your book is under review, you can always edit and upload it by the Replace option.</strong>")
+ );
$form['sourcefile']['source_file_action'] = array(
'#type' => 'radios',
'#options' => array(