<?php
/**************************************************************************
 *
 * LOVD DATABASE WEBSITE
 *
 * Created     : 2008-08-19
 * Modified    : 2008-08-19
 * For LOVD    : 2.0-10
 *
 * Access      : Public
 *
 * Programmer  : Ing. Ivo F.A.C. Fokkema <I.F.A.C.Fokkema@LUMC.nl>
 * Last edited : Ing. Ivo F.A.C. Fokkema <I.F.A.C.Fokkema@LUMC.nl>
 *
 *************/

define('ROOT_PATH', '../');
define('DOCS_PATH', ROOT_PATH . 'docs/');
require DOCS_PATH . 'inc-website-init.php';
require ROOT_PATH . 'inc-top.php';
?>

            <H3>Use of HTML within LOVD</H3>

            LOVD allows very limited use of HTML, in contrast with LOVD 1.1.0. HTML stands for HyperText Markup Language, and is the language used to create webpages. HTML allows you to define markup in headers, footers, notes and other information.<BR>
            It is restricted to <A href="<?php echo DOCS_PATH; ?>lovd_setup/authorized_users.php">authorized users</A> only, and not in any variant or patient fields. The reason for this restriction is that allowing HTML input also allows Javascript code insertion, which in turn allows a security thread referred to as XSS, or Cross-site scripting. Javascript code inserted by a submitter may, amongst other things, lead to the theft of a curator's account information.<BR>
            <BR>

            These forms allow HTML input:<BR>
            <UL style="margin : 0px;">
              <LI>System settings form</LI>
              <LI>Create and edit genes</LI>
              <LI>Create and edit custom columns</LI>
              <LI>Change custom column display settings</LI>
              <LI>Create and edit custom links</LI>
            </UL>
            <BR>

            There are so many books and websites about how to write HTML, that explaining HTML here, even the basics, is useless. Instead, I will provide a couple of links that may help you find your way in HTML.<BR>
            <BR>

            <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
              <TR valign="top">
                <TD width="250"><A href="http://www.w3c.org/" target="_blank">World Wide Web Consortium (W3C)</A></TD>
                <TD>The W3C is responsible for the definition of HTML standards and provide full documentation on all HTML versions, however they provide quite technical reading.</TD></TR>
              <TR valign="top">
                <TD width="250"><A href="http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/htmlindex.html" target="_blank">Introduction to HTML</A></TD>
                <TD>By Ian Graham, author of the &quot;HTML Sourcebook&quot;.</TD></TR>
              <TR valign="top">
                <TD width="250"><A href="http://www.w3schools.com/html/default.asp" target="_blank">HTML Tutorial</A></TD>
                <TD>By W3Schools.</TD></TR></TABLE><BR>

            Please note that when using HTML in LOVD, you do <B>not</B> need to declare or close the &lt;HTML&gt;, &lt;HEAD&gt; or &lt;BODY&gt; tags, since LOVD will do this.<BR>
            <BR>

<?php
include ROOT_PATH . 'inc-bot.php';
?>
