summaryrefslogtreecommitdiffstats
path: root/devel/flyspray/files/patch-scripts-newtask.php
blob: e4b0c315be619eb949ff4104e2ba9a03f198b2da (plain)
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
--- scripts/newtask.php.orig	Thu Sep 29 21:43:25 2005
+++ scripts/newtask.php	Wed Oct 26 23:03:01 2005
@@ -104,7 +104,7 @@
             <select id="itemstatus" name="item_status" <?php if ($permissions['modify_all_tasks'] != "1") echo ' disabled="disabled"';?>>
             <?php
             // Get list of statuses
-            require("lang/$lang/status.php");
+            $fs->get_language_pack($lang, 'status');
             foreach($status_list as $key => $val)
             {
                if ($key == '2')
@@ -177,7 +177,7 @@
             <select id="taskseverity" class="adminlist" name="task_severity">
             <?php
             // Get list of severities
-            require("lang/$lang/severity.php");
+            $fs->get_language_pack($lang, 'severity');
             foreach($severity_list as $key => $val)
             {
                if ($key == '2')
@@ -198,7 +198,7 @@
             <select id="task_priority" name="task_priority" <?php if ($permissions['modify_all_tasks'] != "1") echo ' disabled="disabled"';?>>
             <?php
             // Get list of statuses
-            require("lang/$lang/priority.php");
+            $fs->get_language_pack($lang, 'priority');
             foreach($priority_list as $key => $val)
             {
                if ($key == '2')
OpenPOWER on IntegriCloud