summaryrefslogtreecommitdiff
path: root/html/widgets/dir.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'html/widgets/dir.tmpl')
-rw-r--r--html/widgets/dir.tmpl20
1 files changed, 0 insertions, 20 deletions
diff --git a/html/widgets/dir.tmpl b/html/widgets/dir.tmpl
deleted file mode 100644
index fa41e1b..0000000
--- a/html/widgets/dir.tmpl
+++ /dev/null
@@ -1,20 +0,0 @@
-<!-- dir -->
-<tr>
- <td class="<?% (param.count mod 2) == 0 ? 'light' : 'dark' %?>" >
- <?% data.msg %?>
- </td>
- <td class="<?% (param.count mod 2) == 0 ? 'light' : 'dark' %?>" >
- <?% val = cgi.param(data.NAME) || data.def %?>
- <input type="text" name="<?% data.NAME %?>" value="<?% val %?>" <?% FOREACH p = param.tags; "$p ";END %?>
- onBlur="check<?% data.NAME %?>Dir()"><br>
- <span id='id<?% param.count %?>'></span>
- </td>
-</tr>
-<script>
-function check<?% data.NAME %?>Dir () {
- checkValue(document.forms[0].<?% data.NAME %?>, 'id<?% param.count %?>', "isdir",
- '<?% gettext("Directory does not exist!") %?>',
- '<?% gettext("Directory exists!") %?>');
-}
-window.setTimeout("check<?% data.NAME %?>Dir()", 500);
-</script>