I hereby claim:
- I am orthagh on github.
- I am alexandred (https://keybase.io/alexandred) on keybase.
- I have a public key whose fingerprint is 43D4 6FF0 2F62 81AC 3DEA 4DED DE51 3038 673C 0F63
To claim this, I am signing this object:
<?php | |
class PluginMypluginSuperasset_Item extends CommonDBTM { | |
static function getTypeName($nb=0) { | |
return _n('Item', 'Items', $nb); | |
} | |
/** | |
* Tabs title |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
diff --git a/css/styles.css b/css/styles.css | |
index 47f7ed9..5e8fca0 100644 | |
--- a/css/styles.css | |
+++ b/css/styles.css | |
@@ -50,6 +50,15 @@ body.iframed { | |
background: inherit; | |
} | |
+.unselectable { | |
+ -moz-user-select: none; |
diff --git a/ajax/entitytreesearch.php b/ajax/entitytreesearch.php | |
index 04a655c..1c7c6a2 100644 | |
--- a/ajax/entitytreesearch.php | |
+++ b/ajax/entitytreesearch.php | |
@@ -49,7 +49,7 @@ $res = array(); | |
if (isset($_POST['search_string'])) { | |
$query = "SELECT * | |
FROM `glpi_entities` | |
- WHERE `name` LIKE '%".$_POST['search_string']."%' | |
+ WHERE CONVERT(`name` USING utf8) LIKE _utf8 '%".$_POST['search_string']."%' COLLATE utf8_general_ci |
diff --git a/front/export.massive.php b/front/export.massive.php | |
index 5d7347b..e072439 100644 | |
--- a/front/export.massive.php | |
+++ b/front/export.massive.php | |
@@ -29,42 +29,11 @@ | |
include ("../../../inc/includes.php"); | |
-Plugin::load('pdf', true); | |
- |
diff --git a/inc/ruleticket.class.php b/inc/ruleticket.class.php | |
index df9843f..6ecf235 100644 | |
--- a/inc/ruleticket.class.php | |
+++ b/inc/ruleticket.class.php | |
@@ -434,6 +434,9 @@ class RuleTicket extends Rule { | |
$criterias['priority']['name'] = __('Priority'); | |
$criterias['priority']['type'] = 'dropdown_priority'; | |
+ $criterias['status']['name'] = __('Status'); | |
+ $criterias['status']['type'] = 'dropdown_status'; |
Verifying that +alexandredelaunay is my blockchain ID. https://onename.com/alexandredelaunay |
diff --git a/inc/dropdown.class.php b/inc/dropdown.class.php | |
index b4ddd98..7b9de08 100644 | |
--- a/inc/dropdown.class.php | |
+++ b/inc/dropdown.class.php | |
@@ -190,6 +190,7 @@ class Dropdown { | |
if ($params['comments']) { | |
$comment_id = Html::cleanId("comment_".$params['name'].$params['rand']); | |
$options_tooltip = array('contentid' => $comment_id, | |
+ 'linkid' => "link".$comment_id, | |
'display' => false); |
Index: ajax/dropdownValue.php | |
=================================================================== | |
--- ajax/dropdownValue.php (révision 21867) | |
+++ ajax/dropdownValue.php (copie de travail) | |
@@ -547,9 +547,24 @@ | |
$paramscomment = array('value' => '__VALUE__', | |
'table' => $table); | |
- Ajax::updateItemOnSelectEvent("dropdown_".$_POST["myname"].$_POST["rand"], | |
- "comment_".$_POST["myname"].$_POST["rand"], |