Browse Source

[svn r16553] change "ok" button to "save document"

Eric Marguin 16 years ago
parent
commit
fa7b9073ff
2 changed files with 6 additions and 6 deletions
  1. 3 3
      main/document/create_document.php
  2. 3 3
      main/document/edit_document.php

+ 3 - 3
main/document/create_document.php

@@ -1,5 +1,5 @@
 <?php
-// $Id: create_document.php 16447 2008-10-08 00:47:01Z yannoo $
+// $Id: create_document.php 16553 2008-10-17 07:31:11Z elixir_inter $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -344,14 +344,14 @@ else
 	));		
 }
 
-$form->addElement('submit', 'submit', get_lang('Ok'));
+$form->addElement('submit', 'submit', get_lang('SaveDocument'));
 
 // HTML-editor
 $form->add_html_editor('content','', false, false);
 // Comment-field
 
 //$form->addElement('textarea', 'comment', get_lang('Comment'), array ('rows' => 5, 'cols' => 50));
-$form->addElement('submit', 'submit', get_lang('Ok'));
+$form->addElement('submit', 'submit', get_lang('SaveDocument'));
 $form->setDefaults($default);
 
 // HTML

+ 3 - 3
main/document/edit_document.php

@@ -1,4 +1,4 @@
-<?php // $Id: edit_document.php 15984 2008-08-13 17:24:24Z juliomontoya $
+<?php // $Id: edit_document.php 16553 2008-10-17 07:31:11Z elixir_inter $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -591,7 +591,7 @@ if ($owner_id == $_user['user_id'] || api_is_platform_admin() || api_is_allowed_
 	{
 		if (empty($readonly) && $readonly==0)
 		{	
-			$form->addElement('submit','submit',get_lang('Ok'));	
+			$form->addElement('submit','submit',get_lang('SaveDocument'));	
 			$_SESSION['showedit']=1;
 			$form->add_html_editor('texte','',false,true);
 		}			
@@ -616,7 +616,7 @@ if ($owner_id == $_user['user_id'] || api_is_platform_admin() || api_is_allowed_
 			$checked->setChecked(true);
 		}
 	}		
-	$form->addElement('submit','submit',get_lang('Ok'));
+	$form->addElement('submit','submit',get_lang('SaveDocument'));
 			
 	$defaults['filename'] = $filename;
 	$defaults['extension'] = $extension;