-
Notifications
You must be signed in to change notification settings - Fork 5
/
pm_folders.tpl
46 lines (45 loc) · 2.08 KB
/
pm_folders.tpl
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!-- BEGIN TEMPLATE pm_folders.tpl -->
<form action="{URL->ACTION}" method="post">
{POST_VARS}
<input type="hidden" name="action" value="folders" />
<div class="generic">
<h4>{LANG->PMFolderCreate}</h4>
<input type="text" name="create_folder_name" value="{CREATE_FOLDER_NAME}" size="20" maxlength="20" />
<input type="submit" name="create_folder" value="{LANG->Submit}" />
</div>
</form>
{IF PM_USERFOLDERS}
<form action="{URL->ACTION}" method="post">
{POST_VARS}
<input type="hidden" name="action" value="folders" />
<div class="generic">
<h4>{LANG->PMFolderRename}</h4>
<select name="rename_folder_from" style="vertical-align: middle">
<option value="">{LANG->PMSelectAFolder}</option>
{LOOP PM_USERFOLDERS}
<option value="{PM_USERFOLDERS->id}">{PM_USERFOLDERS->name}</option>
{/LOOP PM_USERFOLDERS}
</select>
{LANG->PMFolderRenameTo}
<input type="text" name="rename_folder_to" value="{RENAME_FOLDER_NAME}" size="20" maxlength="20" />
<input type="submit" name="rename_folder" value="{LANG->Submit}" />
</div>
</form>
<form action="{URL->ACTION}" method="post">
{POST_VARS}
<input type="hidden" name="action" value="folders" />
<div class="generic">
<h4>{LANG->PMFolderDelete}</h4>
<p>{LANG->PMFolderDeleteExplain}</p>
{LANG->PMFolderDelete}
<select name="delete_folder_target" style="vertical-align: middle">
<option value="">{LANG->PMSelectAFolder}</option>
{LOOP PM_USERFOLDERS}
<option value="{PM_USERFOLDERS->id}">{PM_USERFOLDERS->name}{IF PM_USERFOLDERS->total} ({PM_USERFOLDERS->total}){/IF}</option>
{/LOOP PM_USERFOLDERS}
</select>
<input type="submit" name="delete_folder" value="{LANG->Submit}" onclick="return confirm('{LANG->PMFolderDeleteConfirm}')" />
</div>
</form>
{/IF}
<!-- END TEMPLATE pm_folders.tpl -->