Remove "BLACK DIAMOND SUIT" character from global categories

This commit is contained in:
Hadi Nategh 2014-02-03 09:19:59 +00:00
parent 00b040764d
commit 7f222b165d
5 changed files with 0 additions and 13 deletions

View File

@ -757,7 +757,6 @@ class etemplate_widget_nextmatch extends etemplate_widget
foreach((array)$cats as $cat)
{
$name = str_repeat(' ',2*$cat['level']) . stripslashes($cat['name']);
if (categories::is_global($cat)) $name .= ' ♦';
$cat_actions[$cat['id']] = array(
'caption' => $name,
@ -796,7 +795,6 @@ class etemplate_widget_nextmatch extends etemplate_widget
if ($cat['parent'] == $parent_id)
{
$name = stripslashes($cat['name']);
if (categories::is_global($cat)) $name .= ' ♦';
$cat_actions[$cat['id']] = array(
'caption' => $name,

View File

@ -804,7 +804,6 @@ class nextmatch_widget
foreach((array)$cats as $cat)
{
$name = str_repeat(' ',2*$cat['level']) . stripslashes($cat['name']);
if (categories::is_global($cat)) $name .= ' ♦';
$cat_actions[$cat['id']] = array(
'caption' => $name,
@ -843,7 +842,6 @@ class nextmatch_widget
if ($cat['parent'] == $parent_id)
{
$name = stripslashes($cat['name']);
if (categories::is_global($cat)) $name .= ' ♦';
$cat_actions[$cat['id']] = array(
'caption' => $name,

View File

@ -220,10 +220,6 @@ class select_widget
{
$s = str_repeat(' ',$cat['level']) . stripslashes($cat['name']);
if (categories::is_global($cat))
{
$s .= ' ♦';
}
$cell['sel_options'][$cat['id']] = empty($cat['description']) ? $s : array(
'label' => $s,
'title' => $cat['description'],

View File

@ -143,7 +143,6 @@ class categories
if (is_null(self::$global_marker))
{
// as et2 adds options with .text(), it can't be entities, but php knows no string literals with utf-8
self::$global_marker = html_entity_decode(' ♦', ENT_NOQUOTES, 'utf-8');
}
}

View File

@ -105,10 +105,6 @@ class timesheet_wizard_import_csv extends importexport_wizard_basic_import_csv
foreach((array)$categories->return_sorted_array(0,False,'','','',true) as $cat) {
$s = str_repeat(' ',$cat['level']) . stripslashes($cat['name']);
if (categories::is_global($cat))
{
$s .= ' ♦';
}
$cat_list[$cat['id']] = empty($cat['description']) ? $s : array(
'label' => $s,
'title' => $cat['description'],