diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php
index 6ee41bdfb3..8bd7efe16f 100644
--- a/module/bug/view/create.html.php
+++ b/module/bug/view/create.html.php
@@ -18,7 +18,7 @@ js::set('holders', $lang->bug->placeholder);
js::set('page', 'create');
js::set('createRelease', $lang->release->create);
js::set('createBuild', $lang->build->create);
-js::set('refresh', "");
+js::set('refresh', $lang->refreshIcon);
js::set('flow', $config->global->flow);
js::set('stepsRequired', $stepsRequired);
js::set('stepsNotEmpty', $lang->bug->stepsNotEmpty);
@@ -69,7 +69,7 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);
echo "";
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=bug¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
echo ' ';
- echo html::a("javascript:void(0)", "", '', "class='refresh' onclick='loadProductModules($productID)'");
+ echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($productID)'");
echo '';
}
?>
diff --git a/module/bug/view/edit.html.php b/module/bug/view/edit.html.php
index 94bb5d6641..58d28ab725 100644
--- a/module/bug/view/edit.html.php
+++ b/module/bug/view/edit.html.php
@@ -111,7 +111,7 @@ if($this->app->tab == 'project') js::set('objectID', $bug->project);
echo "";
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=bug¤tModuleID=0&branch=$bug->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
echo ' ';
- echo html::a("javascript:void(0)", "", '', "class='refresh' onclick='loadProductModules($productID)'");
+ echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($productID)'");
echo '';
}
?>
diff --git a/module/common/lang/common.php b/module/common/lang/common.php
index 38d73ae72d..5d367bed03 100644
--- a/module/common/lang/common.php
+++ b/module/common/lang/common.php
@@ -174,6 +174,8 @@ $lang->createIcons['program'] = 'program';
$lang->createIcons['kanbanspace'] = 'cube';
$lang->createIcons['kanban'] = 'kanban';
+$lang->refreshIcon = "";
+
$lang->noMenuModule = array('report', 'my', 'todo', 'effort', 'program', 'product', 'execution', 'task', 'build', 'productplan', 'project', 'projectrelease', 'projectstory', 'story', 'branch', 'release', 'attend', 'leave', 'makeup', 'overtime', 'lieu', 'custom', 'admin', 'mail', 'extension', 'dev', 'backup', 'action', 'cron', 'pssp', 'sms', 'message', 'webhook', 'search', 'score', 'stage', 'entry', 'jenkins', 'gitlab');
if(isset($_SESSION['tutorialMode']) and $_SESSION['tutorialMode'] and !defined('TUTORIAL')) define('TUTORIAL', true);
diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php
index 97a31c2038..44ac11c4cf 100644
--- a/module/story/view/create.html.php
+++ b/module/story/view/create.html.php
@@ -60,7 +60,7 @@
echo "
";
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=story¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='90%'");
echo ' ';
- echo html::a("javascript:void(0)", "", '', "class='refresh' onclick='loadProductModules($productID)'");
+ echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($productID)'");
echo '
';
}
?>
diff --git a/module/story/view/edit.html.php b/module/story/view/edit.html.php
index 9d026a3127..12518c5a8c 100644
--- a/module/story/view/edit.html.php
+++ b/module/story/view/edit.html.php
@@ -106,7 +106,7 @@
echo "";
echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story¤tModuleID=0&branch=$story->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
echo ' ';
- echo html::a("javascript:void(0)", "", '', "class='refresh' onclick='loadProductModules($story->product)'");
+ echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($story->product)'");
echo '';
}
?>
diff --git a/module/testcase/view/create.html.php b/module/testcase/view/create.html.php
index 6e78467a8d..cbebdab3c9 100644
--- a/module/testcase/view/create.html.php
+++ b/module/testcase/view/create.html.php
@@ -56,7 +56,7 @@
{
echo "";
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=case¤tModuleID=0&branch=$branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
- echo html::a("javascript:void(0)", "", '', "id='refresh' class='refresh' onclick='loadProductModules($productID)'");
+ echo html::a("javascript:void(0)", $lang->refreshIcon, '', "id='refresh' class='refresh' onclick='loadProductModules($productID)'");
echo '';
}
?>
diff --git a/module/testcase/view/edit.html.php b/module/testcase/view/edit.html.php
index 3f9e41a7e5..6ea8b49783 100644
--- a/module/testcase/view/edit.html.php
+++ b/module/testcase/view/edit.html.php
@@ -164,7 +164,7 @@
echo "";
echo html::a($this->createLink('tree', 'browse', "rootID=$libID&view=caselib¤tModuleID=0&branch=$case->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
echo ' ';
- echo html::a("javascript:void(0)", "", '', "class='refresh' onclick='loadLibModules($libID)'");
+ echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadLibModules($libID)'");
echo '';
}
?>
@@ -192,7 +192,7 @@
echo "";
echo html::a($this->createLink('tree', 'browse', "rootID=$productID&view=case¤tModuleID=0&branch=$case->branch", '', true), $lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
echo ' ';
- echo html::a("javascript:void(0)", "", '', "class='refresh' onclick='loadProductModules($productID)'");
+ echo html::a("javascript:void(0)", $lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($productID)'");
echo '';
}
diff --git a/module/tree/control.php b/module/tree/control.php
index ef47b8fe2b..37bfb81560 100644
--- a/module/tree/control.php
+++ b/module/tree/control.php
@@ -523,7 +523,7 @@ class tree extends control
$output .= "";
$output .= html::a($this->createLink('tree', 'browse', "rootID=$rootID&view=$viewType¤tModuleID=0&branch=$branch", '', true), $this->lang->tree->manage, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");
$output .= ' ';
- $output .= html::a("javascript:void(0)", "", '', "class='refresh' onclick='loadProductModules($rootID)'");
+ $output .= html::a("javascript:void(0)", $this->lang->refreshIcon, '', "class='refresh' onclick='loadProductModules($rootID)'");
$output .= '';
}
}