Now journal->name supports filterall.
This commit is contained in:
@@ -75,9 +75,9 @@
|
||||
$entry->format = $defaultformat;
|
||||
}
|
||||
|
||||
print_header_simple("$journal->name", "",
|
||||
print_header_simple(format_string($journal->name), "",
|
||||
"<a href=\"index.php?id=$course->id\">$strjournals</a> ->
|
||||
<a href=\"view.php?id=$cm->id\">$journal->name</a> -> $stredit", "",
|
||||
<a href=\"view.php?id=$cm->id\">".format_string($journal->name,true)."</a> -> $stredit", "",
|
||||
"", true, "", navmenu($course, $cm));
|
||||
|
||||
echo "<center>\n";
|
||||
|
||||
+2
-2
@@ -55,7 +55,7 @@ function journal_user_complete_index($course, $user, $journal, $journalopen, $he
|
||||
$entryinfo = "";
|
||||
}
|
||||
|
||||
$journal->name = "<a href=\"view.php?id=$journal->coursemodule\">$journal->name</a>";
|
||||
$journal->name = "<a href=\"view.php?id=$journal->coursemodule\">".format_string($journal->name,true)."</a>";
|
||||
|
||||
if ($heading) {
|
||||
echo "<h3>$heading - $journal->name$entryinfo</h3>";
|
||||
@@ -183,7 +183,7 @@ function journal_cron () {
|
||||
function journal_print_recent_activity($course, $isteacher, $timestart) {
|
||||
global $CFG;
|
||||
|
||||
if (empty($CFG->journal_showrecentactivity)) { // Don't even bother
|
||||
if (!empty($CFG->journal_showrecentactivity)) { // Don't even bother
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
print_header_simple("$strjournals", "",
|
||||
"<a href=\"index.php?id=$course->id\">$strjournals</a> ->
|
||||
<a href=\"view.php?id=$cm->id\">$journal->name</a> -> $strentries", "", "", true);
|
||||
<a href=\"view.php?id=$cm->id\">".format_string($journal->name,true)."</a> -> $strentries", "", "", true);
|
||||
|
||||
|
||||
/// Check to see if groups are being used in this journal
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
$newid = insert_record ("journal",$journal);
|
||||
|
||||
//Do some output
|
||||
echo "<li>".get_string("modulename","journal")." \"".$journal->name."\"</li>";
|
||||
echo "<li>".get_string("modulename","journal")." \"".format_string(stripslashes($journal->name),true)."\"</li>";
|
||||
backup_flush(300);
|
||||
|
||||
if ($newid) {
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
$strjournal = get_string("modulename", "journal");
|
||||
$strjournals = get_string("modulenameplural", "journal");
|
||||
|
||||
print_header_simple("$journal->name", '',
|
||||
"<a href=\"index.php?id=$course->id\">$strjournals</a> -> $journal->name", '', '', true,
|
||||
print_header_simple(format_string($journal->name), '',
|
||||
"<a href=\"index.php?id=$course->id\">$strjournals</a> -> ".format_string($journal->name), '', '', true,
|
||||
update_module_button($cm->id, $course->id, $strjournal), navmenu($course, $cm));
|
||||
|
||||
if (isteacher($course->id)) {
|
||||
|
||||
Reference in New Issue
Block a user