diff options
author | prashantsinalkar | 2016-08-24 11:46:59 +0530 |
---|---|---|
committer | prashantsinalkar | 2016-08-24 11:46:59 +0530 |
commit | bcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4 (patch) | |
tree | 1f11df744c6e65fdbb49dbd71b09d6173615e8d8 | |
parent | 59a4134b853235523481b0b403d38df97ea41939 (diff) | |
download | scilab_textbook_companion-bcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4.tar.gz scilab_textbook_companion-bcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4.tar.bz2 scilab_textbook_companion-bcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4.zip |
added note to upload code
-rwxr-xr-x | editcode.inc | 5 |
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( |