Contents of /trunk/flyspray/themes/Magellan/templates/admin.newproject.tpl
Parent Directory | Revision Log
Revision 6 -
(show annotations)
(download)
Thu Mar 24 13:33:23 2016 UTC (8 years, 1 month ago) by niro
File size: 3047 byte(s)
Thu Mar 24 13:33:23 2016 UTC (8 years, 1 month ago) by niro
File size: 3047 byte(s)
-import flyspray-1.0-beta Magellan theme
1 | <div id="toolbox"> |
2 | <h3><?php echo Filters::noXSS(L('createnewproject')); ?></h3> |
3 | <?php echo tpl_form(CreateURL('admin', 'newproject')); ?> |
4 | <div> |
5 | <input type="hidden" name="action" value="admin.newproject" /> |
6 | <input type="hidden" name="area" value="newproject" /> |
7 | </div> |
8 | <ul class="form_elements"> |
9 | <li> |
10 | <label for="projecttitle"><?php echo Filters::noXSS(L('projecttitle')); ?></label> |
11 | <input id="projecttitle" name="project_title" value="<?php echo Filters::noXSS(Req::val('project_title')); ?>" type="text" class="required text" size="40" maxlength="100" /> |
12 | </li> |
13 | <li> |
14 | <label for="themestyle"><?php echo Filters::noXSS(L('themestyle')); ?></label> |
15 | <select id="themestyle" name="theme_style"> |
16 | <?php echo tpl_options(Flyspray::listThemes(), Req::val('theme_style', $proj->prefs['theme_style']), true); ?> |
17 | |
18 | </select> |
19 | </li> |
20 | <li> |
21 | <label for="langcode"><?php echo Filters::noXSS(L('language')); ?></label> |
22 | <select id="langcode" name="lang_code"> |
23 | <?php echo tpl_options(Flyspray::listLangs(), Req::val('lang_code', $fs->prefs['lang_code']), true); ?> |
24 | </select> |
25 | </li> |
26 | <li> |
27 | <label for="intromesg"><?php echo Filters::noXSS(L('intromessage')); ?></label> |
28 | <?php if (defined('FLYSPRAY_HAS_PREVIEW')): ?> |
29 | <div class="hide preview" id="preview"></div> |
30 | <?php endif; ?> |
31 | <?php echo TextFormatter::textarea('intro_message', 8, 70, array('accesskey' => 'r', 'tabindex' => 8, 'id' => 'intromesg'), Req::val('intro_message', $proj->prefs['intro_message'])); ?> |
32 | <br /> |
33 | <?php if (defined('FLYSPRAY_HAS_PREVIEW')): ?> |
34 | <button tabindex="9" type="button" onclick="showPreview('intromesg', '<?php echo Filters::noJsXSS($baseurl); ?>', 'preview')"><?php echo Filters::noXSS(L('preview')); ?></button> |
35 | <?php endif; ?> |
36 | </li> |
37 | <li> |
38 | <label for="othersview"><?php echo Filters::noXSS(L('othersview')); ?></label> |
39 | <?php echo tpl_checkbox('others_view', Req::val('others_view', Req::val('action') != 'admin.newproject'), 'othersview'); ?> |
40 | </li> |
41 | <li> |
42 | <label for="othersviewroadmap"><?php echo Filters::noXSS(L('othersviewroadmap')); ?></label> |
43 | <?php echo tpl_checkbox('others_viewroadmap', Req::val('others_viewroadmap', Req::val('action') != 'admin.newproject'), 'othersviewroadmap'); ?> |
44 | </li> |
45 | <li> |
46 | <label for="anonopen"><?php echo Filters::noXSS(L('allowanonopentask')); ?></label> |
47 | <?php echo tpl_checkbox('anon_open', Req::val('anon_open'), 'anonopen'); ?> |
48 | </li> |
49 | <li> |
50 | <label for="disp_intro"><?php echo Filters::noXSS(L('dispintro')); ?></label> |
51 | <?php echo tpl_checkbox('disp_intro', Req::val('disp_intro', 0), 'disp_intro'); ?> |
52 | </li> |
53 | <li> |
54 | <td class="buttons" colspan="2"><button type="submit" class="positive"><?php echo Filters::noXSS(L('createthisproject')); ?></button></td> |
55 | </li> |
56 | </ul> |
57 | </form> |
58 | </div> |