[svn r19472] minor add styles to buttons see FS#3541

skala
Carlos Vargas 16 years ago
parent efaa6186cc
commit 9aee75c280
  1. 6
      main/auth/inscription.php
  2. 4
      main/messages/new_message.php

@ -1,5 +1,5 @@
<?php
// $Id: inscription.php 18465 2009-02-12 14:17:29Z juliomontoya $
// $Id: inscription.php 19472 2009-03-31 23:51:28Z cvargas1 $
/*
==============================================================================
Dokeos - elearning and course management software
@ -256,7 +256,7 @@ foreach ($extra as $id => $field_details) {
break;
}
}
$form->addElement('submit', 'submit', get_lang('Ok'));
$form->addElement('style_submit_button', 'submit', get_lang('RegisterUser'),'class="save"');
if(isset($_SESSION["user_language_choice"]) && $_SESSION["user_language_choice"]!=""){
$defaults['language'] = $_SESSION["user_language_choice"];
}
@ -472,7 +472,7 @@ if ($form->validate()) {
}
// ?uidReset=true&uidReq=$_user['user_id']
echo "<form action=\"", $actionUrl, "\" method=\"post\">\n", "<input type=\"submit\" name=\"next\" value=\"", get_lang('Next'), "\" validationmsg=\" ", get_lang('Next'), " \">\n", "</form><br>\n";
echo "<form action=\"", $actionUrl, "\" method=\"post\">\n", "<button type=\"submit\" class=\"next\" name=\"next\" value=\"", get_lang('Next'), "\" validationmsg=\" ", get_lang('Next'), " \">".get_lang('Next')."</button>\n", "</form><br>\n";
}
else

@ -1,4 +1,4 @@
<?php // $Id: new_message.php 19471 2009-03-31 23:28:53Z cvargas1 $
<?php // $Id: new_message.php 19472 2009-03-31 23:51:28Z cvargas1 $
/*
==============================================================================
Dokeos - elearning and course management software
@ -170,7 +170,7 @@ function manage_form ($default, $select_from_user_list = null) {
if (isset($_GET['re_id'])) {
$form->addElement('hidden','re_id',$_GET['re_id']);
}
$form->addElement('style_submit_button', 'compose', get_lang('Send'),'class="save"');
$form->addElement('submit', 'compose', get_lang('Send'));
$form->setDefaults($default);
if ($form->validate()) {
$values = $form->exportValues();

Loading…
Cancel
Save