[svn r15112] Small positioning change for "course created" message.

Added .bottom-link class for elements inside normal, warning and error messages
skala
Yannick Warnier 17 years ago
parent ca8ea3318b
commit ab1c62d22a
  1. 6
      main/create_course/add_course.php
  2. 7
      main/css/academica/default.css
  3. 7
      main/css/baby_orange/default.css
  4. 7
      main/css/corporate/default.css
  5. 7
      main/css/dokeos_classic/default.css
  6. 7
      main/css/dokeos_classic_2D/default.css
  7. 7
      main/css/medical/default.css
  8. 7
      main/css/public_admin/default.css
  9. 7
      main/css/silver_line/default.css
  10. 2
      main/inc/lib/display.lib.php

@ -1,5 +1,5 @@
<?php
// $Id: add_course.php 14696 2008-03-26 15:59:30Z juliomontoya $
// $Id: add_course.php 15112 2008-04-25 17:43:41Z yannoo $
/*
==============================================================================
Dokeos - elearning and course management software
@ -131,8 +131,8 @@ if($form->validate())
}
$message = get_lang('JustCreated');
$message .= " <strong>".$visual_code."</strong>";
$message .= "<br/><br/>";
$message .= '<a href="'.api_get_path(WEB_PATH).'user_portal.php">'.get_lang('Enter').'</a>';
$message .= "<br /><br /><br />";
$message .= '<a class="bottom-link" href="'.api_get_path(WEB_PATH).'user_portal.php">'.get_lang('Enter').'</a>';
Display :: display_confirmation_message($message,false);
}
else

@ -1338,7 +1338,12 @@ a.specialLink:hover,a.specialLink:focus {
top: 0;
left: 238px;
}
.confirmation-message .bottom-link, .error-message .bottom-link, .normal-message .bottom-link, .warning-message .bottom-link
{
position: absolute;
bottom: 0.2em;
right: 0.5em;
}
#message {
margin: 0 auto;
text-align: center;

@ -1275,7 +1275,12 @@ th span {
top: 0;
left: 238px;
}
.confirmation-message .bottom-link, .error-message .bottom-link, .normal-message .bottom-link, .warning-message .bottom-link
{
position: absolute;
bottom: 0.2em;
right: 0.5em;
}
#message {
margin: 0 auto;
text-align: center;

@ -699,7 +699,12 @@ a.personal_agenda:hover, a.personal_agenda:hover {color: #666666; }
background-color: #FFD1D1;
min-height: 30px;
}
.confirmation-message .bottom-link, .error-message .bottom-link, .normal-message .bottom-link, .warning-message .bottom-link
{
position: absolute;
bottom: 0.2em;
right: 0.5em;
}
#message {margin: 0 auto; text-align: center;}
#message select {margin: 10px 0; width: 220px;}
#message textarea {margin: 10px 0;}

@ -722,7 +722,12 @@ a.personal_agenda:hover, a.personal_agenda:hover {color: #666666; }
background-color: #FFD1D1;
min-height: 30px;
}
.confirmation-message .bottom-link, .error-message .bottom-link, .normal-message .bottom-link, .warning-message .bottom-link
{
position: absolute;
bottom: 0.2em;
right: 0.5em;
}
#message {margin: 0 auto; text-align: center;}
#message select {margin: 10px 0; width: 220px;}
#message textarea {margin: 10px 0;}

@ -984,7 +984,12 @@ a.personal_agenda:hover {
border-color: #FF0000;
color: #000;
}
.confirmation-message .bottom-link, .error-message .bottom-link, .normal-message .bottom-link, .warning-message .bottom-link
{
position: absolute;
bottom: 0.2em;
right: 0.5em;
}
#message {
margin: 0 auto;
text-align: center;

@ -763,7 +763,12 @@ a.personal_agenda:hover, a.personal_agenda:hover {color: #666666; }
background-color: #FFD1D1;
min-height: 30px;
}
.confirmation-message .bottom-link, .error-message .bottom-link, .normal-message .bottom-link, .warning-message .bottom-link
{
position: absolute;
bottom: 0.2em;
right: 0.5em;
}
#message {margin: 0 auto; text-align: center;}
#message select {margin: 10px 0; width: 220px;}
#message textarea {margin: 10px 0;}

@ -756,7 +756,12 @@ a.personal_agenda:hover, a.personal_agenda:hover {color: #666666; }
background-color: #FFD1D1;
min-height: 30px;
}
.confirmation-message .bottom-link, .error-message .bottom-link, .normal-message .bottom-link, .warning-message .bottom-link
{
position: absolute;
bottom: 0.2em;
right: 0.5em;
}
#message {margin: 0 auto; text-align: center;}
#message select {margin: 10px 0; width: 220px;}
#message textarea {margin: 10px 0;}

@ -1241,7 +1241,12 @@ a.specialLink:hover,a.specialLink:focus {
top: 0;
left: 238px;
}
.confirmation-message .bottom-link, .error-message .bottom-link, .normal-message .bottom-link, .warning-message .bottom-link
{
position: absolute;
bottom: 0.2em;
right: 0.5em;
}
#message {
margin: 0 auto;
text-align: center;

@ -437,7 +437,7 @@ class Display {
</style>';
}
echo '<div class="confirmation-message">';
Display :: display_icon('message_confirmation.gif', '', array ('style' => 'float:left; margin-right:10px;'));
Display :: display_icon('message_confirmation.gif', '', array ('style' => 'float:left; margin-right:10px;margin-left:5px;'));
echo $message.'</div>';
}

Loading…
Cancel
Save