index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
commit | 6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch) | |
tree | 350feb504587d932e02837a1442b059759927646 /themes/CleanFS/templates/admin.newproject.tpl |
-rw-r--r-- | themes/CleanFS/templates/admin.newproject.tpl | 58 |
diff --git a/themes/CleanFS/templates/admin.newproject.tpl b/themes/CleanFS/templates/admin.newproject.tpl new file mode 100644 index 0000000..db6c36f --- /dev/null +++ b/themes/CleanFS/templates/admin.newproject.tpl @@ -0,0 +1,58 @@ +<div id="toolbox"> + <h3><?php echo Filters::noXSS(L('createnewproject')); ?></h3> + <?php echo tpl_form(CreateURL('admin', 'newproject')); ?> + <div> + <input type="hidden" name="action" value="admin.newproject" /> + <input type="hidden" name="area" value="newproject" /> + </div> + <ul class="form_elements"> + <li> + <label for="projecttitle"><?php echo Filters::noXSS(L('projecttitle')); ?></label> + <input id="projecttitle" name="project_title" value="<?php echo Filters::noXSS(Req::val('project_title')); ?>" type="text" class="required text" size="40" maxlength="100" /> + </li> + <li> + <label for="themestyle"><?php echo Filters::noXSS(L('themestyle')); ?></label> + <select id="themestyle" name="theme_style"> + <?php echo tpl_options(Flyspray::listThemes(), Req::val('theme_style', $proj->prefs['theme_style']), true); ?> + + </select> + </li> + <li> + <label for="langcode"><?php echo Filters::noXSS(L('language')); ?></label> + <select id="langcode" name="lang_code"> + <?php echo tpl_options(Flyspray::listLangs(), Req::val('lang_code', $fs->prefs['lang_code']), true); ?> + </select> + </li> + <li> + <label for="intromesg"><?php echo Filters::noXSS(L('intromessage')); ?></label> + <?php if (defined('FLYSPRAY_HAS_PREVIEW')): ?> + <div class="hide preview" id="preview"></div> + <?php endif; ?> + <?php echo TextFormatter::textarea('intro_message', 8, 70, array('accesskey' => 'r', 'tabindex' => 8, 'id' => 'intromesg'), Req::val('intro_message', $proj->prefs['intro_message'])); ?> + <br /> + <?php if (defined('FLYSPRAY_HAS_PREVIEW')): ?> + <button tabindex="9" type="button" onclick="showPreview('intromesg', '<?php echo Filters::noJsXSS($baseurl); ?>', 'preview')"><?php echo Filters::noXSS(L('preview')); ?></button> + <?php endif; ?> + </li> + <li> + <label for="othersview"><?php echo Filters::noXSS(L('othersview')); ?></label> + <?php echo tpl_checkbox('others_view', Req::val('others_view', 0), 'othersview'); ?> + </li> + <li> + <label for="othersviewroadmap"><?php echo Filters::noXSS(L('othersviewroadmap')); ?></label> + <?php echo tpl_checkbox('others_viewroadmap', Req::val('others_viewroadmap', 0), 'othersviewroadmap'); ?> + </li> + <li> + <label for="anonopen"><?php echo Filters::noXSS(L('allowanonopentask')); ?></label> + <?php echo tpl_checkbox('anon_open', Req::val('anon_open'), 'anonopen'); ?> + </li> + <li> + <label for="disp_intro"><?php echo Filters::noXSS(L('dispintro')); ?></label> + <?php echo tpl_checkbox('disp_intro', Req::val('disp_intro', 0), 'disp_intro'); ?> + </li> + <li> + <td class="buttons" colspan="2"><button type="submit" class="positive"><?php echo Filters::noXSS(L('createthisproject')); ?></button></td> + </li> + </ul> + </form> +</div> |