芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/www/cepali/mod/glossary/formats/faq/faq_format.php
'; echo '
'; echo '
'; $entry->course = $course->id; echo '
' . get_string('question','glossary') . ': '; glossary_print_entry_concept($entry); echo '
'; echo '
('.get_string('lastedited').': '. userdate($entry->timemodified).')
'; echo '
'; echo '
'; glossary_print_entry_approval($cm, $entry, $mode); echo '
'; echo '
'; echo "\n
"; echo '
'; echo '
'.get_string('answer','glossary').':
'; glossary_print_entry_definition($entry, $glossary, $cm); glossary_print_entry_attachment($entry, $cm, 'html'); if (core_tag_tag::is_enabled('mod_glossary', 'glossary_entries')) { echo $OUTPUT->tag_list( core_tag_tag::get_item_tags('mod_glossary', 'glossary_entries', $entry->id), null, 'glossary-tags'); } echo '
'; echo '
'; glossary_print_entry_lower_section($course, $cm, $glossary, $entry, $mode, $hook, $printicons, $aliases); echo '
'; } else { echo '
'; print_string('noentry', 'glossary'); echo '
'; } } function glossary_print_entry_faq($course, $cm, $glossary, $entry, $mode='', $hook='', $printicons=1) { //The print view for this format is exactly the normal view, so we use it //Take out autolinking in definitions un print view $entry->definition = '
'.$entry->definition.'
'; //Call to view function (without icons, ratings and aliases) and return its result return glossary_show_entry_faq($course, $cm, $glossary, $entry, $mode, $hook, false, false, false); }