Skip to content

Commit

Permalink
Merge pull request #1 from glpi-project/master
Browse files Browse the repository at this point in the history
merge of latest modif
  • Loading branch information
tomolimo committed Sep 22, 2015
2 parents fcdd36b + 006212a commit 76dc8ab
Show file tree
Hide file tree
Showing 288 changed files with 88,240 additions and 79,915 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ files/
.buildpath
.project
.settings/
tools/composer.lock
tools/vendor/
8 changes: 8 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com

[GLPI.glpipot090]
file_filter = locales/<lang>.po
source_file = locales/glpi.pot
source_lang = en_GB

2 changes: 1 addition & 1 deletion ajax/dropdownAllItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
if (isset($_POST['condition'])) {
$p['condition'] = $_POST['condition'];
}
if (isset($_POST['used'])) {
if (isset($_POST['used'][$_POST['idtable']])) {
$p['used'] = $_POST['used'][$_POST['idtable']];
}

Expand Down
3 changes: 1 addition & 2 deletions ajax/searchoption.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@
}
$randsearch = Dropdown::showFromArray($fieldname."[".$_POST["num"]."][searchtype]",
$actions,
array('value' => $_POST["searchtype"],
'width' => '100%'));
array('value' => $_POST["searchtype"]));
$fieldsearch_id = Html::cleanId("dropdown_".$fieldname."[".$_POST["num"]."][searchtype]$randsearch");
}
echo "</td><td width='80%'>";
Expand Down
6 changes: 2 additions & 4 deletions ajax/searchrow.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@
}
Dropdown::showFromArray("criteria[".$_POST["num"]."][link]",
Search::getLogicalOperators(),
array('value' => $value,
'width' => '30%'));
array('value' => $value));
}

$selected = $first = '';
Expand Down Expand Up @@ -165,8 +164,7 @@
}

$rand = Dropdown::showFromArray("criteria[".$_POST["num"]."][field]", $values,
array('value' => $value,
'width' => '60%'));
array('value' => $value));
$field_id = Html::cleanId("dropdown_criteria[".$_POST["num"]."][field]$rand");
echo "</td><td class='left'>";
$spanid= 'SearchSpan'.$_POST["itemtype"].$_POST["num"];
Expand Down
3 changes: 1 addition & 2 deletions ajax/updateMetaSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@
}
}
$rand = Dropdown::showFromArray("metacriteria[".$_POST["num"]."][field]", $values,
array('value' => $_POST["field"],
'width' => '100%'));
array('value' => $_POST["field"]));
$field_id = Html::cleanId("dropdown_metacriteria[".$_POST["num"]."][field]".$rand);

echo "</td><td class='left'>";
Expand Down
2 changes: 1 addition & 1 deletion css/palettes/teclib.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ a, a:link {
}

#c_menu {
background-color: #F3F3F4;
background-color: #C6C6C8;
}

ul#menu a.itemP, ul#menu a.itemP1 {
Expand Down
Loading

0 comments on commit 76dc8ab

Please sign in to comment.