cusompages and firs login small modifications

skala
Noel Dieschburg 14 years ago
parent 490bfb634d
commit 594d410207
  1. 3
      custompages/first_login.php
  2. 2
      custompages/index-logged.php
  3. 2
      custompages/index-unlogged.php
  4. 1
      custompages/style-ie6.css
  5. 1
      custompages/style.css
  6. 3
      main/inc/lib/loginredirection.lib.php
  7. 2
      main/lang/english/trad4all.inc.php
  8. 2
      main/lang/french/trad4all.inc.php

@ -67,7 +67,10 @@ if ($_GET['invalid'] == 2) {
<div id="header">
<img src="/custompages/images/header.png" alt="Logo" />
</div> <!-- #header -->
<h2> <?php echo cblue_get_lang('FirstLogin');?> </h2>
<div id="changepassword-form-box" class="form-box">
<div class="info"> <?php echo cblue_get_lang('FirstLoginChangePassword');?> </div>
<?php if (isset($error_message)) {
echo '<div id="changepassword-form-error" class="form-error">'.$error_message.'</div>';
}?>

@ -1,5 +1,5 @@
<?php
require_once('main/inc/global.inc.php');
require_once(dirname(__FILE__).'/../main/inc/global.inc.php');
//require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php';
header("Location: /user_portal.php");

@ -67,7 +67,7 @@ if (isset($_GET['loginFailed'])){
}?>
<form id="login-form" class="form" action="/index.php" method="post">
<div>
<label for="login">*<?php echo cblue_get_lang('Username');?></label>
<label for="login">*<?php echo cblue_get_lang('User');?></label>
<input name="login" type="text" /><br />
<label for="password">*<?php echo cblue_get_lang('langPass');?></label>
<input name="password" type="password" /><br />

@ -6,6 +6,7 @@ html, body {
body {
font-family: "Arial Black",sans-serif;
font-size: 10pt;
color: #1F3660;
width: 100%;
text-align: center;
/*

@ -8,6 +8,7 @@ body {
font-size: 10pt;
width: 100%;
text-align: center;
color: #1F3660;
/*background-image: url(images/page-background.png);
background-repeat: no-repeat;
background-size: 100%;

@ -11,7 +11,7 @@ Class LoginRedirection {
global $param;
$param = isset($param) ? $param : '';
$redirect_url = '';
/*
//If session request url is setted, we go there
if (!empty($_SESSION['request_uri'])) {
$req = $_SESSION['request_uri'];
@ -19,6 +19,7 @@ Class LoginRedirection {
header('location: '.$req);
exit();
}
*/
if ( api_is_student() && !api_get_setting('student_page_after_login') == '' ){
$redirect_url = html_entity_decode(api_get_setting('student_page_after_login'));

@ -1109,4 +1109,6 @@ $SelectFilter = "Select filter";
$ThereIsNoClassScheduledTodayTryPickingAnotherDay = "There is no class scheduled today, try picking another day or add your attendance entry yourself using the action icons.";
$AddToCalendar = "Add to calendar";
$RandomPick = "Random pick";
$FirstLogin = "First login";
$FirstLoginChangePassword = "This is your first login. Please change your password";
?>

@ -1107,4 +1107,6 @@ $SelectFilter = "Sélectionner le filtre";
$ThereIsNoClassScheduledTodayTryPickingAnotherDay = "Aucune classe n'a été programmée aujourd'hui. Choisissez un autre you ou ajoutez votre classe vous-même en utilisant les icônes d'action.";
$AddToCalendar = "Ajouter au calendrier";
$RandomPick = "Sélection aléatoire";
$FirstLogin = "Première connexion";
$FirstLoginChangePassword = "C'est votre première connexion, veuillez changer votre mot de passe";
?>
Loading…
Cancel
Save