DSA-3110 Hotspot Edition – User Manual
@LNG:hs_login@:
<input id="A1"
name="A1" type="text"
maxlength="15" />
@LNG:hs_password@:
<br />
<input id="A2"
name="A2" type="password
" maxlength="30" />
<br />
<br />
<input id="auth"
name="auth
" type="hidden" value="auth" />
<br />
<br />
<input id="bt" name="bt" type="submit" value="@LNG:button_enter@" />
</div>
</form>
</div>
</body>
</html>
Attention:
The
input
tag for login entry should have the parameter
name="A1"
.
The
input
tag for password entry should have the parameter
name="A2"
.
The
input
tag with the parameter
name="auth"
should be included.
Finally, all these
input
tags should be placed within the
form
tag.
The above conditions are MANDATORY!
Also note the correct way to specify the path to a file you want to upload:
templates/user/file_name
CSS Files
Css files are connected via the following syntax:
<link rel="stylesheet" href="templates/user/<name of css-file>" type="text/css" />
.
As the CGI program is located in the directory
/var/www/
, upon connection of a css-file you should
specify the path to the file with regard to this directory. That is, you should add the prefix
templates/user/
.
Example:
<link rel="stylesheet" href="templates/user/ttt.css" type="text/css" />
Script Files
The way of connecting script files (JavaScript, JScript, VBScript, etc.) is similar to the one of css-
files. As the CGI program is located in the directory
/var/www
, and all files uploaded by a user are
located in the directory
/var/www/templates/user
, you should add the prefix
templates/user/
.
Example: <script type="text/javascript" src="templates/user/ttt.js"></script>
Page 60 of 61