Plugins  LAST
 All Data Structures Files Functions Variables Pages
amortis_constant.php
Go to the documentation of this file.
1 <?php
2 //This file is part of NOALYSS and is under GPL
3 //see licence.txt
4 /**
5  *@file
6  *Contains all the needed variable for the plugin
7  *is name is plugin_name_constant.php
8  * You can use some globale variable, especially for the database
9  * connection
10  */
11 
12 require_once NOALYSS_INCLUDE.'/lib/class_database.php';
13 
14 global $cn;
15 $cn=Dossier::connect();;
16 
17 function detail_material($f_id,$p_label)
18 {
19  $href=sprintf('<A class="detail" style="text-decoration:underline" href="javascript:display_material(%d,%d,\'%s\',\'bxmat\')">%s</A>',
20  dossier::id(),$f_id,$_REQUEST['plugin_code'],$p_label);
21  return $href;
22 }
24 ?>
$select_type id
detail_material($f_id, $p_label)
$_REQUEST['sb']
Definition: am_print.php:39
$amortissement_version
global $cn