diff --git a/html/ajax_misc.php b/html/ajax_misc.php index dd10f6172..b6eb0ea29 100644 --- a/html/ajax_misc.php +++ b/html/ajax_misc.php @@ -90,6 +90,9 @@ if ( LOGINPUT) } switch ($op) { + case 'pcmn_update': + require 'ajax_pcmn_update.php'; + return; case "remove_anc": if ($g_user->check_module('ANCODS') == 0) exit(); diff --git a/html/index.php b/html/index.php index e78a49ca8..89a9dcada 100644 --- a/html/index.php +++ b/html/index.php @@ -42,6 +42,10 @@ *
  • Dans le répertoire include: Les noms de fichiers sont *.php pour les fichiers contenant des fonctions uniquement
  • *
  • Dans le répertoire include: Les noms de fichier sont * class_*.php pour les fichiers contenant des classes.
  • + *
  • Dans le répertoire include: Les noms de fichier ajax* correspondent aux fichiers appelé par une fonction javascript en ajax, + * normalement le nom de fichier est basé sur le nom de la fonction javascript + * exemple pour la fonction javascript anc_key_choice le fichier correspondant est + * ajax_anc_key_choice.php *
  • Dans le répertoire include/template: les fichiers de * présentation HTML
  • *
  • Utiliser sql/upgrade.sql comme fichier temporaire pour modifier la base de données, en général @@ -90,6 +94,10 @@ *
  • In the folder include: filenames end by *.php if they contains only function
  • *
  • In the folder include: filenames starting with * class_*.php if it is related to a class.
  • + *
  • In the folder include, files starting with ajax are executed by ajax call, usually, the file name is + * based on the javascript function, example for the javascript function anc_key_choice the corresponding file is + * ajax_anc_key_choice.php + * *
  • In the folder include/template: files for the HTML presentation *
  • *
  • Use sql/upgrade.sql as temporary file to modify the database,this file will be the base for a SQL patch @@ -101,13 +109,13 @@ * \section advice Advices *

    * Use this document, it is generated automatically by doxygen, check the documentation your made, read it first this - * documentation before making change + * documentation before making changes *

    - * You need to know only this tags + * You need to know only these tags *