forked from pluginsGLPI/genericobject
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/0.85'
- Loading branch information
Showing
41 changed files
with
2,513 additions
and
850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
log_filter.settings.php |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* Menu entry wrapper | ||
*/ | ||
.genericobject_menu_wrapper { | ||
display: block; | ||
position: relative; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
/* | ||
* Icon positionning | ||
*/ | ||
.genericobject_menu_icon { | ||
height: 16px; | ||
width: 16px; | ||
vertical-align: middle; | ||
display: inline-block; | ||
} | ||
.icon_preview { | ||
height: 32px; | ||
width: 32px; | ||
} | ||
|
||
.icon_preview > .genericobject_menu_icon { | ||
display: block; | ||
margin: 0 auto; | ||
height: initial; | ||
width: initial; | ||
max-height: 32px; | ||
max-width: 32px; | ||
} | ||
|
||
.genericobject_menu_text { | ||
padding-left: 5px; | ||
margin: 0; | ||
display: inline-block; | ||
} | ||
|
||
|
||
/* | ||
* Fields Form | ||
*/ | ||
|
||
.genericobject_fields.add_new { | ||
width: 80%; | ||
} | ||
|
||
.genericobject_fields.add_new td.label { | ||
width: 20%; | ||
} | ||
|
||
.genericobject_fields.add_new td.dropdown { | ||
width: 100%; | ||
} | ||
|
||
/* | ||
* Type's Profile tab : specific alignment | ||
*/ | ||
|
||
.genericobject_type_profiles tr > td { | ||
width : 10%; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"name"; "manufacturer"; "model"; "color"; "license plate" | ||
"Renault Scénic - 1234"; "Renault"; "Scénic"; "bleu"; "1234" | ||
"Peugeot 308 - 2345"; "Peugeot"; "308"; "bleu"; "2345" | ||
"Ferrari 458 Italia - 45677"; "Ferrari"; "458 Italia"; "rouge"; "45677" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
/* | ||
This file is part of the genericobject plugin. | ||
Genericobject plugin is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
Genericobject plugin is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Genericobject. If not, see <http://www.gnu.org/licenses/>. | ||
-------------------------------------------------------------------------- | ||
@package genericobject | ||
@author the genericobject plugin team | ||
@copyright Copyright (c) 2010-2014 Generic Object plugin team | ||
@license GPLv2+ | ||
http://www.gnu.org/licenses/gpl.txt | ||
@link https://forge.indepnet.net/projects/genericobject | ||
@link http://www.glpi-project.org/ | ||
@since 2014 | ||
---------------------------------------------------------------------- */ | ||
|
||
include ("../../../inc/includes.php"); | ||
|
||
if ( isset($_REQUEST['itemtype']) ) { | ||
$itemtype = $_REQUEST['itemtype']; | ||
if (class_exists($itemtype)) { | ||
$dropdown = new $itemtype(); | ||
include (GLPI_ROOT . "/front/dropdown.common.form.php"); | ||
} else { | ||
Html::displayErrorAndDie(__('The requested dropdown does not exists', 'genericobject')); | ||
} | ||
} else { | ||
|
||
Html::displayErrorAndDie(__('Not Found!')); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
include ("../../../inc/includes.php"); | ||
|
||
if ( isset($_REQUEST['itemtype']) ) { | ||
$itemtype = $_REQUEST['itemtype']; | ||
if (class_exists($itemtype)) { | ||
$dropdown = new $itemtype(); | ||
include (GLPI_ROOT . "/front/dropdown.common.php"); | ||
} else { | ||
Html::displayErrorAndDie(__('The requested dropdown does not exists', 'genericobject')); | ||
} | ||
} else { | ||
|
||
Html::displayErrorAndDie(__('Not Found!')); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
/* | ||
This file is part of the genericobject plugin. | ||
Genericobject plugin is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
Genericobject plugin is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Genericobject. If not, see <http://www.gnu.org/licenses/>. | ||
-------------------------------------------------------------------------- | ||
@package genericobject | ||
@author the genericobject plugin team | ||
@copyright Copyright (c) 2010-2014 Generic Object plugin team | ||
@license GPLv2+ | ||
http://www.gnu.org/licenses/gpl.txt | ||
@link https://forge.indepnet.net/projects/genericobject | ||
@link http://www.glpi-project.org/ | ||
@since 2014 | ||
---------------------------------------------------------------------- */ | ||
|
||
include ("../../../inc/includes.php"); | ||
|
||
if ( isset($_REQUEST['itemtype']) ) { | ||
$itemtype = $_REQUEST['itemtype']; | ||
if (class_exists($itemtype)) { | ||
$dropdown = new $itemtype(); | ||
include (GLPI_ROOT . "/front/dropdown.common.form.php"); | ||
} else { | ||
Html::displayErrorAndDie(__('The requested dropdown does not exists', 'genericobject')); | ||
} | ||
} else { | ||
|
||
Html::displayErrorAndDie(__('Not Found!')); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
|
||
include ("../../../inc/includes.php"); | ||
include ("./commondropdown.php"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.