-
Notifications
You must be signed in to change notification settings - Fork 0
/
SkillsCreateNewCategory.txt
58 lines (52 loc) · 2.46 KB
/
SkillsCreateNewCategory.txt
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
47
48
49
50
51
52
53
54
55
56
57
58
%META:TOPICPARENT{name="SkillsPlugin"}%
---+!! SkillsPlugin: Create New Category
%STARTINCLUDE%
<table class="skillNavigation" border="0" cellpadding="3" cellspacing="0"><tr>
<td> </td>
<td bgcolor="#F6F4EB"> [[SkillsAdminIntroduction][Introduction]] </td>
<td> </td>
<td bgcolor="#F6F4EB"> [[SkillsCreateNewSkill][Create Skill]] </td>
<td> </td>
<td bgcolor="#F6F4EB"> [[SkillsRenameSkill][Rename Skill]] </td>
<td> </td>
<td bgcolor="#F6F4EB"> [[SkillsMoveSkill][Move Skill]] </td>
<td> </td>
<td bgcolor="#F6F4EB"> [[SkillsDeleteSkill][Delete Skill]] </td>
<td> </td>
<td> </td>
<td> </td>
<td bgcolor="#EAE9DE"> *Create New Category* </td>
<td> </td>
<td bgcolor="#F6F4EB"> [[SkillsRenameCategory][Rename Category]] </td>
<td> </td>
<td bgcolor="#F6F4EB"> [[SkillsDeleteCategory][Delete Category]] </td>
</tr></table>
<table border="0" cellpadding="5" cellspacing="0" style="width:100%;">
<tr bgcolor="#EAE9DE"><td style="width:100%;"></td></tr>
</table>
%STARTSECTION{"createcategory"}%
%IF{ "{Plugins}{SkillsPlugin}{Enabled}" then="%URLPARAM{"skillsmessage"}%" else="<table border='0' cellpadding='3' cellspacing='0' width='100%'><tr><td bgcolor='yellow'><font color='red'><strong>The Skills Plugin is not enabled on this site. The forms below are disabled.</strong></font></td></tr></table>" }%
Create a new category.
<form name="createcategory" action="%SCRIPTURL{rest}%/SkillsPlugin/addNewCategory" method="post">
<div class="foswikiFormSteps">
<div class="foswikiFormStep">
Name of new category: %BR% <input name="newcategory" type="text" class="twikiInputField" size="20" value="%URLPARAM{"createcategory"}%" />
</div>
<div class="foswikiFormStep">
<strong>Description</strong><br />
<textarea name="description" class="foswikiTextarea" cols=80 rows=5>
</textarea>
</div>
<div class="foswikiFormStep foswikiLast">
<input name="createcategory" type="submit" class="foswikiSubmit" value="%MAKETEXT{"Create"}%" />
<input type="hidden" name="topic" value="%WEB%.%TOPIC%" />
</div>
</div>
</form>
%ENDSECTION{"createcategory"}%
%STARTSECTION{"existingcategories"}%
Existing categories: %SKILLS{action="showcategories"}%
%ENDSECTION{"existingcategories"}%
%STOPINCLUDE%
%BR%
<span class="foswikiGrayText">Other skills options: [[SkillsBrowseAll][Browse All Skills]], [[SkillsEditMySkills][Edit My Skills]], [[SkillsSearch][Search Skills]]</span>