forked from Wavyzz/dolibarr
*** empty log message ***
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
index.php
|
||||
documents
|
||||
*.htaccess
|
||||
index.php
|
||||
documents
|
||||
*.htaccess
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<PADGEN_CML>
|
||||
<AppVerInfo>PADGen 2.0.2.30</AppVerInfo>
|
||||
<Company_Info>
|
||||
<Company_Name>Dolibarr Developpers</Company_Name>
|
||||
<Address_1 />
|
||||
<Address_2 />
|
||||
<City_Town>Paris</City_Town>
|
||||
<State_Province />
|
||||
<Zip_Postal_Code />
|
||||
<Country>FRANCE</Country>
|
||||
<Company_WebSite_URL>http://www.dolibarr.org</Company_WebSite_URL>
|
||||
<Contact_Info>
|
||||
<Author_First_Name>Dolibarr team</Author_First_Name>
|
||||
<Author_Last_Name>Dolibarr team</Author_Last_Name>
|
||||
<Author_Email>dolibarr-dev@nongnu.org</Author_Email>
|
||||
<Contact_First_Name>Dolibarr team</Contact_First_Name>
|
||||
<Contact_Last_Name>Dolibarr team</Contact_Last_Name>
|
||||
<Contact_Email>dolibarr-dev@nongnu.org</Contact_Email>
|
||||
</Contact_Info>
|
||||
<Support_Info>
|
||||
<Sales_Email>dolibarr-dev@nongnu.org</Sales_Email>
|
||||
<Support_Email>dolibarr-dev@nongnu.org</Support_Email>
|
||||
<General_Email>dolibarr-dev@nongnu.org</General_Email>
|
||||
<Sales_Phone />
|
||||
<Support_Phone />
|
||||
<General_Phone />
|
||||
<Fax_Phone />
|
||||
</Support_Info>
|
||||
</Company_Info>
|
||||
</PADGEN_CML>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<PADGEN_CML>
|
||||
<AppVerInfo>PADGen 2.0.2.30</AppVerInfo>
|
||||
<Company_Info>
|
||||
<Company_Name>Dolibarr Developpers</Company_Name>
|
||||
<Address_1 />
|
||||
<Address_2 />
|
||||
<City_Town>Paris</City_Town>
|
||||
<State_Province />
|
||||
<Zip_Postal_Code />
|
||||
<Country>FRANCE</Country>
|
||||
<Company_WebSite_URL>http://www.dolibarr.org</Company_WebSite_URL>
|
||||
<Contact_Info>
|
||||
<Author_First_Name>Dolibarr team</Author_First_Name>
|
||||
<Author_Last_Name>Dolibarr team</Author_Last_Name>
|
||||
<Author_Email>dolibarr-dev@nongnu.org</Author_Email>
|
||||
<Contact_First_Name>Dolibarr team</Contact_First_Name>
|
||||
<Contact_Last_Name>Dolibarr team</Contact_Last_Name>
|
||||
<Contact_Email>dolibarr-dev@nongnu.org</Contact_Email>
|
||||
</Contact_Info>
|
||||
<Support_Info>
|
||||
<Sales_Email>dolibarr-dev@nongnu.org</Sales_Email>
|
||||
<Support_Email>dolibarr-dev@nongnu.org</Support_Email>
|
||||
<General_Email>dolibarr-dev@nongnu.org</General_Email>
|
||||
<Sales_Phone />
|
||||
<Support_Phone />
|
||||
<General_Phone />
|
||||
<Fax_Phone />
|
||||
</Support_Info>
|
||||
</Company_Info>
|
||||
</PADGEN_CML>
|
||||
|
||||
@@ -1,178 +1,178 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<PADGEN_PML>
|
||||
<AppVerInfo>PADGen 2.0.2.30</AppVerInfo>
|
||||
<CompanyName />
|
||||
<Program_Info>
|
||||
<Program_Name>Dolibarr</Program_Name>
|
||||
<Program_Version>2.1</Program_Version>
|
||||
<Program_Release_Month>07</Program_Release_Month>
|
||||
<Program_Release_Day>14</Program_Release_Day>
|
||||
<Program_Release_Year>2006</Program_Release_Year>
|
||||
<Program_Cost_Dollars>0</Program_Cost_Dollars>
|
||||
<Program_Cost_Other_Code />
|
||||
<Program_Cost_Other>0</Program_Cost_Other>
|
||||
<Program_Type>Freeware</Program_Type>
|
||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
||||
<Program_Install_Support>Uninstall Only</Program_Install_Support>
|
||||
<Program_OS_Support>Win95,Win98,WinME,WinNT 4.x,Windows2000,WinXP,Windows2003,Windows Vista Starter,Windows Vista Home Basic,Windows Vista Home Premium,Windows Vista Business,Windows Vista Enterprise,Windows Vista Ultimate,Windows Vista Home Basic x64,Windows Vista Home Premium x64,Windows Vista Business x64,Windows Vista Enterprise x64,Windows Vista Ultimate x64,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC,Mac OS X,Mac Other,BEOS</Program_OS_Support>
|
||||
<Program_Language>English,French</Program_Language>
|
||||
<Program_Change_Info>http://www.dolibarr.org</Program_Change_Info>
|
||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
||||
<Program_System_Requirements>None</Program_System_Requirements>
|
||||
<File_Info>
|
||||
<File_Size_Bytes>1016660</File_Size_Bytes>
|
||||
<File_Size_K>992</File_Size_K>
|
||||
<File_Size_MB>0.97</File_Size_MB>
|
||||
</File_Info>
|
||||
<Expire_Info>
|
||||
<Has_Expire_Info>N</Has_Expire_Info>
|
||||
<Expire_Count />
|
||||
<Expire_Based_On>Days</Expire_Based_On>
|
||||
<Expire_Other_Info />
|
||||
<Expire_Month />
|
||||
<Expire_Day />
|
||||
<Expire_Year />
|
||||
</Expire_Info>
|
||||
</Program_Info>
|
||||
<Program_Descriptions>
|
||||
<English>
|
||||
<Keywords>dolibarr</Keywords>
|
||||
<Char_Desc_45>Dolibarr ERP/CRM</Char_Desc_45>
|
||||
<Char_Desc_80>Dolibarr ERP/CRM</Char_Desc_80>
|
||||
<Char_Desc_250>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_250>
|
||||
<Char_Desc_450>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_450>
|
||||
<Char_Desc_2000>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_2000>
|
||||
</English>
|
||||
<French>
|
||||
<Keywords />
|
||||
<Char_Desc_45 />
|
||||
<Char_Desc_80 />
|
||||
<Char_Desc_250 />
|
||||
<Char_Desc_450 />
|
||||
<Char_Desc_2000 />
|
||||
</French>
|
||||
</Program_Descriptions>
|
||||
<Web_Info>
|
||||
<Application_URLs>
|
||||
<Application_Info_URL>http://www.dolibarr.org</Application_Info_URL>
|
||||
<Application_Order_URL>http://www.dolibarr.org</Application_Order_URL>
|
||||
<Application_Screenshot_URL>http://www.dolibarr.org/demo/doc/images/dolibarr_screenshot2.png</Application_Screenshot_URL>
|
||||
<Application_Icon_URL>http://www.dolibarr.org/demo/doc/images/dolibarr.ico</Application_Icon_URL>
|
||||
<Application_XML_File_URL>http://www.dolibarr.org/demo/build/pad/pad_dolibarr.xml</Application_XML_File_URL>
|
||||
</Application_URLs>
|
||||
<Download_URLs>
|
||||
<Primary_Download_URL />
|
||||
<Secondary_Download_URL />
|
||||
<Additional_Download_URL_1 />
|
||||
<Additional_Download_URL_2 />
|
||||
</Download_URLs>
|
||||
</Web_Info>
|
||||
<Permissions>
|
||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
||||
<EULA>GNU GPL</EULA>
|
||||
</Permissions>
|
||||
<ASP>
|
||||
<ASP_FORM>Y</ASP_FORM>
|
||||
<ASP_Member>N</ASP_Member>
|
||||
<ASP_Member_Number />
|
||||
</ASP>
|
||||
<Affiliates>
|
||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
||||
<Affiliates_VERSION>1.2</Affiliates_VERSION>
|
||||
<Affiliates_URL>http://www.asp-shareware.org/pad/extensions/Affiliates.htm</Affiliates_URL>
|
||||
<Affiliates_Information_Page />
|
||||
<Affiliates_Avangate_Order_Page />
|
||||
<Affiliates_Avangate_Vendor_ID />
|
||||
<Affiliates_Avangate_Product_ID />
|
||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
||||
<Affiliates_BMTMicro_Order_Page />
|
||||
<Affiliates_BMTMicro_Vendor_ID />
|
||||
<Affiliates_BMTMicro_Product_ID />
|
||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
||||
<Affiliates_clixGalore_Order_Page />
|
||||
<Affiliates_clixGalore_Vendor_ID />
|
||||
<Affiliates_clixGalore_Product_ID />
|
||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
||||
<Affiliates_CommissionJunction_Order_Page />
|
||||
<Affiliates_CommissionJunction_Vendor_ID />
|
||||
<Affiliates_CommissionJunction_Product_ID />
|
||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
||||
<Affiliates_DigiBuy_Order_Page />
|
||||
<Affiliates_DigiBuy_Vendor_ID />
|
||||
<Affiliates_DigiBuy_Product_ID />
|
||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
||||
<Affiliates_DigitalCandle_Order_Page />
|
||||
<Affiliates_DigitalCandle_Vendor_ID />
|
||||
<Affiliates_DigitalCandle_Product_ID />
|
||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
||||
<Affiliates_Emetrix_Order_Page />
|
||||
<Affiliates_Emetrix_Vendor_ID />
|
||||
<Affiliates_Emetrix_Product_ID />
|
||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
||||
<Affiliates_eSellerate_Order_Page />
|
||||
<Affiliates_eSellerate_Vendor_ID />
|
||||
<Affiliates_eSellerate_Product_ID />
|
||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
||||
<Affiliates_Kagi_Order_Page />
|
||||
<Affiliates_Kagi_Vendor_ID />
|
||||
<Affiliates_Kagi_Product_ID />
|
||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
||||
<Affiliates_LinkShare_Order_Page />
|
||||
<Affiliates_LinkShare_Vendor_ID />
|
||||
<Affiliates_LinkShare_Product_ID />
|
||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
||||
<Affiliates_NorthStarSol_Order_Page />
|
||||
<Affiliates_NorthStarSol_Vendor_ID />
|
||||
<Affiliates_NorthStarSol_Product_ID />
|
||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
||||
<Affiliates_Order1_Order_Page />
|
||||
<Affiliates_Order1_Vendor_ID />
|
||||
<Affiliates_Order1_Product_ID />
|
||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
||||
<Affiliates_Osolis_Order_Page />
|
||||
<Affiliates_Osolis_Vendor_ID />
|
||||
<Affiliates_Osolis_Product_ID />
|
||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
||||
<Affiliates_Plimus_Order_Page />
|
||||
<Affiliates_Plimus_Vendor_ID />
|
||||
<Affiliates_Plimus_Product_ID />
|
||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnet_Order_Page />
|
||||
<Affiliates_Regnet_Vendor_ID />
|
||||
<Affiliates_Regnet_Product_ID />
|
||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnow_Order_Page />
|
||||
<Affiliates_Regnow_Vendor_ID />
|
||||
<Affiliates_Regnow_Product_ID />
|
||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
||||
<Affiliates_Regsoft_Order_Page />
|
||||
<Affiliates_Regsoft_Vendor_ID />
|
||||
<Affiliates_Regsoft_Product_ID />
|
||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
||||
<Affiliates_ShareIt_Order_Page />
|
||||
<Affiliates_ShareIt_Vendor_ID />
|
||||
<Affiliates_ShareIt_Product_ID />
|
||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
||||
<Affiliates_Shareasale_Order_Page />
|
||||
<Affiliates_Shareasale_Vendor_ID />
|
||||
<Affiliates_Shareasale_Product_ID />
|
||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
||||
<Affiliates_SWReg_Order_Page />
|
||||
<Affiliates_SWReg_Vendor_ID />
|
||||
<Affiliates_SWReg_Product_ID />
|
||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
||||
<Affiliates_V-Share_Order_Page />
|
||||
<Affiliates_V-Share_Vendor_ID />
|
||||
<Affiliates_V-Share_Product_ID />
|
||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
||||
<Affiliates_VFree_Order_Page />
|
||||
<Affiliates_VFree_Vendor_ID />
|
||||
<Affiliates_VFree_Product_ID />
|
||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
||||
<Affiliates_Yaskifo_Order_Page />
|
||||
<Affiliates_Yaskifo_Vendor_ID />
|
||||
<Affiliates_Yaskifo_Product_ID />
|
||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
||||
</Affiliates>
|
||||
</PADGEN_PML>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<PADGEN_PML>
|
||||
<AppVerInfo>PADGen 2.0.2.30</AppVerInfo>
|
||||
<CompanyName />
|
||||
<Program_Info>
|
||||
<Program_Name>Dolibarr</Program_Name>
|
||||
<Program_Version>2.1</Program_Version>
|
||||
<Program_Release_Month>07</Program_Release_Month>
|
||||
<Program_Release_Day>14</Program_Release_Day>
|
||||
<Program_Release_Year>2006</Program_Release_Year>
|
||||
<Program_Cost_Dollars>0</Program_Cost_Dollars>
|
||||
<Program_Cost_Other_Code />
|
||||
<Program_Cost_Other>0</Program_Cost_Other>
|
||||
<Program_Type>Freeware</Program_Type>
|
||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
||||
<Program_Install_Support>Uninstall Only</Program_Install_Support>
|
||||
<Program_OS_Support>Win95,Win98,WinME,WinNT 4.x,Windows2000,WinXP,Windows2003,Windows Vista Starter,Windows Vista Home Basic,Windows Vista Home Premium,Windows Vista Business,Windows Vista Enterprise,Windows Vista Ultimate,Windows Vista Home Basic x64,Windows Vista Home Premium x64,Windows Vista Business x64,Windows Vista Enterprise x64,Windows Vista Ultimate x64,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC,Mac OS X,Mac Other,BEOS</Program_OS_Support>
|
||||
<Program_Language>English,French</Program_Language>
|
||||
<Program_Change_Info>http://www.dolibarr.org</Program_Change_Info>
|
||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
||||
<Program_System_Requirements>None</Program_System_Requirements>
|
||||
<File_Info>
|
||||
<File_Size_Bytes>1016660</File_Size_Bytes>
|
||||
<File_Size_K>992</File_Size_K>
|
||||
<File_Size_MB>0.97</File_Size_MB>
|
||||
</File_Info>
|
||||
<Expire_Info>
|
||||
<Has_Expire_Info>N</Has_Expire_Info>
|
||||
<Expire_Count />
|
||||
<Expire_Based_On>Days</Expire_Based_On>
|
||||
<Expire_Other_Info />
|
||||
<Expire_Month />
|
||||
<Expire_Day />
|
||||
<Expire_Year />
|
||||
</Expire_Info>
|
||||
</Program_Info>
|
||||
<Program_Descriptions>
|
||||
<English>
|
||||
<Keywords>dolibarr</Keywords>
|
||||
<Char_Desc_45>Dolibarr ERP/CRM</Char_Desc_45>
|
||||
<Char_Desc_80>Dolibarr ERP/CRM</Char_Desc_80>
|
||||
<Char_Desc_250>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_250>
|
||||
<Char_Desc_450>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_450>
|
||||
<Char_Desc_2000>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_2000>
|
||||
</English>
|
||||
<French>
|
||||
<Keywords />
|
||||
<Char_Desc_45 />
|
||||
<Char_Desc_80 />
|
||||
<Char_Desc_250 />
|
||||
<Char_Desc_450 />
|
||||
<Char_Desc_2000 />
|
||||
</French>
|
||||
</Program_Descriptions>
|
||||
<Web_Info>
|
||||
<Application_URLs>
|
||||
<Application_Info_URL>http://www.dolibarr.org</Application_Info_URL>
|
||||
<Application_Order_URL>http://www.dolibarr.org</Application_Order_URL>
|
||||
<Application_Screenshot_URL>http://www.dolibarr.org/demo/doc/images/dolibarr_screenshot2.png</Application_Screenshot_URL>
|
||||
<Application_Icon_URL>http://www.dolibarr.org/demo/doc/images/dolibarr.ico</Application_Icon_URL>
|
||||
<Application_XML_File_URL>http://www.dolibarr.org/demo/build/pad/pad_dolibarr.xml</Application_XML_File_URL>
|
||||
</Application_URLs>
|
||||
<Download_URLs>
|
||||
<Primary_Download_URL />
|
||||
<Secondary_Download_URL />
|
||||
<Additional_Download_URL_1 />
|
||||
<Additional_Download_URL_2 />
|
||||
</Download_URLs>
|
||||
</Web_Info>
|
||||
<Permissions>
|
||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
||||
<EULA>GNU GPL</EULA>
|
||||
</Permissions>
|
||||
<ASP>
|
||||
<ASP_FORM>Y</ASP_FORM>
|
||||
<ASP_Member>N</ASP_Member>
|
||||
<ASP_Member_Number />
|
||||
</ASP>
|
||||
<Affiliates>
|
||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
||||
<Affiliates_VERSION>1.2</Affiliates_VERSION>
|
||||
<Affiliates_URL>http://www.asp-shareware.org/pad/extensions/Affiliates.htm</Affiliates_URL>
|
||||
<Affiliates_Information_Page />
|
||||
<Affiliates_Avangate_Order_Page />
|
||||
<Affiliates_Avangate_Vendor_ID />
|
||||
<Affiliates_Avangate_Product_ID />
|
||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
||||
<Affiliates_BMTMicro_Order_Page />
|
||||
<Affiliates_BMTMicro_Vendor_ID />
|
||||
<Affiliates_BMTMicro_Product_ID />
|
||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
||||
<Affiliates_clixGalore_Order_Page />
|
||||
<Affiliates_clixGalore_Vendor_ID />
|
||||
<Affiliates_clixGalore_Product_ID />
|
||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
||||
<Affiliates_CommissionJunction_Order_Page />
|
||||
<Affiliates_CommissionJunction_Vendor_ID />
|
||||
<Affiliates_CommissionJunction_Product_ID />
|
||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
||||
<Affiliates_DigiBuy_Order_Page />
|
||||
<Affiliates_DigiBuy_Vendor_ID />
|
||||
<Affiliates_DigiBuy_Product_ID />
|
||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
||||
<Affiliates_DigitalCandle_Order_Page />
|
||||
<Affiliates_DigitalCandle_Vendor_ID />
|
||||
<Affiliates_DigitalCandle_Product_ID />
|
||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
||||
<Affiliates_Emetrix_Order_Page />
|
||||
<Affiliates_Emetrix_Vendor_ID />
|
||||
<Affiliates_Emetrix_Product_ID />
|
||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
||||
<Affiliates_eSellerate_Order_Page />
|
||||
<Affiliates_eSellerate_Vendor_ID />
|
||||
<Affiliates_eSellerate_Product_ID />
|
||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
||||
<Affiliates_Kagi_Order_Page />
|
||||
<Affiliates_Kagi_Vendor_ID />
|
||||
<Affiliates_Kagi_Product_ID />
|
||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
||||
<Affiliates_LinkShare_Order_Page />
|
||||
<Affiliates_LinkShare_Vendor_ID />
|
||||
<Affiliates_LinkShare_Product_ID />
|
||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
||||
<Affiliates_NorthStarSol_Order_Page />
|
||||
<Affiliates_NorthStarSol_Vendor_ID />
|
||||
<Affiliates_NorthStarSol_Product_ID />
|
||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
||||
<Affiliates_Order1_Order_Page />
|
||||
<Affiliates_Order1_Vendor_ID />
|
||||
<Affiliates_Order1_Product_ID />
|
||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
||||
<Affiliates_Osolis_Order_Page />
|
||||
<Affiliates_Osolis_Vendor_ID />
|
||||
<Affiliates_Osolis_Product_ID />
|
||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
||||
<Affiliates_Plimus_Order_Page />
|
||||
<Affiliates_Plimus_Vendor_ID />
|
||||
<Affiliates_Plimus_Product_ID />
|
||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnet_Order_Page />
|
||||
<Affiliates_Regnet_Vendor_ID />
|
||||
<Affiliates_Regnet_Product_ID />
|
||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnow_Order_Page />
|
||||
<Affiliates_Regnow_Vendor_ID />
|
||||
<Affiliates_Regnow_Product_ID />
|
||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
||||
<Affiliates_Regsoft_Order_Page />
|
||||
<Affiliates_Regsoft_Vendor_ID />
|
||||
<Affiliates_Regsoft_Product_ID />
|
||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
||||
<Affiliates_ShareIt_Order_Page />
|
||||
<Affiliates_ShareIt_Vendor_ID />
|
||||
<Affiliates_ShareIt_Product_ID />
|
||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
||||
<Affiliates_Shareasale_Order_Page />
|
||||
<Affiliates_Shareasale_Vendor_ID />
|
||||
<Affiliates_Shareasale_Product_ID />
|
||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
||||
<Affiliates_SWReg_Order_Page />
|
||||
<Affiliates_SWReg_Vendor_ID />
|
||||
<Affiliates_SWReg_Product_ID />
|
||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
||||
<Affiliates_V-Share_Order_Page />
|
||||
<Affiliates_V-Share_Vendor_ID />
|
||||
<Affiliates_V-Share_Product_ID />
|
||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
||||
<Affiliates_VFree_Order_Page />
|
||||
<Affiliates_VFree_Vendor_ID />
|
||||
<Affiliates_VFree_Product_ID />
|
||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
||||
<Affiliates_Yaskifo_Order_Page />
|
||||
<Affiliates_Yaskifo_Vendor_ID />
|
||||
<Affiliates_Yaskifo_Product_ID />
|
||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
||||
</Affiliates>
|
||||
</PADGEN_PML>
|
||||
|
||||
@@ -1,178 +1,178 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<PADGEN_PML>
|
||||
<AppVerInfo>PADGen 3.0.1.35</AppVerInfo>
|
||||
<CompanyName />
|
||||
<Program_Info>
|
||||
<Program_Name>Dolibarr</Program_Name>
|
||||
<Program_Version>2.1</Program_Version>
|
||||
<Program_Release_Month>04</Program_Release_Month>
|
||||
<Program_Release_Day>27</Program_Release_Day>
|
||||
<Program_Release_Year>2007</Program_Release_Year>
|
||||
<Program_Cost_Dollars />
|
||||
<Program_Cost_Other_Code />
|
||||
<Program_Cost_Other />
|
||||
<Program_Type>Freeware</Program_Type>
|
||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
||||
<Program_Install_Support>No Install Support</Program_Install_Support>
|
||||
<Program_OS_Support>Win95,Win98,WinME,WinNT 4.x,Windows2000,WinXP,Windows2003,Windows Vista Starter,Windows Vista Home Basic,Windows Vista Home Premium,Windows Vista Business,Windows Vista Enterprise,Windows Vista Ultimate,Windows Vista Home Basic x64,Windows Vista Home Premium x64,Windows Vista Business x64,Windows Vista Enterprise x64,Windows Vista Ultimate x64,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC,Mac OS X,Mac Other,BEOS</Program_OS_Support>
|
||||
<Program_Language>English,French</Program_Language>
|
||||
<Program_Change_Info>http://www.dolibarr.org</Program_Change_Info>
|
||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
||||
<Program_System_Requirements>None</Program_System_Requirements>
|
||||
<File_Info>
|
||||
<File_Size_Bytes>1016660</File_Size_Bytes>
|
||||
<File_Size_K>992</File_Size_K>
|
||||
<File_Size_MB>0.97</File_Size_MB>
|
||||
</File_Info>
|
||||
<Expire_Info>
|
||||
<Has_Expire_Info>N</Has_Expire_Info>
|
||||
<Expire_Count />
|
||||
<Expire_Based_On>Days</Expire_Based_On>
|
||||
<Expire_Other_Info />
|
||||
<Expire_Month />
|
||||
<Expire_Day />
|
||||
<Expire_Year />
|
||||
</Expire_Info>
|
||||
</Program_Info>
|
||||
<Program_Descriptions>
|
||||
<English>
|
||||
<Keywords>dolibarr</Keywords>
|
||||
<Char_Desc_45>Dolibarr ERP/CRM</Char_Desc_45>
|
||||
<Char_Desc_80>Dolibarr ERP/CRM</Char_Desc_80>
|
||||
<Char_Desc_250>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_250>
|
||||
<Char_Desc_450>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_450>
|
||||
<Char_Desc_2000>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_2000>
|
||||
</English>
|
||||
<French>
|
||||
<Keywords />
|
||||
<Char_Desc_45 />
|
||||
<Char_Desc_80 />
|
||||
<Char_Desc_250 />
|
||||
<Char_Desc_450 />
|
||||
<Char_Desc_2000 />
|
||||
</French>
|
||||
</Program_Descriptions>
|
||||
<Web_Info>
|
||||
<Application_URLs>
|
||||
<Application_Info_URL>http://www.dolibarr.org</Application_Info_URL>
|
||||
<Application_Order_URL>http://www.dolibarr.org</Application_Order_URL>
|
||||
<Application_Screenshot_URL>http://www.dolibarr.org/demo/doc/images/dolibarr_screenshot2.png</Application_Screenshot_URL>
|
||||
<Application_Icon_URL>http://www.dolibarr.org/demo/doc/images/mylogo.png</Application_Icon_URL>
|
||||
<Application_XML_File_URL>http://www.dolibarr.org/demo/build/pad/pad_dolibarr.xml</Application_XML_File_URL>
|
||||
</Application_URLs>
|
||||
<Download_URLs>
|
||||
<Primary_Download_URL>http://www.dolibarr.org/en/files/documents/dolibarr.tgz</Primary_Download_URL>
|
||||
<Secondary_Download_URL />
|
||||
<Additional_Download_URL_1 />
|
||||
<Additional_Download_URL_2 />
|
||||
</Download_URLs>
|
||||
</Web_Info>
|
||||
<Permissions>
|
||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
||||
<EULA>GNU GPL</EULA>
|
||||
</Permissions>
|
||||
<ASP>
|
||||
<ASP_FORM>Y</ASP_FORM>
|
||||
<ASP_Member>N</ASP_Member>
|
||||
<ASP_Member_Number />
|
||||
</ASP>
|
||||
<Affiliates>
|
||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
||||
<Affiliates_VERSION>1.2</Affiliates_VERSION>
|
||||
<Affiliates_URL>http://www.asp-shareware.org/pad/extensions/Affiliates.htm</Affiliates_URL>
|
||||
<Affiliates_Information_Page />
|
||||
<Affiliates_Avangate_Order_Page />
|
||||
<Affiliates_Avangate_Vendor_ID />
|
||||
<Affiliates_Avangate_Product_ID />
|
||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
||||
<Affiliates_BMTMicro_Order_Page />
|
||||
<Affiliates_BMTMicro_Vendor_ID />
|
||||
<Affiliates_BMTMicro_Product_ID />
|
||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
||||
<Affiliates_clixGalore_Order_Page />
|
||||
<Affiliates_clixGalore_Vendor_ID />
|
||||
<Affiliates_clixGalore_Product_ID />
|
||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
||||
<Affiliates_CommissionJunction_Order_Page />
|
||||
<Affiliates_CommissionJunction_Vendor_ID />
|
||||
<Affiliates_CommissionJunction_Product_ID />
|
||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
||||
<Affiliates_DigiBuy_Order_Page />
|
||||
<Affiliates_DigiBuy_Vendor_ID />
|
||||
<Affiliates_DigiBuy_Product_ID />
|
||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
||||
<Affiliates_DigitalCandle_Order_Page />
|
||||
<Affiliates_DigitalCandle_Vendor_ID />
|
||||
<Affiliates_DigitalCandle_Product_ID />
|
||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
||||
<Affiliates_Emetrix_Order_Page />
|
||||
<Affiliates_Emetrix_Vendor_ID />
|
||||
<Affiliates_Emetrix_Product_ID />
|
||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
||||
<Affiliates_eSellerate_Order_Page />
|
||||
<Affiliates_eSellerate_Vendor_ID />
|
||||
<Affiliates_eSellerate_Product_ID />
|
||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
||||
<Affiliates_Kagi_Order_Page />
|
||||
<Affiliates_Kagi_Vendor_ID />
|
||||
<Affiliates_Kagi_Product_ID />
|
||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
||||
<Affiliates_LinkShare_Order_Page />
|
||||
<Affiliates_LinkShare_Vendor_ID />
|
||||
<Affiliates_LinkShare_Product_ID />
|
||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
||||
<Affiliates_NorthStarSol_Order_Page />
|
||||
<Affiliates_NorthStarSol_Vendor_ID />
|
||||
<Affiliates_NorthStarSol_Product_ID />
|
||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
||||
<Affiliates_Order1_Order_Page />
|
||||
<Affiliates_Order1_Vendor_ID />
|
||||
<Affiliates_Order1_Product_ID />
|
||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
||||
<Affiliates_Osolis_Order_Page />
|
||||
<Affiliates_Osolis_Vendor_ID />
|
||||
<Affiliates_Osolis_Product_ID />
|
||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
||||
<Affiliates_Plimus_Order_Page />
|
||||
<Affiliates_Plimus_Vendor_ID />
|
||||
<Affiliates_Plimus_Product_ID />
|
||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnet_Order_Page />
|
||||
<Affiliates_Regnet_Vendor_ID />
|
||||
<Affiliates_Regnet_Product_ID />
|
||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnow_Order_Page />
|
||||
<Affiliates_Regnow_Vendor_ID />
|
||||
<Affiliates_Regnow_Product_ID />
|
||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
||||
<Affiliates_Regsoft_Order_Page />
|
||||
<Affiliates_Regsoft_Vendor_ID />
|
||||
<Affiliates_Regsoft_Product_ID />
|
||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
||||
<Affiliates_ShareIt_Order_Page />
|
||||
<Affiliates_ShareIt_Vendor_ID />
|
||||
<Affiliates_ShareIt_Product_ID />
|
||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
||||
<Affiliates_Shareasale_Order_Page />
|
||||
<Affiliates_Shareasale_Vendor_ID />
|
||||
<Affiliates_Shareasale_Product_ID />
|
||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
||||
<Affiliates_SWReg_Order_Page />
|
||||
<Affiliates_SWReg_Vendor_ID />
|
||||
<Affiliates_SWReg_Product_ID />
|
||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
||||
<Affiliates_V-Share_Order_Page />
|
||||
<Affiliates_V-Share_Vendor_ID />
|
||||
<Affiliates_V-Share_Product_ID />
|
||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
||||
<Affiliates_VFree_Order_Page />
|
||||
<Affiliates_VFree_Vendor_ID />
|
||||
<Affiliates_VFree_Product_ID />
|
||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
||||
<Affiliates_Yaskifo_Order_Page />
|
||||
<Affiliates_Yaskifo_Vendor_ID />
|
||||
<Affiliates_Yaskifo_Product_ID />
|
||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
||||
</Affiliates>
|
||||
</PADGEN_PML>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<PADGEN_PML>
|
||||
<AppVerInfo>PADGen 3.0.1.35</AppVerInfo>
|
||||
<CompanyName />
|
||||
<Program_Info>
|
||||
<Program_Name>Dolibarr</Program_Name>
|
||||
<Program_Version>2.1</Program_Version>
|
||||
<Program_Release_Month>04</Program_Release_Month>
|
||||
<Program_Release_Day>27</Program_Release_Day>
|
||||
<Program_Release_Year>2007</Program_Release_Year>
|
||||
<Program_Cost_Dollars />
|
||||
<Program_Cost_Other_Code />
|
||||
<Program_Cost_Other />
|
||||
<Program_Type>Freeware</Program_Type>
|
||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
||||
<Program_Install_Support>No Install Support</Program_Install_Support>
|
||||
<Program_OS_Support>Win95,Win98,WinME,WinNT 4.x,Windows2000,WinXP,Windows2003,Windows Vista Starter,Windows Vista Home Basic,Windows Vista Home Premium,Windows Vista Business,Windows Vista Enterprise,Windows Vista Ultimate,Windows Vista Home Basic x64,Windows Vista Home Premium x64,Windows Vista Business x64,Windows Vista Enterprise x64,Windows Vista Ultimate x64,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC,Mac OS X,Mac Other,BEOS</Program_OS_Support>
|
||||
<Program_Language>English,French</Program_Language>
|
||||
<Program_Change_Info>http://www.dolibarr.org</Program_Change_Info>
|
||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
||||
<Program_System_Requirements>None</Program_System_Requirements>
|
||||
<File_Info>
|
||||
<File_Size_Bytes>1016660</File_Size_Bytes>
|
||||
<File_Size_K>992</File_Size_K>
|
||||
<File_Size_MB>0.97</File_Size_MB>
|
||||
</File_Info>
|
||||
<Expire_Info>
|
||||
<Has_Expire_Info>N</Has_Expire_Info>
|
||||
<Expire_Count />
|
||||
<Expire_Based_On>Days</Expire_Based_On>
|
||||
<Expire_Other_Info />
|
||||
<Expire_Month />
|
||||
<Expire_Day />
|
||||
<Expire_Year />
|
||||
</Expire_Info>
|
||||
</Program_Info>
|
||||
<Program_Descriptions>
|
||||
<English>
|
||||
<Keywords>dolibarr</Keywords>
|
||||
<Char_Desc_45>Dolibarr ERP/CRM</Char_Desc_45>
|
||||
<Char_Desc_80>Dolibarr ERP/CRM</Char_Desc_80>
|
||||
<Char_Desc_250>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_250>
|
||||
<Char_Desc_450>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_450>
|
||||
<Char_Desc_2000>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_2000>
|
||||
</English>
|
||||
<French>
|
||||
<Keywords />
|
||||
<Char_Desc_45 />
|
||||
<Char_Desc_80 />
|
||||
<Char_Desc_250 />
|
||||
<Char_Desc_450 />
|
||||
<Char_Desc_2000 />
|
||||
</French>
|
||||
</Program_Descriptions>
|
||||
<Web_Info>
|
||||
<Application_URLs>
|
||||
<Application_Info_URL>http://www.dolibarr.org</Application_Info_URL>
|
||||
<Application_Order_URL>http://www.dolibarr.org</Application_Order_URL>
|
||||
<Application_Screenshot_URL>http://www.dolibarr.org/demo/doc/images/dolibarr_screenshot2.png</Application_Screenshot_URL>
|
||||
<Application_Icon_URL>http://www.dolibarr.org/demo/doc/images/mylogo.png</Application_Icon_URL>
|
||||
<Application_XML_File_URL>http://www.dolibarr.org/demo/build/pad/pad_dolibarr.xml</Application_XML_File_URL>
|
||||
</Application_URLs>
|
||||
<Download_URLs>
|
||||
<Primary_Download_URL>http://www.dolibarr.org/en/files/documents/dolibarr.tgz</Primary_Download_URL>
|
||||
<Secondary_Download_URL />
|
||||
<Additional_Download_URL_1 />
|
||||
<Additional_Download_URL_2 />
|
||||
</Download_URLs>
|
||||
</Web_Info>
|
||||
<Permissions>
|
||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
||||
<EULA>GNU GPL</EULA>
|
||||
</Permissions>
|
||||
<ASP>
|
||||
<ASP_FORM>Y</ASP_FORM>
|
||||
<ASP_Member>N</ASP_Member>
|
||||
<ASP_Member_Number />
|
||||
</ASP>
|
||||
<Affiliates>
|
||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
||||
<Affiliates_VERSION>1.2</Affiliates_VERSION>
|
||||
<Affiliates_URL>http://www.asp-shareware.org/pad/extensions/Affiliates.htm</Affiliates_URL>
|
||||
<Affiliates_Information_Page />
|
||||
<Affiliates_Avangate_Order_Page />
|
||||
<Affiliates_Avangate_Vendor_ID />
|
||||
<Affiliates_Avangate_Product_ID />
|
||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
||||
<Affiliates_BMTMicro_Order_Page />
|
||||
<Affiliates_BMTMicro_Vendor_ID />
|
||||
<Affiliates_BMTMicro_Product_ID />
|
||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
||||
<Affiliates_clixGalore_Order_Page />
|
||||
<Affiliates_clixGalore_Vendor_ID />
|
||||
<Affiliates_clixGalore_Product_ID />
|
||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
||||
<Affiliates_CommissionJunction_Order_Page />
|
||||
<Affiliates_CommissionJunction_Vendor_ID />
|
||||
<Affiliates_CommissionJunction_Product_ID />
|
||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
||||
<Affiliates_DigiBuy_Order_Page />
|
||||
<Affiliates_DigiBuy_Vendor_ID />
|
||||
<Affiliates_DigiBuy_Product_ID />
|
||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
||||
<Affiliates_DigitalCandle_Order_Page />
|
||||
<Affiliates_DigitalCandle_Vendor_ID />
|
||||
<Affiliates_DigitalCandle_Product_ID />
|
||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
||||
<Affiliates_Emetrix_Order_Page />
|
||||
<Affiliates_Emetrix_Vendor_ID />
|
||||
<Affiliates_Emetrix_Product_ID />
|
||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
||||
<Affiliates_eSellerate_Order_Page />
|
||||
<Affiliates_eSellerate_Vendor_ID />
|
||||
<Affiliates_eSellerate_Product_ID />
|
||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
||||
<Affiliates_Kagi_Order_Page />
|
||||
<Affiliates_Kagi_Vendor_ID />
|
||||
<Affiliates_Kagi_Product_ID />
|
||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
||||
<Affiliates_LinkShare_Order_Page />
|
||||
<Affiliates_LinkShare_Vendor_ID />
|
||||
<Affiliates_LinkShare_Product_ID />
|
||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
||||
<Affiliates_NorthStarSol_Order_Page />
|
||||
<Affiliates_NorthStarSol_Vendor_ID />
|
||||
<Affiliates_NorthStarSol_Product_ID />
|
||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
||||
<Affiliates_Order1_Order_Page />
|
||||
<Affiliates_Order1_Vendor_ID />
|
||||
<Affiliates_Order1_Product_ID />
|
||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
||||
<Affiliates_Osolis_Order_Page />
|
||||
<Affiliates_Osolis_Vendor_ID />
|
||||
<Affiliates_Osolis_Product_ID />
|
||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
||||
<Affiliates_Plimus_Order_Page />
|
||||
<Affiliates_Plimus_Vendor_ID />
|
||||
<Affiliates_Plimus_Product_ID />
|
||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnet_Order_Page />
|
||||
<Affiliates_Regnet_Vendor_ID />
|
||||
<Affiliates_Regnet_Product_ID />
|
||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnow_Order_Page />
|
||||
<Affiliates_Regnow_Vendor_ID />
|
||||
<Affiliates_Regnow_Product_ID />
|
||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
||||
<Affiliates_Regsoft_Order_Page />
|
||||
<Affiliates_Regsoft_Vendor_ID />
|
||||
<Affiliates_Regsoft_Product_ID />
|
||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
||||
<Affiliates_ShareIt_Order_Page />
|
||||
<Affiliates_ShareIt_Vendor_ID />
|
||||
<Affiliates_ShareIt_Product_ID />
|
||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
||||
<Affiliates_Shareasale_Order_Page />
|
||||
<Affiliates_Shareasale_Vendor_ID />
|
||||
<Affiliates_Shareasale_Product_ID />
|
||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
||||
<Affiliates_SWReg_Order_Page />
|
||||
<Affiliates_SWReg_Vendor_ID />
|
||||
<Affiliates_SWReg_Product_ID />
|
||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
||||
<Affiliates_V-Share_Order_Page />
|
||||
<Affiliates_V-Share_Vendor_ID />
|
||||
<Affiliates_V-Share_Product_ID />
|
||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
||||
<Affiliates_VFree_Order_Page />
|
||||
<Affiliates_VFree_Vendor_ID />
|
||||
<Affiliates_VFree_Product_ID />
|
||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
||||
<Affiliates_Yaskifo_Order_Page />
|
||||
<Affiliates_Yaskifo_Vendor_ID />
|
||||
<Affiliates_Yaskifo_Product_ID />
|
||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
||||
</Affiliates>
|
||||
</PADGEN_PML>
|
||||
|
||||
Binary file not shown.
@@ -1,208 +1,208 @@
|
||||
<?xml version="1.0" ?>
|
||||
<XML_DIZ_INFO>
|
||||
<MASTER_PAD_VERSION_INFO>
|
||||
<MASTER_PAD_VERSION>3.01</MASTER_PAD_VERSION>
|
||||
<MASTER_PAD_EDITOR>PADGen 3.0.1.35 http://www.padgen.org</MASTER_PAD_EDITOR>
|
||||
<MASTER_PAD_INFO>Portable Application Description, or PAD for short, is a data set that is used by shareware authors to disseminate information to anyone interested in their software products. To find out more go to http://www.asp-shareware.org/pad</MASTER_PAD_INFO>
|
||||
</MASTER_PAD_VERSION_INFO>
|
||||
<Company_Info>
|
||||
<Company_Name>Laurent Destailleur</Company_Name>
|
||||
<Address_1>61 Boulevard Vauban</Address_1>
|
||||
<Address_2 />
|
||||
<City_Town>Montigny-le-Bretonneux</City_Town>
|
||||
<State_Province>Yvelines</State_Province>
|
||||
<Zip_Postal_Code>78180</Zip_Postal_Code>
|
||||
<Country>FRANCE</Country>
|
||||
<Company_WebSite_URL>http://www.destailleur.fr</Company_WebSite_URL>
|
||||
<Contact_Info>
|
||||
<Author_First_Name>Laurent</Author_First_Name>
|
||||
<Author_Last_Name>Destailleur</Author_Last_Name>
|
||||
<Author_Email>eldy@users.sourceforge.net</Author_Email>
|
||||
<Contact_First_Name>Laurent</Contact_First_Name>
|
||||
<Contact_Last_Name>Destailleur</Contact_Last_Name>
|
||||
<Contact_Email>eldy@users.sourceforge.net</Contact_Email>
|
||||
</Contact_Info>
|
||||
<Support_Info>
|
||||
<Sales_Email>eldy@users.sourceforge.net</Sales_Email>
|
||||
<Support_Email>eldy@users.sourceforge.net</Support_Email>
|
||||
<General_Email>eldy@users.sourceforge.net</General_Email>
|
||||
<Sales_Phone />
|
||||
<Support_Phone />
|
||||
<General_Phone />
|
||||
<Fax_Phone />
|
||||
</Support_Info>
|
||||
</Company_Info>
|
||||
<Program_Info>
|
||||
<Program_Name>Dolibarr</Program_Name>
|
||||
<Program_Version>2.1</Program_Version>
|
||||
<Program_Release_Month>04</Program_Release_Month>
|
||||
<Program_Release_Day>27</Program_Release_Day>
|
||||
<Program_Release_Year>2007</Program_Release_Year>
|
||||
<Program_Cost_Dollars />
|
||||
<Program_Cost_Other_Code />
|
||||
<Program_Cost_Other />
|
||||
<Program_Type>Freeware</Program_Type>
|
||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
||||
<Program_Install_Support>No Install Support</Program_Install_Support>
|
||||
<Program_OS_Support>Win95,Win98,WinME,WinNT 4.x,Windows2000,WinXP,Windows2003,Windows Vista Starter,Windows Vista Home Basic,Windows Vista Home Premium,Windows Vista Business,Windows Vista Enterprise,Windows Vista Ultimate,Windows Vista Home Basic x64,Windows Vista Home Premium x64,Windows Vista Business x64,Windows Vista Enterprise x64,Windows Vista Ultimate x64,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC,Mac OS X,Mac Other,BEOS</Program_OS_Support>
|
||||
<Program_Language>English,French</Program_Language>
|
||||
<Program_Change_Info>http://www.dolibarr.org</Program_Change_Info>
|
||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
||||
<Program_System_Requirements>None</Program_System_Requirements>
|
||||
<File_Info>
|
||||
<File_Size_Bytes>1016660</File_Size_Bytes>
|
||||
<File_Size_K>992</File_Size_K>
|
||||
<File_Size_MB>0.97</File_Size_MB>
|
||||
</File_Info>
|
||||
<Expire_Info>
|
||||
<Has_Expire_Info>N</Has_Expire_Info>
|
||||
<Expire_Count />
|
||||
<Expire_Based_On>Days</Expire_Based_On>
|
||||
<Expire_Other_Info />
|
||||
<Expire_Month />
|
||||
<Expire_Day />
|
||||
<Expire_Year />
|
||||
</Expire_Info>
|
||||
</Program_Info>
|
||||
<Program_Descriptions>
|
||||
<English>
|
||||
<Keywords>dolibarr</Keywords>
|
||||
<Char_Desc_45>Dolibarr ERP/CRM</Char_Desc_45>
|
||||
<Char_Desc_80>Dolibarr ERP/CRM</Char_Desc_80>
|
||||
<Char_Desc_250>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_250>
|
||||
<Char_Desc_450>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_450>
|
||||
<Char_Desc_2000>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_2000>
|
||||
</English>
|
||||
<French>
|
||||
<Keywords />
|
||||
<Char_Desc_45 />
|
||||
<Char_Desc_80 />
|
||||
<Char_Desc_250 />
|
||||
<Char_Desc_450 />
|
||||
<Char_Desc_2000 />
|
||||
</French>
|
||||
</Program_Descriptions>
|
||||
<Web_Info>
|
||||
<Application_URLs>
|
||||
<Application_Info_URL>http://www.dolibarr.org</Application_Info_URL>
|
||||
<Application_Order_URL>http://www.dolibarr.org</Application_Order_URL>
|
||||
<Application_Screenshot_URL>http://www.dolibarr.org/demo/doc/images/dolibarr_screenshot2.png</Application_Screenshot_URL>
|
||||
<Application_Icon_URL>http://www.dolibarr.org/demo/doc/images/mylogo.png</Application_Icon_URL>
|
||||
<Application_XML_File_URL>http://www.dolibarr.org/demo/build/pad/pad_dolibarr.xml</Application_XML_File_URL>
|
||||
</Application_URLs>
|
||||
<Download_URLs>
|
||||
<Primary_Download_URL>http://www.dolibarr.org/en/files/documents/dolibarr.tgz</Primary_Download_URL>
|
||||
<Secondary_Download_URL />
|
||||
<Additional_Download_URL_1 />
|
||||
<Additional_Download_URL_2 />
|
||||
</Download_URLs>
|
||||
</Web_Info>
|
||||
<Permissions>
|
||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
||||
<EULA>GNU GPL</EULA>
|
||||
</Permissions>
|
||||
<ASP>
|
||||
<ASP_FORM>Y</ASP_FORM>
|
||||
<ASP_Member>N</ASP_Member>
|
||||
<ASP_Member_Number />
|
||||
</ASP>
|
||||
<Affiliates>
|
||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
||||
<Affiliates_VERSION>1.2</Affiliates_VERSION>
|
||||
<Affiliates_URL>http://www.asp-shareware.org/pad/extensions/Affiliates.htm</Affiliates_URL>
|
||||
<Affiliates_Information_Page />
|
||||
<Affiliates_Avangate_Order_Page />
|
||||
<Affiliates_Avangate_Vendor_ID />
|
||||
<Affiliates_Avangate_Product_ID />
|
||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
||||
<Affiliates_BMTMicro_Order_Page />
|
||||
<Affiliates_BMTMicro_Vendor_ID />
|
||||
<Affiliates_BMTMicro_Product_ID />
|
||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
||||
<Affiliates_clixGalore_Order_Page />
|
||||
<Affiliates_clixGalore_Vendor_ID />
|
||||
<Affiliates_clixGalore_Product_ID />
|
||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
||||
<Affiliates_CommissionJunction_Order_Page />
|
||||
<Affiliates_CommissionJunction_Vendor_ID />
|
||||
<Affiliates_CommissionJunction_Product_ID />
|
||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
||||
<Affiliates_DigiBuy_Order_Page />
|
||||
<Affiliates_DigiBuy_Vendor_ID />
|
||||
<Affiliates_DigiBuy_Product_ID />
|
||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
||||
<Affiliates_DigitalCandle_Order_Page />
|
||||
<Affiliates_DigitalCandle_Vendor_ID />
|
||||
<Affiliates_DigitalCandle_Product_ID />
|
||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
||||
<Affiliates_Emetrix_Order_Page />
|
||||
<Affiliates_Emetrix_Vendor_ID />
|
||||
<Affiliates_Emetrix_Product_ID />
|
||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
||||
<Affiliates_eSellerate_Order_Page />
|
||||
<Affiliates_eSellerate_Vendor_ID />
|
||||
<Affiliates_eSellerate_Product_ID />
|
||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
||||
<Affiliates_Kagi_Order_Page />
|
||||
<Affiliates_Kagi_Vendor_ID />
|
||||
<Affiliates_Kagi_Product_ID />
|
||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
||||
<Affiliates_LinkShare_Order_Page />
|
||||
<Affiliates_LinkShare_Vendor_ID />
|
||||
<Affiliates_LinkShare_Product_ID />
|
||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
||||
<Affiliates_NorthStarSol_Order_Page />
|
||||
<Affiliates_NorthStarSol_Vendor_ID />
|
||||
<Affiliates_NorthStarSol_Product_ID />
|
||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
||||
<Affiliates_Order1_Order_Page />
|
||||
<Affiliates_Order1_Vendor_ID />
|
||||
<Affiliates_Order1_Product_ID />
|
||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
||||
<Affiliates_Osolis_Order_Page />
|
||||
<Affiliates_Osolis_Vendor_ID />
|
||||
<Affiliates_Osolis_Product_ID />
|
||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
||||
<Affiliates_Plimus_Order_Page />
|
||||
<Affiliates_Plimus_Vendor_ID />
|
||||
<Affiliates_Plimus_Product_ID />
|
||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnet_Order_Page />
|
||||
<Affiliates_Regnet_Vendor_ID />
|
||||
<Affiliates_Regnet_Product_ID />
|
||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnow_Order_Page />
|
||||
<Affiliates_Regnow_Vendor_ID />
|
||||
<Affiliates_Regnow_Product_ID />
|
||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
||||
<Affiliates_Regsoft_Order_Page />
|
||||
<Affiliates_Regsoft_Vendor_ID />
|
||||
<Affiliates_Regsoft_Product_ID />
|
||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
||||
<Affiliates_ShareIt_Order_Page />
|
||||
<Affiliates_ShareIt_Vendor_ID />
|
||||
<Affiliates_ShareIt_Product_ID />
|
||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
||||
<Affiliates_Shareasale_Order_Page />
|
||||
<Affiliates_Shareasale_Vendor_ID />
|
||||
<Affiliates_Shareasale_Product_ID />
|
||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
||||
<Affiliates_SWReg_Order_Page />
|
||||
<Affiliates_SWReg_Vendor_ID />
|
||||
<Affiliates_SWReg_Product_ID />
|
||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
||||
<Affiliates_V-Share_Order_Page />
|
||||
<Affiliates_V-Share_Vendor_ID />
|
||||
<Affiliates_V-Share_Product_ID />
|
||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
||||
<Affiliates_VFree_Order_Page />
|
||||
<Affiliates_VFree_Vendor_ID />
|
||||
<Affiliates_VFree_Product_ID />
|
||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
||||
<Affiliates_Yaskifo_Order_Page />
|
||||
<Affiliates_Yaskifo_Vendor_ID />
|
||||
<Affiliates_Yaskifo_Product_ID />
|
||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
||||
</Affiliates>
|
||||
</XML_DIZ_INFO>
|
||||
<?xml version="1.0" ?>
|
||||
<XML_DIZ_INFO>
|
||||
<MASTER_PAD_VERSION_INFO>
|
||||
<MASTER_PAD_VERSION>3.01</MASTER_PAD_VERSION>
|
||||
<MASTER_PAD_EDITOR>PADGen 3.0.1.35 http://www.padgen.org</MASTER_PAD_EDITOR>
|
||||
<MASTER_PAD_INFO>Portable Application Description, or PAD for short, is a data set that is used by shareware authors to disseminate information to anyone interested in their software products. To find out more go to http://www.asp-shareware.org/pad</MASTER_PAD_INFO>
|
||||
</MASTER_PAD_VERSION_INFO>
|
||||
<Company_Info>
|
||||
<Company_Name>Laurent Destailleur</Company_Name>
|
||||
<Address_1>61 Boulevard Vauban</Address_1>
|
||||
<Address_2 />
|
||||
<City_Town>Montigny-le-Bretonneux</City_Town>
|
||||
<State_Province>Yvelines</State_Province>
|
||||
<Zip_Postal_Code>78180</Zip_Postal_Code>
|
||||
<Country>FRANCE</Country>
|
||||
<Company_WebSite_URL>http://www.destailleur.fr</Company_WebSite_URL>
|
||||
<Contact_Info>
|
||||
<Author_First_Name>Laurent</Author_First_Name>
|
||||
<Author_Last_Name>Destailleur</Author_Last_Name>
|
||||
<Author_Email>eldy@users.sourceforge.net</Author_Email>
|
||||
<Contact_First_Name>Laurent</Contact_First_Name>
|
||||
<Contact_Last_Name>Destailleur</Contact_Last_Name>
|
||||
<Contact_Email>eldy@users.sourceforge.net</Contact_Email>
|
||||
</Contact_Info>
|
||||
<Support_Info>
|
||||
<Sales_Email>eldy@users.sourceforge.net</Sales_Email>
|
||||
<Support_Email>eldy@users.sourceforge.net</Support_Email>
|
||||
<General_Email>eldy@users.sourceforge.net</General_Email>
|
||||
<Sales_Phone />
|
||||
<Support_Phone />
|
||||
<General_Phone />
|
||||
<Fax_Phone />
|
||||
</Support_Info>
|
||||
</Company_Info>
|
||||
<Program_Info>
|
||||
<Program_Name>Dolibarr</Program_Name>
|
||||
<Program_Version>2.1</Program_Version>
|
||||
<Program_Release_Month>04</Program_Release_Month>
|
||||
<Program_Release_Day>27</Program_Release_Day>
|
||||
<Program_Release_Year>2007</Program_Release_Year>
|
||||
<Program_Cost_Dollars />
|
||||
<Program_Cost_Other_Code />
|
||||
<Program_Cost_Other />
|
||||
<Program_Type>Freeware</Program_Type>
|
||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
||||
<Program_Install_Support>No Install Support</Program_Install_Support>
|
||||
<Program_OS_Support>Win95,Win98,WinME,WinNT 4.x,Windows2000,WinXP,Windows2003,Windows Vista Starter,Windows Vista Home Basic,Windows Vista Home Premium,Windows Vista Business,Windows Vista Enterprise,Windows Vista Ultimate,Windows Vista Home Basic x64,Windows Vista Home Premium x64,Windows Vista Business x64,Windows Vista Enterprise x64,Windows Vista Ultimate x64,Unix,Linux,OS/2,OS/2 Warp,OS/2 Warp 4,MAC 68k,Mac PPC,Mac OS X,Mac Other,BEOS</Program_OS_Support>
|
||||
<Program_Language>English,French</Program_Language>
|
||||
<Program_Change_Info>http://www.dolibarr.org</Program_Change_Info>
|
||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
||||
<Program_System_Requirements>None</Program_System_Requirements>
|
||||
<File_Info>
|
||||
<File_Size_Bytes>1016660</File_Size_Bytes>
|
||||
<File_Size_K>992</File_Size_K>
|
||||
<File_Size_MB>0.97</File_Size_MB>
|
||||
</File_Info>
|
||||
<Expire_Info>
|
||||
<Has_Expire_Info>N</Has_Expire_Info>
|
||||
<Expire_Count />
|
||||
<Expire_Based_On>Days</Expire_Based_On>
|
||||
<Expire_Other_Info />
|
||||
<Expire_Month />
|
||||
<Expire_Day />
|
||||
<Expire_Year />
|
||||
</Expire_Info>
|
||||
</Program_Info>
|
||||
<Program_Descriptions>
|
||||
<English>
|
||||
<Keywords>dolibarr</Keywords>
|
||||
<Char_Desc_45>Dolibarr ERP/CRM</Char_Desc_45>
|
||||
<Char_Desc_80>Dolibarr ERP/CRM</Char_Desc_80>
|
||||
<Char_Desc_250>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_250>
|
||||
<Char_Desc_450>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_450>
|
||||
<Char_Desc_2000>Dolibarr ERP/CRM is an open source tool to manage invoices, customers, suppliers, contracts and any other things a small or medium company needs.</Char_Desc_2000>
|
||||
</English>
|
||||
<French>
|
||||
<Keywords />
|
||||
<Char_Desc_45 />
|
||||
<Char_Desc_80 />
|
||||
<Char_Desc_250 />
|
||||
<Char_Desc_450 />
|
||||
<Char_Desc_2000 />
|
||||
</French>
|
||||
</Program_Descriptions>
|
||||
<Web_Info>
|
||||
<Application_URLs>
|
||||
<Application_Info_URL>http://www.dolibarr.org</Application_Info_URL>
|
||||
<Application_Order_URL>http://www.dolibarr.org</Application_Order_URL>
|
||||
<Application_Screenshot_URL>http://www.dolibarr.org/demo/doc/images/dolibarr_screenshot2.png</Application_Screenshot_URL>
|
||||
<Application_Icon_URL>http://www.dolibarr.org/demo/doc/images/mylogo.png</Application_Icon_URL>
|
||||
<Application_XML_File_URL>http://www.dolibarr.org/demo/build/pad/pad_dolibarr.xml</Application_XML_File_URL>
|
||||
</Application_URLs>
|
||||
<Download_URLs>
|
||||
<Primary_Download_URL>http://www.dolibarr.org/en/files/documents/dolibarr.tgz</Primary_Download_URL>
|
||||
<Secondary_Download_URL />
|
||||
<Additional_Download_URL_1 />
|
||||
<Additional_Download_URL_2 />
|
||||
</Download_URLs>
|
||||
</Web_Info>
|
||||
<Permissions>
|
||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
||||
<EULA>GNU GPL</EULA>
|
||||
</Permissions>
|
||||
<ASP>
|
||||
<ASP_FORM>Y</ASP_FORM>
|
||||
<ASP_Member>N</ASP_Member>
|
||||
<ASP_Member_Number />
|
||||
</ASP>
|
||||
<Affiliates>
|
||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
||||
<Affiliates_VERSION>1.2</Affiliates_VERSION>
|
||||
<Affiliates_URL>http://www.asp-shareware.org/pad/extensions/Affiliates.htm</Affiliates_URL>
|
||||
<Affiliates_Information_Page />
|
||||
<Affiliates_Avangate_Order_Page />
|
||||
<Affiliates_Avangate_Vendor_ID />
|
||||
<Affiliates_Avangate_Product_ID />
|
||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
||||
<Affiliates_BMTMicro_Order_Page />
|
||||
<Affiliates_BMTMicro_Vendor_ID />
|
||||
<Affiliates_BMTMicro_Product_ID />
|
||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
||||
<Affiliates_clixGalore_Order_Page />
|
||||
<Affiliates_clixGalore_Vendor_ID />
|
||||
<Affiliates_clixGalore_Product_ID />
|
||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
||||
<Affiliates_CommissionJunction_Order_Page />
|
||||
<Affiliates_CommissionJunction_Vendor_ID />
|
||||
<Affiliates_CommissionJunction_Product_ID />
|
||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
||||
<Affiliates_DigiBuy_Order_Page />
|
||||
<Affiliates_DigiBuy_Vendor_ID />
|
||||
<Affiliates_DigiBuy_Product_ID />
|
||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
||||
<Affiliates_DigitalCandle_Order_Page />
|
||||
<Affiliates_DigitalCandle_Vendor_ID />
|
||||
<Affiliates_DigitalCandle_Product_ID />
|
||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
||||
<Affiliates_Emetrix_Order_Page />
|
||||
<Affiliates_Emetrix_Vendor_ID />
|
||||
<Affiliates_Emetrix_Product_ID />
|
||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
||||
<Affiliates_eSellerate_Order_Page />
|
||||
<Affiliates_eSellerate_Vendor_ID />
|
||||
<Affiliates_eSellerate_Product_ID />
|
||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
||||
<Affiliates_Kagi_Order_Page />
|
||||
<Affiliates_Kagi_Vendor_ID />
|
||||
<Affiliates_Kagi_Product_ID />
|
||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
||||
<Affiliates_LinkShare_Order_Page />
|
||||
<Affiliates_LinkShare_Vendor_ID />
|
||||
<Affiliates_LinkShare_Product_ID />
|
||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
||||
<Affiliates_NorthStarSol_Order_Page />
|
||||
<Affiliates_NorthStarSol_Vendor_ID />
|
||||
<Affiliates_NorthStarSol_Product_ID />
|
||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
||||
<Affiliates_Order1_Order_Page />
|
||||
<Affiliates_Order1_Vendor_ID />
|
||||
<Affiliates_Order1_Product_ID />
|
||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
||||
<Affiliates_Osolis_Order_Page />
|
||||
<Affiliates_Osolis_Vendor_ID />
|
||||
<Affiliates_Osolis_Product_ID />
|
||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
||||
<Affiliates_Plimus_Order_Page />
|
||||
<Affiliates_Plimus_Vendor_ID />
|
||||
<Affiliates_Plimus_Product_ID />
|
||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnet_Order_Page />
|
||||
<Affiliates_Regnet_Vendor_ID />
|
||||
<Affiliates_Regnet_Product_ID />
|
||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
||||
<Affiliates_Regnow_Order_Page />
|
||||
<Affiliates_Regnow_Vendor_ID />
|
||||
<Affiliates_Regnow_Product_ID />
|
||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
||||
<Affiliates_Regsoft_Order_Page />
|
||||
<Affiliates_Regsoft_Vendor_ID />
|
||||
<Affiliates_Regsoft_Product_ID />
|
||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
||||
<Affiliates_ShareIt_Order_Page />
|
||||
<Affiliates_ShareIt_Vendor_ID />
|
||||
<Affiliates_ShareIt_Product_ID />
|
||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
||||
<Affiliates_Shareasale_Order_Page />
|
||||
<Affiliates_Shareasale_Vendor_ID />
|
||||
<Affiliates_Shareasale_Product_ID />
|
||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
||||
<Affiliates_SWReg_Order_Page />
|
||||
<Affiliates_SWReg_Vendor_ID />
|
||||
<Affiliates_SWReg_Product_ID />
|
||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
||||
<Affiliates_V-Share_Order_Page />
|
||||
<Affiliates_V-Share_Vendor_ID />
|
||||
<Affiliates_V-Share_Product_ID />
|
||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
||||
<Affiliates_VFree_Order_Page />
|
||||
<Affiliates_VFree_Vendor_ID />
|
||||
<Affiliates_VFree_Product_ID />
|
||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
||||
<Affiliates_Yaskifo_Order_Page />
|
||||
<Affiliates_Yaskifo_Vendor_ID />
|
||||
<Affiliates_Yaskifo_Product_ID />
|
||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
||||
</Affiliates>
|
||||
</XML_DIZ_INFO>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# ldapadd_sample2.txt
|
||||
#
|
||||
# Use this sample to add a ou "contacts"
|
||||
# This is the second thing to create after creating the root my-domain
|
||||
#
|
||||
# ldapadd -c -v -D cn=Manager,dc=my-domain,dc=com -W -f ldapadd_sample2.txt
|
||||
|
||||
dn: ou=contacts,dc=my-domain,dc=com
|
||||
objectClass: organizationalUnit
|
||||
# ldapadd_sample2.txt
|
||||
#
|
||||
# Use this sample to add a ou "contacts"
|
||||
# This is the second thing to create after creating the root my-domain
|
||||
#
|
||||
# ldapadd -c -v -D cn=Manager,dc=my-domain,dc=com -W -f ldapadd_sample2.txt
|
||||
|
||||
dn: ou=contacts,dc=my-domain,dc=com
|
||||
objectClass: organizationalUnit
|
||||
ou: contacts
|
||||
@@ -1,142 +1,142 @@
|
||||
Accueil
|
||||
Actualit<EFBFBD>s
|
||||
ApercuDesModeles
|
||||
Authentification
|
||||
Benoit Mortier
|
||||
Charte de nommage
|
||||
Commande
|
||||
Constantes
|
||||
Contrat
|
||||
Customisation des documents dolibarr
|
||||
Developpement module
|
||||
Devenir d<>veloppeur
|
||||
DocUtilisateur
|
||||
DocumentFacture
|
||||
DocumentPropale
|
||||
Document g<>n<EFBFBD>r<EFBFBD>s
|
||||
Documentation D<>veloppeur
|
||||
Documentation d<>veloppeur
|
||||
Documentation traducteur
|
||||
Documentation utilisateur
|
||||
Dolibarr
|
||||
D<EFBFBD>pendances
|
||||
D<EFBFBD>veloppement
|
||||
Export
|
||||
Compta
|
||||
FAQUtilisateur
|
||||
FAQ D<>veloppeur
|
||||
FAQ Langue
|
||||
FAQ Montants
|
||||
FAQ Utilisateur
|
||||
Facturation
|
||||
Facturation/Comptabilit<69>
|
||||
Facture
|
||||
FactureConfiguration
|
||||
FactureFournisseur
|
||||
FactureModele
|
||||
Fichier de configuration
|
||||
Glossaire
|
||||
Imports de masse
|
||||
Installation
|
||||
Installation / Mise a jour
|
||||
Interface OSCommerce
|
||||
Interfaces Dolibarr vers exterieur
|
||||
Interfaces Exterieur vers Dolibarr
|
||||
Langages
|
||||
Langages et normes
|
||||
Languages
|
||||
Laurent Destailleur (Eldy) - Profession de foi
|
||||
Laurent Destailleur - Profession de foi
|
||||
Librairies externes
|
||||
Librairies externes et d<>pendances
|
||||
Liste des tables
|
||||
Mailing
|
||||
Main Page
|
||||
Mise <20> jour du format de la base
|
||||
Module Adh<64>rents
|
||||
Module Avoir
|
||||
Module Banque
|
||||
Module Banque-Caisse
|
||||
Module Barcode
|
||||
Module Commandes
|
||||
Module Comptabilit<69>
|
||||
Module Contrat
|
||||
Module Facture
|
||||
Module Fournisseur
|
||||
Module Mailing
|
||||
Module Propositions commerciales
|
||||
Module Pr<50>l<EFBFBD>vements bancaires
|
||||
Module Soci<63>t<EFBFBD>
|
||||
Module Stock
|
||||
Module Utilisateurs
|
||||
Module comptabilit<69>
|
||||
Modules
|
||||
Nomination chef de projet
|
||||
Normes d<>veloppeur
|
||||
Module Proposition commerciales
|
||||
Normes d<>veloppeur
|
||||
Module Stock
|
||||
OpenXtrem
|
||||
Outils et principes
|
||||
Permissions
|
||||
Premiers param<61>trages
|
||||
Presse en ligne
|
||||
Presse papier
|
||||
Produits
|
||||
Produits 7.1
|
||||
Projet
|
||||
Projet comptabilit<69> l<>gale
|
||||
Proposition commerciale
|
||||
Pr<EFBFBD>requis
|
||||
Roadmap
|
||||
Roadmap 1.2.0
|
||||
Roadmap 1.3.0
|
||||
Roadmap 1.4.0
|
||||
Roadmap 1.6.0
|
||||
Roadmap 2.0.0
|
||||
Roadmap 2.1.0
|
||||
Roadmap 2.3.0
|
||||
Roadmap 2.4.0
|
||||
Roadmap 2.6.0
|
||||
R<EFBFBD>gles de d<>veloppement
|
||||
R<EFBFBD>le du chef de projet
|
||||
Salon Solutions Linux 2005
|
||||
Salon Solutions Linux 2006
|
||||
Salon Solutions Linux 2007
|
||||
Sauvegarder ses_donn<6E>es avant mise <20> jour
|
||||
Script facturation-calcul.php
|
||||
Script facturation-verif.php
|
||||
Script import-cdr.php
|
||||
Script mailing-send.php
|
||||
Script prelevement-verif.php
|
||||
Services
|
||||
Soci<EFBFBD>t<EFBFBD>s
|
||||
Stocks Librairies externes et d<>pendances
|
||||
Suggestions utilisateurs
|
||||
Syst<EFBFBD>me de menus
|
||||
Syst<EFBFBD>me des boites
|
||||
Table llx adherent
|
||||
Table llx action def
|
||||
Table llx commande
|
||||
Table llx commandedet
|
||||
Table llx const
|
||||
Table llx contrat
|
||||
Table llx dolibarr modules
|
||||
Table llx export compta
|
||||
Table llx facturedet
|
||||
Table llx paiement
|
||||
Table llx paiementfourn facturefourn
|
||||
Table llx prelevement
|
||||
Table llx prelevement bons
|
||||
Table llx prelevement facture
|
||||
Table llx prelevement facture demande
|
||||
Table llx prelevement lignes
|
||||
Table llx prelevement rejet
|
||||
Table llx rights def
|
||||
Table llx user param
|
||||
Table llx usergroup
|
||||
Table llx usergroup rights
|
||||
Table llx usergroup user
|
||||
Themes
|
||||
T<EFBFBD>l<EFBFBD>phonie
|
||||
Utiliser ses donn<6E>es pour tester la derni<6E>re version
|
||||
Accueil
|
||||
Actualit<EFBFBD>s
|
||||
ApercuDesModeles
|
||||
Authentification
|
||||
Benoit Mortier
|
||||
Charte de nommage
|
||||
Commande
|
||||
Constantes
|
||||
Contrat
|
||||
Customisation des documents dolibarr
|
||||
Developpement module
|
||||
Devenir d<>veloppeur
|
||||
DocUtilisateur
|
||||
DocumentFacture
|
||||
DocumentPropale
|
||||
Document g<>n<EFBFBD>r<EFBFBD>s
|
||||
Documentation D<>veloppeur
|
||||
Documentation d<>veloppeur
|
||||
Documentation traducteur
|
||||
Documentation utilisateur
|
||||
Dolibarr
|
||||
D<EFBFBD>pendances
|
||||
D<EFBFBD>veloppement
|
||||
Export
|
||||
Compta
|
||||
FAQUtilisateur
|
||||
FAQ D<>veloppeur
|
||||
FAQ Langue
|
||||
FAQ Montants
|
||||
FAQ Utilisateur
|
||||
Facturation
|
||||
Facturation/Comptabilit<69>
|
||||
Facture
|
||||
FactureConfiguration
|
||||
FactureFournisseur
|
||||
FactureModele
|
||||
Fichier de configuration
|
||||
Glossaire
|
||||
Imports de masse
|
||||
Installation
|
||||
Installation / Mise a jour
|
||||
Interface OSCommerce
|
||||
Interfaces Dolibarr vers exterieur
|
||||
Interfaces Exterieur vers Dolibarr
|
||||
Langages
|
||||
Langages et normes
|
||||
Languages
|
||||
Laurent Destailleur (Eldy) - Profession de foi
|
||||
Laurent Destailleur - Profession de foi
|
||||
Librairies externes
|
||||
Librairies externes et d<>pendances
|
||||
Liste des tables
|
||||
Mailing
|
||||
Main Page
|
||||
Mise <20> jour du format de la base
|
||||
Module Adh<64>rents
|
||||
Module Avoir
|
||||
Module Banque
|
||||
Module Banque-Caisse
|
||||
Module Barcode
|
||||
Module Commandes
|
||||
Module Comptabilit<69>
|
||||
Module Contrat
|
||||
Module Facture
|
||||
Module Fournisseur
|
||||
Module Mailing
|
||||
Module Propositions commerciales
|
||||
Module Pr<50>l<EFBFBD>vements bancaires
|
||||
Module Soci<63>t<EFBFBD>
|
||||
Module Stock
|
||||
Module Utilisateurs
|
||||
Module comptabilit<69>
|
||||
Modules
|
||||
Nomination chef de projet
|
||||
Normes d<>veloppeur
|
||||
Module Proposition commerciales
|
||||
Normes d<>veloppeur
|
||||
Module Stock
|
||||
OpenXtrem
|
||||
Outils et principes
|
||||
Permissions
|
||||
Premiers param<61>trages
|
||||
Presse en ligne
|
||||
Presse papier
|
||||
Produits
|
||||
Produits 7.1
|
||||
Projet
|
||||
Projet comptabilit<69> l<>gale
|
||||
Proposition commerciale
|
||||
Pr<EFBFBD>requis
|
||||
Roadmap
|
||||
Roadmap 1.2.0
|
||||
Roadmap 1.3.0
|
||||
Roadmap 1.4.0
|
||||
Roadmap 1.6.0
|
||||
Roadmap 2.0.0
|
||||
Roadmap 2.1.0
|
||||
Roadmap 2.3.0
|
||||
Roadmap 2.4.0
|
||||
Roadmap 2.6.0
|
||||
R<EFBFBD>gles de d<>veloppement
|
||||
R<EFBFBD>le du chef de projet
|
||||
Salon Solutions Linux 2005
|
||||
Salon Solutions Linux 2006
|
||||
Salon Solutions Linux 2007
|
||||
Sauvegarder ses_donn<6E>es avant mise <20> jour
|
||||
Script facturation-calcul.php
|
||||
Script facturation-verif.php
|
||||
Script import-cdr.php
|
||||
Script mailing-send.php
|
||||
Script prelevement-verif.php
|
||||
Services
|
||||
Soci<EFBFBD>t<EFBFBD>s
|
||||
Stocks Librairies externes et d<>pendances
|
||||
Suggestions utilisateurs
|
||||
Syst<EFBFBD>me de menus
|
||||
Syst<EFBFBD>me des boites
|
||||
Table llx adherent
|
||||
Table llx action def
|
||||
Table llx commande
|
||||
Table llx commandedet
|
||||
Table llx const
|
||||
Table llx contrat
|
||||
Table llx dolibarr modules
|
||||
Table llx export compta
|
||||
Table llx facturedet
|
||||
Table llx paiement
|
||||
Table llx paiementfourn facturefourn
|
||||
Table llx prelevement
|
||||
Table llx prelevement bons
|
||||
Table llx prelevement facture
|
||||
Table llx prelevement facture demande
|
||||
Table llx prelevement lignes
|
||||
Table llx prelevement rejet
|
||||
Table llx rights def
|
||||
Table llx user param
|
||||
Table llx usergroup
|
||||
Table llx usergroup rights
|
||||
Table llx usergroup user
|
||||
Themes
|
||||
T<EFBFBD>l<EFBFBD>phonie
|
||||
Utiliser ses donn<6E>es pour tester la derni<6E>re version
|
||||
|
||||
@@ -1,125 +1,125 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/adherents/cartes/carte.php
|
||||
\ingroup adherent
|
||||
\brief Page de creation d'une carte PDF
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require(DOL_DOCUMENT_ROOT."/adherents/adherent.class.php");
|
||||
|
||||
require_once('PDF_card.class.php');
|
||||
|
||||
// liste des patterns remplacable dans le texte a imprimer
|
||||
$patterns = array (
|
||||
'/%PRENOM%/',
|
||||
'/%NOM%/',
|
||||
'/%SERVEUR%/',
|
||||
'/%SOCIETE%/',
|
||||
'/%ADRESSE%/',
|
||||
'/%CP%/',
|
||||
'/%VILLE%/',
|
||||
'/%PAYS%/',
|
||||
'/%EMAIL%/',
|
||||
'/%NAISS%/',
|
||||
'/%PHOTO%/',
|
||||
'/%TYPE%/',
|
||||
'/%ID%/',
|
||||
'/%ANNEE%/'
|
||||
);
|
||||
/*
|
||||
*-------------------------------------------------
|
||||
* Pour cr<63>er l'objet on a 2 moyens :
|
||||
* Soit on donne les valeurs en les passant dans un tableau (sert pour un format personnel)
|
||||
* Soit on donne le type d'<27>tiquette au format AVERY
|
||||
*-------------------------------------------------
|
||||
*/
|
||||
|
||||
//$pdf = new PDF_Label(array('name'=>'perso1', 'marginLeft'=>1, 'marginTop'=>1, 'NX'=>2, 'NY'=>7, 'SpaceX'=>0, 'SpaceY'=>0, 'width'=>99.1, 'height'=>'38.1', 'metric'=>'mm', 'font-size'=>14), 1, 2);
|
||||
$pdf = new PDF_card('CARD', 1, 1);
|
||||
|
||||
$pdf->Open();
|
||||
$pdf->AddPage();
|
||||
|
||||
// Choix de l'annee d'impression ou annee courante.
|
||||
if (!isset($annee)){
|
||||
$now = getdate();
|
||||
$annee=$now['year'];
|
||||
}
|
||||
|
||||
// requete en prenant que les adherents a jour de cotisation
|
||||
$sql = "SELECT d.rowid, d.prenom, d.nom, d.societe, ".$db->pdate("d.datefin")." as datefin,";
|
||||
$sql.= " d.adresse, d.cp, d.ville, d.naiss, d.email, d.photo,";
|
||||
$sql.= " t.libelle as type,";
|
||||
$sql.= " p.libelle as pays";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."adherent_type as t, ".MAIN_DB_PREFIX."adherent as d";
|
||||
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."c_pays as p ON d.pays = p.rowid";
|
||||
$sql.= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 AND datefin >= now()";
|
||||
$sql.= " ORDER BY d.rowid ASC";
|
||||
|
||||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows($result);
|
||||
$i = 0;
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $db->fetch_object($result);
|
||||
// attribut a remplacer
|
||||
$replace = array (
|
||||
ucfirst(strtolower($objp->prenom)),
|
||||
strtoupper($objp->nom),
|
||||
"http://".$_SERVER["SERVER_NAME"]."/",
|
||||
$objp->societe,
|
||||
ucwords(strtolower($objp->adresse)),
|
||||
$objp->cp,
|
||||
strtoupper($objp->ville),
|
||||
ucfirst(strtolower($objp->pays)),
|
||||
$objp->email,
|
||||
$objp->naiss,
|
||||
$objp->photo,
|
||||
$objp->type,
|
||||
$objp->rowid,
|
||||
$annee
|
||||
);
|
||||
|
||||
// imprime le texte specifique sur la carte
|
||||
//$pdf->Add_PDF_card(sprintf("%s\n%s\n%s\n%s\n%s, %s\n%s", $objp->type." n<> ".$objp->rowid,ucfirst(strtolower($objp->prenom))." ".strtoupper($objp->nom),"<".$objp->email.">", ucwords(strtolower($objp->adresse)), $objp->cp, strtoupper($objp->ville), ucfirst(strtolower($objp->pays))),$annee,"Association FreeLUG http://www.freelug.org/");
|
||||
$pdf->Add_PDF_card(preg_replace ($patterns, $replace, ADHERENT_CARD_TEXT),preg_replace ($patterns, $replace, ADHERENT_CARD_HEADER_TEXT),preg_replace ($patterns, $replace, ADHERENT_CARD_FOOTER_TEXT));
|
||||
$i++;
|
||||
}
|
||||
|
||||
$db->close();
|
||||
$pdf->Output();
|
||||
}
|
||||
else
|
||||
{
|
||||
dolibarr_print_error($db);
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
}
|
||||
|
||||
?>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/adherents/cartes/carte.php
|
||||
\ingroup adherent
|
||||
\brief Page de creation d'une carte PDF
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require(DOL_DOCUMENT_ROOT."/adherents/adherent.class.php");
|
||||
|
||||
require_once('PDF_card.class.php');
|
||||
|
||||
// liste des patterns remplacable dans le texte a imprimer
|
||||
$patterns = array (
|
||||
'/%PRENOM%/',
|
||||
'/%NOM%/',
|
||||
'/%SERVEUR%/',
|
||||
'/%SOCIETE%/',
|
||||
'/%ADRESSE%/',
|
||||
'/%CP%/',
|
||||
'/%VILLE%/',
|
||||
'/%PAYS%/',
|
||||
'/%EMAIL%/',
|
||||
'/%NAISS%/',
|
||||
'/%PHOTO%/',
|
||||
'/%TYPE%/',
|
||||
'/%ID%/',
|
||||
'/%ANNEE%/'
|
||||
);
|
||||
/*
|
||||
*-------------------------------------------------
|
||||
* Pour cr<63>er l'objet on a 2 moyens :
|
||||
* Soit on donne les valeurs en les passant dans un tableau (sert pour un format personnel)
|
||||
* Soit on donne le type d'<27>tiquette au format AVERY
|
||||
*-------------------------------------------------
|
||||
*/
|
||||
|
||||
//$pdf = new PDF_Label(array('name'=>'perso1', 'marginLeft'=>1, 'marginTop'=>1, 'NX'=>2, 'NY'=>7, 'SpaceX'=>0, 'SpaceY'=>0, 'width'=>99.1, 'height'=>'38.1', 'metric'=>'mm', 'font-size'=>14), 1, 2);
|
||||
$pdf = new PDF_card('CARD', 1, 1);
|
||||
|
||||
$pdf->Open();
|
||||
$pdf->AddPage();
|
||||
|
||||
// Choix de l'annee d'impression ou annee courante.
|
||||
if (!isset($annee)){
|
||||
$now = getdate();
|
||||
$annee=$now['year'];
|
||||
}
|
||||
|
||||
// requete en prenant que les adherents a jour de cotisation
|
||||
$sql = "SELECT d.rowid, d.prenom, d.nom, d.societe, ".$db->pdate("d.datefin")." as datefin,";
|
||||
$sql.= " d.adresse, d.cp, d.ville, d.naiss, d.email, d.photo,";
|
||||
$sql.= " t.libelle as type,";
|
||||
$sql.= " p.libelle as pays";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."adherent_type as t, ".MAIN_DB_PREFIX."adherent as d";
|
||||
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."c_pays as p ON d.pays = p.rowid";
|
||||
$sql.= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 AND datefin >= now()";
|
||||
$sql.= " ORDER BY d.rowid ASC";
|
||||
|
||||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows($result);
|
||||
$i = 0;
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $db->fetch_object($result);
|
||||
// attribut a remplacer
|
||||
$replace = array (
|
||||
ucfirst(strtolower($objp->prenom)),
|
||||
strtoupper($objp->nom),
|
||||
"http://".$_SERVER["SERVER_NAME"]."/",
|
||||
$objp->societe,
|
||||
ucwords(strtolower($objp->adresse)),
|
||||
$objp->cp,
|
||||
strtoupper($objp->ville),
|
||||
ucfirst(strtolower($objp->pays)),
|
||||
$objp->email,
|
||||
$objp->naiss,
|
||||
$objp->photo,
|
||||
$objp->type,
|
||||
$objp->rowid,
|
||||
$annee
|
||||
);
|
||||
|
||||
// imprime le texte specifique sur la carte
|
||||
//$pdf->Add_PDF_card(sprintf("%s\n%s\n%s\n%s\n%s, %s\n%s", $objp->type." n<> ".$objp->rowid,ucfirst(strtolower($objp->prenom))." ".strtoupper($objp->nom),"<".$objp->email.">", ucwords(strtolower($objp->adresse)), $objp->cp, strtoupper($objp->ville), ucfirst(strtolower($objp->pays))),$annee,"Association FreeLUG http://www.freelug.org/");
|
||||
$pdf->Add_PDF_card(preg_replace ($patterns, $replace, ADHERENT_CARD_TEXT),preg_replace ($patterns, $replace, ADHERENT_CARD_HEADER_TEXT),preg_replace ($patterns, $replace, ADHERENT_CARD_FOOTER_TEXT));
|
||||
$i++;
|
||||
}
|
||||
|
||||
$db->close();
|
||||
$pdf->Output();
|
||||
}
|
||||
else
|
||||
{
|
||||
dolibarr_print_error($db);
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,94 +1,94 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/adherents/cartes/etiquette.php
|
||||
\ingroup adherent
|
||||
\brief Page de creation d'etiquettes
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require(DOL_DOCUMENT_ROOT."/adherents/adherent.class.php");
|
||||
|
||||
require_once('PDF_card.class.php');
|
||||
|
||||
/*
|
||||
*-------------------------------------------------
|
||||
* Pour cr<63>er l'objet on a 2 moyens :
|
||||
* Soit on donne les valeurs en les passant dans un tableau (sert pour un format personnel)
|
||||
* Soit on donne le type d'<27>tiquette au format AVERY
|
||||
*-------------------------------------------------
|
||||
*/
|
||||
|
||||
//$pdf = new PDF_Label(array('name'=>'perso1', 'marginLeft'=>1, 'marginTop'=>1, 'NX'=>2, 'NY'=>7, 'SpaceX'=>0, 'SpaceY'=>0, 'width'=>99.1, 'height'=>'38.1', 'metric'=>'mm', 'font-size'=>14), 1, 2);
|
||||
//$pdf = new PDF_card('CARD', 1, 1);
|
||||
if (defined("ADHERENT_ETIQUETTE_TYPE") && ADHERENT_ETIQUETTE_TYPE !=''){
|
||||
$pdf = new PDF_card(ADHERENT_ETIQUETTE_TYPE, 1, 1);
|
||||
}else{
|
||||
$pdf = new PDF_card('L7163', 1, 1);
|
||||
}
|
||||
|
||||
$pdf->Open();
|
||||
$pdf->AddPage();
|
||||
|
||||
// Choix de l'annee d'impression ou annee courante.
|
||||
if (!isset($annee)){
|
||||
$now = getdate();
|
||||
$annee=$now['year'];
|
||||
}
|
||||
|
||||
// requete en prenant que les adherents a jour de cotisation
|
||||
$sql = "SELECT d.rowid, d.prenom, d.nom, d.societe, ".$db->pdate("d.datefin")." as datefin,";
|
||||
$sql.= " d.adresse, d.cp, d.ville, d.naiss, d.email, d.photo,";
|
||||
$sql.= " t.libelle as type,";
|
||||
$sql.= " p.libelle as pays";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."adherent_type as t, ".MAIN_DB_PREFIX."adherent as d";
|
||||
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."c_pays as p ON d.pays = p.rowid";
|
||||
$sql.= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 AND datefin >= now()";
|
||||
$sql.= " ORDER BY d.rowid ASC";
|
||||
|
||||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
$i = 0;
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $db->fetch_object($result);
|
||||
// imprime le texte specifique sur la carte
|
||||
$pdf->Add_PDF_card(sprintf("%s\n%s\n%s %s\n%s", ucfirst(strtolower($objp->prenom))." ".strtoupper($objp->nom), ucwords(strtolower($objp->adresse)), $objp->cp, strtoupper($objp->ville), ucfirst(strtolower($objp->pays))),'','');
|
||||
$i++;
|
||||
}
|
||||
|
||||
$db->close();
|
||||
$pdf->Output();
|
||||
}
|
||||
else
|
||||
{
|
||||
dolibarr_print_error($db);
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
}
|
||||
|
||||
?>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/adherents/cartes/etiquette.php
|
||||
\ingroup adherent
|
||||
\brief Page de creation d'etiquettes
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require(DOL_DOCUMENT_ROOT."/adherents/adherent.class.php");
|
||||
|
||||
require_once('PDF_card.class.php');
|
||||
|
||||
/*
|
||||
*-------------------------------------------------
|
||||
* Pour cr<63>er l'objet on a 2 moyens :
|
||||
* Soit on donne les valeurs en les passant dans un tableau (sert pour un format personnel)
|
||||
* Soit on donne le type d'<27>tiquette au format AVERY
|
||||
*-------------------------------------------------
|
||||
*/
|
||||
|
||||
//$pdf = new PDF_Label(array('name'=>'perso1', 'marginLeft'=>1, 'marginTop'=>1, 'NX'=>2, 'NY'=>7, 'SpaceX'=>0, 'SpaceY'=>0, 'width'=>99.1, 'height'=>'38.1', 'metric'=>'mm', 'font-size'=>14), 1, 2);
|
||||
//$pdf = new PDF_card('CARD', 1, 1);
|
||||
if (defined("ADHERENT_ETIQUETTE_TYPE") && ADHERENT_ETIQUETTE_TYPE !=''){
|
||||
$pdf = new PDF_card(ADHERENT_ETIQUETTE_TYPE, 1, 1);
|
||||
}else{
|
||||
$pdf = new PDF_card('L7163', 1, 1);
|
||||
}
|
||||
|
||||
$pdf->Open();
|
||||
$pdf->AddPage();
|
||||
|
||||
// Choix de l'annee d'impression ou annee courante.
|
||||
if (!isset($annee)){
|
||||
$now = getdate();
|
||||
$annee=$now['year'];
|
||||
}
|
||||
|
||||
// requete en prenant que les adherents a jour de cotisation
|
||||
$sql = "SELECT d.rowid, d.prenom, d.nom, d.societe, ".$db->pdate("d.datefin")." as datefin,";
|
||||
$sql.= " d.adresse, d.cp, d.ville, d.naiss, d.email, d.photo,";
|
||||
$sql.= " t.libelle as type,";
|
||||
$sql.= " p.libelle as pays";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."adherent_type as t, ".MAIN_DB_PREFIX."adherent as d";
|
||||
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."c_pays as p ON d.pays = p.rowid";
|
||||
$sql.= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 AND datefin >= now()";
|
||||
$sql.= " ORDER BY d.rowid ASC";
|
||||
|
||||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
$i = 0;
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $db->fetch_object($result);
|
||||
// imprime le texte specifique sur la carte
|
||||
$pdf->Add_PDF_card(sprintf("%s\n%s\n%s %s\n%s", ucfirst(strtolower($objp->prenom))." ".strtoupper($objp->nom), ucwords(strtolower($objp->adresse)), $objp->cp, strtoupper($objp->ville), ucfirst(strtolower($objp->pays))),'','');
|
||||
$i++;
|
||||
}
|
||||
|
||||
$db->close();
|
||||
$pdf->Output();
|
||||
}
|
||||
else
|
||||
{
|
||||
dolibarr_print_error($db);
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,2 +1,2 @@
|
||||
conf.php*.sav
|
||||
*.php
|
||||
conf.php*.sav
|
||||
*.php
|
||||
|
||||
@@ -1 +1 @@
|
||||
jpgraph2
|
||||
jpgraph2
|
||||
|
||||
@@ -1,177 +1,177 @@
|
||||
<!--
|
||||
* FCKeditor - The text editor for internet
|
||||
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
||||
*
|
||||
* Licensed under the terms of the GNU Lesser General Public License:
|
||||
* http://www.opensource.org/licenses/lgpl-license.php
|
||||
*
|
||||
* For further information visit:
|
||||
* http://www.fckeditor.net/
|
||||
*
|
||||
* "Support Open Source software. What about a donation today?"
|
||||
*
|
||||
* File Name: test.html
|
||||
* Test page for the File Browser connectors.
|
||||
*
|
||||
* File Authors:
|
||||
* Frederico Caldeira Knabben (fredck@fckeditor.net)
|
||||
-->
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>FCKeditor - Connectors Tests</title>
|
||||
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
|
||||
<script type="text/javascript">
|
||||
|
||||
function BuildBaseUrl( command )
|
||||
{
|
||||
var sUrl =
|
||||
document.getElementById('cmbConnector').value +
|
||||
'?Command=' + command +
|
||||
'&Type=' + document.getElementById('cmbType').value +
|
||||
'&CurrentFolder=' + document.getElementById('txtFolder').value ;
|
||||
|
||||
return sUrl ;
|
||||
}
|
||||
|
||||
function SetFrameUrl( url )
|
||||
{
|
||||
if ( document.all )
|
||||
eRunningFrame.document.location = url ;
|
||||
else
|
||||
document.getElementById('eRunningFrame').src = url ;
|
||||
|
||||
document.getElementById('eUrl').innerHTML = url ;
|
||||
}
|
||||
|
||||
function GetFolders()
|
||||
{
|
||||
SetFrameUrl( BuildBaseUrl( 'GetFolders' ) ) ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
function GetFoldersAndFiles()
|
||||
{
|
||||
SetFrameUrl( BuildBaseUrl( 'GetFoldersAndFiles' ) ) ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
function CreateFolder()
|
||||
{
|
||||
var sFolder = prompt( 'Type the folder name:', 'Test Folder' ) ;
|
||||
|
||||
if ( ! sFolder )
|
||||
return ;
|
||||
|
||||
var sUrl = BuildBaseUrl( 'CreateFolder' ) ;
|
||||
sUrl += '&NewFolderName=' + escape( sFolder ) ;
|
||||
|
||||
SetFrameUrl( sUrl ) ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
function OnUploadCompleted( errorNumber, fileName )
|
||||
{
|
||||
switch ( errorNumber )
|
||||
{
|
||||
case 0 :
|
||||
alert( 'File uploaded with no errors' ) ;
|
||||
break ;
|
||||
case 201 :
|
||||
GetFoldersAndFiles()
|
||||
alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ;
|
||||
break ;
|
||||
case 202 :
|
||||
alert( 'Invalid file' ) ;
|
||||
break ;
|
||||
default :
|
||||
alert( 'Error on file upload. Error number: ' + errorNumber ) ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
|
||||
this.frames.frmUpload = this ;
|
||||
|
||||
function SetAction()
|
||||
{
|
||||
var sUrl = BuildBaseUrl( 'FileUpload' ) ;
|
||||
document.getElementById('eUrl').innerHTML = sUrl ;
|
||||
document.getElementById('frmUpload').action = sUrl ;
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
Connector:<br />
|
||||
<select id="cmbConnector" name="cmbConnector">
|
||||
<option value="asp/connector.asp" selected="selected">ASP</option>
|
||||
<option value="aspx/connector.aspx">ASP.Net</option>
|
||||
<option value="cfm/connector.cfm">ColdFusion</option>
|
||||
<option value="lasso/connector.lasso">Lasso</option>
|
||||
<option value="perl/connector.cgi">Perl</option>
|
||||
<option value="php/connector.php">PHP</option>
|
||||
<option value="py/connector.py">Python</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
Current Folder<br />
|
||||
<input id="txtFolder" type="text" value="/" name="txtFolder" /></td>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
Resource Type<br />
|
||||
<select id="cmbType" name="cmbType">
|
||||
<option value="File" selected="selected">File</option>
|
||||
<option value="Image">Image</option>
|
||||
<option value="Flash">Flash</option>
|
||||
<option value="Media">Media</option>
|
||||
<option value="Invalid">Invalid Type (for testing)</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<a href="#" onclick="GetFolders();">Get Folders</a></td>
|
||||
<td>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<a href="#" onclick="GetFoldersAndFiles();">Get Folders and Files</a></td>
|
||||
<td>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<a href="#" onclick="CreateFolder();">Create Folder</a></td>
|
||||
<td>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<form id="frmUpload" action="" target="eRunningFrame" method="post" enctype="multipart/form-data">
|
||||
File Upload<br />
|
||||
<input id="txtFileUpload" type="file" name="NewFile" />
|
||||
<input type="submit" value="Upload" onclick="SetAction();" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
URL: <span id="eUrl"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="100%" valign="top">
|
||||
<iframe id="eRunningFrame" src="../../../../fckblank.html" name="eRunningFrame" width="100%"
|
||||
height="100%"></iframe>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
<!--
|
||||
* FCKeditor - The text editor for internet
|
||||
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
||||
*
|
||||
* Licensed under the terms of the GNU Lesser General Public License:
|
||||
* http://www.opensource.org/licenses/lgpl-license.php
|
||||
*
|
||||
* For further information visit:
|
||||
* http://www.fckeditor.net/
|
||||
*
|
||||
* "Support Open Source software. What about a donation today?"
|
||||
*
|
||||
* File Name: test.html
|
||||
* Test page for the File Browser connectors.
|
||||
*
|
||||
* File Authors:
|
||||
* Frederico Caldeira Knabben (fredck@fckeditor.net)
|
||||
-->
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>FCKeditor - Connectors Tests</title>
|
||||
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
|
||||
<script type="text/javascript">
|
||||
|
||||
function BuildBaseUrl( command )
|
||||
{
|
||||
var sUrl =
|
||||
document.getElementById('cmbConnector').value +
|
||||
'?Command=' + command +
|
||||
'&Type=' + document.getElementById('cmbType').value +
|
||||
'&CurrentFolder=' + document.getElementById('txtFolder').value ;
|
||||
|
||||
return sUrl ;
|
||||
}
|
||||
|
||||
function SetFrameUrl( url )
|
||||
{
|
||||
if ( document.all )
|
||||
eRunningFrame.document.location = url ;
|
||||
else
|
||||
document.getElementById('eRunningFrame').src = url ;
|
||||
|
||||
document.getElementById('eUrl').innerHTML = url ;
|
||||
}
|
||||
|
||||
function GetFolders()
|
||||
{
|
||||
SetFrameUrl( BuildBaseUrl( 'GetFolders' ) ) ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
function GetFoldersAndFiles()
|
||||
{
|
||||
SetFrameUrl( BuildBaseUrl( 'GetFoldersAndFiles' ) ) ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
function CreateFolder()
|
||||
{
|
||||
var sFolder = prompt( 'Type the folder name:', 'Test Folder' ) ;
|
||||
|
||||
if ( ! sFolder )
|
||||
return ;
|
||||
|
||||
var sUrl = BuildBaseUrl( 'CreateFolder' ) ;
|
||||
sUrl += '&NewFolderName=' + escape( sFolder ) ;
|
||||
|
||||
SetFrameUrl( sUrl ) ;
|
||||
return false ;
|
||||
}
|
||||
|
||||
function OnUploadCompleted( errorNumber, fileName )
|
||||
{
|
||||
switch ( errorNumber )
|
||||
{
|
||||
case 0 :
|
||||
alert( 'File uploaded with no errors' ) ;
|
||||
break ;
|
||||
case 201 :
|
||||
GetFoldersAndFiles()
|
||||
alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ;
|
||||
break ;
|
||||
case 202 :
|
||||
alert( 'Invalid file' ) ;
|
||||
break ;
|
||||
default :
|
||||
alert( 'Error on file upload. Error number: ' + errorNumber ) ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
|
||||
this.frames.frmUpload = this ;
|
||||
|
||||
function SetAction()
|
||||
{
|
||||
var sUrl = BuildBaseUrl( 'FileUpload' ) ;
|
||||
document.getElementById('eUrl').innerHTML = sUrl ;
|
||||
document.getElementById('frmUpload').action = sUrl ;
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
Connector:<br />
|
||||
<select id="cmbConnector" name="cmbConnector">
|
||||
<option value="asp/connector.asp" selected="selected">ASP</option>
|
||||
<option value="aspx/connector.aspx">ASP.Net</option>
|
||||
<option value="cfm/connector.cfm">ColdFusion</option>
|
||||
<option value="lasso/connector.lasso">Lasso</option>
|
||||
<option value="perl/connector.cgi">Perl</option>
|
||||
<option value="php/connector.php">PHP</option>
|
||||
<option value="py/connector.py">Python</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
Current Folder<br />
|
||||
<input id="txtFolder" type="text" value="/" name="txtFolder" /></td>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
Resource Type<br />
|
||||
<select id="cmbType" name="cmbType">
|
||||
<option value="File" selected="selected">File</option>
|
||||
<option value="Image">Image</option>
|
||||
<option value="Flash">Flash</option>
|
||||
<option value="Media">Media</option>
|
||||
<option value="Invalid">Invalid Type (for testing)</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<a href="#" onclick="GetFolders();">Get Folders</a></td>
|
||||
<td>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<a href="#" onclick="GetFoldersAndFiles();">Get Folders and Files</a></td>
|
||||
<td>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<a href="#" onclick="CreateFolder();">Create Folder</a></td>
|
||||
<td>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<form id="frmUpload" action="" target="eRunningFrame" method="post" enctype="multipart/form-data">
|
||||
File Upload<br />
|
||||
<input id="txtFileUpload" type="file" name="NewFile" />
|
||||
<input type="submit" value="Upload" onclick="SetAction();" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
URL: <span id="eUrl"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="100%" valign="top">
|
||||
<iframe id="eRunningFrame" src="../../../../fckblank.html" name="eRunningFrame" width="100%"
|
||||
height="100%"></iframe>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
define('FPDF_FONTPATH','font/');
|
||||
require('code39.php');
|
||||
|
||||
$pdf=new PDF_Code39();
|
||||
$pdf->AddPage();
|
||||
$pdf->Code39(60, 30, 'Code 39');
|
||||
$pdf->Output();
|
||||
?>
|
||||
<?php
|
||||
define('FPDF_FONTPATH','font/');
|
||||
require('code39.php');
|
||||
|
||||
$pdf=new PDF_Code39();
|
||||
$pdf->AddPage();
|
||||
$pdf->Code39(60, 30, 'Code 39');
|
||||
$pdf->Output();
|
||||
?>
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
||||
<TITLE>Extended Code 39 barcodes</TITLE>
|
||||
<STYLE>
|
||||
BODY {font-family:"Times New Roman",serif}
|
||||
H2 {color:#4000A0}
|
||||
.st {font-weight:bold; color:#900000}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H2>Extended Code 39 barcodes</H2>
|
||||
<H4 CLASS="st">Informations</H4>Author: <A HREF="mailto:ehavet@yahoo.fr?subject=Extended%20Code%2039%20barcodes">Emmanuel Havet</A><BR>License: Freeware
|
||||
<H4 CLASS="st">Description</H4>This script supports both standard and extended Code 39 barcodes. The extended mode gives access
|
||||
to the full ASCII range (from 0 to 127). The script also gives the possibility to add a checksum.<BR>
|
||||
<BR>
|
||||
<TT>Code39(<B>float</B> x, <B>float</B> y, <B>string</B> code [, <B>boolean</B> ext [, <B>boolean</B> cks [, <B>float</B> w [, <B>float</B> h [, <B>boolean</B> wide]]]]])</TT><BR>
|
||||
<BR>
|
||||
<TT><U>x</U></TT>: abscissa<BR>
|
||||
<TT><U>y</U></TT>: ordinate<BR>
|
||||
<TT><U>code</U></TT>: barcode value<BR>
|
||||
<TT><U>ext</U></TT>: indicates if extended mode must be used (<TT>true</TT> by default)<BR>
|
||||
<TT><U>cks</U></TT>: indicates if a checksum must be appended (<TT>false</TT> by default)<BR>
|
||||
<TT><U>w</U></TT>: width of a narrow bar (<TT>0.4</TT> by default)<BR>
|
||||
<TT><U>h</U></TT>: height of bars (<TT>20</TT> by default)<BR>
|
||||
<TT><U>wide</U></TT>: indicates if ratio between wide and narrow bars is high; if yes, ratio is 3, if no, it's 2 (<TT>true</TT> by default)
|
||||
</BODY>
|
||||
</HTML>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
||||
<TITLE>Extended Code 39 barcodes</TITLE>
|
||||
<STYLE>
|
||||
BODY {font-family:"Times New Roman",serif}
|
||||
H2 {color:#4000A0}
|
||||
.st {font-weight:bold; color:#900000}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H2>Extended Code 39 barcodes</H2>
|
||||
<H4 CLASS="st">Informations</H4>Author: <A HREF="mailto:ehavet@yahoo.fr?subject=Extended%20Code%2039%20barcodes">Emmanuel Havet</A><BR>License: Freeware
|
||||
<H4 CLASS="st">Description</H4>This script supports both standard and extended Code 39 barcodes. The extended mode gives access
|
||||
to the full ASCII range (from 0 to 127). The script also gives the possibility to add a checksum.<BR>
|
||||
<BR>
|
||||
<TT>Code39(<B>float</B> x, <B>float</B> y, <B>string</B> code [, <B>boolean</B> ext [, <B>boolean</B> cks [, <B>float</B> w [, <B>float</B> h [, <B>boolean</B> wide]]]]])</TT><BR>
|
||||
<BR>
|
||||
<TT><U>x</U></TT>: abscissa<BR>
|
||||
<TT><U>y</U></TT>: ordinate<BR>
|
||||
<TT><U>code</U></TT>: barcode value<BR>
|
||||
<TT><U>ext</U></TT>: indicates if extended mode must be used (<TT>true</TT> by default)<BR>
|
||||
<TT><U>cks</U></TT>: indicates if a checksum must be appended (<TT>false</TT> by default)<BR>
|
||||
<TT><U>w</U></TT>: width of a narrow bar (<TT>0.4</TT> by default)<BR>
|
||||
<TT><U>h</U></TT>: height of bars (<TT>20</TT> by default)<BR>
|
||||
<TT><U>wide</U></TT>: indicates if ratio between wide and narrow bars is high; if yes, ratio is 3, if no, it's 2 (<TT>true</TT> by default)
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -1,302 +1,302 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
||||
<TITLE>FAQ</TITLE>
|
||||
<LINK TYPE="text/css" REL="stylesheet" HREF="fpdf.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H2>FAQ</H2>
|
||||
<UL STYLE="list-style-type:none; margin-left:0; padding-left:0; margin-bottom:2.2em">
|
||||
<LI><B>1.</B> <A HREF='#1'>Quelle est exactement la licence de FPDF ? Y a-t-il des restrictions d'utilisation ?</A>
|
||||
<LI><B>2.</B> <A HREF='#2'>Lorsque j'essaie de cr<63>er un PDF, plein de caract<63>res bizarres s'affichent <20> l'<27>cran.</A>
|
||||
<LI><B>3.</B> <A HREF='#3'>J'essaie de g<>n<EFBFBD>rer un PDF et IE m'affiche une page blanche. Que se passe-t-il ?</A>
|
||||
<LI><B>4.</B> <A HREF='#4'>J'envoie des param<61>tres en utilisant la m<>thode POST et les valeurs n'apparaissent pas dans le PDF.</A>
|
||||
<LI><B>5.</B> <A HREF='#5'>Lorsque j'utilise une session PHP, IE n'affiche plus mon PDF mais propose de le t<>l<EFBFBD>charger.</A>
|
||||
<LI><B>6.</B> <A HREF='#6'>Quand je suis en SSL, IE n'arrive pas <20> ouvrir le PDF.</A>
|
||||
<LI><B>7.</B> <A HREF='#7'>Quand j'ex<65>cute un script j'obtiens le message "FPDF error: Don't alter the locale before including class file".</A>
|
||||
<LI><B>8.</B> <A HREF='#8'>J'essaie de mettre un PNG et Acrobat me dit "Une erreur est survenue lors du traitement d'une page. Une erreur d'affichage est survenue".</A>
|
||||
<LI><B>9.</B> <A HREF='#9'>J'ai l'erreur suivante quand j'essaie de g<>n<EFBFBD>rer un PDF : Warning: Cannot add header information - headers already sent by (output started at script.php:X)</A>
|
||||
<LI><B>10.</B> <A HREF='#10'>J'essaie d'afficher une variable dans la m<>thode Header mais rien ne s'imprime.</A>
|
||||
<LI><B>11.</B> <A HREF='#11'>J'ai d<>fini les m<>thodes Header et Footer dans ma classe PDF mais rien ne s'affiche.</A>
|
||||
<LI><B>12.</B> <A HREF='#12'>Je n'arrive pas <20> faire de retour <20> la ligne. J'ai bien mis \n dans la cha<68>ne imprim<69>e par MultiCell mais <20>a ne marche pas.</A>
|
||||
<LI><B>13.</B> <A HREF='#13'>J'essaie de mettre le caract<63>re euro mais je n'y arrive pas.</A>
|
||||
<LI><B>14.</B> <A HREF='#14'>Je dessine un cadre avec des dimensions tr<74>s pr<70>cises, mais <20> l'impression je constate des <20>carts.</A>
|
||||
<LI><B>15.</B> <A HREF='#15'>Je voudrais utiliser toute la surface de la page mais <20> l'impression j'ai toujours des marges. Comment les enlever ?</A>
|
||||
<LI><B>16.</B> <A HREF='#16'>Quelle est la taille limite des fichiers que je peux g<>n<EFBFBD>rer avec FPDF ?</A>
|
||||
<LI><B>17.</B> <A HREF='#17'>Est-ce que je peux modifier un PDF avec FPDF ?</A>
|
||||
<LI><B>18.</B> <A HREF='#18'>Je voudrais faire un moteur de recherche en PHP et indexer des PDF. Est-ce que je peux le faire avec FPDF ?</A>
|
||||
<LI><B>19.</B> <A HREF='#19'>Est-ce que je peux transformer une page HTML en PDF avec FPDF ?</A>
|
||||
<LI><B>20.</B> <A HREF='#20'>Est-ce que je peux concat<61>ner des PDF avec FPDF ?</A>
|
||||
</UL>
|
||||
<P><A NAME='1'><B>1.</B></A> <SPAN CLASS='st'>Quelle est exactement la licence de FPDF ? Y a-t-il des restrictions d'utilisation ?</SPAN></P>
|
||||
FPDF est Freeware (c'est indiqu<71> au d<>but du fichier source). Il n'y a pas de restriction
|
||||
d'usage. Vous pouvez l'incorporer librement dans votre application (commerciale ou non), avec
|
||||
ou sans modification. Vous pouvez <20>galement le redistribuer.
|
||||
<P><A NAME='2'><B>2.</B></A> <SPAN CLASS='st'>Lorsque j'essaie de cr<63>er un PDF, plein de caract<63>res bizarres s'affichent <20> l'<27>cran.</SPAN></P>
|
||||
Ces caract<63>res "bizarres" sont en fait le contenu r<>el du PDF. Ce comportement est un bug d'IE.
|
||||
Lorsqu'il re<72>oit d'abord une page HTML, puis un PDF <20> partir de la m<>me URL, il l'affiche
|
||||
directement sans lancer le plug-in Acrobat. Cela arrive fr<66>quemment en cours de d<>veloppement :
|
||||
<EFBFBD> la moindre erreur de script, une page HTML est envoy<6F>e, et apr<70>s correction, le PDF arrive.
|
||||
<BR>
|
||||
Pour r<>soudre le probl<62>me, il suffit de fermer IE et de le relancer. On peut aussi aller sur
|
||||
une autre URL et revenir.
|
||||
<BR>
|
||||
Pour <20>viter ce genre de d<>sagr<67>ment durant le d<>veloppement, on peut g<>n<EFBFBD>rer le PDF directement
|
||||
dans un fichier et l'ouvrir via l'explorateur.
|
||||
<P><A NAME='3'><B>3.</B></A> <SPAN CLASS='st'>J'essaie de g<>n<EFBFBD>rer un PDF et IE m'affiche une page blanche. Que se passe-t-il ?</SPAN></P>
|
||||
Tout d'abord, v<>rifiez que vous n'envoyez rien au navigateur apr<70>s le PDF (m<>me pas un espace
|
||||
ou un retour-chariot). Vous pouvez mettre un exit juste apr<70>s l'appel <20> la m<>thode Output()
|
||||
pour en <20>tre s<>r.
|
||||
<BR>
|
||||
Si ce n'est pas <20>a, c'est que vous <20>tes victime du syndrome de la "page blanche". IE utilis<69>
|
||||
en conjonction avec le plug-in Acrobat souffre de tr<74>s nombreux bugs, quelles que soient les
|
||||
versions. Essayez de tester votre application avec le plus de versions d'IE possible (en tout cas
|
||||
si elle est sur Internet). Le probl<62>me survient surtout lorsqu'on utilise la m<>thode POST, c'est
|
||||
pourquoi il est fortement d<>conseill<6C> de l'utiliser (d'autant qu'elle pose d'autres probl<62>mes,
|
||||
voir la question suivante). Le GET marche mieux mais peut <20>chouer lorsque l'URL devient trop
|
||||
longue : il ne faut pas d<>passer 45 caract<63>res pour la query string. Il existe cependant une
|
||||
astuce pour d<>passer cette limite : terminer l'URL par .pdf, ce qui trompe IE. Si vous utilisez
|
||||
un formulaire, il suffit de rajouter un champ cach<63> en derni<6E>re position :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
<INPUT TYPE="HIDDEN" NAME="ext" VALUE=".pdf">
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
L'utilisation de session PHP cause <20>galement souvent des dysfonctionnements (il faut <20>viter
|
||||
d'envoyer des en-t<>tes HTTP emp<6D>chant la mise en cache). Voir la question 5 pour un moyen
|
||||
de r<>soudre le probl<62>me.
|
||||
<BR>
|
||||
<BR>
|
||||
Pour <20>viter tous ces probl<62>mes de mani<6E>re fiable, il existe deux principales techniques :
|
||||
<BR>
|
||||
<BR>
|
||||
- D<>sactiver le plug-in et utiliser Acrobat comme application externe. Pour cela, lancez
|
||||
Acrobat ; dans le menu Fichier, Pr<50>f<EFBFBD>rences, G<>n<EFBFBD>rales, d<>sactivez l'option "Int<6E>grer au
|
||||
navigateur Web" (pour Acrobat 5 : Edition, Pr<50>f<EFBFBD>rences, Options, "Afficher dans le navigateur").
|
||||
Puis, lorsque vous r<>cup<75>rez un PDF dans IE, ce dernier affiche la bo<62>te "Ouvrir ce fichier" ou
|
||||
"Enregistrer ce fichier". D<>cochez la case "Toujours demander avant d'ouvrir ce type de fichier"
|
||||
et choisissez Ouvrir. Dor<6F>navant les PDF s'ouvriront automatiquement dans une fen<65>tre Acrobat
|
||||
ind<EFBFBD>pendante.
|
||||
<BR>
|
||||
L'inconv<6E>nient de la m<>thode est qu'il faut toucher <20> la configuration du poste client, ce
|
||||
qu'on peut faire en intranet mais pas pour Internet.
|
||||
<BR>
|
||||
<BR>
|
||||
- Utiliser une technique de redirection. Le principe consiste <20> g<>n<EFBFBD>rer le PDF dans un fichier
|
||||
temporaire sur le serveur et <20> rediriger le client dessus (en utilisant du JavaScript, pas
|
||||
l'en-t<>te HTTP Location qui pose aussi des probl<62>mes). Par exemple, <20> la fin du script, on
|
||||
peut mettre :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
//Détermination d'un nom de fichier temporaire dans le répertoire courant<BR>
|
||||
$file=basename(tempnam(getcwd(),'tmp'));<BR>
|
||||
//Sauvegarde du PDF dans le fichier<BR>
|
||||
$pdf->Output($file);<BR>
|
||||
//Redirection JavaScript<BR>
|
||||
echo "<HTML><SCRIPT>document.location='getpdf.php?f=$file';</SCRIPT></HTML>";
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Puis ceci dans getpdf.php :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
<?php<BR>
|
||||
$f=$HTTP_GET_VARS['f'];<BR>
|
||||
//Contrôle du fichier (à ne pas oublier !)<BR>
|
||||
if(substr($f,0,3)!='tmp' or strpos($f,'/') or strpos($f,'\\'))<BR>
|
||||
die("Nom de fichier incorrect");<BR>
|
||||
if(!file_exists($f))<BR>
|
||||
die("Le fichier n'existe pas");<BR>
|
||||
//Traitement de la requête spéciale IE au cas où<BR>
|
||||
if($HTTP_SERVER_VARS['HTTP_USER_AGENT']=='contype')<BR>
|
||||
{<BR>
|
||||
Header('Content-Type: application/pdf');<BR>
|
||||
exit;<BR>
|
||||
}<BR>
|
||||
//Envoi du PDF<BR>
|
||||
Header('Content-Type: application/pdf');<BR>
|
||||
Header('Content-Length: '.filesize($f));<BR>
|
||||
readfile($f);<BR>
|
||||
//Suppression du fichier<BR>
|
||||
unlink($f);<BR>
|
||||
exit;<BR>
|
||||
?>
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Cette m<>thode fonctionne dans la plupart des cas, mais pose encore des probl<62>mes avec IE6. La
|
||||
m<EFBFBD>thode "ultime" consiste <20> rediriger directement sur le fichier temporaire. Ce dernier doit
|
||||
donc avoir l'extension .pdf :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
//Détermination d'un nom de fichier temporaire dans le répertoire courant<BR>
|
||||
$file=basename(tempnam(getcwd(),'tmp'));<BR>
|
||||
rename($file,$file.'.pdf');<BR>
|
||||
$file.='.pdf';<BR>
|
||||
//Sauvegarde du PDF dans le fichier<BR>
|
||||
$pdf->Output($file);<BR>
|
||||
//Redirection JavaScript<BR>
|
||||
echo "<HTML><SCRIPT>document.location='$file';</SCRIPT></HTML>";
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Cette m<>thode transforme un PDF dynamique en PDF statique et <20>vite ainsi tous les ennuis.
|
||||
Par contre, il faut pr<70>voir une proc<6F>dure de nettoyage pour effacer les fichiers temporaires.
|
||||
Par exemple :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
function CleanFiles($dir)<BR>
|
||||
{<BR>
|
||||
//Efface les fichiers temporaires<BR>
|
||||
$t=time();<BR>
|
||||
$h=opendir($dir);<BR>
|
||||
while($file=readdir($h))<BR>
|
||||
{<BR>
|
||||
if(substr($file,0,3)=='tmp' and substr($file,-4)=='.pdf')<BR>
|
||||
{<BR>
|
||||
$path=$dir.'/'.$file;<BR>
|
||||
if($t-filemtime($path)>3600)<BR>
|
||||
@unlink($path);<BR>
|
||||
}<BR>
|
||||
}<BR>
|
||||
closedir($h);<BR>
|
||||
}
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Cette fonction efface tous les fichiers de la forme tmp*.pdf dans le r<>pertoire sp<73>cifi<66> qui
|
||||
datent de plus d'une heure. Vous pouvez l'appeler o<> vous voulez, par exemple dans le script
|
||||
qui g<>n<EFBFBD>re le PDF.
|
||||
<BR>
|
||||
<BR>
|
||||
Remarque : il est n<>cessaire d'ouvrir une nouvelle fen<65>tre pour le PDF, car on ne peut plus
|
||||
revenir en arri<72>re <20> cause de la redirection.
|
||||
<P><A NAME='4'><B>4.</B></A> <SPAN CLASS='st'>J'envoie des param<61>tres en utilisant la m<>thode POST et les valeurs n'apparaissent pas dans le PDF.</SPAN></P>
|
||||
C'est un probl<62>me qui affecte certaines versions d'IE (en particulier la premi<6D>re 5.5). Voir la
|
||||
question pr<70>c<EFBFBD>dente pour les moyens de le contourner.
|
||||
<P><A NAME='5'><B>5.</B></A> <SPAN CLASS='st'>Lorsque j'utilise une session PHP, IE n'affiche plus mon PDF mais propose de le t<>l<EFBFBD>charger.</SPAN></P>
|
||||
C'est un probl<62>me qui affecte certaines versions d'IE. Pour le contourner, ajoutez la ligne
|
||||
suivante avant session_start() :<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
session_cache_limiter('private');
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
ou bien faites une redirection comme expliqu<71> <20> la question 3.
|
||||
<P><A NAME='6'><B>6.</B></A> <SPAN CLASS='st'>Quand je suis en SSL, IE n'arrive pas <20> ouvrir le PDF.</SPAN></P>
|
||||
Le probl<62>me peut <20>tre r<>solu en ajoutant cette ligne :<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
Header('Pragma: public');
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
|
||||
<P><A NAME='7'><B>7.</B></A> <SPAN CLASS='st'>Quand j'ex<65>cute un script j'obtiens le message "FPDF error: Don't alter the locale before including class file".</SPAN></P>
|
||||
Lorsqu'on configure le s<>parateur d<>cimal comme virgule avant d'inclure un fichier, il y a un
|
||||
<A HREF="http://bugs.php.net/bug.php?id=17105" TARGET="_blank">bug</A> dans certaines versions de PHP et les
|
||||
nombres d<>cimaux sont tronqu<71>s. Il ne faut donc pas faire d'appel <20> setlocale() avant d'inclure la
|
||||
classe. Sous Unix, il ne faut pas non plus d<>finir la variable d'environnement LC_ALL, car cela
|
||||
est <20>quivalent <20> faire un appel <20> setlocale().
|
||||
<P><A NAME='8'><B>8.</B></A> <SPAN CLASS='st'>J'essaie de mettre un PNG et Acrobat me dit "Une erreur est survenue lors du traitement d'une page. Une erreur d'affichage est survenue".</SPAN></P>
|
||||
Acrobat 5 a un bug et ne peut pas afficher les images transparentes monochromes (i.e. avec 1 bit par pixel).
|
||||
Enlevez la transparence ou passez votre image en 16 couleurs (4 bits par pixel) ou plus.
|
||||
<P><A NAME='9'><B>9.</B></A> <SPAN CLASS='st'>J'ai l'erreur suivante quand j'essaie de g<>n<EFBFBD>rer un PDF : Warning: Cannot add header information - headers already sent by (output started at script.php:X)</SPAN></P>
|
||||
Il ne faut rien envoyer d'autre au navigateur que le PDF lui-m<>me : pas d'HTML, pas d'espace, pas
|
||||
de retour-chariot, ni avant ni apr<70>s. Le script envoie quelque chose <20> la ligne X.
|
||||
<P><A NAME='10'><B>10.</B></A> <SPAN CLASS='st'>J'essaie d'afficher une variable dans la m<>thode Header mais rien ne s'imprime.</SPAN></P>
|
||||
Il faut utiliser le mot-cl<63> <TT>global</TT>, par exemple :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
function Header()<BR>
|
||||
{<BR>
|
||||
global $titre;<BR>
|
||||
<BR>
|
||||
$this->SetFont('Arial','B',15);<BR>
|
||||
$this->Cell(0,10,$titre,1,1,'C');<BR>
|
||||
}
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
|
||||
<P><A NAME='11'><B>11.</B></A> <SPAN CLASS='st'>J'ai d<>fini les m<>thodes Header et Footer dans ma classe PDF mais rien ne s'affiche.</SPAN></P>
|
||||
Il faut cr<63>er un objet de la classe PDF et non pas FPDF :<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
$pdf=new PDF();
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
|
||||
<P><A NAME='12'><B>12.</B></A> <SPAN CLASS='st'>Je n'arrive pas <20> faire de retour <20> la ligne. J'ai bien mis \n dans la cha<68>ne imprim<69>e par MultiCell mais <20>a ne marche pas.</SPAN></P>
|
||||
Il faut mettre la cha<68>ne entre guillemets et non pas entre apostrophes.
|
||||
<P><A NAME='13'><B>13.</B></A> <SPAN CLASS='st'>J'essaie de mettre le caract<63>re euro mais je n'y arrive pas.</SPAN></P>
|
||||
Pour les polices standard, le caract<63>re euro a pour code 128. Vous pouvez par commodit<69> d<>finir
|
||||
une constante comme suit :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
define('EURO',chr(128));
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Note : Acrobat 4 ou sup<75>rieur est requis pour afficher l'euro.
|
||||
<P><A NAME='14'><B>14.</B></A> <SPAN CLASS='st'>Je dessine un cadre avec des dimensions tr<74>s pr<70>cises, mais <20> l'impression je constate des <20>carts.</SPAN></P>
|
||||
Pour respecter les dimensions, il faut d<>cocher la case "Ajuster" dans la bo<62>te de dialogue
|
||||
d'impression.
|
||||
<P><A NAME='15'><B>15.</B></A> <SPAN CLASS='st'>Je voudrais utiliser toute la surface de la page mais <20> l'impression j'ai toujours des marges. Comment les enlever ?</SPAN></P>
|
||||
Les imprimantes ont toutes des marges physiques (variables en fonction du mod<6F>le), il est donc
|
||||
impossible de les supprimer et d'imprimer sur la totalit<69> de la page.
|
||||
<P><A NAME='16'><B>16.</B></A> <SPAN CLASS='st'>Quelle est la taille limite des fichiers que je peux g<>n<EFBFBD>rer avec FPDF ?</SPAN></P>
|
||||
Il n'y a pas de limite particuli<6C>re. Il existe cependant certaines contraintes :
|
||||
<BR>
|
||||
<BR>
|
||||
- La taille m<>moire allou<6F>e par d<>faut aux scripts PHP est de 8 Mo. Pour de tr<74>s gros
|
||||
documents, en particulier avec des images, cette limite peut <20>tre atteinte (le fichier <20>tant
|
||||
construit en m<>moire). Elle est param<61>tr<74>e dans php.ini.
|
||||
<BR>
|
||||
<BR>
|
||||
- Le temps d'ex<65>cution allou<6F> par d<>faut est de 30 secondes. Cette limite peut bien entendu
|
||||
<EFBFBD>tre facilement d<>pass<73>e. Elle est param<61>tr<74>e dans php.ini et peut <20>tre <20>ventuellement modifi<66>e
|
||||
<EFBFBD> l'ex<65>cution par set_time_limit().
|
||||
<BR>
|
||||
<BR>
|
||||
- Les navigateurs ont g<>n<EFBFBD>ralement un time-out de 5 minutes. Si vous envoyez le PDF directement
|
||||
au navigateur et que vous d<>passez cette limite, il sera perdu. Il est donc conseill<6C> pour les
|
||||
tr<EFBFBD>s gros documents de les g<>n<EFBFBD>rer dans un fichier, et d'envoyer des donn<6E>es de temps en temps
|
||||
au navigateur (par exemple page 1, page 2... en utilisant flush() pour forcer l'envoi).
|
||||
Lorsque le fichier est termin<69>, vous pouvez effectuer une redirection dessus avec JavaScript
|
||||
ou bien cr<63>er un lien.
|
||||
<BR>
|
||||
Remarque : m<>me lorsque le navigateur part en time-out, il est possible que le script continue
|
||||
<EFBFBD> s'ex<65>cuter sur le serveur.
|
||||
<P><A NAME='17'><B>17.</B></A> <SPAN CLASS='st'>Est-ce que je peux modifier un PDF avec FPDF ?</SPAN></P>
|
||||
Il est possible d'importer un PDF existant gr<67>ce <20> l'extension FPDI :<BR>
|
||||
<BR>
|
||||
<A HREF="http://fpdi.setasign.de" TARGET="_blank">http://fpdi.setasign.de</A>
|
||||
<P><A NAME='18'><B>18.</B></A> <SPAN CLASS='st'>Je voudrais faire un moteur de recherche en PHP et indexer des PDF. Est-ce que je peux le faire avec FPDF ?</SPAN></P>
|
||||
Non. Par contre il existe un utilitaire GPL en C, pdftotext, capable d'extraire le contenu
|
||||
textuel d'un PDF. Il est fourni avec l'archive de Xpdf :<BR>
|
||||
<BR>
|
||||
<A HREF="http://www.foolabs.com/xpdf/" TARGET="_blank">http://www.foolabs.com/xpdf/</A>
|
||||
<P><A NAME='19'><B>19.</B></A> <SPAN CLASS='st'>Est-ce que je peux transformer une page HTML en PDF avec FPDF ?</SPAN></P>
|
||||
Non, on ne peut convertir que de l'HTML tr<74>s simple, pas des pages r<>elles. Par contre il
|
||||
existe un utilitaire GPL en C, htmldoc, qui permet de le faire et donne de bons r<>sultats :<BR>
|
||||
<BR>
|
||||
<A HREF="http://www.htmldoc.org" TARGET="_blank">http://www.htmldoc.org</A>
|
||||
<P><A NAME='20'><B>20.</B></A> <SPAN CLASS='st'>Est-ce que je peux concat<61>ner des PDF avec FPDF ?</SPAN></P>
|
||||
Non. Par contre il existe des utilitaires gratuits pour le faire :<BR>
|
||||
<BR>
|
||||
<A HREF="http://thierry.schmit.free.fr/dev/mbtPdfAsm/mbtPdfAsm2.html" TARGET="_blank">http://thierry.schmit.free.fr/dev/mbtPdfAsm/mbtPdfAsm2.html</A><BR>
|
||||
<A HREF="http://www.accesspdf.com/pdftk/">http://www.accesspdf.com/pdftk/</A>
|
||||
</BODY>
|
||||
</HTML>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
||||
<TITLE>FAQ</TITLE>
|
||||
<LINK TYPE="text/css" REL="stylesheet" HREF="fpdf.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H2>FAQ</H2>
|
||||
<UL STYLE="list-style-type:none; margin-left:0; padding-left:0; margin-bottom:2.2em">
|
||||
<LI><B>1.</B> <A HREF='#1'>Quelle est exactement la licence de FPDF ? Y a-t-il des restrictions d'utilisation ?</A>
|
||||
<LI><B>2.</B> <A HREF='#2'>Lorsque j'essaie de cr<63>er un PDF, plein de caract<63>res bizarres s'affichent <20> l'<27>cran.</A>
|
||||
<LI><B>3.</B> <A HREF='#3'>J'essaie de g<>n<EFBFBD>rer un PDF et IE m'affiche une page blanche. Que se passe-t-il ?</A>
|
||||
<LI><B>4.</B> <A HREF='#4'>J'envoie des param<61>tres en utilisant la m<>thode POST et les valeurs n'apparaissent pas dans le PDF.</A>
|
||||
<LI><B>5.</B> <A HREF='#5'>Lorsque j'utilise une session PHP, IE n'affiche plus mon PDF mais propose de le t<>l<EFBFBD>charger.</A>
|
||||
<LI><B>6.</B> <A HREF='#6'>Quand je suis en SSL, IE n'arrive pas <20> ouvrir le PDF.</A>
|
||||
<LI><B>7.</B> <A HREF='#7'>Quand j'ex<65>cute un script j'obtiens le message "FPDF error: Don't alter the locale before including class file".</A>
|
||||
<LI><B>8.</B> <A HREF='#8'>J'essaie de mettre un PNG et Acrobat me dit "Une erreur est survenue lors du traitement d'une page. Une erreur d'affichage est survenue".</A>
|
||||
<LI><B>9.</B> <A HREF='#9'>J'ai l'erreur suivante quand j'essaie de g<>n<EFBFBD>rer un PDF : Warning: Cannot add header information - headers already sent by (output started at script.php:X)</A>
|
||||
<LI><B>10.</B> <A HREF='#10'>J'essaie d'afficher une variable dans la m<>thode Header mais rien ne s'imprime.</A>
|
||||
<LI><B>11.</B> <A HREF='#11'>J'ai d<>fini les m<>thodes Header et Footer dans ma classe PDF mais rien ne s'affiche.</A>
|
||||
<LI><B>12.</B> <A HREF='#12'>Je n'arrive pas <20> faire de retour <20> la ligne. J'ai bien mis \n dans la cha<68>ne imprim<69>e par MultiCell mais <20>a ne marche pas.</A>
|
||||
<LI><B>13.</B> <A HREF='#13'>J'essaie de mettre le caract<63>re euro mais je n'y arrive pas.</A>
|
||||
<LI><B>14.</B> <A HREF='#14'>Je dessine un cadre avec des dimensions tr<74>s pr<70>cises, mais <20> l'impression je constate des <20>carts.</A>
|
||||
<LI><B>15.</B> <A HREF='#15'>Je voudrais utiliser toute la surface de la page mais <20> l'impression j'ai toujours des marges. Comment les enlever ?</A>
|
||||
<LI><B>16.</B> <A HREF='#16'>Quelle est la taille limite des fichiers que je peux g<>n<EFBFBD>rer avec FPDF ?</A>
|
||||
<LI><B>17.</B> <A HREF='#17'>Est-ce que je peux modifier un PDF avec FPDF ?</A>
|
||||
<LI><B>18.</B> <A HREF='#18'>Je voudrais faire un moteur de recherche en PHP et indexer des PDF. Est-ce que je peux le faire avec FPDF ?</A>
|
||||
<LI><B>19.</B> <A HREF='#19'>Est-ce que je peux transformer une page HTML en PDF avec FPDF ?</A>
|
||||
<LI><B>20.</B> <A HREF='#20'>Est-ce que je peux concat<61>ner des PDF avec FPDF ?</A>
|
||||
</UL>
|
||||
<P><A NAME='1'><B>1.</B></A> <SPAN CLASS='st'>Quelle est exactement la licence de FPDF ? Y a-t-il des restrictions d'utilisation ?</SPAN></P>
|
||||
FPDF est Freeware (c'est indiqu<71> au d<>but du fichier source). Il n'y a pas de restriction
|
||||
d'usage. Vous pouvez l'incorporer librement dans votre application (commerciale ou non), avec
|
||||
ou sans modification. Vous pouvez <20>galement le redistribuer.
|
||||
<P><A NAME='2'><B>2.</B></A> <SPAN CLASS='st'>Lorsque j'essaie de cr<63>er un PDF, plein de caract<63>res bizarres s'affichent <20> l'<27>cran.</SPAN></P>
|
||||
Ces caract<63>res "bizarres" sont en fait le contenu r<>el du PDF. Ce comportement est un bug d'IE.
|
||||
Lorsqu'il re<72>oit d'abord une page HTML, puis un PDF <20> partir de la m<>me URL, il l'affiche
|
||||
directement sans lancer le plug-in Acrobat. Cela arrive fr<66>quemment en cours de d<>veloppement :
|
||||
<EFBFBD> la moindre erreur de script, une page HTML est envoy<6F>e, et apr<70>s correction, le PDF arrive.
|
||||
<BR>
|
||||
Pour r<>soudre le probl<62>me, il suffit de fermer IE et de le relancer. On peut aussi aller sur
|
||||
une autre URL et revenir.
|
||||
<BR>
|
||||
Pour <20>viter ce genre de d<>sagr<67>ment durant le d<>veloppement, on peut g<>n<EFBFBD>rer le PDF directement
|
||||
dans un fichier et l'ouvrir via l'explorateur.
|
||||
<P><A NAME='3'><B>3.</B></A> <SPAN CLASS='st'>J'essaie de g<>n<EFBFBD>rer un PDF et IE m'affiche une page blanche. Que se passe-t-il ?</SPAN></P>
|
||||
Tout d'abord, v<>rifiez que vous n'envoyez rien au navigateur apr<70>s le PDF (m<>me pas un espace
|
||||
ou un retour-chariot). Vous pouvez mettre un exit juste apr<70>s l'appel <20> la m<>thode Output()
|
||||
pour en <20>tre s<>r.
|
||||
<BR>
|
||||
Si ce n'est pas <20>a, c'est que vous <20>tes victime du syndrome de la "page blanche". IE utilis<69>
|
||||
en conjonction avec le plug-in Acrobat souffre de tr<74>s nombreux bugs, quelles que soient les
|
||||
versions. Essayez de tester votre application avec le plus de versions d'IE possible (en tout cas
|
||||
si elle est sur Internet). Le probl<62>me survient surtout lorsqu'on utilise la m<>thode POST, c'est
|
||||
pourquoi il est fortement d<>conseill<6C> de l'utiliser (d'autant qu'elle pose d'autres probl<62>mes,
|
||||
voir la question suivante). Le GET marche mieux mais peut <20>chouer lorsque l'URL devient trop
|
||||
longue : il ne faut pas d<>passer 45 caract<63>res pour la query string. Il existe cependant une
|
||||
astuce pour d<>passer cette limite : terminer l'URL par .pdf, ce qui trompe IE. Si vous utilisez
|
||||
un formulaire, il suffit de rajouter un champ cach<63> en derni<6E>re position :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
<INPUT TYPE="HIDDEN" NAME="ext" VALUE=".pdf">
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
L'utilisation de session PHP cause <20>galement souvent des dysfonctionnements (il faut <20>viter
|
||||
d'envoyer des en-t<>tes HTTP emp<6D>chant la mise en cache). Voir la question 5 pour un moyen
|
||||
de r<>soudre le probl<62>me.
|
||||
<BR>
|
||||
<BR>
|
||||
Pour <20>viter tous ces probl<62>mes de mani<6E>re fiable, il existe deux principales techniques :
|
||||
<BR>
|
||||
<BR>
|
||||
- D<>sactiver le plug-in et utiliser Acrobat comme application externe. Pour cela, lancez
|
||||
Acrobat ; dans le menu Fichier, Pr<50>f<EFBFBD>rences, G<>n<EFBFBD>rales, d<>sactivez l'option "Int<6E>grer au
|
||||
navigateur Web" (pour Acrobat 5 : Edition, Pr<50>f<EFBFBD>rences, Options, "Afficher dans le navigateur").
|
||||
Puis, lorsque vous r<>cup<75>rez un PDF dans IE, ce dernier affiche la bo<62>te "Ouvrir ce fichier" ou
|
||||
"Enregistrer ce fichier". D<>cochez la case "Toujours demander avant d'ouvrir ce type de fichier"
|
||||
et choisissez Ouvrir. Dor<6F>navant les PDF s'ouvriront automatiquement dans une fen<65>tre Acrobat
|
||||
ind<EFBFBD>pendante.
|
||||
<BR>
|
||||
L'inconv<6E>nient de la m<>thode est qu'il faut toucher <20> la configuration du poste client, ce
|
||||
qu'on peut faire en intranet mais pas pour Internet.
|
||||
<BR>
|
||||
<BR>
|
||||
- Utiliser une technique de redirection. Le principe consiste <20> g<>n<EFBFBD>rer le PDF dans un fichier
|
||||
temporaire sur le serveur et <20> rediriger le client dessus (en utilisant du JavaScript, pas
|
||||
l'en-t<>te HTTP Location qui pose aussi des probl<62>mes). Par exemple, <20> la fin du script, on
|
||||
peut mettre :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
//Détermination d'un nom de fichier temporaire dans le répertoire courant<BR>
|
||||
$file=basename(tempnam(getcwd(),'tmp'));<BR>
|
||||
//Sauvegarde du PDF dans le fichier<BR>
|
||||
$pdf->Output($file);<BR>
|
||||
//Redirection JavaScript<BR>
|
||||
echo "<HTML><SCRIPT>document.location='getpdf.php?f=$file';</SCRIPT></HTML>";
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Puis ceci dans getpdf.php :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
<?php<BR>
|
||||
$f=$HTTP_GET_VARS['f'];<BR>
|
||||
//Contrôle du fichier (à ne pas oublier !)<BR>
|
||||
if(substr($f,0,3)!='tmp' or strpos($f,'/') or strpos($f,'\\'))<BR>
|
||||
die("Nom de fichier incorrect");<BR>
|
||||
if(!file_exists($f))<BR>
|
||||
die("Le fichier n'existe pas");<BR>
|
||||
//Traitement de la requête spéciale IE au cas où<BR>
|
||||
if($HTTP_SERVER_VARS['HTTP_USER_AGENT']=='contype')<BR>
|
||||
{<BR>
|
||||
Header('Content-Type: application/pdf');<BR>
|
||||
exit;<BR>
|
||||
}<BR>
|
||||
//Envoi du PDF<BR>
|
||||
Header('Content-Type: application/pdf');<BR>
|
||||
Header('Content-Length: '.filesize($f));<BR>
|
||||
readfile($f);<BR>
|
||||
//Suppression du fichier<BR>
|
||||
unlink($f);<BR>
|
||||
exit;<BR>
|
||||
?>
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Cette m<>thode fonctionne dans la plupart des cas, mais pose encore des probl<62>mes avec IE6. La
|
||||
m<EFBFBD>thode "ultime" consiste <20> rediriger directement sur le fichier temporaire. Ce dernier doit
|
||||
donc avoir l'extension .pdf :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
//Détermination d'un nom de fichier temporaire dans le répertoire courant<BR>
|
||||
$file=basename(tempnam(getcwd(),'tmp'));<BR>
|
||||
rename($file,$file.'.pdf');<BR>
|
||||
$file.='.pdf';<BR>
|
||||
//Sauvegarde du PDF dans le fichier<BR>
|
||||
$pdf->Output($file);<BR>
|
||||
//Redirection JavaScript<BR>
|
||||
echo "<HTML><SCRIPT>document.location='$file';</SCRIPT></HTML>";
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Cette m<>thode transforme un PDF dynamique en PDF statique et <20>vite ainsi tous les ennuis.
|
||||
Par contre, il faut pr<70>voir une proc<6F>dure de nettoyage pour effacer les fichiers temporaires.
|
||||
Par exemple :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
function CleanFiles($dir)<BR>
|
||||
{<BR>
|
||||
//Efface les fichiers temporaires<BR>
|
||||
$t=time();<BR>
|
||||
$h=opendir($dir);<BR>
|
||||
while($file=readdir($h))<BR>
|
||||
{<BR>
|
||||
if(substr($file,0,3)=='tmp' and substr($file,-4)=='.pdf')<BR>
|
||||
{<BR>
|
||||
$path=$dir.'/'.$file;<BR>
|
||||
if($t-filemtime($path)>3600)<BR>
|
||||
@unlink($path);<BR>
|
||||
}<BR>
|
||||
}<BR>
|
||||
closedir($h);<BR>
|
||||
}
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Cette fonction efface tous les fichiers de la forme tmp*.pdf dans le r<>pertoire sp<73>cifi<66> qui
|
||||
datent de plus d'une heure. Vous pouvez l'appeler o<> vous voulez, par exemple dans le script
|
||||
qui g<>n<EFBFBD>re le PDF.
|
||||
<BR>
|
||||
<BR>
|
||||
Remarque : il est n<>cessaire d'ouvrir une nouvelle fen<65>tre pour le PDF, car on ne peut plus
|
||||
revenir en arri<72>re <20> cause de la redirection.
|
||||
<P><A NAME='4'><B>4.</B></A> <SPAN CLASS='st'>J'envoie des param<61>tres en utilisant la m<>thode POST et les valeurs n'apparaissent pas dans le PDF.</SPAN></P>
|
||||
C'est un probl<62>me qui affecte certaines versions d'IE (en particulier la premi<6D>re 5.5). Voir la
|
||||
question pr<70>c<EFBFBD>dente pour les moyens de le contourner.
|
||||
<P><A NAME='5'><B>5.</B></A> <SPAN CLASS='st'>Lorsque j'utilise une session PHP, IE n'affiche plus mon PDF mais propose de le t<>l<EFBFBD>charger.</SPAN></P>
|
||||
C'est un probl<62>me qui affecte certaines versions d'IE. Pour le contourner, ajoutez la ligne
|
||||
suivante avant session_start() :<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
session_cache_limiter('private');
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
ou bien faites une redirection comme expliqu<71> <20> la question 3.
|
||||
<P><A NAME='6'><B>6.</B></A> <SPAN CLASS='st'>Quand je suis en SSL, IE n'arrive pas <20> ouvrir le PDF.</SPAN></P>
|
||||
Le probl<62>me peut <20>tre r<>solu en ajoutant cette ligne :<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
Header('Pragma: public');
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
|
||||
<P><A NAME='7'><B>7.</B></A> <SPAN CLASS='st'>Quand j'ex<65>cute un script j'obtiens le message "FPDF error: Don't alter the locale before including class file".</SPAN></P>
|
||||
Lorsqu'on configure le s<>parateur d<>cimal comme virgule avant d'inclure un fichier, il y a un
|
||||
<A HREF="http://bugs.php.net/bug.php?id=17105" TARGET="_blank">bug</A> dans certaines versions de PHP et les
|
||||
nombres d<>cimaux sont tronqu<71>s. Il ne faut donc pas faire d'appel <20> setlocale() avant d'inclure la
|
||||
classe. Sous Unix, il ne faut pas non plus d<>finir la variable d'environnement LC_ALL, car cela
|
||||
est <20>quivalent <20> faire un appel <20> setlocale().
|
||||
<P><A NAME='8'><B>8.</B></A> <SPAN CLASS='st'>J'essaie de mettre un PNG et Acrobat me dit "Une erreur est survenue lors du traitement d'une page. Une erreur d'affichage est survenue".</SPAN></P>
|
||||
Acrobat 5 a un bug et ne peut pas afficher les images transparentes monochromes (i.e. avec 1 bit par pixel).
|
||||
Enlevez la transparence ou passez votre image en 16 couleurs (4 bits par pixel) ou plus.
|
||||
<P><A NAME='9'><B>9.</B></A> <SPAN CLASS='st'>J'ai l'erreur suivante quand j'essaie de g<>n<EFBFBD>rer un PDF : Warning: Cannot add header information - headers already sent by (output started at script.php:X)</SPAN></P>
|
||||
Il ne faut rien envoyer d'autre au navigateur que le PDF lui-m<>me : pas d'HTML, pas d'espace, pas
|
||||
de retour-chariot, ni avant ni apr<70>s. Le script envoie quelque chose <20> la ligne X.
|
||||
<P><A NAME='10'><B>10.</B></A> <SPAN CLASS='st'>J'essaie d'afficher une variable dans la m<>thode Header mais rien ne s'imprime.</SPAN></P>
|
||||
Il faut utiliser le mot-cl<63> <TT>global</TT>, par exemple :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
function Header()<BR>
|
||||
{<BR>
|
||||
global $titre;<BR>
|
||||
<BR>
|
||||
$this->SetFont('Arial','B',15);<BR>
|
||||
$this->Cell(0,10,$titre,1,1,'C');<BR>
|
||||
}
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
|
||||
<P><A NAME='11'><B>11.</B></A> <SPAN CLASS='st'>J'ai d<>fini les m<>thodes Header et Footer dans ma classe PDF mais rien ne s'affiche.</SPAN></P>
|
||||
Il faut cr<63>er un objet de la classe PDF et non pas FPDF :<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
$pdf=new PDF();
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
|
||||
<P><A NAME='12'><B>12.</B></A> <SPAN CLASS='st'>Je n'arrive pas <20> faire de retour <20> la ligne. J'ai bien mis \n dans la cha<68>ne imprim<69>e par MultiCell mais <20>a ne marche pas.</SPAN></P>
|
||||
Il faut mettre la cha<68>ne entre guillemets et non pas entre apostrophes.
|
||||
<P><A NAME='13'><B>13.</B></A> <SPAN CLASS='st'>J'essaie de mettre le caract<63>re euro mais je n'y arrive pas.</SPAN></P>
|
||||
Pour les polices standard, le caract<63>re euro a pour code 128. Vous pouvez par commodit<69> d<>finir
|
||||
une constante comme suit :
|
||||
<BR>
|
||||
<BR>
|
||||
<TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD>
|
||||
<TT>
|
||||
define('EURO',chr(128));
|
||||
</TT>
|
||||
</TD></TR></TABLE><BR>
|
||||
Note : Acrobat 4 ou sup<75>rieur est requis pour afficher l'euro.
|
||||
<P><A NAME='14'><B>14.</B></A> <SPAN CLASS='st'>Je dessine un cadre avec des dimensions tr<74>s pr<70>cises, mais <20> l'impression je constate des <20>carts.</SPAN></P>
|
||||
Pour respecter les dimensions, il faut d<>cocher la case "Ajuster" dans la bo<62>te de dialogue
|
||||
d'impression.
|
||||
<P><A NAME='15'><B>15.</B></A> <SPAN CLASS='st'>Je voudrais utiliser toute la surface de la page mais <20> l'impression j'ai toujours des marges. Comment les enlever ?</SPAN></P>
|
||||
Les imprimantes ont toutes des marges physiques (variables en fonction du mod<6F>le), il est donc
|
||||
impossible de les supprimer et d'imprimer sur la totalit<69> de la page.
|
||||
<P><A NAME='16'><B>16.</B></A> <SPAN CLASS='st'>Quelle est la taille limite des fichiers que je peux g<>n<EFBFBD>rer avec FPDF ?</SPAN></P>
|
||||
Il n'y a pas de limite particuli<6C>re. Il existe cependant certaines contraintes :
|
||||
<BR>
|
||||
<BR>
|
||||
- La taille m<>moire allou<6F>e par d<>faut aux scripts PHP est de 8 Mo. Pour de tr<74>s gros
|
||||
documents, en particulier avec des images, cette limite peut <20>tre atteinte (le fichier <20>tant
|
||||
construit en m<>moire). Elle est param<61>tr<74>e dans php.ini.
|
||||
<BR>
|
||||
<BR>
|
||||
- Le temps d'ex<65>cution allou<6F> par d<>faut est de 30 secondes. Cette limite peut bien entendu
|
||||
<EFBFBD>tre facilement d<>pass<73>e. Elle est param<61>tr<74>e dans php.ini et peut <20>tre <20>ventuellement modifi<66>e
|
||||
<EFBFBD> l'ex<65>cution par set_time_limit().
|
||||
<BR>
|
||||
<BR>
|
||||
- Les navigateurs ont g<>n<EFBFBD>ralement un time-out de 5 minutes. Si vous envoyez le PDF directement
|
||||
au navigateur et que vous d<>passez cette limite, il sera perdu. Il est donc conseill<6C> pour les
|
||||
tr<EFBFBD>s gros documents de les g<>n<EFBFBD>rer dans un fichier, et d'envoyer des donn<6E>es de temps en temps
|
||||
au navigateur (par exemple page 1, page 2... en utilisant flush() pour forcer l'envoi).
|
||||
Lorsque le fichier est termin<69>, vous pouvez effectuer une redirection dessus avec JavaScript
|
||||
ou bien cr<63>er un lien.
|
||||
<BR>
|
||||
Remarque : m<>me lorsque le navigateur part en time-out, il est possible que le script continue
|
||||
<EFBFBD> s'ex<65>cuter sur le serveur.
|
||||
<P><A NAME='17'><B>17.</B></A> <SPAN CLASS='st'>Est-ce que je peux modifier un PDF avec FPDF ?</SPAN></P>
|
||||
Il est possible d'importer un PDF existant gr<67>ce <20> l'extension FPDI :<BR>
|
||||
<BR>
|
||||
<A HREF="http://fpdi.setasign.de" TARGET="_blank">http://fpdi.setasign.de</A>
|
||||
<P><A NAME='18'><B>18.</B></A> <SPAN CLASS='st'>Je voudrais faire un moteur de recherche en PHP et indexer des PDF. Est-ce que je peux le faire avec FPDF ?</SPAN></P>
|
||||
Non. Par contre il existe un utilitaire GPL en C, pdftotext, capable d'extraire le contenu
|
||||
textuel d'un PDF. Il est fourni avec l'archive de Xpdf :<BR>
|
||||
<BR>
|
||||
<A HREF="http://www.foolabs.com/xpdf/" TARGET="_blank">http://www.foolabs.com/xpdf/</A>
|
||||
<P><A NAME='19'><B>19.</B></A> <SPAN CLASS='st'>Est-ce que je peux transformer une page HTML en PDF avec FPDF ?</SPAN></P>
|
||||
Non, on ne peut convertir que de l'HTML tr<74>s simple, pas des pages r<>elles. Par contre il
|
||||
existe un utilitaire GPL en C, htmldoc, qui permet de le faire et donne de bons r<>sultats :<BR>
|
||||
<BR>
|
||||
<A HREF="http://www.htmldoc.org" TARGET="_blank">http://www.htmldoc.org</A>
|
||||
<P><A NAME='20'><B>20.</B></A> <SPAN CLASS='st'>Est-ce que je peux concat<61>ner des PDF avec FPDF ?</SPAN></P>
|
||||
Non. Par contre il existe des utilitaires gratuits pour le faire :<BR>
|
||||
<BR>
|
||||
<A HREF="http://thierry.schmit.free.fr/dev/mbtPdfAsm/mbtPdfAsm2.html" TARGET="_blank">http://thierry.schmit.free.fr/dev/mbtPdfAsm/mbtPdfAsm2.html</A><BR>
|
||||
<A HREF="http://www.accesspdf.com/pdftk/">http://www.accesspdf.com/pdftk/</A>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
BODY {font-family:times new roman,serif}
|
||||
H2 {color:#4000A0}
|
||||
P.demo {text-align:center; margin-top:-10px}
|
||||
A.demo {text-decoration:none; font-weight:bold; color:#0000CC}
|
||||
A.demo:link {text-decoration:none; font-weight:bold; color:#0000CC}
|
||||
A.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF}
|
||||
A.demo:active {text-decoration:none; font-weight:bold; color:#0000FF}
|
||||
.st {font-weight:bold; color:#900000}
|
||||
.kw {color:#000080; font-weight:bold}
|
||||
.str {color:#CC0000}
|
||||
.cmt {color:#008000}
|
||||
BODY {font-family:times new roman,serif}
|
||||
H2 {color:#4000A0}
|
||||
P.demo {text-align:center; margin-top:-10px}
|
||||
A.demo {text-decoration:none; font-weight:bold; color:#0000CC}
|
||||
A.demo:link {text-decoration:none; font-weight:bold; color:#0000CC}
|
||||
A.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF}
|
||||
A.demo:active {text-decoration:none; font-weight:bold; color:#0000FF}
|
||||
.st {font-weight:bold; color:#900000}
|
||||
.kw {color:#000080; font-weight:bold}
|
||||
.str {color:#CC0000}
|
||||
.cmt {color:#008000}
|
||||
|
||||
@@ -1,111 +1,111 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
||||
<TITLE>Historique</TITLE>
|
||||
<LINK TYPE="text/css" REL="stylesheet" HREF="fpdf.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H2>Historique</H2>
|
||||
<B>v1.53</B> (31/12/2004)
|
||||
<BLOCKQUOTE>
|
||||
- Lorsque le sous-r<>pertoire font se trouve dans le m<>me r<>pertoire que fpdf.php, il n'est maintenant plus n<>cessaire de d<>finir la constante FPDF_FONTPATH.<BR>
|
||||
- Le tableau $HTTP_SERVER_VARS n'est plus utilis<69>. Cela pouvait poser des probl<62>mes avec les configurations PHP 5 ayant d<>sactiv<69> l'option register_long_arrays.<BR>
|
||||
- L'incorporation des polices Type1 posait des probl<62>mes avec certains processeurs de PDF.<BR>
|
||||
- Le nom du PDF envoy<6F> au navigateur ne pouvait pas comporter d'espace.<BR>
|
||||
- La m<>thode Cell() ne pouvait pas imprimer le nombre 0 (seulement la cha<68>ne '0').<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.52</B> (30/12/2003)
|
||||
<BLOCKQUOTE>
|
||||
- Image() affiche maintenant l'image en 72 dpi si aucune dimension n'est indiqu<71>e.<BR>
|
||||
- Output() prend un second param<61>tre cha<68>ne pour indiquer la destination.<BR>
|
||||
- Open() est maintenant appel<65> automatiquement par AddPage().<BR>
|
||||
- L'insertion d'image JPEG distante ne g<>n<EFBFBD>re plus d'erreur.<BR>
|
||||
- Le s<>parateur d<>cimal est forc<72> au point dans le constructeur.<BR>
|
||||
- Ajout de diff<66>rents encodages (turc, tha<68>landais, h<>breu, ukrainien et vietnamien).<BR>
|
||||
- La derni<6E>re ligne d'un MultiCell() cadr<64> <20> droite n'<27>tait pas bien align<67>e si elle se terminait par un retour-chariot.<BR>
|
||||
- Plus de message d'erreur sur les en-t<>tes d<>j<EFBFBD> envoy<6F>s lorsque le PDF est g<>n<EFBFBD>r<EFBFBD> sur la sortie standard en mode ligne de commande.<BR>
|
||||
- Le soulign<67> allait trop loin lorsque le texte comportait les caract<63>res \, ( ou ).<BR>
|
||||
- $HTTP_ENV_VARS a <20>t<EFBFBD> remplac<61> par $HTTP_SERVER_VARS.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.51</B> (03/08/2002)
|
||||
<BLOCKQUOTE>
|
||||
- Support des polices Type1.<BR>
|
||||
- Ajout des encodages pour les pays baltes.<BR>
|
||||
- La classe travaille maintenant en interne en points avec l'origine en bas afin d'<27>viter deux bugs avec Acrobat 5 :<BR> * L'<27>paisseur des traits <20>tait trop importante lors des impressions sous Windows 98 SE et ME.<BR> * Les polices TrueType n'apparaissaient pas imm<6D>diatement dans le plug-in (une police de substitution <20>tait utilis<69>e), il fallait provoquer un rafra<72>chissement de la fen<65>tre pour les voir appara<72>tre.<BR>
|
||||
- La zone cliquable dans une cellule <20>tait toujours positionn<6E>e <20> gauche ind<6E>pendamment de l'alignement du texte.<BR>
|
||||
- Les images JPEG en mode CMYK apparaissaient en couleurs invers<72>es.<BR>
|
||||
- Les images PNG transparentes en niveaux de gris ou couleurs vraies <20>taient incorrectement trait<69>es.<BR>
|
||||
- L'ajout de nouvelles polices fonctionne maintenant correctement m<>me avec l'option magic_quotes_runtime <20> on.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.5</B> (28/05/2002)
|
||||
<BLOCKQUOTE>
|
||||
- Support des polices TrueType (AddFont()) et des encodages (Europe de l'Ouest, de l'Est, cyrillique et grec).<BR>
|
||||
- Ajout de la m<>thode Write().<BR>
|
||||
- Ajout du style soulign<67>.<BR>
|
||||
- Support des liens internes et externes (AddLink(), SetLink(), Link()).<BR>
|
||||
- Gestion de la marge droite et ajout des m<>thodes SetRightMargin() et SetTopMargin().<BR>
|
||||
- Modification de SetDisplayMode() pour s<>lectionner un affichage continu ou en colonnes.<BR>
|
||||
- Le param<61>tre border de MultiCell() permet de choisir les bords <20> tracer comme Cell().<BR>
|
||||
- Lorsqu'un document ne contient aucune page, Close() appelle maintenant AddPage() au lieu de provoquer une erreur fatale.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.41</B> (13/03/2002)
|
||||
<BLOCKQUOTE>
|
||||
- Correction de SetDisplayMode() qui ne fonctionnait plus (le visualiseur PDF utilisait l'affichage par d<>faut).<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.4</B> (02/03/2002)
|
||||
<BLOCKQUOTE>
|
||||
- PHP3 n'est plus support<72>.<BR>
|
||||
- Compression des pages (SetCompression()).<BR>
|
||||
- Choix du format des pages et possibilit<69> de changer l'orientation en cours de document.<BR>
|
||||
- Ajout de la m<>thode AcceptPageBreak().<BR>
|
||||
- Ajout de la m<>thode SetLeftMargin().<BR>
|
||||
- Possibilit<69> d'imprimer le nombre total de pages (AliasNbPages()).<BR>
|
||||
- Choix des bords des cellules <20> tracer.<BR>
|
||||
- Nouveau mode pour la m<>thode Cell() : la position courante se d<>place sous la cellule.<BR>
|
||||
- Possibilit<69> d'inclure une image en n'indiquant que la hauteur (la largeur est d<>termin<69>e automatiquement).<BR>
|
||||
- Correction d'un bug : lorsqu'une ligne justifi<66>e provoquait un saut de page, le pied de page h<>ritait de l'espacement inter-mot correspondant.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.31</B> (12/01/2002)
|
||||
<BLOCKQUOTE>
|
||||
- Correction d'un bug dans le trac<61> du cadre avec MultiCell() : la derni<6E>re ligne partait toujours de la marge gauche.<BR>
|
||||
- Suppression de l'en-t<>te HTTP Expires (pose des probl<62>mes dans certains cas).<BR>
|
||||
- Ajout de l'en-t<>te HTTP Content-disposition (semble aider dans certains cas).<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.3</B> (03/12/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Gestion des sauts de ligne avec justification du texte (MultiCell()).<BR>
|
||||
- Ajout du support de la couleur (SetDrawColor(), SetFillColor(), SetTextColor()). Possibilit<69> de dessiner des rectangles pleins et de colorer le fond des cellules.<BR>
|
||||
- Une cellule dont la largeur est d<>clar<61>e nulle s'<27>tend jusqu'<27> la marge droite de la page.<BR>
|
||||
- L'<27>paisseur des traits est maintenant conserv<72>e de page en page et vaut 0,2 mm par d<>faut.<BR>
|
||||
- Ajout de la m<>thode SetXY().<BR>
|
||||
- Correction d'un passage par r<>f<EFBFBD>rence effectu<74> d'une mani<6E>re obsol<6F>te en PHP4.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.2</B> (11/11/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Ajout des fichiers de m<>trique des polices et de la m<>thode GetStringWidth().<BR>
|
||||
- Possibilit<69> de centrer et d'aligner <20> droite le texte dans les cellules.<BR>
|
||||
- R<>glage du mode d'affichage (SetDisplayMode()).<BR>
|
||||
- Ajout des m<>thodes de propri<72>t<EFBFBD> du document (SetAuthor(), SetCreator(), SetKeywords(), SetSubject(), SetTitle()).<BR>
|
||||
- Possibilit<69> de forcer le t<>l<EFBFBD>chargement du PDF.<BR>
|
||||
- Ajout des m<>thodes SetX() et GetX().<BR>
|
||||
- Lors du saut de page automatique, l'abscisse courante est maintenant conserv<72>e.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.11</B> (20/10/2001)
|
||||
<BLOCKQUOTE>
|
||||
- L'utilisation des PNG ne n<>cessite plus PHP4 et l'extension Zlib. Les donn<6E>es sont int<6E>gr<67>es directement dans le document PDF sans <20>tape de d<>compression/recompression.<BR>
|
||||
- L'insertion d'image fonctionne maintenant correctement m<>me avec l'option magic_quotes_runtime <20> on.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.1</B> (07/10/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Support des images JPEG et PNG.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.01</B> (03/10/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Correction d'un bug lors du saut de page : dans le cas o<> la m<>thode Header() ne sp<73>cifiait pas de police, celle de la page pr<70>c<EFBFBD>dente n'<27>tait pas restaur<75>e et produisait un document incorrect.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.0</B> (17/09/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Premi<6D>re version.<BR>
|
||||
</BLOCKQUOTE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
||||
<TITLE>Historique</TITLE>
|
||||
<LINK TYPE="text/css" REL="stylesheet" HREF="fpdf.css">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H2>Historique</H2>
|
||||
<B>v1.53</B> (31/12/2004)
|
||||
<BLOCKQUOTE>
|
||||
- Lorsque le sous-r<>pertoire font se trouve dans le m<>me r<>pertoire que fpdf.php, il n'est maintenant plus n<>cessaire de d<>finir la constante FPDF_FONTPATH.<BR>
|
||||
- Le tableau $HTTP_SERVER_VARS n'est plus utilis<69>. Cela pouvait poser des probl<62>mes avec les configurations PHP 5 ayant d<>sactiv<69> l'option register_long_arrays.<BR>
|
||||
- L'incorporation des polices Type1 posait des probl<62>mes avec certains processeurs de PDF.<BR>
|
||||
- Le nom du PDF envoy<6F> au navigateur ne pouvait pas comporter d'espace.<BR>
|
||||
- La m<>thode Cell() ne pouvait pas imprimer le nombre 0 (seulement la cha<68>ne '0').<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.52</B> (30/12/2003)
|
||||
<BLOCKQUOTE>
|
||||
- Image() affiche maintenant l'image en 72 dpi si aucune dimension n'est indiqu<71>e.<BR>
|
||||
- Output() prend un second param<61>tre cha<68>ne pour indiquer la destination.<BR>
|
||||
- Open() est maintenant appel<65> automatiquement par AddPage().<BR>
|
||||
- L'insertion d'image JPEG distante ne g<>n<EFBFBD>re plus d'erreur.<BR>
|
||||
- Le s<>parateur d<>cimal est forc<72> au point dans le constructeur.<BR>
|
||||
- Ajout de diff<66>rents encodages (turc, tha<68>landais, h<>breu, ukrainien et vietnamien).<BR>
|
||||
- La derni<6E>re ligne d'un MultiCell() cadr<64> <20> droite n'<27>tait pas bien align<67>e si elle se terminait par un retour-chariot.<BR>
|
||||
- Plus de message d'erreur sur les en-t<>tes d<>j<EFBFBD> envoy<6F>s lorsque le PDF est g<>n<EFBFBD>r<EFBFBD> sur la sortie standard en mode ligne de commande.<BR>
|
||||
- Le soulign<67> allait trop loin lorsque le texte comportait les caract<63>res \, ( ou ).<BR>
|
||||
- $HTTP_ENV_VARS a <20>t<EFBFBD> remplac<61> par $HTTP_SERVER_VARS.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.51</B> (03/08/2002)
|
||||
<BLOCKQUOTE>
|
||||
- Support des polices Type1.<BR>
|
||||
- Ajout des encodages pour les pays baltes.<BR>
|
||||
- La classe travaille maintenant en interne en points avec l'origine en bas afin d'<27>viter deux bugs avec Acrobat 5 :<BR> * L'<27>paisseur des traits <20>tait trop importante lors des impressions sous Windows 98 SE et ME.<BR> * Les polices TrueType n'apparaissaient pas imm<6D>diatement dans le plug-in (une police de substitution <20>tait utilis<69>e), il fallait provoquer un rafra<72>chissement de la fen<65>tre pour les voir appara<72>tre.<BR>
|
||||
- La zone cliquable dans une cellule <20>tait toujours positionn<6E>e <20> gauche ind<6E>pendamment de l'alignement du texte.<BR>
|
||||
- Les images JPEG en mode CMYK apparaissaient en couleurs invers<72>es.<BR>
|
||||
- Les images PNG transparentes en niveaux de gris ou couleurs vraies <20>taient incorrectement trait<69>es.<BR>
|
||||
- L'ajout de nouvelles polices fonctionne maintenant correctement m<>me avec l'option magic_quotes_runtime <20> on.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.5</B> (28/05/2002)
|
||||
<BLOCKQUOTE>
|
||||
- Support des polices TrueType (AddFont()) et des encodages (Europe de l'Ouest, de l'Est, cyrillique et grec).<BR>
|
||||
- Ajout de la m<>thode Write().<BR>
|
||||
- Ajout du style soulign<67>.<BR>
|
||||
- Support des liens internes et externes (AddLink(), SetLink(), Link()).<BR>
|
||||
- Gestion de la marge droite et ajout des m<>thodes SetRightMargin() et SetTopMargin().<BR>
|
||||
- Modification de SetDisplayMode() pour s<>lectionner un affichage continu ou en colonnes.<BR>
|
||||
- Le param<61>tre border de MultiCell() permet de choisir les bords <20> tracer comme Cell().<BR>
|
||||
- Lorsqu'un document ne contient aucune page, Close() appelle maintenant AddPage() au lieu de provoquer une erreur fatale.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.41</B> (13/03/2002)
|
||||
<BLOCKQUOTE>
|
||||
- Correction de SetDisplayMode() qui ne fonctionnait plus (le visualiseur PDF utilisait l'affichage par d<>faut).<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.4</B> (02/03/2002)
|
||||
<BLOCKQUOTE>
|
||||
- PHP3 n'est plus support<72>.<BR>
|
||||
- Compression des pages (SetCompression()).<BR>
|
||||
- Choix du format des pages et possibilit<69> de changer l'orientation en cours de document.<BR>
|
||||
- Ajout de la m<>thode AcceptPageBreak().<BR>
|
||||
- Ajout de la m<>thode SetLeftMargin().<BR>
|
||||
- Possibilit<69> d'imprimer le nombre total de pages (AliasNbPages()).<BR>
|
||||
- Choix des bords des cellules <20> tracer.<BR>
|
||||
- Nouveau mode pour la m<>thode Cell() : la position courante se d<>place sous la cellule.<BR>
|
||||
- Possibilit<69> d'inclure une image en n'indiquant que la hauteur (la largeur est d<>termin<69>e automatiquement).<BR>
|
||||
- Correction d'un bug : lorsqu'une ligne justifi<66>e provoquait un saut de page, le pied de page h<>ritait de l'espacement inter-mot correspondant.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.31</B> (12/01/2002)
|
||||
<BLOCKQUOTE>
|
||||
- Correction d'un bug dans le trac<61> du cadre avec MultiCell() : la derni<6E>re ligne partait toujours de la marge gauche.<BR>
|
||||
- Suppression de l'en-t<>te HTTP Expires (pose des probl<62>mes dans certains cas).<BR>
|
||||
- Ajout de l'en-t<>te HTTP Content-disposition (semble aider dans certains cas).<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.3</B> (03/12/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Gestion des sauts de ligne avec justification du texte (MultiCell()).<BR>
|
||||
- Ajout du support de la couleur (SetDrawColor(), SetFillColor(), SetTextColor()). Possibilit<69> de dessiner des rectangles pleins et de colorer le fond des cellules.<BR>
|
||||
- Une cellule dont la largeur est d<>clar<61>e nulle s'<27>tend jusqu'<27> la marge droite de la page.<BR>
|
||||
- L'<27>paisseur des traits est maintenant conserv<72>e de page en page et vaut 0,2 mm par d<>faut.<BR>
|
||||
- Ajout de la m<>thode SetXY().<BR>
|
||||
- Correction d'un passage par r<>f<EFBFBD>rence effectu<74> d'une mani<6E>re obsol<6F>te en PHP4.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.2</B> (11/11/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Ajout des fichiers de m<>trique des polices et de la m<>thode GetStringWidth().<BR>
|
||||
- Possibilit<69> de centrer et d'aligner <20> droite le texte dans les cellules.<BR>
|
||||
- R<>glage du mode d'affichage (SetDisplayMode()).<BR>
|
||||
- Ajout des m<>thodes de propri<72>t<EFBFBD> du document (SetAuthor(), SetCreator(), SetKeywords(), SetSubject(), SetTitle()).<BR>
|
||||
- Possibilit<69> de forcer le t<>l<EFBFBD>chargement du PDF.<BR>
|
||||
- Ajout des m<>thodes SetX() et GetX().<BR>
|
||||
- Lors du saut de page automatique, l'abscisse courante est maintenant conserv<72>e.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.11</B> (20/10/2001)
|
||||
<BLOCKQUOTE>
|
||||
- L'utilisation des PNG ne n<>cessite plus PHP4 et l'extension Zlib. Les donn<6E>es sont int<6E>gr<67>es directement dans le document PDF sans <20>tape de d<>compression/recompression.<BR>
|
||||
- L'insertion d'image fonctionne maintenant correctement m<>me avec l'option magic_quotes_runtime <20> on.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.1</B> (07/10/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Support des images JPEG et PNG.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.01</B> (03/10/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Correction d'un bug lors du saut de page : dans le cas o<> la m<>thode Header() ne sp<73>cifiait pas de police, celle de la page pr<70>c<EFBFBD>dente n'<27>tait pas restaur<75>e et produisait un document incorrect.<BR>
|
||||
</BLOCKQUOTE>
|
||||
<B>v1.0</B> (17/09/2001)
|
||||
<BLOCKQUOTE>
|
||||
- Premi<6D>re version.<BR>
|
||||
</BLOCKQUOTE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
FPDF est constitu<74> des <20>l<EFBFBD>ments suivants :
|
||||
|
||||
- le fichier principal fpdf.php contenant la classe
|
||||
- les fichiers de m<>trique des polices (contenus dans le r<>pertoire font de cette archive)
|
||||
|
||||
Les fichiers de m<>trique sont indispensables d<>s que l'on veut <20>crire du texte dans un document.
|
||||
Ils peuvent se trouver en trois endroits diff<66>rents :
|
||||
|
||||
- dans le r<>pertoire d<>fini par la constante FPDF_FONTPATH (si cette constante est d<>finie)
|
||||
- dans le r<>pertoire font s'il se trouve au m<>me niveau que fpdf.php (comme c'est le cas dans cette archive)
|
||||
- dans un des r<>pertoires accessibles par include()
|
||||
|
||||
Voici un exemple de d<>finition de FPDF_FONTPATH (notez le slash final obligatoire) :
|
||||
|
||||
define('FPDF_FONTPATH','/home/www/font/');
|
||||
require('fpdf.php');
|
||||
|
||||
Si ces fichiers ne sont pas accessibles, la m<>thode SetFont() produira l'erreur suivante :
|
||||
|
||||
FPDF error: Could not include font metric file
|
||||
|
||||
|
||||
Remarques :
|
||||
|
||||
- Seuls les fichiers correspondant aux polices effectivement utilis<69>es sont n<>cessaires
|
||||
- Les tutoriels fournis dans l'archive sont pr<70>ts <20> <20>tre ex<65>cut<75>s
|
||||
FPDF est constitu<74> des <20>l<EFBFBD>ments suivants :
|
||||
|
||||
- le fichier principal fpdf.php contenant la classe
|
||||
- les fichiers de m<>trique des polices (contenus dans le r<>pertoire font de cette archive)
|
||||
|
||||
Les fichiers de m<>trique sont indispensables d<>s que l'on veut <20>crire du texte dans un document.
|
||||
Ils peuvent se trouver en trois endroits diff<66>rents :
|
||||
|
||||
- dans le r<>pertoire d<>fini par la constante FPDF_FONTPATH (si cette constante est d<>finie)
|
||||
- dans le r<>pertoire font s'il se trouve au m<>me niveau que fpdf.php (comme c'est le cas dans cette archive)
|
||||
- dans un des r<>pertoires accessibles par include()
|
||||
|
||||
Voici un exemple de d<>finition de FPDF_FONTPATH (notez le slash final obligatoire) :
|
||||
|
||||
define('FPDF_FONTPATH','/home/www/font/');
|
||||
require('fpdf.php');
|
||||
|
||||
Si ces fichiers ne sont pas accessibles, la m<>thode SetFont() produira l'erreur suivante :
|
||||
|
||||
FPDF error: Could not include font metric file
|
||||
|
||||
|
||||
Remarques :
|
||||
|
||||
- Seuls les fichiers correspondant aux polices effectivement utilis<69>es sont n<>cessaires
|
||||
- Les tutoriels fournis dans l'archive sont pr<70>ts <20> <20>tre ex<65>cut<75>s
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
define('FPDF_FONTPATH','font/');
|
||||
require('i25.php');
|
||||
|
||||
$pdf=new PDF_i25();
|
||||
$pdf->AddPage();
|
||||
$pdf->i25(90,40,'12345678');
|
||||
$pdf->Output();
|
||||
?>
|
||||
<?php
|
||||
define('FPDF_FONTPATH','font/');
|
||||
require('i25.php');
|
||||
|
||||
$pdf=new PDF_i25();
|
||||
$pdf->AddPage();
|
||||
$pdf->i25(90,40,'12345678');
|
||||
$pdf->Output();
|
||||
?>
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
||||
<TITLE>i25 barcodes</TITLE>
|
||||
<STYLE>
|
||||
BODY {font-family:"Times New Roman",serif}
|
||||
H2 {color:#4000A0}
|
||||
.st {font-weight:bold; color:#900000}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H2>i25 barcodes</H2>
|
||||
<H4 CLASS="st">Informations</H4>Author: Matthias Lau<BR>License: Freeware
|
||||
<H4 CLASS="st">Description</H4>This script implements Interleaved 2 of 5 barcodes. An Interleaved 2 of 5 barcode contains
|
||||
digits (0 to 9) and encodes the data in the width of both bars and spaces. It is used primarily
|
||||
in the distribution and warehouse industry.<BR>
|
||||
<BR>
|
||||
<TT>i25(<B>float</B> xpos, <B>float</B> ypos, <B>string</B> code [, <B>float</B> basewidth [, <B>float</B> height]])</TT><BR>
|
||||
<BR>
|
||||
<TT><U>xpos</U></TT>: abscissa of barcode<BR>
|
||||
<TT><U>ypos</U></TT>: ordinate of barcode<BR>
|
||||
<TT><U>code</U></TT>: value of barcode<BR>
|
||||
<TT><U>basewidth</U></TT>: corresponds to the width of a wide bar (defaults to 1)<BR>
|
||||
<TT><U>height</U></TT>: bar height (defaults to 10)<BR>
|
||||
<BR>
|
||||
Note: if the length of the code is not even, a 0 is preprended.
|
||||
</BODY>
|
||||
</HTML>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
||||
<TITLE>i25 barcodes</TITLE>
|
||||
<STYLE>
|
||||
BODY {font-family:"Times New Roman",serif}
|
||||
H2 {color:#4000A0}
|
||||
.st {font-weight:bold; color:#900000}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H2>i25 barcodes</H2>
|
||||
<H4 CLASS="st">Informations</H4>Author: Matthias Lau<BR>License: Freeware
|
||||
<H4 CLASS="st">Description</H4>This script implements Interleaved 2 of 5 barcodes. An Interleaved 2 of 5 barcode contains
|
||||
digits (0 to 9) and encodes the data in the width of both bars and spaces. It is used primarily
|
||||
in the distribution and warehouse industry.<BR>
|
||||
<BR>
|
||||
<TT>i25(<B>float</B> xpos, <B>float</B> ypos, <B>string</B> code [, <B>float</B> basewidth [, <B>float</B> height]])</TT><BR>
|
||||
<BR>
|
||||
<TT><U>xpos</U></TT>: abscissa of barcode<BR>
|
||||
<TT><U>ypos</U></TT>: ordinate of barcode<BR>
|
||||
<TT><U>code</U></TT>: value of barcode<BR>
|
||||
<TT><U>basewidth</U></TT>: corresponds to the width of a wide bar (defaults to 1)<BR>
|
||||
<TT><U>height</U></TT>: bar height (defaults to 10)<BR>
|
||||
<BR>
|
||||
Note: if the length of the code is not even, a 0 is preprended.
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
|
||||
If you want to add your own emails selector/import module. This is steps to follow
|
||||
to add you own email predefined selector:
|
||||
|
||||
|
||||
***** STEP 1 *****
|
||||
|
||||
Copy file
|
||||
htdocs/includes/modules/mailings/example.modules.php
|
||||
into
|
||||
htdocs/includes/modules/mailings/myselector.modules.php
|
||||
|
||||
You can choose value of your choice instead of "myselector" in name
|
||||
of new file.
|
||||
|
||||
|
||||
***** STEP 2 *****
|
||||
|
||||
Edit this file myselector.modules.php and change following text:
|
||||
|
||||
"class mailing_example" into "class mailing_myselector"
|
||||
"var $name='example';" into var $name='myselector';
|
||||
"var $desc='...';" into var $desc='A text to describe selector';
|
||||
"function mailing_example" into "function mailing_myselector"
|
||||
|
||||
Then add code inside the "add_to_target" function. What you must do is simply
|
||||
fill the $target PHP array with one record for each email your selector must return.
|
||||
|
||||
You can choose the way you get data: From a file, a database. You are free,
|
||||
the only requirement is that the $target array is filled by records that are
|
||||
themselves array of: ('email', 'name', 'firstname').
|
||||
|
||||
This is for example how you can fill the $target array:
|
||||
|
||||
|
||||
If you want to add your own emails selector/import module. This is steps to follow
|
||||
to add you own email predefined selector:
|
||||
|
||||
|
||||
***** STEP 1 *****
|
||||
|
||||
Copy file
|
||||
htdocs/includes/modules/mailings/example.modules.php
|
||||
into
|
||||
htdocs/includes/modules/mailings/myselector.modules.php
|
||||
|
||||
You can choose value of your choice instead of "myselector" in name
|
||||
of new file.
|
||||
|
||||
|
||||
***** STEP 2 *****
|
||||
|
||||
Edit this file myselector.modules.php and change following text:
|
||||
|
||||
"class mailing_example" into "class mailing_myselector"
|
||||
"var $name='example';" into var $name='myselector';
|
||||
"var $desc='...';" into var $desc='A text to describe selector';
|
||||
"function mailing_example" into "function mailing_myselector"
|
||||
|
||||
Then add code inside the "add_to_target" function. What you must do is simply
|
||||
fill the $target PHP array with one record for each email your selector must return.
|
||||
|
||||
You can choose the way you get data: From a file, a database. You are free,
|
||||
the only requirement is that the $target array is filled by records that are
|
||||
themselves array of: ('email', 'name', 'firstname').
|
||||
|
||||
This is for example how you can fill the $target array:
|
||||
|
||||
// ----- Your code start here -----
|
||||
$target[0]=array('email'=>'email_0','name'=>'name_0','firstname'=>'firstname_0');
|
||||
...
|
||||
$target[n]=array('email'=>'email_n','name'=>'name_n','firstname'=>'firstname_n');
|
||||
// ----- Your code end here -----
|
||||
|
||||
|
||||
|
||||
***** STEP 3 *****
|
||||
|
||||
Once this file has been edited, you can go to the Dolibarr emailing feature,
|
||||
you will see a new line selector in the "targets" editor of emailing tool.
|
||||
|
||||
|
||||
|
||||
|
||||
***** STEP 3 *****
|
||||
|
||||
Once this file has been edited, you can go to the Dolibarr emailing feature,
|
||||
you will see a new line selector in the "targets" editor of emailing tool.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
samples
|
||||
samples
|
||||
|
||||
@@ -1,438 +1,438 @@
|
||||
2003-07-21, version 0.6.5
|
||||
- soap_transport_http: SOAPAction header is quoted again, fixes problem w/ Weblogic Server
|
||||
- applied Jason Levitt patch for proper array serialization, fixes problem w/ Amazon shopping cart services
|
||||
- fixed null value serialization
|
||||
- applied patch from "BZC ToOn'S" - fixes wsdl serialization when no parameters
|
||||
- applied John's patch, implementing compression for the server
|
||||
|
||||
2003-07-22, version 0.6.5
|
||||
- soap_server: fixed bug causing charset encoding not to be passed to the parser
|
||||
- soap_fault: added default encoding to the fault serialization
|
||||
- soap_parser: changed the parser to pre-load the parent's result array when processing scalar values. This increases parsing speed.
|
||||
|
||||
2003-07-23, version 0.6.5
|
||||
- soap_base: fix code that overwrites user-supplied attributes in serialize_val
|
||||
- soap_base: use arrays-of-arrays rather than attempting multi-dimensional in serialize_val
|
||||
- xmlschema: emit import statements and qualify all elements with prefix in serializeSchema (better interop with validation tools)
|
||||
- soapclient: get xml character encoding from HTTP Content-Type header if provided, e.g. text/xml;charset="UTF-8"
|
||||
- soapclient: use headers in call if provided (previously ignored this parameter)
|
||||
- soap_server: in parse_request, if neither getallheaders nor $_SERVER are available, use $HTTP_SERVER_VARS to get SOAPAction and xml encoding
|
||||
|
||||
2003-07-24, version 0.6.5
|
||||
- soap_transport_http: apply patch from Steven Brown "if the server closes connection prematurely, nusoap would spin trying to read data that isn't there"
|
||||
|
||||
2003-07-25, version 0.6.5
|
||||
- wsdl: apply patch from Sven to workaround single schema limitation
|
||||
- wsdl: apply a variant of the patch from Holger to handle empty values for array by serializing an array with 0 elements
|
||||
- xmlschema: remove the redundant default namespace attribute on the schema element; everything in xsd is explicitly specified as being from xsd
|
||||
- soap_transport_http: fix setCredentials and add TODO comments in sendHTTPS about what to change if this setCredentials stays
|
||||
|
||||
2003-07-30, version 0.6.5
|
||||
- nusoap_base: change documentation of soap_defencoding to specify it is the encoding for outgoing messages
|
||||
- nusoap_base: only change &, <, > to entities, not all HTML entities
|
||||
- soap_transport_http: update the Content-Type header in sendRequest, since soap_defencoding could be changed after ctor is called
|
||||
- soap_server: use soap_defencoding instead of charset_encoding
|
||||
- soap_server: read encoding from _SERVER if available
|
||||
- nusoap_base: do entity translation for string parameters with an xsd type specified (thanks David Derr)
|
||||
|
||||
2003-07-31, version 0.6.5
|
||||
- soap_transport_http: add proxy authentication
|
||||
- soap_transport_http: build payload the same way for http and https
|
||||
- wsdl: add proxy authentication
|
||||
- soapclient: add proxy authentication
|
||||
- soapclient: allow proxy information in ctor, so that it can be used for wsdl
|
||||
|
||||
2003-08-01, version 0.6.5
|
||||
- soap_transport_http: close a persistent connection that's at EOF
|
||||
- soap_transport_http: prevent conflicts between setEncoding and usePersistentConnection
|
||||
- soap_transport_http: fix use of $headers instead of $this->incoming_headers in getResponse
|
||||
- soapclient: improve handling of persistent connections
|
||||
- soapclient: force xml_encoding to upper case
|
||||
- soap_server: let the Web server decide whether to close the connection (no Connection: close header)
|
||||
- soap_server: force xml_encoding to upper case
|
||||
|
||||
2003-08-04, version 0.6.5
|
||||
- soap_parser: use XML type information to pick a PHP data type; also decode base64
|
||||
- soap_server: read all HTTP headers when using _SERVER or HTTP_SERVER_VARS
|
||||
- soap_server: add gzip encoding support for outgoing messages
|
||||
- soap_transport_http: deflate is gzcompress/gzuncompress (cf. http://archive.develooper.com/libwww@perl.org/msg04650.html)
|
||||
- soap_transport_http: clean use of persistentConnection so it's always a set boolean
|
||||
- soapclient: add responseData member to access deflated/gunzipped payload
|
||||
|
||||
2003-08-05, version 0.6.5
|
||||
- soap_server: look multiple places when setting debug_flag
|
||||
|
||||
2003-08-07, version 0.6.5
|
||||
- nusoap_base: serialize specified type (e.g. ArrayOfString) even for simple array
|
||||
- wsdl: only specify encodingStyle in the input/output soap bindings when it is not empty (thanks Guillaume)
|
||||
|
||||
2003-08-15, version 0.6.5
|
||||
- soap_parser: fix parsing of elements with no XSD type specified
|
||||
- soap_parser: use PHP string type for XSD long and unsignedLong types
|
||||
|
||||
2003-08-16, version 0.6.5
|
||||
- soap_parser: fix code generating warning (thanks Torsten)
|
||||
|
||||
2003-08-19, version 0.6.5
|
||||
- soap_parser: fix another line of code generating a warning (thanks Torsten)
|
||||
|
||||
2003-08-22, version 0.6.5
|
||||
- soap_server: remove all '--' from debug_str; previous code changed '---' to '- --'
|
||||
- wsdl, soapclient, soap_parser: patch submitted by Mark Spavin as described by
|
||||
the following...
|
||||
> Changes for the multiple/nested imports from the wsdl file. This builds an
|
||||
> array of files not just the last one and also checks for relative paths to
|
||||
> the parent. This will then get the imported files from the remote site
|
||||
> instead of your local disk. Local wsdl files should still work (untested).
|
||||
>
|
||||
> Changes for multiple encoding sytles as previously posted
|
||||
|
||||
2003-08-24, version 0.6.5
|
||||
- wsdl, soapclient: fix some PHP notices from previous update
|
||||
|
||||
2003-08-26, version 0.6.5
|
||||
- wsdl: support multiple SOAP ports
|
||||
- soapclient, soap_server: when no charset is specified, use UTF-8, even though HTTP specifies US-ASCII.
|
||||
- soap_transport_http: do not prepend $host with 'ssl://' for https (is this required for older cURL versions?)
|
||||
|
||||
2003-08-27, version 0.6.5
|
||||
- soap_server: support compressed request messages (thanks John Huong)
|
||||
- soap_parser: deserialize Apache Vector as an array
|
||||
- xmlschema: use $this->typemap in getPHPType (which is not used)
|
||||
- soapclient, wsdl: check for WSDL errors after serializing parameters
|
||||
- nusoap_base: add serialization of Apache Map (when not using WSDL)
|
||||
- wsdl: add serialization of Apache Map (when using WSDL)
|
||||
- wsdl: only change &, <, > to entities, not all HTML entities
|
||||
|
||||
2003-08-28, version 0.6.5
|
||||
- soap_transport_http: disable cURL verification of peer and server (formerly the cURL default)
|
||||
- soap_transport_http: mingle cURL code with straight http, so sendHTTP is no longer needed
|
||||
|
||||
2003-08-29, version 0.6.6
|
||||
- soap_transport_http: add setContentType
|
||||
- soapclient: call setContentType using new getHTTPContentType and getHTTPContentTypeCharset
|
||||
|
||||
2003-09-05, version 0.6.6
|
||||
- wsdl: add some more code to handle null/nil values (but there's still a way to go)
|
||||
|
||||
2003-10-21, version 0.6.6
|
||||
- soap_transport_http: only include port in Host header if it was specified in the URL
|
||||
- soap_transport_http: add some code to use OpenSSL for PHP ssl:// scheme, but comment out since it's not ready
|
||||
- soap_server: use $_SERVER['PHP_SELF'] if $GLOBALS['PHP_SELF'] is not set
|
||||
- wsdl: add WSDL request and response and transport debug to debug
|
||||
- wsdl: handle custom type extending xmlschema namespace (GLUE ... Thanks Matt)
|
||||
- soap_parser: add param to docs
|
||||
- soapclient: add getHTTPBody, getHTTPContentType, getHTTPContentTypeCharset (anticipating MIME subclass)
|
||||
|
||||
2003-10-28, version 0.6.6
|
||||
- nusoap_base: add expandEntities method
|
||||
- wsdl: use expandEntities
|
||||
- soap_fault: use expandEntities
|
||||
- soap_transport_http: Allow credentials to be included in URL, rather than requiring setCredentials
|
||||
- soap_transport_http: Merge HTTP headers that span multiple lines
|
||||
- soap_parser: Properly set errors in ctor
|
||||
- soapclient: Pass headers to parseResponse and parse them in that method
|
||||
|
||||
2003-10-30, version 0.6.6
|
||||
- xmlschema: Add some information for the related type to an element
|
||||
|
||||
2003-12-09, version 0.6.6
|
||||
- nusoap_base: Add some namespace methods previously in xmlschema
|
||||
- xmlschema: Improve parsing of complexType, element and simpleType
|
||||
- xmlschema: Improve serialization
|
||||
- xmlschema: Track imports
|
||||
- xmlschema: Track elementFormDefault and form attributes
|
||||
- wsdl: Support multiple <schema> (note that setting $server->wsdl->schemaTargetNamespace no longer does anything! Use configureWSDL instead.)
|
||||
- wsdl: Use form attribute of element to control namespace specification
|
||||
- wsdl: Support chained imports (A imports B which imports C)
|
||||
- wsdl: Include port in endpoint address when serializing
|
||||
- soap_server: Fix use of style (rpc|document) and use (encoded|literal)
|
||||
- soap_server: Support _SERVER[CONTENT_TYPE] in addition to _SERVER[HTTP_CONTENT_TYPE]
|
||||
- soap_server: Support wsdl with multiple <schema>
|
||||
- soap_client: Remove a var_dump
|
||||
- soap_client: Add style and use parameters to call method to support doc/lit without WSDL
|
||||
- soap_transport_http: Check that $this->fp exists when doing persistent connections
|
||||
|
||||
2003-12-17, version 0.6.6
|
||||
- soap_server: pass namespaces to xmlschema constructor
|
||||
- wsdl: post-process after all imports
|
||||
- wsdl: remove some debug, add some error handling
|
||||
- xmlschema: allow enclosing namespaces to be specified in constructor
|
||||
- xmlschema: improve handling of compositors and simple types
|
||||
|
||||
2004-01-08, version 0.6.6
|
||||
- soap_server: when requested WSDL is in a file, return to client using passthru (thanks Ingo Fischer)
|
||||
- soapclient: have proxy inherit more client state
|
||||
- soapclient: allow timeout and response timeout to be specified in the constructor
|
||||
- wsdl: allow timeout and response timeout to be specified in the constructor
|
||||
- soap_transport_http: allow response timeout to be specified in send and sendHTTPS
|
||||
|
||||
2004-01-28, version 0.6.6
|
||||
- wsdl: add namespace for array and scalar when form is qualified
|
||||
- wsdl: fix a bug in which data type of complexType elements were ignored in serialization
|
||||
- wsdl: enhance handling of URLs with file scheme
|
||||
- wsdl: add addSimpleType
|
||||
- xmlschema: add addSimpleType
|
||||
- xmlschema: always set phpType elements
|
||||
- soapclient: allow a wsdl instance to be specified in constructor
|
||||
- soap_server: allow a wsdl instance to be specified in constructor (not tested!)
|
||||
- soap_server: fix default SOAPAction created in register method
|
||||
- soap_transport_http: accept chunking with LF separators in addition to CRLF.
|
||||
- wsdlcache: added class
|
||||
- nusoapmime: fix comments
|
||||
|
||||
2004-02-23, version 0.6.6
|
||||
- soap_transport_http: don't try to unchunk cURL data, since cURL already does it
|
||||
- soap_transport_http: append CVS revision to version in User-Agent
|
||||
- wsdl: serialize boolean as true|false, not 1|0, to agree with XML Schema
|
||||
- soap_server: always exit() after returning WSDL
|
||||
- soap_server: use the WSDL URL scheme as the default endpoint URL scheme
|
||||
- soap_server: append CVS revision to version in X-SOAP-Server
|
||||
- nusoap_base: add (CVS) revision
|
||||
- wsdlcache: synchronize using a per-WSDL lock file (Thanks Ingo)
|
||||
- wsdlcache: add cache lifetime, after which cache contents are invalidated (Thanks Ingo)
|
||||
|
||||
2004-03-15, version 0.6.6
|
||||
- nusoap_base: add isArraySimpleOrStruct method
|
||||
- soap_server: improve WSDL URL scheme determination
|
||||
- soap_server: only deflate/gzip payloads > 1024 bytes
|
||||
- soap_server: fix parameter order in fault method (always used as faultcode, faultstring)
|
||||
- soap_server: refactor parse_request into multiple functions (for sanity)
|
||||
- soap_server: set the namespace on the Response element to the same as the request
|
||||
- soap_server: name the return value element 'return' by default
|
||||
- soap_server: added and documented data fields, so that service programmers can use them if desired
|
||||
- soap_parser: standardize parsing error message
|
||||
- soap_parser: fix document and responseHeaders so they are the correct XML text (as documented)
|
||||
- soap_transport_http: fix read from persistent connection
|
||||
- soapclient: clean up debugging for persistent connection
|
||||
- wsdl: enforce correct naming of messages parts when an associative array is used for parameters
|
||||
- wsdl: better serialization of null values
|
||||
- wsdl: standardize parsing error message
|
||||
- xmlschema: standardize parsing error message
|
||||
|
||||
2004-03-24, version 0.6.7
|
||||
- soap_transport_http: add digest authentication (based on code by Kevin A. Miller)
|
||||
- xmlschema: improve parsing of import elements
|
||||
- wsdl: do schema imports even if there are no wsdl imports
|
||||
|
||||
2004-04-12, version 0.6.7
|
||||
- wsdl: serialize multiple elements when maxOccurs="unbounded" and value is an array
|
||||
- wsdl: serialize soapval values (used to force an XML type, e.g. when WSDL uses an abstract type)
|
||||
- nusoapmime: do not require nusoap.php (it is now the programmer's responsibility)
|
||||
|
||||
2004-04-21, version 0.6.7
|
||||
- soap_parser: parse repeated element name into an array (de-serializes doc/lit array into a PHP array when there is more than 1 array element)
|
||||
- soap_server: do not wrap response in a response element for a document style service
|
||||
|
||||
2004-04-30, version 0.6.7
|
||||
- soap_transport_http: allow digest auth params to be separated by "," as well as ", "
|
||||
- soap_transport_http: re-initialize incoming headers for each response
|
||||
- soap_server: add methodreturnisliteralxml property to allow service function to return XML as a string
|
||||
- soapclient: improve rpc/literal support
|
||||
- soapclient: allow XML string as call params in addition to array
|
||||
- soapclient: support document style and literal encoding when not using WSDL
|
||||
|
||||
2004-05-05, version 0.6.7
|
||||
- wsdl: serialize PHP objects for WSDL XML Schema complexTypes, in addition to associative arrays
|
||||
- wsdl: fix WSDL generation when there is no encodingStyle
|
||||
- soap_transport_http: suppress fsockopen warnings
|
||||
- soap_transport_http: detect socket timeouts when reading (0 bytes returned)
|
||||
- soap_transport_http: read chunked content "in-line" so it works on a persistent connection
|
||||
- nusoap_base: serialize boolean as true|false, not 1|0, to agree with XML Schema
|
||||
- nusoap_base: serialize array of struct differently than array of array
|
||||
|
||||
2004-06-25, version 0.6.8
|
||||
- soap_server: prefer gzip to deflate, since IE does not like our deflate
|
||||
- soap_server: move webDescription to the wsdl class
|
||||
- soap_server: allow class and instance method calls for service (thanks Ingo Fischer and Roland Knall)
|
||||
- wsdl: get webDescription from the soap_server class
|
||||
- wsdl: allow compression from the server
|
||||
- wsdl: fix serialization of soapval without a type
|
||||
- wsdl: propagate debug value from query string to SOAP endpoint in programmatic WSDL generation
|
||||
- nusoap_base: add anyType, anySimpleType for 2001 XML Schema
|
||||
- nusoap_base: provide additional debug functions
|
||||
- soap_transport_http: ignore Content-Length when chunked encoding is used
|
||||
- soap_transport_http: remove ':' from username for Basic authentication (cf. RFC 2617)
|
||||
- soap_transport_http: urldecode username and password taken from URL
|
||||
- soap_transport_http: use raw inflate/deflate for IE/IIS compatibility, rather than having Zlib headers according to HTTP 1.1 spec
|
||||
- soap_transport_http: attempt to handle the case when both the service application and Web server compress the response
|
||||
- soapclient: when creating proxy methods, replace '.' in operation name with '__' in function name
|
||||
- soapclient: initialize requestHeaders in proxy
|
||||
- general: use new debug methods; never access debug_str directly
|
||||
|
||||
2004-09-30, version 0.6.8
|
||||
- soapclient: do not allow getProxy call when WSDL is not used
|
||||
- soapclient: use ISO-8859-1 as the charset if not specified in the Content-Type header
|
||||
- soapclient: when an empty string is specified for the call namespace, do not put the method element in a namespace
|
||||
- soapclient: let soap_transport_http check for SSL support
|
||||
- soapclient: have proxy inherit soap_defencoding from the client from which it is generated
|
||||
- soapclient: do not assume that 'ns1' is an unused namespace prefix; always generate namespace prefixes randomly
|
||||
- soap_parser: compare any encoding in the XML declaration to the charset from the HTTP Content-Type header (thanks Ingo Fischer)
|
||||
- soap_parser: improve parse repeated element name into an array (de-serializes doc/lit array into a PHP array when there is more than 1 array element)
|
||||
- soap_server: use ISO-8859-1 as the charset if not specified in the Content-Type header
|
||||
- soap_server: allow suppression of automatic UTF-8 decoding
|
||||
- soap_server: fix a bug when call_user_func_array() is used
|
||||
- soap_transport_http: correct digest authentication through a proxy
|
||||
- wsdl: serialize SOAP-ENC types similarly to XSD types
|
||||
- xmlschema: force unprefixed type into default namespace
|
||||
- xmlschema: fix serialization of definition of simple types
|
||||
|
||||
2004-10-01, version 0.6.8
|
||||
- soap_parser: handle default namespace attributes
|
||||
- soap_server: add default_utf8 field
|
||||
- soap_server: support literal encoding (with RPC style)
|
||||
- soap_transport_http: parse HTTP status and generate error for 300, 302-307, 400, 401-417, 501-505 (thanks for the idea Ghislain)
|
||||
- soap_transport_http: follow HTTP redirection (HTTP status 301 and Location header) (thanks for the idea Ghislain)
|
||||
- xmlschema: allow any attributes to be specified in an element of a complexType, e.g., abstract, default, form, minOccurs, maxOccurs, nillable (thanks Jirka Pech for the original patch)
|
||||
|
||||
2004-10-02, version 0.6.8
|
||||
- soapclient: read/write cookies (thanks Ingo)
|
||||
- soap_server: change faultcode on non-resendable faults to Client
|
||||
- soap_transport_http: read/write cookies (thanks Ingo)
|
||||
|
||||
2004-10-05, version 0.6.8
|
||||
- wsdl: add addElement method
|
||||
- wsdl: support the document style in the register method
|
||||
- xmlschema: parse unnamed simpleTypes, rather than ignoring them
|
||||
- xmlschema: include untyped elements when parsing a complexType
|
||||
- xmlschema: add addElement method
|
||||
|
||||
2004-10-14, version 0.6.8
|
||||
- soapclient: support client certificates
|
||||
- soap_parser: deserialize attributes, prefixing names with "!"
|
||||
- soap_server: notify the client with HTML when WSDL is requested but not supported by service
|
||||
- soap_transport_http: support client certificates
|
||||
- wsdl: support defaults for elements of a complexType
|
||||
- wsdl: serialize elements from complexType extension base
|
||||
- wsdl: serialize data (associative array elements) as attributes according to XML Schema
|
||||
- xmlschema: record extension base if present for a complexType
|
||||
|
||||
2004-12-15, version 0.6.8
|
||||
- nusoap_base: add 2000 XML Schema (rare, but used by Akamai)
|
||||
- soap_parser: avoid deserializing more common attributes that are not data
|
||||
- soap_parser: be lax when HTTP specifies ISO-8859-1 (the default) and XML specifies UTF-8 (the norm)
|
||||
- soap_server: account for the fact that get_class_methods returns methods in all lower case (thanks Steve Haldane)
|
||||
- soap_transport_http: parse digest info that includes '=' in the data (thanks Jinsuk Kim)
|
||||
- wsdl: feably handle some cases for literal serialization of form="unqualified" elements
|
||||
- wsdl: don't serialize the decimal portion of a PHP double when the XML type is long
|
||||
- wsdl: fix serialization of attributes for complexType that is an extension
|
||||
- wsdlcache: enhance diagnostics
|
||||
- xmlschema: handle untyped elements
|
||||
- xmlschema: handle WSDL for SOAP Array that uses the base attribute plus a sequence of element
|
||||
|
||||
2005-01-22, version 0.6.8
|
||||
- wsdl: allow an element in one schema to have a type from another schema
|
||||
|
||||
2005-01-24, version 0.6.8
|
||||
- xmlschema: correctly parse nested complexType definitions
|
||||
|
||||
2005-02-14, version 0.6.8
|
||||
- nusoap_base: fix a bug in which attributes were sometimes not serialized with a value
|
||||
- nusoap_base: improve serialization of null values (thanks Dominique Stender)
|
||||
- soap_parser: parse null values by handling the nil attribute (thanks Dominique Stender)
|
||||
- soap_server: set character encoding for a fault to be the same as for the server (thanks Mark Scott)
|
||||
- soap_server: correctly check for null value returned from method when WSDL is used (without WSDL, cannot distinguish whether NULL or void return is desired)
|
||||
- soapclient: for document style, call should always return an array rooted at the response part (all bets are off when there are multiple parts)
|
||||
- xmlschema: save enumeration values parsed from WSDL
|
||||
|
||||
2005-02-10, version 0.6.9
|
||||
- soapclient: only set SOAP headers when they are specified in call params (so setHeaders still works)
|
||||
|
||||
2005-04-04, version 0.6.9
|
||||
- soap_server: use get_class instead of is_a (thanks Thomas Noel)
|
||||
- soapclient: use get_class instead of is_a (thanks Thomas Noel)
|
||||
- soapclient: add setEndpoint method
|
||||
- soap_transport_http: fix client certificates (thanks Doug Anarino and Eryan Eriobowo)
|
||||
|
||||
2005-04-29, version 0.6.9
|
||||
- nusoap_base: add global variable and methods for setting debug level
|
||||
- nusoap_base: use xsd:anyType instead of xsd:ur-type to serialize arrays with multiple element types (thanks Ingo Fischer)
|
||||
- nusoap_base: expand entities in attributes (thanks Gaetano Giunta)
|
||||
- soapclient: call parent constructor
|
||||
- soapval: call parent constructor
|
||||
- soap_fault: call parent constructor
|
||||
- soap_parser: call parent constructor
|
||||
- soap_server: assume get_class_methods always returns lower case for PHP 4.x only
|
||||
- soap_server: call parent constructor
|
||||
- soap_transport_http: do nothing in setEncoding if gzdeflate is not present (thanks Franck Touanen for pointing this out)
|
||||
- soap_transport_http: fix check for server request for digest authentication (thanks Mark Spavin)
|
||||
- soap_transport_http: call parent constructor
|
||||
- wsdl: fix documentation page popup of one method after another (thanks Owen)
|
||||
- wsdl: call parent constructor
|
||||
- wsdl: expand entities in attributes (thanks Gaetano Giunta)
|
||||
- xmlschema: call parent constructor
|
||||
|
||||
2005-06-03, version 0.6.9
|
||||
- nusoap_base: serialize empty arrays as having elements xsd:anyType[0]
|
||||
- nusoap_base: add encodingStyle parameter to serializeEnvelope
|
||||
- nusoap_base: serialize xsi:type with nil values
|
||||
- nusoap_base: improve debug and comments
|
||||
- soap_parser: correctly parse an empty array to an empty array, not an empty string
|
||||
- soap_parser: improve debug and comments
|
||||
- soap_server: specify encodingStyle for envelope when WSDL is used
|
||||
- soapclient: factor out new getProxyClassCode method
|
||||
- soapclient: specify encodingStyle for envelope
|
||||
- soapclient: improve debug and comments
|
||||
- wsdl: add namespace for Apache SOAP types if a variable of such type is serialized
|
||||
- wsdl: serialize nil value for nillable elements when no value is provided
|
||||
- wsdl: serialize xsi:type with nil values
|
||||
- wsdl: copy attributes as well as elements to an element from its complexType
|
||||
- wsdl: specify encodingStyle for operations
|
||||
- wsdl: improve debug and comments
|
||||
- xmlschema: improve debug and comments
|
||||
|
||||
2005-06-03, version 0.7.0
|
||||
- nusoap_base: improve debug and comments
|
||||
- nusoap_base: fix version, which should have been 0.7.0 since 2005-03-04
|
||||
|
||||
2005-06-06, version 0.7.1
|
||||
- nusoap_base: adjust numeric element names for serialization, instead of forcing them to 'soapVal'
|
||||
- nusoapmime: add type=text/xml to multipart/related (thanks Emmanuel Cordonnier)
|
||||
- soap_fault: fix serialization of detail
|
||||
- soap_server: check required parameters for register method
|
||||
- soap_server: when getallheaders is used, massage header names
|
||||
- soap_server: use SOAPAction to determine operation when doc/lit service does not wrap parameters in an element with the method name (thanks Peter Hrastnik)
|
||||
- soap_transport_http: correctly handle multiple HTTP/1.1 100 responses for https (thanks Jan Slabon)
|
||||
- wsdl: fixed documentation for addComplexType (thanks Csintalan <20>d<EFBFBD>m)
|
||||
- wsdl: serialize array data when maxOccurs = 'unbounded' OR maxOccurs > 1 (thanks Dominique Schreckling)
|
||||
- wsdl: when serializing a string == 'false' as a boolean, set the value to false
|
||||
- wsdl: when serializing a complexType, require the PHP value supplied to be an array
|
||||
|
||||
2005-07-01, version 0.7.1
|
||||
- nusoap_base: Allow SOAP headers to be supplied as an array like parameters
|
||||
- soap_parser: de-serialize simpleContent that accompanies complexContent
|
||||
- soap_server: append debug information when programmatically-defined WSDL is returned
|
||||
- soap_transport_http: Add debug when an outgoing header is set
|
||||
- soapclient: Allow SOAP headers to be supplied as an array like parameters
|
||||
- xmlschema: serialize attributes more generally, rather than assuming they are for SOAP 1.1 Array
|
||||
- wsdl: when serializing, look up types by namespace, not prefix (simple programmatic doc/lit WSDL now seems to work)
|
||||
- wsdl: process namespace declarations first when parsing an element
|
||||
|
||||
2005-07-27, version 0.7.1
|
||||
- nusoap_base: do not override supplied element name with class name when serializing an object in serialize_val
|
||||
- nusoap_base: remove http://soapinterop.org/xsd (si) from namespaces array
|
||||
- nusoapmime: add nusoapservermime class to implement MIME attachments on the server
|
||||
- soap_fault: improve documentation
|
||||
- soap_server: improve documentation
|
||||
- soap_server: make consistent use of _SERVER and HTTP_SERVER_VARS
|
||||
- soap_server: make all incoming HTTP header keys lower case
|
||||
- soap_server: add hook functions to support subclassing for MIME attachments
|
||||
- soap_transport_http: remove an unnecessary global statement
|
||||
- soapclient: when creating a proxy, make $params within each function an associative array
|
||||
- soapval: improve documentation
|
||||
- wsdl: when serializing complexType elements, used typed serialization if there is either a type or a reference for the element
|
||||
- wsdl: allow PHP objects to be serialized as SOAP structs in serializeType
|
||||
- wsdl: for WSDL and XML Schema imports, don't forget to use the TCP port number (thanks Luca GIOPPO)
|
||||
- wsdl: make consistent use of _SERVER and HTTP_SERVER_VARS
|
||||
- xmlschema: improve documentation
|
||||
|
||||
2005-07-31, version 0.7.2
|
||||
- nusoap_base: correctly serialize attributes in serialize_val (thanks Hidran Arias)
|
||||
- soap_parser: when resolving references, do not assume that buildVal returns an array (thanks Akshell)
|
||||
- soap_parser: removed decode_entities, which does not work (thanks Martin Sarsale)
|
||||
- soap_server: fix a bug parsing headers from _SERVER and HTTP_SERVER_VARS (thanks Bert Catsburg)
|
||||
- soap_server: parse all "headers" from HTTP_SERVER_VARS (not just HTTP_*)
|
||||
- soap_server: use PHP_SELF instead of SCRIPT_NAME for WSDL endpoint
|
||||
- soap_server: when generating a fault while debug_flag is true, put debug into faultdetail
|
||||
- wsdl: add enumeration parameter to addSimpleType
|
||||
- xmlschema: add enumeration parameter to addSimpleType
|
||||
2003-07-21, version 0.6.5
|
||||
- soap_transport_http: SOAPAction header is quoted again, fixes problem w/ Weblogic Server
|
||||
- applied Jason Levitt patch for proper array serialization, fixes problem w/ Amazon shopping cart services
|
||||
- fixed null value serialization
|
||||
- applied patch from "BZC ToOn'S" - fixes wsdl serialization when no parameters
|
||||
- applied John's patch, implementing compression for the server
|
||||
|
||||
2003-07-22, version 0.6.5
|
||||
- soap_server: fixed bug causing charset encoding not to be passed to the parser
|
||||
- soap_fault: added default encoding to the fault serialization
|
||||
- soap_parser: changed the parser to pre-load the parent's result array when processing scalar values. This increases parsing speed.
|
||||
|
||||
2003-07-23, version 0.6.5
|
||||
- soap_base: fix code that overwrites user-supplied attributes in serialize_val
|
||||
- soap_base: use arrays-of-arrays rather than attempting multi-dimensional in serialize_val
|
||||
- xmlschema: emit import statements and qualify all elements with prefix in serializeSchema (better interop with validation tools)
|
||||
- soapclient: get xml character encoding from HTTP Content-Type header if provided, e.g. text/xml;charset="UTF-8"
|
||||
- soapclient: use headers in call if provided (previously ignored this parameter)
|
||||
- soap_server: in parse_request, if neither getallheaders nor $_SERVER are available, use $HTTP_SERVER_VARS to get SOAPAction and xml encoding
|
||||
|
||||
2003-07-24, version 0.6.5
|
||||
- soap_transport_http: apply patch from Steven Brown "if the server closes connection prematurely, nusoap would spin trying to read data that isn't there"
|
||||
|
||||
2003-07-25, version 0.6.5
|
||||
- wsdl: apply patch from Sven to workaround single schema limitation
|
||||
- wsdl: apply a variant of the patch from Holger to handle empty values for array by serializing an array with 0 elements
|
||||
- xmlschema: remove the redundant default namespace attribute on the schema element; everything in xsd is explicitly specified as being from xsd
|
||||
- soap_transport_http: fix setCredentials and add TODO comments in sendHTTPS about what to change if this setCredentials stays
|
||||
|
||||
2003-07-30, version 0.6.5
|
||||
- nusoap_base: change documentation of soap_defencoding to specify it is the encoding for outgoing messages
|
||||
- nusoap_base: only change &, <, > to entities, not all HTML entities
|
||||
- soap_transport_http: update the Content-Type header in sendRequest, since soap_defencoding could be changed after ctor is called
|
||||
- soap_server: use soap_defencoding instead of charset_encoding
|
||||
- soap_server: read encoding from _SERVER if available
|
||||
- nusoap_base: do entity translation for string parameters with an xsd type specified (thanks David Derr)
|
||||
|
||||
2003-07-31, version 0.6.5
|
||||
- soap_transport_http: add proxy authentication
|
||||
- soap_transport_http: build payload the same way for http and https
|
||||
- wsdl: add proxy authentication
|
||||
- soapclient: add proxy authentication
|
||||
- soapclient: allow proxy information in ctor, so that it can be used for wsdl
|
||||
|
||||
2003-08-01, version 0.6.5
|
||||
- soap_transport_http: close a persistent connection that's at EOF
|
||||
- soap_transport_http: prevent conflicts between setEncoding and usePersistentConnection
|
||||
- soap_transport_http: fix use of $headers instead of $this->incoming_headers in getResponse
|
||||
- soapclient: improve handling of persistent connections
|
||||
- soapclient: force xml_encoding to upper case
|
||||
- soap_server: let the Web server decide whether to close the connection (no Connection: close header)
|
||||
- soap_server: force xml_encoding to upper case
|
||||
|
||||
2003-08-04, version 0.6.5
|
||||
- soap_parser: use XML type information to pick a PHP data type; also decode base64
|
||||
- soap_server: read all HTTP headers when using _SERVER or HTTP_SERVER_VARS
|
||||
- soap_server: add gzip encoding support for outgoing messages
|
||||
- soap_transport_http: deflate is gzcompress/gzuncompress (cf. http://archive.develooper.com/libwww@perl.org/msg04650.html)
|
||||
- soap_transport_http: clean use of persistentConnection so it's always a set boolean
|
||||
- soapclient: add responseData member to access deflated/gunzipped payload
|
||||
|
||||
2003-08-05, version 0.6.5
|
||||
- soap_server: look multiple places when setting debug_flag
|
||||
|
||||
2003-08-07, version 0.6.5
|
||||
- nusoap_base: serialize specified type (e.g. ArrayOfString) even for simple array
|
||||
- wsdl: only specify encodingStyle in the input/output soap bindings when it is not empty (thanks Guillaume)
|
||||
|
||||
2003-08-15, version 0.6.5
|
||||
- soap_parser: fix parsing of elements with no XSD type specified
|
||||
- soap_parser: use PHP string type for XSD long and unsignedLong types
|
||||
|
||||
2003-08-16, version 0.6.5
|
||||
- soap_parser: fix code generating warning (thanks Torsten)
|
||||
|
||||
2003-08-19, version 0.6.5
|
||||
- soap_parser: fix another line of code generating a warning (thanks Torsten)
|
||||
|
||||
2003-08-22, version 0.6.5
|
||||
- soap_server: remove all '--' from debug_str; previous code changed '---' to '- --'
|
||||
- wsdl, soapclient, soap_parser: patch submitted by Mark Spavin as described by
|
||||
the following...
|
||||
> Changes for the multiple/nested imports from the wsdl file. This builds an
|
||||
> array of files not just the last one and also checks for relative paths to
|
||||
> the parent. This will then get the imported files from the remote site
|
||||
> instead of your local disk. Local wsdl files should still work (untested).
|
||||
>
|
||||
> Changes for multiple encoding sytles as previously posted
|
||||
|
||||
2003-08-24, version 0.6.5
|
||||
- wsdl, soapclient: fix some PHP notices from previous update
|
||||
|
||||
2003-08-26, version 0.6.5
|
||||
- wsdl: support multiple SOAP ports
|
||||
- soapclient, soap_server: when no charset is specified, use UTF-8, even though HTTP specifies US-ASCII.
|
||||
- soap_transport_http: do not prepend $host with 'ssl://' for https (is this required for older cURL versions?)
|
||||
|
||||
2003-08-27, version 0.6.5
|
||||
- soap_server: support compressed request messages (thanks John Huong)
|
||||
- soap_parser: deserialize Apache Vector as an array
|
||||
- xmlschema: use $this->typemap in getPHPType (which is not used)
|
||||
- soapclient, wsdl: check for WSDL errors after serializing parameters
|
||||
- nusoap_base: add serialization of Apache Map (when not using WSDL)
|
||||
- wsdl: add serialization of Apache Map (when using WSDL)
|
||||
- wsdl: only change &, <, > to entities, not all HTML entities
|
||||
|
||||
2003-08-28, version 0.6.5
|
||||
- soap_transport_http: disable cURL verification of peer and server (formerly the cURL default)
|
||||
- soap_transport_http: mingle cURL code with straight http, so sendHTTP is no longer needed
|
||||
|
||||
2003-08-29, version 0.6.6
|
||||
- soap_transport_http: add setContentType
|
||||
- soapclient: call setContentType using new getHTTPContentType and getHTTPContentTypeCharset
|
||||
|
||||
2003-09-05, version 0.6.6
|
||||
- wsdl: add some more code to handle null/nil values (but there's still a way to go)
|
||||
|
||||
2003-10-21, version 0.6.6
|
||||
- soap_transport_http: only include port in Host header if it was specified in the URL
|
||||
- soap_transport_http: add some code to use OpenSSL for PHP ssl:// scheme, but comment out since it's not ready
|
||||
- soap_server: use $_SERVER['PHP_SELF'] if $GLOBALS['PHP_SELF'] is not set
|
||||
- wsdl: add WSDL request and response and transport debug to debug
|
||||
- wsdl: handle custom type extending xmlschema namespace (GLUE ... Thanks Matt)
|
||||
- soap_parser: add param to docs
|
||||
- soapclient: add getHTTPBody, getHTTPContentType, getHTTPContentTypeCharset (anticipating MIME subclass)
|
||||
|
||||
2003-10-28, version 0.6.6
|
||||
- nusoap_base: add expandEntities method
|
||||
- wsdl: use expandEntities
|
||||
- soap_fault: use expandEntities
|
||||
- soap_transport_http: Allow credentials to be included in URL, rather than requiring setCredentials
|
||||
- soap_transport_http: Merge HTTP headers that span multiple lines
|
||||
- soap_parser: Properly set errors in ctor
|
||||
- soapclient: Pass headers to parseResponse and parse them in that method
|
||||
|
||||
2003-10-30, version 0.6.6
|
||||
- xmlschema: Add some information for the related type to an element
|
||||
|
||||
2003-12-09, version 0.6.6
|
||||
- nusoap_base: Add some namespace methods previously in xmlschema
|
||||
- xmlschema: Improve parsing of complexType, element and simpleType
|
||||
- xmlschema: Improve serialization
|
||||
- xmlschema: Track imports
|
||||
- xmlschema: Track elementFormDefault and form attributes
|
||||
- wsdl: Support multiple <schema> (note that setting $server->wsdl->schemaTargetNamespace no longer does anything! Use configureWSDL instead.)
|
||||
- wsdl: Use form attribute of element to control namespace specification
|
||||
- wsdl: Support chained imports (A imports B which imports C)
|
||||
- wsdl: Include port in endpoint address when serializing
|
||||
- soap_server: Fix use of style (rpc|document) and use (encoded|literal)
|
||||
- soap_server: Support _SERVER[CONTENT_TYPE] in addition to _SERVER[HTTP_CONTENT_TYPE]
|
||||
- soap_server: Support wsdl with multiple <schema>
|
||||
- soap_client: Remove a var_dump
|
||||
- soap_client: Add style and use parameters to call method to support doc/lit without WSDL
|
||||
- soap_transport_http: Check that $this->fp exists when doing persistent connections
|
||||
|
||||
2003-12-17, version 0.6.6
|
||||
- soap_server: pass namespaces to xmlschema constructor
|
||||
- wsdl: post-process after all imports
|
||||
- wsdl: remove some debug, add some error handling
|
||||
- xmlschema: allow enclosing namespaces to be specified in constructor
|
||||
- xmlschema: improve handling of compositors and simple types
|
||||
|
||||
2004-01-08, version 0.6.6
|
||||
- soap_server: when requested WSDL is in a file, return to client using passthru (thanks Ingo Fischer)
|
||||
- soapclient: have proxy inherit more client state
|
||||
- soapclient: allow timeout and response timeout to be specified in the constructor
|
||||
- wsdl: allow timeout and response timeout to be specified in the constructor
|
||||
- soap_transport_http: allow response timeout to be specified in send and sendHTTPS
|
||||
|
||||
2004-01-28, version 0.6.6
|
||||
- wsdl: add namespace for array and scalar when form is qualified
|
||||
- wsdl: fix a bug in which data type of complexType elements were ignored in serialization
|
||||
- wsdl: enhance handling of URLs with file scheme
|
||||
- wsdl: add addSimpleType
|
||||
- xmlschema: add addSimpleType
|
||||
- xmlschema: always set phpType elements
|
||||
- soapclient: allow a wsdl instance to be specified in constructor
|
||||
- soap_server: allow a wsdl instance to be specified in constructor (not tested!)
|
||||
- soap_server: fix default SOAPAction created in register method
|
||||
- soap_transport_http: accept chunking with LF separators in addition to CRLF.
|
||||
- wsdlcache: added class
|
||||
- nusoapmime: fix comments
|
||||
|
||||
2004-02-23, version 0.6.6
|
||||
- soap_transport_http: don't try to unchunk cURL data, since cURL already does it
|
||||
- soap_transport_http: append CVS revision to version in User-Agent
|
||||
- wsdl: serialize boolean as true|false, not 1|0, to agree with XML Schema
|
||||
- soap_server: always exit() after returning WSDL
|
||||
- soap_server: use the WSDL URL scheme as the default endpoint URL scheme
|
||||
- soap_server: append CVS revision to version in X-SOAP-Server
|
||||
- nusoap_base: add (CVS) revision
|
||||
- wsdlcache: synchronize using a per-WSDL lock file (Thanks Ingo)
|
||||
- wsdlcache: add cache lifetime, after which cache contents are invalidated (Thanks Ingo)
|
||||
|
||||
2004-03-15, version 0.6.6
|
||||
- nusoap_base: add isArraySimpleOrStruct method
|
||||
- soap_server: improve WSDL URL scheme determination
|
||||
- soap_server: only deflate/gzip payloads > 1024 bytes
|
||||
- soap_server: fix parameter order in fault method (always used as faultcode, faultstring)
|
||||
- soap_server: refactor parse_request into multiple functions (for sanity)
|
||||
- soap_server: set the namespace on the Response element to the same as the request
|
||||
- soap_server: name the return value element 'return' by default
|
||||
- soap_server: added and documented data fields, so that service programmers can use them if desired
|
||||
- soap_parser: standardize parsing error message
|
||||
- soap_parser: fix document and responseHeaders so they are the correct XML text (as documented)
|
||||
- soap_transport_http: fix read from persistent connection
|
||||
- soapclient: clean up debugging for persistent connection
|
||||
- wsdl: enforce correct naming of messages parts when an associative array is used for parameters
|
||||
- wsdl: better serialization of null values
|
||||
- wsdl: standardize parsing error message
|
||||
- xmlschema: standardize parsing error message
|
||||
|
||||
2004-03-24, version 0.6.7
|
||||
- soap_transport_http: add digest authentication (based on code by Kevin A. Miller)
|
||||
- xmlschema: improve parsing of import elements
|
||||
- wsdl: do schema imports even if there are no wsdl imports
|
||||
|
||||
2004-04-12, version 0.6.7
|
||||
- wsdl: serialize multiple elements when maxOccurs="unbounded" and value is an array
|
||||
- wsdl: serialize soapval values (used to force an XML type, e.g. when WSDL uses an abstract type)
|
||||
- nusoapmime: do not require nusoap.php (it is now the programmer's responsibility)
|
||||
|
||||
2004-04-21, version 0.6.7
|
||||
- soap_parser: parse repeated element name into an array (de-serializes doc/lit array into a PHP array when there is more than 1 array element)
|
||||
- soap_server: do not wrap response in a response element for a document style service
|
||||
|
||||
2004-04-30, version 0.6.7
|
||||
- soap_transport_http: allow digest auth params to be separated by "," as well as ", "
|
||||
- soap_transport_http: re-initialize incoming headers for each response
|
||||
- soap_server: add methodreturnisliteralxml property to allow service function to return XML as a string
|
||||
- soapclient: improve rpc/literal support
|
||||
- soapclient: allow XML string as call params in addition to array
|
||||
- soapclient: support document style and literal encoding when not using WSDL
|
||||
|
||||
2004-05-05, version 0.6.7
|
||||
- wsdl: serialize PHP objects for WSDL XML Schema complexTypes, in addition to associative arrays
|
||||
- wsdl: fix WSDL generation when there is no encodingStyle
|
||||
- soap_transport_http: suppress fsockopen warnings
|
||||
- soap_transport_http: detect socket timeouts when reading (0 bytes returned)
|
||||
- soap_transport_http: read chunked content "in-line" so it works on a persistent connection
|
||||
- nusoap_base: serialize boolean as true|false, not 1|0, to agree with XML Schema
|
||||
- nusoap_base: serialize array of struct differently than array of array
|
||||
|
||||
2004-06-25, version 0.6.8
|
||||
- soap_server: prefer gzip to deflate, since IE does not like our deflate
|
||||
- soap_server: move webDescription to the wsdl class
|
||||
- soap_server: allow class and instance method calls for service (thanks Ingo Fischer and Roland Knall)
|
||||
- wsdl: get webDescription from the soap_server class
|
||||
- wsdl: allow compression from the server
|
||||
- wsdl: fix serialization of soapval without a type
|
||||
- wsdl: propagate debug value from query string to SOAP endpoint in programmatic WSDL generation
|
||||
- nusoap_base: add anyType, anySimpleType for 2001 XML Schema
|
||||
- nusoap_base: provide additional debug functions
|
||||
- soap_transport_http: ignore Content-Length when chunked encoding is used
|
||||
- soap_transport_http: remove ':' from username for Basic authentication (cf. RFC 2617)
|
||||
- soap_transport_http: urldecode username and password taken from URL
|
||||
- soap_transport_http: use raw inflate/deflate for IE/IIS compatibility, rather than having Zlib headers according to HTTP 1.1 spec
|
||||
- soap_transport_http: attempt to handle the case when both the service application and Web server compress the response
|
||||
- soapclient: when creating proxy methods, replace '.' in operation name with '__' in function name
|
||||
- soapclient: initialize requestHeaders in proxy
|
||||
- general: use new debug methods; never access debug_str directly
|
||||
|
||||
2004-09-30, version 0.6.8
|
||||
- soapclient: do not allow getProxy call when WSDL is not used
|
||||
- soapclient: use ISO-8859-1 as the charset if not specified in the Content-Type header
|
||||
- soapclient: when an empty string is specified for the call namespace, do not put the method element in a namespace
|
||||
- soapclient: let soap_transport_http check for SSL support
|
||||
- soapclient: have proxy inherit soap_defencoding from the client from which it is generated
|
||||
- soapclient: do not assume that 'ns1' is an unused namespace prefix; always generate namespace prefixes randomly
|
||||
- soap_parser: compare any encoding in the XML declaration to the charset from the HTTP Content-Type header (thanks Ingo Fischer)
|
||||
- soap_parser: improve parse repeated element name into an array (de-serializes doc/lit array into a PHP array when there is more than 1 array element)
|
||||
- soap_server: use ISO-8859-1 as the charset if not specified in the Content-Type header
|
||||
- soap_server: allow suppression of automatic UTF-8 decoding
|
||||
- soap_server: fix a bug when call_user_func_array() is used
|
||||
- soap_transport_http: correct digest authentication through a proxy
|
||||
- wsdl: serialize SOAP-ENC types similarly to XSD types
|
||||
- xmlschema: force unprefixed type into default namespace
|
||||
- xmlschema: fix serialization of definition of simple types
|
||||
|
||||
2004-10-01, version 0.6.8
|
||||
- soap_parser: handle default namespace attributes
|
||||
- soap_server: add default_utf8 field
|
||||
- soap_server: support literal encoding (with RPC style)
|
||||
- soap_transport_http: parse HTTP status and generate error for 300, 302-307, 400, 401-417, 501-505 (thanks for the idea Ghislain)
|
||||
- soap_transport_http: follow HTTP redirection (HTTP status 301 and Location header) (thanks for the idea Ghislain)
|
||||
- xmlschema: allow any attributes to be specified in an element of a complexType, e.g., abstract, default, form, minOccurs, maxOccurs, nillable (thanks Jirka Pech for the original patch)
|
||||
|
||||
2004-10-02, version 0.6.8
|
||||
- soapclient: read/write cookies (thanks Ingo)
|
||||
- soap_server: change faultcode on non-resendable faults to Client
|
||||
- soap_transport_http: read/write cookies (thanks Ingo)
|
||||
|
||||
2004-10-05, version 0.6.8
|
||||
- wsdl: add addElement method
|
||||
- wsdl: support the document style in the register method
|
||||
- xmlschema: parse unnamed simpleTypes, rather than ignoring them
|
||||
- xmlschema: include untyped elements when parsing a complexType
|
||||
- xmlschema: add addElement method
|
||||
|
||||
2004-10-14, version 0.6.8
|
||||
- soapclient: support client certificates
|
||||
- soap_parser: deserialize attributes, prefixing names with "!"
|
||||
- soap_server: notify the client with HTML when WSDL is requested but not supported by service
|
||||
- soap_transport_http: support client certificates
|
||||
- wsdl: support defaults for elements of a complexType
|
||||
- wsdl: serialize elements from complexType extension base
|
||||
- wsdl: serialize data (associative array elements) as attributes according to XML Schema
|
||||
- xmlschema: record extension base if present for a complexType
|
||||
|
||||
2004-12-15, version 0.6.8
|
||||
- nusoap_base: add 2000 XML Schema (rare, but used by Akamai)
|
||||
- soap_parser: avoid deserializing more common attributes that are not data
|
||||
- soap_parser: be lax when HTTP specifies ISO-8859-1 (the default) and XML specifies UTF-8 (the norm)
|
||||
- soap_server: account for the fact that get_class_methods returns methods in all lower case (thanks Steve Haldane)
|
||||
- soap_transport_http: parse digest info that includes '=' in the data (thanks Jinsuk Kim)
|
||||
- wsdl: feably handle some cases for literal serialization of form="unqualified" elements
|
||||
- wsdl: don't serialize the decimal portion of a PHP double when the XML type is long
|
||||
- wsdl: fix serialization of attributes for complexType that is an extension
|
||||
- wsdlcache: enhance diagnostics
|
||||
- xmlschema: handle untyped elements
|
||||
- xmlschema: handle WSDL for SOAP Array that uses the base attribute plus a sequence of element
|
||||
|
||||
2005-01-22, version 0.6.8
|
||||
- wsdl: allow an element in one schema to have a type from another schema
|
||||
|
||||
2005-01-24, version 0.6.8
|
||||
- xmlschema: correctly parse nested complexType definitions
|
||||
|
||||
2005-02-14, version 0.6.8
|
||||
- nusoap_base: fix a bug in which attributes were sometimes not serialized with a value
|
||||
- nusoap_base: improve serialization of null values (thanks Dominique Stender)
|
||||
- soap_parser: parse null values by handling the nil attribute (thanks Dominique Stender)
|
||||
- soap_server: set character encoding for a fault to be the same as for the server (thanks Mark Scott)
|
||||
- soap_server: correctly check for null value returned from method when WSDL is used (without WSDL, cannot distinguish whether NULL or void return is desired)
|
||||
- soapclient: for document style, call should always return an array rooted at the response part (all bets are off when there are multiple parts)
|
||||
- xmlschema: save enumeration values parsed from WSDL
|
||||
|
||||
2005-02-10, version 0.6.9
|
||||
- soapclient: only set SOAP headers when they are specified in call params (so setHeaders still works)
|
||||
|
||||
2005-04-04, version 0.6.9
|
||||
- soap_server: use get_class instead of is_a (thanks Thomas Noel)
|
||||
- soapclient: use get_class instead of is_a (thanks Thomas Noel)
|
||||
- soapclient: add setEndpoint method
|
||||
- soap_transport_http: fix client certificates (thanks Doug Anarino and Eryan Eriobowo)
|
||||
|
||||
2005-04-29, version 0.6.9
|
||||
- nusoap_base: add global variable and methods for setting debug level
|
||||
- nusoap_base: use xsd:anyType instead of xsd:ur-type to serialize arrays with multiple element types (thanks Ingo Fischer)
|
||||
- nusoap_base: expand entities in attributes (thanks Gaetano Giunta)
|
||||
- soapclient: call parent constructor
|
||||
- soapval: call parent constructor
|
||||
- soap_fault: call parent constructor
|
||||
- soap_parser: call parent constructor
|
||||
- soap_server: assume get_class_methods always returns lower case for PHP 4.x only
|
||||
- soap_server: call parent constructor
|
||||
- soap_transport_http: do nothing in setEncoding if gzdeflate is not present (thanks Franck Touanen for pointing this out)
|
||||
- soap_transport_http: fix check for server request for digest authentication (thanks Mark Spavin)
|
||||
- soap_transport_http: call parent constructor
|
||||
- wsdl: fix documentation page popup of one method after another (thanks Owen)
|
||||
- wsdl: call parent constructor
|
||||
- wsdl: expand entities in attributes (thanks Gaetano Giunta)
|
||||
- xmlschema: call parent constructor
|
||||
|
||||
2005-06-03, version 0.6.9
|
||||
- nusoap_base: serialize empty arrays as having elements xsd:anyType[0]
|
||||
- nusoap_base: add encodingStyle parameter to serializeEnvelope
|
||||
- nusoap_base: serialize xsi:type with nil values
|
||||
- nusoap_base: improve debug and comments
|
||||
- soap_parser: correctly parse an empty array to an empty array, not an empty string
|
||||
- soap_parser: improve debug and comments
|
||||
- soap_server: specify encodingStyle for envelope when WSDL is used
|
||||
- soapclient: factor out new getProxyClassCode method
|
||||
- soapclient: specify encodingStyle for envelope
|
||||
- soapclient: improve debug and comments
|
||||
- wsdl: add namespace for Apache SOAP types if a variable of such type is serialized
|
||||
- wsdl: serialize nil value for nillable elements when no value is provided
|
||||
- wsdl: serialize xsi:type with nil values
|
||||
- wsdl: copy attributes as well as elements to an element from its complexType
|
||||
- wsdl: specify encodingStyle for operations
|
||||
- wsdl: improve debug and comments
|
||||
- xmlschema: improve debug and comments
|
||||
|
||||
2005-06-03, version 0.7.0
|
||||
- nusoap_base: improve debug and comments
|
||||
- nusoap_base: fix version, which should have been 0.7.0 since 2005-03-04
|
||||
|
||||
2005-06-06, version 0.7.1
|
||||
- nusoap_base: adjust numeric element names for serialization, instead of forcing them to 'soapVal'
|
||||
- nusoapmime: add type=text/xml to multipart/related (thanks Emmanuel Cordonnier)
|
||||
- soap_fault: fix serialization of detail
|
||||
- soap_server: check required parameters for register method
|
||||
- soap_server: when getallheaders is used, massage header names
|
||||
- soap_server: use SOAPAction to determine operation when doc/lit service does not wrap parameters in an element with the method name (thanks Peter Hrastnik)
|
||||
- soap_transport_http: correctly handle multiple HTTP/1.1 100 responses for https (thanks Jan Slabon)
|
||||
- wsdl: fixed documentation for addComplexType (thanks Csintalan <20>d<EFBFBD>m)
|
||||
- wsdl: serialize array data when maxOccurs = 'unbounded' OR maxOccurs > 1 (thanks Dominique Schreckling)
|
||||
- wsdl: when serializing a string == 'false' as a boolean, set the value to false
|
||||
- wsdl: when serializing a complexType, require the PHP value supplied to be an array
|
||||
|
||||
2005-07-01, version 0.7.1
|
||||
- nusoap_base: Allow SOAP headers to be supplied as an array like parameters
|
||||
- soap_parser: de-serialize simpleContent that accompanies complexContent
|
||||
- soap_server: append debug information when programmatically-defined WSDL is returned
|
||||
- soap_transport_http: Add debug when an outgoing header is set
|
||||
- soapclient: Allow SOAP headers to be supplied as an array like parameters
|
||||
- xmlschema: serialize attributes more generally, rather than assuming they are for SOAP 1.1 Array
|
||||
- wsdl: when serializing, look up types by namespace, not prefix (simple programmatic doc/lit WSDL now seems to work)
|
||||
- wsdl: process namespace declarations first when parsing an element
|
||||
|
||||
2005-07-27, version 0.7.1
|
||||
- nusoap_base: do not override supplied element name with class name when serializing an object in serialize_val
|
||||
- nusoap_base: remove http://soapinterop.org/xsd (si) from namespaces array
|
||||
- nusoapmime: add nusoapservermime class to implement MIME attachments on the server
|
||||
- soap_fault: improve documentation
|
||||
- soap_server: improve documentation
|
||||
- soap_server: make consistent use of _SERVER and HTTP_SERVER_VARS
|
||||
- soap_server: make all incoming HTTP header keys lower case
|
||||
- soap_server: add hook functions to support subclassing for MIME attachments
|
||||
- soap_transport_http: remove an unnecessary global statement
|
||||
- soapclient: when creating a proxy, make $params within each function an associative array
|
||||
- soapval: improve documentation
|
||||
- wsdl: when serializing complexType elements, used typed serialization if there is either a type or a reference for the element
|
||||
- wsdl: allow PHP objects to be serialized as SOAP structs in serializeType
|
||||
- wsdl: for WSDL and XML Schema imports, don't forget to use the TCP port number (thanks Luca GIOPPO)
|
||||
- wsdl: make consistent use of _SERVER and HTTP_SERVER_VARS
|
||||
- xmlschema: improve documentation
|
||||
|
||||
2005-07-31, version 0.7.2
|
||||
- nusoap_base: correctly serialize attributes in serialize_val (thanks Hidran Arias)
|
||||
- soap_parser: when resolving references, do not assume that buildVal returns an array (thanks Akshell)
|
||||
- soap_parser: removed decode_entities, which does not work (thanks Martin Sarsale)
|
||||
- soap_server: fix a bug parsing headers from _SERVER and HTTP_SERVER_VARS (thanks Bert Catsburg)
|
||||
- soap_server: parse all "headers" from HTTP_SERVER_VARS (not just HTTP_*)
|
||||
- soap_server: use PHP_SELF instead of SCRIPT_NAME for WSDL endpoint
|
||||
- soap_server: when generating a fault while debug_flag is true, put debug into faultdetail
|
||||
- wsdl: add enumeration parameter to addSimpleType
|
||||
- xmlschema: add enumeration parameter to addSimpleType
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,86 +1,86 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Contains information for a SOAP fault.
|
||||
* Mainly used for returning faults from deployed functions
|
||||
* in a server instance.
|
||||
* @author Dietrich Ayala <dietrich@ganx4.com>
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class soap_fault extends nusoap_base {
|
||||
/**
|
||||
* The fault code (client|server)
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $faultcode;
|
||||
/**
|
||||
* The fault actor
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $faultactor;
|
||||
/**
|
||||
* The fault string, a description of the fault
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $faultstring;
|
||||
/**
|
||||
* The fault detail, typically a string or array of string
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $faultdetail;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param string $faultcode (client | server)
|
||||
* @param string $faultactor only used when msg routed between multiple actors
|
||||
* @param string $faultstring human readable error message
|
||||
* @param mixed $faultdetail detail, typically a string or array of string
|
||||
*/
|
||||
function soap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){
|
||||
parent::nusoap_base();
|
||||
$this->faultcode = $faultcode;
|
||||
$this->faultactor = $faultactor;
|
||||
$this->faultstring = $faultstring;
|
||||
$this->faultdetail = $faultdetail;
|
||||
}
|
||||
|
||||
/**
|
||||
* serialize a fault
|
||||
*
|
||||
* @return string The serialization of the fault instance.
|
||||
* @access public
|
||||
*/
|
||||
function serialize(){
|
||||
$ns_string = '';
|
||||
foreach($this->namespaces as $k => $v){
|
||||
$ns_string .= "\n xmlns:$k=\"$v\"";
|
||||
}
|
||||
$return_msg =
|
||||
'<?xml version="1.0" encoding="'.$this->soap_defencoding.'"?>'.
|
||||
'<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"'.$ns_string.">\n".
|
||||
'<SOAP-ENV:Body>'.
|
||||
'<SOAP-ENV:Fault>'.
|
||||
$this->serialize_val($this->faultcode, 'faultcode').
|
||||
$this->serialize_val($this->faultactor, 'faultactor').
|
||||
$this->serialize_val($this->faultstring, 'faultstring').
|
||||
$this->serialize_val($this->faultdetail, 'detail').
|
||||
'</SOAP-ENV:Fault>'.
|
||||
'</SOAP-ENV:Body>'.
|
||||
'</SOAP-ENV:Envelope>';
|
||||
return $return_msg;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Contains information for a SOAP fault.
|
||||
* Mainly used for returning faults from deployed functions
|
||||
* in a server instance.
|
||||
* @author Dietrich Ayala <dietrich@ganx4.com>
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class soap_fault extends nusoap_base {
|
||||
/**
|
||||
* The fault code (client|server)
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $faultcode;
|
||||
/**
|
||||
* The fault actor
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $faultactor;
|
||||
/**
|
||||
* The fault string, a description of the fault
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $faultstring;
|
||||
/**
|
||||
* The fault detail, typically a string or array of string
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $faultdetail;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param string $faultcode (client | server)
|
||||
* @param string $faultactor only used when msg routed between multiple actors
|
||||
* @param string $faultstring human readable error message
|
||||
* @param mixed $faultdetail detail, typically a string or array of string
|
||||
*/
|
||||
function soap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){
|
||||
parent::nusoap_base();
|
||||
$this->faultcode = $faultcode;
|
||||
$this->faultactor = $faultactor;
|
||||
$this->faultstring = $faultstring;
|
||||
$this->faultdetail = $faultdetail;
|
||||
}
|
||||
|
||||
/**
|
||||
* serialize a fault
|
||||
*
|
||||
* @return string The serialization of the fault instance.
|
||||
* @access public
|
||||
*/
|
||||
function serialize(){
|
||||
$ns_string = '';
|
||||
foreach($this->namespaces as $k => $v){
|
||||
$ns_string .= "\n xmlns:$k=\"$v\"";
|
||||
}
|
||||
$return_msg =
|
||||
'<?xml version="1.0" encoding="'.$this->soap_defencoding.'"?>'.
|
||||
'<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"'.$ns_string.">\n".
|
||||
'<SOAP-ENV:Body>'.
|
||||
'<SOAP-ENV:Fault>'.
|
||||
$this->serialize_val($this->faultcode, 'faultcode').
|
||||
$this->serialize_val($this->faultactor, 'faultactor').
|
||||
$this->serialize_val($this->faultstring, 'faultstring').
|
||||
$this->serialize_val($this->faultdetail, 'detail').
|
||||
'</SOAP-ENV:Fault>'.
|
||||
'</SOAP-ENV:Body>'.
|
||||
'</SOAP-ENV:Envelope>';
|
||||
return $return_msg;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,107 +1,107 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* For creating serializable abstractions of native PHP types. This class
|
||||
* allows element name/namespace, XSD type, and XML attributes to be
|
||||
* associated with a value. This is extremely useful when WSDL is not
|
||||
* used, but is also useful when WSDL is used with polymorphic types, including
|
||||
* xsd:anyType and user-defined types.
|
||||
*
|
||||
* @author Dietrich Ayala <dietrich@ganx4.com>
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class soapval extends nusoap_base {
|
||||
/**
|
||||
* The XML element name
|
||||
*
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $name;
|
||||
/**
|
||||
* The XML type name (string or false)
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $type;
|
||||
/**
|
||||
* The PHP value
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $value;
|
||||
/**
|
||||
* The XML element namespace (string or false)
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $element_ns;
|
||||
/**
|
||||
* The XML type namespace (string or false)
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $type_ns;
|
||||
/**
|
||||
* The XML element attributes (array or false)
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $attributes;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param string $name optional name
|
||||
* @param mixed $type optional type name
|
||||
* @param mixed $value optional value
|
||||
* @param mixed $element_ns optional namespace of value
|
||||
* @param mixed $type_ns optional namespace of type
|
||||
* @param mixed $attributes associative array of attributes to add to element serialization
|
||||
* @access public
|
||||
*/
|
||||
function soapval($name='soapval',$type=false,$value=-1,$element_ns=false,$type_ns=false,$attributes=false) {
|
||||
parent::nusoap_base();
|
||||
$this->name = $name;
|
||||
$this->type = $type;
|
||||
$this->value = $value;
|
||||
$this->element_ns = $element_ns;
|
||||
$this->type_ns = $type_ns;
|
||||
$this->attributes = $attributes;
|
||||
}
|
||||
|
||||
/**
|
||||
* return serialized value
|
||||
*
|
||||
* @param string $use The WSDL use value (encoded|literal)
|
||||
* @return string XML data
|
||||
* @access public
|
||||
*/
|
||||
function serialize($use='encoded') {
|
||||
return $this->serialize_val($this->value,$this->name,$this->type,$this->element_ns,$this->type_ns,$this->attributes,$use);
|
||||
}
|
||||
|
||||
/**
|
||||
* decodes a soapval object into a PHP native type
|
||||
*
|
||||
* @return mixed
|
||||
* @access public
|
||||
*/
|
||||
function decode(){
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* For creating serializable abstractions of native PHP types. This class
|
||||
* allows element name/namespace, XSD type, and XML attributes to be
|
||||
* associated with a value. This is extremely useful when WSDL is not
|
||||
* used, but is also useful when WSDL is used with polymorphic types, including
|
||||
* xsd:anyType and user-defined types.
|
||||
*
|
||||
* @author Dietrich Ayala <dietrich@ganx4.com>
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class soapval extends nusoap_base {
|
||||
/**
|
||||
* The XML element name
|
||||
*
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $name;
|
||||
/**
|
||||
* The XML type name (string or false)
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $type;
|
||||
/**
|
||||
* The PHP value
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $value;
|
||||
/**
|
||||
* The XML element namespace (string or false)
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $element_ns;
|
||||
/**
|
||||
* The XML type namespace (string or false)
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $type_ns;
|
||||
/**
|
||||
* The XML element attributes (array or false)
|
||||
*
|
||||
* @var mixed
|
||||
* @access private
|
||||
*/
|
||||
var $attributes;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param string $name optional name
|
||||
* @param mixed $type optional type name
|
||||
* @param mixed $value optional value
|
||||
* @param mixed $element_ns optional namespace of value
|
||||
* @param mixed $type_ns optional namespace of type
|
||||
* @param mixed $attributes associative array of attributes to add to element serialization
|
||||
* @access public
|
||||
*/
|
||||
function soapval($name='soapval',$type=false,$value=-1,$element_ns=false,$type_ns=false,$attributes=false) {
|
||||
parent::nusoap_base();
|
||||
$this->name = $name;
|
||||
$this->type = $type;
|
||||
$this->value = $value;
|
||||
$this->element_ns = $element_ns;
|
||||
$this->type_ns = $type_ns;
|
||||
$this->attributes = $attributes;
|
||||
}
|
||||
|
||||
/**
|
||||
* return serialized value
|
||||
*
|
||||
* @param string $use The WSDL use value (encoded|literal)
|
||||
* @return string XML data
|
||||
* @access public
|
||||
*/
|
||||
function serialize($use='encoded') {
|
||||
return $this->serialize_val($this->value,$this->name,$this->type,$this->element_ns,$this->type_ns,$this->attributes,$use);
|
||||
}
|
||||
|
||||
/**
|
||||
* decodes a soapval object into a PHP native type
|
||||
*
|
||||
* @return mixed
|
||||
* @access public
|
||||
*/
|
||||
function decode(){
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,184 +1,184 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* caches instances of the wsdl class
|
||||
*
|
||||
* @author Scott Nichol <snichol@computer.org>
|
||||
* @author Ingo Fischer <ingo@apollon.de>
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class wsdlcache {
|
||||
/**
|
||||
* @var resource
|
||||
* @access private
|
||||
*/
|
||||
var $fplock;
|
||||
/**
|
||||
* @var integer
|
||||
* @access private
|
||||
*/
|
||||
var $cache_lifetime;
|
||||
/**
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $cache_dir;
|
||||
/**
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $debug_str = '';
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param string $cache_dir directory for cache-files
|
||||
* @param integer $cache_lifetime lifetime for caching-files in seconds or 0 for unlimited
|
||||
* @access public
|
||||
*/
|
||||
function wsdlcache($cache_dir='.', $cache_lifetime=0) {
|
||||
$this->fplock = array();
|
||||
$this->cache_dir = $cache_dir != '' ? $cache_dir : '.';
|
||||
$this->cache_lifetime = $cache_lifetime;
|
||||
}
|
||||
|
||||
/**
|
||||
* creates the filename used to cache a wsdl instance
|
||||
*
|
||||
* @param string $wsdl The URL of the wsdl instance
|
||||
* @return string The filename used to cache the instance
|
||||
* @access private
|
||||
*/
|
||||
function createFilename($wsdl) {
|
||||
return $this->cache_dir.'/wsdlcache-' . md5($wsdl);
|
||||
}
|
||||
|
||||
/**
|
||||
* adds debug data to the class level debug string
|
||||
*
|
||||
* @param string $string debug data
|
||||
* @access private
|
||||
*/
|
||||
function debug($string){
|
||||
$this->debug_str .= get_class($this).": $string\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* gets a wsdl instance from the cache
|
||||
*
|
||||
* @param string $wsdl The URL of the wsdl instance
|
||||
* @return object wsdl The cached wsdl instance, null if the instance is not in the cache
|
||||
* @access public
|
||||
*/
|
||||
function get($wsdl) {
|
||||
$filename = $this->createFilename($wsdl);
|
||||
if ($this->obtainMutex($filename, "r")) {
|
||||
// check for expired WSDL that must be removed from the cache
|
||||
if ($this->cache_lifetime > 0) {
|
||||
if (file_exists($filename) && (time() - filemtime($filename) > $this->cache_lifetime)) {
|
||||
unlink($filename);
|
||||
$this->debug("Expired $wsdl ($filename) from cache");
|
||||
$this->releaseMutex($filename);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
// see what there is to return
|
||||
$fp = @fopen($filename, "r");
|
||||
if ($fp) {
|
||||
$s = implode("", @file($filename));
|
||||
fclose($fp);
|
||||
$this->debug("Got $wsdl ($filename) from cache");
|
||||
} else {
|
||||
$s = null;
|
||||
$this->debug("$wsdl ($filename) not in cache");
|
||||
}
|
||||
$this->releaseMutex($filename);
|
||||
return (!is_null($s)) ? unserialize($s) : null;
|
||||
} else {
|
||||
$this->debug("Unable to obtain mutex for $filename in get");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* obtains the local mutex
|
||||
*
|
||||
* @param string $filename The Filename of the Cache to lock
|
||||
* @param string $mode The open-mode ("r" or "w") or the file - affects lock-mode
|
||||
* @return boolean Lock successfully obtained ?!
|
||||
* @access private
|
||||
*/
|
||||
function obtainMutex($filename, $mode) {
|
||||
if (isset($this->fplock[md5($filename)])) {
|
||||
$this->debug("Lock for $filename already exists");
|
||||
return false;
|
||||
}
|
||||
$this->fplock[md5($filename)] = fopen($filename.".lock", "w");
|
||||
if ($mode == "r") {
|
||||
return flock($this->fplock[md5($filename)], LOCK_SH);
|
||||
} else {
|
||||
return flock($this->fplock[md5($filename)], LOCK_EX);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* adds a wsdl instance to the cache
|
||||
*
|
||||
* @param object wsdl $wsdl_instance The wsdl instance to add
|
||||
* @return boolean WSDL successfully cached
|
||||
* @access public
|
||||
*/
|
||||
function put($wsdl_instance) {
|
||||
$filename = $this->createFilename($wsdl_instance->wsdl);
|
||||
$s = serialize($wsdl_instance);
|
||||
if ($this->obtainMutex($filename, "w")) {
|
||||
$fp = fopen($filename, "w");
|
||||
fputs($fp, $s);
|
||||
fclose($fp);
|
||||
$this->debug("Put $wsdl_instance->wsdl ($filename) in cache");
|
||||
$this->releaseMutex($filename);
|
||||
return true;
|
||||
} else {
|
||||
$this->debug("Unable to obtain mutex for $filename in put");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* releases the local mutex
|
||||
*
|
||||
* @param string $filename The Filename of the Cache to lock
|
||||
* @return boolean Lock successfully released
|
||||
* @access private
|
||||
*/
|
||||
function releaseMutex($filename) {
|
||||
$ret = flock($this->fplock[md5($filename)], LOCK_UN);
|
||||
fclose($this->fplock[md5($filename)]);
|
||||
unset($this->fplock[md5($filename)]);
|
||||
if (! $ret) {
|
||||
$this->debug("Not able to release lock for $filename");
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* removes a wsdl instance from the cache
|
||||
*
|
||||
* @param string $wsdl The URL of the wsdl instance
|
||||
* @return boolean Whether there was an instance to remove
|
||||
* @access public
|
||||
*/
|
||||
function remove($wsdl) {
|
||||
$filename = $this->createFilename($wsdl);
|
||||
// ignore errors obtaining mutex
|
||||
$this->obtainMutex($filename, "w");
|
||||
$ret = unlink($filename);
|
||||
$this->debug("Removed ($ret) $wsdl ($filename) from cache");
|
||||
$this->releaseMutex($filename);
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* caches instances of the wsdl class
|
||||
*
|
||||
* @author Scott Nichol <snichol@computer.org>
|
||||
* @author Ingo Fischer <ingo@apollon.de>
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class wsdlcache {
|
||||
/**
|
||||
* @var resource
|
||||
* @access private
|
||||
*/
|
||||
var $fplock;
|
||||
/**
|
||||
* @var integer
|
||||
* @access private
|
||||
*/
|
||||
var $cache_lifetime;
|
||||
/**
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $cache_dir;
|
||||
/**
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $debug_str = '';
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param string $cache_dir directory for cache-files
|
||||
* @param integer $cache_lifetime lifetime for caching-files in seconds or 0 for unlimited
|
||||
* @access public
|
||||
*/
|
||||
function wsdlcache($cache_dir='.', $cache_lifetime=0) {
|
||||
$this->fplock = array();
|
||||
$this->cache_dir = $cache_dir != '' ? $cache_dir : '.';
|
||||
$this->cache_lifetime = $cache_lifetime;
|
||||
}
|
||||
|
||||
/**
|
||||
* creates the filename used to cache a wsdl instance
|
||||
*
|
||||
* @param string $wsdl The URL of the wsdl instance
|
||||
* @return string The filename used to cache the instance
|
||||
* @access private
|
||||
*/
|
||||
function createFilename($wsdl) {
|
||||
return $this->cache_dir.'/wsdlcache-' . md5($wsdl);
|
||||
}
|
||||
|
||||
/**
|
||||
* adds debug data to the class level debug string
|
||||
*
|
||||
* @param string $string debug data
|
||||
* @access private
|
||||
*/
|
||||
function debug($string){
|
||||
$this->debug_str .= get_class($this).": $string\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* gets a wsdl instance from the cache
|
||||
*
|
||||
* @param string $wsdl The URL of the wsdl instance
|
||||
* @return object wsdl The cached wsdl instance, null if the instance is not in the cache
|
||||
* @access public
|
||||
*/
|
||||
function get($wsdl) {
|
||||
$filename = $this->createFilename($wsdl);
|
||||
if ($this->obtainMutex($filename, "r")) {
|
||||
// check for expired WSDL that must be removed from the cache
|
||||
if ($this->cache_lifetime > 0) {
|
||||
if (file_exists($filename) && (time() - filemtime($filename) > $this->cache_lifetime)) {
|
||||
unlink($filename);
|
||||
$this->debug("Expired $wsdl ($filename) from cache");
|
||||
$this->releaseMutex($filename);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
// see what there is to return
|
||||
$fp = @fopen($filename, "r");
|
||||
if ($fp) {
|
||||
$s = implode("", @file($filename));
|
||||
fclose($fp);
|
||||
$this->debug("Got $wsdl ($filename) from cache");
|
||||
} else {
|
||||
$s = null;
|
||||
$this->debug("$wsdl ($filename) not in cache");
|
||||
}
|
||||
$this->releaseMutex($filename);
|
||||
return (!is_null($s)) ? unserialize($s) : null;
|
||||
} else {
|
||||
$this->debug("Unable to obtain mutex for $filename in get");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* obtains the local mutex
|
||||
*
|
||||
* @param string $filename The Filename of the Cache to lock
|
||||
* @param string $mode The open-mode ("r" or "w") or the file - affects lock-mode
|
||||
* @return boolean Lock successfully obtained ?!
|
||||
* @access private
|
||||
*/
|
||||
function obtainMutex($filename, $mode) {
|
||||
if (isset($this->fplock[md5($filename)])) {
|
||||
$this->debug("Lock for $filename already exists");
|
||||
return false;
|
||||
}
|
||||
$this->fplock[md5($filename)] = fopen($filename.".lock", "w");
|
||||
if ($mode == "r") {
|
||||
return flock($this->fplock[md5($filename)], LOCK_SH);
|
||||
} else {
|
||||
return flock($this->fplock[md5($filename)], LOCK_EX);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* adds a wsdl instance to the cache
|
||||
*
|
||||
* @param object wsdl $wsdl_instance The wsdl instance to add
|
||||
* @return boolean WSDL successfully cached
|
||||
* @access public
|
||||
*/
|
||||
function put($wsdl_instance) {
|
||||
$filename = $this->createFilename($wsdl_instance->wsdl);
|
||||
$s = serialize($wsdl_instance);
|
||||
if ($this->obtainMutex($filename, "w")) {
|
||||
$fp = fopen($filename, "w");
|
||||
fputs($fp, $s);
|
||||
fclose($fp);
|
||||
$this->debug("Put $wsdl_instance->wsdl ($filename) in cache");
|
||||
$this->releaseMutex($filename);
|
||||
return true;
|
||||
} else {
|
||||
$this->debug("Unable to obtain mutex for $filename in put");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* releases the local mutex
|
||||
*
|
||||
* @param string $filename The Filename of the Cache to lock
|
||||
* @return boolean Lock successfully released
|
||||
* @access private
|
||||
*/
|
||||
function releaseMutex($filename) {
|
||||
$ret = flock($this->fplock[md5($filename)], LOCK_UN);
|
||||
fclose($this->fplock[md5($filename)]);
|
||||
unset($this->fplock[md5($filename)]);
|
||||
if (! $ret) {
|
||||
$this->debug("Not able to release lock for $filename");
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* removes a wsdl instance from the cache
|
||||
*
|
||||
* @param string $wsdl The URL of the wsdl instance
|
||||
* @return boolean Whether there was an instance to remove
|
||||
* @access public
|
||||
*/
|
||||
function remove($wsdl) {
|
||||
$filename = $this->createFilename($wsdl);
|
||||
// ignore errors obtaining mutex
|
||||
$this->obtainMutex($filename, "w");
|
||||
$ret = unlink($filename);
|
||||
$this->debug("Removed ($ret) $wsdl ($filename) from cache");
|
||||
$this->releaseMutex($filename);
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,478 +1,478 @@
|
||||
<?php
|
||||
/*
|
||||
$Id$
|
||||
|
||||
NuSOAP - Web Services Toolkit for PHP
|
||||
|
||||
Copyright (c) 2002 NuSphere Corporation
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
If you have any questions or comments, please email:
|
||||
|
||||
Dietrich Ayala
|
||||
dietrich@ganx4.com
|
||||
http://dietrich.ganx4.com/nusoap
|
||||
|
||||
NuSphere Corporation
|
||||
http://www.nusphere.com
|
||||
|
||||
*/
|
||||
|
||||
/*require_once('nusoap.php');*/
|
||||
/* PEAR Mail_MIME library */
|
||||
require_once('Mail/mimeDecode.php');
|
||||
require_once('Mail/mimePart.php');
|
||||
|
||||
/**
|
||||
* soapclientmime client supporting MIME attachments defined at
|
||||
* http://www.w3.org/TR/SOAP-attachments. It depends on the PEAR Mail_MIME library.
|
||||
*
|
||||
* @author Scott Nichol <snichol@sourceforge.net>
|
||||
* @author Thanks to Guillaume and Henning Reich for posting great attachment code to the mail list
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class soapclientmime extends soapclient {
|
||||
/**
|
||||
* @var array Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid
|
||||
* @access private
|
||||
*/
|
||||
var $requestAttachments = array();
|
||||
/**
|
||||
* @var array Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid
|
||||
* @access private
|
||||
*/
|
||||
var $responseAttachments;
|
||||
/**
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $mimeContentType;
|
||||
|
||||
/**
|
||||
* adds a MIME attachment to the current request.
|
||||
*
|
||||
* If the $data parameter contains an empty string, this method will read
|
||||
* the contents of the file named by the $filename parameter.
|
||||
*
|
||||
* If the $cid parameter is false, this method will generate the cid.
|
||||
*
|
||||
* @param string $data The data of the attachment
|
||||
* @param string $filename The filename of the attachment (default is empty string)
|
||||
* @param string $contenttype The MIME Content-Type of the attachment (default is application/octet-stream)
|
||||
* @param string $cid The content-id (cid) of the attachment (default is false)
|
||||
* @return string The content-id (cid) of the attachment
|
||||
* @access public
|
||||
*/
|
||||
function addAttachment($data, $filename = '', $contenttype = 'application/octet-stream', $cid = false) {
|
||||
if (! $cid) {
|
||||
$cid = md5(uniqid(time()));
|
||||
}
|
||||
|
||||
$info['data'] = $data;
|
||||
$info['filename'] = $filename;
|
||||
$info['contenttype'] = $contenttype;
|
||||
$info['cid'] = $cid;
|
||||
|
||||
$this->requestAttachments[] = $info;
|
||||
|
||||
return $cid;
|
||||
}
|
||||
|
||||
/**
|
||||
* clears the MIME attachments for the current request.
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
function clearAttachments() {
|
||||
$this->requestAttachments = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the MIME attachments from the current response.
|
||||
*
|
||||
* Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid. These keys correspond to the parameters
|
||||
* for addAttachment.
|
||||
*
|
||||
* @return array The attachments.
|
||||
* @access public
|
||||
*/
|
||||
function getAttachments() {
|
||||
return $this->responseAttachments;
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP body for the current request.
|
||||
*
|
||||
* @param string $soapmsg The SOAP payload
|
||||
* @return string The HTTP body, which includes the SOAP payload
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPBody($soapmsg) {
|
||||
if (count($this->requestAttachments) > 0) {
|
||||
$params['content_type'] = 'multipart/related; type=text/xml';
|
||||
$mimeMessage =& new Mail_mimePart('', $params);
|
||||
unset($params);
|
||||
|
||||
$params['content_type'] = 'text/xml';
|
||||
$params['encoding'] = '8bit';
|
||||
$params['charset'] = $this->soap_defencoding;
|
||||
$mimeMessage->addSubpart($soapmsg, $params);
|
||||
|
||||
foreach ($this->requestAttachments as $att) {
|
||||
unset($params);
|
||||
|
||||
$params['content_type'] = $att['contenttype'];
|
||||
$params['encoding'] = 'base64';
|
||||
$params['disposition'] = 'attachment';
|
||||
$params['dfilename'] = $att['filename'];
|
||||
$params['cid'] = $att['cid'];
|
||||
|
||||
if ($att['data'] == '' && $att['filename'] <> '') {
|
||||
if ($fd = fopen($att['filename'], 'rb')) {
|
||||
$data = fread($fd, filesize($att['filename']));
|
||||
fclose($fd);
|
||||
} else {
|
||||
$data = '';
|
||||
}
|
||||
$mimeMessage->addSubpart($data, $params);
|
||||
} else {
|
||||
$mimeMessage->addSubpart($att['data'], $params);
|
||||
}
|
||||
}
|
||||
|
||||
$output = $mimeMessage->encode();
|
||||
$mimeHeaders = $output['headers'];
|
||||
|
||||
foreach ($mimeHeaders as $k => $v) {
|
||||
$this->debug("MIME header $k: $v");
|
||||
if (strtolower($k) == 'content-type') {
|
||||
// PHP header() seems to strip leading whitespace starting
|
||||
// the second line, so force everything to one line
|
||||
$this->mimeContentType = str_replace("\r\n", " ", $v);
|
||||
}
|
||||
}
|
||||
|
||||
return $output['body'];
|
||||
}
|
||||
|
||||
return parent::getHTTPBody($soapmsg);
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP content type for the current request.
|
||||
*
|
||||
* Note: getHTTPBody must be called before this.
|
||||
*
|
||||
* @return string the HTTP content type for the current request.
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPContentType() {
|
||||
if (count($this->requestAttachments) > 0) {
|
||||
return $this->mimeContentType;
|
||||
}
|
||||
return parent::getHTTPContentType();
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP content type charset for the current request.
|
||||
* returns false for non-text content types.
|
||||
*
|
||||
* Note: getHTTPBody must be called before this.
|
||||
*
|
||||
* @return string the HTTP content type charset for the current request.
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPContentTypeCharset() {
|
||||
if (count($this->requestAttachments) > 0) {
|
||||
return false;
|
||||
}
|
||||
return parent::getHTTPContentTypeCharset();
|
||||
}
|
||||
|
||||
/**
|
||||
* processes SOAP message returned from server
|
||||
*
|
||||
* @param array $headers The HTTP headers
|
||||
* @param string $data unprocessed response data from server
|
||||
* @return mixed value of the message, decoded into a PHP type
|
||||
* @access private
|
||||
*/
|
||||
function parseResponse($headers, $data) {
|
||||
$this->debug('Entering parseResponse() for payload of length ' . strlen($data) . ' and type of ' . $headers['content-type']);
|
||||
$this->responseAttachments = array();
|
||||
if (strstr($headers['content-type'], 'multipart/related')) {
|
||||
$this->debug('Decode multipart/related');
|
||||
$input = '';
|
||||
foreach ($headers as $k => $v) {
|
||||
$input .= "$k: $v\r\n";
|
||||
}
|
||||
$params['input'] = $input . "\r\n" . $data;
|
||||
$params['include_bodies'] = true;
|
||||
$params['decode_bodies'] = true;
|
||||
$params['decode_headers'] = true;
|
||||
|
||||
$structure = Mail_mimeDecode::decode($params);
|
||||
|
||||
foreach ($structure->parts as $part) {
|
||||
if (!isset($part->disposition)) {
|
||||
$this->debug('Have root part of type ' . $part->headers['content-type']);
|
||||
$return = parent::parseResponse($part->headers, $part->body);
|
||||
} else {
|
||||
$this->debug('Have an attachment of type ' . $part->headers['content-type']);
|
||||
$info['data'] = $part->body;
|
||||
$info['filename'] = isset($part->d_parameters['filename']) ? $part->d_parameters['filename'] : '';
|
||||
$info['contenttype'] = $part->headers['content-type'];
|
||||
$info['cid'] = $part->headers['content-id'];
|
||||
$this->responseAttachments[] = $info;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($return)) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
$this->setError('No root part found in multipart/related content');
|
||||
return;
|
||||
}
|
||||
$this->debug('Not multipart/related');
|
||||
return parent::parseResponse($headers, $data);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* nusoapservermime server supporting MIME attachments defined at
|
||||
* http://www.w3.org/TR/SOAP-attachments. It depends on the PEAR Mail_MIME library.
|
||||
*
|
||||
* @author Scott Nichol <snichol@sourceforge.net>
|
||||
* @author Thanks to Guillaume and Henning Reich for posting great attachment code to the mail list
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class nusoapservermime extends soap_server {
|
||||
/**
|
||||
* @var array Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid
|
||||
* @access private
|
||||
*/
|
||||
var $requestAttachments = array();
|
||||
/**
|
||||
* @var array Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid
|
||||
* @access private
|
||||
*/
|
||||
var $responseAttachments;
|
||||
/**
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $mimeContentType;
|
||||
|
||||
/**
|
||||
* adds a MIME attachment to the current response.
|
||||
*
|
||||
* If the $data parameter contains an empty string, this method will read
|
||||
* the contents of the file named by the $filename parameter.
|
||||
*
|
||||
* If the $cid parameter is false, this method will generate the cid.
|
||||
*
|
||||
* @param string $data The data of the attachment
|
||||
* @param string $filename The filename of the attachment (default is empty string)
|
||||
* @param string $contenttype The MIME Content-Type of the attachment (default is application/octet-stream)
|
||||
* @param string $cid The content-id (cid) of the attachment (default is false)
|
||||
* @return string The content-id (cid) of the attachment
|
||||
* @access public
|
||||
*/
|
||||
function addAttachment($data, $filename = '', $contenttype = 'application/octet-stream', $cid = false) {
|
||||
if (! $cid) {
|
||||
$cid = md5(uniqid(time()));
|
||||
}
|
||||
|
||||
$info['data'] = $data;
|
||||
$info['filename'] = $filename;
|
||||
$info['contenttype'] = $contenttype;
|
||||
$info['cid'] = $cid;
|
||||
|
||||
$this->responseAttachments[] = $info;
|
||||
|
||||
return $cid;
|
||||
}
|
||||
|
||||
/**
|
||||
* clears the MIME attachments for the current response.
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
function clearAttachments() {
|
||||
$this->responseAttachments = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the MIME attachments from the current request.
|
||||
*
|
||||
* Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid. These keys correspond to the parameters
|
||||
* for addAttachment.
|
||||
*
|
||||
* @return array The attachments.
|
||||
* @access public
|
||||
*/
|
||||
function getAttachments() {
|
||||
return $this->requestAttachments;
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP body for the current response.
|
||||
*
|
||||
* @param string $soapmsg The SOAP payload
|
||||
* @return string The HTTP body, which includes the SOAP payload
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPBody($soapmsg) {
|
||||
if (count($this->responseAttachments) > 0) {
|
||||
$params['content_type'] = 'multipart/related; type=text/xml';
|
||||
$mimeMessage =& new Mail_mimePart('', $params);
|
||||
unset($params);
|
||||
|
||||
$params['content_type'] = 'text/xml';
|
||||
$params['encoding'] = '8bit';
|
||||
$params['charset'] = $this->soap_defencoding;
|
||||
$mimeMessage->addSubpart($soapmsg, $params);
|
||||
|
||||
foreach ($this->responseAttachments as $att) {
|
||||
unset($params);
|
||||
|
||||
$params['content_type'] = $att['contenttype'];
|
||||
$params['encoding'] = 'base64';
|
||||
$params['disposition'] = 'attachment';
|
||||
$params['dfilename'] = $att['filename'];
|
||||
$params['cid'] = $att['cid'];
|
||||
|
||||
if ($att['data'] == '' && $att['filename'] <> '') {
|
||||
if ($fd = fopen($att['filename'], 'rb')) {
|
||||
$data = fread($fd, filesize($att['filename']));
|
||||
fclose($fd);
|
||||
} else {
|
||||
$data = '';
|
||||
}
|
||||
$mimeMessage->addSubpart($data, $params);
|
||||
} else {
|
||||
$mimeMessage->addSubpart($att['data'], $params);
|
||||
}
|
||||
}
|
||||
|
||||
$output = $mimeMessage->encode();
|
||||
$mimeHeaders = $output['headers'];
|
||||
|
||||
foreach ($mimeHeaders as $k => $v) {
|
||||
$this->debug("MIME header $k: $v");
|
||||
if (strtolower($k) == 'content-type') {
|
||||
// PHP header() seems to strip leading whitespace starting
|
||||
// the second line, so force everything to one line
|
||||
$this->mimeContentType = str_replace("\r\n", " ", $v);
|
||||
}
|
||||
}
|
||||
|
||||
return $output['body'];
|
||||
}
|
||||
|
||||
return parent::getHTTPBody($soapmsg);
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP content type for the current response.
|
||||
*
|
||||
* Note: getHTTPBody must be called before this.
|
||||
*
|
||||
* @return string the HTTP content type for the current response.
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPContentType() {
|
||||
if (count($this->responseAttachments) > 0) {
|
||||
return $this->mimeContentType;
|
||||
}
|
||||
return parent::getHTTPContentType();
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP content type charset for the current response.
|
||||
* returns false for non-text content types.
|
||||
*
|
||||
* Note: getHTTPBody must be called before this.
|
||||
*
|
||||
* @return string the HTTP content type charset for the current response.
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPContentTypeCharset() {
|
||||
if (count($this->responseAttachments) > 0) {
|
||||
return false;
|
||||
}
|
||||
return parent::getHTTPContentTypeCharset();
|
||||
}
|
||||
|
||||
/**
|
||||
* processes SOAP message received from client
|
||||
*
|
||||
* @param array $headers The HTTP headers
|
||||
* @param string $data unprocessed request data from client
|
||||
* @return mixed value of the message, decoded into a PHP type
|
||||
* @access private
|
||||
*/
|
||||
function parseRequest($headers, $data) {
|
||||
$this->debug('Entering parseRequest() for payload of length ' . strlen($data) . ' and type of ' . $headers['content-type']);
|
||||
$this->requestAttachments = array();
|
||||
if (strstr($headers['content-type'], 'multipart/related')) {
|
||||
$this->debug('Decode multipart/related');
|
||||
$input = '';
|
||||
foreach ($headers as $k => $v) {
|
||||
$input .= "$k: $v\r\n";
|
||||
}
|
||||
$params['input'] = $input . "\r\n" . $data;
|
||||
$params['include_bodies'] = true;
|
||||
$params['decode_bodies'] = true;
|
||||
$params['decode_headers'] = true;
|
||||
|
||||
$structure = Mail_mimeDecode::decode($params);
|
||||
|
||||
foreach ($structure->parts as $part) {
|
||||
if (!isset($part->disposition)) {
|
||||
$this->debug('Have root part of type ' . $part->headers['content-type']);
|
||||
$return = parent::parseRequest($part->headers, $part->body);
|
||||
} else {
|
||||
$this->debug('Have an attachment of type ' . $part->headers['content-type']);
|
||||
$info['data'] = $part->body;
|
||||
$info['filename'] = isset($part->d_parameters['filename']) ? $part->d_parameters['filename'] : '';
|
||||
$info['contenttype'] = $part->headers['content-type'];
|
||||
$info['cid'] = $part->headers['content-id'];
|
||||
$this->requestAttachments[] = $info;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($return)) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
$this->setError('No root part found in multipart/related content');
|
||||
return;
|
||||
}
|
||||
$this->debug('Not multipart/related');
|
||||
return parent::parseRequest($headers, $data);
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/*
|
||||
$Id$
|
||||
|
||||
NuSOAP - Web Services Toolkit for PHP
|
||||
|
||||
Copyright (c) 2002 NuSphere Corporation
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
If you have any questions or comments, please email:
|
||||
|
||||
Dietrich Ayala
|
||||
dietrich@ganx4.com
|
||||
http://dietrich.ganx4.com/nusoap
|
||||
|
||||
NuSphere Corporation
|
||||
http://www.nusphere.com
|
||||
|
||||
*/
|
||||
|
||||
/*require_once('nusoap.php');*/
|
||||
/* PEAR Mail_MIME library */
|
||||
require_once('Mail/mimeDecode.php');
|
||||
require_once('Mail/mimePart.php');
|
||||
|
||||
/**
|
||||
* soapclientmime client supporting MIME attachments defined at
|
||||
* http://www.w3.org/TR/SOAP-attachments. It depends on the PEAR Mail_MIME library.
|
||||
*
|
||||
* @author Scott Nichol <snichol@sourceforge.net>
|
||||
* @author Thanks to Guillaume and Henning Reich for posting great attachment code to the mail list
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class soapclientmime extends soapclient {
|
||||
/**
|
||||
* @var array Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid
|
||||
* @access private
|
||||
*/
|
||||
var $requestAttachments = array();
|
||||
/**
|
||||
* @var array Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid
|
||||
* @access private
|
||||
*/
|
||||
var $responseAttachments;
|
||||
/**
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $mimeContentType;
|
||||
|
||||
/**
|
||||
* adds a MIME attachment to the current request.
|
||||
*
|
||||
* If the $data parameter contains an empty string, this method will read
|
||||
* the contents of the file named by the $filename parameter.
|
||||
*
|
||||
* If the $cid parameter is false, this method will generate the cid.
|
||||
*
|
||||
* @param string $data The data of the attachment
|
||||
* @param string $filename The filename of the attachment (default is empty string)
|
||||
* @param string $contenttype The MIME Content-Type of the attachment (default is application/octet-stream)
|
||||
* @param string $cid The content-id (cid) of the attachment (default is false)
|
||||
* @return string The content-id (cid) of the attachment
|
||||
* @access public
|
||||
*/
|
||||
function addAttachment($data, $filename = '', $contenttype = 'application/octet-stream', $cid = false) {
|
||||
if (! $cid) {
|
||||
$cid = md5(uniqid(time()));
|
||||
}
|
||||
|
||||
$info['data'] = $data;
|
||||
$info['filename'] = $filename;
|
||||
$info['contenttype'] = $contenttype;
|
||||
$info['cid'] = $cid;
|
||||
|
||||
$this->requestAttachments[] = $info;
|
||||
|
||||
return $cid;
|
||||
}
|
||||
|
||||
/**
|
||||
* clears the MIME attachments for the current request.
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
function clearAttachments() {
|
||||
$this->requestAttachments = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the MIME attachments from the current response.
|
||||
*
|
||||
* Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid. These keys correspond to the parameters
|
||||
* for addAttachment.
|
||||
*
|
||||
* @return array The attachments.
|
||||
* @access public
|
||||
*/
|
||||
function getAttachments() {
|
||||
return $this->responseAttachments;
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP body for the current request.
|
||||
*
|
||||
* @param string $soapmsg The SOAP payload
|
||||
* @return string The HTTP body, which includes the SOAP payload
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPBody($soapmsg) {
|
||||
if (count($this->requestAttachments) > 0) {
|
||||
$params['content_type'] = 'multipart/related; type=text/xml';
|
||||
$mimeMessage =& new Mail_mimePart('', $params);
|
||||
unset($params);
|
||||
|
||||
$params['content_type'] = 'text/xml';
|
||||
$params['encoding'] = '8bit';
|
||||
$params['charset'] = $this->soap_defencoding;
|
||||
$mimeMessage->addSubpart($soapmsg, $params);
|
||||
|
||||
foreach ($this->requestAttachments as $att) {
|
||||
unset($params);
|
||||
|
||||
$params['content_type'] = $att['contenttype'];
|
||||
$params['encoding'] = 'base64';
|
||||
$params['disposition'] = 'attachment';
|
||||
$params['dfilename'] = $att['filename'];
|
||||
$params['cid'] = $att['cid'];
|
||||
|
||||
if ($att['data'] == '' && $att['filename'] <> '') {
|
||||
if ($fd = fopen($att['filename'], 'rb')) {
|
||||
$data = fread($fd, filesize($att['filename']));
|
||||
fclose($fd);
|
||||
} else {
|
||||
$data = '';
|
||||
}
|
||||
$mimeMessage->addSubpart($data, $params);
|
||||
} else {
|
||||
$mimeMessage->addSubpart($att['data'], $params);
|
||||
}
|
||||
}
|
||||
|
||||
$output = $mimeMessage->encode();
|
||||
$mimeHeaders = $output['headers'];
|
||||
|
||||
foreach ($mimeHeaders as $k => $v) {
|
||||
$this->debug("MIME header $k: $v");
|
||||
if (strtolower($k) == 'content-type') {
|
||||
// PHP header() seems to strip leading whitespace starting
|
||||
// the second line, so force everything to one line
|
||||
$this->mimeContentType = str_replace("\r\n", " ", $v);
|
||||
}
|
||||
}
|
||||
|
||||
return $output['body'];
|
||||
}
|
||||
|
||||
return parent::getHTTPBody($soapmsg);
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP content type for the current request.
|
||||
*
|
||||
* Note: getHTTPBody must be called before this.
|
||||
*
|
||||
* @return string the HTTP content type for the current request.
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPContentType() {
|
||||
if (count($this->requestAttachments) > 0) {
|
||||
return $this->mimeContentType;
|
||||
}
|
||||
return parent::getHTTPContentType();
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP content type charset for the current request.
|
||||
* returns false for non-text content types.
|
||||
*
|
||||
* Note: getHTTPBody must be called before this.
|
||||
*
|
||||
* @return string the HTTP content type charset for the current request.
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPContentTypeCharset() {
|
||||
if (count($this->requestAttachments) > 0) {
|
||||
return false;
|
||||
}
|
||||
return parent::getHTTPContentTypeCharset();
|
||||
}
|
||||
|
||||
/**
|
||||
* processes SOAP message returned from server
|
||||
*
|
||||
* @param array $headers The HTTP headers
|
||||
* @param string $data unprocessed response data from server
|
||||
* @return mixed value of the message, decoded into a PHP type
|
||||
* @access private
|
||||
*/
|
||||
function parseResponse($headers, $data) {
|
||||
$this->debug('Entering parseResponse() for payload of length ' . strlen($data) . ' and type of ' . $headers['content-type']);
|
||||
$this->responseAttachments = array();
|
||||
if (strstr($headers['content-type'], 'multipart/related')) {
|
||||
$this->debug('Decode multipart/related');
|
||||
$input = '';
|
||||
foreach ($headers as $k => $v) {
|
||||
$input .= "$k: $v\r\n";
|
||||
}
|
||||
$params['input'] = $input . "\r\n" . $data;
|
||||
$params['include_bodies'] = true;
|
||||
$params['decode_bodies'] = true;
|
||||
$params['decode_headers'] = true;
|
||||
|
||||
$structure = Mail_mimeDecode::decode($params);
|
||||
|
||||
foreach ($structure->parts as $part) {
|
||||
if (!isset($part->disposition)) {
|
||||
$this->debug('Have root part of type ' . $part->headers['content-type']);
|
||||
$return = parent::parseResponse($part->headers, $part->body);
|
||||
} else {
|
||||
$this->debug('Have an attachment of type ' . $part->headers['content-type']);
|
||||
$info['data'] = $part->body;
|
||||
$info['filename'] = isset($part->d_parameters['filename']) ? $part->d_parameters['filename'] : '';
|
||||
$info['contenttype'] = $part->headers['content-type'];
|
||||
$info['cid'] = $part->headers['content-id'];
|
||||
$this->responseAttachments[] = $info;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($return)) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
$this->setError('No root part found in multipart/related content');
|
||||
return;
|
||||
}
|
||||
$this->debug('Not multipart/related');
|
||||
return parent::parseResponse($headers, $data);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* nusoapservermime server supporting MIME attachments defined at
|
||||
* http://www.w3.org/TR/SOAP-attachments. It depends on the PEAR Mail_MIME library.
|
||||
*
|
||||
* @author Scott Nichol <snichol@sourceforge.net>
|
||||
* @author Thanks to Guillaume and Henning Reich for posting great attachment code to the mail list
|
||||
* @version $Id$
|
||||
* @access public
|
||||
*/
|
||||
class nusoapservermime extends soap_server {
|
||||
/**
|
||||
* @var array Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid
|
||||
* @access private
|
||||
*/
|
||||
var $requestAttachments = array();
|
||||
/**
|
||||
* @var array Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid
|
||||
* @access private
|
||||
*/
|
||||
var $responseAttachments;
|
||||
/**
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
var $mimeContentType;
|
||||
|
||||
/**
|
||||
* adds a MIME attachment to the current response.
|
||||
*
|
||||
* If the $data parameter contains an empty string, this method will read
|
||||
* the contents of the file named by the $filename parameter.
|
||||
*
|
||||
* If the $cid parameter is false, this method will generate the cid.
|
||||
*
|
||||
* @param string $data The data of the attachment
|
||||
* @param string $filename The filename of the attachment (default is empty string)
|
||||
* @param string $contenttype The MIME Content-Type of the attachment (default is application/octet-stream)
|
||||
* @param string $cid The content-id (cid) of the attachment (default is false)
|
||||
* @return string The content-id (cid) of the attachment
|
||||
* @access public
|
||||
*/
|
||||
function addAttachment($data, $filename = '', $contenttype = 'application/octet-stream', $cid = false) {
|
||||
if (! $cid) {
|
||||
$cid = md5(uniqid(time()));
|
||||
}
|
||||
|
||||
$info['data'] = $data;
|
||||
$info['filename'] = $filename;
|
||||
$info['contenttype'] = $contenttype;
|
||||
$info['cid'] = $cid;
|
||||
|
||||
$this->responseAttachments[] = $info;
|
||||
|
||||
return $cid;
|
||||
}
|
||||
|
||||
/**
|
||||
* clears the MIME attachments for the current response.
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
function clearAttachments() {
|
||||
$this->responseAttachments = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the MIME attachments from the current request.
|
||||
*
|
||||
* Each array element in the return is an associative array with keys
|
||||
* data, filename, contenttype, cid. These keys correspond to the parameters
|
||||
* for addAttachment.
|
||||
*
|
||||
* @return array The attachments.
|
||||
* @access public
|
||||
*/
|
||||
function getAttachments() {
|
||||
return $this->requestAttachments;
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP body for the current response.
|
||||
*
|
||||
* @param string $soapmsg The SOAP payload
|
||||
* @return string The HTTP body, which includes the SOAP payload
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPBody($soapmsg) {
|
||||
if (count($this->responseAttachments) > 0) {
|
||||
$params['content_type'] = 'multipart/related; type=text/xml';
|
||||
$mimeMessage =& new Mail_mimePart('', $params);
|
||||
unset($params);
|
||||
|
||||
$params['content_type'] = 'text/xml';
|
||||
$params['encoding'] = '8bit';
|
||||
$params['charset'] = $this->soap_defencoding;
|
||||
$mimeMessage->addSubpart($soapmsg, $params);
|
||||
|
||||
foreach ($this->responseAttachments as $att) {
|
||||
unset($params);
|
||||
|
||||
$params['content_type'] = $att['contenttype'];
|
||||
$params['encoding'] = 'base64';
|
||||
$params['disposition'] = 'attachment';
|
||||
$params['dfilename'] = $att['filename'];
|
||||
$params['cid'] = $att['cid'];
|
||||
|
||||
if ($att['data'] == '' && $att['filename'] <> '') {
|
||||
if ($fd = fopen($att['filename'], 'rb')) {
|
||||
$data = fread($fd, filesize($att['filename']));
|
||||
fclose($fd);
|
||||
} else {
|
||||
$data = '';
|
||||
}
|
||||
$mimeMessage->addSubpart($data, $params);
|
||||
} else {
|
||||
$mimeMessage->addSubpart($att['data'], $params);
|
||||
}
|
||||
}
|
||||
|
||||
$output = $mimeMessage->encode();
|
||||
$mimeHeaders = $output['headers'];
|
||||
|
||||
foreach ($mimeHeaders as $k => $v) {
|
||||
$this->debug("MIME header $k: $v");
|
||||
if (strtolower($k) == 'content-type') {
|
||||
// PHP header() seems to strip leading whitespace starting
|
||||
// the second line, so force everything to one line
|
||||
$this->mimeContentType = str_replace("\r\n", " ", $v);
|
||||
}
|
||||
}
|
||||
|
||||
return $output['body'];
|
||||
}
|
||||
|
||||
return parent::getHTTPBody($soapmsg);
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP content type for the current response.
|
||||
*
|
||||
* Note: getHTTPBody must be called before this.
|
||||
*
|
||||
* @return string the HTTP content type for the current response.
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPContentType() {
|
||||
if (count($this->responseAttachments) > 0) {
|
||||
return $this->mimeContentType;
|
||||
}
|
||||
return parent::getHTTPContentType();
|
||||
}
|
||||
|
||||
/**
|
||||
* gets the HTTP content type charset for the current response.
|
||||
* returns false for non-text content types.
|
||||
*
|
||||
* Note: getHTTPBody must be called before this.
|
||||
*
|
||||
* @return string the HTTP content type charset for the current response.
|
||||
* @access private
|
||||
*/
|
||||
function getHTTPContentTypeCharset() {
|
||||
if (count($this->responseAttachments) > 0) {
|
||||
return false;
|
||||
}
|
||||
return parent::getHTTPContentTypeCharset();
|
||||
}
|
||||
|
||||
/**
|
||||
* processes SOAP message received from client
|
||||
*
|
||||
* @param array $headers The HTTP headers
|
||||
* @param string $data unprocessed request data from client
|
||||
* @return mixed value of the message, decoded into a PHP type
|
||||
* @access private
|
||||
*/
|
||||
function parseRequest($headers, $data) {
|
||||
$this->debug('Entering parseRequest() for payload of length ' . strlen($data) . ' and type of ' . $headers['content-type']);
|
||||
$this->requestAttachments = array();
|
||||
if (strstr($headers['content-type'], 'multipart/related')) {
|
||||
$this->debug('Decode multipart/related');
|
||||
$input = '';
|
||||
foreach ($headers as $k => $v) {
|
||||
$input .= "$k: $v\r\n";
|
||||
}
|
||||
$params['input'] = $input . "\r\n" . $data;
|
||||
$params['include_bodies'] = true;
|
||||
$params['decode_bodies'] = true;
|
||||
$params['decode_headers'] = true;
|
||||
|
||||
$structure = Mail_mimeDecode::decode($params);
|
||||
|
||||
foreach ($structure->parts as $part) {
|
||||
if (!isset($part->disposition)) {
|
||||
$this->debug('Have root part of type ' . $part->headers['content-type']);
|
||||
$return = parent::parseRequest($part->headers, $part->body);
|
||||
} else {
|
||||
$this->debug('Have an attachment of type ' . $part->headers['content-type']);
|
||||
$info['data'] = $part->body;
|
||||
$info['filename'] = isset($part->d_parameters['filename']) ? $part->d_parameters['filename'] : '';
|
||||
$info['contenttype'] = $part->headers['content-type'];
|
||||
$info['cid'] = $part->headers['content-id'];
|
||||
$this->requestAttachments[] = $info;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($return)) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
$this->setError('No root part found in multipart/related content');
|
||||
return;
|
||||
}
|
||||
$this->debug('Not multipart/related');
|
||||
return parent::parseRequest($headers, $data);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
doc
|
||||
examples
|
||||
doc
|
||||
examples
|
||||
|
||||
@@ -1 +1 @@
|
||||
test
|
||||
test
|
||||
|
||||
@@ -1,390 +1,390 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
|
||||
Traduction de R.Cougnec et M.Makar<61>vitch
|
||||
|
||||
Introduction :
|
||||
This is an unofficial translation of the GNU General Public License into
|
||||
French. It was not published by the Free Software Foundation, and does not
|
||||
legally state the distribution terms for software that uses the GNU
|
||||
GPL--only the original English text of the GNU GPL does that. However, we
|
||||
hope that this translation will help French speakers understand the GNU GPL
|
||||
better.
|
||||
|
||||
Voici une adaptation non officielle de la Licence Publique G<>n<EFBFBD>rale du
|
||||
projet GNU. Elle n'a pas <20>t<EFBFBD> publi<6C>e par la Free Software Foundation et son
|
||||
contenu n'a aucune port<72>e l<>gale car seule la version anglaise de ce
|
||||
document d<>taille le mode de distribution des logiciels sous GNU GPL. Nous
|
||||
esp<EFBFBD>rons cependant qu'elle permettra aux francophones de mieux comprendre
|
||||
la GPL.
|
||||
|
||||
-Licence Publique G<>n<EFBFBD>rale GNU Version 2, Juin 1991-
|
||||
|
||||
Copyright (c) Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330,
|
||||
Boston, MA 02111-1307
|
||||
<EFBFBD>tats-Unis, 1989, 1991.
|
||||
La copie et la distribution de copies exactes de ce document sont
|
||||
autoris<EFBFBD>es, mais aucune modification n'est permise.
|
||||
|
||||
Pr<50>ambule
|
||||
|
||||
Les licences d'utilisation de la plupart des programmes sont d<>finies pour
|
||||
limiter ou supprimer toute libert<72> <20> l'utilisateur. <20> l'inverse, la
|
||||
Licence Publique G<>n<EFBFBD>rale (General Public License) est destin<69>e <20> vous
|
||||
garantir la libert<72> de partager et de modifier les logiciels libres, et de
|
||||
s'assurer que ces logiciels sont effectivement accessibles <20> tout
|
||||
utilisateur.
|
||||
|
||||
Cette Licence Publique G<>n<EFBFBD>rale s'applique <20> la plupart des programmes de
|
||||
la Free Software Foundation, comme <20> tout autre programme dont l'auteur
|
||||
l'aura d<>cid<69> (d'autres logiciels de la FSF sont couverts pour leur part
|
||||
par la Licence Publique G<>n<EFBFBD>rale pour Biblioth<74>ques GNU (LGPL)). Vous
|
||||
pouvez aussi appliquer les termes de cette Licence <20> vos propres
|
||||
programmes, si vous le d<>sirez.
|
||||
|
||||
_Libert<72> des logiciels ne signifie pas n<>cessairement
|
||||
gratuit<EFBFBD>. Notre Licence est con<6F>ue pour vous assurer la libert<72> de
|
||||
distribuer des copies des programmes, gratuitement ou non, de recevoir le
|
||||
code source ou de pouvoir l'obtenir, de modifier les programmes ou d'en
|
||||
utiliser des <20>l<EFBFBD>ments dans de nouveaux programmes libres, en sachant que
|
||||
vous y <20>tes autoris<69>.
|
||||
|
||||
Afin de garantir ces droits, nous avons d<> introduire des restrictions
|
||||
interdisant <20> quiconque de vous les refuser ou de vous demander d'y
|
||||
renoncer. Ces restrictions vous imposent en retour certaines obligations si
|
||||
vous distribuez ou modifiez des copies de programmes prot<6F>g<EFBFBD>s par la
|
||||
Licence. En d'autre termes, il vous incombera en ce cas de :
|
||||
|
||||
-transmettre aux destinataires tous les droits que vous poss<73>dez,
|
||||
-exp<78>dier aux destinataires le code source ou bien tenir celui-ci <20>
|
||||
leur disposition,
|
||||
-leur remettre cette Licence afin qu'ils prennent connaissance de
|
||||
leurs droits.
|
||||
|
||||
|
||||
Nous prot<6F>geons vos droits de deux fa<66>ons : d'abord par le copyright
|
||||
du logiciel, ensuite par la remise de cette Licence qui vous autorise
|
||||
l<EFBFBD>galement <20> copier, distribuer et/ou modifier le logiciel.
|
||||
|
||||
En outre, pour prot<6F>ger chaque auteur ainsi que la FSF, nous affirmons
|
||||
solennellement que le programme concern<72> ne fait l'objet d'aucune garantie.
|
||||
Si un tiers le modifie puis le redistribue, tous ceux qui en recevront une
|
||||
copie doivent savoir qu'il ne s'agit pas de l'original afin qu'une copie
|
||||
d<EFBFBD>fectueuse n'entache pas la r<>putation de l'auteur du logiciel.
|
||||
|
||||
Enfin, tout programme libre est sans cesse menac<61> par des d<>p<EFBFBD>ts de
|
||||
brevets. Nous souhaitons <20> tout prix <20>viter que des distributeurs puissent
|
||||
d<EFBFBD>poser des brevets sur les Logiciels Libres pour leur propre compte. Pour
|
||||
<EFBFBD>viter cela, nous stipulons bien que tout d<>p<EFBFBD>t <20>ventuel de brevet doit
|
||||
accorder express<73>ment <20> tout un chacun le libre usage du produit.
|
||||
|
||||
Les dispositions pr<70>cises et les conditions de copie, de distribution et de
|
||||
modification de nos logiciels sont les suivantes :
|
||||
|
||||
Stipulations et conditions relatives <20> la copie, la distribution et la modification
|
||||
|
||||
|
||||
_Article 0.
|
||||
La pr<70>sente Licence s'applique <20> tout Programme (ou autre travail) o<>
|
||||
figure une note, plac<61>e par le d<>tenteur des droits, stipulant que ledit
|
||||
Programme ou travail peut <20>tre distribu<62> selon les termes de la pr<70>sente
|
||||
Licence. Le terme Programme d<>signe aussi bien le Programme
|
||||
lui-m<>me que tout travail qui en est d<>riv<69> selon la loi, c'est-<2D>-dire
|
||||
tout ouvrage reproduisant le Programme ou une partie de celui-ci, <20>
|
||||
l'identique ou bien modifi<66>, et/ou traduit dans une autre langue (la
|
||||
traduction est consid<69>r<EFBFBD>e comme une modification). Chaque personne
|
||||
concern<72>e par la Licence Publique G<>n<EFBFBD>rale sera d<>sign<67>e par le terme
|
||||
Vous.
|
||||
|
||||
Les activit<69>s autres que copie, distribution et modification ne sont pas
|
||||
couvertes par la pr<70>sente Licence et sortent de son cadre. Rien ne
|
||||
restreint l'utilisation du Programme et les donn<6E>es issues de celui-ci ne
|
||||
sont couvertes que si leur contenu constitue un travail bas<61> sur le
|
||||
logiciel (ind<6E>pendemment du fait d'avoir <20>t<EFBFBD> r<>alis<69> en lan<61>ant le
|
||||
Programme). Tout d<>pend de ce que le Programme est cens<6E> produire.
|
||||
|
||||
_Article 1.
|
||||
Vous pouvez copier et distribuer des copies conformes du code source du
|
||||
Programme, tel que Vous l'avez re<72>u, sur n'importe quel support, <20>
|
||||
condition de placer sur chaque copie un copyright appropri<72> et une
|
||||
restriction de garantie, de ne pas modifier ou omettre toutes les
|
||||
stipulations se r<>f<EFBFBD>rant <20> la pr<70>sente Licence et <20> la limitation de
|
||||
garantie, et de fournir avec toute copie du Programme un exemplaire de la
|
||||
Licence.
|
||||
|
||||
Vous pouvez demander une r<>tribution financi<63>re pour la r<>alisation de la
|
||||
copie et demeurez libre de proposer une garantie assur<75>e par vos soins,
|
||||
moyennant finances.
|
||||
|
||||
_Article 2.
|
||||
Vous pouvez modifier votre copie ou vos copies du Programme ou partie de
|
||||
celui-ci, ou d'un travail bas<61> sur ce Programme, et copier et distribuer
|
||||
ces modifications selon les termes de l'article 1, <20> condition de Vous
|
||||
conformer <20>galement aux conditions suivantes :
|
||||
|
||||
|
||||
a) Ajouter aux fichiers modifi<66>s l'indication tr<74>s claire des
|
||||
modifications effectu<74>es, ainsi que la date de chaque changement.
|
||||
|
||||
b) Distribuer sous les termes de la Licence Publique G<>n<EFBFBD>rale
|
||||
l'ensemble de toute r<>alisation contenant tout ou partie du
|
||||
Programme, avec ou sans modifications.
|
||||
c) Si le Programme modifi<66> lit des commandes de mani<6E>re interactive
|
||||
lors de son ex<65>cution, faire en sorte qu'il affiche, lors d'une
|
||||
invocation ordinaire, le copyright appropri<72> en indiquant
|
||||
clairement la limitation de garantie (ou la garantie que Vous Vous
|
||||
engagez <20> fournir Vous-m<>me), qu'il stipule que tout utilisateur
|
||||
peut librement redistribuer le Programme selon les conditions de la
|
||||
Licence Publique G<>n<EFBFBD>rale GNU, et qu'il montre <20> tout utilisateur
|
||||
comment lire une copie de celle-ci (exception : si le
|
||||
Programme original est interactif mais n'affiche pas un tel
|
||||
message en temps normal, tout travail d<>riv<69> de ce Programme ne
|
||||
sera pas non plus contraint de l'afficher).
|
||||
|
||||
Toutes ces conditions s'appliquent <20> l'ensemble des modifications. Si des
|
||||
<20>l<EFBFBD>ments identifiables de ce travail ne sont pas d<>riv<69>s du Programme
|
||||
et peuvent <20>tre raisonnablement consid<69>r<EFBFBD>s comme ind<6E>pendants, la
|
||||
pr<70>sente Licence ne s'applique pas <20> ces <20>l<EFBFBD>ments lorsque Vous les
|
||||
distribuez seuls.
|
||||
Mais, si Vous distribuez ces m<>mes <20>l<EFBFBD>ments comme partie d'un ensemble
|
||||
coh<6F>rent dont le reste est bas<61> sur un Programme soumis <20> la Licence, ils
|
||||
lui sont <20>galement soumis, et la Licence s'<27>tend ainsi <20> l'ensemble du
|
||||
produit, quel qu'en soit l'auteur.
|
||||
|
||||
Cet article n'a pas pour but de s'approprier ou de contester vos
|
||||
droits sur un travail enti<74>rement r<>alis<69> par Vous, mais plut<75>t
|
||||
d'ouvrir droit <20> un contr<74>le de la libre distribution de tout travail
|
||||
d<>riv<69> ou collectif bas<61> sur le Programme.
|
||||
|
||||
En outre, toute fusion d'un autre travail, non bas<61> sur le Programme,
|
||||
avec le Programme (ou avec un travail d<>riv<69> de ce dernier),
|
||||
effectu<74>e sur un support de stockage ou de distribution, ne fait pas
|
||||
tomber cet autre travail sous le contr<74>le de la Licence.
|
||||
|
||||
_Article 3.
|
||||
Vous pouvez copier et distribuer le Programme (ou tout travail d<>riv<69>
|
||||
selon les conditions <20>nonc<6E>es dans l'article 1) sous forme de code
|
||||
objet ou ex<65>cutable, selon les termes des articles 0 et 1, <20>
|
||||
condition de respecter les clauses suivantes :
|
||||
|
||||
|
||||
a) Fournir le code source complet du Programme,
|
||||
sous une forme lisible par un ordinateur et selon les termes des
|
||||
articles 0 et 1, sur un support habituellement utilis<69> pour
|
||||
l'<27>change de donn<6E>es ou,
|
||||
|
||||
b) Faire une offre <20>crite, valable pendant au moins trois ans,
|
||||
pr<70>voyant de donner <20> tout tiers qui en fera la demande une copie,
|
||||
sous forme lisible par un ordinateur, du code source correspondant,
|
||||
pour un tarif n'exc<78>dant pas le co<63>t de la copie, selon
|
||||
les termes des articles 0 et 1, sur un support couramment utilis<69>
|
||||
pour l'<27>change de donn<6E>es informatiques ou,
|
||||
|
||||
c) Informer le destinataire de l'endroit o<> le code source peut
|
||||
<20>tre obtenu (cette solution n'est recevable que dans le cas d'une
|
||||
distribution non commerciale, et uniquement si Vous avez re<72>u le
|
||||
Programme sous forme de code objet ou ex<65>cutable avec l'offre
|
||||
pr<70>vue <20> l'alin<69>a b ci-dessus).
|
||||
|
||||
|
||||
Le code source d'un travail d<>signe la forme de cet ouvrage sous laquelle
|
||||
les modifications sont les plus ais<69>es. Sont ainsi d<>sign<67>s la totalit<69>
|
||||
du code source de tous les modules composant un Programme ex<65>cutable, de
|
||||
m<>me que tout fichier de d<>finition associ<63>, ainsi que les scripts
|
||||
utilis<69>s pour effectuer la compilation et l'installation du Programme
|
||||
ex<65>cutable. Toutefois, l'environnement standard de d<>veloppement du
|
||||
syst<73>me d'exploitation mis en oeuvre (source ou binaire) -- compilateurs,
|
||||
biblioth<74>ques, noyau, etc. -- constitue une exception, sauf si ces
|
||||
<20>l<EFBFBD>ments sont diffus<75>s en m<>me temps que le Programme ex<65>cutable.
|
||||
|
||||
Si la distribution de l'ex<65>cutable ou du code objet consiste <20> offrir un
|
||||
acc<63>s permettant de copier le Programme depuis un endroit particulier,
|
||||
l'offre d'un acc<63>s <20>quivalent pour se procurer le code source au m<>me
|
||||
endroit est consid<69>r<EFBFBD> comme une distribution de ce code source, m<>me si
|
||||
l'utilisateur choisit de ne pas profiter de cette offre.
|
||||
|
||||
_Article 4.
|
||||
Vous ne pouvez pas copier, modifier, c<>der, d<>poser ou distribuer le
|
||||
Programme d'une autre mani<6E>re que l'autorise la Licence Publique G<>n<EFBFBD>rale.
|
||||
Toute tentative de ce type annule imm<6D>diatement vos droits d'utilisation du
|
||||
Programme sous cette Licence. Toutefois, les tiers ayant re<72>u de Vous
|
||||
des copies du Programme ou le droit d'utiliser ces copies continueront <20>
|
||||
b<>n<EFBFBD>ficier de leur droit d'utilisation tant qu'ils respecteront pleinement
|
||||
les conditions de la Licence.
|
||||
|
||||
_Article 5.
|
||||
Ne l'ayant pas sign<67>e, Vous n'<27>tes pas oblig<69> d'accepter cette
|
||||
Licence. Cependant, rien d'autre ne Vous autorise <20> modifier ou distribuer
|
||||
le Programme ou quelque travaux d<>riv<69>s : la loi l'interdit tant que Vous
|
||||
n'acceptez pas les termes de cette Licence. En cons<6E>quence, en modifiant
|
||||
ou en distribuant le Programme (ou tout travail bas<61> sur lui), Vous
|
||||
acceptez implicitement tous les termes et conditions de cette Licence.
|
||||
|
||||
_Article 6.
|
||||
La diffusion d'un Programme (ou de tout travail d<>riv<69>) suppose l'envoi
|
||||
simultan<61> d'une licence autorisant la copie, la distribution ou la
|
||||
modification du Programme, aux termes et conditions de la Licence. Vous
|
||||
n'avez pas le droit d'imposer de restrictions suppl<70>mentaires aux droits
|
||||
transmis au destinataire. Vous n'<27>tes pas responsable du respect de la
|
||||
Licence par un tiers.
|
||||
|
||||
_Article 7.
|
||||
Si, <20> la suite d'une d<>cision de Justice, d'une plainte en contrefa<66>on ou
|
||||
pour toute autre raison (li<6C>e ou non <20> la contrefa<66>on), des conditions Vous
|
||||
sont impos<6F>es (que ce soit par ordonnance, accord amiable ou autre) qui se
|
||||
r<>v<EFBFBD>lent incompatibles avec les termes de la pr<70>sente Licence, Vous n'<27>tes
|
||||
pas pour autant d<>gag<61> des obligations li<6C>es <20> celle-ci : si Vous ne
|
||||
pouvez concilier vos obligations l<>gales ou autres avec les conditions de
|
||||
cette Licence, Vous ne devez pas distribuer le Programme.
|
||||
|
||||
Si une partie quelconque de cet article est invalid<69>e ou inapplicable
|
||||
pour quelque raison que ce soit, le reste de l'article continue de
|
||||
s'appliquer et l'int<6E>gralit<69> de l'article s'appliquera en toute autre
|
||||
circonstance.
|
||||
|
||||
Le pr<70>sent article n'a pas pour but de Vous pousser <20> enfreindre des
|
||||
droits ou des dispositions l<>gales ni en contester la validit<69> ;
|
||||
son seul objectif est de prot<6F>ger l'int<6E>grit<69> du syst<73>me de
|
||||
distribution du Logiciel Libre. De nombreuses personnes ont
|
||||
g<>n<EFBFBD>reusement contribu<62> <20> la large gamme de Programmes distribu<62>e
|
||||
de cette fa<66>on en toute confiance il appartient <20> chaque
|
||||
auteur/donateur de d<>cider de diffuser ses Programmes selon les crit<69>res
|
||||
de son choix.
|
||||
|
||||
_Article 8.
|
||||
Si la distribution et/ou l'utilisation du Programme est limit<69>e dans
|
||||
certains pays par des brevets ou des droits sur des interfaces, le
|
||||
d<>tenteur original des droits qui place le Programme sous la Licence
|
||||
Publique G<>n<EFBFBD>rale peut ajouter explicitement une clause de limitation
|
||||
g<>ographique excluant ces pays. Dans ce cas, cette clause devient une
|
||||
partie int<6E>grante de la Licence.
|
||||
|
||||
_Article 9.
|
||||
La Free Software Foundation se r<>serve le droit de publier p<>riodiquement
|
||||
des mises <20> jour ou de nouvelles versions de la Licence. R<>dig<69>es dans le
|
||||
m<>me esprit que la pr<70>sente version, elles seront cependant susceptibles
|
||||
d'en modifier certains d<>tails <20> mesure que de nouveaux probl<62>mes se font
|
||||
jour.
|
||||
|
||||
Chaque version poss<73>de un num<75>ro distinct. Si le Programme pr<70>cise un
|
||||
num<75>ro de version de cette Licence et <20> toute version ult<6C>rieure <20>, Vous
|
||||
avez le choix de suivre les termes et conditions de cette version ou de
|
||||
toute autre version plus r<>cente publi<6C>e par la Free Software Foundation.
|
||||
Si le Programme ne sp<73>cifie aucun num<75>ro de version, Vous pouvez alors
|
||||
choisir l'une quelconque des versions publi<6C>es par la Free Software
|
||||
Foundation.
|
||||
|
||||
|
||||
_Article 10.
|
||||
Si Vous d<>sirez incorporer des <20>l<EFBFBD>ments du Programme dans d'autres
|
||||
Programmes libres dont les conditions de distribution diff<66>rent, Vous devez
|
||||
<20>crire <20> l'auteur pour lui en demander la permission. Pour ce qui est des
|
||||
Programmes directement d<>pos<6F>s par la Free Software Foundation,
|
||||
<20>crivez-nous : une exception est toujours envisageable. Notre d<>cision
|
||||
sera bas<61>e sur notre volont<6E> de pr<70>server la libert<72> de notre Programme ou
|
||||
de ses d<>riv<69>s et celle de promouvoir le partage et la r<>utilisation du
|
||||
logiciel en g<>n<EFBFBD>ral.
|
||||
|
||||
|
||||
LIMITATION DE GARANTIE
|
||||
|
||||
|
||||
_Article 11.
|
||||
|
||||
Parce que l'utilisation de ce Programme est libre et gratuite, aucune
|
||||
garantie n'est fournie, comme le permet la loi. Sauf mention <20>crite, les
|
||||
d<>tenteurs du copyright et/ou les tiers fournissent le Programme en l'<27>tat,
|
||||
sans aucune sorte de garantie explicite ou implicite, y compris les
|
||||
garanties de commercialisation ou d'adaptation dans un but
|
||||
particulier. Vous assumez tous les risques quant <20> la qualit<69> et aux effets
|
||||
du Programme. Si le Programme est d<>fectueux, Vous assumez le co<63>t de tous
|
||||
les services, corrections ou r<>parations n<>cessaires.
|
||||
|
||||
|
||||
_Article 12.
|
||||
Sauf lorsqu'explicitement pr<70>vu par la Loi ou accept<70> par <20>crit, ni le
|
||||
d<>tenteur des droits, ni quiconque autoris<69> <20> modifier et/ou redistribuer
|
||||
le Programme comme il est permis ci-dessus ne pourra <20>tre tenu pour
|
||||
responsable de tout dommage direct, indirect, secondaire ou accessoire
|
||||
(pertes financi<63>res dues au manque <20> gagner, <20> l'interruption d'activit<69>s
|
||||
ou <20> la perte de donn<6E>es, etc., d<>coulant de l'utilisation du Programme ou
|
||||
de l'impossibilit<69> d'utiliser celui-ci).
|
||||
|
||||
|
||||
|
||||
FIN DES TERMES ET CONDITIONS
|
||||
|
||||
Comment appliquer ces directives <20> vos nouveaux programmes
|
||||
|
||||
Si vous d<>veloppez un nouveau programme et d<>sirez en faire b<>n<EFBFBD>ficier tout
|
||||
un chacun, la meilleure m<>thode est d'en faire un Logiciel Libre que tout
|
||||
le monde pourra redistribuer et modifier selon les termes de la Licence
|
||||
Publique G<>n<EFBFBD>rale.
|
||||
|
||||
Pour cela, ins<6E>rez les indications suivantes dans votre programme (il est
|
||||
pr<EFBFBD>f<EFBFBD>rable et plus s<>r de les faire figurer au d<>but de chaque fichier
|
||||
source dans tous les cas, chaque module source devra comporter au
|
||||
minimum la ligne de <20> copyright <20> et indiquer o<> r<>sident toutes les
|
||||
autres indications):
|
||||
|
||||
|
||||
((une ligne pour donner le nom du programme et donner une id<69>e de
|
||||
sa finalit<69>))
|
||||
Copyright (C) 19xx ((nom de l'auteur))
|
||||
|
||||
Ce programme est libre, vous pouvez le redistribuer et/ou le modifier
|
||||
selon les termes de la Licence Publique G<>n<EFBFBD>rale GNU publi<6C>e par la
|
||||
Free Software Foundation (version 2 ou bien toute autre version
|
||||
ult<EFBFBD>rieure choisie par vous).
|
||||
|
||||
Ce programme est distribu<62> car potentiellement utile, mais SANS AUCUNE
|
||||
GARANTIE, ni explicite ni implicite, y compris les garanties de
|
||||
commercialisation ou d'adaptation dans un but sp<73>cifique.
|
||||
Reportez-vous <20> la Licence Publique G<>n<EFBFBD>rale GNU pour plus de d<>tails.
|
||||
|
||||
Vous devez avoir re<72>u une copie de la Licence Publique G<>n<EFBFBD>rale GNU
|
||||
en m<>me temps que ce programme si ce n'est pas le cas, <20>crivez <20> la
|
||||
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307, <20>tats-Unis.
|
||||
|
||||
|
||||
Ajoutez <20>galement votre adresse <20>lectronique, le cas <20>ch<63>ant, ainsi que
|
||||
votre adresse postale.
|
||||
|
||||
Si le programme est interactif, faites-lui afficher un court avertissement
|
||||
du type de celui-ci <20> chaque invocation:
|
||||
|
||||
|
||||
...(nom du programme) version 69, Copyright (C) 19aa nom de l'auteur
|
||||
|
||||
...(nom du programme) est fourni sans AUCUNE GARANTIE.
|
||||
Pour plus de d<>tails, tapez `g'.
|
||||
|
||||
Ce programme est libre et vous <20>tes encourag<61> <20> le redistribuer
|
||||
sous certaines conditions tapez `c' pour plus de d<>tails.
|
||||
|
||||
Les commandes hypoth<74>tiques `g' et `c' doivent afficher les sections
|
||||
appropri<EFBFBD>es de la Licence Publique G<>n<EFBFBD>rale GNU. Bien entendu, vous pouvez
|
||||
implanter ces commandes comme bon vous semble : options dans un menu,
|
||||
ou bien accessibles d'un clic de souris, etc., tout d<>pend de votre
|
||||
programme.
|
||||
|
||||
Si vous officiez en tant que programmeur, n'omettez pas de demander <20> votre
|
||||
employeur, votre <20>tablissement scolaire ou autres de signer une d<>charge
|
||||
stipulant leur renoncement aux droits qu'ils pourraient avoir sur le
|
||||
programme:
|
||||
>
|
||||
...((employeur, <20>cole...)) d<>clare par la pr<70>sente ne pas revendiquer
|
||||
de droits sur le programme <20> (nom du programme) <20> r<>alis<69> par ...((nom de
|
||||
l'auteur)).
|
||||
|
||||
((signature du responsable)), ...((date)),
|
||||
...((nom et qualit<69> du responsable)).
|
||||
|
||||
La Licence Publique G<>n<EFBFBD>rale ne permet pas d'inclure votre programme dans
|
||||
des logiciels sous licence commerciale sp<73>cifique. Si votre programme est
|
||||
une fonction de biblioth<74>que, vous jugerez probablement plus judicieux de
|
||||
le faire relever de la Licence G<>n<EFBFBD>rale de Biblioth<74>que GNU (LGPL) plut<75>t
|
||||
que de la pr<70>sente.
|
||||
|
||||
|
||||
Traduction de R.Cougnec et M.Makar<61>vitch
|
||||
|
||||
Introduction :
|
||||
This is an unofficial translation of the GNU General Public License into
|
||||
French. It was not published by the Free Software Foundation, and does not
|
||||
legally state the distribution terms for software that uses the GNU
|
||||
GPL--only the original English text of the GNU GPL does that. However, we
|
||||
hope that this translation will help French speakers understand the GNU GPL
|
||||
better.
|
||||
|
||||
Voici une adaptation non officielle de la Licence Publique G<>n<EFBFBD>rale du
|
||||
projet GNU. Elle n'a pas <20>t<EFBFBD> publi<6C>e par la Free Software Foundation et son
|
||||
contenu n'a aucune port<72>e l<>gale car seule la version anglaise de ce
|
||||
document d<>taille le mode de distribution des logiciels sous GNU GPL. Nous
|
||||
esp<EFBFBD>rons cependant qu'elle permettra aux francophones de mieux comprendre
|
||||
la GPL.
|
||||
|
||||
-Licence Publique G<>n<EFBFBD>rale GNU Version 2, Juin 1991-
|
||||
|
||||
Copyright (c) Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330,
|
||||
Boston, MA 02111-1307
|
||||
<EFBFBD>tats-Unis, 1989, 1991.
|
||||
La copie et la distribution de copies exactes de ce document sont
|
||||
autoris<EFBFBD>es, mais aucune modification n'est permise.
|
||||
|
||||
Pr<50>ambule
|
||||
|
||||
Les licences d'utilisation de la plupart des programmes sont d<>finies pour
|
||||
limiter ou supprimer toute libert<72> <20> l'utilisateur. <20> l'inverse, la
|
||||
Licence Publique G<>n<EFBFBD>rale (General Public License) est destin<69>e <20> vous
|
||||
garantir la libert<72> de partager et de modifier les logiciels libres, et de
|
||||
s'assurer que ces logiciels sont effectivement accessibles <20> tout
|
||||
utilisateur.
|
||||
|
||||
Cette Licence Publique G<>n<EFBFBD>rale s'applique <20> la plupart des programmes de
|
||||
la Free Software Foundation, comme <20> tout autre programme dont l'auteur
|
||||
l'aura d<>cid<69> (d'autres logiciels de la FSF sont couverts pour leur part
|
||||
par la Licence Publique G<>n<EFBFBD>rale pour Biblioth<74>ques GNU (LGPL)). Vous
|
||||
pouvez aussi appliquer les termes de cette Licence <20> vos propres
|
||||
programmes, si vous le d<>sirez.
|
||||
|
||||
_Libert<72> des logiciels ne signifie pas n<>cessairement
|
||||
gratuit<EFBFBD>. Notre Licence est con<6F>ue pour vous assurer la libert<72> de
|
||||
distribuer des copies des programmes, gratuitement ou non, de recevoir le
|
||||
code source ou de pouvoir l'obtenir, de modifier les programmes ou d'en
|
||||
utiliser des <20>l<EFBFBD>ments dans de nouveaux programmes libres, en sachant que
|
||||
vous y <20>tes autoris<69>.
|
||||
|
||||
Afin de garantir ces droits, nous avons d<> introduire des restrictions
|
||||
interdisant <20> quiconque de vous les refuser ou de vous demander d'y
|
||||
renoncer. Ces restrictions vous imposent en retour certaines obligations si
|
||||
vous distribuez ou modifiez des copies de programmes prot<6F>g<EFBFBD>s par la
|
||||
Licence. En d'autre termes, il vous incombera en ce cas de :
|
||||
|
||||
-transmettre aux destinataires tous les droits que vous poss<73>dez,
|
||||
-exp<78>dier aux destinataires le code source ou bien tenir celui-ci <20>
|
||||
leur disposition,
|
||||
-leur remettre cette Licence afin qu'ils prennent connaissance de
|
||||
leurs droits.
|
||||
|
||||
|
||||
Nous prot<6F>geons vos droits de deux fa<66>ons : d'abord par le copyright
|
||||
du logiciel, ensuite par la remise de cette Licence qui vous autorise
|
||||
l<EFBFBD>galement <20> copier, distribuer et/ou modifier le logiciel.
|
||||
|
||||
En outre, pour prot<6F>ger chaque auteur ainsi que la FSF, nous affirmons
|
||||
solennellement que le programme concern<72> ne fait l'objet d'aucune garantie.
|
||||
Si un tiers le modifie puis le redistribue, tous ceux qui en recevront une
|
||||
copie doivent savoir qu'il ne s'agit pas de l'original afin qu'une copie
|
||||
d<EFBFBD>fectueuse n'entache pas la r<>putation de l'auteur du logiciel.
|
||||
|
||||
Enfin, tout programme libre est sans cesse menac<61> par des d<>p<EFBFBD>ts de
|
||||
brevets. Nous souhaitons <20> tout prix <20>viter que des distributeurs puissent
|
||||
d<EFBFBD>poser des brevets sur les Logiciels Libres pour leur propre compte. Pour
|
||||
<EFBFBD>viter cela, nous stipulons bien que tout d<>p<EFBFBD>t <20>ventuel de brevet doit
|
||||
accorder express<73>ment <20> tout un chacun le libre usage du produit.
|
||||
|
||||
Les dispositions pr<70>cises et les conditions de copie, de distribution et de
|
||||
modification de nos logiciels sont les suivantes :
|
||||
|
||||
Stipulations et conditions relatives <20> la copie, la distribution et la modification
|
||||
|
||||
|
||||
_Article 0.
|
||||
La pr<70>sente Licence s'applique <20> tout Programme (ou autre travail) o<>
|
||||
figure une note, plac<61>e par le d<>tenteur des droits, stipulant que ledit
|
||||
Programme ou travail peut <20>tre distribu<62> selon les termes de la pr<70>sente
|
||||
Licence. Le terme Programme d<>signe aussi bien le Programme
|
||||
lui-m<>me que tout travail qui en est d<>riv<69> selon la loi, c'est-<2D>-dire
|
||||
tout ouvrage reproduisant le Programme ou une partie de celui-ci, <20>
|
||||
l'identique ou bien modifi<66>, et/ou traduit dans une autre langue (la
|
||||
traduction est consid<69>r<EFBFBD>e comme une modification). Chaque personne
|
||||
concern<72>e par la Licence Publique G<>n<EFBFBD>rale sera d<>sign<67>e par le terme
|
||||
Vous.
|
||||
|
||||
Les activit<69>s autres que copie, distribution et modification ne sont pas
|
||||
couvertes par la pr<70>sente Licence et sortent de son cadre. Rien ne
|
||||
restreint l'utilisation du Programme et les donn<6E>es issues de celui-ci ne
|
||||
sont couvertes que si leur contenu constitue un travail bas<61> sur le
|
||||
logiciel (ind<6E>pendemment du fait d'avoir <20>t<EFBFBD> r<>alis<69> en lan<61>ant le
|
||||
Programme). Tout d<>pend de ce que le Programme est cens<6E> produire.
|
||||
|
||||
_Article 1.
|
||||
Vous pouvez copier et distribuer des copies conformes du code source du
|
||||
Programme, tel que Vous l'avez re<72>u, sur n'importe quel support, <20>
|
||||
condition de placer sur chaque copie un copyright appropri<72> et une
|
||||
restriction de garantie, de ne pas modifier ou omettre toutes les
|
||||
stipulations se r<>f<EFBFBD>rant <20> la pr<70>sente Licence et <20> la limitation de
|
||||
garantie, et de fournir avec toute copie du Programme un exemplaire de la
|
||||
Licence.
|
||||
|
||||
Vous pouvez demander une r<>tribution financi<63>re pour la r<>alisation de la
|
||||
copie et demeurez libre de proposer une garantie assur<75>e par vos soins,
|
||||
moyennant finances.
|
||||
|
||||
_Article 2.
|
||||
Vous pouvez modifier votre copie ou vos copies du Programme ou partie de
|
||||
celui-ci, ou d'un travail bas<61> sur ce Programme, et copier et distribuer
|
||||
ces modifications selon les termes de l'article 1, <20> condition de Vous
|
||||
conformer <20>galement aux conditions suivantes :
|
||||
|
||||
|
||||
a) Ajouter aux fichiers modifi<66>s l'indication tr<74>s claire des
|
||||
modifications effectu<74>es, ainsi que la date de chaque changement.
|
||||
|
||||
b) Distribuer sous les termes de la Licence Publique G<>n<EFBFBD>rale
|
||||
l'ensemble de toute r<>alisation contenant tout ou partie du
|
||||
Programme, avec ou sans modifications.
|
||||
c) Si le Programme modifi<66> lit des commandes de mani<6E>re interactive
|
||||
lors de son ex<65>cution, faire en sorte qu'il affiche, lors d'une
|
||||
invocation ordinaire, le copyright appropri<72> en indiquant
|
||||
clairement la limitation de garantie (ou la garantie que Vous Vous
|
||||
engagez <20> fournir Vous-m<>me), qu'il stipule que tout utilisateur
|
||||
peut librement redistribuer le Programme selon les conditions de la
|
||||
Licence Publique G<>n<EFBFBD>rale GNU, et qu'il montre <20> tout utilisateur
|
||||
comment lire une copie de celle-ci (exception : si le
|
||||
Programme original est interactif mais n'affiche pas un tel
|
||||
message en temps normal, tout travail d<>riv<69> de ce Programme ne
|
||||
sera pas non plus contraint de l'afficher).
|
||||
|
||||
Toutes ces conditions s'appliquent <20> l'ensemble des modifications. Si des
|
||||
<20>l<EFBFBD>ments identifiables de ce travail ne sont pas d<>riv<69>s du Programme
|
||||
et peuvent <20>tre raisonnablement consid<69>r<EFBFBD>s comme ind<6E>pendants, la
|
||||
pr<70>sente Licence ne s'applique pas <20> ces <20>l<EFBFBD>ments lorsque Vous les
|
||||
distribuez seuls.
|
||||
Mais, si Vous distribuez ces m<>mes <20>l<EFBFBD>ments comme partie d'un ensemble
|
||||
coh<6F>rent dont le reste est bas<61> sur un Programme soumis <20> la Licence, ils
|
||||
lui sont <20>galement soumis, et la Licence s'<27>tend ainsi <20> l'ensemble du
|
||||
produit, quel qu'en soit l'auteur.
|
||||
|
||||
Cet article n'a pas pour but de s'approprier ou de contester vos
|
||||
droits sur un travail enti<74>rement r<>alis<69> par Vous, mais plut<75>t
|
||||
d'ouvrir droit <20> un contr<74>le de la libre distribution de tout travail
|
||||
d<>riv<69> ou collectif bas<61> sur le Programme.
|
||||
|
||||
En outre, toute fusion d'un autre travail, non bas<61> sur le Programme,
|
||||
avec le Programme (ou avec un travail d<>riv<69> de ce dernier),
|
||||
effectu<74>e sur un support de stockage ou de distribution, ne fait pas
|
||||
tomber cet autre travail sous le contr<74>le de la Licence.
|
||||
|
||||
_Article 3.
|
||||
Vous pouvez copier et distribuer le Programme (ou tout travail d<>riv<69>
|
||||
selon les conditions <20>nonc<6E>es dans l'article 1) sous forme de code
|
||||
objet ou ex<65>cutable, selon les termes des articles 0 et 1, <20>
|
||||
condition de respecter les clauses suivantes :
|
||||
|
||||
|
||||
a) Fournir le code source complet du Programme,
|
||||
sous une forme lisible par un ordinateur et selon les termes des
|
||||
articles 0 et 1, sur un support habituellement utilis<69> pour
|
||||
l'<27>change de donn<6E>es ou,
|
||||
|
||||
b) Faire une offre <20>crite, valable pendant au moins trois ans,
|
||||
pr<70>voyant de donner <20> tout tiers qui en fera la demande une copie,
|
||||
sous forme lisible par un ordinateur, du code source correspondant,
|
||||
pour un tarif n'exc<78>dant pas le co<63>t de la copie, selon
|
||||
les termes des articles 0 et 1, sur un support couramment utilis<69>
|
||||
pour l'<27>change de donn<6E>es informatiques ou,
|
||||
|
||||
c) Informer le destinataire de l'endroit o<> le code source peut
|
||||
<20>tre obtenu (cette solution n'est recevable que dans le cas d'une
|
||||
distribution non commerciale, et uniquement si Vous avez re<72>u le
|
||||
Programme sous forme de code objet ou ex<65>cutable avec l'offre
|
||||
pr<70>vue <20> l'alin<69>a b ci-dessus).
|
||||
|
||||
|
||||
Le code source d'un travail d<>signe la forme de cet ouvrage sous laquelle
|
||||
les modifications sont les plus ais<69>es. Sont ainsi d<>sign<67>s la totalit<69>
|
||||
du code source de tous les modules composant un Programme ex<65>cutable, de
|
||||
m<>me que tout fichier de d<>finition associ<63>, ainsi que les scripts
|
||||
utilis<69>s pour effectuer la compilation et l'installation du Programme
|
||||
ex<65>cutable. Toutefois, l'environnement standard de d<>veloppement du
|
||||
syst<73>me d'exploitation mis en oeuvre (source ou binaire) -- compilateurs,
|
||||
biblioth<74>ques, noyau, etc. -- constitue une exception, sauf si ces
|
||||
<20>l<EFBFBD>ments sont diffus<75>s en m<>me temps que le Programme ex<65>cutable.
|
||||
|
||||
Si la distribution de l'ex<65>cutable ou du code objet consiste <20> offrir un
|
||||
acc<63>s permettant de copier le Programme depuis un endroit particulier,
|
||||
l'offre d'un acc<63>s <20>quivalent pour se procurer le code source au m<>me
|
||||
endroit est consid<69>r<EFBFBD> comme une distribution de ce code source, m<>me si
|
||||
l'utilisateur choisit de ne pas profiter de cette offre.
|
||||
|
||||
_Article 4.
|
||||
Vous ne pouvez pas copier, modifier, c<>der, d<>poser ou distribuer le
|
||||
Programme d'une autre mani<6E>re que l'autorise la Licence Publique G<>n<EFBFBD>rale.
|
||||
Toute tentative de ce type annule imm<6D>diatement vos droits d'utilisation du
|
||||
Programme sous cette Licence. Toutefois, les tiers ayant re<72>u de Vous
|
||||
des copies du Programme ou le droit d'utiliser ces copies continueront <20>
|
||||
b<>n<EFBFBD>ficier de leur droit d'utilisation tant qu'ils respecteront pleinement
|
||||
les conditions de la Licence.
|
||||
|
||||
_Article 5.
|
||||
Ne l'ayant pas sign<67>e, Vous n'<27>tes pas oblig<69> d'accepter cette
|
||||
Licence. Cependant, rien d'autre ne Vous autorise <20> modifier ou distribuer
|
||||
le Programme ou quelque travaux d<>riv<69>s : la loi l'interdit tant que Vous
|
||||
n'acceptez pas les termes de cette Licence. En cons<6E>quence, en modifiant
|
||||
ou en distribuant le Programme (ou tout travail bas<61> sur lui), Vous
|
||||
acceptez implicitement tous les termes et conditions de cette Licence.
|
||||
|
||||
_Article 6.
|
||||
La diffusion d'un Programme (ou de tout travail d<>riv<69>) suppose l'envoi
|
||||
simultan<61> d'une licence autorisant la copie, la distribution ou la
|
||||
modification du Programme, aux termes et conditions de la Licence. Vous
|
||||
n'avez pas le droit d'imposer de restrictions suppl<70>mentaires aux droits
|
||||
transmis au destinataire. Vous n'<27>tes pas responsable du respect de la
|
||||
Licence par un tiers.
|
||||
|
||||
_Article 7.
|
||||
Si, <20> la suite d'une d<>cision de Justice, d'une plainte en contrefa<66>on ou
|
||||
pour toute autre raison (li<6C>e ou non <20> la contrefa<66>on), des conditions Vous
|
||||
sont impos<6F>es (que ce soit par ordonnance, accord amiable ou autre) qui se
|
||||
r<>v<EFBFBD>lent incompatibles avec les termes de la pr<70>sente Licence, Vous n'<27>tes
|
||||
pas pour autant d<>gag<61> des obligations li<6C>es <20> celle-ci : si Vous ne
|
||||
pouvez concilier vos obligations l<>gales ou autres avec les conditions de
|
||||
cette Licence, Vous ne devez pas distribuer le Programme.
|
||||
|
||||
Si une partie quelconque de cet article est invalid<69>e ou inapplicable
|
||||
pour quelque raison que ce soit, le reste de l'article continue de
|
||||
s'appliquer et l'int<6E>gralit<69> de l'article s'appliquera en toute autre
|
||||
circonstance.
|
||||
|
||||
Le pr<70>sent article n'a pas pour but de Vous pousser <20> enfreindre des
|
||||
droits ou des dispositions l<>gales ni en contester la validit<69> ;
|
||||
son seul objectif est de prot<6F>ger l'int<6E>grit<69> du syst<73>me de
|
||||
distribution du Logiciel Libre. De nombreuses personnes ont
|
||||
g<>n<EFBFBD>reusement contribu<62> <20> la large gamme de Programmes distribu<62>e
|
||||
de cette fa<66>on en toute confiance il appartient <20> chaque
|
||||
auteur/donateur de d<>cider de diffuser ses Programmes selon les crit<69>res
|
||||
de son choix.
|
||||
|
||||
_Article 8.
|
||||
Si la distribution et/ou l'utilisation du Programme est limit<69>e dans
|
||||
certains pays par des brevets ou des droits sur des interfaces, le
|
||||
d<>tenteur original des droits qui place le Programme sous la Licence
|
||||
Publique G<>n<EFBFBD>rale peut ajouter explicitement une clause de limitation
|
||||
g<>ographique excluant ces pays. Dans ce cas, cette clause devient une
|
||||
partie int<6E>grante de la Licence.
|
||||
|
||||
_Article 9.
|
||||
La Free Software Foundation se r<>serve le droit de publier p<>riodiquement
|
||||
des mises <20> jour ou de nouvelles versions de la Licence. R<>dig<69>es dans le
|
||||
m<>me esprit que la pr<70>sente version, elles seront cependant susceptibles
|
||||
d'en modifier certains d<>tails <20> mesure que de nouveaux probl<62>mes se font
|
||||
jour.
|
||||
|
||||
Chaque version poss<73>de un num<75>ro distinct. Si le Programme pr<70>cise un
|
||||
num<75>ro de version de cette Licence et <20> toute version ult<6C>rieure <20>, Vous
|
||||
avez le choix de suivre les termes et conditions de cette version ou de
|
||||
toute autre version plus r<>cente publi<6C>e par la Free Software Foundation.
|
||||
Si le Programme ne sp<73>cifie aucun num<75>ro de version, Vous pouvez alors
|
||||
choisir l'une quelconque des versions publi<6C>es par la Free Software
|
||||
Foundation.
|
||||
|
||||
|
||||
_Article 10.
|
||||
Si Vous d<>sirez incorporer des <20>l<EFBFBD>ments du Programme dans d'autres
|
||||
Programmes libres dont les conditions de distribution diff<66>rent, Vous devez
|
||||
<20>crire <20> l'auteur pour lui en demander la permission. Pour ce qui est des
|
||||
Programmes directement d<>pos<6F>s par la Free Software Foundation,
|
||||
<20>crivez-nous : une exception est toujours envisageable. Notre d<>cision
|
||||
sera bas<61>e sur notre volont<6E> de pr<70>server la libert<72> de notre Programme ou
|
||||
de ses d<>riv<69>s et celle de promouvoir le partage et la r<>utilisation du
|
||||
logiciel en g<>n<EFBFBD>ral.
|
||||
|
||||
|
||||
LIMITATION DE GARANTIE
|
||||
|
||||
|
||||
_Article 11.
|
||||
|
||||
Parce que l'utilisation de ce Programme est libre et gratuite, aucune
|
||||
garantie n'est fournie, comme le permet la loi. Sauf mention <20>crite, les
|
||||
d<>tenteurs du copyright et/ou les tiers fournissent le Programme en l'<27>tat,
|
||||
sans aucune sorte de garantie explicite ou implicite, y compris les
|
||||
garanties de commercialisation ou d'adaptation dans un but
|
||||
particulier. Vous assumez tous les risques quant <20> la qualit<69> et aux effets
|
||||
du Programme. Si le Programme est d<>fectueux, Vous assumez le co<63>t de tous
|
||||
les services, corrections ou r<>parations n<>cessaires.
|
||||
|
||||
|
||||
_Article 12.
|
||||
Sauf lorsqu'explicitement pr<70>vu par la Loi ou accept<70> par <20>crit, ni le
|
||||
d<>tenteur des droits, ni quiconque autoris<69> <20> modifier et/ou redistribuer
|
||||
le Programme comme il est permis ci-dessus ne pourra <20>tre tenu pour
|
||||
responsable de tout dommage direct, indirect, secondaire ou accessoire
|
||||
(pertes financi<63>res dues au manque <20> gagner, <20> l'interruption d'activit<69>s
|
||||
ou <20> la perte de donn<6E>es, etc., d<>coulant de l'utilisation du Programme ou
|
||||
de l'impossibilit<69> d'utiliser celui-ci).
|
||||
|
||||
|
||||
|
||||
FIN DES TERMES ET CONDITIONS
|
||||
|
||||
Comment appliquer ces directives <20> vos nouveaux programmes
|
||||
|
||||
Si vous d<>veloppez un nouveau programme et d<>sirez en faire b<>n<EFBFBD>ficier tout
|
||||
un chacun, la meilleure m<>thode est d'en faire un Logiciel Libre que tout
|
||||
le monde pourra redistribuer et modifier selon les termes de la Licence
|
||||
Publique G<>n<EFBFBD>rale.
|
||||
|
||||
Pour cela, ins<6E>rez les indications suivantes dans votre programme (il est
|
||||
pr<EFBFBD>f<EFBFBD>rable et plus s<>r de les faire figurer au d<>but de chaque fichier
|
||||
source dans tous les cas, chaque module source devra comporter au
|
||||
minimum la ligne de <20> copyright <20> et indiquer o<> r<>sident toutes les
|
||||
autres indications):
|
||||
|
||||
|
||||
((une ligne pour donner le nom du programme et donner une id<69>e de
|
||||
sa finalit<69>))
|
||||
Copyright (C) 19xx ((nom de l'auteur))
|
||||
|
||||
Ce programme est libre, vous pouvez le redistribuer et/ou le modifier
|
||||
selon les termes de la Licence Publique G<>n<EFBFBD>rale GNU publi<6C>e par la
|
||||
Free Software Foundation (version 2 ou bien toute autre version
|
||||
ult<EFBFBD>rieure choisie par vous).
|
||||
|
||||
Ce programme est distribu<62> car potentiellement utile, mais SANS AUCUNE
|
||||
GARANTIE, ni explicite ni implicite, y compris les garanties de
|
||||
commercialisation ou d'adaptation dans un but sp<73>cifique.
|
||||
Reportez-vous <20> la Licence Publique G<>n<EFBFBD>rale GNU pour plus de d<>tails.
|
||||
|
||||
Vous devez avoir re<72>u une copie de la Licence Publique G<>n<EFBFBD>rale GNU
|
||||
en m<>me temps que ce programme si ce n'est pas le cas, <20>crivez <20> la
|
||||
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307, <20>tats-Unis.
|
||||
|
||||
|
||||
Ajoutez <20>galement votre adresse <20>lectronique, le cas <20>ch<63>ant, ainsi que
|
||||
votre adresse postale.
|
||||
|
||||
Si le programme est interactif, faites-lui afficher un court avertissement
|
||||
du type de celui-ci <20> chaque invocation:
|
||||
|
||||
|
||||
...(nom du programme) version 69, Copyright (C) 19aa nom de l'auteur
|
||||
|
||||
...(nom du programme) est fourni sans AUCUNE GARANTIE.
|
||||
Pour plus de d<>tails, tapez `g'.
|
||||
|
||||
Ce programme est libre et vous <20>tes encourag<61> <20> le redistribuer
|
||||
sous certaines conditions tapez `c' pour plus de d<>tails.
|
||||
|
||||
Les commandes hypoth<74>tiques `g' et `c' doivent afficher les sections
|
||||
appropri<EFBFBD>es de la Licence Publique G<>n<EFBFBD>rale GNU. Bien entendu, vous pouvez
|
||||
implanter ces commandes comme bon vous semble : options dans un menu,
|
||||
ou bien accessibles d'un clic de souris, etc., tout d<>pend de votre
|
||||
programme.
|
||||
|
||||
Si vous officiez en tant que programmeur, n'omettez pas de demander <20> votre
|
||||
employeur, votre <20>tablissement scolaire ou autres de signer une d<>charge
|
||||
stipulant leur renoncement aux droits qu'ils pourraient avoir sur le
|
||||
programme:
|
||||
>
|
||||
...((employeur, <20>cole...)) d<>clare par la pr<70>sente ne pas revendiquer
|
||||
de droits sur le programme <20> (nom du programme) <20> r<>alis<69> par ...((nom de
|
||||
l'auteur)).
|
||||
|
||||
((signature du responsable)), ...((date)),
|
||||
...((nom et qualit<69> du responsable)).
|
||||
|
||||
La Licence Publique G<>n<EFBFBD>rale ne permet pas d'inclure votre programme dans
|
||||
des logiciels sous licence commerciale sp<73>cifique. Si votre programme est
|
||||
une fonction de biblioth<74>que, vous jugerez probablement plus judicieux de
|
||||
le faire relever de la Licence G<>n<EFBFBD>rale de Biblioth<74>que GNU (LGPL) plut<75>t
|
||||
que de la pr<70>sente.
|
||||
|
||||
==========================================================================
|
||||
@@ -1,390 +1,390 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
|
||||
Traduction de R.Cougnec et M.Makar<61>vitch
|
||||
|
||||
Introduction :
|
||||
This is an unofficial translation of the GNU General Public License into
|
||||
French. It was not published by the Free Software Foundation, and does not
|
||||
legally state the distribution terms for software that uses the GNU
|
||||
GPL--only the original English text of the GNU GPL does that. However, we
|
||||
hope that this translation will help French speakers understand the GNU GPL
|
||||
better.
|
||||
|
||||
Voici une adaptation non officielle de la Licence Publique G<>n<EFBFBD>rale du
|
||||
projet GNU. Elle n'a pas <20>t<EFBFBD> publi<6C>e par la Free Software Foundation et son
|
||||
contenu n'a aucune port<72>e l<>gale car seule la version anglaise de ce
|
||||
document d<>taille le mode de distribution des logiciels sous GNU GPL. Nous
|
||||
esp<EFBFBD>rons cependant qu'elle permettra aux francophones de mieux comprendre
|
||||
la GPL.
|
||||
|
||||
-Licence Publique G<>n<EFBFBD>rale GNU Version 2, Juin 1991-
|
||||
|
||||
Copyright (c) Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330,
|
||||
Boston, MA 02111-1307
|
||||
<EFBFBD>tats-Unis, 1989, 1991.
|
||||
La copie et la distribution de copies exactes de ce document sont
|
||||
autoris<EFBFBD>es, mais aucune modification n'est permise.
|
||||
|
||||
Pr<50>ambule
|
||||
|
||||
Les licences d'utilisation de la plupart des programmes sont d<>finies pour
|
||||
limiter ou supprimer toute libert<72> <20> l'utilisateur. <20> l'inverse, la
|
||||
Licence Publique G<>n<EFBFBD>rale (General Public License) est destin<69>e <20> vous
|
||||
garantir la libert<72> de partager et de modifier les logiciels libres, et de
|
||||
s'assurer que ces logiciels sont effectivement accessibles <20> tout
|
||||
utilisateur.
|
||||
|
||||
Cette Licence Publique G<>n<EFBFBD>rale s'applique <20> la plupart des programmes de
|
||||
la Free Software Foundation, comme <20> tout autre programme dont l'auteur
|
||||
l'aura d<>cid<69> (d'autres logiciels de la FSF sont couverts pour leur part
|
||||
par la Licence Publique G<>n<EFBFBD>rale pour Biblioth<74>ques GNU (LGPL)). Vous
|
||||
pouvez aussi appliquer les termes de cette Licence <20> vos propres
|
||||
programmes, si vous le d<>sirez.
|
||||
|
||||
_Libert<72> des logiciels ne signifie pas n<>cessairement
|
||||
gratuit<EFBFBD>. Notre Licence est con<6F>ue pour vous assurer la libert<72> de
|
||||
distribuer des copies des programmes, gratuitement ou non, de recevoir le
|
||||
code source ou de pouvoir l'obtenir, de modifier les programmes ou d'en
|
||||
utiliser des <20>l<EFBFBD>ments dans de nouveaux programmes libres, en sachant que
|
||||
vous y <20>tes autoris<69>.
|
||||
|
||||
Afin de garantir ces droits, nous avons d<> introduire des restrictions
|
||||
interdisant <20> quiconque de vous les refuser ou de vous demander d'y
|
||||
renoncer. Ces restrictions vous imposent en retour certaines obligations si
|
||||
vous distribuez ou modifiez des copies de programmes prot<6F>g<EFBFBD>s par la
|
||||
Licence. En d'autre termes, il vous incombera en ce cas de :
|
||||
|
||||
-transmettre aux destinataires tous les droits que vous poss<73>dez,
|
||||
-exp<78>dier aux destinataires le code source ou bien tenir celui-ci <20>
|
||||
leur disposition,
|
||||
-leur remettre cette Licence afin qu'ils prennent connaissance de
|
||||
leurs droits.
|
||||
|
||||
|
||||
Nous prot<6F>geons vos droits de deux fa<66>ons : d'abord par le copyright
|
||||
du logiciel, ensuite par la remise de cette Licence qui vous autorise
|
||||
l<EFBFBD>galement <20> copier, distribuer et/ou modifier le logiciel.
|
||||
|
||||
En outre, pour prot<6F>ger chaque auteur ainsi que la FSF, nous affirmons
|
||||
solennellement que le programme concern<72> ne fait l'objet d'aucune garantie.
|
||||
Si un tiers le modifie puis le redistribue, tous ceux qui en recevront une
|
||||
copie doivent savoir qu'il ne s'agit pas de l'original afin qu'une copie
|
||||
d<EFBFBD>fectueuse n'entache pas la r<>putation de l'auteur du logiciel.
|
||||
|
||||
Enfin, tout programme libre est sans cesse menac<61> par des d<>p<EFBFBD>ts de
|
||||
brevets. Nous souhaitons <20> tout prix <20>viter que des distributeurs puissent
|
||||
d<EFBFBD>poser des brevets sur les Logiciels Libres pour leur propre compte. Pour
|
||||
<EFBFBD>viter cela, nous stipulons bien que tout d<>p<EFBFBD>t <20>ventuel de brevet doit
|
||||
accorder express<73>ment <20> tout un chacun le libre usage du produit.
|
||||
|
||||
Les dispositions pr<70>cises et les conditions de copie, de distribution et de
|
||||
modification de nos logiciels sont les suivantes :
|
||||
|
||||
Stipulations et conditions relatives <20> la copie, la distribution et la modification
|
||||
|
||||
|
||||
_Article 0.
|
||||
La pr<70>sente Licence s'applique <20> tout Programme (ou autre travail) o<>
|
||||
figure une note, plac<61>e par le d<>tenteur des droits, stipulant que ledit
|
||||
Programme ou travail peut <20>tre distribu<62> selon les termes de la pr<70>sente
|
||||
Licence. Le terme Programme d<>signe aussi bien le Programme
|
||||
lui-m<>me que tout travail qui en est d<>riv<69> selon la loi, c'est-<2D>-dire
|
||||
tout ouvrage reproduisant le Programme ou une partie de celui-ci, <20>
|
||||
l'identique ou bien modifi<66>, et/ou traduit dans une autre langue (la
|
||||
traduction est consid<69>r<EFBFBD>e comme une modification). Chaque personne
|
||||
concern<72>e par la Licence Publique G<>n<EFBFBD>rale sera d<>sign<67>e par le terme
|
||||
Vous.
|
||||
|
||||
Les activit<69>s autres que copie, distribution et modification ne sont pas
|
||||
couvertes par la pr<70>sente Licence et sortent de son cadre. Rien ne
|
||||
restreint l'utilisation du Programme et les donn<6E>es issues de celui-ci ne
|
||||
sont couvertes que si leur contenu constitue un travail bas<61> sur le
|
||||
logiciel (ind<6E>pendemment du fait d'avoir <20>t<EFBFBD> r<>alis<69> en lan<61>ant le
|
||||
Programme). Tout d<>pend de ce que le Programme est cens<6E> produire.
|
||||
|
||||
_Article 1.
|
||||
Vous pouvez copier et distribuer des copies conformes du code source du
|
||||
Programme, tel que Vous l'avez re<72>u, sur n'importe quel support, <20>
|
||||
condition de placer sur chaque copie un copyright appropri<72> et une
|
||||
restriction de garantie, de ne pas modifier ou omettre toutes les
|
||||
stipulations se r<>f<EFBFBD>rant <20> la pr<70>sente Licence et <20> la limitation de
|
||||
garantie, et de fournir avec toute copie du Programme un exemplaire de la
|
||||
Licence.
|
||||
|
||||
Vous pouvez demander une r<>tribution financi<63>re pour la r<>alisation de la
|
||||
copie et demeurez libre de proposer une garantie assur<75>e par vos soins,
|
||||
moyennant finances.
|
||||
|
||||
_Article 2.
|
||||
Vous pouvez modifier votre copie ou vos copies du Programme ou partie de
|
||||
celui-ci, ou d'un travail bas<61> sur ce Programme, et copier et distribuer
|
||||
ces modifications selon les termes de l'article 1, <20> condition de Vous
|
||||
conformer <20>galement aux conditions suivantes :
|
||||
|
||||
|
||||
a) Ajouter aux fichiers modifi<66>s l'indication tr<74>s claire des
|
||||
modifications effectu<74>es, ainsi que la date de chaque changement.
|
||||
|
||||
b) Distribuer sous les termes de la Licence Publique G<>n<EFBFBD>rale
|
||||
l'ensemble de toute r<>alisation contenant tout ou partie du
|
||||
Programme, avec ou sans modifications.
|
||||
c) Si le Programme modifi<66> lit des commandes de mani<6E>re interactive
|
||||
lors de son ex<65>cution, faire en sorte qu'il affiche, lors d'une
|
||||
invocation ordinaire, le copyright appropri<72> en indiquant
|
||||
clairement la limitation de garantie (ou la garantie que Vous Vous
|
||||
engagez <20> fournir Vous-m<>me), qu'il stipule que tout utilisateur
|
||||
peut librement redistribuer le Programme selon les conditions de la
|
||||
Licence Publique G<>n<EFBFBD>rale GNU, et qu'il montre <20> tout utilisateur
|
||||
comment lire une copie de celle-ci (exception : si le
|
||||
Programme original est interactif mais n'affiche pas un tel
|
||||
message en temps normal, tout travail d<>riv<69> de ce Programme ne
|
||||
sera pas non plus contraint de l'afficher).
|
||||
|
||||
Toutes ces conditions s'appliquent <20> l'ensemble des modifications. Si des
|
||||
<20>l<EFBFBD>ments identifiables de ce travail ne sont pas d<>riv<69>s du Programme
|
||||
et peuvent <20>tre raisonnablement consid<69>r<EFBFBD>s comme ind<6E>pendants, la
|
||||
pr<70>sente Licence ne s'applique pas <20> ces <20>l<EFBFBD>ments lorsque Vous les
|
||||
distribuez seuls.
|
||||
Mais, si Vous distribuez ces m<>mes <20>l<EFBFBD>ments comme partie d'un ensemble
|
||||
coh<6F>rent dont le reste est bas<61> sur un Programme soumis <20> la Licence, ils
|
||||
lui sont <20>galement soumis, et la Licence s'<27>tend ainsi <20> l'ensemble du
|
||||
produit, quel qu'en soit l'auteur.
|
||||
|
||||
Cet article n'a pas pour but de s'approprier ou de contester vos
|
||||
droits sur un travail enti<74>rement r<>alis<69> par Vous, mais plut<75>t
|
||||
d'ouvrir droit <20> un contr<74>le de la libre distribution de tout travail
|
||||
d<>riv<69> ou collectif bas<61> sur le Programme.
|
||||
|
||||
En outre, toute fusion d'un autre travail, non bas<61> sur le Programme,
|
||||
avec le Programme (ou avec un travail d<>riv<69> de ce dernier),
|
||||
effectu<74>e sur un support de stockage ou de distribution, ne fait pas
|
||||
tomber cet autre travail sous le contr<74>le de la Licence.
|
||||
|
||||
_Article 3.
|
||||
Vous pouvez copier et distribuer le Programme (ou tout travail d<>riv<69>
|
||||
selon les conditions <20>nonc<6E>es dans l'article 1) sous forme de code
|
||||
objet ou ex<65>cutable, selon les termes des articles 0 et 1, <20>
|
||||
condition de respecter les clauses suivantes :
|
||||
|
||||
|
||||
a) Fournir le code source complet du Programme,
|
||||
sous une forme lisible par un ordinateur et selon les termes des
|
||||
articles 0 et 1, sur un support habituellement utilis<69> pour
|
||||
l'<27>change de donn<6E>es ou,
|
||||
|
||||
b) Faire une offre <20>crite, valable pendant au moins trois ans,
|
||||
pr<70>voyant de donner <20> tout tiers qui en fera la demande une copie,
|
||||
sous forme lisible par un ordinateur, du code source correspondant,
|
||||
pour un tarif n'exc<78>dant pas le co<63>t de la copie, selon
|
||||
les termes des articles 0 et 1, sur un support couramment utilis<69>
|
||||
pour l'<27>change de donn<6E>es informatiques ou,
|
||||
|
||||
c) Informer le destinataire de l'endroit o<> le code source peut
|
||||
<20>tre obtenu (cette solution n'est recevable que dans le cas d'une
|
||||
distribution non commerciale, et uniquement si Vous avez re<72>u le
|
||||
Programme sous forme de code objet ou ex<65>cutable avec l'offre
|
||||
pr<70>vue <20> l'alin<69>a b ci-dessus).
|
||||
|
||||
|
||||
Le code source d'un travail d<>signe la forme de cet ouvrage sous laquelle
|
||||
les modifications sont les plus ais<69>es. Sont ainsi d<>sign<67>s la totalit<69>
|
||||
du code source de tous les modules composant un Programme ex<65>cutable, de
|
||||
m<>me que tout fichier de d<>finition associ<63>, ainsi que les scripts
|
||||
utilis<69>s pour effectuer la compilation et l'installation du Programme
|
||||
ex<65>cutable. Toutefois, l'environnement standard de d<>veloppement du
|
||||
syst<73>me d'exploitation mis en oeuvre (source ou binaire) -- compilateurs,
|
||||
biblioth<74>ques, noyau, etc. -- constitue une exception, sauf si ces
|
||||
<20>l<EFBFBD>ments sont diffus<75>s en m<>me temps que le Programme ex<65>cutable.
|
||||
|
||||
Si la distribution de l'ex<65>cutable ou du code objet consiste <20> offrir un
|
||||
acc<63>s permettant de copier le Programme depuis un endroit particulier,
|
||||
l'offre d'un acc<63>s <20>quivalent pour se procurer le code source au m<>me
|
||||
endroit est consid<69>r<EFBFBD> comme une distribution de ce code source, m<>me si
|
||||
l'utilisateur choisit de ne pas profiter de cette offre.
|
||||
|
||||
_Article 4.
|
||||
Vous ne pouvez pas copier, modifier, c<>der, d<>poser ou distribuer le
|
||||
Programme d'une autre mani<6E>re que l'autorise la Licence Publique G<>n<EFBFBD>rale.
|
||||
Toute tentative de ce type annule imm<6D>diatement vos droits d'utilisation du
|
||||
Programme sous cette Licence. Toutefois, les tiers ayant re<72>u de Vous
|
||||
des copies du Programme ou le droit d'utiliser ces copies continueront <20>
|
||||
b<>n<EFBFBD>ficier de leur droit d'utilisation tant qu'ils respecteront pleinement
|
||||
les conditions de la Licence.
|
||||
|
||||
_Article 5.
|
||||
Ne l'ayant pas sign<67>e, Vous n'<27>tes pas oblig<69> d'accepter cette
|
||||
Licence. Cependant, rien d'autre ne Vous autorise <20> modifier ou distribuer
|
||||
le Programme ou quelque travaux d<>riv<69>s : la loi l'interdit tant que Vous
|
||||
n'acceptez pas les termes de cette Licence. En cons<6E>quence, en modifiant
|
||||
ou en distribuant le Programme (ou tout travail bas<61> sur lui), Vous
|
||||
acceptez implicitement tous les termes et conditions de cette Licence.
|
||||
|
||||
_Article 6.
|
||||
La diffusion d'un Programme (ou de tout travail d<>riv<69>) suppose l'envoi
|
||||
simultan<61> d'une licence autorisant la copie, la distribution ou la
|
||||
modification du Programme, aux termes et conditions de la Licence. Vous
|
||||
n'avez pas le droit d'imposer de restrictions suppl<70>mentaires aux droits
|
||||
transmis au destinataire. Vous n'<27>tes pas responsable du respect de la
|
||||
Licence par un tiers.
|
||||
|
||||
_Article 7.
|
||||
Si, <20> la suite d'une d<>cision de Justice, d'une plainte en contrefa<66>on ou
|
||||
pour toute autre raison (li<6C>e ou non <20> la contrefa<66>on), des conditions Vous
|
||||
sont impos<6F>es (que ce soit par ordonnance, accord amiable ou autre) qui se
|
||||
r<>v<EFBFBD>lent incompatibles avec les termes de la pr<70>sente Licence, Vous n'<27>tes
|
||||
pas pour autant d<>gag<61> des obligations li<6C>es <20> celle-ci : si Vous ne
|
||||
pouvez concilier vos obligations l<>gales ou autres avec les conditions de
|
||||
cette Licence, Vous ne devez pas distribuer le Programme.
|
||||
|
||||
Si une partie quelconque de cet article est invalid<69>e ou inapplicable
|
||||
pour quelque raison que ce soit, le reste de l'article continue de
|
||||
s'appliquer et l'int<6E>gralit<69> de l'article s'appliquera en toute autre
|
||||
circonstance.
|
||||
|
||||
Le pr<70>sent article n'a pas pour but de Vous pousser <20> enfreindre des
|
||||
droits ou des dispositions l<>gales ni en contester la validit<69> ;
|
||||
son seul objectif est de prot<6F>ger l'int<6E>grit<69> du syst<73>me de
|
||||
distribution du Logiciel Libre. De nombreuses personnes ont
|
||||
g<>n<EFBFBD>reusement contribu<62> <20> la large gamme de Programmes distribu<62>e
|
||||
de cette fa<66>on en toute confiance il appartient <20> chaque
|
||||
auteur/donateur de d<>cider de diffuser ses Programmes selon les crit<69>res
|
||||
de son choix.
|
||||
|
||||
_Article 8.
|
||||
Si la distribution et/ou l'utilisation du Programme est limit<69>e dans
|
||||
certains pays par des brevets ou des droits sur des interfaces, le
|
||||
d<>tenteur original des droits qui place le Programme sous la Licence
|
||||
Publique G<>n<EFBFBD>rale peut ajouter explicitement une clause de limitation
|
||||
g<>ographique excluant ces pays. Dans ce cas, cette clause devient une
|
||||
partie int<6E>grante de la Licence.
|
||||
|
||||
_Article 9.
|
||||
La Free Software Foundation se r<>serve le droit de publier p<>riodiquement
|
||||
des mises <20> jour ou de nouvelles versions de la Licence. R<>dig<69>es dans le
|
||||
m<>me esprit que la pr<70>sente version, elles seront cependant susceptibles
|
||||
d'en modifier certains d<>tails <20> mesure que de nouveaux probl<62>mes se font
|
||||
jour.
|
||||
|
||||
Chaque version poss<73>de un num<75>ro distinct. Si le Programme pr<70>cise un
|
||||
num<75>ro de version de cette Licence et <20> toute version ult<6C>rieure <20>, Vous
|
||||
avez le choix de suivre les termes et conditions de cette version ou de
|
||||
toute autre version plus r<>cente publi<6C>e par la Free Software Foundation.
|
||||
Si le Programme ne sp<73>cifie aucun num<75>ro de version, Vous pouvez alors
|
||||
choisir l'une quelconque des versions publi<6C>es par la Free Software
|
||||
Foundation.
|
||||
|
||||
|
||||
_Article 10.
|
||||
Si Vous d<>sirez incorporer des <20>l<EFBFBD>ments du Programme dans d'autres
|
||||
Programmes libres dont les conditions de distribution diff<66>rent, Vous devez
|
||||
<20>crire <20> l'auteur pour lui en demander la permission. Pour ce qui est des
|
||||
Programmes directement d<>pos<6F>s par la Free Software Foundation,
|
||||
<20>crivez-nous : une exception est toujours envisageable. Notre d<>cision
|
||||
sera bas<61>e sur notre volont<6E> de pr<70>server la libert<72> de notre Programme ou
|
||||
de ses d<>riv<69>s et celle de promouvoir le partage et la r<>utilisation du
|
||||
logiciel en g<>n<EFBFBD>ral.
|
||||
|
||||
|
||||
LIMITATION DE GARANTIE
|
||||
|
||||
|
||||
_Article 11.
|
||||
|
||||
Parce que l'utilisation de ce Programme est libre et gratuite, aucune
|
||||
garantie n'est fournie, comme le permet la loi. Sauf mention <20>crite, les
|
||||
d<>tenteurs du copyright et/ou les tiers fournissent le Programme en l'<27>tat,
|
||||
sans aucune sorte de garantie explicite ou implicite, y compris les
|
||||
garanties de commercialisation ou d'adaptation dans un but
|
||||
particulier. Vous assumez tous les risques quant <20> la qualit<69> et aux effets
|
||||
du Programme. Si le Programme est d<>fectueux, Vous assumez le co<63>t de tous
|
||||
les services, corrections ou r<>parations n<>cessaires.
|
||||
|
||||
|
||||
_Article 12.
|
||||
Sauf lorsqu'explicitement pr<70>vu par la Loi ou accept<70> par <20>crit, ni le
|
||||
d<>tenteur des droits, ni quiconque autoris<69> <20> modifier et/ou redistribuer
|
||||
le Programme comme il est permis ci-dessus ne pourra <20>tre tenu pour
|
||||
responsable de tout dommage direct, indirect, secondaire ou accessoire
|
||||
(pertes financi<63>res dues au manque <20> gagner, <20> l'interruption d'activit<69>s
|
||||
ou <20> la perte de donn<6E>es, etc., d<>coulant de l'utilisation du Programme ou
|
||||
de l'impossibilit<69> d'utiliser celui-ci).
|
||||
|
||||
|
||||
|
||||
FIN DES TERMES ET CONDITIONS
|
||||
|
||||
Comment appliquer ces directives <20> vos nouveaux programmes
|
||||
|
||||
Si vous d<>veloppez un nouveau programme et d<>sirez en faire b<>n<EFBFBD>ficier tout
|
||||
un chacun, la meilleure m<>thode est d'en faire un Logiciel Libre que tout
|
||||
le monde pourra redistribuer et modifier selon les termes de la Licence
|
||||
Publique G<>n<EFBFBD>rale.
|
||||
|
||||
Pour cela, ins<6E>rez les indications suivantes dans votre programme (il est
|
||||
pr<EFBFBD>f<EFBFBD>rable et plus s<>r de les faire figurer au d<>but de chaque fichier
|
||||
source dans tous les cas, chaque module source devra comporter au
|
||||
minimum la ligne de <20> copyright <20> et indiquer o<> r<>sident toutes les
|
||||
autres indications):
|
||||
|
||||
|
||||
((une ligne pour donner le nom du programme et donner une id<69>e de
|
||||
sa finalit<69>))
|
||||
Copyright (C) 19xx ((nom de l'auteur))
|
||||
|
||||
Ce programme est libre, vous pouvez le redistribuer et/ou le modifier
|
||||
selon les termes de la Licence Publique G<>n<EFBFBD>rale GNU publi<6C>e par la
|
||||
Free Software Foundation (version 2 ou bien toute autre version
|
||||
ult<EFBFBD>rieure choisie par vous).
|
||||
|
||||
Ce programme est distribu<62> car potentiellement utile, mais SANS AUCUNE
|
||||
GARANTIE, ni explicite ni implicite, y compris les garanties de
|
||||
commercialisation ou d'adaptation dans un but sp<73>cifique.
|
||||
Reportez-vous <20> la Licence Publique G<>n<EFBFBD>rale GNU pour plus de d<>tails.
|
||||
|
||||
Vous devez avoir re<72>u une copie de la Licence Publique G<>n<EFBFBD>rale GNU
|
||||
en m<>me temps que ce programme si ce n'est pas le cas, <20>crivez <20> la
|
||||
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307, <20>tats-Unis.
|
||||
|
||||
|
||||
Ajoutez <20>galement votre adresse <20>lectronique, le cas <20>ch<63>ant, ainsi que
|
||||
votre adresse postale.
|
||||
|
||||
Si le programme est interactif, faites-lui afficher un court avertissement
|
||||
du type de celui-ci <20> chaque invocation:
|
||||
|
||||
|
||||
...(nom du programme) version 69, Copyright (C) 19aa nom de l'auteur
|
||||
|
||||
...(nom du programme) est fourni sans AUCUNE GARANTIE.
|
||||
Pour plus de d<>tails, tapez `g'.
|
||||
|
||||
Ce programme est libre et vous <20>tes encourag<61> <20> le redistribuer
|
||||
sous certaines conditions tapez `c' pour plus de d<>tails.
|
||||
|
||||
Les commandes hypoth<74>tiques `g' et `c' doivent afficher les sections
|
||||
appropri<EFBFBD>es de la Licence Publique G<>n<EFBFBD>rale GNU. Bien entendu, vous pouvez
|
||||
implanter ces commandes comme bon vous semble : options dans un menu,
|
||||
ou bien accessibles d'un clic de souris, etc., tout d<>pend de votre
|
||||
programme.
|
||||
|
||||
Si vous officiez en tant que programmeur, n'omettez pas de demander <20> votre
|
||||
employeur, votre <20>tablissement scolaire ou autres de signer une d<>charge
|
||||
stipulant leur renoncement aux droits qu'ils pourraient avoir sur le
|
||||
programme:
|
||||
>
|
||||
...((employeur, <20>cole...)) d<>clare par la pr<70>sente ne pas revendiquer
|
||||
de droits sur le programme <20> (nom du programme) <20> r<>alis<69> par ...((nom de
|
||||
l'auteur)).
|
||||
|
||||
((signature du responsable)), ...((date)),
|
||||
...((nom et qualit<69> du responsable)).
|
||||
|
||||
La Licence Publique G<>n<EFBFBD>rale ne permet pas d'inclure votre programme dans
|
||||
des logiciels sous licence commerciale sp<73>cifique. Si votre programme est
|
||||
une fonction de biblioth<74>que, vous jugerez probablement plus judicieux de
|
||||
le faire relever de la Licence G<>n<EFBFBD>rale de Biblioth<74>que GNU (LGPL) plut<75>t
|
||||
que de la pr<70>sente.
|
||||
|
||||
|
||||
Traduction de R.Cougnec et M.Makar<61>vitch
|
||||
|
||||
Introduction :
|
||||
This is an unofficial translation of the GNU General Public License into
|
||||
French. It was not published by the Free Software Foundation, and does not
|
||||
legally state the distribution terms for software that uses the GNU
|
||||
GPL--only the original English text of the GNU GPL does that. However, we
|
||||
hope that this translation will help French speakers understand the GNU GPL
|
||||
better.
|
||||
|
||||
Voici une adaptation non officielle de la Licence Publique G<>n<EFBFBD>rale du
|
||||
projet GNU. Elle n'a pas <20>t<EFBFBD> publi<6C>e par la Free Software Foundation et son
|
||||
contenu n'a aucune port<72>e l<>gale car seule la version anglaise de ce
|
||||
document d<>taille le mode de distribution des logiciels sous GNU GPL. Nous
|
||||
esp<EFBFBD>rons cependant qu'elle permettra aux francophones de mieux comprendre
|
||||
la GPL.
|
||||
|
||||
-Licence Publique G<>n<EFBFBD>rale GNU Version 2, Juin 1991-
|
||||
|
||||
Copyright (c) Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330,
|
||||
Boston, MA 02111-1307
|
||||
<EFBFBD>tats-Unis, 1989, 1991.
|
||||
La copie et la distribution de copies exactes de ce document sont
|
||||
autoris<EFBFBD>es, mais aucune modification n'est permise.
|
||||
|
||||
Pr<50>ambule
|
||||
|
||||
Les licences d'utilisation de la plupart des programmes sont d<>finies pour
|
||||
limiter ou supprimer toute libert<72> <20> l'utilisateur. <20> l'inverse, la
|
||||
Licence Publique G<>n<EFBFBD>rale (General Public License) est destin<69>e <20> vous
|
||||
garantir la libert<72> de partager et de modifier les logiciels libres, et de
|
||||
s'assurer que ces logiciels sont effectivement accessibles <20> tout
|
||||
utilisateur.
|
||||
|
||||
Cette Licence Publique G<>n<EFBFBD>rale s'applique <20> la plupart des programmes de
|
||||
la Free Software Foundation, comme <20> tout autre programme dont l'auteur
|
||||
l'aura d<>cid<69> (d'autres logiciels de la FSF sont couverts pour leur part
|
||||
par la Licence Publique G<>n<EFBFBD>rale pour Biblioth<74>ques GNU (LGPL)). Vous
|
||||
pouvez aussi appliquer les termes de cette Licence <20> vos propres
|
||||
programmes, si vous le d<>sirez.
|
||||
|
||||
_Libert<72> des logiciels ne signifie pas n<>cessairement
|
||||
gratuit<EFBFBD>. Notre Licence est con<6F>ue pour vous assurer la libert<72> de
|
||||
distribuer des copies des programmes, gratuitement ou non, de recevoir le
|
||||
code source ou de pouvoir l'obtenir, de modifier les programmes ou d'en
|
||||
utiliser des <20>l<EFBFBD>ments dans de nouveaux programmes libres, en sachant que
|
||||
vous y <20>tes autoris<69>.
|
||||
|
||||
Afin de garantir ces droits, nous avons d<> introduire des restrictions
|
||||
interdisant <20> quiconque de vous les refuser ou de vous demander d'y
|
||||
renoncer. Ces restrictions vous imposent en retour certaines obligations si
|
||||
vous distribuez ou modifiez des copies de programmes prot<6F>g<EFBFBD>s par la
|
||||
Licence. En d'autre termes, il vous incombera en ce cas de :
|
||||
|
||||
-transmettre aux destinataires tous les droits que vous poss<73>dez,
|
||||
-exp<78>dier aux destinataires le code source ou bien tenir celui-ci <20>
|
||||
leur disposition,
|
||||
-leur remettre cette Licence afin qu'ils prennent connaissance de
|
||||
leurs droits.
|
||||
|
||||
|
||||
Nous prot<6F>geons vos droits de deux fa<66>ons : d'abord par le copyright
|
||||
du logiciel, ensuite par la remise de cette Licence qui vous autorise
|
||||
l<EFBFBD>galement <20> copier, distribuer et/ou modifier le logiciel.
|
||||
|
||||
En outre, pour prot<6F>ger chaque auteur ainsi que la FSF, nous affirmons
|
||||
solennellement que le programme concern<72> ne fait l'objet d'aucune garantie.
|
||||
Si un tiers le modifie puis le redistribue, tous ceux qui en recevront une
|
||||
copie doivent savoir qu'il ne s'agit pas de l'original afin qu'une copie
|
||||
d<EFBFBD>fectueuse n'entache pas la r<>putation de l'auteur du logiciel.
|
||||
|
||||
Enfin, tout programme libre est sans cesse menac<61> par des d<>p<EFBFBD>ts de
|
||||
brevets. Nous souhaitons <20> tout prix <20>viter que des distributeurs puissent
|
||||
d<EFBFBD>poser des brevets sur les Logiciels Libres pour leur propre compte. Pour
|
||||
<EFBFBD>viter cela, nous stipulons bien que tout d<>p<EFBFBD>t <20>ventuel de brevet doit
|
||||
accorder express<73>ment <20> tout un chacun le libre usage du produit.
|
||||
|
||||
Les dispositions pr<70>cises et les conditions de copie, de distribution et de
|
||||
modification de nos logiciels sont les suivantes :
|
||||
|
||||
Stipulations et conditions relatives <20> la copie, la distribution et la modification
|
||||
|
||||
|
||||
_Article 0.
|
||||
La pr<70>sente Licence s'applique <20> tout Programme (ou autre travail) o<>
|
||||
figure une note, plac<61>e par le d<>tenteur des droits, stipulant que ledit
|
||||
Programme ou travail peut <20>tre distribu<62> selon les termes de la pr<70>sente
|
||||
Licence. Le terme Programme d<>signe aussi bien le Programme
|
||||
lui-m<>me que tout travail qui en est d<>riv<69> selon la loi, c'est-<2D>-dire
|
||||
tout ouvrage reproduisant le Programme ou une partie de celui-ci, <20>
|
||||
l'identique ou bien modifi<66>, et/ou traduit dans une autre langue (la
|
||||
traduction est consid<69>r<EFBFBD>e comme une modification). Chaque personne
|
||||
concern<72>e par la Licence Publique G<>n<EFBFBD>rale sera d<>sign<67>e par le terme
|
||||
Vous.
|
||||
|
||||
Les activit<69>s autres que copie, distribution et modification ne sont pas
|
||||
couvertes par la pr<70>sente Licence et sortent de son cadre. Rien ne
|
||||
restreint l'utilisation du Programme et les donn<6E>es issues de celui-ci ne
|
||||
sont couvertes que si leur contenu constitue un travail bas<61> sur le
|
||||
logiciel (ind<6E>pendemment du fait d'avoir <20>t<EFBFBD> r<>alis<69> en lan<61>ant le
|
||||
Programme). Tout d<>pend de ce que le Programme est cens<6E> produire.
|
||||
|
||||
_Article 1.
|
||||
Vous pouvez copier et distribuer des copies conformes du code source du
|
||||
Programme, tel que Vous l'avez re<72>u, sur n'importe quel support, <20>
|
||||
condition de placer sur chaque copie un copyright appropri<72> et une
|
||||
restriction de garantie, de ne pas modifier ou omettre toutes les
|
||||
stipulations se r<>f<EFBFBD>rant <20> la pr<70>sente Licence et <20> la limitation de
|
||||
garantie, et de fournir avec toute copie du Programme un exemplaire de la
|
||||
Licence.
|
||||
|
||||
Vous pouvez demander une r<>tribution financi<63>re pour la r<>alisation de la
|
||||
copie et demeurez libre de proposer une garantie assur<75>e par vos soins,
|
||||
moyennant finances.
|
||||
|
||||
_Article 2.
|
||||
Vous pouvez modifier votre copie ou vos copies du Programme ou partie de
|
||||
celui-ci, ou d'un travail bas<61> sur ce Programme, et copier et distribuer
|
||||
ces modifications selon les termes de l'article 1, <20> condition de Vous
|
||||
conformer <20>galement aux conditions suivantes :
|
||||
|
||||
|
||||
a) Ajouter aux fichiers modifi<66>s l'indication tr<74>s claire des
|
||||
modifications effectu<74>es, ainsi que la date de chaque changement.
|
||||
|
||||
b) Distribuer sous les termes de la Licence Publique G<>n<EFBFBD>rale
|
||||
l'ensemble de toute r<>alisation contenant tout ou partie du
|
||||
Programme, avec ou sans modifications.
|
||||
c) Si le Programme modifi<66> lit des commandes de mani<6E>re interactive
|
||||
lors de son ex<65>cution, faire en sorte qu'il affiche, lors d'une
|
||||
invocation ordinaire, le copyright appropri<72> en indiquant
|
||||
clairement la limitation de garantie (ou la garantie que Vous Vous
|
||||
engagez <20> fournir Vous-m<>me), qu'il stipule que tout utilisateur
|
||||
peut librement redistribuer le Programme selon les conditions de la
|
||||
Licence Publique G<>n<EFBFBD>rale GNU, et qu'il montre <20> tout utilisateur
|
||||
comment lire une copie de celle-ci (exception : si le
|
||||
Programme original est interactif mais n'affiche pas un tel
|
||||
message en temps normal, tout travail d<>riv<69> de ce Programme ne
|
||||
sera pas non plus contraint de l'afficher).
|
||||
|
||||
Toutes ces conditions s'appliquent <20> l'ensemble des modifications. Si des
|
||||
<20>l<EFBFBD>ments identifiables de ce travail ne sont pas d<>riv<69>s du Programme
|
||||
et peuvent <20>tre raisonnablement consid<69>r<EFBFBD>s comme ind<6E>pendants, la
|
||||
pr<70>sente Licence ne s'applique pas <20> ces <20>l<EFBFBD>ments lorsque Vous les
|
||||
distribuez seuls.
|
||||
Mais, si Vous distribuez ces m<>mes <20>l<EFBFBD>ments comme partie d'un ensemble
|
||||
coh<6F>rent dont le reste est bas<61> sur un Programme soumis <20> la Licence, ils
|
||||
lui sont <20>galement soumis, et la Licence s'<27>tend ainsi <20> l'ensemble du
|
||||
produit, quel qu'en soit l'auteur.
|
||||
|
||||
Cet article n'a pas pour but de s'approprier ou de contester vos
|
||||
droits sur un travail enti<74>rement r<>alis<69> par Vous, mais plut<75>t
|
||||
d'ouvrir droit <20> un contr<74>le de la libre distribution de tout travail
|
||||
d<>riv<69> ou collectif bas<61> sur le Programme.
|
||||
|
||||
En outre, toute fusion d'un autre travail, non bas<61> sur le Programme,
|
||||
avec le Programme (ou avec un travail d<>riv<69> de ce dernier),
|
||||
effectu<74>e sur un support de stockage ou de distribution, ne fait pas
|
||||
tomber cet autre travail sous le contr<74>le de la Licence.
|
||||
|
||||
_Article 3.
|
||||
Vous pouvez copier et distribuer le Programme (ou tout travail d<>riv<69>
|
||||
selon les conditions <20>nonc<6E>es dans l'article 1) sous forme de code
|
||||
objet ou ex<65>cutable, selon les termes des articles 0 et 1, <20>
|
||||
condition de respecter les clauses suivantes :
|
||||
|
||||
|
||||
a) Fournir le code source complet du Programme,
|
||||
sous une forme lisible par un ordinateur et selon les termes des
|
||||
articles 0 et 1, sur un support habituellement utilis<69> pour
|
||||
l'<27>change de donn<6E>es ou,
|
||||
|
||||
b) Faire une offre <20>crite, valable pendant au moins trois ans,
|
||||
pr<70>voyant de donner <20> tout tiers qui en fera la demande une copie,
|
||||
sous forme lisible par un ordinateur, du code source correspondant,
|
||||
pour un tarif n'exc<78>dant pas le co<63>t de la copie, selon
|
||||
les termes des articles 0 et 1, sur un support couramment utilis<69>
|
||||
pour l'<27>change de donn<6E>es informatiques ou,
|
||||
|
||||
c) Informer le destinataire de l'endroit o<> le code source peut
|
||||
<20>tre obtenu (cette solution n'est recevable que dans le cas d'une
|
||||
distribution non commerciale, et uniquement si Vous avez re<72>u le
|
||||
Programme sous forme de code objet ou ex<65>cutable avec l'offre
|
||||
pr<70>vue <20> l'alin<69>a b ci-dessus).
|
||||
|
||||
|
||||
Le code source d'un travail d<>signe la forme de cet ouvrage sous laquelle
|
||||
les modifications sont les plus ais<69>es. Sont ainsi d<>sign<67>s la totalit<69>
|
||||
du code source de tous les modules composant un Programme ex<65>cutable, de
|
||||
m<>me que tout fichier de d<>finition associ<63>, ainsi que les scripts
|
||||
utilis<69>s pour effectuer la compilation et l'installation du Programme
|
||||
ex<65>cutable. Toutefois, l'environnement standard de d<>veloppement du
|
||||
syst<73>me d'exploitation mis en oeuvre (source ou binaire) -- compilateurs,
|
||||
biblioth<74>ques, noyau, etc. -- constitue une exception, sauf si ces
|
||||
<20>l<EFBFBD>ments sont diffus<75>s en m<>me temps que le Programme ex<65>cutable.
|
||||
|
||||
Si la distribution de l'ex<65>cutable ou du code objet consiste <20> offrir un
|
||||
acc<63>s permettant de copier le Programme depuis un endroit particulier,
|
||||
l'offre d'un acc<63>s <20>quivalent pour se procurer le code source au m<>me
|
||||
endroit est consid<69>r<EFBFBD> comme une distribution de ce code source, m<>me si
|
||||
l'utilisateur choisit de ne pas profiter de cette offre.
|
||||
|
||||
_Article 4.
|
||||
Vous ne pouvez pas copier, modifier, c<>der, d<>poser ou distribuer le
|
||||
Programme d'une autre mani<6E>re que l'autorise la Licence Publique G<>n<EFBFBD>rale.
|
||||
Toute tentative de ce type annule imm<6D>diatement vos droits d'utilisation du
|
||||
Programme sous cette Licence. Toutefois, les tiers ayant re<72>u de Vous
|
||||
des copies du Programme ou le droit d'utiliser ces copies continueront <20>
|
||||
b<>n<EFBFBD>ficier de leur droit d'utilisation tant qu'ils respecteront pleinement
|
||||
les conditions de la Licence.
|
||||
|
||||
_Article 5.
|
||||
Ne l'ayant pas sign<67>e, Vous n'<27>tes pas oblig<69> d'accepter cette
|
||||
Licence. Cependant, rien d'autre ne Vous autorise <20> modifier ou distribuer
|
||||
le Programme ou quelque travaux d<>riv<69>s : la loi l'interdit tant que Vous
|
||||
n'acceptez pas les termes de cette Licence. En cons<6E>quence, en modifiant
|
||||
ou en distribuant le Programme (ou tout travail bas<61> sur lui), Vous
|
||||
acceptez implicitement tous les termes et conditions de cette Licence.
|
||||
|
||||
_Article 6.
|
||||
La diffusion d'un Programme (ou de tout travail d<>riv<69>) suppose l'envoi
|
||||
simultan<61> d'une licence autorisant la copie, la distribution ou la
|
||||
modification du Programme, aux termes et conditions de la Licence. Vous
|
||||
n'avez pas le droit d'imposer de restrictions suppl<70>mentaires aux droits
|
||||
transmis au destinataire. Vous n'<27>tes pas responsable du respect de la
|
||||
Licence par un tiers.
|
||||
|
||||
_Article 7.
|
||||
Si, <20> la suite d'une d<>cision de Justice, d'une plainte en contrefa<66>on ou
|
||||
pour toute autre raison (li<6C>e ou non <20> la contrefa<66>on), des conditions Vous
|
||||
sont impos<6F>es (que ce soit par ordonnance, accord amiable ou autre) qui se
|
||||
r<>v<EFBFBD>lent incompatibles avec les termes de la pr<70>sente Licence, Vous n'<27>tes
|
||||
pas pour autant d<>gag<61> des obligations li<6C>es <20> celle-ci : si Vous ne
|
||||
pouvez concilier vos obligations l<>gales ou autres avec les conditions de
|
||||
cette Licence, Vous ne devez pas distribuer le Programme.
|
||||
|
||||
Si une partie quelconque de cet article est invalid<69>e ou inapplicable
|
||||
pour quelque raison que ce soit, le reste de l'article continue de
|
||||
s'appliquer et l'int<6E>gralit<69> de l'article s'appliquera en toute autre
|
||||
circonstance.
|
||||
|
||||
Le pr<70>sent article n'a pas pour but de Vous pousser <20> enfreindre des
|
||||
droits ou des dispositions l<>gales ni en contester la validit<69> ;
|
||||
son seul objectif est de prot<6F>ger l'int<6E>grit<69> du syst<73>me de
|
||||
distribution du Logiciel Libre. De nombreuses personnes ont
|
||||
g<>n<EFBFBD>reusement contribu<62> <20> la large gamme de Programmes distribu<62>e
|
||||
de cette fa<66>on en toute confiance il appartient <20> chaque
|
||||
auteur/donateur de d<>cider de diffuser ses Programmes selon les crit<69>res
|
||||
de son choix.
|
||||
|
||||
_Article 8.
|
||||
Si la distribution et/ou l'utilisation du Programme est limit<69>e dans
|
||||
certains pays par des brevets ou des droits sur des interfaces, le
|
||||
d<>tenteur original des droits qui place le Programme sous la Licence
|
||||
Publique G<>n<EFBFBD>rale peut ajouter explicitement une clause de limitation
|
||||
g<>ographique excluant ces pays. Dans ce cas, cette clause devient une
|
||||
partie int<6E>grante de la Licence.
|
||||
|
||||
_Article 9.
|
||||
La Free Software Foundation se r<>serve le droit de publier p<>riodiquement
|
||||
des mises <20> jour ou de nouvelles versions de la Licence. R<>dig<69>es dans le
|
||||
m<>me esprit que la pr<70>sente version, elles seront cependant susceptibles
|
||||
d'en modifier certains d<>tails <20> mesure que de nouveaux probl<62>mes se font
|
||||
jour.
|
||||
|
||||
Chaque version poss<73>de un num<75>ro distinct. Si le Programme pr<70>cise un
|
||||
num<75>ro de version de cette Licence et <20> toute version ult<6C>rieure <20>, Vous
|
||||
avez le choix de suivre les termes et conditions de cette version ou de
|
||||
toute autre version plus r<>cente publi<6C>e par la Free Software Foundation.
|
||||
Si le Programme ne sp<73>cifie aucun num<75>ro de version, Vous pouvez alors
|
||||
choisir l'une quelconque des versions publi<6C>es par la Free Software
|
||||
Foundation.
|
||||
|
||||
|
||||
_Article 10.
|
||||
Si Vous d<>sirez incorporer des <20>l<EFBFBD>ments du Programme dans d'autres
|
||||
Programmes libres dont les conditions de distribution diff<66>rent, Vous devez
|
||||
<20>crire <20> l'auteur pour lui en demander la permission. Pour ce qui est des
|
||||
Programmes directement d<>pos<6F>s par la Free Software Foundation,
|
||||
<20>crivez-nous : une exception est toujours envisageable. Notre d<>cision
|
||||
sera bas<61>e sur notre volont<6E> de pr<70>server la libert<72> de notre Programme ou
|
||||
de ses d<>riv<69>s et celle de promouvoir le partage et la r<>utilisation du
|
||||
logiciel en g<>n<EFBFBD>ral.
|
||||
|
||||
|
||||
LIMITATION DE GARANTIE
|
||||
|
||||
|
||||
_Article 11.
|
||||
|
||||
Parce que l'utilisation de ce Programme est libre et gratuite, aucune
|
||||
garantie n'est fournie, comme le permet la loi. Sauf mention <20>crite, les
|
||||
d<>tenteurs du copyright et/ou les tiers fournissent le Programme en l'<27>tat,
|
||||
sans aucune sorte de garantie explicite ou implicite, y compris les
|
||||
garanties de commercialisation ou d'adaptation dans un but
|
||||
particulier. Vous assumez tous les risques quant <20> la qualit<69> et aux effets
|
||||
du Programme. Si le Programme est d<>fectueux, Vous assumez le co<63>t de tous
|
||||
les services, corrections ou r<>parations n<>cessaires.
|
||||
|
||||
|
||||
_Article 12.
|
||||
Sauf lorsqu'explicitement pr<70>vu par la Loi ou accept<70> par <20>crit, ni le
|
||||
d<>tenteur des droits, ni quiconque autoris<69> <20> modifier et/ou redistribuer
|
||||
le Programme comme il est permis ci-dessus ne pourra <20>tre tenu pour
|
||||
responsable de tout dommage direct, indirect, secondaire ou accessoire
|
||||
(pertes financi<63>res dues au manque <20> gagner, <20> l'interruption d'activit<69>s
|
||||
ou <20> la perte de donn<6E>es, etc., d<>coulant de l'utilisation du Programme ou
|
||||
de l'impossibilit<69> d'utiliser celui-ci).
|
||||
|
||||
|
||||
|
||||
FIN DES TERMES ET CONDITIONS
|
||||
|
||||
Comment appliquer ces directives <20> vos nouveaux programmes
|
||||
|
||||
Si vous d<>veloppez un nouveau programme et d<>sirez en faire b<>n<EFBFBD>ficier tout
|
||||
un chacun, la meilleure m<>thode est d'en faire un Logiciel Libre que tout
|
||||
le monde pourra redistribuer et modifier selon les termes de la Licence
|
||||
Publique G<>n<EFBFBD>rale.
|
||||
|
||||
Pour cela, ins<6E>rez les indications suivantes dans votre programme (il est
|
||||
pr<EFBFBD>f<EFBFBD>rable et plus s<>r de les faire figurer au d<>but de chaque fichier
|
||||
source dans tous les cas, chaque module source devra comporter au
|
||||
minimum la ligne de <20> copyright <20> et indiquer o<> r<>sident toutes les
|
||||
autres indications):
|
||||
|
||||
|
||||
((une ligne pour donner le nom du programme et donner une id<69>e de
|
||||
sa finalit<69>))
|
||||
Copyright (C) 19xx ((nom de l'auteur))
|
||||
|
||||
Ce programme est libre, vous pouvez le redistribuer et/ou le modifier
|
||||
selon les termes de la Licence Publique G<>n<EFBFBD>rale GNU publi<6C>e par la
|
||||
Free Software Foundation (version 2 ou bien toute autre version
|
||||
ult<EFBFBD>rieure choisie par vous).
|
||||
|
||||
Ce programme est distribu<62> car potentiellement utile, mais SANS AUCUNE
|
||||
GARANTIE, ni explicite ni implicite, y compris les garanties de
|
||||
commercialisation ou d'adaptation dans un but sp<73>cifique.
|
||||
Reportez-vous <20> la Licence Publique G<>n<EFBFBD>rale GNU pour plus de d<>tails.
|
||||
|
||||
Vous devez avoir re<72>u une copie de la Licence Publique G<>n<EFBFBD>rale GNU
|
||||
en m<>me temps que ce programme si ce n'est pas le cas, <20>crivez <20> la
|
||||
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307, <20>tats-Unis.
|
||||
|
||||
|
||||
Ajoutez <20>galement votre adresse <20>lectronique, le cas <20>ch<63>ant, ainsi que
|
||||
votre adresse postale.
|
||||
|
||||
Si le programme est interactif, faites-lui afficher un court avertissement
|
||||
du type de celui-ci <20> chaque invocation:
|
||||
|
||||
|
||||
...(nom du programme) version 69, Copyright (C) 19aa nom de l'auteur
|
||||
|
||||
...(nom du programme) est fourni sans AUCUNE GARANTIE.
|
||||
Pour plus de d<>tails, tapez `g'.
|
||||
|
||||
Ce programme est libre et vous <20>tes encourag<61> <20> le redistribuer
|
||||
sous certaines conditions tapez `c' pour plus de d<>tails.
|
||||
|
||||
Les commandes hypoth<74>tiques `g' et `c' doivent afficher les sections
|
||||
appropri<EFBFBD>es de la Licence Publique G<>n<EFBFBD>rale GNU. Bien entendu, vous pouvez
|
||||
implanter ces commandes comme bon vous semble : options dans un menu,
|
||||
ou bien accessibles d'un clic de souris, etc., tout d<>pend de votre
|
||||
programme.
|
||||
|
||||
Si vous officiez en tant que programmeur, n'omettez pas de demander <20> votre
|
||||
employeur, votre <20>tablissement scolaire ou autres de signer une d<>charge
|
||||
stipulant leur renoncement aux droits qu'ils pourraient avoir sur le
|
||||
programme:
|
||||
>
|
||||
...((employeur, <20>cole...)) d<>clare par la pr<70>sente ne pas revendiquer
|
||||
de droits sur le programme <20> (nom du programme) <20> r<>alis<69> par ...((nom de
|
||||
l'auteur)).
|
||||
|
||||
((signature du responsable)), ...((date)),
|
||||
...((nom et qualit<69> du responsable)).
|
||||
|
||||
La Licence Publique G<>n<EFBFBD>rale ne permet pas d'inclure votre programme dans
|
||||
des logiciels sous licence commerciale sp<73>cifique. Si votre programme est
|
||||
une fonction de biblioth<74>que, vous jugerez probablement plus judicieux de
|
||||
le faire relever de la Licence G<>n<EFBFBD>rale de Biblioth<74>que GNU (LGPL) plut<75>t
|
||||
que de la pr<70>sente.
|
||||
|
||||
==========================================================================
|
||||
@@ -1,25 +1,25 @@
|
||||
# Dolibarr language file - pt_PT - dict
|
||||
CountryFR=Fran<61>a
|
||||
CountryBE=Belgica
|
||||
CountryIT=Italia
|
||||
CountryES=Espanha
|
||||
CountryDE=Alemanha
|
||||
CountryCH=Sui<75>a
|
||||
CountryGB=Gr<47>-Bretanha
|
||||
CountryIE=Irlanda
|
||||
CountryCN=China
|
||||
CountryTN=Tun<75>sia
|
||||
CountryUS=Estados Unidos
|
||||
CountryMA=Marrocos
|
||||
CountryDZ=Algeria
|
||||
CountryCA=Canada
|
||||
CountryTG=Togo
|
||||
CountryGA=Gab<61>o
|
||||
CountryNL=Holanda
|
||||
CountryHU=Hungria
|
||||
CountryRU=Russia
|
||||
CountrySE=Su<53>cia
|
||||
CountryCI=Costa do Marfim
|
||||
CountrySN=Senegal
|
||||
CountryAR=Argentina
|
||||
# Dolibarr language file - pt_PT - dict
|
||||
CountryFR=Fran<61>a
|
||||
CountryBE=Belgica
|
||||
CountryIT=Italia
|
||||
CountryES=Espanha
|
||||
CountryDE=Alemanha
|
||||
CountryCH=Sui<75>a
|
||||
CountryGB=Gr<47>-Bretanha
|
||||
CountryIE=Irlanda
|
||||
CountryCN=China
|
||||
CountryTN=Tun<75>sia
|
||||
CountryUS=Estados Unidos
|
||||
CountryMA=Marrocos
|
||||
CountryDZ=Algeria
|
||||
CountryCA=Canada
|
||||
CountryTG=Togo
|
||||
CountryGA=Gab<61>o
|
||||
CountryNL=Holanda
|
||||
CountryHU=Hungria
|
||||
CountryRU=Russia
|
||||
CountrySE=Su<53>cia
|
||||
CountryCI=Costa do Marfim
|
||||
CountrySN=Senegal
|
||||
CountryAR=Argentina
|
||||
CountryCM=Camar<61>es
|
||||
@@ -1,378 +1,378 @@
|
||||
LICEN<EFBFBD>A P<>BLICA GERAL GNU
|
||||
Vers<EFBFBD>o 2, junho de 1991
|
||||
|
||||
This is an unofficial translation of the GNU General Public License into
|
||||
Portuguese. It was not published by the Free Software Foundation, and does not
|
||||
legally state the distribution terms for software that uses the GNU GPL -- only
|
||||
the original English text of the GNU GPL does that. However, we hope that this
|
||||
translation will help Portuguese speakers understand the GNU GPL better.
|
||||
|
||||
Esta <20> uma tradu<64><75>o n<>o-oficial da Licen<65>a P<>blica Geral GNU ("GPL GNU") para
|
||||
Portugu<67>s. N<>o foi publicada pela Free Software Foundation, e legalmente n<>o
|
||||
afirma os termos de distribui<75><69>o de software que utilize a GPL GNU -- apenas o
|
||||
texto original da GPL GNU, em ingl<67>s, faz isso. Contudo, esperamos que esta
|
||||
tradu<64><75>o ajude aos que falam portugu<67>s a entender melhor a GPL GNU.
|
||||
|
||||
Para sugest<73>es ou correc<65><63>es a esta tradu<64><75>o, contacte:
|
||||
|
||||
miguel.andrade@neoscopio.com
|
||||
|
||||
|
||||
--- Tradu<64><75>o do documento original a partir desta linha ---
|
||||
|
||||
|
||||
LICEN<EFBFBD>A P<>BLICA GERAL GNU
|
||||
Vers<EFBFBD>o 2, junho de 1991
|
||||
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave,
|
||||
Cambridge, MA 02139, USA
|
||||
|
||||
A qualquer pessoa <20> permitido copiar e distribuir c<>pias deste documento de
|
||||
licen<65>a, desde que sem qualquer altera<72><61>o.
|
||||
|
||||
Introdu<EFBFBD><EFBFBD>o
|
||||
|
||||
As licen<65>as de software s<>o normalmente desenvolvidas para restringir a
|
||||
liberdade de compartilh<6C>-lo e modifica-lo. Pelo contr<74>rio, a Licen<65>a P<>blica
|
||||
Geral GNU pretende garantir a sua liberdade de compartilhar e modificar o
|
||||
software livre -- garantindo que o software ser<65> livre para os seus
|
||||
utilizadores. Esta Licen<65>a P<>blica Geral aplica-se <20> maioria do software da
|
||||
Free Software Foundation e a qualquer outro programa ao qual o seu autor decida
|
||||
aplic<69>-la. (Algum software da FSF <20> cobertos pela Licen<65>a P<>blica Geral de
|
||||
Bibliotecas.) Tamb<6D>m poder<65> aplic<69>-la aos seus programas.
|
||||
|
||||
Quando nos referimos a software livre, estamo-nos a referir <20> liberdade e n<>o
|
||||
ao pre<72>o. A Licen<65>a P<>blica Geral (GPL - General Public Licence - em Ingl<67>s.)
|
||||
foi desenvolvida para garantir a sua liberdade de distribuir c<>pias de software
|
||||
livre (e cobrar por isso, se quiser); receber o c<>digo-fonte ou ter acesso a
|
||||
ele, se quiser; poder modificar o software ou utilizar partes dele em novos
|
||||
programas livres; e que saiba que est<73> no seu direito de o fazer.
|
||||
|
||||
Para proteger seus direitos, precisamos fazer restri<72><69>es que impe<70>am a qualquer
|
||||
um negar estes direitos ou solicitar que voc<6F> abdique deles. Estas restri<72><69>es
|
||||
traduzem-se em certas responsabilidades para si, caso venha a distribuir c<>pias
|
||||
do software, ou modific<69>-lo.
|
||||
|
||||
Por exemplo, se voc<6F> distribuir c<>pias de um programa sobre este tipo de
|
||||
licenciamento, gratuitamente ou por alguma quantia, tem que fornecer igualmente
|
||||
todos os direitos que possui sobre ele. Tem igualmente que garantir que os
|
||||
destinat<61>rios recebam ou possam obter o c<>digo-fonte. Al<41>m disto, tem que
|
||||
fornecer-lhes estes termos para que possam conhecer seus direitos.
|
||||
|
||||
N<>s protegemos seus direitos por duas formas que se completam: (1) com
|
||||
copyright do software e (2) com a oferta desta licen<65>a, que lhe d<> permiss<73>o
|
||||
legal para copiar, distribuir e/ou modificar o software.
|
||||
|
||||
Al<41>m disso, tanto para a protec<65><63>o do autor quanto a nossa, gostar<61>amos de
|
||||
certificar-nos de que todos entendam que n<>o h<> qualquer garantia sobre o
|
||||
software livre. Se o software <20> modificado por algu<67>m e redistribu<62>do, queremos
|
||||
que seus destinat<61>rios saibam que o que eles obtiveram n<>o <20> original, de forma
|
||||
que qualquer problema introduzido por terceiros n<>o interfira na reputa<74><61>o do
|
||||
autor original.
|
||||
|
||||
Finalmente, qualquer programa <20> amea<65>ado constantemente por patentes de
|
||||
software. Queremos evitar o perigo de que distribuidores de software livre
|
||||
obtenham patentes individuais sobre o software, o que teria o efeito de tornar
|
||||
o software propriet<65>rio. Para prevenir isso, deixamos claro que qualquer
|
||||
patente tem que ser licenciada para uso livre e gratuito por qualquer pessoa,
|
||||
ou ent<6E>o que nem necessite ser licenciada.
|
||||
|
||||
Os termos e condi<64><69>es precisas para c<>pia, distribui<75><69>o e modifica<63><61>o
|
||||
encontram-se abaixo:
|
||||
|
||||
LICEN<EFBFBD>A P<>BLICA GERAL GNU TERMOS E CONDI<44><49>ES PARA C<>PIA, DISTRIBUI<55><49>O E
|
||||
MODIFICA<EFBFBD><EFBFBD>O
|
||||
|
||||
0. Esta licen<65>a aplica-se a qualquer programa ou outro trabalho que contenha um
|
||||
aviso colocado pelo detentor dos direitos autorais informando que aquele pode
|
||||
ser distribu<62>do sob as condi<64><69>es desta Licen<65>a P<>blica Geral. O "Programa"
|
||||
abaixo refere-se a qualquer programa ou trabalho e "trabalho baseado no
|
||||
Programa" significa tanto o Programa em si, como quaisquer trabalhos derivados,
|
||||
de acordo com a lei de direitos de autor: isto quer dizer um trabalho que
|
||||
contenha o Programa ou parte dele, tanto na forma original ou modificado, e/ou
|
||||
tradu<64><75>o para outros idiomas. ***(Doravante o termo "modifica<63><61>o" ou sin<69>nimos
|
||||
ser<65>o usados livremente.) *** Cada licenciado <20> mencionado como "voc<6F>".
|
||||
|
||||
Actividades outras que a c<>pia, a distribui<75><69>o e modifica<63><61>o n<>o est<73>o cobertas
|
||||
por esta Licen<65>a; elas est<73>o fora do seu <20>mbito. O acto de executar o Programa
|
||||
n<>o <20> restringido e o resultado do Programa <20> coberto pela licen<65>a apenas se o
|
||||
seu conte<74>do contenha trabalhos baseados no Programa (independentemente de
|
||||
terem sido gerados pela execu<63><75>o do Programa). Este <20>ltimo ponto depende das
|
||||
funcionalidades espec<65>ficas de cada programa.
|
||||
|
||||
1. Voc<6F> pode copiar e distribuir c<>pias fi<66>is do c<>digo-fonte do Programa da
|
||||
mesma forma que voc<6F> o recebeu, usando qualquer meio, deste que inclua em cada
|
||||
c<>pia um aviso de direitos de autor e uma declara<72><61>o de inexist<73>ncia de
|
||||
garantias; mantenha intactos todos os avisos que se referem a esta Licen<65>a e <20>
|
||||
aus<75>ncia total de garantias; e forne<6E>a aos destinat<61>rios do Programa uma c<>pia
|
||||
desta Licen<65>a, em conjunto com o Programa.
|
||||
|
||||
Voc<6F> pode cobrar pelo acto f<>sico de transferir uma c<>pia e pode,
|
||||
opcionalmente, oferecer garantias em troca de pagamento.
|
||||
|
||||
2. Voc<6F> pode modificar sua c<>pia ou c<>pias do Programa, ou qualquer parte dele,
|
||||
gerando assim um trabalho derivado, copiar e distribuir essas modifica<63><61>es ou
|
||||
trabalhos sob os termos da sec<65><63>o 1 acima, desde que se enquadre nas seguintes
|
||||
condi<64><69>es:
|
||||
|
||||
a) Os arquivos modificados devem conter avisos proeminentes afirmando que voc<6F>
|
||||
alterou os arquivos, incluindo a data de qualquer altera<72><61>o.
|
||||
|
||||
b) Deve ser licenciado, sob os termos desta Licen<65>a, integralmente e sem custo
|
||||
algum para terceiros, qualquer trabalho seu que contenha ou seja derivado do
|
||||
Programa ou de parte dele.
|
||||
|
||||
c) Se qualquer programa modificado, quando executado, l<> normalmente comandos
|
||||
interactivamente, tem que fazer com que, quando iniciado o uso interactivo,
|
||||
seja impresso ou mostrado um an<61>ncio de que n<>o h<> qualquer garantia (ou ent<6E>o
|
||||
que voc<6F> fornece a garantia) e que os utilizadores podem redistribuir o
|
||||
programa sob estas condi<64><69>es, ainda informando os utilizadores como consultar
|
||||
uma c<>pia desta Licen<65>a. (Excep<65><70>o: se o Programa em si <20> interactivo mas
|
||||
normalmente n<>o imprime estes tipos de an<61>ncios, ent<6E>o o seu trabalho derivado
|
||||
n<>o precisa imprimir um an<61>ncio.)
|
||||
|
||||
Estas exig<69>ncias aplicam-se ao trabalho derivado como um todo. Se sec<65><63>es
|
||||
identific<69>veis de tal trabalho n<>o s<>o derivadas do Programa, e podem ser
|
||||
razoavelmente consideradas trabalhos independentes e separados por si s<>, ent<6E>o
|
||||
esta Licen<65>a, e seus termos, n<>o se aplicam a estas sec<65><63>es caso as distribua
|
||||
como um trabalho separado. Mas se distribuir as mesmas sec<65><63>es como parte de um
|
||||
todo que constitui trabalho derivado, a distribui<75><69>o como um todo tem que
|
||||
enquadrar-se nos termos desta Licen<65>a, cujos direitos para outros licenciados
|
||||
se estendem ao todo, portanto tamb<6D>m para toda e qualquer parte do programa,
|
||||
independente de quem a escreveu.
|
||||
|
||||
Desta forma, esta sec<65><63>o n<>o tem a inten<65><6E>o de reclamar direitos ou contestar
|
||||
seus direitos sobre o trabalho escrito completamente por si; ao inv<6E>s disso, a
|
||||
inten<65><6E>o <20> a de exercitar o direito de controlar a distribui<75><69>o de trabalhos,
|
||||
derivados ou colectivos, baseados no Programa.
|
||||
|
||||
Adicionalmente, a mera adi<64><69>o ao Programa (ou a um trabalho derivado deste) de
|
||||
um outro trabalho num volume de armazenamento ou meio de distribui<75><69>o n<>o faz
|
||||
esse outro trabalho seja inclu<6C>do no <20>mbito desta Licen<65>a.
|
||||
|
||||
3. Voc<6F> pode copiar e distribuir o Programa (ou trabalho derivado, conforme
|
||||
descrito na Sec<65><63>o 2) em c<>digo-objecto ou em forma execut<75>vel sob os termos
|
||||
das Sec<65><63>es 1 e 2 acima, desde que cumpra uma das seguintes alienas:
|
||||
|
||||
a) O fa<66>a acompanhar com o c<>digo-fonte completo e em forma acess<73>vel por
|
||||
m<>quinas, c<>digo esse que tem que ser distribu<62>do sob os termos das Sec<65><63>es 1 e
|
||||
2 acima e em meio normalmente utilizado para o interc<72>mbio de software; ou,
|
||||
|
||||
b) O acompanhe com uma oferta escrita, v<>lida por pelo menos tr<74>s anos, de
|
||||
fornecer a qualquer um, com um custo n<>o superior ao custo de distribui<75><69>o
|
||||
f<>sica do material, uma c<>pia do c<>digo-fonte completo e em forma acess<73>vel por
|
||||
m<>quinas, c<>digo esse que tem que ser distribu<62>do sob os termos das Sec<65><63>es 1
|
||||
e 2 acima e em meio normalmente utilizado para o interc<72>mbio de software; ou,
|
||||
|
||||
c) O acompanhe com a informa<6D><61>o que voc<6F> recebeu em rela<6C><61>o <20> oferta de
|
||||
distribui<75><69>o do c<>digo-fonte correspondente. (Esta alternativa <20> permitida
|
||||
somente em distribui<75><69>o n<>o comerciais, e apenas se voc<6F> recebeu o programa em
|
||||
forma de c<>digo-objecto ou execut<75>vel, com uma oferta de acordo com a Subsec<65><63>o
|
||||
b) acima.)
|
||||
|
||||
O c<>digo-fonte de um trabalho corresponde <20> forma de trabalho preferida para se
|
||||
fazer modifica<63><61>es. Para um trabalho em forma execut<75>vel, o c<>digo-fonte
|
||||
completo significa todo o c<>digo-fonte de todos os m<>dulos que ele cont<6E>m, mais
|
||||
quaisquer arquivos de defini<6E><69>o de "interface", mais os "scripts" utilizados
|
||||
para se controlar a compila<6C><61>o e a instala<6C><61>o do execut<75>vel. Contudo, como
|
||||
excep<65><70>o especial, o c<>digo-fonte distribu<62>do n<>o precisa incluir qualquer
|
||||
componente normalmente distribu<62>do (tanto em forma original quanto bin<69>ria) com
|
||||
os maiores componentes (o compilador, o "kernel" etc.) do sistema operativo sob
|
||||
o qual o execut<75>vel funciona, a menos que o componente em si acompanhe o
|
||||
execut<75>vel.
|
||||
|
||||
Se a distribui<75><69>o do execut<75>vel ou c<>digo-objecto <20> feita atrav<61>s da oferta de
|
||||
acesso a c<>pias em algum lugar, ent<6E>o oferecer o acesso equivalente a c<>pia, no
|
||||
mesmo lugar, do c<>digo-fonte, equivale <20> distribui<75><69>o do c<>digo-fonte, mesmo
|
||||
que terceiros n<>o sejam compelidos a copiar o c<>digo-fonte em conjunto com o
|
||||
c<>digo-objecto.
|
||||
|
||||
4. Voc<6F> n<>o pode copiar, modificar, sublicenciar ou distribuir o Programa,
|
||||
excepto de acordo com as condi<64><69>es expressas nesta Licen<65>a. Qualquer outra
|
||||
tentativa de c<>pia, modifica<63><61>o, sublicenciamento ou distribui<75><69>o do Programa
|
||||
n<>o <20> valida, e cancelar<61> automaticamente os direitos que lhe foram fornecidos
|
||||
por esta Licen<65>a. No entanto, terceiros que receberam de si c<>pias ou direitos,
|
||||
fornecidos sob os termos desta Licen<65>a, n<>o ter<65>o a sua licen<65>a terminada,
|
||||
desde que permane<6E>am em total concord<72>ncia com ela.
|
||||
|
||||
5. Voc<6F> n<>o <20> obrigado a aceitar esta Licen<65>a j<> que n<>o a assinou. No entanto,
|
||||
nada mais lhe dar<61> permiss<73>o para modificar ou distribuir o Programa ou
|
||||
trabalhos derivados deste. Estas ac<61><63>es s<>o proibidas por lei, caso voc<6F> n<>o
|
||||
aceite esta Licen<65>a. Desta forma, ao modificar ou distribuir o Programa (ou
|
||||
qualquer trabalho derivado do Programa), voc<6F> estar<61> a indicar a sua total
|
||||
concord<72>ncia com os termos desta Licen<65>a, nomeadamente os termos e condi<64><69>es
|
||||
para copiar, distribuir ou modificar o Programa, ou trabalhos baseados nele.
|
||||
|
||||
6. Cada vez que redistribuir o Programa (ou qualquer trabalho derivado), os
|
||||
destinat<61>rios adquirir<69>o automaticamente do autor original uma licen<65>a para
|
||||
copiar, distribuir ou modificar o Programa, sujeitos a estes termos e
|
||||
condi<64><69>es. Voc<6F> n<>o poder<65> impor aos destinat<61>rios qualquer outra restri<72><69>o ao
|
||||
exerc<72>cio dos direitos ent<6E>o adquiridos. Voc<6F> n<>o <20> respons<6E>vel em garantir a
|
||||
concord<72>ncia de terceiros a esta Licen<65>a.
|
||||
|
||||
7. Se, em consequ<71>ncia de decis<69>es judiciais ou alega<67><61>es de viola<6C><61>o de
|
||||
patentes ou quaisquer outras raz<61>es (n<>o limitadas a assuntos relacionados a
|
||||
patentes), lhe forem impostas condi<64><69>es (por ordem judicial, acordos ou outras
|
||||
formas) e que contradigam as condi<64><69>es desta Licen<65>a, elas n<>o o livram das
|
||||
condi<64><69>es desta Licen<65>a. Se n<>o puder distribuir de forma a satisfazer
|
||||
simultaneamente suas obriga<67><61>es para com esta Licen<65>a e para com as outras
|
||||
obriga<67><61>es pertinentes, ent<6E>o como consequ<71>ncia voc<6F> n<>o poder<65> distribuir o
|
||||
Programa. Por exemplo, se uma licen<65>a de patente n<>o permitir a redistribui<75><69>o,
|
||||
sem obriga<67><61>o ao pagamento de "royalties", por todos aqueles que receberem
|
||||
c<>pias directa ou indirectamente de si, ent<6E>o a <20>nica forma de voc<6F> satisfazer
|
||||
a licen<65>a de patente e a esta Licen<65>a seria a de desistir completamente de
|
||||
distribuir o Programa.
|
||||
|
||||
Se qualquer parte desta sec<65><63>o for considerada inv<6E>lida ou n<>o aplic<69>vel em
|
||||
qualquer circunst<73>ncia particular, o restante da sec<65><63>o aplica-se, e a sec<65><63>o
|
||||
como um todo aplicar-se-<2D> em outras circunst<73>ncias.
|
||||
|
||||
O prop<6F>sito desta sec<65><63>o n<>o <20> o de induzi-lo a infringir quaisquer patentes ou
|
||||
reivindica<63><61>o de direitos de propriedade de outros, ou a contestar a validade
|
||||
de quaisquer dessas reivindica<63><61>es; esta sec<65><63>o tem como <20>nico prop<6F>sito
|
||||
proteger a integridade dos sistemas de distribui<75><69>o de software livre, que <20>
|
||||
implementado pela pr<70>tica de licen<65>as p<>blicas. V<>rias pessoas t<>m contribu<62>do
|
||||
generosamente e em grande escala para software distribu<62>do usando este sistema,
|
||||
na certeza de que sua aplica<63><61>o <20> feita de forma consistente; fica a crit<69>rio
|
||||
do autor/doador decidir se ele ou ela est<73> disposto(a) a distribuir software
|
||||
utilizando outro sistema, e um outro detentor de uma licen<65>a n<>o pode impor
|
||||
esta ou qualquer outra escolha.
|
||||
|
||||
Esta sec<65><63>o destina-se a tornar bastante claro o que se acredita ser
|
||||
consequ<71>ncia do restante desta Licen<65>a.
|
||||
|
||||
8. Se a distribui<75><69>o e/ou uso do Programa s<>o restringidos em certos pa<70>ses por
|
||||
patentes ou direitos de autor, o detentor dos direitos de autor original, que
|
||||
colocou o Programa sob esta Licen<65>a, pode incluir uma limita<74><61>o geogr<67>fica de
|
||||
distribui<75><69>o, excluindo aqueles pa<70>ses, de forma a apenas permitir a
|
||||
distribui<75><69>o nos pa<70>ses n<>o exclu<6C>dos. Nestes casos, esta Licen<65>a incorpora a
|
||||
limita<74><61>o como se a mesma constasse escrita nesta Licen<65>a.
|
||||
|
||||
9. A Free Software Foundation pode publicar vers<72>es revistas e/ou novas da
|
||||
Licen<65>a P<>blica Geral de tempos em tempos. Estas novas vers<72>es ser<65>o similares
|
||||
em esp<73>rito <20> vers<72>o actual, mas podem diferir em detalhes que resolvam novos
|
||||
problemas ou situa<75><61>es.
|
||||
|
||||
A cada vers<72>o <20> dada um n<>mero distinto. Se o Programa especifica um n<>mero de
|
||||
vers<72>o espec<65>fico desta Licen<65>a que se aplica a ele e a "qualquer nova vers<72>o",
|
||||
voc<6F> tem a op<6F><70>o de aceitar os termos e condi<64><69>es daquela vers<72>o ou de qualquer
|
||||
outra vers<72>o posterior publicada pela Free Software Foundation. Se o programa
|
||||
n<>o especificar um n<>mero de vers<72>o desta Licen<65>a, poder<65> escolher qualquer
|
||||
vers<72>o publicada pela Free Software Foundation.
|
||||
|
||||
10. Se voc<6F> pretende incorporar partes do Programa em outros programas livres
|
||||
cujas condi<64><69>es de distribui<75><69>o sejam diferentes, escreva ao autor e solicite
|
||||
permiss<73>o para tal. Para o software que a Free Software Foundation det<65>m
|
||||
direitos de autor, escreva <20> Free Software Foundation; <20>s vezes n<>s permitimos
|
||||
excep<65><70>es para estes casos. A nossa decis<69>o ser<65> guiada por dois objectivos: o
|
||||
de preservar a condi<64><69>o de liberdade de todas os trabalhos derivados do nosso
|
||||
software livre, e o de promover a partilha e reutiliza<7A><61>o de software de um
|
||||
modo geral.
|
||||
|
||||
|
||||
AUS<EFBFBD>NCIA DE GARANTIAS
|
||||
|
||||
11. UMA VEZ QUE O PROGRAMA <20> LICENCIADO SEM <20>NUS, N<>O H<> QUALQUER GARANTIA PARA
|
||||
O PROGRAMA, NA EXTENS<4E>O PERMITIDA PELAS LEIS APLIC<49>VEIS. EXCEPTO QUANDO
|
||||
EXPRESSO DE FORMA ESCRITA, OS DETENTORES DOS DIREITOS AUTORAIS E/OU TERCEIROS
|
||||
DISPONIBILIZAM O PROGRAMA "COMO ESTA", SEM QUALQUER TIPO DE GARANTIAS,
|
||||
EXPRESSAS OU IMPL<50>CITAS, INCLUINDO, MAS N<>O LIMITADO A, <20>S GARANTIAS IMPL<50>CITAS
|
||||
DE COMERCIALIZA<5A><41>O E <20>S DE ADEQUA<55><41>O A QUALQUER PROP<4F>SITO. O RISCO COM A
|
||||
QUALIDADE E DESEMPENHO DO PROGRAMA <20> TOTALMENTE SEU. CASO O PROGRAMA SE REVELE
|
||||
DEFEITUOSO, VOC<4F> ASSUME OS CUSTOS DE TODAS AS MANUTEN<45><4E>ES, REPAROS E CORREC<45><43>ES
|
||||
QUE JULGUE NECESS<53>RIAS.
|
||||
|
||||
12. EM NENHUMA CIRCUNST<53>NCIA, A MENOS QUE EXIGIDO PELAS LEIS APLIC<49>VEIS OU
|
||||
ACORDO ESCRITO, OS DETENTORES DOS DIREITOS DE AUTOR, OU QUALQUER OUTRA PARTE
|
||||
QUE POSSA MODIFICAR E/OU REDISTRIBUIR O PROGRAMA CONFORME PERMITIDO ACIMA,
|
||||
SER<45>O RESPONSABILIZADOS POR SI OU POR SEU INTERM<52>DIO, POR DANOS, INCLUINDO
|
||||
QUALQUER DANO EM GERAL, ESPECIAL, ACIDENTAL OU CONSEQUENTE, RESULTANTES DO USO
|
||||
OU INCAPACIDADE DE USO DO PROGRAMA (INCLUINDO, MAS N<>O LIMITADO A, A PERDA DE
|
||||
DADOS OU DADOS TORNADOS INCORRECTOS, OU PERDAS SOFRIDAS POR SI OU POR OUTRAS
|
||||
PARTES, OU FALHAS DO PROGRAMA AO OPERAR COM QUALQUER OUTRO PROGRAMA), MESMO QUE
|
||||
TAIS DETENTORES OU PARTES TENHAM SIDO AVISADOS DA POSSIBILIDADE DE TAIS DANOS.
|
||||
|
||||
FIM DOS TERMOS E CONDI<44><49>ES
|
||||
|
||||
---------------------
|
||||
|
||||
|
||||
|
||||
Como Aplicar Estes Termos aos Seus Novos Programas
|
||||
|
||||
Se voc<6F> desenvolver um novo programa, e quer que ele seja utilizado amplamente
|
||||
pelo p<>blico, a melhor forma de alcan<61>ar este objectivo <20> torn<72>-lo software
|
||||
livre, software que qualquer um pode redistribuir e alterar, sob estes termos.
|
||||
|
||||
Para tal, inclua os seguintes avisos no programa. <20> mais seguro inclui-los logo
|
||||
no in<69>cio de cada arquivo-fonte para refor<6F>ar mais efectivamente a inexist<73>ncia
|
||||
de garantias; e cada arquivo deve conter pelo menos a linha de "copyright" e
|
||||
uma indica<63><61>o sobre onde encontrar o texto completo da licen<65>a.
|
||||
|
||||
Exemplo:
|
||||
|
||||
|
||||
<uma linha que forne<6E>a o nome do programa e uma ideia do que ele faz.>
|
||||
Copyright (C) <ano> <nome do autor>
|
||||
|
||||
Este programa <20> software livre; voc<6F> pode redistribu<62>-lo e/ou modific<69>-lo sob
|
||||
os termos da Licen<65>a P<>blica Geral GNU, conforme publicada pela Free Software
|
||||
Foundation; tanto a vers<72>o 2 da Licen<65>a como (a seu crit<69>rio) qualquer vers<72>o
|
||||
mais actual.
|
||||
|
||||
Este programa <20> distribu<62>do na expectativa de ser <20>til, mas SEM QUALQUER
|
||||
GARANTIA; incluindo as garantias impl<70>citas de COMERCIALIZA<5A><41>O ou de ADEQUA<55><41>O
|
||||
A QUALQUER PROP<4F>SITO EM PARTICULAR. Consulte a Licen<65>a P<>blica Geral GNU para
|
||||
obter mais detalhes.
|
||||
|
||||
Voc<6F> deve ter recebido uma c<>pia da Licen<65>a P<>blica Geral GNU em conjunto com
|
||||
este programa; caso contr<74>rio, escreva para a Free Software Foundation, Inc.,
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
|
||||
Inclua tamb<6D>m informa<6D><61>es sobre como contact<63>-lo electronicamente e por carta.
|
||||
|
||||
Se o programa <20> interactivo, fa<66>a-o mostrar um aviso breve como este, ao
|
||||
iniciar um modo interactivo:
|
||||
|
||||
Exemplo:
|
||||
|
||||
|
||||
Gnomovision vers<72>o 69, Copyright (C) <ano> <nome do autor> O Gnomovision n<>o
|
||||
possui QUALQUER GARANTIA; para obter mais detalhes escreva `mostrar g'. <20>
|
||||
software livre e voc<6F> est<73> convidado a redistribui-lo sob certas condi<64><69>es;
|
||||
digite `mostrar c' para obter detalhes.
|
||||
|
||||
Os comandos hipot<6F>ticos `mostrar g e `mostrar c' devem mostrar as partes
|
||||
apropriadas da Licen<65>a P<>blica Geral. <20> claro que os comandos que escolher usar
|
||||
podem ser activados de outra forma que `mostrar g' e `mostrar c'; podem ser
|
||||
cliques do rato ou itens de um menu -- o que melhor se adequar ao seu programa.
|
||||
|
||||
Voc<6F> tamb<6D>m deve obter da sua entidade patronal (se trabalhar como
|
||||
programador) ou escola, conforme o caso, uma "declara<72><61>o de aus<75>ncia de
|
||||
direitos autorais" sobre o programa, se necess<73>rio. Aqui est<73> um exemplo:
|
||||
|
||||
|
||||
Neoscopio Lda., declara a aus<75>ncia de quaisquer direitos autorais sobre o
|
||||
programa `Gnomovision' escrito por Jorge Andrade.
|
||||
|
||||
10 de Junho de 2004
|
||||
<assinatura de Miguel Nunes>,
|
||||
|
||||
Miguel Nunes, Gerente de Neoscopio Lda.
|
||||
|
||||
|
||||
|
||||
Esta Licen<65>a P<>blica Geral n<>o permite incorporar o seu programa em programas
|
||||
propriet<65>rios. Se o seu programa <20> uma biblioteca de sub-rotinas, poder<65>
|
||||
considerar mais <20>til permitir ligar aplica<63><61>es propriet<65>rias com a biblioteca.
|
||||
Se <20> isto que pretende, use a Licen<65>a P<>blica Geral de Bibliotecas GNU, em vez
|
||||
desta Licen<65>a.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
LICEN<EFBFBD>A P<>BLICA GERAL GNU
|
||||
Vers<EFBFBD>o 2, junho de 1991
|
||||
|
||||
This is an unofficial translation of the GNU General Public License into
|
||||
Portuguese. It was not published by the Free Software Foundation, and does not
|
||||
legally state the distribution terms for software that uses the GNU GPL -- only
|
||||
the original English text of the GNU GPL does that. However, we hope that this
|
||||
translation will help Portuguese speakers understand the GNU GPL better.
|
||||
|
||||
Esta <20> uma tradu<64><75>o n<>o-oficial da Licen<65>a P<>blica Geral GNU ("GPL GNU") para
|
||||
Portugu<67>s. N<>o foi publicada pela Free Software Foundation, e legalmente n<>o
|
||||
afirma os termos de distribui<75><69>o de software que utilize a GPL GNU -- apenas o
|
||||
texto original da GPL GNU, em ingl<67>s, faz isso. Contudo, esperamos que esta
|
||||
tradu<64><75>o ajude aos que falam portugu<67>s a entender melhor a GPL GNU.
|
||||
|
||||
Para sugest<73>es ou correc<65><63>es a esta tradu<64><75>o, contacte:
|
||||
|
||||
miguel.andrade@neoscopio.com
|
||||
|
||||
|
||||
--- Tradu<64><75>o do documento original a partir desta linha ---
|
||||
|
||||
|
||||
LICEN<EFBFBD>A P<>BLICA GERAL GNU
|
||||
Vers<EFBFBD>o 2, junho de 1991
|
||||
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave,
|
||||
Cambridge, MA 02139, USA
|
||||
|
||||
A qualquer pessoa <20> permitido copiar e distribuir c<>pias deste documento de
|
||||
licen<65>a, desde que sem qualquer altera<72><61>o.
|
||||
|
||||
Introdu<EFBFBD><EFBFBD>o
|
||||
|
||||
As licen<65>as de software s<>o normalmente desenvolvidas para restringir a
|
||||
liberdade de compartilh<6C>-lo e modifica-lo. Pelo contr<74>rio, a Licen<65>a P<>blica
|
||||
Geral GNU pretende garantir a sua liberdade de compartilhar e modificar o
|
||||
software livre -- garantindo que o software ser<65> livre para os seus
|
||||
utilizadores. Esta Licen<65>a P<>blica Geral aplica-se <20> maioria do software da
|
||||
Free Software Foundation e a qualquer outro programa ao qual o seu autor decida
|
||||
aplic<69>-la. (Algum software da FSF <20> cobertos pela Licen<65>a P<>blica Geral de
|
||||
Bibliotecas.) Tamb<6D>m poder<65> aplic<69>-la aos seus programas.
|
||||
|
||||
Quando nos referimos a software livre, estamo-nos a referir <20> liberdade e n<>o
|
||||
ao pre<72>o. A Licen<65>a P<>blica Geral (GPL - General Public Licence - em Ingl<67>s.)
|
||||
foi desenvolvida para garantir a sua liberdade de distribuir c<>pias de software
|
||||
livre (e cobrar por isso, se quiser); receber o c<>digo-fonte ou ter acesso a
|
||||
ele, se quiser; poder modificar o software ou utilizar partes dele em novos
|
||||
programas livres; e que saiba que est<73> no seu direito de o fazer.
|
||||
|
||||
Para proteger seus direitos, precisamos fazer restri<72><69>es que impe<70>am a qualquer
|
||||
um negar estes direitos ou solicitar que voc<6F> abdique deles. Estas restri<72><69>es
|
||||
traduzem-se em certas responsabilidades para si, caso venha a distribuir c<>pias
|
||||
do software, ou modific<69>-lo.
|
||||
|
||||
Por exemplo, se voc<6F> distribuir c<>pias de um programa sobre este tipo de
|
||||
licenciamento, gratuitamente ou por alguma quantia, tem que fornecer igualmente
|
||||
todos os direitos que possui sobre ele. Tem igualmente que garantir que os
|
||||
destinat<61>rios recebam ou possam obter o c<>digo-fonte. Al<41>m disto, tem que
|
||||
fornecer-lhes estes termos para que possam conhecer seus direitos.
|
||||
|
||||
N<>s protegemos seus direitos por duas formas que se completam: (1) com
|
||||
copyright do software e (2) com a oferta desta licen<65>a, que lhe d<> permiss<73>o
|
||||
legal para copiar, distribuir e/ou modificar o software.
|
||||
|
||||
Al<41>m disso, tanto para a protec<65><63>o do autor quanto a nossa, gostar<61>amos de
|
||||
certificar-nos de que todos entendam que n<>o h<> qualquer garantia sobre o
|
||||
software livre. Se o software <20> modificado por algu<67>m e redistribu<62>do, queremos
|
||||
que seus destinat<61>rios saibam que o que eles obtiveram n<>o <20> original, de forma
|
||||
que qualquer problema introduzido por terceiros n<>o interfira na reputa<74><61>o do
|
||||
autor original.
|
||||
|
||||
Finalmente, qualquer programa <20> amea<65>ado constantemente por patentes de
|
||||
software. Queremos evitar o perigo de que distribuidores de software livre
|
||||
obtenham patentes individuais sobre o software, o que teria o efeito de tornar
|
||||
o software propriet<65>rio. Para prevenir isso, deixamos claro que qualquer
|
||||
patente tem que ser licenciada para uso livre e gratuito por qualquer pessoa,
|
||||
ou ent<6E>o que nem necessite ser licenciada.
|
||||
|
||||
Os termos e condi<64><69>es precisas para c<>pia, distribui<75><69>o e modifica<63><61>o
|
||||
encontram-se abaixo:
|
||||
|
||||
LICEN<EFBFBD>A P<>BLICA GERAL GNU TERMOS E CONDI<44><49>ES PARA C<>PIA, DISTRIBUI<55><49>O E
|
||||
MODIFICA<EFBFBD><EFBFBD>O
|
||||
|
||||
0. Esta licen<65>a aplica-se a qualquer programa ou outro trabalho que contenha um
|
||||
aviso colocado pelo detentor dos direitos autorais informando que aquele pode
|
||||
ser distribu<62>do sob as condi<64><69>es desta Licen<65>a P<>blica Geral. O "Programa"
|
||||
abaixo refere-se a qualquer programa ou trabalho e "trabalho baseado no
|
||||
Programa" significa tanto o Programa em si, como quaisquer trabalhos derivados,
|
||||
de acordo com a lei de direitos de autor: isto quer dizer um trabalho que
|
||||
contenha o Programa ou parte dele, tanto na forma original ou modificado, e/ou
|
||||
tradu<64><75>o para outros idiomas. ***(Doravante o termo "modifica<63><61>o" ou sin<69>nimos
|
||||
ser<65>o usados livremente.) *** Cada licenciado <20> mencionado como "voc<6F>".
|
||||
|
||||
Actividades outras que a c<>pia, a distribui<75><69>o e modifica<63><61>o n<>o est<73>o cobertas
|
||||
por esta Licen<65>a; elas est<73>o fora do seu <20>mbito. O acto de executar o Programa
|
||||
n<>o <20> restringido e o resultado do Programa <20> coberto pela licen<65>a apenas se o
|
||||
seu conte<74>do contenha trabalhos baseados no Programa (independentemente de
|
||||
terem sido gerados pela execu<63><75>o do Programa). Este <20>ltimo ponto depende das
|
||||
funcionalidades espec<65>ficas de cada programa.
|
||||
|
||||
1. Voc<6F> pode copiar e distribuir c<>pias fi<66>is do c<>digo-fonte do Programa da
|
||||
mesma forma que voc<6F> o recebeu, usando qualquer meio, deste que inclua em cada
|
||||
c<>pia um aviso de direitos de autor e uma declara<72><61>o de inexist<73>ncia de
|
||||
garantias; mantenha intactos todos os avisos que se referem a esta Licen<65>a e <20>
|
||||
aus<75>ncia total de garantias; e forne<6E>a aos destinat<61>rios do Programa uma c<>pia
|
||||
desta Licen<65>a, em conjunto com o Programa.
|
||||
|
||||
Voc<6F> pode cobrar pelo acto f<>sico de transferir uma c<>pia e pode,
|
||||
opcionalmente, oferecer garantias em troca de pagamento.
|
||||
|
||||
2. Voc<6F> pode modificar sua c<>pia ou c<>pias do Programa, ou qualquer parte dele,
|
||||
gerando assim um trabalho derivado, copiar e distribuir essas modifica<63><61>es ou
|
||||
trabalhos sob os termos da sec<65><63>o 1 acima, desde que se enquadre nas seguintes
|
||||
condi<64><69>es:
|
||||
|
||||
a) Os arquivos modificados devem conter avisos proeminentes afirmando que voc<6F>
|
||||
alterou os arquivos, incluindo a data de qualquer altera<72><61>o.
|
||||
|
||||
b) Deve ser licenciado, sob os termos desta Licen<65>a, integralmente e sem custo
|
||||
algum para terceiros, qualquer trabalho seu que contenha ou seja derivado do
|
||||
Programa ou de parte dele.
|
||||
|
||||
c) Se qualquer programa modificado, quando executado, l<> normalmente comandos
|
||||
interactivamente, tem que fazer com que, quando iniciado o uso interactivo,
|
||||
seja impresso ou mostrado um an<61>ncio de que n<>o h<> qualquer garantia (ou ent<6E>o
|
||||
que voc<6F> fornece a garantia) e que os utilizadores podem redistribuir o
|
||||
programa sob estas condi<64><69>es, ainda informando os utilizadores como consultar
|
||||
uma c<>pia desta Licen<65>a. (Excep<65><70>o: se o Programa em si <20> interactivo mas
|
||||
normalmente n<>o imprime estes tipos de an<61>ncios, ent<6E>o o seu trabalho derivado
|
||||
n<>o precisa imprimir um an<61>ncio.)
|
||||
|
||||
Estas exig<69>ncias aplicam-se ao trabalho derivado como um todo. Se sec<65><63>es
|
||||
identific<69>veis de tal trabalho n<>o s<>o derivadas do Programa, e podem ser
|
||||
razoavelmente consideradas trabalhos independentes e separados por si s<>, ent<6E>o
|
||||
esta Licen<65>a, e seus termos, n<>o se aplicam a estas sec<65><63>es caso as distribua
|
||||
como um trabalho separado. Mas se distribuir as mesmas sec<65><63>es como parte de um
|
||||
todo que constitui trabalho derivado, a distribui<75><69>o como um todo tem que
|
||||
enquadrar-se nos termos desta Licen<65>a, cujos direitos para outros licenciados
|
||||
se estendem ao todo, portanto tamb<6D>m para toda e qualquer parte do programa,
|
||||
independente de quem a escreveu.
|
||||
|
||||
Desta forma, esta sec<65><63>o n<>o tem a inten<65><6E>o de reclamar direitos ou contestar
|
||||
seus direitos sobre o trabalho escrito completamente por si; ao inv<6E>s disso, a
|
||||
inten<65><6E>o <20> a de exercitar o direito de controlar a distribui<75><69>o de trabalhos,
|
||||
derivados ou colectivos, baseados no Programa.
|
||||
|
||||
Adicionalmente, a mera adi<64><69>o ao Programa (ou a um trabalho derivado deste) de
|
||||
um outro trabalho num volume de armazenamento ou meio de distribui<75><69>o n<>o faz
|
||||
esse outro trabalho seja inclu<6C>do no <20>mbito desta Licen<65>a.
|
||||
|
||||
3. Voc<6F> pode copiar e distribuir o Programa (ou trabalho derivado, conforme
|
||||
descrito na Sec<65><63>o 2) em c<>digo-objecto ou em forma execut<75>vel sob os termos
|
||||
das Sec<65><63>es 1 e 2 acima, desde que cumpra uma das seguintes alienas:
|
||||
|
||||
a) O fa<66>a acompanhar com o c<>digo-fonte completo e em forma acess<73>vel por
|
||||
m<>quinas, c<>digo esse que tem que ser distribu<62>do sob os termos das Sec<65><63>es 1 e
|
||||
2 acima e em meio normalmente utilizado para o interc<72>mbio de software; ou,
|
||||
|
||||
b) O acompanhe com uma oferta escrita, v<>lida por pelo menos tr<74>s anos, de
|
||||
fornecer a qualquer um, com um custo n<>o superior ao custo de distribui<75><69>o
|
||||
f<>sica do material, uma c<>pia do c<>digo-fonte completo e em forma acess<73>vel por
|
||||
m<>quinas, c<>digo esse que tem que ser distribu<62>do sob os termos das Sec<65><63>es 1
|
||||
e 2 acima e em meio normalmente utilizado para o interc<72>mbio de software; ou,
|
||||
|
||||
c) O acompanhe com a informa<6D><61>o que voc<6F> recebeu em rela<6C><61>o <20> oferta de
|
||||
distribui<75><69>o do c<>digo-fonte correspondente. (Esta alternativa <20> permitida
|
||||
somente em distribui<75><69>o n<>o comerciais, e apenas se voc<6F> recebeu o programa em
|
||||
forma de c<>digo-objecto ou execut<75>vel, com uma oferta de acordo com a Subsec<65><63>o
|
||||
b) acima.)
|
||||
|
||||
O c<>digo-fonte de um trabalho corresponde <20> forma de trabalho preferida para se
|
||||
fazer modifica<63><61>es. Para um trabalho em forma execut<75>vel, o c<>digo-fonte
|
||||
completo significa todo o c<>digo-fonte de todos os m<>dulos que ele cont<6E>m, mais
|
||||
quaisquer arquivos de defini<6E><69>o de "interface", mais os "scripts" utilizados
|
||||
para se controlar a compila<6C><61>o e a instala<6C><61>o do execut<75>vel. Contudo, como
|
||||
excep<65><70>o especial, o c<>digo-fonte distribu<62>do n<>o precisa incluir qualquer
|
||||
componente normalmente distribu<62>do (tanto em forma original quanto bin<69>ria) com
|
||||
os maiores componentes (o compilador, o "kernel" etc.) do sistema operativo sob
|
||||
o qual o execut<75>vel funciona, a menos que o componente em si acompanhe o
|
||||
execut<75>vel.
|
||||
|
||||
Se a distribui<75><69>o do execut<75>vel ou c<>digo-objecto <20> feita atrav<61>s da oferta de
|
||||
acesso a c<>pias em algum lugar, ent<6E>o oferecer o acesso equivalente a c<>pia, no
|
||||
mesmo lugar, do c<>digo-fonte, equivale <20> distribui<75><69>o do c<>digo-fonte, mesmo
|
||||
que terceiros n<>o sejam compelidos a copiar o c<>digo-fonte em conjunto com o
|
||||
c<>digo-objecto.
|
||||
|
||||
4. Voc<6F> n<>o pode copiar, modificar, sublicenciar ou distribuir o Programa,
|
||||
excepto de acordo com as condi<64><69>es expressas nesta Licen<65>a. Qualquer outra
|
||||
tentativa de c<>pia, modifica<63><61>o, sublicenciamento ou distribui<75><69>o do Programa
|
||||
n<>o <20> valida, e cancelar<61> automaticamente os direitos que lhe foram fornecidos
|
||||
por esta Licen<65>a. No entanto, terceiros que receberam de si c<>pias ou direitos,
|
||||
fornecidos sob os termos desta Licen<65>a, n<>o ter<65>o a sua licen<65>a terminada,
|
||||
desde que permane<6E>am em total concord<72>ncia com ela.
|
||||
|
||||
5. Voc<6F> n<>o <20> obrigado a aceitar esta Licen<65>a j<> que n<>o a assinou. No entanto,
|
||||
nada mais lhe dar<61> permiss<73>o para modificar ou distribuir o Programa ou
|
||||
trabalhos derivados deste. Estas ac<61><63>es s<>o proibidas por lei, caso voc<6F> n<>o
|
||||
aceite esta Licen<65>a. Desta forma, ao modificar ou distribuir o Programa (ou
|
||||
qualquer trabalho derivado do Programa), voc<6F> estar<61> a indicar a sua total
|
||||
concord<72>ncia com os termos desta Licen<65>a, nomeadamente os termos e condi<64><69>es
|
||||
para copiar, distribuir ou modificar o Programa, ou trabalhos baseados nele.
|
||||
|
||||
6. Cada vez que redistribuir o Programa (ou qualquer trabalho derivado), os
|
||||
destinat<61>rios adquirir<69>o automaticamente do autor original uma licen<65>a para
|
||||
copiar, distribuir ou modificar o Programa, sujeitos a estes termos e
|
||||
condi<64><69>es. Voc<6F> n<>o poder<65> impor aos destinat<61>rios qualquer outra restri<72><69>o ao
|
||||
exerc<72>cio dos direitos ent<6E>o adquiridos. Voc<6F> n<>o <20> respons<6E>vel em garantir a
|
||||
concord<72>ncia de terceiros a esta Licen<65>a.
|
||||
|
||||
7. Se, em consequ<71>ncia de decis<69>es judiciais ou alega<67><61>es de viola<6C><61>o de
|
||||
patentes ou quaisquer outras raz<61>es (n<>o limitadas a assuntos relacionados a
|
||||
patentes), lhe forem impostas condi<64><69>es (por ordem judicial, acordos ou outras
|
||||
formas) e que contradigam as condi<64><69>es desta Licen<65>a, elas n<>o o livram das
|
||||
condi<64><69>es desta Licen<65>a. Se n<>o puder distribuir de forma a satisfazer
|
||||
simultaneamente suas obriga<67><61>es para com esta Licen<65>a e para com as outras
|
||||
obriga<67><61>es pertinentes, ent<6E>o como consequ<71>ncia voc<6F> n<>o poder<65> distribuir o
|
||||
Programa. Por exemplo, se uma licen<65>a de patente n<>o permitir a redistribui<75><69>o,
|
||||
sem obriga<67><61>o ao pagamento de "royalties", por todos aqueles que receberem
|
||||
c<>pias directa ou indirectamente de si, ent<6E>o a <20>nica forma de voc<6F> satisfazer
|
||||
a licen<65>a de patente e a esta Licen<65>a seria a de desistir completamente de
|
||||
distribuir o Programa.
|
||||
|
||||
Se qualquer parte desta sec<65><63>o for considerada inv<6E>lida ou n<>o aplic<69>vel em
|
||||
qualquer circunst<73>ncia particular, o restante da sec<65><63>o aplica-se, e a sec<65><63>o
|
||||
como um todo aplicar-se-<2D> em outras circunst<73>ncias.
|
||||
|
||||
O prop<6F>sito desta sec<65><63>o n<>o <20> o de induzi-lo a infringir quaisquer patentes ou
|
||||
reivindica<63><61>o de direitos de propriedade de outros, ou a contestar a validade
|
||||
de quaisquer dessas reivindica<63><61>es; esta sec<65><63>o tem como <20>nico prop<6F>sito
|
||||
proteger a integridade dos sistemas de distribui<75><69>o de software livre, que <20>
|
||||
implementado pela pr<70>tica de licen<65>as p<>blicas. V<>rias pessoas t<>m contribu<62>do
|
||||
generosamente e em grande escala para software distribu<62>do usando este sistema,
|
||||
na certeza de que sua aplica<63><61>o <20> feita de forma consistente; fica a crit<69>rio
|
||||
do autor/doador decidir se ele ou ela est<73> disposto(a) a distribuir software
|
||||
utilizando outro sistema, e um outro detentor de uma licen<65>a n<>o pode impor
|
||||
esta ou qualquer outra escolha.
|
||||
|
||||
Esta sec<65><63>o destina-se a tornar bastante claro o que se acredita ser
|
||||
consequ<71>ncia do restante desta Licen<65>a.
|
||||
|
||||
8. Se a distribui<75><69>o e/ou uso do Programa s<>o restringidos em certos pa<70>ses por
|
||||
patentes ou direitos de autor, o detentor dos direitos de autor original, que
|
||||
colocou o Programa sob esta Licen<65>a, pode incluir uma limita<74><61>o geogr<67>fica de
|
||||
distribui<75><69>o, excluindo aqueles pa<70>ses, de forma a apenas permitir a
|
||||
distribui<75><69>o nos pa<70>ses n<>o exclu<6C>dos. Nestes casos, esta Licen<65>a incorpora a
|
||||
limita<74><61>o como se a mesma constasse escrita nesta Licen<65>a.
|
||||
|
||||
9. A Free Software Foundation pode publicar vers<72>es revistas e/ou novas da
|
||||
Licen<65>a P<>blica Geral de tempos em tempos. Estas novas vers<72>es ser<65>o similares
|
||||
em esp<73>rito <20> vers<72>o actual, mas podem diferir em detalhes que resolvam novos
|
||||
problemas ou situa<75><61>es.
|
||||
|
||||
A cada vers<72>o <20> dada um n<>mero distinto. Se o Programa especifica um n<>mero de
|
||||
vers<72>o espec<65>fico desta Licen<65>a que se aplica a ele e a "qualquer nova vers<72>o",
|
||||
voc<6F> tem a op<6F><70>o de aceitar os termos e condi<64><69>es daquela vers<72>o ou de qualquer
|
||||
outra vers<72>o posterior publicada pela Free Software Foundation. Se o programa
|
||||
n<>o especificar um n<>mero de vers<72>o desta Licen<65>a, poder<65> escolher qualquer
|
||||
vers<72>o publicada pela Free Software Foundation.
|
||||
|
||||
10. Se voc<6F> pretende incorporar partes do Programa em outros programas livres
|
||||
cujas condi<64><69>es de distribui<75><69>o sejam diferentes, escreva ao autor e solicite
|
||||
permiss<73>o para tal. Para o software que a Free Software Foundation det<65>m
|
||||
direitos de autor, escreva <20> Free Software Foundation; <20>s vezes n<>s permitimos
|
||||
excep<65><70>es para estes casos. A nossa decis<69>o ser<65> guiada por dois objectivos: o
|
||||
de preservar a condi<64><69>o de liberdade de todas os trabalhos derivados do nosso
|
||||
software livre, e o de promover a partilha e reutiliza<7A><61>o de software de um
|
||||
modo geral.
|
||||
|
||||
|
||||
AUS<EFBFBD>NCIA DE GARANTIAS
|
||||
|
||||
11. UMA VEZ QUE O PROGRAMA <20> LICENCIADO SEM <20>NUS, N<>O H<> QUALQUER GARANTIA PARA
|
||||
O PROGRAMA, NA EXTENS<4E>O PERMITIDA PELAS LEIS APLIC<49>VEIS. EXCEPTO QUANDO
|
||||
EXPRESSO DE FORMA ESCRITA, OS DETENTORES DOS DIREITOS AUTORAIS E/OU TERCEIROS
|
||||
DISPONIBILIZAM O PROGRAMA "COMO ESTA", SEM QUALQUER TIPO DE GARANTIAS,
|
||||
EXPRESSAS OU IMPL<50>CITAS, INCLUINDO, MAS N<>O LIMITADO A, <20>S GARANTIAS IMPL<50>CITAS
|
||||
DE COMERCIALIZA<5A><41>O E <20>S DE ADEQUA<55><41>O A QUALQUER PROP<4F>SITO. O RISCO COM A
|
||||
QUALIDADE E DESEMPENHO DO PROGRAMA <20> TOTALMENTE SEU. CASO O PROGRAMA SE REVELE
|
||||
DEFEITUOSO, VOC<4F> ASSUME OS CUSTOS DE TODAS AS MANUTEN<45><4E>ES, REPAROS E CORREC<45><43>ES
|
||||
QUE JULGUE NECESS<53>RIAS.
|
||||
|
||||
12. EM NENHUMA CIRCUNST<53>NCIA, A MENOS QUE EXIGIDO PELAS LEIS APLIC<49>VEIS OU
|
||||
ACORDO ESCRITO, OS DETENTORES DOS DIREITOS DE AUTOR, OU QUALQUER OUTRA PARTE
|
||||
QUE POSSA MODIFICAR E/OU REDISTRIBUIR O PROGRAMA CONFORME PERMITIDO ACIMA,
|
||||
SER<45>O RESPONSABILIZADOS POR SI OU POR SEU INTERM<52>DIO, POR DANOS, INCLUINDO
|
||||
QUALQUER DANO EM GERAL, ESPECIAL, ACIDENTAL OU CONSEQUENTE, RESULTANTES DO USO
|
||||
OU INCAPACIDADE DE USO DO PROGRAMA (INCLUINDO, MAS N<>O LIMITADO A, A PERDA DE
|
||||
DADOS OU DADOS TORNADOS INCORRECTOS, OU PERDAS SOFRIDAS POR SI OU POR OUTRAS
|
||||
PARTES, OU FALHAS DO PROGRAMA AO OPERAR COM QUALQUER OUTRO PROGRAMA), MESMO QUE
|
||||
TAIS DETENTORES OU PARTES TENHAM SIDO AVISADOS DA POSSIBILIDADE DE TAIS DANOS.
|
||||
|
||||
FIM DOS TERMOS E CONDI<44><49>ES
|
||||
|
||||
---------------------
|
||||
|
||||
|
||||
|
||||
Como Aplicar Estes Termos aos Seus Novos Programas
|
||||
|
||||
Se voc<6F> desenvolver um novo programa, e quer que ele seja utilizado amplamente
|
||||
pelo p<>blico, a melhor forma de alcan<61>ar este objectivo <20> torn<72>-lo software
|
||||
livre, software que qualquer um pode redistribuir e alterar, sob estes termos.
|
||||
|
||||
Para tal, inclua os seguintes avisos no programa. <20> mais seguro inclui-los logo
|
||||
no in<69>cio de cada arquivo-fonte para refor<6F>ar mais efectivamente a inexist<73>ncia
|
||||
de garantias; e cada arquivo deve conter pelo menos a linha de "copyright" e
|
||||
uma indica<63><61>o sobre onde encontrar o texto completo da licen<65>a.
|
||||
|
||||
Exemplo:
|
||||
|
||||
|
||||
<uma linha que forne<6E>a o nome do programa e uma ideia do que ele faz.>
|
||||
Copyright (C) <ano> <nome do autor>
|
||||
|
||||
Este programa <20> software livre; voc<6F> pode redistribu<62>-lo e/ou modific<69>-lo sob
|
||||
os termos da Licen<65>a P<>blica Geral GNU, conforme publicada pela Free Software
|
||||
Foundation; tanto a vers<72>o 2 da Licen<65>a como (a seu crit<69>rio) qualquer vers<72>o
|
||||
mais actual.
|
||||
|
||||
Este programa <20> distribu<62>do na expectativa de ser <20>til, mas SEM QUALQUER
|
||||
GARANTIA; incluindo as garantias impl<70>citas de COMERCIALIZA<5A><41>O ou de ADEQUA<55><41>O
|
||||
A QUALQUER PROP<4F>SITO EM PARTICULAR. Consulte a Licen<65>a P<>blica Geral GNU para
|
||||
obter mais detalhes.
|
||||
|
||||
Voc<6F> deve ter recebido uma c<>pia da Licen<65>a P<>blica Geral GNU em conjunto com
|
||||
este programa; caso contr<74>rio, escreva para a Free Software Foundation, Inc.,
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
|
||||
Inclua tamb<6D>m informa<6D><61>es sobre como contact<63>-lo electronicamente e por carta.
|
||||
|
||||
Se o programa <20> interactivo, fa<66>a-o mostrar um aviso breve como este, ao
|
||||
iniciar um modo interactivo:
|
||||
|
||||
Exemplo:
|
||||
|
||||
|
||||
Gnomovision vers<72>o 69, Copyright (C) <ano> <nome do autor> O Gnomovision n<>o
|
||||
possui QUALQUER GARANTIA; para obter mais detalhes escreva `mostrar g'. <20>
|
||||
software livre e voc<6F> est<73> convidado a redistribui-lo sob certas condi<64><69>es;
|
||||
digite `mostrar c' para obter detalhes.
|
||||
|
||||
Os comandos hipot<6F>ticos `mostrar g e `mostrar c' devem mostrar as partes
|
||||
apropriadas da Licen<65>a P<>blica Geral. <20> claro que os comandos que escolher usar
|
||||
podem ser activados de outra forma que `mostrar g' e `mostrar c'; podem ser
|
||||
cliques do rato ou itens de um menu -- o que melhor se adequar ao seu programa.
|
||||
|
||||
Voc<6F> tamb<6D>m deve obter da sua entidade patronal (se trabalhar como
|
||||
programador) ou escola, conforme o caso, uma "declara<72><61>o de aus<75>ncia de
|
||||
direitos autorais" sobre o programa, se necess<73>rio. Aqui est<73> um exemplo:
|
||||
|
||||
|
||||
Neoscopio Lda., declara a aus<75>ncia de quaisquer direitos autorais sobre o
|
||||
programa `Gnomovision' escrito por Jorge Andrade.
|
||||
|
||||
10 de Junho de 2004
|
||||
<assinatura de Miguel Nunes>,
|
||||
|
||||
Miguel Nunes, Gerente de Neoscopio Lda.
|
||||
|
||||
|
||||
|
||||
Esta Licen<65>a P<>blica Geral n<>o permite incorporar o seu programa em programas
|
||||
propriet<65>rios. Se o seu programa <20> uma biblioteca de sub-rotinas, poder<65>
|
||||
considerar mais <20>til permitir ligar aplica<63><61>es propriet<65>rias com a biblioteca.
|
||||
Se <20> isto que pretende, use a Licen<65>a P<>blica Geral de Bibliotecas GNU, em vez
|
||||
desta Licen<65>a.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Dolibarr language file - pt_PT - fornecedores
|
||||
Suppliers=Fornecedores
|
||||
Supplier=Fornecedor
|
||||
AddSupplier=Adicionar Fornecedor
|
||||
SupplierRemoved=Fornecedor removido
|
||||
NewSupplier=Novo fornecedor
|
||||
History=Hist<73>ria
|
||||
OrderCard=Cart<72>o de encomenda
|
||||
ListOfSuppliers=Lista de fornecedores
|
||||
# Dolibarr language file - pt_PT - fornecedores
|
||||
Suppliers=Fornecedores
|
||||
Supplier=Fornecedor
|
||||
AddSupplier=Adicionar Fornecedor
|
||||
SupplierRemoved=Fornecedor removido
|
||||
NewSupplier=Novo fornecedor
|
||||
History=Hist<73>ria
|
||||
OrderCard=Cart<72>o de encomenda
|
||||
ListOfSuppliers=Lista de fornecedores
|
||||
ShowSupplier=Mostrar fonecedor
|
||||
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/* Copyright (C) 2006 Jean Heimburger <jean@tiaris.info>
|
||||
*
|
||||
*
|
||||
@@ -19,21 +19,21 @@
|
||||
* $Source$
|
||||
*
|
||||
*/
|
||||
set_magic_quotes_runtime(0);
|
||||
|
||||
// Soap Server.
|
||||
require_once('./lib/nusoap.php');
|
||||
set_magic_quotes_runtime(0);
|
||||
|
||||
// Soap Server.
|
||||
require_once('./lib/nusoap.php');
|
||||
|
||||
require_once('./includes/configure.php');
|
||||
|
||||
// Create the soap Object
|
||||
$s = new soap_server;
|
||||
|
||||
// Register the methods available for clients
|
||||
|
||||
// Create the soap Object
|
||||
$s = new soap_server;
|
||||
|
||||
// Register the methods available for clients
|
||||
$s->register('get_CAmensuel');
|
||||
$s->register('get_orders');
|
||||
$s->register('get_lastOrderClients');
|
||||
$s->register('get_Order');
|
||||
$s->register('get_Order');
|
||||
|
||||
/*----------------------------------------------
|
||||
* renvoie un tableau avec le CA mensuel r<>alis<69>
|
||||
@@ -41,7 +41,7 @@ $s->register('get_Order');
|
||||
function get_CAmensuel() {
|
||||
|
||||
//on se connecte
|
||||
if (!($connexion = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD))) return new soap_fault("Server", "MySQL 1", "connection impossible");
|
||||
if (!($connexion = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD))) return new soap_fault("Server", "MySQL 1", "connection impossible");
|
||||
if (!($db = mysql_select_db(DB_DATABASE, $connexion))) return new soap_fault("Server", "MySQL 2", mysql_error());
|
||||
|
||||
//la requ<71>te
|
||||
@@ -54,10 +54,10 @@ function get_CAmensuel() {
|
||||
|
||||
if (!($resquer = mysql_query($sql,$connexion))) return new soap_fault("Server", "MySQL 3 ".$sql, mysql_error());
|
||||
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
return new soap_fault("Server", "MySQL 4", $sql);
|
||||
break;
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
return new soap_fault("Server", "MySQL 4", $sql);
|
||||
break;
|
||||
default :
|
||||
$i = 0;
|
||||
while ( $i < $numrows) {
|
||||
@@ -74,7 +74,7 @@ return $result;
|
||||
function get_orders($limit='', $status='') {
|
||||
|
||||
//on se connecte
|
||||
if (!($connexion = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD))) return new soap_fault("Server", "MySQL 1", "connection impossible");
|
||||
if (!($connexion = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD))) return new soap_fault("Server", "MySQL 1", "connection impossible");
|
||||
if (!($db = mysql_select_db(DB_DATABASE, $connexion))) return new soap_fault("Server", "MySQL 2", mysql_error());
|
||||
|
||||
//on recherche
|
||||
@@ -88,10 +88,10 @@ if ($limit > 0) $sql .= " LIMIT ".$limit;
|
||||
if (!($resquer = mysql_query($sql,$connexion))) return new soap_fault("Server", "MySQL 3 ".$sql, mysql_error());
|
||||
$result ='';
|
||||
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
//return new soap_fault("Server", "MySQL 4", "produit inexistant");
|
||||
break;
|
||||
break;
|
||||
default :
|
||||
$i = 0;
|
||||
while ( $i < $numrows) {
|
||||
@@ -109,7 +109,7 @@ return $result;
|
||||
function get_lastOrderClients($id='',$name='',$limit='') {
|
||||
|
||||
//on se connecte
|
||||
if (!($connexion = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD))) return new soap_fault("Server", "MySQL 1", "connection impossible");
|
||||
if (!($connexion = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD))) return new soap_fault("Server", "MySQL 1", "connection impossible");
|
||||
if (!($db = mysql_select_db(DB_DATABASE, $connexion))) return new soap_fault("Server", "MySQL 2", mysql_error());
|
||||
|
||||
//on recherche
|
||||
@@ -122,10 +122,10 @@ function get_lastOrderClients($id='',$name='',$limit='') {
|
||||
if (!($resquer = mysql_query($sql,$connexion))) return new soap_fault("Server", "MySQL 3 ".$sql, mysql_error());
|
||||
$result ='';
|
||||
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
return new soap_fault("Server", "MySQL 4", "produit inexistant");
|
||||
break;
|
||||
break;
|
||||
default :
|
||||
$i = 0;
|
||||
while ( $i < $numrows) {
|
||||
@@ -145,7 +145,7 @@ function get_Order($orderid="0")
|
||||
{
|
||||
|
||||
//on se connecte
|
||||
if (!($connexion = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD))) return new soap_fault("Server", "MySQL 1", "connection impossible");
|
||||
if (!($connexion = mysql_connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD))) return new soap_fault("Server", "MySQL 1", "connection impossible");
|
||||
if (!($db = mysql_select_db(DB_DATABASE, $connexion))) return new soap_fault("Server", "MySQL 2", mysql_error());
|
||||
|
||||
//on recherche la commande
|
||||
@@ -166,10 +166,10 @@ $sql .= " ORDER BY o.date_purchased desc";
|
||||
if (!($resquer = mysql_query($sql,$connexion))) return new soap_fault("Server", "MySQL 3 ".$sql, mysql_error());
|
||||
$result ='';
|
||||
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
return new soap_fault("Server", "MySQL 4", "commande inexistante ".$sql);
|
||||
break;
|
||||
break;
|
||||
default :
|
||||
$i = 0;
|
||||
while ( $i < $numrows) {
|
||||
@@ -190,10 +190,10 @@ if ($orderid > 0)
|
||||
|
||||
if (!($resquer = mysql_query($sql,$connexion))) return new soap_fault("Server", "MySQL 3 ".$sql, mysql_error());
|
||||
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
switch ($numrows = mysql_numrows($resquer)) {
|
||||
case 0 :
|
||||
return new soap_fault("Server", "MySQL 5", "commande sans articles");
|
||||
break;
|
||||
break;
|
||||
default :
|
||||
|
||||
while ( $i < $numrows) {
|
||||
@@ -208,8 +208,8 @@ mysql_close($connexion);
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
// Return the results.
|
||||
|
||||
// Return the results.
|
||||
$s->service($HTTP_RAW_POST_DATA);
|
||||
|
||||
?>
|
||||
|
||||
?>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 5 B |
@@ -1,2 +1,2 @@
|
||||
*.db
|
||||
*.db
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 692 B After Width: | Height: | Size: 5 B |
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
*.db
|
||||
*.db
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
*.db
|
||||
*.db
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1 +1 @@
|
||||
*.db
|
||||
*.db
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 2.6.2-Debian-3sarge3
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Serveur: localhost
|
||||
-- G<>n<EFBFBD>r<EFBFBD> le : Mercredi 20 Juin 2007 <20> 15:13
|
||||
-- Version du serveur: 4.0.24
|
||||
-- Version de PHP: 4.3.10-19
|
||||
--
|
||||
-- Base de donn<6E>es: `dolidev`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Structure de la table `llx_osc_categories`
|
||||
--
|
||||
|
||||
CREATE TABLE llx_osc_categories (
|
||||
rowid int(11) unsigned NOT NULL auto_increment,
|
||||
dolicatid int(11) NOT NULL default '0',
|
||||
osccatid int(11) NOT NULL default '0',
|
||||
PRIMARY KEY (rowid),
|
||||
UNIQUE KEY dolicatid (dolicatid),
|
||||
UNIQUE KEY osccatid (osccatid)
|
||||
) TYPE=InnoDB COMMENT='Correspondance categorie Dolibarr categorie OSC';
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 2.6.2-Debian-3sarge3
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Serveur: localhost
|
||||
-- G<>n<EFBFBD>r<EFBFBD> le : Mercredi 20 Juin 2007 <20> 15:13
|
||||
-- Version du serveur: 4.0.24
|
||||
-- Version de PHP: 4.3.10-19
|
||||
--
|
||||
-- Base de donn<6E>es: `dolidev`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Structure de la table `llx_osc_categories`
|
||||
--
|
||||
|
||||
CREATE TABLE llx_osc_categories (
|
||||
rowid int(11) unsigned NOT NULL auto_increment,
|
||||
dolicatid int(11) NOT NULL default '0',
|
||||
osccatid int(11) NOT NULL default '0',
|
||||
PRIMARY KEY (rowid),
|
||||
UNIQUE KEY dolicatid (dolicatid),
|
||||
UNIQUE KEY osccatid (osccatid)
|
||||
) TYPE=InnoDB COMMENT='Correspondance categorie Dolibarr categorie OSC';
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ===========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_accountingaccount ADD INDEX idx_accountingaccount_fk_pcg_version (fk_pcg_version);
|
||||
|
||||
|
||||
ALTER TABLE llx_accountingaccount ADD CONSTRAINT fk_accountingaccount_fk_pcg_version FOREIGN KEY (fk_pcg_version) REFERENCES llx_accountingsystem (pcg_version);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ===========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_accountingaccount ADD INDEX idx_accountingaccount_fk_pcg_version (fk_pcg_version);
|
||||
|
||||
|
||||
ALTER TABLE llx_accountingaccount ADD CONSTRAINT fk_accountingaccount_fk_pcg_version FOREIGN KEY (fk_pcg_version) REFERENCES llx_accountingsystem (pcg_version);
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_accountingaccount
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"fk_pcg_version" varchar(12) NOT NULL,
|
||||
"pcg_type" varchar(20) NOT NULL,
|
||||
"pcg_subtype" varchar(20) NOT NULL,
|
||||
"label" varchar(128) NOT NULL,
|
||||
"account_number" varchar(20) NOT NULL,
|
||||
"account_parent" varchar(20)
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_accountingaccount
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"fk_pcg_version" varchar(12) NOT NULL,
|
||||
"pcg_type" varchar(20) NOT NULL,
|
||||
"pcg_subtype" varchar(20) NOT NULL,
|
||||
"label" varchar(128) NOT NULL,
|
||||
"account_number" varchar(20) NOT NULL,
|
||||
"account_parent" varchar(20)
|
||||
);
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_accountingdebcred
|
||||
(
|
||||
"fk_transaction" integer NOT NULL,
|
||||
"fk_account" integer NOT NULL,
|
||||
"amount" real NOT NULL,
|
||||
"direction" varchar(1) NOT NULL
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_accountingdebcred
|
||||
(
|
||||
"fk_transaction" integer NOT NULL,
|
||||
"fk_account" integer NOT NULL,
|
||||
"amount" real NOT NULL,
|
||||
"direction" varchar(1) NOT NULL
|
||||
);
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_accountingsystem
|
||||
(
|
||||
pcg_version varchar(12) PRIMARY KEY,
|
||||
"fk_pays" integer NOT NULL,
|
||||
"label" varchar(128) NOT NULL,
|
||||
"datec" varchar(12) NOT NULL,
|
||||
"fk_author" varchar(20),
|
||||
"tms" timestamp,
|
||||
"active" smallint DEFAULT 0
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_accountingsystem
|
||||
(
|
||||
pcg_version varchar(12) PRIMARY KEY,
|
||||
"fk_pays" integer NOT NULL,
|
||||
"label" varchar(128) NOT NULL,
|
||||
"datec" varchar(12) NOT NULL,
|
||||
"fk_author" varchar(20),
|
||||
"tms" timestamp,
|
||||
"active" smallint DEFAULT 0
|
||||
);
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_accountingtransaction
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"label" varchar(128) NOT NULL,
|
||||
"datec" date NOT NULL,
|
||||
"fk_author" varchar(20) NOT NULL,
|
||||
"tms" timestamp,
|
||||
"fk_facture" integer,
|
||||
"fk_facture_fourn" integer,
|
||||
"fk_paiement" integer,
|
||||
"fk_paiement_fourn" integer
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_accountingtransaction
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"label" varchar(128) NOT NULL,
|
||||
"datec" date NOT NULL,
|
||||
"fk_author" varchar(20) NOT NULL,
|
||||
"tms" timestamp,
|
||||
"fk_facture" integer,
|
||||
"fk_facture_fourn" integer,
|
||||
"fk_paiement" integer,
|
||||
"fk_paiement_fourn" integer
|
||||
);
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
-- Copyright (C) 2004 Guillaume Delecourt <guillaume.delecourt@opensides.be>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_action_def
|
||||
(
|
||||
rowid integer NOT NULL PRIMARY KEY,
|
||||
"code" varchar(24) UNIQUE NOT NULL,
|
||||
"tms" timestamp,
|
||||
"titre" varchar(255) NOT NULL,
|
||||
"description" text,
|
||||
"objet_type" varchar(10) CHECK (objet_type IN ('ficheinter','facture','propale','mailing'))
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
-- Copyright (C) 2004 Guillaume Delecourt <guillaume.delecourt@opensides.be>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_action_def
|
||||
(
|
||||
rowid integer NOT NULL PRIMARY KEY,
|
||||
"code" varchar(24) UNIQUE NOT NULL,
|
||||
"tms" timestamp,
|
||||
"titre" varchar(255) NOT NULL,
|
||||
"description" text,
|
||||
"objet_type" varchar(10) CHECK (objet_type IN ('ficheinter','facture','propale','mailing'))
|
||||
);
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_datea (datea);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_fk_soc (fk_soc);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_fk_contact (fk_contact);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_fk_facture (fk_facture);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_datea (datea);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_fk_soc (fk_soc);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_fk_contact (fk_contact);
|
||||
ALTER TABLE llx_actioncomm ADD INDEX idx_actioncomm_fk_facture (fk_facture);
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- Actions commerciales
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_actioncomm
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
"datec" timestamp, -- date creation
|
||||
"datep" timestamp, -- date 0%
|
||||
"datea" timestamp, -- date 100%
|
||||
"tms" timestamp, -- date modif
|
||||
"fk_action" integer,
|
||||
"label" varchar(50) NOT NULL, -- libelle de l'action
|
||||
"fk_soc" integer,
|
||||
"fk_contact" integer default 0,
|
||||
"fk_user_action" integer, -- id de la personne qui doit effectuer l'action
|
||||
"fk_user_author" integer,
|
||||
"priority" smallint,
|
||||
"percent" smallint NOT NULL default 0,
|
||||
"note" text,
|
||||
"propalrowid" integer,
|
||||
"fk_commande" integer,
|
||||
"fk_facture" integer
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- Actions commerciales
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_actioncomm
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
"datec" timestamp, -- date creation
|
||||
"datep" timestamp, -- date 0%
|
||||
"datea" timestamp, -- date 100%
|
||||
"tms" timestamp, -- date modif
|
||||
"fk_action" integer,
|
||||
"label" varchar(50) NOT NULL, -- libelle de l'action
|
||||
"fk_soc" integer,
|
||||
"fk_contact" integer default 0,
|
||||
"fk_user_action" integer, -- id de la personne qui doit effectuer l'action
|
||||
"fk_user_author" integer,
|
||||
"priority" smallint,
|
||||
"percent" smallint NOT NULL default 0,
|
||||
"note" text,
|
||||
"propalrowid" integer,
|
||||
"fk_commande" integer,
|
||||
"fk_facture" integer
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,63 +1,63 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
--
|
||||
-- statut
|
||||
-- 0 : non adherent
|
||||
-- 1 : adherent
|
||||
|
||||
create table llx_adherent
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"tms" timestamp,
|
||||
"statut" smallint NOT NULL DEFAULT 0,
|
||||
"public" smallint NOT NULL DEFAULT 0, -- certain champ de la fiche sont ils public ou pas ?
|
||||
"fk_adherent_type" smallint,
|
||||
"morphy" varchar(3) CHECK (morphy IN ('mor','phy')) NOT NULL, -- personne morale / personne physique
|
||||
"datevalid" timestamp, -- date de validation
|
||||
"datec" timestamp, -- date de creation
|
||||
"prenom" varchar(50),
|
||||
"nom" varchar(50),
|
||||
"societe" varchar(50),
|
||||
"adresse" text,
|
||||
"cp" varchar(30),
|
||||
"ville" varchar(50),
|
||||
"pays" varchar(50),
|
||||
"email" varchar(255),
|
||||
"login" varchar(50) NOT NULL, -- login utilise pour editer sa fiche
|
||||
"pass" varchar(50), -- pass utilise pour editer sa fiche
|
||||
"naiss" date, -- date de naissance
|
||||
"photo" varchar(255), -- url vers la photo de l'adherent
|
||||
"fk_user_author" integer NOT NULL,
|
||||
"fk_user_mod" integer NOT NULL,
|
||||
"fk_user_valid" integer NOT NULL,
|
||||
"datefin" timestamp, -- date de fin de validit<69> de la cotisation
|
||||
"note" text,
|
||||
|
||||
UNIQUE(login)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_adherent_login ON llx_adherent (login);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
--
|
||||
-- statut
|
||||
-- 0 : non adherent
|
||||
-- 1 : adherent
|
||||
|
||||
create table llx_adherent
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"tms" timestamp,
|
||||
"statut" smallint NOT NULL DEFAULT 0,
|
||||
"public" smallint NOT NULL DEFAULT 0, -- certain champ de la fiche sont ils public ou pas ?
|
||||
"fk_adherent_type" smallint,
|
||||
"morphy" varchar(3) CHECK (morphy IN ('mor','phy')) NOT NULL, -- personne morale / personne physique
|
||||
"datevalid" timestamp, -- date de validation
|
||||
"datec" timestamp, -- date de creation
|
||||
"prenom" varchar(50),
|
||||
"nom" varchar(50),
|
||||
"societe" varchar(50),
|
||||
"adresse" text,
|
||||
"cp" varchar(30),
|
||||
"ville" varchar(50),
|
||||
"pays" varchar(50),
|
||||
"email" varchar(255),
|
||||
"login" varchar(50) NOT NULL, -- login utilise pour editer sa fiche
|
||||
"pass" varchar(50), -- pass utilise pour editer sa fiche
|
||||
"naiss" date, -- date de naissance
|
||||
"photo" varchar(255), -- url vers la photo de l'adherent
|
||||
"fk_user_author" integer NOT NULL,
|
||||
"fk_user_mod" integer NOT NULL,
|
||||
"fk_user_valid" integer NOT NULL,
|
||||
"datefin" timestamp, -- date de fin de validit<69> de la cotisation
|
||||
"note" text,
|
||||
|
||||
UNIQUE(login)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_adherent_login ON llx_adherent (login);
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
create table llx_adherent_options
|
||||
(
|
||||
optid SERIAL PRIMARY KEY,
|
||||
"tms" timestamp,
|
||||
"adhid" integer NOT NULL, -- id de l'adherent auquel correspond ces attributs optionnel
|
||||
UNIQUE(adhid)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_adherent_options_adhid ON llx_adherent_options (adhid);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
create table llx_adherent_options
|
||||
(
|
||||
optid SERIAL PRIMARY KEY,
|
||||
"tms" timestamp,
|
||||
"adhid" integer NOT NULL, -- id de l'adherent auquel correspond ces attributs optionnel
|
||||
UNIQUE(adhid)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_adherent_options_adhid ON llx_adherent_options (adhid);
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_adherent_options_label
|
||||
(
|
||||
name varchar(64) PRIMARY KEY, -- nom de l'attribut
|
||||
"tms" timestamp,
|
||||
"label" varchar(255) NOT NULL -- label correspondant a l'attribut
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_adherent_options_label
|
||||
(
|
||||
name varchar(64) PRIMARY KEY, -- nom de l'attribut
|
||||
"tms" timestamp,
|
||||
"label" varchar(255) NOT NULL -- label correspondant a l'attribut
|
||||
);
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
--
|
||||
-- statut
|
||||
-- 0 : actif
|
||||
-- 1 : inactif
|
||||
|
||||
create table llx_adherent_type
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"tms" timestamp,
|
||||
"statut" smallint NOT NULL DEFAULT 0,
|
||||
"libelle" varchar(50),
|
||||
"cotisation" varchar(3) CHECK (cotisation IN ('yes','no')) NOT NULL DEFAULT 'yes',
|
||||
"vote" varchar(3) CHECK (vote IN ('yes','no')) NOT NULL DEFAULT 'yes',
|
||||
"note" text,
|
||||
"mail_valid" text -- mail envoye a la validation
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
--
|
||||
-- statut
|
||||
-- 0 : actif
|
||||
-- 1 : inactif
|
||||
|
||||
create table llx_adherent_type
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"tms" timestamp,
|
||||
"statut" smallint NOT NULL DEFAULT 0,
|
||||
"libelle" varchar(50),
|
||||
"cotisation" varchar(3) CHECK (cotisation IN ('yes','no')) NOT NULL DEFAULT 'yes',
|
||||
"vote" varchar(3) CHECK (vote IN ('yes','no')) NOT NULL DEFAULT 'yes',
|
||||
"note" text,
|
||||
"mail_valid" text -- mail envoye a la validation
|
||||
);
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_appro
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"datec" timestamp,
|
||||
"tms" timestamp,
|
||||
"fk_product" integer NOT NULL,
|
||||
"quantity" smallint NOT NULL,
|
||||
"price" real,
|
||||
"fk_user_author" integer
|
||||
);
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ============================================================================
|
||||
|
||||
create table llx_appro
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"datec" timestamp,
|
||||
"tms" timestamp,
|
||||
"fk_product" integer NOT NULL,
|
||||
"quantity" smallint NOT NULL,
|
||||
"price" real,
|
||||
"fk_user_author" integer
|
||||
);
|
||||
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2000-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
|
||||
create table llx_bank
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"datec" timestamp,
|
||||
"datev" date, -- date de valeur
|
||||
"dateo" date, -- date operation
|
||||
"amount" real NOT NULL default 0,
|
||||
"label" varchar(255),
|
||||
"fk_account" integer,
|
||||
"fk_user_author" integer,
|
||||
"fk_user_rappro" integer,
|
||||
"fk_type" varchar(4), -- CB, Virement, cheque
|
||||
"num_releve" varchar(50),
|
||||
"num_chq" int,
|
||||
"rappro" smallint default 0,
|
||||
"note" text,
|
||||
"author" varchar(40) -- a supprimer apres migration
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2000-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
|
||||
create table llx_bank
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"datec" timestamp,
|
||||
"datev" date, -- date de valeur
|
||||
"dateo" date, -- date operation
|
||||
"amount" real NOT NULL default 0,
|
||||
"label" varchar(255),
|
||||
"fk_account" integer,
|
||||
"fk_user_author" integer,
|
||||
"fk_user_rappro" integer,
|
||||
"fk_type" varchar(4), -- CB, Virement, cheque
|
||||
"num_releve" varchar(50),
|
||||
"num_chq" int,
|
||||
"rappro" smallint default 0,
|
||||
"note" text,
|
||||
"author" varchar(40) -- a supprimer apres migration
|
||||
);
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ============================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_bank_account ADD UNIQUE uk_bank_account_label (label);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ============================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_bank_account ADD UNIQUE uk_bank_account_label (label);
|
||||
|
||||
@@ -1,54 +1,54 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- =============================================================================
|
||||
-- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
--
|
||||
-- courant : type de compte: 0 epargne, 1 courant, 2 caisse
|
||||
-- clos : le compte est-il clos ou encore ouvert
|
||||
--
|
||||
-- =============================================================================
|
||||
|
||||
create table llx_bank_account
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"datec" timestamp,
|
||||
"tms" timestamp,
|
||||
"ref" varchar(12) NOT NULL,
|
||||
"label" varchar(30) NOT NULL,
|
||||
"bank" varchar(60),
|
||||
"code_banque" varchar(7),
|
||||
"code_guichet" varchar(6),
|
||||
"number" varchar(255),
|
||||
"cle_rib" varchar(5),
|
||||
"bic" varchar(10),
|
||||
"iban_prefix" varchar(5),
|
||||
"domiciliation" varchar(255),
|
||||
"proprio" varchar(60),
|
||||
"adresse_proprio" varchar(255),
|
||||
"courant" smallint DEFAULT 0 NOT NULL,
|
||||
"clos" smallint DEFAULT 0 NOT NULL,
|
||||
"rappro" smallint DEFAULT 1,
|
||||
"url" varchar(128),
|
||||
"account_number" varchar(8)
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- =============================================================================
|
||||
-- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
--
|
||||
-- courant : type de compte: 0 epargne, 1 courant, 2 caisse
|
||||
-- clos : le compte est-il clos ou encore ouvert
|
||||
--
|
||||
-- =============================================================================
|
||||
|
||||
create table llx_bank_account
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"datec" timestamp,
|
||||
"tms" timestamp,
|
||||
"ref" varchar(12) NOT NULL,
|
||||
"label" varchar(30) NOT NULL,
|
||||
"bank" varchar(60),
|
||||
"code_banque" varchar(7),
|
||||
"code_guichet" varchar(6),
|
||||
"number" varchar(255),
|
||||
"cle_rib" varchar(5),
|
||||
"bic" varchar(10),
|
||||
"iban_prefix" varchar(5),
|
||||
"domiciliation" varchar(255),
|
||||
"proprio" varchar(60),
|
||||
"adresse_proprio" varchar(255),
|
||||
"courant" smallint DEFAULT 0 NOT NULL,
|
||||
"clos" smallint DEFAULT 0 NOT NULL,
|
||||
"rappro" smallint DEFAULT 1,
|
||||
"url" varchar(128),
|
||||
"account_number" varchar(8)
|
||||
);
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_bank_categ
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"label" varchar(255)
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_bank_categ
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"label" varchar(255)
|
||||
);
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
create table llx_bank_class
|
||||
(
|
||||
"lineid" integer NOT NULL,
|
||||
"fk_categ" integer NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_bank_class_lineid ON llx_bank_class (lineid);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
create table llx_bank_class
|
||||
(
|
||||
"lineid" integer NOT NULL,
|
||||
"fk_categ" integer NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_bank_class_lineid ON llx_bank_class (lineid);
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_bank_url ADD UNIQUE uk_bank_url (fk_bank,url_id);
|
||||
@@ -1,35 +1,35 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_bank_url
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"fk_bank" integer,
|
||||
"url_id" integer,
|
||||
"url" varchar(255),
|
||||
"label" varchar(255),
|
||||
"type" varchar(8) CHECK (type IN ('company','payment','member','donation','charge'))
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_bank_url
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"fk_bank" integer,
|
||||
"url_id" integer,
|
||||
"url" varchar(255),
|
||||
"label" varchar(255),
|
||||
"type" varchar(8) CHECK (type IN ('company','payment','member','donation','charge'))
|
||||
);
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_bookmark ADD UNIQUE uk_bookmark_url (fk_user, url);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_bookmark ADD UNIQUE uk_bookmark_url (fk_user, url);
|
||||
ALTER TABLE llx_bookmark ADD UNIQUE uk_bookmark_title (fk_user, title);
|
||||
@@ -1,35 +1,35 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_bookmark
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"fk_soc" integer,
|
||||
"fk_user" integer NOT NULL,
|
||||
"dateb" timestamp,
|
||||
"url" varchar(128) NOT NULL,
|
||||
"target" varchar(16),
|
||||
"title" varchar(64),
|
||||
"favicon" varchar(24)
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ===================================================================
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_bookmark
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"fk_soc" integer,
|
||||
"fk_user" integer NOT NULL,
|
||||
"dateb" timestamp,
|
||||
"url" varchar(128) NOT NULL,
|
||||
"target" varchar(16),
|
||||
"title" varchar(64),
|
||||
"favicon" varchar(24)
|
||||
);
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===========================================================================
|
||||
|
||||
|
||||
create table llx_bookmark4u_login
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"fk_user" integer,
|
||||
"bk4u_uid" integer,
|
||||
UNIQUE(fk_user)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_bookmark4u_login_fk_user ON llx_bookmark4u_login (fk_user);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===========================================================================
|
||||
|
||||
|
||||
create table llx_bookmark4u_login
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"fk_user" integer,
|
||||
"bk4u_uid" integer,
|
||||
UNIQUE(fk_user)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_bookmark4u_login_fk_user ON llx_bookmark4u_login (fk_user);
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===========================================================================
|
||||
--
|
||||
-- position : 0-index.php, 1-left, 2-right
|
||||
--
|
||||
--
|
||||
|
||||
create table llx_boxes
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"box_id" integer NOT NULL,
|
||||
"position" smallint NOT NULL,
|
||||
"box_order" smallint default 0 NOT NULL
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===========================================================================
|
||||
--
|
||||
-- position : 0-index.php, 1-left, 2-right
|
||||
--
|
||||
--
|
||||
|
||||
create table llx_boxes
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"box_id" integer NOT NULL,
|
||||
"position" smallint NOT NULL,
|
||||
"box_order" smallint default 0 NOT NULL
|
||||
);
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===========================================================================
|
||||
|
||||
create table llx_boxes_def
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"name" varchar(255) NOT NULL,
|
||||
"file" varchar(255) NOT NULL,
|
||||
"note" text
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ===========================================================================
|
||||
|
||||
create table llx_boxes_def
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"name" varchar(255) NOT NULL,
|
||||
"file" varchar(255) NOT NULL,
|
||||
"note" text
|
||||
);
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_actioncomm
|
||||
(
|
||||
id integer PRIMARY KEY,
|
||||
"code" varchar(12) UNIQUE NOT NULL,
|
||||
"type" varchar(10) DEFAULT 'system' NOT NULL,
|
||||
"libelle" varchar(30) NOT NULL,
|
||||
"active" smallint DEFAULT 1 NOT NULL,
|
||||
"todo" smallint
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_actioncomm
|
||||
(
|
||||
id integer PRIMARY KEY,
|
||||
"code" varchar(12) UNIQUE NOT NULL,
|
||||
"type" varchar(10) DEFAULT 'system' NOT NULL,
|
||||
"libelle" varchar(30) NOT NULL,
|
||||
"active" smallint DEFAULT 1 NOT NULL,
|
||||
"todo" smallint
|
||||
);
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
create table llx_c_ape
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"code_ape" varchar(5) NOT NULL,
|
||||
"libelle" varchar(255),
|
||||
"active" smallint DEFAULT 1 NOT NULL,
|
||||
UNIQUE(code_ape)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_c_ape_code_ape ON llx_c_ape (code_ape);
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
create table llx_c_ape
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"code_ape" varchar(5) NOT NULL,
|
||||
"libelle" varchar(255),
|
||||
"active" smallint DEFAULT 1 NOT NULL,
|
||||
UNIQUE(code_ape)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_c_ape_code_ape ON llx_c_ape (code_ape);
|
||||
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_chargesociales
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
"libelle" varchar(80),
|
||||
"deductible" smallint DEFAULT 0 NOT NULL,
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_chargesociales
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
"libelle" varchar(80),
|
||||
"deductible" smallint DEFAULT 0 NOT NULL,
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_civilite
|
||||
(
|
||||
rowid integer PRIMARY KEY,
|
||||
"code" varchar(6) UNIQUE NOT NULL,
|
||||
"civilite" varchar(50),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_civilite
|
||||
(
|
||||
rowid integer PRIMARY KEY,
|
||||
"code" varchar(6) UNIQUE NOT NULL,
|
||||
"civilite" varchar(50),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_c_currencies ADD UNIQUE uk_c_currencies_code_iso(code_iso);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_c_currencies ADD UNIQUE uk_c_currencies_code_iso(code_iso);
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_currencies
|
||||
(
|
||||
code varchar(2) PRIMARY KEY,
|
||||
"code_iso" varchar(3) NOT NULL,
|
||||
"label" varchar(64),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_currencies
|
||||
(
|
||||
code varchar(2) PRIMARY KEY,
|
||||
"code_iso" varchar(3) NOT NULL,
|
||||
"label" varchar(64),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ============================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_c_departements ADD UNIQUE uk_departements (code_departement,fk_region);
|
||||
|
||||
|
||||
ALTER TABLE llx_c_departements ADD INDEX idx_departements_fk_region (fk_region);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ============================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ============================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_c_departements ADD UNIQUE uk_departements (code_departement,fk_region);
|
||||
|
||||
|
||||
ALTER TABLE llx_c_departements ADD INDEX idx_departements_fk_region (fk_region);
|
||||
|
||||
@@ -1,41 +1,41 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_departements
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"code_departement" varchar(6) NOT NULL,
|
||||
"fk_region" integer,
|
||||
"cheflieu" varchar(7),
|
||||
"tncc" integer,
|
||||
"ncc" varchar(50),
|
||||
"nom" varchar(50),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_departements
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"code_departement" varchar(6) NOT NULL,
|
||||
"fk_region" integer,
|
||||
"cheflieu" varchar(7),
|
||||
"tncc" integer,
|
||||
"ncc" varchar(50),
|
||||
"nom" varchar(50),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_effectif
|
||||
(
|
||||
id integer PRIMARY KEY,
|
||||
"code" varchar(12) UNIQUE NOT NULL,
|
||||
"libelle" varchar(30),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_effectif
|
||||
(
|
||||
id integer PRIMARY KEY,
|
||||
"code" varchar(12) UNIQUE NOT NULL,
|
||||
"libelle" varchar(30),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
create table llx_c_forme_juridique
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"code" varchar(12) UNIQUE NOT NULL,
|
||||
"fk_pays" integer NOT NULL,
|
||||
"libelle" varchar(255),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
create table llx_c_forme_juridique
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"code" varchar(12) UNIQUE NOT NULL,
|
||||
"fk_pays" integer NOT NULL,
|
||||
"libelle" varchar(255),
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
create table llx_c_methode_commande_fournisseur
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"code" varchar(30),
|
||||
"libelle" varchar(60),
|
||||
"active" smallint default 1 NOT NULL,
|
||||
UNIQUE(code)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_c_methode_commande_fournisseur_code ON llx_c_methode_commande_fournisseur (code);
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
create table llx_c_methode_commande_fournisseur
|
||||
(
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
"code" varchar(30),
|
||||
"libelle" varchar(60),
|
||||
"active" smallint default 1 NOT NULL,
|
||||
UNIQUE(code)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_llx_c_methode_commande_fournisseur_code ON llx_c_methode_commande_fournisseur (code);
|
||||
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ========================================================================
|
||||
--
|
||||
-- Type :
|
||||
--
|
||||
-- 0 : entr<74>e d'argent
|
||||
-- 1 : sortie d'argent
|
||||
-- 2 : entr<74>e ou sortie d'argent
|
||||
|
||||
create table llx_c_paiement
|
||||
(
|
||||
id integer PRIMARY KEY,
|
||||
"code" varchar(6) UNIQUE NOT NULL,
|
||||
"libelle" varchar(30),
|
||||
"type" smallint,
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- ========================================================================
|
||||
--
|
||||
-- Type :
|
||||
--
|
||||
-- 0 : entr<74>e d'argent
|
||||
-- 1 : sortie d'argent
|
||||
-- 2 : entr<74>e ou sortie d'argent
|
||||
|
||||
create table llx_c_paiement
|
||||
(
|
||||
id integer PRIMARY KEY,
|
||||
"code" varchar(6) UNIQUE NOT NULL,
|
||||
"libelle" varchar(30),
|
||||
"type" smallint,
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_c_pays ADD UNIQUE INDEX idx_c_pays_code (code);
|
||||
ALTER TABLE llx_c_pays ADD UNIQUE INDEX idx_c_pays_code_iso (code_iso);
|
||||
ALTER TABLE llx_c_pays ADD UNIQUE INDEX idx_c_pays_libelle (libelle);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_c_pays ADD UNIQUE INDEX idx_c_pays_code (code);
|
||||
ALTER TABLE llx_c_pays ADD UNIQUE INDEX idx_c_pays_code_iso (code_iso);
|
||||
ALTER TABLE llx_c_pays ADD UNIQUE INDEX idx_c_pays_libelle (libelle);
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_pays
|
||||
(
|
||||
rowid integer PRIMARY KEY,
|
||||
"code" varchar(2) NOT NULL,
|
||||
"code_iso" varchar(3) ,
|
||||
"libelle" varchar(50) NOT NULL,
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
-- Generated from dolibarr_mysql2pgsql
|
||||
-- (c) 2004, PostgreSQL Inc.
|
||||
-- (c) 2005, Laurent Destailleur.
|
||||
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU General Public License
|
||||
-- along with this program; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_pays
|
||||
(
|
||||
rowid integer PRIMARY KEY,
|
||||
"code" varchar(2) NOT NULL,
|
||||
"code_iso" varchar(3) ,
|
||||
"libelle" varchar(50) NOT NULL,
|
||||
"active" smallint DEFAULT 1 NOT NULL
|
||||
);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user