4 global $template_definition;
6 $template_definition[] = array(
8 'name' => gettext("Folder"),
9 'description' => gettext("Each individual folder"),
11 '{{username}}' => gettext("The owner of the folder"),
12 '{{name}}' => gettext("The name of the folder"),
13 '{{url}}' => gettext("The folder's URL"),
14 '{{menu}}' => gettext("Menu items for folder owner (edit, delete, etc)"),
15 '{{icon}}' => gettext("The URL of the file's icon"),
16 '{{keywords}}' => gettext("Keywords associated with the folder")
20 $template['folder'] = <<< END
21 <div
class="foldertable">
26 <img src
="{{icon}}" width
="93" height
="90" border
="0" alt
="" />
30 <p
><a href
="{{url}}">{{name
}}</a
> {{menu
}}</p
>
38 $template_definition[] = array(
40 'name' => gettext("File"),
41 'description' => gettext("Each individual file within a folder"),
43 '{{url}}' => gettext("The file's URL"),
44 '{{originalname}}' => gettext("Its filename"),
45 '{{description}}' => gettext("A description of the file"),
46 '{{title}}' => gettext("Its title"),
47 '{{menu}}' => gettext("Menu items for file owner (edit, delete, etc)"),
48 '{{icon}}' => gettext("The URL of its icon"),
49 '{{keywords}}' => gettext("Keywords associated with the folder")
53 $template['file'] = <<< END
55 <div
class="filetable">
60 <img src
="{{icon}}" width
="90" height
="90" border
="0" alt
="" />
64 <a href
="{{url}}"><b
>{{title
}}</b
></a
>
66 <p
>{{description
}}</p
>
67 <p
>{{originalname
}}</p
>