diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-29 11:54:37 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-29 11:54:37 +0000 |
commit | 259e2f5c7ed239d6d9213a90ca1a8af950b3c21b (patch) | |
tree | 1050ce02e488205034d10501aac56543ecba1f00 /modules/node | |
parent | aafd4733ba094572a9098bef23b0df26f821f167 (diff) | |
download | brdo-259e2f5c7ed239d6d9213a90ca1a8af950b3c21b.tar.gz brdo-259e2f5c7ed239d6d9213a90ca1a8af950b3c21b.tar.bz2 |
#195678 by catch: standardise on Save and Preview button terminology (for comments) and button placement for comments and nodes, so Save is always the leftmost button, and there is no guessing to find it
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.pages.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index 8b994a4f7..fc916669c 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -225,17 +225,17 @@ function node_form(&$form_state, $node) { // Add the buttons. $form['buttons'] = array(); - $form['buttons']['preview'] = array( + $form['buttons']['submit'] = array( '#type' => 'submit', - '#value' => t('Preview'), + '#value' => t('Save'), '#weight' => 5, - '#submit' => array('node_form_build_preview'), + '#submit' => array('node_form_submit'), ); - $form['buttons']['submit'] = array( + $form['buttons']['preview'] = array( '#type' => 'submit', - '#value' => t('Save'), + '#value' => t('Preview'), '#weight' => 10, - '#submit' => array('node_form_submit'), + '#submit' => array('node_form_build_preview'), ); if (!empty($node->nid) && node_access('delete', $node)) { $form['buttons']['delete'] = array( |