[svn r18670] minor change var get_lang see FS#3685

skala
Carlos Vargas 17 years ago
parent 0b2290d56a
commit 095eaeabe7
  1. 6
      main/auth/profile.php
  2. 4
      main/messages/inbox.php
  3. 6
      main/messages/outbox.php
  4. 8
      main/messages/view_message.php

@ -1,4 +1,4 @@
<?php // $Id: profile.php 18664 2009-02-24 17:06:30Z juliomontoya $ <?php // $Id: profile.php 18670 2009-02-24 20:49:13Z cvargas1 $
/* For licensing terms, see /dokeos_license.txt */ /* For licensing terms, see /dokeos_license.txt */
/** /**
============================================================================== ==============================================================================
@ -780,11 +780,11 @@ if (api_get_setting('allow_message_tool')=='true') {
$number_of_new_messages_of_friend=UserFriend::get_message_number_invitation_by_user_id(api_get_user_id()); $number_of_new_messages_of_friend=UserFriend::get_message_number_invitation_by_user_id(api_get_user_id());
//echo '<div class="message-view" style="display:none;">'.get_lang('ViewMessages').'</div>'; //echo '<div class="message-view" style="display:none;">'.get_lang('ViewMessages').'</div>';
echo '<div class="message-content"> echo '<div class="message-content">
<h2 class="message-title">'.get_lang('Message').'</h2> <h2 class="message-title">'.get_lang('Messages').'</h2>
<p> <p>
<a href="../messages/inbox.php" class="message-body">'.get_lang('Inbox').$cant_msg.' </a><br /> <a href="../messages/inbox.php" class="message-body">'.get_lang('Inbox').$cant_msg.' </a><br />
<a href="../messages/outbox.php" class="message-body">'.get_lang('OutBox').$cant_out_box.'</a><br /> <a href="../messages/outbox.php" class="message-body">'.get_lang('OutBox').$cant_out_box.'</a><br />
<a href="../messages/new_message.php" class="message-body">'.get_lang('Compose').'</a><br /> <a href="../messages/new_message.php" class="message-body">'.get_lang('ComposeMessage').'</a><br />
</p>'; </p>';
if (api_get_setting('allow_social_tool')=='true') { if (api_get_setting('allow_social_tool')=='true') {

@ -5,7 +5,7 @@
Copyright (c) 2009 Dokeos SPRL Copyright (c) 2009 Dokeos SPRL
Copyright (c) 2009 Julio Montoya Armas <gugli100@gmail.com> Copyright (c) 2009 Julio Montoya Armas <gugli100@gmail.com>
Copyright (c) Facultad de Matematicas, UADY (México) Copyright (c) Facultad de Matematicas, UADY (M<EFBFBD>xico)
Copyright (c) Evie, Free University of Brussels (Belgium) Copyright (c) Evie, Free University of Brussels (Belgium)
For a full list of contributors, see "credits.txt". For a full list of contributors, see "credits.txt".
@ -114,7 +114,7 @@ if ( trim($info_reply[4])=='Enviar' ) {
if ($request===false) { if ($request===false) {
$interbreadcrumb[]= array ( $interbreadcrumb[]= array (
'url' => '#', 'url' => '#',
'name' => get_lang($nameTools) 'name' => get_lang('Messages')
); );
$interbreadcrumb[]= array ( $interbreadcrumb[]= array (
'url' => 'outbox.php', 'url' => 'outbox.php',

@ -5,7 +5,7 @@
Copyright (c) 2009 Dokeos SPRL Copyright (c) 2009 Dokeos SPRL
Copyright (c) 2009 Julio Montoya Armas <gugli100@gmail.com> Copyright (c) 2009 Julio Montoya Armas <gugli100@gmail.com>
Copyright (c) Facultad de Matematicas, UADY (México) Copyright (c) Facultad de Matematicas, UADY (M<EFBFBD>xico)
Copyright (c) Evie, Free University of Brussels (Belgium) Copyright (c) Evie, Free University of Brussels (Belgium)
For a full list of contributors, see "credits.txt". For a full list of contributors, see "credits.txt".
@ -71,12 +71,12 @@ function deselect_all(formita)
============================================================================== ==============================================================================
*/ */
$nameTools = get_lang('Messages'); //$nameTools = get_lang('Messages');
$request=api_is_xml_http_request(); $request=api_is_xml_http_request();
if ($request===false) { if ($request===false) {
$interbreadcrumb[]= array ( $interbreadcrumb[]= array (
'url' => '#', 'url' => '#',
'name' => get_lang($nameTools) 'name' => get_lang('Messages')
); );
$interbreadcrumb[]= array ( $interbreadcrumb[]= array (
'url' => 'inbox.php', 'url' => 'inbox.php',

@ -1,11 +1,11 @@
<?php // $Id: view_message.php 18511 2009-02-16 02:22:11Z iflorespaz $ <?php // $Id: view_message.php 18670 2009-02-24 20:49:13Z cvargas1 $
/* /*
============================================================================== ==============================================================================
Dokeos - elearning and course management software Dokeos - elearning and course management software
Copyright (c) 2009 Dokeos SPRL Copyright (c) 2009 Dokeos SPRL
Copyright (c) 2009 Julio Montoya Armas <gugli100@gmail.com> Copyright (c) 2009 Julio Montoya Armas <gugli100@gmail.com>
Copyright (c) Facultad de Matematicas, UADY (México) Copyright (c) Facultad de Matematicas, UADY (M<EFBFBD>xico)
Copyright (c) Evie, Free University of Brussels (Belgium) Copyright (c) Evie, Free University of Brussels (Belgium)
Copyright (c) 2009 Isaac Flores Paz <isaac.flores.paz@gmail.com> Copyright (c) 2009 Isaac Flores Paz <isaac.flores.paz@gmail.com>
For a full list of contributors, see "credits.txt". For a full list of contributors, see "credits.txt".
@ -37,12 +37,12 @@ if (api_get_setting('allow_message_tool')!='true'){
api_not_allowed(); api_not_allowed();
} }
require_once(api_get_path(LIBRARY_PATH).'message.lib.php'); require_once(api_get_path(LIBRARY_PATH).'message.lib.php');
$nameTools = get_lang('Messages');
if (isset($_GET['id_send']) || isset($_GET['id'])) { if (isset($_GET['id_send']) || isset($_GET['id'])) {
if (isset($_GET['rs'])) { if (isset($_GET['rs'])) {
$interbreadcrumb[]= array ( $interbreadcrumb[]= array (
'url' => '#', 'url' => '#',
'name' => get_lang($nameTools) 'name' => get_lang('Messages')
); );
$interbreadcrumb[]= array ( $interbreadcrumb[]= array (
'url' => '../social/'.$_SESSION['social_dest'].'?#remote-tab-2', 'url' => '../social/'.$_SESSION['social_dest'].'?#remote-tab-2',

Loading…
Cancel
Save