diff --git a/main/document/document.php b/main/document/document.php
index a127ad10d8..1eff10b371 100644
--- a/main/document/document.php
+++ b/main/document/document.php
@@ -1,4 +1,4 @@
-
'.get_lang('TemplateImage').' : | ';
$template_text .= ' | ';
$template_text .= '';
- $template_text .= '';
+ $template_text .= '';
$template_text .= '';
//show the form
Display::display_normal_message($template_text,false);
diff --git a/main/exercice/exercise.class.php b/main/exercice/exercise.class.php
index e16184d4e1..c8c94f9b21 100644
--- a/main/exercice/exercise.class.php
+++ b/main/exercice/exercise.class.php
@@ -25,7 +25,7 @@
* Exercise class: This class allows to instantiate an object of type Exercise
* @package dokeos.exercise
* @author Olivier Brouckaert
-* @version $Id: exercise.class.php 19675 2009-04-09 08:46:51Z pcool $
+* @version $Id: exercise.class.php 19839 2009-04-17 19:55:53Z cvargas1 $
*/
@@ -874,7 +874,7 @@ class Exercise
$form -> addElement('html','');
diff --git a/main/img/div_hide.gif b/main/img/div_hide.gif
index 88e6b06ce0..17b2be7694 100644
Binary files a/main/img/div_hide.gif and b/main/img/div_hide.gif differ
diff --git a/main/img/div_show.gif b/main/img/div_show.gif
index b7e0a660c6..b2c90b20ea 100644
Binary files a/main/img/div_show.gif and b/main/img/div_show.gif differ
diff --git a/main/inc/lib/sortabletable.class.php b/main/inc/lib/sortabletable.class.php
index 8537c946bc..f2beea6c67 100644
--- a/main/inc/lib/sortabletable.class.php
+++ b/main/inc/lib/sortabletable.class.php
@@ -265,7 +265,7 @@ class SortableTable extends HTML_Table
$html .= '';
}
$html .= '';
- $html .= ' ';
+ $html .= ' ';
}
else
{
diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php
index 27f0371cd6..9dbc039213 100644
--- a/main/newscorm/learnpath.class.php
+++ b/main/newscorm/learnpath.class.php
@@ -6676,8 +6676,16 @@ class learnpath {
$fck_attribute['Config']['CreateDocumentDir'] = $relative_prefix;
$fck_attribute['Config']['CreateDocumentWebDir'] = api_get_path('WEB_COURSE_PATH').api_get_course_path().'/document/';
$fck_attribute['Config']['BaseHref'] = api_get_path('WEB_COURSE_PATH').api_get_course_path().'/document/'.$relative_path;
-
- $form->addElement('style_submit_button', 'submit_button', get_lang('LPCreateDocument'),'class="save"');
+
+ if ($_GET['action']=='add_item'){
+ $class='add';
+ $text=get_lang('LPCreateDocument');
+ } else if ($_GET['action']=='edit_item'){
+ $class='save';
+ $text=get_lang('LPModifyDocument');
+ }
+
+ $form->addElement('style_submit_button', 'submit_button', $text,'class="'.$class.'"');
$renderer = $form->defaultRenderer();
$renderer->setElementTemplate('
{label}
{element}','content_lp');