2008-04-10 Jorge Gonzalez <jorge.gonzalez@artica.es>
* include/functions_db.php: Added a new function solving the bug while adding network modules. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
9cc297d7a6
commit
d666dc89ca
|
@ -1,3 +1,8 @@
|
||||||
|
2008-04-10 Jorge Gonzalez <jorge.gonzalez@artica.es>
|
||||||
|
|
||||||
|
* include/functions_db.php: Added a new function solving the bug
|
||||||
|
while adding network modules.
|
||||||
|
|
||||||
2008-04-09 Sancho Lerena <slerena@gmail.com>
|
2008-04-09 Sancho Lerena <slerena@gmail.com>
|
||||||
|
|
||||||
* AUTHORS: Updated.
|
* AUTHORS: Updated.
|
||||||
|
|
|
@ -381,6 +381,21 @@ function dame_nombre_pluginid($id){
|
||||||
return $pro;
|
return $pro;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------
|
||||||
|
// Returns id of a moduletype
|
||||||
|
// ---------------------------------------------------------------
|
||||||
|
|
||||||
|
function giveme_module_type($id){
|
||||||
|
require("config.php");
|
||||||
|
$query1="SELECT id_tipo, nombre FROM ttipo_modulo WHERE id_tipo = ".$id;
|
||||||
|
$resq1=mysql_query($query1);
|
||||||
|
if ($rowdup=mysql_fetch_array($resq1))
|
||||||
|
$pro=$rowdup["nombre"];
|
||||||
|
else
|
||||||
|
$pro = "";
|
||||||
|
return $pro;
|
||||||
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------
|
// ---------------------------------------------------------------
|
||||||
// Returns agent name, given a ID of agente_module table
|
// Returns agent name, given a ID of agente_module table
|
||||||
// ---------------------------------------------------------------
|
// ---------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue