diff --git a/main/chat/chat_chat.php b/main/chat/chat_chat.php index 755fceaf84..49d9aad988 100755 --- a/main/chat/chat_chat.php +++ b/main/chat/chat_chat.php @@ -134,7 +134,7 @@ if (!empty($course)) echo '
+ ')) return false;">
-
+
-
+
selectLevel(); ?>
+ itQuestion=">
@@ -151,4 +151,4 @@ if(!$i) {
}
?>
-
\ No newline at end of file
+
diff --git a/main/forum/viewthread_flat.inc.php b/main/forum/viewthread_flat.inc.php
index 11430d0d04..9b3fd9d916 100644
--- a/main/forum/viewthread_flat.inc.php
+++ b/main/forum/viewthread_flat.inc.php
@@ -148,7 +148,7 @@ foreach ($rows as $row) {
echo ' "> '.$user_filename.' ';
echo ''.$attachment_list['comment'].'';
if (($current_forum['allow_edit']==1 AND $row['user_id']==$_user['user_id']) or (api_is_allowed_to_edit(false,true) && !(api_is_course_coach() && $current_forum['session_id']!=$_SESSION['id_session']))) {
- echo ' '.Display::return_icon('delete.gif',get_lang('Delete')).'
".htmlentities($myrow["category_title"],ENT_QUOTES,$charset)."
".api_htmlentities($myrow["category_title"],ENT_QUOTES,$charset)."
'.'
';
+ return '
'.'
';
}
/**
@@ -146,4 +146,4 @@ switch ($_GET['action']) {
*/
Display :: display_footer();
-?>
\ No newline at end of file
+?>
diff --git a/main/reservation/m_item.php b/main/reservation/m_item.php
index 68af7352cd..b1a406c95b 100644
--- a/main/reservation/m_item.php
+++ b/main/reservation/m_item.php
@@ -59,7 +59,7 @@ function modify_filter($id) {
$str.='
';
}
//if(Rsys::item_allow($id,'m_rights')) $str.='
';
- if(Rsys::item_allow($id,'delete')) $str.='
';
+ if(Rsys::item_allow($id,'delete')) $str.='
';
return $str;
}
@@ -70,7 +70,7 @@ function modify_filter($id) {
* @param - int $id The item-rights-id's
*/
function modify_rights_filter($id) {
- return '
';
+ return '
';
}
/**
diff --git a/main/reservation/m_item_origineel.php b/main/reservation/m_item_origineel.php
index 39e996434d..3aa412ff95 100644
--- a/main/reservation/m_item_origineel.php
+++ b/main/reservation/m_item_origineel.php
@@ -50,7 +50,7 @@ function modify_filter($id) {
$str.='
';
}
if(Rsys::item_allow($id,'m_rights')) $str.='
';
- if(Rsys::item_allow($id,'delete')) $str.='
';
+ if(Rsys::item_allow($id,'delete')) $str.='
';
if(Rsys::item_allow($id,'edit')){
$number = Rsys :: get_item($id);
$str.= '
';
@@ -430,4 +430,4 @@ switch ($_GET['action']) {
*/
Display :: display_footer();
-?>
\ No newline at end of file
+?>
diff --git a/main/reservation/m_reservation.php b/main/reservation/m_reservation.php
index c0bd61d29e..dbd0b465e6 100644
--- a/main/reservation/m_reservation.php
+++ b/main/reservation/m_reservation.php
@@ -45,7 +45,7 @@ $tool_name = get_lang('BookingPeriodList');
function modify_filter($id) {
$out = '
';
$out .= '
';
- $out .= '
';
+ $out .= '
';
return $out;
}
diff --git a/main/reservation/mysubscriptions.php b/main/reservation/mysubscriptions.php
index af8f582efb..4ddd5b156f 100644
--- a/main/reservation/mysubscriptions.php
+++ b/main/reservation/mysubscriptions.php
@@ -44,7 +44,7 @@ $tool_name = get_lang('Booking');
* Filter to display the modify-buttons
*/
function modify_filter($id){
- return '
';
+ return '
';
}
/**
@@ -105,4 +105,4 @@ switch ($_GET['action']) {
*/
Display :: display_footer();
-?>
\ No newline at end of file
+?>
diff --git a/main/work/work.lib.php b/main/work/work.lib.php
index d6af4b2906..a28825c0ea 100644
--- a/main/work/work.lib.php
+++ b/main/work/work.lib.php
@@ -1,4 +1,4 @@
-, Ghent University - ability for course admins to specify wether uploaded documents are visible or invisible by default.
* @author Roan Embrechts, code refactoring and virtual course support
* @author Frederic Vauthier, directories management
-* @version $Id: work.lib.php 20709 2009-05-15 19:12:37Z ivantcholakov $
+* @version $Id: work.lib.php 20716 2009-05-16 07:28:22Z ivantcholakov $
*/
/**
* Displays action links (for admins, authorized groups members and authorized students)
@@ -52,7 +52,7 @@ function display_action_links($cur_dir_path, $always_show_tool_options, $always_
{
// delete all files
$display_output .= "".
+ "onclick=\"javascript:if(!confirm('".addslashes(api_htmlentities(get_lang('ConfirmYourChoice'),ENT_QUOTES,$charset))."')) return false;\">".
Display::return_icon('delete.gif', get_lang('Delete')).' '.get_lang('DeleteAllFiles')."";
// make all files visible or invisible
diff --git a/whoisonline.php b/whoisonline.php
index 923bdaa7a2..581a91ab63 100644
--- a/whoisonline.php
+++ b/whoisonline.php
@@ -1,4 +1,4 @@
-';
if (isset($_GET['id'])) {
echo ''.get_lang('Back').'';
@@ -397,4 +397,4 @@ echo '';
*/
/*echo '';*/
Display::display_footer();
-?>
\ No newline at end of file
+?>