diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-03-15 18:00:30 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-03-15 18:00:30 +0100 |
commit | ad69fc565fe01e18bca7d3ad975156d6a2c8a604 (patch) | |
tree | f7606ab5fd33ada73ba21775d787672636cbd232 /t/cmp | |
parent | 3574da8815b830efc1317221c1348fd741559dd6 (diff) |
Only place lightbox html links when lightbox is enabled
Diffstat (limited to 't/cmp')
l--------- | t/cmp/index.lightbox | 1 | ||||
-rw-r--r-- | t/cmp/index.names | 5 | ||||
-rw-r--r-- | t/cmp/index.no-lightbox | 25 | ||||
-rw-r--r-- | t/cmp/index.no-names | 5 |
4 files changed, 32 insertions, 4 deletions
diff --git a/t/cmp/index.lightbox b/t/cmp/index.lightbox new file mode 120000 index 0000000..122ada1 --- /dev/null +++ b/t/cmp/index.lightbox @@ -0,0 +1 @@ +index.names
\ No newline at end of file diff --git a/t/cmp/index.names b/t/cmp/index.names index c682ae1..72e0e94 100644 --- a/t/cmp/index.names +++ b/t/cmp/index.names @@ -5,8 +5,9 @@ <title>dthumb</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <link rel="stylesheet" type="text/css" href=".dthumb/main.css"/> - <link rel="stylesheet" type="text/css" href=".dthumb/lightbox.css"/> - <script type="text/javascript" src=".dthumb/lightbox.js"></script> +<link rel="stylesheet" type="text/css" href=".dthumb/lightbox.css"/> +<script type="text/javascript" src=".dthumb/lightbox.js"></script> + </head> <body><div> <div class="image-container"> diff --git a/t/cmp/index.no-lightbox b/t/cmp/index.no-lightbox new file mode 100644 index 0000000..93869ca --- /dev/null +++ b/t/cmp/index.no-lightbox @@ -0,0 +1,25 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <title>dthumb</title> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> + <link rel="stylesheet" type="text/css" href=".dthumb/main.css"/> +<!-- $lightbox --> +</head> +<body><div> +<div class="image-container"> + <a rel="lightbox" href="one.png" title="one.png"> + <img src="t/imgdir/.thumbs/one.png" alt="one.png" /></a> + <br /> + <a style="text-decoration: none;" href="one.png">one.png</a> +</div> +<div class="image-container"> + <a rel="lightbox" href="two.png" title="two.png"> + <img src="t/imgdir/.thumbs/two.png" alt="two.png" /></a> + <br /> + <a style="text-decoration: none;" href="two.png">two.png</a> +</div> +</div> +</body> +</html> diff --git a/t/cmp/index.no-names b/t/cmp/index.no-names index 5022b19..cdc6311 100644 --- a/t/cmp/index.no-names +++ b/t/cmp/index.no-names @@ -5,8 +5,9 @@ <title>dthumb</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <link rel="stylesheet" type="text/css" href=".dthumb/main.css"/> - <link rel="stylesheet" type="text/css" href=".dthumb/lightbox.css"/> - <script type="text/javascript" src=".dthumb/lightbox.js"></script> +<link rel="stylesheet" type="text/css" href=".dthumb/lightbox.css"/> +<script type="text/javascript" src=".dthumb/lightbox.js"></script> + </head> <body><div> <div class="image-container"> |