"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "inc/line.class.php" between
glpi-9.3.3.tgz and glpi-9.4.0.tgz

About: GLPI is an IT and asset management software (Information Resource Manager).

line.class.php  (glpi-9.3.3.tgz):line.class.php  (glpi-9.4.0.tgz)
skipping to change at line 107 skipping to change at line 107
echo "<tr class='tab_bg_1'>"; echo "<tr class='tab_bg_1'>";
echo "<td>".__('Name')."</td>"; echo "<td>".__('Name')."</td>";
echo "<td>"; echo "<td>";
Html::autocompletionTextField($this, "name"); Html::autocompletionTextField($this, "name");
echo "</td>"; echo "</td>";
echo "<td>".__('Status')."</td>"; echo "<td>".__('Status')."</td>";
echo "<td>"; echo "<td>";
State::dropdown(['value' => $this->fields["states_id"], State::dropdown(['value' => $this->fields["states_id"],
'entity' => $this->fields["entities_id"], 'entity' => $this->fields["entities_id"],
'condition' => "`is_visible_line`"]); 'condition' => ['is_visible_line' => 1]]);
echo "</td></tr>"; echo "</td></tr>";
echo "<tr class='tab_bg_1'>"; echo "<tr class='tab_bg_1'>";
echo "<td>".__('Location')."</td>"; echo "<td>".__('Location')."</td>";
echo "<td>"; echo "<td>";
Location::dropdown(['value' => $this->fields["locations_id"], Location::dropdown(['value' => $this->fields["locations_id"],
'entity' => $this->fields["entities_id"]]); 'entity' => $this->fields["entities_id"]]);
echo "</td>"; echo "</td>";
echo "<td>".__('Line type')."</td>"; echo "<td>".__('Line type')."</td>";
skipping to change at line 194 skipping to change at line 194
'name' => __('Line type'), 'name' => __('Line type'),
'datatype' => 'dropdown', 'datatype' => 'dropdown',
]; ];
$tab[] = [ $tab[] = [
'id' => '31', 'id' => '31',
'table' => 'glpi_states', 'table' => 'glpi_states',
'field' => 'completename', 'field' => 'completename',
'name' => __('Status'), 'name' => __('Status'),
'datatype' => 'dropdown', 'datatype' => 'dropdown',
'condition' => '`is_visible_line`' 'condition' => ['is_visible_line' => 1]
]; ];
$tab[] = [ $tab[] = [
'id' => '70', 'id' => '70',
'table' => 'glpi_users', 'table' => 'glpi_users',
'field' => 'name', 'field' => 'name',
'name' => __('User'), 'name' => __('User'),
'datatype' => 'dropdown', 'datatype' => 'dropdown',
'right' => 'all' 'right' => 'all'
]; ];
$tab[] = [ $tab[] = [
'id' => '71', 'id' => '71',
'table' => 'glpi_groups', 'table' => 'glpi_groups',
'field' => 'completename', 'field' => 'completename',
'name' => __('Group'), 'name' => __('Group'),
'condition' => '`is_itemgroup`', 'condition' => ['is_itemgroup' => 1],
'datatype' => 'dropdown' 'datatype' => 'dropdown'
]; ];
$tab[] = [ $tab[] = [
'id' => '184', 'id' => '184',
'table' => 'glpi_lineoperators', 'table' => 'glpi_lineoperators',
'field' => 'name', 'field' => 'name',
'name' => __('Line operator'), 'name' => __('Line operator'),
'massiveaction' => true, 'massiveaction' => true,
'datatype' => 'dropdown' 'datatype' => 'dropdown'
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)