-
Notifications
You must be signed in to change notification settings - Fork 0
/
add.php
55 lines (53 loc) · 1.21 KB
/
add.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<html lang='en'>
<?php
include ("tasti.inc") ;
$isAuthenticated=login_check();
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tasti - Add a new bookmark</title>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" type="text/css" href="css/jquery.validity.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.validity.js"></script>
<script type="text/javascript">
$(function() {
$("form").validity(function() {
$("#name")
.minLength(2, "Must be at least 2 characters") ;
$("#url")
.match("url","Requires a valid URL (http://...)")
.minLength(6, "Must be at least 6 characters");
});
});
</script>
</head>
<body>
<div id="wrapper">
<div id="header">
<?php
header0($isAuthenticated) ;
?>
</div>
<div id="faux">
<div id="leftcolumn">
<?php
add_bmark() ;
?>
<div class="clear"></div>
</div>
<div id="rightcolumn">
<?php
list_tags() ;
?>
<div class="clear"></div>
</div>
</div>
<div id="footer">
<?php
footer() ;
?>
</div>
</div>
</body>
</html>