From bc51c92f8cd34d88ac684374b90ad66a74164cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Fri, 18 Dec 2009 21:58:06 +0100 Subject: [PATCH] fix semantic of several lang vars and icons --- main/blog/blog.php | 2 +- main/forum/forumfunction.inc.php | 6 +++--- main/img/blog_article.png | Bin 0 -> 941 bytes .../img/{blog_article.gif => blog_newarticle.gif} | Bin main/inc/lib/blog.lib.php | 2 +- main/social/data_personal.inc.php | 5 ++--- 6 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 main/img/blog_article.png rename main/img/{blog_article.gif => blog_newarticle.gif} (100%) mode change 100755 => 100644 diff --git a/main/blog/blog.php b/main/blog/blog.php index c119270f56..ee3f9a5798 100755 --- a/main/blog/blog.php +++ b/main/blog/blog.php @@ -288,7 +288,7 @@ if (!empty($return_message)) echo '
'; ?> - + 0) { $hand_forums.= '
'; - $hand_forums.= Display::return_icon('forumthread.gif'); - $hand_forums.= $thread['thread_title'].' '; + $hand_forums.= Display::return_icon('forumthread.gif', get_lang('Thread')); + $hand_forums.= ' '.$thread['thread_title'].' '; foreach($post_list as $posts) { $hand_forums.= '
'; $hand_forums.= ''.$posts['post_title'].''; @@ -3952,7 +3952,7 @@ function get_thread_user_post($course_db, $thread_id, $user_id ) if ($post_counter > 0 ) { $forum_results .='
'; $forum_results .='

'; - $forum_results .='
'.Display::return_icon('forum.gif').'    '.$forum['forum_title'].'        
'; + $forum_results .='
'.Display::return_icon('forum.gif',get_lang('Forum')).' '.$forum['forum_title'].'        
'; $forum_results .='
'; $forum_results .=$hand_forums; $forum_results .='
'; diff --git a/main/img/blog_article.png b/main/img/blog_article.png new file mode 100644 index 0000000000000000000000000000000000000000..48d536371eb0b08a90decd21a5f9627f32592aaa GIT binary patch literal 941 zcmV;e15*5nP)$E z+Fv|*$n^NwLIwt56$XZ%%*!0=}SP{BW#4uAk+LNyo{1}Xc=r)y`?tFEo7wtvYIpj|f^82F4C z7~Y>a!SMez&=!U_$W8$WAh?Ttv~OW`D>Ku7hCNr=8MqbQ8m*jNeYecn&hY8o0R{$9 z4Pdl9d&cnV>U5y8^XU2j0tjxfp42C-(e>{i1JkWf0$Gx_5e2(fTxWRt2n{U?vH*j3eUWANiN{|U_FZ2C4Aa-Zkdb0w_;_{; zFkI&Ym3_fxFhBso4ZijgS0ZE7e|F&#M}7nsgPYuEhN79$3^%S`Imf{8Z30mGKCb8n z2p}eWDOZ+{A!~YndUaH3GsCrW_x}I?^o1ePis2hDa6v9ThEFd*05O2d3T)+t93MmO zfd!tw|Np=A|KFeI|D*k#UjtL}6e(T?P~KM{WF9~OVKo@2xnOID+>h^{Rs*H3{ol5< z?LRQg)_|l4mLyQ~00IcZU|^>o0OkA$l%Yf!3=lxbLBR{eYCz0JNhJz14'.get_lang('SeeBlog').'
'; + $return_data.= '
'.Display::return_icon('blog_article.png',get_lang('BlogPosts')).' '.$row['title'].'        
'.get_lang('SeeBlog').'
'; $return_data.= '
'; //$return_data.= ''.$row['title'].''; echo '
'; $return_data.= $row['full_text']; diff --git a/main/social/data_personal.inc.php b/main/social/data_personal.inc.php index 04331e6a9c..7ac9dc8273 100755 --- a/main/social/data_personal.inc.php +++ b/main/social/data_personal.inc.php @@ -52,8 +52,7 @@ if (isset($_POST['load_ajax'])) { //------Blog posts $result = get_blog_post_from_user($course_db, $user_id); if (!empty($result)) { - echo '

'; - api_display_tool_title(api_xml_http_response_encode(get_lang('BlogPosts'))); + api_display_tool_title(api_xml_http_response_encode(get_lang('Blog'))); echo ''; @@ -64,8 +63,8 @@ if (isset($_POST['load_ajax'])) { //------Blog comments $result = get_blog_comment_from_user($course_db, $user_id); if (!empty($result)) { + echo '