source: extensions/Image_For_All/maintain.inc.php @ 32685

Last change on this file since 32685 was 3437, checked in by sakkhho, 15 years ago

update

File size: 494 bytes
Line 
1<?php
2  function plugin_install()
3  {
4      global $prefixeTable;
5    $q = '
6     INSERT INTO '.CONFIG_TABLE.' (param,value,comment)
7      VALUES ("imageforall","{NB_PICTURE} images / {NB_TOTAL} images","Parameters of ImageForAll plugin");
8    ';
9     
10    pwg_query($q);
11
12
13  }
14
15  function plugin_uninstall()
16
17  {
18
19    global $prefixeTable;
20
21      $q = '
22
23        DELETE FROM '.CONFIG_TABLE.'
24
25        WHERE param="imageforall" LIMIT 1;
26
27      ';
28
29   
30
31      pwg_query($q);
32    } 
33?>
Note: See TracBrowser for help on using the repository browser.