diff --git a/main/calendar/agenda.inc.php b/main/calendar/agenda.inc.php index a858b7350a..f662210a4e 100644 --- a/main/calendar/agenda.inc.php +++ b/main/calendar/agenda.inc.php @@ -1,4 +1,4 @@ - 0 ? ($dayone['wday'] - 1) : 6; - $backwardsURL = $_SERVER['PHP_SELF']."?coursePath=".$_GET['coursePath']."&courseCode=".$_GET['courseCode']."&month=". ($month == 1 ? 12 : $month -1)."&year=". ($month == 1 ? $year -1 : $year); - $forewardsURL = $_SERVER['PHP_SELF']."?coursePath=".$_GET['coursePath']."&courseCode=".$_GET['courseCode']."&month=". ($month == 12 ? 1 : $month +1)."&year=". ($month == 12 ? $year +1 : $year); + $backwardsURL = $_SERVER['PHP_SELF']."?".api_get_cidreq()."&coursePath=".$_GET['coursePath']."&courseCode=".$_GET['courseCode']."&month=". ($month == 1 ? 12 : $month -1)."&year=". ($month == 1 ? $year -1 : $year); + $forewardsURL = $_SERVER['PHP_SELF']."?".api_get_cidreq()."&coursePath=".$_GET['coursePath']."&courseCode=".$_GET['courseCode']."&month=". ($month == 12 ? 1 : $month +1)."&year=". ($month == 12 ? $year +1 : $year); echo "
";
if ($agendaitems[$curday] <> "")
{
- echo "".$dayheader."";
+ echo "".$dayheader."";
}
else
{
@@ -233,8 +233,8 @@ function display_monthcalendar($month, $year)
//Start the week on monday
$startdayofweek = $dayone['wday']<>0 ? ($dayone['wday']-1) : 6;
- $backwardsURL = $_SERVER['PHP_SELF']."?origin=$origin&month=".($month==1 ? 12 : $month-1)."&year=".($month==1 ? $year-1 : $year);
- $forewardsURL = $_SERVER['PHP_SELF']."?origin=$origin&month=".($month==12 ? 1 : $month+1)."&year=".($month==12 ? $year+1 : $year);
+ $backwardsURL = $_SERVER['PHP_SELF']."?".api_get_cidreq()."&origin=$origin&month=".($month==1 ? 12 : $month-1)."&year=".($month==1 ? $year-1 : $year);
+ $forewardsURL = $_SERVER['PHP_SELF']."?".api_get_cidreq()."&origin=$origin&month=".($month==12 ? 1 : $month+1)."&year=".($month==12 ? $year+1 : $year);
$maand_array_maandnummer=$month-1;
@@ -270,7 +270,7 @@ function display_monthcalendar($month, $year)
$dayheader = "$curday";
if (in_array($curday,$data))
- { $dayheader="".$curday.""; }
+ { $dayheader="".$curday.""; }
if (($curday==$today['mday'])&&($year ==$today['year'])&&($month == $today[mon]))
{
@@ -1032,7 +1032,7 @@ function change_visibility($tool,$id)
*/
function display_courseadmin_links()
{
- echo " "; @@ -1054,21 +1054,21 @@ function display_student_links() global $show; if ($_SESSION['sort'] == 'DESC') { - echo " | ";
@@ -1762,9 +1762,9 @@ function display_one_agenda_item($agenda_id)
if (is_allowed_to_edit())
{
// edit
- echo "",
+ echo "",
"",
- "",
+ "",
"";
if ($myrow['visibility']==1)
{
@@ -1774,7 +1774,7 @@ function display_one_agenda_item($agenda_id)
{
$image_visibility="invisible";
}
- echo "",
+ echo "",
"", - " ".get_lang("NewEx")."", + " ".get_lang("NewEx")."", //"".get_lang("QuestionPool")." | ", //" | ".get_lang("ImportHotPotatoesQuiz")."", diff --git a/main/link/link.php b/main/link/link.php index 5cd2bdbb3e..97ff222f77 100644 --- a/main/link/link.php +++ b/main/link/link.php @@ -273,22 +273,22 @@ if (isset($up)) */ if(is_allowed_to_edit()) { - echo Display::return_icon('file_html_new.gif')." ".get_lang("LinkAdd")."\n"; - echo Display::return_icon('folder_new.gif')." ".get_lang("CategoryAdd")."\n"; - /* "".get_lang('CsvImport')."\n", // RH*/ + echo Display::return_icon('file_html_new.gif')." ".get_lang("LinkAdd")."\n"; + echo Display::return_icon('folder_new.gif')." ".get_lang("CategoryAdd")."\n"; + /* "".get_lang('CsvImport')."\n", // RH*/ } //making the show none / show all links. Show none means urlview=0000 (number of zeros depending on the //number of categories). Show all means urlview=1111 (number of 1 depending on teh number of categories). $sqlcategories="SELECT * FROM ".$tbl_categories." ORDER BY display_order DESC"; $resultcategories=api_sql_query($sqlcategories); $aantalcategories = @mysql_num_rows($resultcategories); -echo Display::return_icon('remove.gif')." $shownone"; -echo Display::return_icon('add.gif')." ", - " | - ".htmlentities($myrow["category_title"])." ".$myrow["description"]; + " | - ".htmlentities($myrow["category_title"])." ".$myrow["description"]; if (is_allowed_to_edit()) { showcategoryadmintools($myrow["id"]); @@ -351,7 +351,7 @@ while ($myrow=@mysql_fetch_array($resultcategories)) else { - echo " |
---|---|---|---|
+ | + ".htmlentities($myrow["category_title"])." "; echo $myrow["description"]; diff --git a/main/link/linkfunctions.php b/main/link/linkfunctions.php index 2669637e36..126bbf0a42 100644 --- a/main/link/linkfunctions.php +++ b/main/link/linkfunctions.php @@ -383,35 +383,35 @@ function showlinksofcategory($catid) $myrow[3] = text_filter($myrow[3]); if ($myrow['visibility'] == '1') { - echo " | ||
", "", "", " | ", "", "", htmlentities($myrow[2]), "\n", " ", $myrow[3], ""; + echo " | ||
", "", "", " | ", "", "", htmlentities($myrow[2]), "\n", " ", $myrow[3], ""; } else { if (api_is_allowed_to_edit()) { - echo " | ||
", "", Display::return_icon('file_html_na.gif', get_lang('Links'))," | ", "", "", htmlentities($myrow[2]), "\n", " ", $myrow[3], ""; + echo " | ||
", "", Display::return_icon('file_html_na.gif', get_lang('Links'))," | ", "", "", htmlentities($myrow[2]), "\n", " ", $myrow[3], ""; } } if (api_is_allowed_to_edit()) { - echo " ", "", "", "", " ", "", ""; + echo " ", "", "", "", " ", "", ""; // DISPLAY MOVE UP COMMAND only if it is not the top link if ($i != 1) { - echo "", "", "\n"; + echo "", "", "\n"; } // DISPLAY MOVE DOWN COMMAND only if it is not the bottom link if ($i < $numberoflinks) { - echo "", "", "\n"; + echo "", "", "\n"; } if ($myrow['visibility'] == "1") { - echo "".Display::return_icon('visible.gif').""; + echo "".Display::return_icon('visible.gif').""; } if ($myrow['visibility'] == "0") { - echo "".Display::return_icon('invisible.gif').""; + echo "".Display::return_icon('invisible.gif').""; } } @@ -431,17 +431,17 @@ function showcategoryadmintools($categoryid) global $aantalcategories; global $catcounter; - echo "", "", " \n"; - echo "", "", ""; + echo "", "", " \n"; + echo "", "", ""; // DISPLAY MOVE UP COMMAND only if it is not the top link if ($catcounter != 1) { - echo "", "", "\n"; + echo "", "", "\n"; } // DISPLAY MOVE DOWN COMMAND only if it is not the bottom link if ($catcounter < $aantalcategories) { - echo "", "", "\n"; + echo "", "", "\n"; } $catcounter ++; } diff --git a/main/newscorm/lp_list.php b/main/newscorm/lp_list.php index 17478813b8..7a5c7964de 100644 --- a/main/newscorm/lp_list.php +++ b/main/newscorm/lp_list.php @@ -103,14 +103,14 @@ if(api_is_allowed_to_edit()) } include('content_makers.inc.php'); - echo ''. + echo ''. ' '.get_lang('_add_learnpath'). '' . str_repeat(' ',3). - ' '.get_lang("UploadScorm").''; + ' '.get_lang("UploadScorm").''; if(api_get_setting('service_ppt2lp','active')==true) { - echo str_repeat(' ',3).' '.get_lang("PowerPointConvert").''; + echo str_repeat(' ',3).' '.get_lang("PowerPointConvert").''; } } |