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/pm.menu.tpl |
-rw-r--r-- | themes/CleanFS/templates/pm.menu.tpl | 34 |
diff --git a/themes/CleanFS/templates/pm.menu.tpl b/themes/CleanFS/templates/pm.menu.tpl new file mode 100644 index 0000000..f239e10 --- /dev/null +++ b/themes/CleanFS/templates/pm.menu.tpl @@ -0,0 +1,34 @@ +<?php $activeclass = ' class="active" '; ?> + +<div id="toolboxmenu"> + <a id="projprefslink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'prefs') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'prefs', $proj->id)); ?>"><?php echo Filters::noXSS(L('preferences')); ?></a> + <a id="projuglink" + <?php if(isset($_GET['area']) and ($_GET['area'] == 'groups' || $_GET['area'] == 'newgroup' || $_GET['area'] == 'editgroup') ) echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'groups', $proj->id)); ?>"><?php echo Filters::noXSS(L('usergroups')); ?></a> + <a id="projcatlink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'cat') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'cat', $proj->id)); ?>"><?php echo Filters::noXSS(L('categories')); ?></a> + <a id="projttlink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'tasktype') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'tasktype', $proj->id)); ?>"><?php echo Filters::noXSS(L('tasktypes')); ?></a> + <a id="projtglink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'tag') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'tag', $proj->id)); ?>"><i class="fa fa-tag"></i> <?php echo Filters::noXSS(L('tags')); ?></a> + <a id="projstatuslink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'status') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'status', $proj->id)); ?>"><?php echo Filters::noXSS(L('taskstatuses')); ?></a> + <a id="projreslink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'resolution') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'resolution', $proj->id)); ?>"><?php echo Filters::noXSS(L('resolutions')); ?></a> + <a id="projverlink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'version') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'version', $proj->id)); ?>"><?php echo Filters::noXSS(L('versions')); ?></a> + <a id="projoslink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'os') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'os', $proj->id)); ?>"><i class="fa fa-linux"></i><i class="fa fa-windows"></i><i class="fa fa-apple"></i> <?php echo Filters::noXSS(L('operatingsystems')); ?></a> + <a id="projreqlink" + <?php if(isset($_GET['area']) and $_GET['area'] == 'pendingreq') echo $activeclass; ?> + href="<?php echo Filters::noXSS(CreateURL('pm', 'pendingreq', $proj->id)); ?>"><?php echo Filters::noXSS(L('pendingrequests')); ?></a> +</div> |