file:///home/developper/svn/phpcompta/branches/rel500 ........ r3018 | danydb | 2010-04-16 12:45:48 +0200 (Fri, 16 Apr 2010) | 4 lines Quick_writing ============= Advanced->direct writing remove the flag direct_write ........ r3019 | danydb | 2010-04-16 13:11:06 +0200 (Fri, 16 Apr 2010) | 7 lines Advanced->Periode ================== * give the number of operation * do not propose to remove a used periode * fix cosmetic * add confirm for "cloture" and "remove" ........ r3020 | danydb | 2010-04-16 15:31:03 +0200 (Fri, 16 Apr 2010) | 2 lines IPoste : add documentation : sample of code ........ r3021 | danydb | 2010-04-16 15:31:32 +0200 (Fri, 16 Apr 2010) | 2 lines Iposte update doc : typo ........ r3022 | danydb | 2010-04-16 21:12:47 +0200 (Fri, 16 Apr 2010) | 2 lines Add info for error ........ r3023 | danydb | 2010-04-17 00:37:08 +0200 (Sat, 17 Apr 2010) | 2 lines ac_common.php add a function h2info ........ r3024 | danydb | 2010-04-17 01:19:21 +0200 (Sat, 17 Apr 2010) | 2 lines Button is not printed ........ r3025 | danydb | 2010-04-17 01:20:14 +0200 (Sat, 17 Apr 2010) | 2 lines extension :Logout button and name plugin is not printed ........ r3026 | danydb | 2010-04-17 01:40:01 +0200 (Sat, 17 Apr 2010) | 1 line Appearance : improve disable html elt appearance ........ r3027 | danydb | 2010-04-17 01:43:05 +0200 (Sat, 17 Apr 2010) | 1 line Periode : improve usuability ........ r3028 | danydb | 2010-04-17 01:43:21 +0200 (Sat, 17 Apr 2010) | 1 line Fix several bugs in itva_popup ........ r3029 | danydb | 2010-04-17 14:12:47 +0200 (Sat, 17 Apr 2010) | 2 lines New Manuel for windows ........ r3030 | danydb | 2010-04-17 15:18:25 +0200 (Sat, 17 Apr 2010) | 6 lines Document modele =============== New : can decide if a document must be used with the ledger of sales, purchase or follow up ........ r3031 | danydb | 2010-04-18 00:05:25 +0200 (Sun, 18 Apr 2010) | 1 line Add function tr ........ r3032 | danydb | 2010-04-18 00:06:15 +0200 (Sun, 18 Apr 2010) | 1 line Correct style : you can now click on the selected menu ........ r3033 | danydb | 2010-04-18 19:58:24 +0200 (Sun, 18 Apr 2010) | 3 lines scripts.js : add function deleteRow(tablename, object) to use with IButton ........
27 lines
897 B
PHP
27 lines
897 B
PHP
<?php
|
|
|
|
/* if a code has been asked */
|
|
if (isset($_REQUEST['code']) ) {
|
|
$cn=new Database(dossier::id());
|
|
$ext=new Extension($cn);
|
|
$ext->search('code',$_REQUEST['code']);
|
|
if ( $ext->get_parameter('id') != 0 ) {
|
|
/* security */
|
|
if ( $ext->can_request($_SESSION['g_user']) == 0 ) {
|
|
alert(j(_("Vous ne pouvez pas utiliser cette extension. Contactez votre responsable")));
|
|
exit();
|
|
}
|
|
/* show name of extension */
|
|
echo '<div style="position:absolute;right:3px;top:3px;margin:0;z-index:10" class="noprint">';
|
|
echo '<h2 class="error" style="display:inline;padding:0px;margin:0px">'.$ext->get_parameter('name').'</h2>';
|
|
echo HtmlInput::button_anchor(_('Sortie'),'logout.php?');
|
|
|
|
echo '</div>';
|
|
require_once('ext'.DIRECTORY_SEPARATOR.trim($ext->get_parameter('filepath')));
|
|
} else {
|
|
alert(j(_("Cette extension n'existe pas ")));
|
|
exit();
|
|
}
|
|
|
|
}
|
|
?>
|