english_readme
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| english_readme [2022/01/05 11:47] – marco | english_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. | + | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| - | # 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. | + | # along with this program. |
| ########################################################################################## | ########################################################################################## | ||
| - | 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 (> | -apache (> | ||
| - | -php (>=3.0.18) with extension for postgresql, mysql or sqlite3 | + | -php (>=4.1) with extension for postgresql, mysql or sqlite3 |
| -postgresql (> | -postgresql (> | ||
| -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(' | + | within the document you can use the notation [var1(' |
| + | 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=" | ||
| + | |||
| + | where the variable names are written without square | ||
| + | brackets. The " | ||
| + | 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=" | ||
| + | |||
| + | the conditions are grouped as follows: | ||
| + | |||
| + | var1=" | ||
english_readme.1641383231.txt.gz · Last modified: 2022/01/05 11:47 by marco