[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonfeedback.pm
kalberla
kalberla@source.lon-capa.org
Thu, 28 May 2009 19:38:34 -0000
kalberla Thu May 28 19:38:34 2009 EDT
Modified files:
/loncom/interface lonfeedback.pm loncommon.pm
Log:
Changes on feedback_link bar. Now even shown when "Post Discussion" link is not shown.
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.273 loncom/interface/lonfeedback.pm:1.274
--- loncom/interface/lonfeedback.pm:1.273 Mon May 11 16:51:27 2009
+++ loncom/interface/lonfeedback.pm Thu May 28 19:38:33 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.273 2009/05/11 16:51:27 bisitz Exp $
+# $Id: lonfeedback.pm,v 1.274 2009/05/28 19:38:33 kalberla Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -91,7 +91,7 @@
if (not &discussion_visible($status)) {
if ($mode ne 'board') {
&Apache::lonenc::check_encrypt(\$ressymb);
- return '<br />'.&send_message_link($ressymb);
+ return '<br /><div class="LC_feedback_link">'.&send_message_link($ressymb)."</div>";
}
}
if ($group ne '' && $mode eq 'board') {
@@ -105,7 +105,7 @@
if ($blocked) {
&Apache::lonenc::check_encrypt(\$ressymb);
if ($mode ne 'board') {
- $blocktext.='<br />'.&send_message_link($ressymb);
+ $blocktext.='<br /><div class="LC_feedback_link">'.&send_message_link($ressymb).'</div>';
}
return $blocktext;
}
@@ -755,9 +755,9 @@
my $output = '<span class="LC_feedback_link">'.
' <a href="/adm/feedback?replydisc='.
&escape($ressymb).':::" '.$target.'>'.
- '<img alt="" src="'.
+ '<img alt="" class="LC_noBorder" src="'.
&Apache::loncommon::lonhttpdurl('/adm/lonMisc/chat.gif').
- '" border="0" />'.&mt('Post Discussion').'</a></span>';
+ '" border="0" /><span class="LC_menubuttons_inline_text">'.&mt('Post Discussion').'</span></a></span>';
return $output;
}
@@ -765,9 +765,9 @@
my ($ressymb) = @_;
my $output = '<span class="LC_message_link">'.
' <a href="/adm/feedback?sendmessageonly=1&symb='.
- &escape($ressymb).'"><img alt="" src="'.
+ &escape($ressymb).'"><img alt="" class="LC_noBorder" src="'.
&Apache::loncommon::lonhttpdurl('/res/adm/pages/com.png').
- '" border="0" />'.&mt('Send Feedback').'</a></span>';
+ '" border="0" /><span class="LC_menubuttons_inline_text">'.&mt('Send Feedback').'</span></a></span>';
return $output;
}
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.832 loncom/interface/loncommon.pm:1.833
--- loncom/interface/loncommon.pm:1.832 Thu May 28 16:54:29 2009
+++ loncom/interface/loncommon.pm Thu May 28 19:38:34 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.832 2009/05/28 16:54:29 bisitz Exp $
+# $Id: loncommon.pm,v 1.833 2009/05/28 19:38:34 kalberla Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5446,6 +5446,13 @@
width: 100%;
padding-bottom: 10px;
border: 1px $tabbg solid;
+ height: 22px;
+ line-height: 22px;
+ padding-top: 5px;
+}
+
+div.LC_feedback_link img {
+ height: 22px;
}
div.LC_feedback_link a{