diff options
author | prashantsinalkar | 2016-08-23 18:16:36 +0530 |
---|---|---|
committer | prashantsinalkar | 2016-08-23 18:16:36 +0530 |
commit | 33427d87ad7b8beca5c953c1b33c375cf4f7456a (patch) | |
tree | 70715752ddcdb2138cf96e38cb94e35e48ba9931 /general.inc | |
parent | 9a6dbc094ba0d7d6f32f4456a863c367edcade5b (diff) | |
download | scilab_textbook_companion-33427d87ad7b8beca5c953c1b33c375cf4f7456a.tar.gz scilab_textbook_companion-33427d87ad7b8beca5c953c1b33c375cf4f7456a.tar.bz2 scilab_textbook_companion-33427d87ad7b8beca5c953c1b33c375cf4f7456a.zip |
removed delete option
Diffstat (limited to 'general.inc')
-rwxr-xr-x | general.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/general.inc b/general.inc index 56e5828..792d9df 100755 --- a/general.inc +++ b/general.inc @@ -269,11 +269,12 @@ function list_examples() $example_data->caption, $approval_status, $example_files, - l('Edit', 'textbook_companion/code/edit/' . $example_data->id) . ' | ' . l('Delete', 'textbook_companion/code/delete/' . $example_data->id, array( + l('Edit', 'textbook_companion/code/edit/' . $example_data->id) + /*l('Edit', 'textbook_companion/code/edit/' . $example_data->id) . ' | ' . l('Delete', 'textbook_companion/code/delete/' . $example_data->id, array( 'attributes' => array( 'onClick' => 'return confirm("Are you sure you want to delete the example?")' ) - )) + ))*/ ), 'valign' => 'top' ); |