-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.php
27 lines (27 loc) · 1.03 KB
/
test.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
<?php
/**
* EditOnLink plugin
* Test file
* @author Constant Illumination (Chang Zhao) <[email protected]>
* Date: 13.11.2018
*/
?>
<html lang="en">
<head>
<title>EditOnLink Test</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="script.js"></script>
</head>
<body style="padding-left:6em;<?php if($_GET['do']=='edit')
echo 'color:#369; background:#FFFFCC;'; ?>" class="dokuwiki">
<?php echo '$_GET = '.htmlspecialchars(var_export($_GET, true), ENT_QUOTES); ?>
<p id="top">Hover this link; see an animated<br>
decoration and a popover button.</p>
<div><a href="test.php" class="wikilink1">LINK TO TEST.PHP</a></div>
<p>Clicking that button must turn URL<br>
"test.php" into "test.php?do=edit".</p>
<p> <a href="test.php#top" class="breadcrumbs" style="font-size: x-small">breadcrumbs</a> *
<a href="test.php?do=oops" class="breadcrumbs" style="font-size: small">breadcrumbs</a> *
<a href="test.php?do=oops#top" class="wikilink2" style="font-size: large; color: red;">wikilink2</a></p>
</body>
</html>