📄 allowed_tags.inc.php
字号:
<?php/*============================================================================== Dokeos - elearning and course management software Copyright (c) 2004-2005 Dokeos S.A. Copyright (c) Bart Mollet, Hogeschool Gent For a full list of contributors, see "credits.txt". The full license can be read in "license.txt". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the GNU General Public License for more details. Contact address: Dokeos, 44 rue des palais, B-1030 Brussels, Belgium Mail: info@dokeos.com==============================================================================*//** * This page defines all HTML-tages and their attributes that are allowed in * Dokeos. 2 arrays are defined, one contains the allowed HTML for students and * the other the allowed HTML for teachers. * * Modifying this page: * - for each allowed tag there should be a line like * $allowed_tags_XXXX ['tagname'] = array(); * - for each of the attributes allowed in the tag, there should be a line like * $allowed_tags_XXXX['tagname']['attributename'] = array(); * - please keep the content of this file alphabetically structured *///============================================================// ALLOWED HTML FOR STUDENTS//============================================================// ADDRESS$allowed_tags_student['address'] = array();// APPLET$allowed_tags_student['applet'] = array();$allowed_tags_student['applet']['codebase'] = array();$allowed_tags_student['applet']['code'] = array();$allowed_tags_student['applet']['name'] = array();$allowed_tags_student['applet']['alt'] = array();// AREA$allowed_tags_student['area'] = array();$allowed_tags_student['area']['shape'] = array();$allowed_tags_student['area']['coords'] = array();$allowed_tags_student['area']['href'] = array();$allowed_tags_student['area']['alt'] = array();// A$allowed_tags_student['a'] = array();$allowed_tags_student['a']['class'] = array();$allowed_tags_student['a']['id'] = array();$allowed_tags_student['a']['href'] = array();$allowed_tags_student['a']['title'] = array();$allowed_tags_student['a']['rel'] = array();$allowed_tags_student['a']['rev'] = array();$allowed_tags_student['a']['name'] = array();// ABBR$allowed_tags_student['abbr'] = array();$allowed_tags_student['abbr']['title'] = array();// ACRONYM$allowed_tags_student['acronym'] = array();$allowed_tags_student['acronym']['title'] = array();// B$allowed_tags_student['b'] = array();$allowed_tags_student['b']['class'] = array();$allowed_tags_student['b']['id'] = array();// BASE$allowed_tags_student['base'] = array();$allowed_tags_student['base']['href'] = array();// BASEFONT$allowed_tags_student['basefont'] = array();$allowed_tags_student['basefont']['size'] = array();// BDO$allowed_tags_student['bdo'] = array();$allowed_tags_student['bdo']['dir'] = array();// BIG$allowed_tags_student['big'] = array();// BLOCKQUOTE$allowed_tags_student['blockquote'] = array();$allowed_tags_student['blockquote']['cite'] = array();// BODY$allowed_tags_student_full_page['body'] = array();$allowed_tags_student_full_page['body']['alink'] = array();$allowed_tags_student_full_page['body']['background'] = array();$allowed_tags_student_full_page['body']['bgcolor'] = array();$allowed_tags_student_full_page['body']['link'] = array();$allowed_tags_student_full_page['body']['text'] = array();$allowed_tags_student_full_page['body']['vlink'] = array();// BR$allowed_tags_student['br'] = array();// BUTTON$allowed_tags_student['button'] = array();$allowed_tags_student['button']['disabled'] = array();$allowed_tags_student['button']['name'] = array();$allowed_tags_student['button']['type'] = array();$allowed_tags_student['button']['value'] = array();// CAPTION$allowed_tags_student['caption'] = array();$allowed_tags_student['caption']['align'] = array();// CODE$allowed_tags_student['code'] = array();// COL$allowed_tags_student['col'] = array();$allowed_tags_student['col']['align'] = array();$allowed_tags_student['col']['char'] = array();$allowed_tags_student['col']['charoff'] = array();$allowed_tags_student['col']['valign'] = array();$allowed_tags_student['col']['width'] = array();// DEL$allowed_tags_student['del'] = array();$allowed_tags_student['del']['datetime'] = array();// DD$allowed_tags_student['dd'] = array();// DIV$allowed_tags_student['div'] = array();$allowed_tags_student['div']['align'] = array();$allowed_tags_student['div']['class'] = array();$allowed_tags_student['div']['id'] = array();#$allowed_tags_student['div']['style'] = array(); //filtered out for security (see kses security report)// DL$allowed_tags_student['dl'] = array();// DT$allowed_tags_student['dt'] = array();// EM$allowed_tags_student['em'] = array();// EMBED$allowed_tags_student['embed'] = array();$allowed_tags_student['embed']['height'] = array();$allowed_tags_student['embed']['type'] = array();$allowed_tags_student['embed']['quality'] = array();$allowed_tags_student['embed']['src'] = array();$allowed_tags_student['embed']['width'] = array();// FIELDSET$allowed_tags_student['fieldset'] = array();// FONT$allowed_tags_student['font'] = array();$allowed_tags_student['font']['color'] = array();$allowed_tags_student['font']['face'] = array();$allowed_tags_student['font']['size'] = array();//$allowed_tags_student['font']['style'] = array(); //filtered out for security (see kses security report)// FORM$allowed_tags_student['form'] = array();$allowed_tags_student['form']['action'] = array();$allowed_tags_student['form']['accept'] = array();$allowed_tags_student['form']['accept-charset'] = array();$allowed_tags_student['form']['enctype'] = array();$allowed_tags_student['form']['method'] = array();$allowed_tags_student['form']['name'] = array();$allowed_tags_student['form']['target'] = array();// FRAME$allowed_tags_student_full_page['frame'] = array();$allowed_tags_student_full_page['frame']['frameborder'] = array();$allowed_tags_student_full_page['frame']['longsesc'] = array();$allowed_tags_student_full_page['frame']['marginheight'] = array();$allowed_tags_student_full_page['frame']['marginwidth'] = array();$allowed_tags_student_full_page['frame']['name'] = array();$allowed_tags_student_full_page['frame']['noresize'] = array();$allowed_tags_student_full_page['frame']['scrolling'] = array();$allowed_tags_student_full_page['frame']['src'] = array();// FRAMESET$allowed_tags_student_full_page['frameset'] = array();$allowed_tags_student_full_page['frameset']['cols'] = array();$allowed_tags_student_full_page['frameset']['rows'] = array();// HEAD$allowed_tags_student_full_page['head'] = array();$allowed_tags_student_full_page['head']['profile'] = array();// H1$allowed_tags_student['h1'] = array();$allowed_tags_student['h1']['align'] = array();$allowed_tags_student['h1']['class'] = array();$allowed_tags_student['h1']['id'] = array();// H2$allowed_tags_student['h2'] = array();$allowed_tags_student['h2']['align'] = array();$allowed_tags_student['h2']['class'] = array();$allowed_tags_student['h2']['id'] = array();// H3$allowed_tags_student['h3'] = array();$allowed_tags_student['h3']['align'] = array();$allowed_tags_student['h3']['class'] = array();$allowed_tags_student['h3']['id'] = array();// H4$allowed_tags_student['h4'] = array();$allowed_tags_student['h4']['align'] = array();$allowed_tags_student['h4']['class'] = array();$allowed_tags_student['h4']['id'] = array();// H5$allowed_tags_student['h5'] = array();$allowed_tags_student['h5']['align'] = array();$allowed_tags_student['h5']['class'] = array();$allowed_tags_student['h5']['id'] = array();// H6$allowed_tags_student['h6'] = array();$allowed_tags_student['h6']['align'] = array();$allowed_tags_student['h6']['class'] = array();$allowed_tags_student['h6']['id'] = array();// HR$allowed_tags_student['hr'] = array();$allowed_tags_student['hr']['align'] = array();$allowed_tags_student['hr']['noshade'] = array();$allowed_tags_student['hr']['size'] = array();$allowed_tags_student['hr']['width'] = array();$allowed_tags_student['hr']['class'] = array();$allowed_tags_student['hr']['id'] = array();// HTML$allowed_tags_student_full_page['html'] = array();$allowed_tags_student_full_page['html']['xmlns'] = array();// I$allowed_tags_student['i'] = array();// IFRAME$allowed_tags_student['iframe'] = array();$allowed_tags_student['iframe']['align'] = array();$allowed_tags_student['iframe']['frameborder'] = array();$allowed_tags_student['iframe']['height'] = array();$allowed_tags_student['iframe']['londesc'] = array();$allowed_tags_student['iframe']['marginheight'] = array();$allowed_tags_student['iframe']['marginwidth'] = array();$allowed_tags_student['iframe']['name'] = array();$allowed_tags_student['iframe']['scrolling'] = array();$allowed_tags_student['iframe']['src'] = array();$allowed_tags_student['iframe']['width'] = array();// IMG$allowed_tags_student['img'] = array();$allowed_tags_student['img']['alt'] = array();$allowed_tags_student['img']['align'] = array();$allowed_tags_student['img']['border'] = array();$allowed_tags_student['img']['height'] = array();$allowed_tags_student['img']['hspace'] = array();$allowed_tags_student['img']['ismap'] = array();$allowed_tags_student['img']['longdesc'] = array();$allowed_tags_student['img']['src'] = array();$allowed_tags_student['img']['usemap'] = array();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -