User Tools

Site Tools


english_readme

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
english_readme [2022/01/05 11:47] marcoenglish_readme [2025/12/05 15:15] (current) marco
Line 7: Line 7:
  
 ########################################################################################## ##########################################################################################
-#    HOTELDRUID          +#    HOTELDRUID                                                                          
-#    Copyright (C) 2001-2021 by Marco Maria Francesco De Santis (marco@digitaldruid.net) # +#    Copyright (C) 2001-2025 by Marco Maria Francesco De Santis (marco@digitaldruid.net) # 
-#          +                                                                                       
-#    This program is free software: you can redistribute it and/or modify          #+#    This program is free software: you can redistribute it and/or modify                #
 #    it under the terms of the GNU Affero General Public License as published by         # #    it under the terms of the GNU Affero General Public License as published by         #
-#    the Free Software Foundation, either version 3 of the License, or          +#    the Free Software Foundation, either version 3 of the License, or                   
-#    any later version accepted by Marco Maria Francesco De Santis, which          +#    any later version accepted by Marco Maria Francesco De Santis, which                
-#    shall act as a proxy as defined in Section 14 of version 3 of the          +#    shall act as a proxy as defined in Section 14 of version 3 of the                   
-#    license.          +#    license.                                                                            
-#          +                                                                                       
-#    This program is distributed in the hope that it will be useful,          +#    This program is distributed in the hope that it will be useful,                     
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of          +#    but WITHOUT ANY WARRANTY; without even the implied warranty of                      
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          +#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                       
-#    GNU Affero General Public License for more details.          +#    GNU Affero General Public License for more details.                                 
-#          +                                                                                       
-#    You should have received a copy of the GNU Affero General Public License          +#    You should have received a copy of the GNU Affero General Public License            
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.          #+#    along with this program.  If not, see <http://www.gnu.org/licenses/>              #
 ########################################################################################## ##########################################################################################
  
-HotelDruid version 3.0.2+HotelDruid version 3.0.8
 Program for hotel rooms management or weekly and daily rental  Program for hotel rooms management or weekly and daily rental 
 of apartments. of apartments.
Line 50: Line 50:
 REQUIRED SOFTWARE REQUIRED SOFTWARE
 -apache (>=1.3.26) or another web server that supports php -apache (>=1.3.26) or another web server that supports php
--php (>=3.0.18) with extension for postgresql, mysql or sqlite3+-php (>=4.1) with extension for postgresql, mysql or sqlite3
 -postgresql (>=7.4.7) or mysql (>=4.1.11) or sqlite (>=3.7.9) -postgresql (>=7.4.7) or mysql (>=4.1.11) or sqlite (>=3.7.9)
 -a browser that supports html 4.01 with utf-8 encoding -a browser that supports html 4.01 with utf-8 encoding
Line 303: Line 303:
 In addition, you can also create custom variables like [var] or  In addition, you can also create custom variables like [var] or 
 arrays like [var1(var2)]. To assign a fixed value to an array  arrays like [var1(var2)]. To assign a fixed value to an array 
-within the document you can use the notation [var1('value')].+within the document you can use the notation [var1('value')].  
 +These variables and their conditions are created from the page  
 +you can access with the button at the bottom of the document  
 +editing page. 
 +Conditions on variables can also be inserted inside the document  
 +text, so that the part surrounded by the condition is displayed  
 +only if the condition is satisfied. The format of these  
 +conditions is: 
 + 
 +[c variable_name="value"]Text under condition[/c] 
 + 
 +where the variable names are written without square 
 +brackets. The "value" to which the variable is compared 
 +can be a text surrounded by quotation marks " or another 
 +variable, in this case without quotation marks. The types of 
 +comparison can be = (equal), != (not equal), % (text 
 +included in the first variable), !% (text not included), > 
 +(greater than) and < (less than). Multiple conditions can be  
 +joined with & (AND) or | (OR). The conditions are always  
 +considered as grouped on the right, for example in: 
 + 
 +[c var1="val" & var2!=var3 | var4>"val2" & var5%var6]Text[/c] 
 + 
 +the conditions are grouped as follows: 
 + 
 +var1="val" & (var2!=var3 | (var4>"val2" & var5%var6))
  
  
english_readme.1641383231.txt.gz · Last modified: 2022/01/05 11:47 by marco