[svn r18287] -Changes login icon

-Minor modifications in css
-Replaces old buttons by new ones in :
    -Forum
    -User
    -Chat
    -Survey
    -Notebook
    -Properties
skala
Noël Dieschburg 17 years ago
parent a0f0ba26cf
commit 1eebd5681b
  1. 2
      main/chat/chat_message.php
  2. 4
      main/course_info/infocours.php
  3. 12
      main/css/academica/default.css
  4. 12
      main/css/baby_orange/default.css
  5. 12
      main/css/corporate/default.css
  6. 12
      main/css/cosmic_campus/default.css
  7. 12
      main/css/dokeos_classic/default.css
  8. 12
      main/css/public_admin/default.css
  9. BIN
      main/img/button_accept2.gif
  10. BIN
      main/img/button_add.gif
  11. BIN
      main/img/button_delete.gif
  12. BIN
      main/img/button_login.gif
  13. 4
      main/notebook/index.php
  14. 4
      main/survey/create_new_survey.php
  15. 24
      main/survey/survey.lib.php
  16. 2
      main/survey/survey_invite.php
  17. 4
      main/user/user.php
  18. 4
      main/user/userInfo.php

@ -45,7 +45,7 @@ require('../inc/global.inc.php');
$course=api_get_course_id();
/////
// Juan Carlos Raña insert smileys and self-closing window
// Juan Carlos Ra<EFBFBD>a insert smileys and self-closing window
////
?>
<script language="javascript" type="text/javascript">

@ -1,4 +1,4 @@
<?php // $Id: infocours.php 17548 2009-01-06 16:12:51Z cvargas1 $
<?php // $Id: infocours.php 18287 2009-02-06 16:23:12Z ndieschburg $
/*
==============================================================================
@ -238,7 +238,7 @@ if (api_get_setting('allow_course_theme') == 'true')
if (is_settings_editable())
{
$form->addElement('submit', null, get_lang('Ok'));
$form->addElement('style_submit_button', null, get_lang('Save'), 'class="save"');
}
else
{

@ -1614,15 +1614,3 @@ button.search {
button.login {
background-image:url(/main/img/button_login.gif);
}
/*including "add" image*/
button.add{
margin:0 10px -3px -3px !important;
padding:3px 1px 1px 23px;
/*text-decoration:none;
text-align:right;*/
width:auto;
height:100%;
background-position:3%;
background-image:url(/main/img/addd.gif);
background-repeat:no-repeat;
}

@ -1615,15 +1615,3 @@ button.search {
button.login {
background-image:url(/main/img/button_login.gif);
}
/*including "add" image*/
button.add{
margin:0 10px -3px -3px !important;
padding:3px 1px 1px 23px;
/*text-decoration:none;
text-align:right;*/
width:auto;
height:100%;
background-position:3%;
background-image:url(/main/img/addd.gif);
background-repeat:no-repeat;
}

@ -1622,15 +1622,3 @@ button.search {
button.login {
background-image:url(/main/img/button_login.gif);
}
/*including "add" image*/
button.add{
margin:0 10px -3px -3px !important;
padding:3px 1px 1px 23px;
/*text-decoration:none;
text-align:right;*/
width:auto;
height:100%;
background-position:3%;
background-image:url(/main/img/addd.gif);
background-repeat:no-repeat;
}

@ -1648,15 +1648,3 @@ button.search {
button.login {
background-image:url(/main/img/button_login.gif);
}
/*including "add" image*/
button.add{
margin:0 10px -3px -3px !important;
padding:3px 1px 1px 23px;
/*text-decoration:none;
text-align:right;*/
width:auto;
height:100%;
background-position:3%;
background-image:url(/main/img/addd.gif);
background-repeat:no-repeat;
}

@ -2070,15 +2070,3 @@ button.search {
button.login {
background-image:url(/main/img/button_login.gif);
}
/*including "add" image*/
button.add{
margin:0 10px -3px -3px !important;
padding:3px 1px 1px 23px;
/*text-decoration:none;
text-align:right;*/
width:auto;
height:100%;
background-position:3%;
background-image:url(/main/img/addd.gif);
background-repeat:no-repeat;
}

@ -2168,15 +2168,3 @@ button.search {
button.login {
background-image:url(/main/img/button_login.gif);
}
/*including "add" image*/
button.add{
margin:0 10px -3px -3px !important;
padding:3px 1px 1px 23px;
/*text-decoration:none;
text-align:right;*/
width:auto;
height:100%;
background-position:3%;
background-image:url(/main/img/addd.gif);
background-repeat:no-repeat;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 B

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 733 B

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 606 B

@ -62,7 +62,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'addnote')
$form->addElement('header', '', get_lang('NoteAddNew'));
$form->addElement('text', 'note_title', get_lang('NoteTitle'));
$form->addElement('html_editor', 'note_comment', get_lang('NoteComment'));
$form->addElement('submit', 'SubmitNote', get_lang('Ok'));
$form->addElement('style_submit_button', 'SubmitNote', get_lang('Save'), 'class="save"');
// setting the rules
$form->addRule('note_title', '<div class="required">'.get_lang('ThisFieldIsRequired'), 'required');
@ -97,7 +97,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'editnote' && is_numeric($_GET[
$form->addElement('hidden', 'notebook_id');
$form->addElement('text', 'note_title', get_lang('NoteTitle'));
$form->addElement('html_editor', 'note_comment', get_lang('NoteComment'));
$form->addElement('submit', 'SubmitNote', get_lang('Ok'));
$form->addElement('style_submit_button', 'SubmitNote', get_lang('Save'), 'class="save"');
// setting the defaults
$defaults = get_note_information(Security::remove_XSS($_GET['notebook_id']));

@ -25,7 +25,7 @@
* @author unknown, the initial survey that did not make it in 1.8 because of bad code
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University: cleanup, refactoring and rewriting large parts (if not all) of the code
* @author Julio Montoya Armas <gugli100@gmail.com>, Dokeos: Personality Test modification and rewriting large parts of the code
* @version $Id: create_new_survey.php 17666 2009-01-12 21:18:36Z cfasanando $
* @version $Id: create_new_survey.php 18287 2009-02-06 16:23:12Z ndieschburg $
*
* @todo only the available platform languages should be used => need an api get_languages and and api_get_available_languages (or a parameter)
*/
@ -261,7 +261,7 @@ if ((isset($_GET['action']) && $_GET['action'] == 'edit') && !empty($_GET['surve
}
$form -> addElement('html','</div><br />');
$form->addElement('submit', 'submit_survey', get_lang('Ok'));
$form->addElement('style_submit_button', 'submit_survey', get_lang('Ok'), 'class="save"');
// setting the rules
if ($_GET['action'] == 'add')

@ -24,7 +24,7 @@
* @package dokeos.survey
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University: cleanup, refactoring and rewriting large parts (if not all) of the code
@author Julio Montoya Armas <gugli100@gmail.com>, Dokeos: Personality Test modification and rewriting large parts of the code
* @version $Id: survey.lib.php 18212 2009-02-03 22:05:55Z cfasanando $
* @version $Id: survey.lib.php 18287 2009-02-06 16:23:12Z ndieschburg $
*
* @todo move this file to inc/lib
* @todo use consistent naming for the functions (save vs store for instance)
@ -1398,7 +1398,7 @@ class question
{
$this->html .= ' <tr>';
$this->html .= ' <td>&nbsp;</td>';
$this->html .= ' <td> <input type="submit" name="save_question" value="'.get_lang('SaveQuestion').'" /></td>';
$this->html .= ' <td><button class="save"type="submit" name="save_question">'.get_lang('Save').'</button></td>';
$this->html .= ' <td>&nbsp;</td>';
$this->html .= ' </tr>';
$this->html .= '</table>';
@ -1447,20 +1447,20 @@ class question
}
// adding an answer
if ($_POST['add_answer'])
if(isset($_POST['add_answer']))
{
$form_content['answers'][]='';
}
// removing an answer
if ($_POST['remove_answer'])
if(isset($_POST['remove_answer']))
{
$max_answer = count($form_content['answers']);
unset($form_content['answers'][$max_answer-1]);
}
// saving a question
if ($_POST['save_question'])
if (isset($_POST['save_question']))
{
$message = survey_manager::save_question($form_content);
@ -1536,8 +1536,8 @@ class question
$return .= ' <tr>';
$return .= ' <td align="right">&nbsp;</td>';
$return .= ' <td colspan="2">';
$return .= ' <input type="submit" name="remove_answer" value="'.get_lang('RemoveAnswer').'" '.$remove_answer_attribute.' />';
$return .= ' <input type="submit" name="add_answer" value="'.get_lang('AddAnswer').'" />';
$return .= ' <button class="cancel" type="submit" name="remove_answer" "'.$remove_answer_attribute.'">'.get_lang('RemoveAnswer').' </button>';
$return .= ' <button class="add" type="submit" name="add_answer">'.get_lang('AddAnswer').'</button>';
$return .= ' </td>';
$return .= ' </tr>';
return $return;
@ -2953,7 +2953,7 @@ class SurveyUtil {
{
echo ' <input type="submit" name="reset_question_filter" value="'.get_lang('ResetQuestionFilter').'" />';
}
echo ' <input type="submit" name="submit_question_filter" value="'.get_lang('SubmitQuestionFilter').'" />';
echo ' <input type="submit" name="submit_question_filter" value="'.get_lang('SubmitQuestionFilter').'"/';
echo '</th>';
$display_extra_user_fields = false;
@ -3714,7 +3714,7 @@ class SurveyUtil {
}
}
echo '</select><br /><br />';
echo '<input type="submit" name="Submit" value="Submit" />';
echo '<button class="save" type="submit" name="Submit" value="Submit">'.get_lang('Ok').'</button>';
echo '</form>';
// getting all the information of the x axis
@ -4279,7 +4279,7 @@ class SurveyUtil {
</tr>
<tr>
<td>&nbsp;<input type="hidden" name="cidReq" value="'.api_get_course_id().'"/></td>
<td><input type="submit" name="do_search" value="'.get_lang('Ok').'"/></td>
<td><button class="search" type="submit" name="do_search">'.get_lang('Search').'</button></td>
</tr>
</table>
</form>';
@ -4330,7 +4330,7 @@ class SurveyUtil {
{
$parameters = array();
$parameters['cidReq']=api_get_course_id();
if ($_GET['do_search'])
if(isset($_GET['do_search']))
{
$message = get_lang('DisplaySearchResults').'<br />';
$message .= '<a href="'.api_get_self().'?'.api_get_cidreq().'">'.get_lang('DisplayAll').'</a>';
@ -4435,7 +4435,7 @@ class SurveyUtil {
*/
function survey_search_restriction()
{
if ($_GET['do_search'])
if(isset($_GET['do_search']))
{
if ($_GET['keyword_title']<>'')
{

@ -139,7 +139,7 @@ $form->addElement('checkbox', 'send_mail', '', get_lang('SendMail'));
// allow resending to all selected users
$form->addElement('checkbox', 'resend_to_all', '', get_lang('ReminderResendToAllUsers'));
// submit button
$form->addElement('submit', 'submit', get_lang('Ok'));
$form->addElement('style_submit_button', 'submit', get_lang('Send'), 'class="save"');
// The rules (required fields)
$form->addRule('mail_title', get_lang('ThisFieldIsRequired'), 'required');
$form->addRule('mail_text', get_lang('ThisFieldIsRequired'), 'required');

@ -1,4 +1,4 @@
<?php // $Id: user.php 18113 2009-02-01 11:25:38Z ivantcholakov $
<?php // $Id: user.php 18287 2009-02-06 16:23:12Z ndieschburg $
/*
==============================================================================
Dokeos - elearning and course management software
@ -353,7 +353,7 @@ if ( api_is_allowed_to_edit()) {
$renderer = & $form->defaultRenderer();
$renderer->setElementTemplate('<span>{element}</span> ');
$form->add_textfield('keyword', '', false);
$form->addElement('submit', 'submit', get_lang('SearchButton'));
$form->addElement('style_submit_button', 'submit', get_lang('SearchButton'), 'class="search"');
$form->addElement('static','additionalactions',null,$actions);
$form->display();
echo '</div>';

@ -1,4 +1,4 @@
<?php // $Id: userInfo.php 17479 2008-12-29 20:24:11Z cfasanando $
<?php // $Id: userInfo.php 18287 2009-02-06 16:23:12Z ndieschburg $
/*
==============================================================================
Dokeos - elearning and course management software
@ -415,7 +415,7 @@ elseif ($displayMode == "viewMainInfoEdit")
}
echo "<td><input type=\"submit\" name=\"submit\" value=\"Ok\" /></td>\n", "</tr>", "</table>", "</form>\n";
echo "<td><button class=\"save\" type=\"submit\" name=\"submit\">Ok</button></td>\n", "</tr>", "</table>", "</form>\n";
echo "<p>".Display :: encrypted_mailto_link($mainUserInfo['email'], $mainUserInfo['email'])."</p>";

Loading…
Cancel
Save