diff --git a/main/wiki/index.php b/main/wiki/index.php
index f71e683839..5b5df074d4 100644
--- a/main/wiki/index.php
+++ b/main/wiki/index.php
@@ -491,11 +491,11 @@ if ($_GET['action']=='usercontrib')
//get type assignment icon
if($obj->assignment==1)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==2)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==0)
{
@@ -569,11 +569,11 @@ if ($_GET['action']=='mostchanged')
//get type assignment icon
if($obj->assignment==1)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==2)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==0)
{
@@ -625,11 +625,11 @@ if ($_GET['action']=='mvisited')
//get type assignment icon
if($obj->assignment==1)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==2)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==0)
{
@@ -915,11 +915,11 @@ if ($_GET['action']=='showsearchpages')
//get type assignment icon
if($obj->assignment==1)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==2)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==0)
{
@@ -970,11 +970,11 @@ if ($_GET['action']=='links')
if($row['assignment']==1)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($row['assignment']==2)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($row['assignment']==0)
{
@@ -1029,11 +1029,11 @@ if ($_GET['action']=='links')
//get type assignment icon
if($obj->assignment==1)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==2)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==0)
{
@@ -1162,11 +1162,11 @@ if ($_GET['action']=='edit')
if(stripslashes($row['assignment'])==1)
{
Display::display_normal_message(get_lang('EditAssignmentWarning'));
- $icon_assignment='
';
+ $icon_assignment='
';
}
elseif(stripslashes($row['assignment'])==2)
{
- $icon_assignment='
';
+ $icon_assignment='
';
if((api_get_user_id()==$row['user_id'])==false)
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
@@ -1268,11 +1268,11 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
if($KeyAssignment==1)
{
- $icon_assignment='
';
+ $icon_assignment='
';
}
elseif($KeyAssignment==2)
{
- $icon_assignment='
';
+ $icon_assignment='
';
}
@@ -1450,11 +1450,11 @@ if ($_GET['action']=='recentchanges')
if (check_notify_all())
{
- $notify_all= '
'.get_lang('NotNotifyChanges').'';
+ $notify_all= '
'.get_lang('NotNotifyChanges').'';
}
else
{
- $notify_all= '
'.get_lang('NotifyChanges').'';
+ $notify_all= '
'.get_lang('NotifyChanges').'';
}
echo '
';
@@ -1492,11 +1492,11 @@ if ($_GET['action']=='recentchanges')
//get type assignment icon
if($obj->assignment==1)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==2)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==0)
{
@@ -1568,11 +1568,11 @@ if ($_GET['action']=='allpages')
//get type assignment icon
if($obj->assignment==1)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==2)
{
- $ShowAssignment='
';
+ $ShowAssignment='
';
}
elseif ($obj->assignment==0)
{
@@ -1617,14 +1617,14 @@ if ($_GET['action']=='discuss')
//Mode assignments: If is hidden, show pages to student only if student is the author
if(($row['assignment']==2 && $row['visibility_disc']==0 && (api_get_user_id()==$row['user_id']))==false)
{
- $visibility_disc= '
'.get_lang('ShowDiscuss').'';
+ $visibility_disc= '
'.get_lang('ShowDiscuss').'';
}
}
else
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $visibility_disc= '
'.get_lang('HideDiscuss').'';
+ $visibility_disc= '
'.get_lang('HideDiscuss').'';
}
}
@@ -1633,11 +1633,11 @@ if ($_GET['action']=='discuss')
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $addlock_disc= '
'.get_lang('UnlockDiscuss').'';
+ $addlock_disc= '
'.get_lang('UnlockDiscuss').'';
}
else
{
- $addlock_disc= '
'.get_lang('PageLocked').'';
+ $addlock_disc= '
'.get_lang('PageLocked').'';
}
}
@@ -1645,7 +1645,7 @@ if ($_GET['action']=='discuss')
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $addlock_disc= '
'.get_lang('LockDiscuss').'';
+ $addlock_disc= '
'.get_lang('LockDiscuss').'';
}
}
@@ -1655,35 +1655,35 @@ if ($_GET['action']=='discuss')
//Mode assignment: only the teacher can assign scoring
if(($row['assignment']==2 && $row['ratinglock_disc']==0 && (api_get_user_id()==$row['user_id']))==false)
{
- $ratinglock_disc= '
'.get_lang('UnlockRatingDiscuss').'';
+ $ratinglock_disc= '
'.get_lang('UnlockRatingDiscuss').'';
}
}
else
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $ratinglock_disc= '
'.get_lang('LockRatingDiscuss').'';
+ $ratinglock_disc= '
'.get_lang('LockRatingDiscuss').'';
}
}
//check notify by email
if (check_notify_discuss($page))
{
- $notify_disc= '
'.get_lang('NotifyDiscussChanges').'';
+ $notify_disc= '
'.get_lang('NotifyDiscussChanges').'';
}
else
{
- $notify_disc= '
'.get_lang('NotNotifyDiscussChanges').'';
+ $notify_disc= '
'.get_lang('NotNotifyDiscussChanges').'';
}
//mode assignment: previous to show page type
if(stripslashes($row['assignment'])==1)
{
- $icon_assignment='
';
+ $icon_assignment='
';
}
elseif(stripslashes($row['assignment'])==2)
{
- $icon_assignment='
';
+ $icon_assignment='
';
}
@@ -2430,14 +2430,14 @@ function display_wiki_entry()
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $protect_addnewpage= '
'.get_lang('ShowAddOption').'';
+ $protect_addnewpage= '
'.get_lang('ShowAddOption').'';
}
}
else
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $protect_addnewpage= '
'.get_lang('HideAddOption').'';
+ $protect_addnewpage= '
'.get_lang('HideAddOption').'';
}
}
@@ -2446,18 +2446,18 @@ function display_wiki_entry()
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $protect_page= '
'.get_lang('UnlockPage').'';
+ $protect_page= '
'.get_lang('UnlockPage').'';
}
else
{
- $protect_page= '
'.get_lang('PageLocked').'';
+ $protect_page= '
'.get_lang('PageLocked').'';
}
}
else
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $protect_page= '
'.get_lang('LockPage').'';
+ $protect_page= '
'.get_lang('LockPage').'';
}
}
@@ -2467,35 +2467,35 @@ function display_wiki_entry()
//This hides the icon eye closed to users of work they can see yours
if(($row['assignment']==2 && $KeyVisibility=="0" && (api_get_user_id()==$row['user_id']))==false)
{
- $visibility_page= '
'.get_lang('ShowPage').'';
+ $visibility_page= '
'.get_lang('ShowPage').'';
}
}
else
{
if(api_is_allowed_to_edit() || api_is_platform_admin())
{
- $visibility_page= '
'.get_lang('HidePage').'';
+ $visibility_page= '
'.get_lang('HidePage').'';
}
}
//Button notify page
if (check_notify_page($page))
{
- $notify_page= '
'.get_lang('NotNotifyChanges').'';
+ $notify_page= '
'.get_lang('NotNotifyChanges').'';
}
else
{
- $notify_page= '
'.get_lang('NotifyChanges').'';
+ $notify_page= '
'.get_lang('NotifyChanges').'';
}
//assignment mode: for identify page type
if(stripslashes($row['assignment'])==1)
{
- $icon_assignment='
';
+ $icon_assignment='
';
}
elseif(stripslashes($row['assignment'])==2)
{
- $icon_assignment='
';
+ $icon_assignment='
';
}
//Show page. Show page to all users if isn't hide page. Mode assignments: if studen is the author, can view
@@ -2523,7 +2523,7 @@ function display_wiki_entry()
echo '
';
+ echo '
';
echo '';
//export to zip