File: attach.rb

package info (click to toggle)
hiki 0.8.6-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,772 kB
  • ctags: 1,746
  • sloc: ruby: 20,067; lisp: 926; sh: 269; makefile: 10
file content (22 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: attach.rb,v 1.4 2005/06/17 05:03:43 fdiary Exp $
# Copyright (C) 2003 TAKEUCHI Hitoshi <hitoshi@namaraii.com>

def attach_files_label
  'Attached Files'
end

def attach_upload_label
  'File Upload'
end

def detach_upload_label
  'Remove files'
end

def attach_usage
       '<div><ul>
   <li>Anchor to the attached file is {{attach_anchor(file name [, page name])}}.</li>
   <li>Indication of the attached file is {{attach_view(file name [, page name])}}.</li>
   <li>List of the attached pages and files is {{attach_map}}.</li>
   </ul></div>'
end