diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cbb3a13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0921111 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: smeserver-webhosting +# $Id: Makefile,v 1.1 2020/10/30 10:35:41 brianr Exp $ +NAME := smeserver-webhosting +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index cf5b57c..051f33b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ -# smeserver-webhosting +# smeserver-webhosting -SMEServer Koozali developed git repo for smeserver-webhosting smecontribs \ No newline at end of file +SMEServer Koozali developed git repo for smeserver-webhosting smecontribs + +## Wiki +
https://wiki.koozali.org/Webhosting +
https://wiki.koozali.org/Smeserver-webhosting + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-webhosting&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
diff --git a/additional/CHANGELOG.git b/additional/CHANGELOG.git new file mode 100644 index 0000000..39add56 --- /dev/null +++ b/additional/CHANGELOG.git @@ -0,0 +1,144 @@ +commit f0e9d842ec4ff9413c1ddeb937ad211e5ba24b82 +Author: Stephane de Labrusse +Date: Wed Jun 18 18:27:47 2014 +0200 + + * Wed Jun 18 2014 Stephane de Labrusse -0.0.9-1.sme + - added a box larger for writing the phpbasedir + +commit caa308097992bb48f91d5d7afa1c0e0cb0c8af82 +Author: Stephane de Labrusse +Date: Mon Jun 16 21:37:13 2014 +0200 + + corrected typo" + +commit 59eb3e3e29660f9b7d53b9e58216df6999a57e1a +Author: Stephane de Labrusse +Date: Mon Jun 16 21:22:41 2014 +0200 + + * Mon Jun 16 2014 Stephane de Labrusse -0.0.8-1.sme + - add german translation, thanks to Rudolf Vielnascher + - add french translation, thanks to me :) + +commit e40be900f51742183d5dd4a13df9028572a8a4d2 +Author: Stephane de Labrusse +Date: Mon Jun 16 20:52:25 2014 +0200 + + some translations + +commit ed7faeffe40032ca4265144ac21c3ac961f3469f +Author: Stephane de Labrusse +Date: Mon Jun 16 20:33:10 2014 +0200 + + changed encodage of de translation + +commit 6f194774be26b8be7b595c3545180bf6df02dded +Author: Stephane de Labrusse +Date: Mon Jun 16 20:23:33 2014 +0200 + + * Mon Jun 16 2014 Stephane de Labrusse -0.0.7-1.sme + - add german translation, thanks to Rudolf Vielnascher + - add french translation, thanks to me :) + +commit 7cc15138bf5cdc0e2e65f56480a50d1a30456d5e +Author: Stephane de Labrusse +Date: Fri Jun 13 13:15:20 2014 +0200 + + * Fri Jun 13 2004 Stephane de Labrusse -0.0.6-1.sme + - Add mod dav in dependency with an option enabled/disabled + +commit d9c48b99732e631dabb7d69e87fae79ae4dbafda +Author: Stephane de Labrusse +Date: Fri Jun 13 13:12:52 2014 +0200 + + * Fri Jun 13 2004 Stephane de Labrusse -0.0.6-1.sme + - Add mod dav in dependency with an option enabled/disabled + +commit dffcb1de330b9052dce187929c77109d6fd406c4 +Author: Stephane de Labrusse +Date: Sun Jun 1 17:25:13 2014 +0200 + + Update README.md + +commit a79c29340a17bcf1449f4b4a07a44c0a7610b2d6 +Author: Stephane de Labrusse +Date: Sun Jun 1 17:24:31 2014 +0200 + + Initial commit + +commit 8f3bfffdacce79c6f6c0aed35cca3ed3ed015bb7 +Author: Stephane de Labrusse +Date: Sun Jun 1 10:52:37 2014 +0200 + + phpbasedir + +commit c41c6359560bc85129d5fb5c7c9f82280b45e748 +Author: Stephane de Labrusse +Date: Sun Jun 1 10:50:21 2014 +0200 + + phpbasedir + +commit 7287b8c924c847f14c228af87c6f69f854603855 +Author: Stephane de Labrusse +Date: Sun Jun 1 10:43:33 2014 +0200 + + phpbasedir + +commit 1eba36815e745b7d5f737062cce82bb29b63e156 +Author: Stephane de Labrusse +Date: Sun Jun 1 10:33:53 2014 +0200 + + phpbasedir + +commit 63b43f3bd7ec60758a617bf6c4414ab515cf89dc +Author: Stephane de Labrusse +Date: Sun Jun 1 10:15:26 2014 +0200 + + work on phpbasedir + +commit 82d441f78ceabf1124b432ab790c652e0d11ce8e +Author: Stephane de Labrusse +Date: Sun Jun 1 09:50:09 2014 +0200 + + phpbasedir + +commit 9bd91c9f73dbc2aca9986321a297b2a66de34cca +Author: Stephane de Labrusse +Date: Sun Jun 1 09:37:44 2014 +0200 + + added a validator + +commit 897bd8acdf50190f6064ea7e43dbf11bc0b1770b +Author: Stephane de Labrusse +Date: Sun Jun 1 09:25:04 2014 +0200 + + spec modification + +commit 2561a58f7431a82d9c3d993933629b5206318033 +Author: Stephane de Labrusse +Date: Sun Jun 1 09:15:23 2014 +0200 + + webhosting.pm + +commit e471949cd0c264e40c095458e7212de5020d6a0d +Author: Stephane de Labrusse +Date: Sun Jun 1 09:10:59 2014 +0200 + + spec modification + +commit 8fefe1e020e3b7aad87d45d7dd6c30ad87d513b2 +Author: Stephane de Labrusse +Date: Sun Jun 1 08:47:49 2014 +0200 + + modified createlinks + +commit 615e4c744322747b27fcdc8eeee4308ed841c8a0 +Author: Stephane de Labrusse +Date: Sun Jun 1 08:11:50 2014 +0200 + + wip + +commit 8b2bb495325c451ea323f3c4fb5e2b4f297f2a9c +Author: Stephane de Labrusse +Date: Sun Jun 1 07:54:19 2014 +0200 + + initial release diff --git a/additional/COPYING b/additional/COPYING new file mode 100644 index 0000000..eeb586b --- /dev/null +++ b/additional/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + 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 + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/additional/LICENSE b/additional/LICENSE new file mode 100644 index 0000000..22fbe5d --- /dev/null +++ b/additional/LICENSE @@ -0,0 +1,339 @@ +GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {description} + Copyright (C) {year} {fullname} + + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + {signature of Ty Coon}, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. \ No newline at end of file diff --git a/additional/README.md b/additional/README.md new file mode 100644 index 0000000..b353d00 --- /dev/null +++ b/additional/README.md @@ -0,0 +1,6 @@ +smeserver-webhosting +==================== + +A contrib to simplify the apache/php settings. + +Only for SME Server 9.0 diff --git a/additional/smeserver-webhosting.spec b/additional/smeserver-webhosting.spec new file mode 100644 index 0000000..b4fedd7 --- /dev/null +++ b/additional/smeserver-webhosting.spec @@ -0,0 +1,62 @@ +%define name smeserver-webhosting +%define version 0.0.9 +%define release 1 + +Name: %{name} +Version: %{version} +Release: %{release}%{?dist} +Summary: allow to change php/apache settings to ibays, only yet for sme9 + +Group: SMEserver/addon +License: GNU GPL version 2 +URL: http://www.contribs.org +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-buildroot +BuildArchitectures: noarch +BuildRequires: e-smith-devtools +Requires: e-smith-release >= 9.0 +Requires: smeserver-mod_dav +AutoReqProv: no + +%description +allow to change php/apache settings to ibays, only yet for sme9 + +%prep +%setup + +%build +perl createlinks + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +echo "%doc COPYING" >> %{name}-%{version}-filelist + +%clean +cd .. +rm -rf %{name}-%{version} + +%pre +%preun +%post +%postun + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) + +%changelog +* Wed Jun 18 2014 Stephane de Labrusse -0.0.9-1.sme +- added a box larger for writing the phpbasedir + +* Mon Jun 16 2014 Stephane de Labrusse -0.0.8-1.sme +- add german translation, thanks to Rudolf Vielnascher +- add french translation, thanks to me :) + +* Fri Jun 13 2014 Stephane de Labrusse -0.0.6-1.sme +- Add mod dav in dependency with an option enabled/disabled + +* Sun Jun 01 2014 Stephane de Labrusse -0.01-1 +- Initial Release + diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/createlinks b/createlinks new file mode 100644 index 0000000..b5f9deb --- /dev/null +++ b/createlinks @@ -0,0 +1,23 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); + +panel_link("webhosting", "manager"); + +for my $event (qw( + webhosting-modify smeserver-webhosting-update + )) +{ + #we can avoid those 2 as we are tricking ourself as ibay-modify and it will do those and php + #templates2events("/etc/httpd/conf/httpd.conf", $event); + #safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); + event_link("webhosting-php-expand", $event, "05"); + event_link("webhosting-php-adjust", $event, "90"); +} +$event="smeserver-webhosting-update"; +event_link("navigation-conf", $event, "70"); +# for smeserver-manager +safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/smanager"); +event_link('navigation2-conf', "$event", '80'); +event_link('routes2-conf', "$event", '80'); +event_link('locales2-conf', "$event", '80'); diff --git a/root/etc/e-smith/events/actions/webhosting-php-adjust b/root/etc/e-smith/events/actions/webhosting-php-adjust new file mode 100644 index 0000000..3ff53e8 --- /dev/null +++ b/root/etc/e-smith/events/actions/webhosting-php-adjust @@ -0,0 +1,10 @@ +#!/usr/bin/perl -w +package esmith; + +use strict; +use Errno; + +# here we trick ourself into ibay-modify in order to have all php versions offered by smeserver-php +# not ideal as we would like to only have php and we also do samba .... but we are working on ibays. +my $event ="ibay-modify"; +system('/etc/e-smith/events/actions/adjust-services',$event); diff --git a/root/etc/e-smith/events/actions/webhosting-php-expand b/root/etc/e-smith/events/actions/webhosting-php-expand new file mode 100644 index 0000000..4ac7421 --- /dev/null +++ b/root/etc/e-smith/events/actions/webhosting-php-expand @@ -0,0 +1,10 @@ +#!/usr/bin/perl -w +package esmith; + +use strict; +use Errno; + +# here we trick ourself into ibay-modify in order to have all php versions offered by smeserver-php +# not ideal as we would like to only have php and we also do samba .... but we are working on ibays. +my $event ="ibay-modify"; +system('/etc/e-smith/events/actions/generic_template_expand',$event); diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..20318bb --- /dev/null +++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Добавка за уеб хостинг + + +webhosting +Уеб хостинг инфо слотове + + + FIRSTPAGE_DESC + Управление на настройките на Apache и PHP + + + ADD_TITLE + Промяна на настройките на Apache и PHP. + + + NAME_FIELD_DESC + Тези параметри ще бъдат в сила само ако достъпът от уеб е позволен за конкретния инфо слот в панела за управление на инфо слотовете. + + + NAME_LABEL + Име на информационния слот + + + NO_IBAYS + Няма конфигурирани инфо-слотове в момента. + + + CANT_FIND_IBAY + Не може да се намери акаунт за {$name} (съществува ли?) + + + ERROR_WHILE_MODIFYING_IBAY + Възникна грешка при промяна на инфо слота. + + + SUCCESSFULLY_MODIFIED_IBAY + Успешно променен инфо слот. + + + VIRTUAL_HOST_MESSAGE + Следните виртуални домейни използваха този информационен слот като тяхно съдържание и ще бъдат променени да сочат към основния сайт (можете да ги пренасочите към нещо друго после). + + + VHOST_MESSAGE + Следните виртуални домейни използваха този информационен слот като тяхно съдържание и ще бъдат променени да сочат към основния сайт (можете да ги пренасочите към нещо друго после):

    {$vhostList}
]]>
+
+ + Information bays + Информационни слотове + + + DESC_HTTP_SETTINGS + Следните настройки контролират достъпа до този инфо слот при използване на протокол HTTP/HTTPS. + + + DESC_PHP_SETTINGS + Следните настройки контролират стойностите за PHP за този инфо слот. + + + INDEXES + Позволи списък на папката (+Indexes) + + + FOLLOWSYMLINKS + Следвай символните връзки (FollowSymLinks) + + + ALLOWOVERRIDE + Позволи политики с .htaccess (AllowOverride) + + + ALLOWURLFOPEN + Позволи достъп до отдалечени файлове (Allow_url_fopen) + + + DEFAULT + Стойност по подразбиране + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 20MB + + + M3072MB + 30MB + + + M4096MB + 40MB + + + M6144MB + 64MB + + + M8192MB + 128MB + + + T001m + 1 минута + + + T002m + 2 минути + + + T003m + 3 минути + + + T004m + 4 минути + + + T005m + 5 минути + + + T006m + 6 минути + + + T007m + 7 минути + + + T008m + 8 минути + + + T009m + 9 минути + + + T010m + 10 минути + + + T015m + 15 минути + + + T030m + 30 минути + + + T045m + 45 минути + + + T060m + 1 час + + + T120m + 2 часа + + + UNLIMITED + Без ограничение + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Лимит на паметта на PHP (memory_limit) + + + UPLOADMAXFILESIZE + Максимален размер за качване (upload_max_filesize) + + + POSTMAXSIZE + Максимален размер за post (post_max_size) + + + MAXEXECUTIONTIME + Максимално време за изпълнение (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + Максималният размер на файл за качване е по-голям от максималния размер на post за форма + + + PHPBASEDIR + Въведете път(ища) за PHP скриптове (PHPBasedir) + + + DESC_PHPBASEDIR + Трябва да определите пълния път към инфо слота или да изчистите полето за да се ползва стойността по подразбиране + + + DESC_DAV_SETTINGS + Следните настройки контролират WebDav протокола за трансфер на файлове на този инфо слот. + + + ENABLE_MOD_DAV + Позволи WebDav + + + PHPVERSION + Изберете версията на php-fpm, която искате да ползвате за този инфо слот + + + FILEUPLOAD + Да се позволи или не HTTP зареждане на файлове (file_upload) + + + MAXINPUTTIME + Максимално време в секунди в което скрипт може да обработва входните данни (max_input_time) + + + ALLOWPHTML + Позволи обработване на PHP код в html, phtml, htm и xml файлове. + + + MAILFORCESENDER + Форсирай електронен адрес на изпращача за скриптовете в този инфо слот. + + + DISABLEDFUNCTIONS + Списък на PHP забранени функции (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Оставете празно или с произволен символен низ за да изключите. Копирайте и сложете следния списък по подразбиране за да инициализирате към подразбиращия се + + +
diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..0b6a74a --- /dev/null +++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web host Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Administrer Apache og PHP indstillinger + + + ADD_TITLE + Rediger Apache og PHP indstillinger. + + + NAME_FIELD_DESC + Disse parametre vil kun effektueres hvis adgang fra internettet er tilladt for den aktuelle i-bay i i-bay informationspanelet + + + NAME_LABEL + I-bay navn + + + NO_IBAYS + Der er pt ikke konfiguret nogen I-bay + + + CANT_FIND_IBAY + Kan ikke finde nogen konto for {$name} (eksisterer den?) + + + ERROR_WHILE_MODIFYING_IBAY + Der opstod en fejl under redigering af i-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Ændring af I-bay er gennemført med succes. + + + VIRTUAL_HOST_MESSAGE + Følgende virtuelle domæner hentede sit indhold fra denne i-bay. Det vil blive ændret til at hente indholdet fra den primære webside (du kan ændre dette senere). + + + VHOST_MESSAGE + Følgende virtuelt domæne hentede sit indhold denne i-bay. Det vil blive ændret til at hente indholdet fra den primære webside. (Du kan ændre dette senere):

    {$vhostList}
]]>
+
+ + Information bays + I-bays + + + DESC_HTTP_SETTINGS + De følgende indstillinger kontrollerer adgangen til denne I-bay via HTTP/HTTPS protokol. + + + DESC_PHP_SETTINGS + De f'ølgende indstillinger kontrollerer PHP værdierne for denne I-bay. + + + INDEXES + Tillad listning af indhold i biblioteket (+indekser) + + + FOLLOWSYMLINKS + Følg symbolske links (FollowSymLinks) + + + ALLOWOVERRIDE + Tillad .htaccess opsætning (AllowOverride) + + + ALLOWURLFOPEN + Tillad adgang til eksterne filer (Allow_url_fopen) + + + DEFAULT + Standard værdi + + + M0064MB + 64 MB + + + M0128MB + 128 MB + + + M0256MB + 256 MB + + + M0512MB + 512 MB + + + M0768MB + 768 MB + + + M1024MB + 1024 MB + + + M2048MB + 20 MB + + + M3072MB + 30 MB + + + M4096MB + 40 MB + + + M6144MB + 64 MB + + + M8192MB + 128 MB + + + T001m + 1 minut + + + T002m + 2 minutter + + + T003m + 3 minutter + + + T004m + 4 minutter + + + T005m + 5 minutter + + + T006m + 6 minutter + + + T007m + 7 minutter + + + T008m + 8 minutter + + + T009m + 9 minutter + + + T010m + 10 minutter + + + T015m + 15 minutter + + + T030m + 30 minutter + + + T045m + 45 minutter + + + T060m + En time + + + T120m + To timer + + + UNLIMITED + Ubegrænset + + + S0020MB + 20 MB + + + S0030MB + 30 MB + + + S0040MB + 40 MB + + + S0050MB + 50 MB + + + S0075MB + 75 MB + + + S0100MB + 100 MB + + + S0125MB + 125 MB + + + S0150MB + 150 MB + + + S0175MB + 175 MB + + + S0200MB + 200 MB + + + S0300MB + 300 MB + + + S0400MB + 400 MB + + + S0500MB + 500 MB + + + S0600MB + 600 MB + + + S0700MB + 700 MB + + + S0800MB + 800 MB + + + S0900MB + 900 MB + + + S1000MB + 1000 MB + + + S1250MB + 1250 MB + + + S1500MB + 1500 MB + + + S1750MB + 1750 MB + + + S2000MB + 2000 MB + + + MEMORYLIMIT + PHP memory grænse (memory_limit) + + + UPLOADMAXFILESIZE + Maksimal størrelse på upload (upload_max_filesize) + + + POSTMAXSIZE + Maksimal post størrelse (post_max_size) + + + MAXEXECUTIONTIME + Maksimal eksekverings tid (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + Den maksimale fil størrelse på upload filer er større end den maksimale størrelse på send post + + + PHPBASEDIR + Indtast sti(er) for PHP scripts (PHPBasedir) + + + DESC_PHPBASEDIR + Du skal angive den fulde sti til i-bay eller fjerne indholdet for at komme tilbage til default værdierne: /home/e-smith/files/ibays/ibay_navn/:/ny/sti:/anden/sti + + + DESC_DAV_SETTINGS + De følgende indstillinger kontrollerer WebDav fil transport protokollen for denne I-bay. + + + ENABLE_MOD_DAV + Tillad WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..c94b874 --- /dev/null +++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Verwalte Apache und PHP Einstellungen + + + ADD_TITLE + Verändere Apache und PHP Einstellungen. + + + NAME_FIELD_DESC + Diese Einstellungen werden nur aktiv, wenn der Zugriff aus dem Web für das betroffene I-Bay im I-Bay Panel erlaubt ist. + + + NAME_LABEL + I-bay Name + + + NO_IBAYS + Zur Zeit sind keine I-Bays konfiguriert. + + + CANT_FIND_IBAY + Finde keine Benutzerkennung für {$name} (existiert dieser?) + + + ERROR_WHILE_MODIFYING_IBAY + Beim Ändern der I-Bay ist ein Fehler aufgetreten. + + + SUCCESSFULLY_MODIFIED_IBAY + Das I-bay wurde erfolgreich geändert. + + + VIRTUAL_HOST_MESSAGE + Die folgenden virtuellen Domänen benutzen bisher die Informationen dieses I-bays als Inhalt und werden auf die primäre Website geändert (Sie können diese anschließend auf etwas anderes setzen). + + + VHOST_MESSAGE + Die folgenden virtuellen Domänen benutzen dieses i-bay für ihren Inhalt und werden auf die primäre Webseite geändert. (Sie können dies hinterher ändern):

    {$vhostList}
]]>
+
+ + Information bays + I-bays + + + DESC_HTTP_SETTINGS + Die folgenden Einstellungen kontrollieren den Zugriff auf dieses I-bay mit dem HTTP/HTTPS-Protokoll. + + + DESC_PHP_SETTINGS + Die folgenden Einstellungen kontrollieren die PHP-Werte dieses I-bays. + + + INDEXES + Erlaube Directory Listing (+Indexes) + + + FOLLOWSYMLINKS + Folge symbolischen Links (FollowSymLinks) + + + ALLOWOVERRIDE + Erlaube .htaccess Policy (AllowOverride) + + + ALLOWURLFOPEN + Erlaube Zugriff auf Remote Files (Allow_url_fopen) + + + DEFAULT + Standardwert + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 20MB + + + M3072MB + 30MB + + + M4096MB + 40MB + + + M6144MB + 64MB + + + M8192MB + 128MB + + + T001m + 1 Minute + + + T002m + 2 Minuten + + + T003m + 3 Minuten + + + T004m + 4 Minuten + + + T005m + 5 Minuten + + + T006m + 6 Minuten + + + T007m + 7 Minuten + + + T008m + 8 Minuten + + + T009m + 9 Minuten + + + T010m + 10 Minuten + + + T015m + 15 Minuten + + + T030m + 30 Minuten + + + T045m + 45 Minuten + + + T060m + 1 Stunde + + + T120m + 2 Stunden + + + UNLIMITED + Unbegrenzt + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + PHP Speicherlimit (memory_limit) + + + UPLOADMAXFILESIZE + Maximale Upload Größe (upload_max_filesize) + + + POSTMAXSIZE + Maximale Post Size (post_max_size) + + + MAXEXECUTIONTIME + Maximale Ausführungsdauer (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + Die maximale Upload Dateigröße ist größer als die maximale Post Size Form + + + PHPBASEDIR + Gebe Pfad(e) für PHP Scripte ein (PHPBasedir) + + + DESC_PHPBASEDIR + Sie müssen den vollen Pfad zum I-Bay angeben, oder entfernen Sie den Inhalt um zum Standardwert zurückzukehren: /home/e-smith/files/ibays/ibay_name/:/new/path:/other/path + + + DESC_DAV_SETTINGS + Die folgenden Einstellungen kontrollieren das WebDav Transferprotokoll von diesem I-bay. + + + ENABLE_MOD_DAV + Erlaube WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..941412c --- /dev/null +++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Ονομασία i-bay + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Δεν βρίσκω λογαριασμο για {$name} (μήπως δεν υπάρχει;) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Οι παρακάτω εικονικοί τομείς χρησιμοποιούσαν αυτό το information bay σαν περιεχόμενό τους και θα αλλαχθούν στον πρωτεύοντα ιστότοπο (στη συνέχεια μπορείτε να τους αλλάξετε σε κάτι άλλο). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + I-bays + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..0b89d3e --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/webhosting @@ -0,0 +1,517 @@ + + + FORM_TITLE + + Web Hosting Contrib + + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + + Manage Apache and PHP settings + + + + ADD_TITLE + + Modify Apache and PHP Settings. + + + + NAME_FIELD_DESC + +These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + + NAME_LABEL + + Information bay name + + + + NO_IBAYS + + There are no I-bays currently configured. + + + + CANT_FIND_IBAY + + Can't find account for {$name} (does it exist?) + + + + ERROR_WHILE_MODIFYING_IBAY + + An error occurred while modifying the I-bay. + + + + SUCCESSFULLY_MODIFIED_IBAY + + Successfully modified I-bay. + + + + VIRTUAL_HOST_MESSAGE + + The following virtual domains were using this information + bay as their content and will be changed to the primary web + site (you can change them to something else afterward). + + + + VHOST_MESSAGE + + The following virtual domains were using this information bay + as their content and will be changed to the primary web site + (you can change them to something else afterward):

+
    {$vhostList}
+ ]]> +
+
+ + Information bays + Information bays + + + DESC_HTTP_SETTINGS + + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + + DESC_PHP_SETTINGS + + The following settings control the PHP values of this I-bay. + + + + INDEXES + + Allow directory listing (+Indexes) + + + + FOLLOWSYMLINKS + + Follow symbolic links (FollowSymLinks) + + + + ALLOWOVERRIDE + + Allow .htaccess policy (AllowOverride) + + + + ALLOWURLFOPEN + + Allow access to remote files (Allow_url_fopen) + + + + DEFAULT + + Default value + + + + M0064MB + + 64MB + + + + M0128MB + + 128MB + + + + M0256MB + + 256MB + + + + M0512MB + + 512MB + + + + M0768MB + + 768MB + + + + M1024MB + + 1024MB + + + + M2048MB + + 2048MB + + + + M3072MB + + 3072MB + + + + M4096MB + + 4096MB + + + + M6144MB + + 6144MB + + + + M8192MB + + 80192MB + + + + T001m + + 1 minute + + + + T002m + + 2 minutes + + + + T003m + + 3 minutes + + + + T004m + + 4 minutes + + + + T005m + + 5 minutes + + + + T006m + + 6 minutes + + + + T007m + + 7 minutes + + + + T008m + + 8 minutes + + + + T009m + + 9 minutes + + + + T010m + + 10 minutes + + + + T015m + + 15 minutes + + + + T030m + + 30 minutes + + + + T045m + + 45 minutes + + + + T060m + + One hour + + + + T120m + + Two hours + + + + UNLIMITED + + Unlimited + + + + S0020MB + + 20MB + + + + S0030MB + + 30MB + + + + S0040MB + + 40MB + + + + S0050MB + + 50MB + + + + S0075MB + + 75MB + + + + S0100MB + + 100MB + + + + S0125MB + + 125MB + + + + S0150MB + + 150MB + + + + S0175MB + + 175MB + + + + S0200MB + + 200MB + + + + S0300MB + + 300MB + + + + S0400MB + + 400MB + + + + S0500MB + + 500MB + + + + S0600MB + + 600MB + + + + S0700MB + + 700MB + + + + S0800MB + + 800MB + + + + S0900MB + + 900MB + + + + S1000MB + + 1000MB + + + + S1250MB + + 1250MB + + + + S1500MB + + 1500MB + + + + S1750MB + + 1750MB + + + + S2000MB + + 2000MB + + + + MEMORYLIMIT + + Php memory limit (memory_limit) + + + + UPLOADMAXFILESIZE + + Maximum upload size (upload_max_filesize) + + + + POSTMAXSIZE + + Maximum post size (post_max_size) + + + + MAXEXECUTIONTIME + + Maximum execution time (max_execution_time) + + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + + The maximum upload file size is greater than the maximum post size form + + + + PHPBASEDIR + + Enter Path(s) for PHP Scripts (PHPBasedir) + + + + DESC_PHPBASEDIR + + You must specify the full path to the I-bay or remove the content to get back to default value + + + + DESC_DAV_SETTINGS + + The following settings control the WebDav files transfer protocol of this I-bay. + + + + ENABLE_MOD_DAV + + Allow WebDav + + + + PHPVERSION + + Select the php-fpm version you want to use with this I-bay + + + + FILEUPLOAD + + Whether or not to allow HTTP file uploads (file_upload) + + + + MAXINPUTTIME + + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + + ALLOWPHTML + + Allow parsing php code inside html, phtml, htm and xml files. + + + + MAILFORCESENDER + + Force an email sender address for the script in this I-bay. + + + + DISABLEDFUNCTIONS + + List of php disabled functions (disable_functions) + + + + DESC_DISABLEDFUNCTIONS + + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + + +
+ diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..41a4c96 --- /dev/null +++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Nombre de la bahía de información + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + No se puede encontrar la cuenta de {$name} (¿existe?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Los siguientes dominios virtuales estaban utilizando esta bahía de información como su contenido y se cambiarán al sitio Web primario (posteriormente, puede cambiarlos a algo diferente). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Bahías de información + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..e40c30d --- /dev/null +++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + I-bay nimi + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Ei leia kontot {$name} (on see üldse olemas?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + I-bay-d + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..d936520 --- /dev/null +++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Contribution pour l'hébergement Web + + +webhosting +Baies d'informations - Hébergement Web + + + FIRSTPAGE_DESC + Gérer la configuration d'Apache et de PHP + + + ADD_TITLE + Modifier la configuration d'Apache et de PHP. + + + NAME_FIELD_DESC + Ces paramètres ne seront effectifs que si l'accès depuis internet est autorisé pour la baie d'informations concernée dans le panneau des baies d'informations. + + + NAME_LABEL + Nom de la baie d'information + + + NO_IBAYS + Il n'y a pas de baie d'information configurée actuellement. + + + CANT_FIND_IBAY + Ne peut pas trouver le compte pour {$name} (existe-t-il ?) + + + ERROR_WHILE_MODIFYING_IBAY + Une erreur est survenue durant la modification de la baie d'informations. + + + SUCCESSFULLY_MODIFIED_IBAY + Baie d'informations modifiée avec succès. + + + VIRTUAL_HOST_MESSAGE + Les domaines virtuels suivants utilisent cette baie d'informations pour leurs contenus et qui seront redirigés vers le site Web « primary » (vous pourrez par la suite le changer par autre chose). + + + VHOST_MESSAGE + Les domaines virtuels suivants utilisent cette baie d'informations comme contenu et seront redirigés vers le site Web « primary » (vous pourrez par la suite le changer par autre chose) :

    {$vhostList}
]]>
+
+ + Information bays + Baies d'informations + + + DESC_HTTP_SETTINGS + Les paramètres suivants contrôlent l'accès à cette baie d'informations via les protocoles HTTP/HTTPS. + + + DESC_PHP_SETTINGS + Les paramètres suivant définissent les paramètres PHP de cette baie d'informations. + + + INDEXES + Autorise l'affichage du répertoire (+Index) + + + FOLLOWSYMLINKS + Suivre les liens symboliques (FollowSymLinks) + + + ALLOWOVERRIDE + Autoriser l'utilisation du .htaccess (AllowOverride) + + + ALLOWURLFOPEN + Autoriser l'accès aux fichiers distants (Allow_url_fopen) + + + DEFAULT + Valeur par défaut + + + M0064MB + 64 MB + + + M0128MB + 128 MB + + + M0256MB + 256 MB + + + M0512MB + 512 MB + + + M0768MB + 768 MB + + + M1024MB + 1024 MB + + + M2048MB + 2048 MB + + + M3072MB + 3072 MB + + + M4096MB + 4096 MB + + + M6144MB + 6144 MB + + + M8192MB + 80192 MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + Une heure + + + T120m + Deux heures + + + UNLIMITED + Illimité + + + S0020MB + 20 MB + + + S0030MB + 30 MB + + + S0040MB + 40 MB + + + S0050MB + 50 MB + + + S0075MB + 75 MB + + + S0100MB + 100 MB + + + S0125MB + 125 MB + + + S0150MB + 150 MB + + + S0175MB + 175 MB + + + S0200MB + 200 MB + + + S0300MB + 300 MB + + + S0400MB + 400 MB + + + S0500MB + 500 MB + + + S0600MB + 600 MB + + + S0700MB + 700 MB + + + S0800MB + 800 MB + + + S0900MB + 900 MB + + + S1000MB + 1 000 MB + + + S1250MB + 1 250 MB + + + S1500MB + 1 500 MB + + + S1750MB + 1 750 MB + + + S2000MB + 2 000 MB + + + MEMORYLIMIT + Limite de mémoire PHP (memory_limit) + + + UPLOADMAXFILESIZE + Taille maximale du fichier téléversé (upload_max_filesize) + + + POSTMAXSIZE + Taille maximale de la publication (post_max_size) + + + MAXEXECUTIONTIME + Temps maximal d’exécution du script (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + La taille maximale du fichier téléversé et plus grande que la taille maximale du formulaire de publication (« post ») + + + PHPBASEDIR + Entrez le(s) chemin(s) des scripts PHP (PHPBasedir) + + + DESC_PHPBASEDIR + Vous devez spécifier le chemin complet de la baie d'information ou supprimer le contenu pour revenir à la valeur par défaut + + + DESC_DAV_SETTINGS + Les paramètres suivant définissent le protocole de transfert des fichiers WebDav pour cette baie d'informations. + + + ENABLE_MOD_DAV + Autoriser WebDav + + + PHPVERSION + Sélectionnez la version php-fpm que vous souhaitez utiliser avec cette baie d'informations + + + FILEUPLOAD + Autoriser ou non les téléchargements de fichiers HTTP (file_upload) + + + MAXINPUTTIME + Temps maximum en secondes pendant lequel un script est autorisé à analyser les données d'entrée (max_input_time) + + + ALLOWPHTML + Autoriser l'analyse du code php dans les fichiers html, phtml, htm et xml. + + + MAILFORCESENDER + Forcer une adresse d'expéditeur de courrier électronique pour le script dans cette baie d'informations. + + + DISABLEDFUNCTIONS + Liste des fonctions php désactivées (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Laissez vide ou avec une chaîne aléatoire pour désactiver. Copiez et collez la liste par défaut suivante pour rétablir la valeur par défaut + + +
diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..a600d93 --- /dev/null +++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + שם מפרץ מידע + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + לא ניתן למצוא חשבון עבור {$name} (האם הוא קיים ?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + מפרצי מידע + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..3a958cf --- /dev/null +++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Adattár neve + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + A {$name} névhez nem található felhasználói fiók (létezik?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + A következő virtuális domének ezt az adattárat használták tartalomként, ezért ezek ezentúl az elsődleges webhelyet jelenítik meg (később ezek átállíthatók másra). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Adattárak + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..47336a3 --- /dev/null +++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Nama Information Bay + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Tidak ditemukan akun {$name} (apakah benar ada?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Virtual domain berikut ini menggunakan information bay ini sebagai konten dan akan diubah ke primary web (anda dapat mengubahnya kelak):

    {$vhostList}
]]>
+
+ + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Information bays + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..55a054e --- /dev/null +++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Gestione impostazioni Apache e PHP + + + ADD_TITLE + Modifica le impostazioni Apache e PHP. + + + NAME_FIELD_DESC + Questi parametri saranno efficaci solo se risulta abilitato l'accesso web alla I-bay specificata nel pannello di configurazione si Server-manager. + + + NAME_LABEL + Nome i-bay + + + NO_IBAYS + Non ci sono I-Bays attualmente configurate. + + + CANT_FIND_IBAY + Impossibile trovare l'account per {$name} (esiste?) + + + ERROR_WHILE_MODIFYING_IBAY + Si è verificato un errore modificando la I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + I-bay modificata con successo. + + + VIRTUAL_HOST_MESSAGE + I seguenti domini virtuali usavano questa i-bay e verranno redirezionati al sito web primario (sarà possibile modificarli in seguito). + + + VHOST_MESSAGE + I seguenti domini virtuali usavano questa i-bay e verranno redirezionati al sito web primario (sarà possibile modificarli in seguito):

    {$vhostList}
]]>
+
+ + Information bays + i-bay + + + DESC_HTTP_SETTINGS + Le impostazioni seguenti regolano l'accesso a questa I-bay usando i protocolli HTTP/HTTPS. + + + DESC_PHP_SETTINGS + Le impostazioni seguenti impostano i valori PHP per questa I-bay. + + + INDEXES + Permetti l'elencazione cartella (+Indexes) + + + FOLLOWSYMLINKS + Segui i link simbolici (FollowSymLinks) + + + ALLOWOVERRIDE + Policy di accesso .htaccess (AllowOverride) + + + ALLOWURLFOPEN + Consenti l'accesso ai file remoti (Allow_url_fopen) + + + DEFAULT + Valori di default + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 20MB + + + M3072MB + 30MB + + + M4096MB + 40MB + + + M6144MB + 64MB + + + M8192MB + 128MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + Un'ora + + + T120m + Due ore + + + UNLIMITED + Illimitato + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Limite memoria Php (memory_limit) + + + UPLOADMAXFILESIZE + Massima dimensione di caricamento (upload_max_filesize) + + + POSTMAXSIZE + Massimo post size (post_max_size) + + + MAXEXECUTIONTIME + Tempo massimo di esecuzione (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + La massima dimensione del file di upload è più grande del massimo post size form + + + PHPBASEDIR + Immettere il/i percorso/i per i PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + Specificare il percorso completo per la I-bay o svuotare il campo per ritornare ai valori di default + + + DESC_DAV_SETTINGS + Le impostazioni seguenti controllano il protocollo di trasferimento file WebDav di questa I-bay. + + + ENABLE_MOD_DAV + Permetti WebDav + + + PHPVERSION + Selezionare la versione di php-fpm che volete utilizzare con questa ibay + + + FILEUPLOAD + Consentire o meno l'upload di file attraverso HTTP (file_upload) + + + MAXINPUTTIME + Tempo massimo ammesso in secondi per esaminare i dati di input da parte di uno script (max_input_time) + + + ALLOWPHTML + Consentire l'esame di codice php all'interno di file html, phtml, htm e xml files. + + + MAILFORCESENDER + Forzare un indirizzo e-mail di spedizione per lo script in questa i-bay. + + + DISABLEDFUNCTIONS + Lista delle funzioni php disabilitate (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Lasciare vuoto o con una stringa casuale per disabilitare. Copiare ed incollare la lista di default seguente per ripristinare le impostazioni di default + + +
diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..23473e9 --- /dev/null +++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Information bay name + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Can't find account for {$name} (does it exist?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Information bays + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..4988ab0 --- /dev/null +++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Informasjonsgruppe navn + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Kan ikke finne en konto for {$name} (eksisterer det?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Følgende virituelle domener brukte denne informasjonsgruppens innhold, og de vil bli flyttet til hoved webstedet (du kan endre det til noe annet senere). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Informasjonsgrupper + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..52e01d8 --- /dev/null +++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +Informatie-Baai - Web Hosting + + + FIRSTPAGE_DESC + Beheer Apache en PHP instellingen + + + ADD_TITLE + Modificeer Apache en PHP Instellingen. + + + NAME_FIELD_DESC + Deze parameters zullen alleen effectief zijn als de toegang vanaf het web is toegestaan ​​voor de betrokken Informatie-baai in het Informatie-baaien paneel. + + + NAME_LABEL + Informatie-baai naam + + + NO_IBAYS + Er zijn momenteel geen informatie-baaien geconfigureerd. + + + CANT_FIND_IBAY + Kan geen account vinden voor {$name} (bestaat deze account?) + + + ERROR_WHILE_MODIFYING_IBAY + Er is een fout opgetreden bij het modificeren van de Informatie-baai. + + + SUCCESSFULLY_MODIFIED_IBAY + Informatie-baai met succes gewijzigd. + + + VIRTUAL_HOST_MESSAGE + De volgende virtuele domeinen gebruiken deze informatie-baai voor hun inhoud. Dit zal worden aangepast naar de primaire web site (u kunt dit achteraf aanpassen). + + + VHOST_MESSAGE + De volgende virtuele domeinen gebruikten deze informatie-baai voor hun inhoud, dit zal worden aangepast naar de primaire web site (dit kan achteraf worden aangepast):

    {$vhostList}
]]>
+
+ + Information bays + Informatie-baaien + + + DESC_HTTP_SETTINGS + De volgende instellingen bepalen de toegang tot deze informatie-baai via het HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + De volgende instelling zijn PHP configuraties voor deze Informatie-baai. + + + INDEXES + Bekijken van mappen toestaan (+Indexes) + + + FOLLOWSYMLINKS + Volg symbolische links (FollowSymLinks) + + + ALLOWOVERRIDE + Gebruik van .htaccess toestaan (AllowOverride) + + + ALLOWURLFOPEN + Gebruik van bestanden op afstand toestaan (Allow_url_fopen) + + + DEFAULT + Standaard instelling + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 20MB + + + M3072MB + 30MB + + + M4096MB + 40MB + + + M6144MB + 64MB + + + M8192MB + 128MB + + + T001m + 1 minuut + + + T002m + 2 minuten + + + T003m + 3 minuten + + + T004m + 4 minuten + + + T005m + 5 minuten + + + T006m + 6 minuten + + + T007m + 7 minuten + + + T008m + 8 minuten + + + T009m + 9 minuten + + + T010m + 10 minuten + + + T015m + 15 minuten + + + T030m + 30 minuten + + + T045m + 45 minuten + + + T060m + Een uur + + + T120m + Twee uur + + + UNLIMITED + Onbeperkt + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + PHP geheugen beperking (memory_limit) + + + UPLOADMAXFILESIZE + Maximale upload grootte (upload_max_filesize) + + + POSTMAXSIZE + Maximale bericht grootte (post_max_size) + + + MAXEXECUTIONTIME + Maximale uitvoerings tijd (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + De maximale upload bestandsgrootte is groter dan de maximale bericht grootte + + + PHPBASEDIR + Pad voor PHP bestanden (PHPBasedir) + + + DESC_PHPBASEDIR + U moet het volledige pad naar de Informatie-baai verwijderen of de inhoud verwijderen om terug te keren naar de standaard instellingen: /home/e-smith/files/ibays/ibay_name/:/new/path:/other/path + + + DESC_DAV_SETTINGS + De volgende instellingen bepalen de WebDAV bestand toegang voor deze informatie-baai. + + + ENABLE_MOD_DAV + WebDav toestaan + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..c25ba17 --- /dev/null +++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Nazwa magazynu + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Nie udało się znaleźć konta dla {$name}(czy istnieje?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Poniższe wirtualne domeny używały tego magazynu, jako głównego, który zostanie zmieniony do głównej witryny sieci Web (możesz zmienić go na inny w późniejszym czasie). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Magazyn danych + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..6fe0dde --- /dev/null +++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Contribuição de Hospedagem Web + + +webhosting +i-Bays - Hospedagem Web + + + FIRSTPAGE_DESC + Gerenciar configurações APACHE e PHP + + + ADD_TITLE + Modificar configurações APACHE e PHP + + + NAME_FIELD_DESC + Estes parâmetros serão efetivos somente se o acesso da web for permitido para este i-Bay no painel do i-Bay. + + + NAME_LABEL + Nome do i-Bay + + + NO_IBAYS + Não há nenhum I-BAY atualmente configurado. + + + CANT_FIND_IBAY + Incapaz de encontrar conta para {$name} (Existe?) + + + ERROR_WHILE_MODIFYING_IBAY + Ocorreu um erro enquanto modificando o i-Bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Alteração no i-Bay realizada com sucesso. + + + VIRTUAL_HOST_MESSAGE + Os seguinte domínios virtuais estavam usando este compartilhamento como seu conteúdo e serão mudados para o web site primário (você pode mudá-los para outro local mais tarde). + + + VHOST_MESSAGE + Os seguinte domínios virtuais estavam usando esta pasta como seu conteúdo e serão mudados para o web site primário (você pode mudá-los para outro local mais tarde):

    {$vhostList}
]]>
+
+ + Information bays + Compartilhamentos + + + DESC_HTTP_SETTINGS + As seguintes configurações controlam o acesso a este i-Bay usando o protocolo HTTP/HTTPS + + + DESC_PHP_SETTINGS + As seguintes configurações controlam os valores PHP deste i-Bay + + + INDEXES + Permite listagem do diretório (+Indexes) + + + FOLLOWSYMLINKS + Seguir links simbólicos (FollowSymLinks) + + + ALLOWOVERRIDE + Permitir políticas .htaccess (AllowOverride) + + + ALLOWURLFOPEN + Permitir acesso a arquivos remotos (Allow_url_fopen) + + + DEFAULT + Valor padrão + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 20MB + + + M3072MB + 30MB + + + M4096MB + 40MB + + + M6144MB + 64MB + + + M8192MB + 128MB + + + T001m + 1 minuto + + + T002m + 2 minutos + + + T003m + 3 minutos + + + T004m + 4 minutos + + + T005m + 5 minutos + + + T006m + 6 minutos + + + T007m + 7 minutos + + + T008m + 8 minutos + + + T009m + 9 minutos + + + T010m + 10 minutos + + + T015m + 15 minutos + + + T030m + 30 minutos + + + T045m + 45 minutos + + + T060m + Uma hora + + + T120m + Duas horas + + + UNLIMITED + Sem limite + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Limite de memória do PHP (memory_limit) + + + UPLOADMAXFILESIZE + Tamanho máximo de upload (upload_max_filesize) + + + POSTMAXSIZE + Tamanho máximo de POST (post_max_size) + + + MAXEXECUTIONTIME + Tempo máximo de execução (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + O tamanho máximo de upload de arquivo é maior que o tamanho máximo de POST + + + PHPBASEDIR + Digite o(s) caminho(s) para os Scripts de PHP (PHPBasedir) + + + DESC_PHPBASEDIR + Você deve especificar o caminho completo para o i-Bay ou remover o conteúdo existente para voltar para o valor padrão: /home/e-smith/files/ibays/ibay_name/:/new/path:/other/path + + + DESC_DAV_SETTINGS + As seguintes configurações controlam o protocolo de transferencia de arquivos WebDav deste i-Bay. + + + ENABLE_MOD_DAV + Permitir WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..361de2a --- /dev/null +++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Nome do compartilhamento + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Incapaz de encontrar conta para {$name} (isto não existe?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Os seguinte domínios virtuais estavam usando este compartilhamento como seu conteúdo e serão mudados para o web site primário (você pode mudá-los para outro local mais tarde). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Compartilhamentos + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..7260ce0 --- /dev/null +++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Information bay name + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Can't find account for {$name} (does it exist?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Următoarele domenii virtuale folosesc aceasta information bay pe post de continut și va fi modificată către cea primară (puteți modifica ulterior catre altceva) + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Information bays + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..9e19abb --- /dev/null +++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Название информационного блока + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Невозможно найти учётную запись {$name} (она существует?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Следующие виртуальные домены используют этот информационный блок, как их содержимое и будут изменены на основной веб-сайт (вы можете изменить их на что-то другое позже). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Информационные блоки + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..adf900f --- /dev/null +++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Ime informacijskega lista + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Ne najdem i-lista {$name} (ne obstaja?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Naslednje navidezne domene uporabljajo ta informacijski list za svojo vsebino in bodo preklopljene na primarno spletno stran (kasneje lahko to poljubno spreminjamo). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Informacijski listi + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..2731f44 --- /dev/null +++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + Namnet på information bay + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + Kan inte finna konto för {$name} (existerar detta?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Följande virtuella domäner använde denna information bay för deras innehåll och kommer därför att ändras till den primära webbplatsen (du kan ändra dem till någonting annat efteråt). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Information bay + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..4c999b1 --- /dev/null +++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + ชื่อ information bay + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + ไม่พบบัญชี {$name} (มันมีอยู่หรือไม่?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + โดเมนเสมือน (virtual domain) ที่ตั้งให้ใช้ information bay นี้เป็นที่เก็บข้อมูลของมัน จะถูกเปลี่ยนไปใช้ข้อมูลจาก primary web site แทน (คุณสามารถแก้ไขเป็นอย่างอื่นภายหลังได้) + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + Information bays + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..ee01d9f --- /dev/null +++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + Manage Apache and PHP settings + + + ADD_TITLE + Modify Apache and PHP Settings. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + i-bay (bilgi yuvası) adı + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + {$name} hesabı bulunamadı (mevcut mu kontrol edin) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + Bazı alan adları bu i-bay'ı kullanıyor, silindiğinde bunu kullanan alan adları birincil i-bay'a bağlanacaktır (daha sonra onları istediğiniz başka birine bağlayabilirsiniz). + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + i-bay (bilgi yuvaları) + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + Default value + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 2048MB + + + M3072MB + 3072MB + + + M4096MB + 4096MB + + + M6144MB + 6144MB + + + M8192MB + 80192MB + + + T001m + 1 minute + + + T002m + 2 minutes + + + T003m + 3 minutes + + + T004m + 4 minutes + + + T005m + 5 minutes + + + T006m + 6 minutes + + + T007m + 7 minutes + + + T008m + 8 minutes + + + T009m + 9 minutes + + + T010m + 10 minutes + + + T015m + 15 minutes + + + T030m + 30 minutes + + + T045m + 45 minutes + + + T060m + One hour + + + T120m + Two hours + + + UNLIMITED + Unlimited + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..bfe7f21 --- /dev/null +++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - Web Hosting + + + FIRSTPAGE_DESC + 管理 Apache 和 PHP 设置 + + + ADD_TITLE + 修改 Apache 和 PHP 设置. + + + NAME_FIELD_DESC + These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel. + + + NAME_LABEL + i-bay名称 + + + NO_IBAYS + There are no I-bays currently configured. + + + CANT_FIND_IBAY + 无法找到{$name}的账号(请确认其是否存在?) + + + ERROR_WHILE_MODIFYING_IBAY + An error occurred while modifying the I-bay. + + + SUCCESSFULLY_MODIFIED_IBAY + Successfully modified I-bay. + + + VIRTUAL_HOST_MESSAGE + 下面的虚拟域名将使用这个信息港作为其内容,它将被当做主web站点(可以稍后修改它们)。 + + + VHOST_MESSAGE + 下面的虚拟域将使用此信息港作为其内容,它将被当做主web站点(可以稍后修改它们):

    {$vhostList}
]]>
+
+ + Information bays + 信息港 + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + 默认值 + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 20MB + + + M3072MB + 30MB + + + M4096MB + 40MB + + + M6144MB + 64MB + + + M8192MB + 128MB + + + T001m + 1 分钟 + + + T002m + 2 分钟 + + + T003m + 3 分钟 + + + T004m + 4 分钟 + + + T005m + 5 分钟 + + + T006m + 6 分钟 + + + T007m + 7 分钟 + + + T008m + 8 分钟 + + + T009m + 9 分钟 + + + T010m + 10 分钟 + + + T015m + 15 分钟 + + + T030m + 30 分钟 + + + T045m + 45 分钟 + + + T060m + 一小时 + + + T120m + 两小时 + + + UNLIMITED + 不限 + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + Allow WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..e47434c --- /dev/null +++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/webhosting @@ -0,0 +1,343 @@ + + + FORM_TITLE + Web Hosting Contrib + + +webhosting +I-bays - 虛擬主機 + + + FIRSTPAGE_DESC + 管理Apache與PHP設定 + + + ADD_TITLE + 修改Apache與PHP設定。 + + + NAME_FIELD_DESC + 只有來自位於訊息匯集告示控制台相關I-bay允許的雲端主機存取參數才有效。 + + + NAME_LABEL + 訊息匯集告示名稱 + + + NO_IBAYS + 當下無I-bay設定。 + + + CANT_FIND_IBAY + 無法找到{$name}的帳號(是否存在?) + + + ERROR_WHILE_MODIFYING_IBAY + 修正I-bay時發生錯誤。 + + + SUCCESSFULLY_MODIFIED_IBAY + 成功修正I-bay。 + + + VIRTUAL_HOST_MESSAGE + 接下來的虛擬網域將使用此訊息作為其內容,並將被更改成主要的網站(您後續可以將其更改為其他內容)。 + + + VHOST_MESSAGE + The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
]]>
+
+ + Information bays + 訊息匯集告示 + + + DESC_HTTP_SETTINGS + The following settings control the access of this I-bay using the HTTP/HTTPS protocol. + + + DESC_PHP_SETTINGS + The following settings control the PHP values of this I-bay. + + + INDEXES + Allow directory listing (+Indexes) + + + FOLLOWSYMLINKS + Follow symbolic links (FollowSymLinks) + + + ALLOWOVERRIDE + Allow .htaccess policy (AllowOverride) + + + ALLOWURLFOPEN + Allow access to remote files (Allow_url_fopen) + + + DEFAULT + 預設值 + + + M0064MB + 64MB + + + M0128MB + 128MB + + + M0256MB + 256MB + + + M0512MB + 512MB + + + M0768MB + 768MB + + + M1024MB + 1024MB + + + M2048MB + 20MB + + + M3072MB + 30MB + + + M4096MB + 40MB + + + M6144MB + 64MB + + + M8192MB + 128MB + + + T001m + 1分鐘 + + + T002m + 2分鐘 + + + T003m + 3分鐘 + + + T004m + 4分鐘 + + + T005m + 5分鐘 + + + T006m + 6分鐘 + + + T007m + 7分鐘 + + + T008m + 8分鐘 + + + T009m + 9分鐘 + + + T010m + 10分鐘 + + + T015m + 15分鐘 + + + T030m + 30分鐘 + + + T045m + 45分鐘 + + + T060m + 1小時 + + + T120m + 2小時 + + + UNLIMITED + 無限 + + + S0020MB + 20MB + + + S0030MB + 30MB + + + S0040MB + 40MB + + + S0050MB + 50MB + + + S0075MB + 75MB + + + S0100MB + 100MB + + + S0125MB + 125MB + + + S0150MB + 150MB + + + S0175MB + 175MB + + + S0200MB + 200MB + + + S0300MB + 300MB + + + S0400MB + 400MB + + + S0500MB + 500MB + + + S0600MB + 600MB + + + S0700MB + 700MB + + + S0800MB + 800MB + + + S0900MB + 900MB + + + S1000MB + 1000MB + + + S1250MB + 1250MB + + + S1500MB + 1500MB + + + S1750MB + 1750MB + + + S2000MB + 2000MB + + + MEMORYLIMIT + Php memory limit (memory_limit) + + + UPLOADMAXFILESIZE + Maximum upload size (upload_max_filesize) + + + POSTMAXSIZE + Maximum post size (post_max_size) + + + MAXEXECUTIONTIME + Maximum execution time (max_execution_time) + + + UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE + The maximum upload file size is greater than the maximum post size form + + + PHPBASEDIR + Enter Path(s) for PHP Scripts (PHPBasedir) + + + DESC_PHPBASEDIR + You must specify the full path to the I-bay or remove the content to get back to default value + + + DESC_DAV_SETTINGS + The following settings control the WebDav files transfer protocol of this I-bay. + + + ENABLE_MOD_DAV + 允許WebDav + + + PHPVERSION + Select the php-fpm version you want to use with this I-bay + + + FILEUPLOAD + Whether or not to allow HTTP file uploads (file_upload) + + + MAXINPUTTIME + Maximum time in seconds a script is allowed to parse input data (max_input_time) + + + ALLOWPHTML + Allow parsing php code inside html, phtml, htm and xml files. + + + MAILFORCESENDER + Force an email sender address for the script in this I-bay. + + + DISABLEDFUNCTIONS + List of php disabled functions (disable_functions) + + + DESC_DISABLEDFUNCTIONS + Leave empty or with a random string to disable. Copy and paste the following default list to reset to default + + +
diff --git a/root/etc/e-smith/web/functions/webhosting b/root/etc/e-smith/web/functions/webhosting new file mode 100644 index 0000000..a6ad363 --- /dev/null +++ b/root/etc/e-smith/web/functions/webhosting @@ -0,0 +1,194 @@ +#!/usr/bin/perl -wT + +# vim: ft=xml ts=4 sw=4 et: +#---------------------------------------------------------------------- +# heading : Collaboration +# description : webhosting +# navigation : 2000 2500 +# +# Copyright (c) 2001 Mitel Networks Corporation +# 2014 stephane de Labrusse +# 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 +# +# Technical support for this program is available from e-smith, inc. +# Please visit our web site www.e-smith.com for details. +#---------------------------------------------------------------------- + +use strict; +use esmith::FormMagick::Panel::webhosting; + +my $fm = esmith::FormMagick::Panel::webhosting->new(); +$fm->display(); + +=pod + +=head1 NAME + +webhosting -- manage php and apache settings + +=head2 DESCRIPTION + +This screen allows the administrator to manage information bays. + +=begin testing + +use esmith::FormMagick::Tester; +use esmith::TestUtils; +use esmith::TestUtils; +use esmith::ConfigDB; +use esmith::AccountsDB; + +my $panel = $Original_File; +my $ua = esmith::FormMagick::Tester->new(); + +my $c = esmith::ConfigDB->open(); +my $a = esmith::AccountsDB->open(); + +is (mode($panel), '4750', "Check permissions on script"); +ok ($ua->get_panel($panel), "ABOUT TO RUN L10N TESTS"); +is ($ua->{status}, 200, "200 OK"); +#like($ua->{content}, qr/FORM_TITLE/, "Saw untranslated form title"); +ok ($ua->set_language("en"), "Set language to English"); +ok ($ua->get_panel($panel), "Get panel"); +is ($ua->{status}, 200, "200 OK"); +like($ua->{content}, qr/Information bays/, "Saw translated form title"); + +ok ($ua->get_panel($panel), "ABOUT TO TEST CREATING IBAY"); +ok ($ua->follow("Click here"), "Follow 'create ibay' link"); +is ($ua->{status}, 200, "200 OK"); +like($ua->{content}, qr/Create a new information bay/, "Saw page title"); +like($ua->{content}, qr/Brief description/, "Saw description field"); +like($ua->{content}, qr/Group/, "Saw group field"); +like($ua->{content}, qr/User access via file/, "Saw user access field"); +like($ua->{content}, qr/Public access via/, "Saw Public access field"); +like($ua->{content}, qr/Add/, "Saw add button"); + +SKIP: { + + skip 10, "Unsafe!" unless destruction_ok(); + + ok ($ua->follow("Click here"), "ACTUALLY ADDING A NETWORK"); + $ua->field(); + $ua->click("Add"); + like($ua->{content}, qr/Successfully added ibay/, "Saw success message"); + + ok ($ua->follow("Remove"), "REMOVING NETWORK"); + like($ua->{content}, qr/Are you sure/, "Saw confirmation message"); + $ua->click("Remove"); + like($ua->{content}, qr/Successfully deleted/, "Saw success message"); + +} + + +=cut + +__DATA__ +
+ + FIRSTPAGE_DESC + + + + + ADD_TITLE + + + + + + + + + + + + + + DESC_DAV_SETTINGS + + + + + + + + DESC_PHP_SETTINGS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/webhosting.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/webhosting.pm new file mode 100644 index 0000000..fa9be6e --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/webhosting.pm @@ -0,0 +1,562 @@ +#!/usr/bin/perl -w + +# +# $Id: ibays.pm,v 1.8 2005/09/06 05:49:52 apc Exp $ +# + +package esmith::FormMagick::Panel::webhosting; + +use strict; + +use esmith::FormMagick; +use esmith::AccountsDB; +use esmith::ConfigDB; +use esmith::DomainsDB; +use esmith::cgi; +use esmith::util; +use File::Basename; +use Exporter; +use Carp; +use esmith::php; + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw( + print_ibay_table + print_ibay_name_field + print_vhost_message + max_ibay_name_length + handle_ibays + print_save_or_add_button + wherenext + validate_up_post +); + +our $VERSION = sprintf '%d.%03d', q$Revision: 1.9 $ =~ /: (\d+).(\d+)/; + +our $accountdb = esmith::AccountsDB->open(); +our $configdb = esmith::ConfigDB->open(); + +#TODO those 3 variables should be exported from esmith::php +our $defaultdisabledfunc='system,show_source,' . + 'symlink,exec,dl,shell_exec,' . + 'passthru,phpinfo,' . + 'escapeshellarg,escapeshellcmd'; +our $BASEPHP = 54; +our %defaultproperties = ( + MemoryLimit => '128M', + MaxExecutionTime => '30', + MaxInputTime => '60', + AllowUrlFopen => 'disabled', + PostMaxSize => '20M', + UploadMaxFilesize => '10M', + FileUpload => 'enabled', + PHPBaseDir => '/home/e-smith/files/ibays/$key:/var/lib/php/$key', + DisabledFunctions => $defaultdisabledfunc, + MailForceSender => "admin@".$configdb->get_value('DomainName'), + AllowPHTML => 'disabled', + + ModDav => "disabled", + AllowOverride => "None", + FollowSymLinks => "disabled", + Indexes => "enabled", + ); + + +# those are ok to be defined here and not in core. +our %sizehash = ('20M' => 'S0020MB', '30M' => 'S0030MB', '40M' => 'S0040MB', '50M' => 'S0050MB', + '75M' => 'S0075MB', '100M' => 'S0100MB', '125M' => 'S0125MB', '150M' => 'S0150MB', '175M' => 'S0175MB', + '200M' => 'S0200MB', '300M' => 'S0300MB','400M' => 'S0400MB', '500M' => 'S0500MB', '600M' => 'S0600MB', + '700M' => 'S0700MB', '800M' => 'S0800MB', '900M' => 'S0900MB', '1000M' => 'S1000MB', '1250M' => 'S1250MB', + '1500M' => 'S1500MB', '1750M' => 'S1750MB', '1999M' => 'S2000MB'); +our %binary = ('disabled' => 'DISABLED', 'enabled' => 'ENABLED'); +our %timehash = ( '60' => 'T001m', '120' => 'T002m', '180' => 'T003m', '240' => 'T004m', '300' => 'T005m', + '360' => 'T006m', '420' => 'T007m', '480' => 'T008m', '540' => 'T009m', '600' => 'T010m', '900' => 'T015m', + '1800' => 'T030m', '2700' => 'T045m', '3600' => 'T060m', '7200' => 'T120m', '0' => 'UNLIMITED'); +our %optionsproperties =( + MemoryLimit => {'64M' => 'M0064MB', '128M' => 'M0128MB', + '256M' => 'M0256MB', '512M' => 'M0512MB', '768M' => 'M0768MB','1024M' => 'M1024MB' ,'2048M' => 'M2048MB','3072M' => 'M3072MB','4096M' => 'M4096MB','61444M' => 'M6144MB','8192M' => 'M8192MB'}, + MaxExecutionTime => {%timehash}, + MaxInputTime => {%timehash}, + AllowUrlFopen => {%binary}, + PostMaxSize => {%sizehash}, + UploadMaxFilesize => {%sizehash}, + FileUpload => {%binary}, + DisabledFunctions => $defaultdisabledfunc, + AllowPHTML => {%binary}, + + ModDav => {%binary}, + AllowOverride => { None =>'None' , + All => 'All', + AuthConfig => 'AuthConfig', + FileInfo => 'FileInfo', + Indexes => 'Indexes', + Limit => 'Limit', + 'FileInfo Indexes' => 'FileInfo Indexes', + }, + FollowSymLinks => {%binary}, + Indexes => {%binary}, +); + +=pod + +=head1 NAME + +esmith::FormMagick::Panels::ibays - useful panel functions + +=head1 SYNOPSIS + + use esmith::FormMagick::Panels::ibays; + + my $panel = esmith::FormMagick::Panel::ibays->new(); + $panel->display(); + +=head1 DESCRIPTION + +=head2 new(); + +Exactly as for esmith::FormMagick + +=begin testing + +$ENV{ESMITH_ACCOUNT_DB} = "10e-smith-base/accounts.conf"; +$ENV{ESMITH_CONFIG_DB} = "10e-smith-base/configuration.conf"; +$ENV{ESMITH_DOMAINS_DB} = "10e-smith-base/domains.conf"; + +use_ok('esmith::FormMagick::Panel::ibays'); +use vars qw($panel); +ok($panel = esmith::FormMagick::Panel::ibays->new(), + "Create panel object"); +isa_ok($panel, 'esmith::FormMagick::Panel::ibays'); + +{ package esmith::FormMagick::Panel::ibays; + our $accountdb; + ::isa_ok($accountdb, 'esmith::AccountsDB'); +} + +=end testing + +=cut + +sub new +{ + my $proto = shift; + my $class = ref($proto) || $proto; + my $self = esmith::FormMagick::new($class); + $self->{calling_package} = (caller)[0]; + + return $self; +} + +=head1 HTML GENERATION ROUTINES + +Routines for generating chunks of HTML needed by the panel. + +=head1 ROUTINES FOR FILLING IN FIELDS + +=head2 print_ibay_table + +Prints out the ibay table on the front page. + +=for testing +my $self = esmith::FormMagick::Panel::ibays->new(); +$self->{cgi} = CGI->new(""); +can_ok('main', 'print_ibay_table'); +$self->print_ibay_table(); +like($_STDOUT_, qr/NAME/, "Found NAME header in table output"); +#like($_STDOUT_, qr/testibay/, "Found test ibay in user table output"); +#like($_STDOUT_, qr/ff0000/, "Found red 'reset password' output"); + +=cut + +sub print_ibay_table { + my $self = shift; + my $q = $self->{cgi}; + my $name = $self->localise('NAME'); + my $description = $self->localise('DESCRIPTION'); + my $modify = $self->localise('MODIFY'); + my $action_h = $self->localise('ACTION'); + + my @ibays = $accountdb->ibays(); + + unless ( scalar @ibays ) + { + print $q->Tr($q->td($self->localise('NO_IBAYS'))); + return ""; + } + + print $q->start_table({-CLASS => "sme-border"}),"\n"; + print $q->Tr ( + esmith::cgi::genSmallCell($q, $name,"header"), + esmith::cgi::genSmallCell($q, $description,"header"), + esmith::cgi::genSmallCell($q, $action_h,"header", 3)),"\n"; + my $scriptname = basename($0); + + foreach my $i (@ibays) + { + my $ibayname = $i->key(); + my $ibaydesc = $i->prop('Name'); + + my $modifiable = $i->prop('Modifiable') || 'yes'; + + + my $params = $self->build_ibay_cgi_params($ibayname, $i->props()); + + + my $href = "$scriptname?$params&action=modify&wherenext="; + + my $actionModify = ' '; + if ($modifiable eq 'yes') + { + $actionModify .= $q->a({href => "${href}CreateModify"},$modify) + . ' '; + } + + + print $q->Tr ( + esmith::cgi::genSmallCell($q, $ibayname,"normal"), + esmith::cgi::genSmallCell($q, $ibaydesc,"normal"), + esmith::cgi::genSmallCell($q, $actionModify,"normal")); + } + + print $q->end_table,"\n"; + + return ""; +} + +sub build_ibay_cgi_params { + my ($self, $ibayname, %oldprops) = @_; + + #$oldprops{'description'} = $oldprops{Name}; + #delete $oldprops{Name}; + + my %props = ( + page => 0, + page_stack => "", + #".id" => $self->{cgi}->param('.id') || "", + name => $ibayname, + #%oldprops + ); + + return $self->props_to_query_string(\%props); +} + +*wherenext = \&CGI::FormMagick::wherenext; +sub print_ibay_name_field { + my $self = shift; + my $in = $self->{cgi}->param('name') || ''; + my $action = $self->{cgi}->param('action') || ''; + my $maxLength = $configdb->get('maxIbayNameLength')->value; + print qq() . $self->localise('NAME_FIELD_DESC', + {maxLength => $maxLength}) . qq(); + print qq() . + $self->localise('NAME_LABEL') . qq(\n); + if ($action eq 'modify' and $in) { + print qq( + $in + + + + ); + + # Read the values for each field from the accounts db and store + # them in the cgi object so our form will have the correct + # info displayed. + my $q = $self->{cgi}; + my $rec = $accountdb->get($in); + if ($rec) + { + $q->param(-name=>'description',-value=> + $rec->prop('Name')); # yes we keep this one simple + $q->param(-name=>'indexes',-value=> + (get_current_value($self,'Indexes'))); + $q->param(-name=>'followSymLinks',-value=> + (get_current_value($self,'FollowSymLinks'))); + $q->param(-name=>'allowOverride',-value=> + (get_current_value($self,'AllowOverride'))); + $q->param(-name=>'allowUrlFopen',-value=> + (get_current_value($self,'AllowUrlFopen'))); + $q->param(-name=>'memorylimit',-value=> + (get_current_value($self,'MemoryLimit'))); + $q->param(-name=>'uploadmaxfilesize',-value=> + (get_current_value($self,'UploadMaxFilesize'))); + $q->param(-name=>'postmaxsize',-value=> + (get_current_value($self,'PostMaxSize'))); + $q->param(-name=>'maxexecutiontime',-value=> + (get_current_value($self,'MaxExecutionTime'))); + $q->param(-name=>'maxinputtime',-value=> + (get_current_value($self,'MaxInputTime'))); + $q->param(-name=>'fileupload',-value=> + (get_current_value($self,'FileUpload'))); + $q->param(-name=>'allowphtml',-value=> + (get_current_value($self,'AllowPHTML'))); + $q->param(-name=>'mailforcesender',-value=> + ($rec->prop('MailForceSender'))); # yes we keep this one simple + my $df = ($rec->prop('DisabledFunctions'))? $rec->prop('DisabledFunctions') : $defaultdisabledfunc; + $q->param(-name=>'disabledfunctions',-value=> + ($df)); # yes we want todo this one this way. + $q->param(-name=>'phpbasedir',-value=> + ($rec->prop('PHPBaseDir'))); # yes we keep this one simple + $q->param(-name=>'modDav',-value=> + (get_current_value($self,'ModDav'))); + # we set phpversion using function called by cgi file + } + } else { + print qq( + + + + ); + } + + print qq(\n); + return undef; + +} + + +=pod + +=head2 print_vhost_message() + +Prints a warning message that vhosts whose content is this ibay will be +modified to point to primary site. + +=for testing +$panel->{cgi} = CGI->new(); +$panel->{cgi}->param(-name=>'name', -value=>'bar'); +is($panel->print_vhost_message(), undef, 'print_vhost_message'); + +=cut + +sub print_vhost_message { + my $self = shift; + my $q = $self->{cgi}; + my $name = $q->param('name'); + + my $domaindb = esmith::DomainsDB->open(); + my @domains = $domaindb->get_all_by_prop(Content => $name); + my $vhostListItems = join "\n", + (map ($q->li($_->key." ".$_->prop('Description')), + @domains)); + if ($vhostListItems) + { + print $self->localise('VHOST_MESSAGE', {vhostList => $vhostListItems}); + } + return undef; +} + +=head1 THE ROUTINES THAT ACTUALLY DO THE WORK + +=for testing +can_ok('main', 'handle_ibays'); + +=cut + +sub handle_ibays { + my ($self) = @_; + + + if ($self->cgi->param("action") eq "create") { + $self->create_ibay(); + } else { + $self->modify_ibay(); + } +} + +=head2 print_save_or_add_button() +=cut + +sub print_save_or_add_button { + my ($self) = @_; + + my $action = $self->cgi->param("action") || ''; + if ($action eq "modify") { + $self->print_button("SAVE"); + } else { + $self->print_button("ADD"); + } + +} + + +sub modify_ibay { + my ($self) = @_; + my $name = $self->cgi->param('name'); + if (my $acct = $accountdb->get($name)) { + if ($acct->prop('type') eq 'ibay') { + + my %doing=( Indexes => 'indexes', + FollowSymLinks => 'followSymLinks', + AllowOverride => 'allowOverride', + ModDav => 'modDav', + PHPVersion => 'PHPVersion', + AllowUrlFopen => 'allowUrlFopen', + MemoryLimit => 'memorylimit', + FileUpload => 'fileupload', + UploadMaxFilesize => 'uploadmaxfilesize', + PostMaxSize => 'postmaxsize', + MaxExecutionTime => 'maxexecutiontime', + MaxInputTime => 'maxinputtime', + AllowPHTML => 'allowphtml', + MailForceSender => 'mailforcesender', + DisabledFunctions => 'disabledfunctions', + PHPBaseDir => 'phpbasedir', + ); + foreach my $prop (keys %doing) { + my $value = $self->cgi->param($doing{$prop}); + $value = "" if ( $value eq "$BASEPHP" && $prop eq 'PHPVersion'); + my $default = $defaultproperties{$prop} || ""; + # exceptions to handle + # DisabledFunctions if equal def delprop + if ($prop eq 'DisabledFunctions' && $value eq $default) { + $acct->delete_prop($prop) ; + next; + } + # MailForceSender if empty delprop + if ($prop eq 'MailForceSender' && $value eq "" ) { + $acct->delete_prop($prop) ; + next + } + # PHPBaseDir if empty delprop + if ($prop eq 'PHPBaseDir' && $value eq "" ) { + $acct->delete_prop($prop) ; + next + } + # others if == default delprop + if ($value eq "default") { + $acct->delete_prop($prop) ; + next; + } + $acct->merge_props($prop => $value); + #TODO store them in a hash and call merge_props once + } + + # Untaint $name before use in system() + $name =~ /(.+)/; $name = $1; + if (system ("/sbin/e-smith/signal-event", "webhosting-modify", + $name) == 0) + { + $self->success("SUCCESSFULLY_MODIFIED_IBAY"); + } else { + $self->error("ERROR_WHILE_MODIFYING_IBAY"); + } + } else { + $self->error('CANT_FIND_IBAY'); + } + } else { + $self->error('CANT_FIND_IBAY'); + } +} + + +=head2 validate_up_post + +verify that the upload_max_filesize value is not greater than the post_max_size value. If yes then display an error message. + +=cut +sub validate_up_post{ + my $self = shift; + my $upmaxfilesize = $self->cgi->param('uploadmaxfilesize'); + my $postmaxsizeform = $self->cgi->param('postmaxsize'); +##set value to "0M" if disabled in order to compare uploadmaxfilesize and postmaxsize + $upmaxfilesize = "0M" if $upmaxfilesize eq 'disabled'; + $upmaxfilesize = $defaultproperties{'UploadMaxFilesize'} if $upmaxfilesize eq 'default'; + $postmaxsizeform = "0M" if $postmaxsizeform eq 'disabled'; + $postmaxsizeform =$defaultproperties{'PostMaxSize'} if $postmaxsizeform eq 'default'; +##remove the 'M' unit + my $upmaxfilesizechop = chop($upmaxfilesize); + my $postmaxsizeformchop = chop($postmaxsizeform); +##test the condition + if ( $upmaxfilesize > $postmaxsizeform ) + { + return $self->localise('UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE'); + } + else + { + return "OK"; + } +} + +=head2 get_current_php_value + +=cut +sub get_current_php_value{ + my ($self) = @_; + my $name = $self->cgi->param('name'); + my $ibay= $accountdb->get($name); + return "default" unless defined $ibay->prop('PHPVersion'); + return VersionToUse($accountdb->get($name)); +} + + +=head2 get_current_php_value + +=cut +sub get_php_options{ + my ($self) = @_; + my $translate = $self->localise('DEFAULT'); + my %options= listPHPVersionHash(); + $options{"default"}="$translate: ".PHPdefault(); + return \%options; +} + +=head2 get_current_value ($self, $property) + + +=cut +sub get_current_value{ + my ($self, $property) = @_; + my $name = $self->cgi->param('name'); + my $ibay = $accountdb->get($name); + my $key = $ibay->key; + my $default = $defaultproperties{$property} || ""; + $default =~ s/\$key/$key/g if $property eq "PHPBaseDir"; + my $value = ($ibay->prop($property))? $ibay->prop($property) : "default" ; + return $value; + +} + +sub print_options{ + my ($self, $property) = @_; + my $translate = $self->localise('DEFAULT'); + my $name = $self->cgi->param('name'); + my $ibay = $accountdb->get($name); + my $key = $ibay->key; + my $default = $defaultproperties{$property} || ""; + $default =~ s/\$key/$key/g if $property eq "PHPBaseDir"; + my %opts=%{$optionsproperties{$property}}; + $default=$self->localise(uc($default)) unless ($property eq 'AllowOverride'); + $opts{"default"} = "$translate: ".$default; + return \%opts + +} + +sub print_disabledfunctions{ + my ($self) = @_; + my $translate = $self->localise('DESC_DISABLEDFUNCTIONS'); + my $name = $self->cgi->param('name'); + my $ibay= $accountdb->get($name); + return "$translate : ". $defaultdisabledfunc ; + + +} + +sub print_phpbasedir{ + my ($self) = @_; + my $translate = $self->localise('DESC_PHPBASEDIR'); + my $name = $self->cgi->param('name'); + my $ibay= $accountdb->get($name); + my $key = $ibay->key; + my $default = $defaultproperties{'PHPBaseDir'} ||''; + $default =~ s/\$key/$key/g; + my $basedir = ($ibay->prop('PHPBaseDir')) ? $ibay->prop('PHPBaseDir') : $defaultproperties{'PHPBaseDir'}; + return "$translate : ". $default ; + + +} + + +1; + + diff --git a/root/usr/share/smanager/lib/SrvMngr/Controller/Webhosting.pm b/root/usr/share/smanager/lib/SrvMngr/Controller/Webhosting.pm new file mode 100644 index 0000000..975ad35 --- /dev/null +++ b/root/usr/share/smanager/lib/SrvMngr/Controller/Webhosting.pm @@ -0,0 +1,407 @@ +package SrvMngr::Controller::Webhosting; + +#---------------------------------------------------------------------- +# heading : Network +# description : Webhosting +# navigation : 6000 150 +# +# name : webhosting, method : get, url : /webhosting, ctlact : webhosting#main +# name : webhostingu, method : post, url : /webhosting, ctlact : webhosting#do_action +# name : webhostingr, method : get, url : /webhosting2, ctlact : webhosting#do_display +# +# routes : end +#---------------------------------------------------------------------- +use strict; +use warnings; +use Mojo::Base 'Mojolicious::Controller'; + +use Locale::gettext; +use SrvMngr::I18N; +use SrvMngr qw( theme_list init_session is_normal_password ); + +use esmith::AccountsDB; +use esmith::ConfigDB; +use esmith::DomainsDB; +use esmith::php; + +our $adb = esmith::AccountsDB->open() || die "Couldn't open accounts db"; +our $cdb = esmith::ConfigDB->open() || die "Couldn't open config db"; + +#TODO those 3 variables should be exported from esmith::php +our $defaultdisabledfunc='system,show_source,' . + 'symlink,exec,dl,shell_exec,' . + 'passthru,phpinfo,' . + 'escapeshellarg,escapeshellcmd'; + +our $BASEPHP = 54; + +our %defaultproperties = ( + MemoryLimit => '128M', + MaxExecutionTime => '30', + MaxInputTime => '60', + AllowUrlFopen => 'disabled', + PostMaxSize => '20M', + UploadMaxFilesize => '10M', + FileUpload => 'enabled', + PHPBaseDir => '/home/e-smith/files/ibays/$key:/var/lib/php/$key', + DisabledFunctions => $defaultdisabledfunc, + MailForceSender => "admin@".$cdb->get_value('DomainName'), + AllowPHTML => 'disabled', + + ModDav => "disabled", + AllowOverride => "None", + FollowSymLinks => "disabled", + Indexes => "enabled", + ); + +# those are ok to be defined here and not in core. +our %sizehash = ('20M' => 'S0020MB', '30M' => 'S0030MB', '40M' => 'S0040MB', '50M' => 'S0050MB', + '75M' => 'S0075MB', '100M' => 'S0100MB', '125M' => 'S0125MB', '150M' => 'S0150MB', '175M' => 'S0175MB', + '200M' => 'S0200MB', '300M' => 'S0300MB','400M' => 'S0400MB', '500M' => 'S0500MB', '600M' => 'S0600MB', + '700M' => 'S0700MB', '800M' => 'S0800MB', '900M' => 'S0900MB', '1000M' => 'S1000MB', '1250M' => 'S1250MB', + '1500M' => 'S1500MB', '1750M' => 'S1750MB', '1999M' => 'S2000MB'); + +our %binary = ('disabled' => 'DISABLED', 'enabled' => 'ENABLED'); + +our %timehash = ( '60' => 'T001m', '120' => 'T002m', '180' => 'T003m', '240' => 'T004m', '300' => 'T005m', + '360' => 'T006m', '420' => 'T007m', '480' => 'T008m', '540' => 'T009m', '600' => 'T010m', '900' => 'T015m', + '1800' => 'T030m', '2700' => 'T045m', '3600' => 'T060m', '7200' => 'T120m', '0' => 'UNLIMITED'); + +our %optionsproperties =( + MemoryLimit => {'64M' => 'M0064MB', '128M' => 'M0128MB', + '256M' => 'M0256MB', '512M' => 'M0512MB', '768M' => 'M0768MB','1024M' => 'M1024MB' ,'2048M' => 'M2048MB','3072M' => 'M3072MB','4096M' => 'M4096MB','61444M' => 'M6144MB','8192M' => 'M8192MB'}, + MaxExecutionTime => {%timehash}, + MaxInputTime => {%timehash}, + AllowUrlFopen => {%binary}, + PostMaxSize => {%sizehash}, + UploadMaxFilesize => {%sizehash}, + FileUpload => {%binary}, + DisabledFunctions => $defaultdisabledfunc, + AllowPHTML => {%binary}, + ModDav => {%binary}, + AllowOverride => { None =>'None' , + All => 'All', + AuthConfig => 'AuthConfig', + FileInfo => 'FileInfo', + Indexes => 'Indexes', + Limit => 'Limit', + 'FileInfo Indexes' => 'FileInfo Indexes', + }, + FollowSymLinks => {%binary}, + Indexes => {%binary}, +); + +sub main { + + my $c = shift; + $c->app->log->info($c->log_req); + + my %wh_datas = (); + my $title = $c->l('wh_FORM_TITLE'); + + $wh_datas{'trt'} = 'LIST'; + + my @ibays = $adb->ibays(); + + $c->stash( title => $title, wh_datas => \%wh_datas, ibays => \@ibays ); + $c->render(template => 'webhosting'); + +}; + + +sub do_display { + + my $c = shift; + $c->app->log->info($c->log_req); + + my $rt = $c->current_route; + my $trt = ($c->param('trt') || ''); + my $ibay = $c->param('ibay') || ''; + + my %wh_datas = (); + my $title = $c->l('wh_FORM_TITLE'); + my $modul = ''; + + $wh_datas{'trt'} = $trt; + + if ( $trt eq 'UPD' ) { + + my $rec = $adb->get($ibay); + if ($rec and $rec->prop('type') eq 'ibay') { + $wh_datas{ibay} = $ibay; + $wh_datas{description} = $rec->prop('Name'); + $wh_datas{indexes} = get_current_value($c, $ibay, 'Indexes'); + $wh_datas{followsymLinks} = get_current_value($c, $ibay, 'FollowSymLinks'); + $wh_datas{allowoverride} = get_current_value($c, $ibay, 'AllowOverride'); + $wh_datas{allowurlfopen} = get_current_value($c, $ibay, 'AllowUrlFopen'); + $wh_datas{memorylimit} = get_current_value($c, $ibay, 'MemoryLimit'); + $wh_datas{uploadmaxfilesize} = get_current_value($c, $ibay, 'UploadMaxFilesize'); + $wh_datas{postmaxsize} = get_current_value($c, $ibay, 'PostMaxSize'); + $wh_datas{maxexecutiontime} = get_current_value($c, $ibay, 'MaxExecutionTime'); + $wh_datas{maxinputtime} = get_current_value($c, $ibay, 'MaxInputTime'); + $wh_datas{fileupload} = get_current_value($c, $ibay, 'FileUpload'); + $wh_datas{allowphtml} = get_current_value($c, $ibay, 'AllowPHTML'); + $wh_datas{mailforcesender} = $rec->prop('MailForceSender'); + my $df = ($rec->prop('DisabledFunctions'))? $rec->prop('DisabledFunctions') : $defaultdisabledfunc; + $wh_datas{disabledfunctions} = $df; # yes we want todo this one this way. + $wh_datas{phpbasedir} = $rec->prop('PHPBaseDir'); # yes we keep this one simple + $wh_datas{moddav} = get_current_value($c, $ibay, 'ModDav'); + $wh_datas{phpversion} = get_current_php_value($c, $ibay, 'PHPVersion'); + # we set phpversion using function called by cgi file + } + + } + + if ( $trt eq 'LIST' ) { + my @ibays = $adb->ibays(); + $c->stash( ibays => \@ibays ); + } + + $c->stash( title => $title, modul => $modul, wh_datas => \%wh_datas ); + $c->render( template => 'webhosting' ); + +}; + + +sub do_action { + + my $c = shift; + $c->app->log->info($c->log_req); + + my $rt = $c->current_route; + my $trt = ($c->param('trt') || ''); + + my %wh_datas = (); + my $title = $c->l('wh_FORM_TITLE'); + + $wh_datas{'trt'} = $trt; + + my $result = ''; + my $res; + + + if ( $trt eq 'UPD' ) { + + my $name = ($c->param('ibay') || ''); + + # controls + $res = validate_up_post( $c ); + $result .= $res unless $res eq 'OK'; + + if ( ! $result ) { + $res = modify_ibay( $c, $name ); + $result .= $res unless $res eq 'OK'; + if ( ! $result ) { + $result = $c->l('wh_SUCCESSFULLY_MODIFIED_IBAY') . ' ' . $name; + $wh_datas{trt} = 'LST'; + } + } + } + + + # common parts + + if ($res ne 'OK') { + $c->stash( error => $result ); + $c->stash( title => $title, wh_datas => \%wh_datas ); + return $c->render('webhosting'); + } + + my $message = "'Ibays' updates ($trt) DONE"; + $c->app->log->info($message); + $c->flash( success => $result ); + + $c->redirect_to('/webhosting'); +}; + + +sub modify_ibay { + + my ($c, $name) = @_; + + my $msg; + my $acct = $adb->get($name); + if ( ! $acct or $acct->prop('type') ne 'ibay') { + return $c->l('wh_CANT_FIND_IBAY') if $msg ne 'OK'; + } + + # real & current ibay + my %doing=( Indexes => 'indexes', + FollowSymLinks => 'followSymLinks', + AllowOverride => 'allowOverride', + ModDav => 'modDav', + PHPVersion => 'phpVersion', + AllowUrlFopen => 'allowUrlFopen', + MemoryLimit => 'memorylimit', + FileUpload => 'fileupload', + UploadMaxFilesize => 'uploadmaxfilesize', + PostMaxSize => 'postmaxsize', + MaxExecutionTime => 'maxexecutiontime', + MaxInputTime => 'maxinputtime', + AllowPHTML => 'allowphtml', + MailForceSender => 'mailforcesender', + DisabledFunctions => 'disabledfunctions', + PHPBaseDir => 'phpbasedir', + ); + foreach my $prop (keys %doing) { + my $value = $c->param($doing{$prop}); + $value = "" if ( $value eq "$BASEPHP" && $prop eq 'PHPVersion'); + my $default = $defaultproperties{$prop} || ""; + # exceptions to handle + # DisabledFunctions if equal def delprop + if ($prop eq 'DisabledFunctions' && $value eq $default) { + $acct->delete_prop($prop) ; + next; + } + # MailForceSender if empty delprop + if ($prop eq 'MailForceSender' && $value eq "" ) { + $acct->delete_prop($prop) ; + next + } + # PHPBaseDir if empty delprop + if ($prop eq 'PHPBaseDir' && $value eq "" ) { + $acct->delete_prop($prop) ; + next + } + # others if == default delprop + if ($value eq "default") { + $acct->delete_prop($prop) ; + next; + } + $acct->merge_props($prop => $value); + #TODO store them in a hash and call merge_props once + } + + # Untaint $name before use in system() + $name =~ /(.+)/; $name = $1; + if (system ("/sbin/e-smith/signal-event", "webhosting-modify", + $name) == 0) + { + $msg = 'OK'; + } else { + $msg = $c->l('wh_ERROR_WHILE_MODIFYING_IBAY'); + } + + return $msg; + +} + + +sub get_current_value{ + my ($c, $name, $property) = @_; + my $ibay = $adb->get($name); + my $key = $ibay->key; + my $default = $defaultproperties{$property} || ""; + $default =~ s/\$key/$key/g if $property eq "PHPBaseDir"; + my $value = ($ibay->prop($property))? $ibay->prop($property) : "default" ; + return $value; + +} + + +=head2 validate_up_post + +verify that the upload_max_filesize value is not greater than the post_max_size value. If yes then display an error message. + +=cut + +sub validate_up_post{ + + my $c = shift; + my $upmaxfilesize = $c->param('uploadmaxfilesize'); + my $postmaxsizeform = $c->param('postmaxsize'); +##set value to "0M" if disabled in order to compare uploadmaxfilesize and postmaxsize + $upmaxfilesize = "0M" if $upmaxfilesize eq 'disabled'; + $upmaxfilesize = $defaultproperties{'UploadMaxFilesize'} if $upmaxfilesize eq 'default'; + $postmaxsizeform = "0M" if $postmaxsizeform eq 'disabled'; + $postmaxsizeform =$defaultproperties{'PostMaxSize'} if $postmaxsizeform eq 'default'; +##remove the 'M' unit + my $upmaxfilesizechop = chop($upmaxfilesize); + my $postmaxsizeformchop = chop($postmaxsizeform); +##test the condition + if ( $upmaxfilesize > $postmaxsizeform ) { + return $c->l('wh_UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE'); + } else { + return "OK"; + } +} + + +sub get_current_php_value { + + my ($c, $name) = @_; + my $ibay= $adb->get($name); + return "default" unless defined $ibay->prop('PHPVersion'); + return VersionToUse($adb->get($name)); + +} + + +sub get_php_options { + + my ($c) = @_; + my $translate = $c->l('wh_DEFAULT'); + my %opts= listPHPVersionHash(); + # transform options list + my @opts = [ "$translate: ".PHPdefault(), 'default' ]; + foreach my $key ( sort keys %opts ) { + push @opts, [ $opts{$key}, $key ]; + } +# push @opts, [ "$translate: ".PHPdefault(), 'default' ]; + + return \@opts; + +} + + +sub print_options { + + my ($c, $property) = @_; + + my $translate = $c->l('wh_DEFAULT'); + my $name = $c->param('ibay'); + my $ibay = $adb->get($name); + my $key = $ibay->key; + my $default = $defaultproperties{$property} || ""; + $default =~ s/\$key/$key/g if $property eq "PHPBaseDir"; + $default=$c->l(uc("$default")) unless ($property eq 'AllowOverride'); + + # transform options list + my @opts; + foreach my $key ( sort keys %{$optionsproperties{$property}} ) { + push @opts, [ $c->l($optionsproperties{$property}{$key}), $key ]; + } + push @opts, ["$translate: ".$default => 'default']; + + return \@opts + +} + + +sub print_disabledfunctions { + + my ($c) = @_; + my $translate = $c->l('wh_DESC_DISABLEDFUNCTIONS'); + my $name = $c->param('ibay'); + my $ibay= $adb->get($name); # ?? + return "$translate : ". $defaultdisabledfunc ; + +} + + +sub print_phpbasedir { + + my ($c) = @_; + my $translate = $c->l('wh_DESC_PHPBASEDIR'); + my $name = $c->param('ibay'); + my $ibay= $adb->get($name); + my $key = $ibay->key; + my $default = $defaultproperties{'PHPBaseDir'} ||''; + $default =~ s/\$key/$key/g; + my $basedir = ($ibay->prop('PHPBaseDir')) ? $ibay->prop('PHPBaseDir') : $defaultproperties{'PHPBaseDir'}; + return "$translate : ". $default ; + +} + + +1 diff --git a/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Webhosting/webhosting_en.lex b/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Webhosting/webhosting_en.lex new file mode 100644 index 0000000..67d8678 --- /dev/null +++ b/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Webhosting/webhosting_en.lex @@ -0,0 +1,85 @@ +'wh_FORM_TITLE' => 'Web Hosting Contrib', +'wh_webhosting' => 'I-bays - Web Hosting', +'wh_FIRSTPAGE_DESC' => 'Manage Apache and PHP settings', +'wh_ADD_TITLE' => 'Modify Apache and PHP Settings.', +'wh_NAME_FIELD_DESC' => 'These parameters will be effective only if the access from the web is allowed for the concerned I-bay in the informations bays panel.', +'wh_NAME_LABEL' => 'Information bay name', +'wh_NO_IBAYS' => 'There are no I-bays currently configured.', +'wh_CANT_FIND_IBAY' => 'Can\'t find account for {$name} (does it exist?)', +'wh_ERROR_WHILE_MODIFYING_IBAY' => 'An error occurred while modifying the I-bay.', +'wh_SUCCESSFULLY_MODIFIED_IBAY' => 'Successfully modified I-bay.', +'wh_VIRTUAL_HOST_MESSAGE' => 'The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward).', +'wh_VHOST_MESSAGE' => '

The following virtual domains were using this information bay as their content and will be changed to the primary web site (you can change them to something else afterward):

    {$vhostList}
', +'wh_Information bays' => 'Information bays', +'wh_DESC_HTTP_SETTINGS' => 'The following settings control the access of this I-bay using the HTTP/HTTPS protocol.', +'wh_DESC_PHP_SETTINGS' => 'The following settings control the PHP values of this I-bay.', +'wh_INDEXES' => 'Allow directory listing (+Indexes)', +'wh_FOLLOWSYMLINKS' => 'Follow symbolic links (FollowSymLinks)', +'wh_ALLOWOVERRIDE' => 'Allow .htaccess policy (AllowOverride)', +'wh_ALLOWURLFOPEN' => 'Allow access to remote files (Allow_url_fopen)', +'wh_DEFAULT' => 'Default value', +'M0064MB' => '64MB', +'M0128MB' => '128MB', +'M0256MB' => '256MB', +'M0512MB' => '512MB', +'M0768MB' => '768MB', +'M1024MB' => '1024MB', +'M2048MB' => '2048MB', +'M3072MB' => '3072MB', +'M4096MB' => '4096MB', +'M6144MB' => '6144MB', +'M8192MB' => '8192MB', +'T001m' => '1 minute', +'T002m' => '2 minutes', +'T003m' => '3 minutes', +'T004m' => '4 minutes', +'T005m' => '5 minutes', +'T006m' => '6 minutes', +'T007m' => '7 minutes', +'T008m' => '8 minutes', +'T009m' => '9 minutes', +'T010m' => '10 minutes', +'T015m' => '15 minutes ', +'T030m' => '30 minutes', +'T045m' => '45 minutes', +'T060m' => 'One hour', +'T120m' => 'Two hours', +'wh_UNLIMITED' => 'Unlimited', +'S0020MB' => '20MB', +'S0030MB' => '30MB', +'S0040MB' => '40MB', +'S0050MB' => '50MB', +'S0075MB' => '75MB', +'S0100MB' => '100MB', +'S0125MB' => '125MB', +'S0150MB' => '150MB', +'S0175MB' => '175MB', +'S0200MB' => '200MB', +'S0300MB' => '300MB', +'S0400MB' => '400MB', +'S0500MB' => '500MB', +'S0600MB' => '600MB', +'S0700MB' => '700MB', +'S0800MB' => '800MB', +'S0900MB' => '900MB', +'S1000MB' => '1000MB', +'S1250MB' => '1250MB', +'S1500MB' => '1500MB ', +'S1750MB' => '1750MB', +'S2000MB' => '2000MB', +'wh_MEMORYLIMIT' => 'Php memory limit (memory_limit)', +'wh_UPLOADMAXFILESIZE' => 'Maximum upload size (upload_max_filesize)', +'wh_POSTMAXSIZE' => 'Maximum post size (post_max_size)', +'wh_MAXEXECUTIONTIME' => 'Maximum execution time (max_execution_time)', +'wh_UPLOADMAXFILESIZE_IS_GREATER_THAN_POSTMAXSIZE' => ' The maximum upload file size is greater than the maximum post size form ', +'wh_PHPBASEDIR' => 'Enter Path(s) for PHP Scripts (PHPBasedir) ', +'wh_DESC_PHPBASEDIR' => 'You must specify the full path to the I-bay or remove the content to get back to default value ', +'wh_DESC_DAV_SETTINGS' => 'The following settings control the WebDav files transfer protocol of this I-bay.', +'wh_ENABLE_MOD_DAV' => 'Allow WebDav', +'wh_PHPVERSION' => 'Select the php-fpm version you want to use with this I-bay', +'wh_FILEUPLOAD' => 'Whether or not to allow HTTP file uploads (file_upload)', +'wh_MAXINPUTTIME' => 'Maximum time in seconds a script is allowed to parse input data (max_input_time)', +'wh_ALLOWPHTML' => 'Allow parsing php code inside html, phtml, htm and xml files.', +'wh_MAILFORCESENDER' => 'Force an email sender address for the script in this I-bay.', +'wh_DISABLEDFUNCTIONS' => 'List of php disabled functions (disable_functions)', +'wh_DESC_DISABLEDFUNCTIONS' => 'Leave empty or with a random string to disable. Copy and paste the following default list to reset to default', diff --git a/root/usr/share/smanager/themes/default/templates/partials/_wh_list.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_wh_list.html.ep new file mode 100644 index 0000000..20e2337 --- /dev/null +++ b/root/usr/share/smanager/themes/default/templates/partials/_wh_list.html.ep @@ -0,0 +1,46 @@ +
+ +

+ %=l 'wh_FIRSTPAGE_DESC' +

+

+ + % my $numIbays = @$ibays; + % if ($numIbays == 0){ + %=l 'wh_NO_IBAYS' + % } else { + + + + + + + + % foreach my $ibay (@$ibays) + % { + % my $modifiable = $ibay->prop('Modifiable') || 'yes'; + + %= t td => (class => 'sme-border') => $ibay->key + %= t td => (class => 'sme-border') => $ibay->prop('Name') + % my $actionModify = ' '; + % if ($modifiable eq 'yes') { + % $actionModify = "" . l('MODIFY') . ""; + % } + + + + % } + +
+ %=l 'NAME' + + %=l 'DESCRIPTION' + + %=l 'ACTION' +
<%= $c->render_to_string(inline => $actionModify) %>
+ + <%} %> + + %= hidden_field 'trt' => $wh_datas->{trt} + +
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_wh_upd.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_wh_upd.html.ep new file mode 100644 index 0000000..031ce8d --- /dev/null +++ b/root/usr/share/smanager/themes/default/templates/partials/_wh_upd.html.ep @@ -0,0 +1,149 @@ +
+ + %= form_for '/webhosting' => (method => 'POST') => begin +

+

+ %=l 'wh_ADD_TITLE' +

+
+ %=l 'wh_NAME_FIELD_DESC' +

+ +

+ + %=l 'wh_NAME_LABEL', class => 'label' + + %= $wh_datas->{ibay}, class => 'data' + +

+ +

+ %=l 'wh_INDEXES' + + % param 'indexes' => $wh_datas->{indexes} unless param 'indexes'; + %= select_field 'indexes' => $c->print_options('Indexes'), class => 'input' +

+ +

+ %=l 'wh_FOLLOWSYMLINKS' + + % param 'followSymLinks' => $wh_datas->{followsymLinks} unless param 'followSymLinks'; + %= select_field 'followSymLinks' => $c->print_options('FollowSymLinks'), class => 'input' +

+ +

+ %=l 'wh_ALLOWOVERRIDE' + + % param 'allowOverride' => $wh_datas->{allowoverride} unless param 'allowOverride'; + %= select_field 'allowOverride' => $c->print_options('AllowOverride'), class => 'input' +

+ +

<%=l 'wh_DESC_DAV_SETTINGS', class => 'label'%>

+ +

+ %=l 'wh_ENABLE_MOD_DAV' + + % param 'modDav' => $wh_datas->{moddav} unless param 'modDav'; + %= select_field 'modDav' => $c->print_options('ModDav'), class => 'input' +

+ +

<%=l 'wh_DESC_PHP_SETTINGS', class => 'label'%>

+ +

+ %=l 'wh_PHPVERSION' + + % param 'phpVersion' => $wh_datas->{phpversion} unless param 'phpVersion'; + %= select_field 'phpVersion' => $c->get_php_options(), class => 'input' +

+ +

+ %=l 'wh_ALLOWURLFOPEN' + + % param 'allowUrlFopen' => $wh_datas->{allowurlfopen} unless param 'allowUrlFopen'; + %= select_field 'allowUrlFopen' => $c->print_options('AllowUrlFopen'), class => 'input' +

+ +

+ %=l 'wh_MEMORYLIMIT' + + % param 'memorylimit' => $wh_datas->{memorylimit} unless param 'memorylimit'; + %= select_field 'memorylimit' => $c->print_options('MemoryLimit'), class => 'input' +

+ +

+ %=l 'wh_FILEUPLOAD' + + % param 'fileupload' => $wh_datas->{fileupload} unless param 'fileupload'; + %= select_field 'fileupload' => $c->print_options('FileUpload'), class => 'input' +

+ +

+ %=l 'wh_UPLOADMAXFILESIZE' + + % param 'uploadmaxfilesize' => $wh_datas->{uploadmaxfilesize} unless param 'uploadmaxfilesize'; + %= select_field 'uploadmaxfilesize' => $c->print_options('UploadMaxFilesize'), class => 'input' +

+ +

+ %=l 'wh_POSTMAXSIZE' + + % param 'postmaxsize' => $wh_datas->{postmaxsize} unless param 'postmaxsize'; + %= select_field 'postmaxsize' => $c->print_options('PostMaxSize'), class => 'input' +

+ +

+ %=l 'wh_MAXEXECUTIONTIME' + + % param 'maxexecutiontime' => $wh_datas->{maxexecutiontime} unless param 'maxexecutiontime'; + %= select_field 'maxexecutiontime' => $c->print_options('MaxExecutionTime'), class => 'input' +

+ +

+ %=l 'wh_MAXINPUTTIME' + + % param 'maxinputtime' => $wh_datas->{maxinputtime} unless param 'maxinputtime'; + %= select_field 'maxinputtime' => $c->print_options('MaxInputTime'), class => 'input' +

+ +

+ %=l 'wh_ALLOWPHTML' + + % param 'allowphtml' => $wh_datas->{allowphtml} unless param 'allowphtml'; + %= select_field 'allowphtml' => $c->print_options('AllowPHTML'), class => 'input' +

+ +

+ %=l 'wh_MAILFORCESENDER' + + % param 'mailforcesender' => $wh_datas->{mailforcesender} unless param 'mailforcesender'; + %=text_field 'mailforcesender' => size => '60', class => 'input' +

+ +

+ %=l 'wh_DISABLEDFUNCTIONS' + + % param 'disabledfunctions' => $wh_datas->{disabledfunctions} unless param 'disabledfunctions'; + %=text_field 'disabledfunctions' => size => '60', class => 'input' +

+ +

<%= $c->print_disabledfunctions() %>

+ +

+ %=l 'wh_PHPBASEDIR' + + % param 'phpbasedir' => $wh_datas->{phpbasedir} unless param 'phpbasedir'; + %=text_field 'phpbasedir' => size => '60', class => 'input' +

+ +

<%= $c->print_phpbasedir() %>

+ +
+ %= submit_button l('SAVE'), class => 'action' +
+ + %= hidden_field 'trt' => $wh_datas->{trt} + %= hidden_field 'ibay' => $wh_datas->{ibay} + + % end + +
diff --git a/root/usr/share/smanager/themes/default/templates/webhosting.html.ep b/root/usr/share/smanager/themes/default/templates/webhosting.html.ep new file mode 100644 index 0000000..36268fc --- /dev/null +++ b/root/usr/share/smanager/themes/default/templates/webhosting.html.ep @@ -0,0 +1,33 @@ +% layout 'default', title => "Sme server 2 - webhosting"; + +% content_for 'module' => begin +
+ + % if ($config->{debug} == 1) { +

+ %= dumper $c->current_route + %= dumper $wh_datas +

+ % } + + % if ( stash 'error' ) { +
+ %= $c->render_to_string(inline => stash 'error') +
+ %} + +

<%= $title%>

+ + % if ( stash 'modul' ) { + %= $c->render_to_string(inline => stash 'modul' ); + % } + + % if ($wh_datas->{trt} eq 'UPD') { + %= include 'partials/_wh_upd' + %} else { + %= include 'partials/_wh_list' + %} + +
+%end + diff --git a/smeserver-webhosting.spec b/smeserver-webhosting.spec new file mode 100644 index 0000000..7ff9caa --- /dev/null +++ b/smeserver-webhosting.spec @@ -0,0 +1,135 @@ +%define name smeserver-webhosting +%define version 0.0.9 +%define release 20 + +Name: %{name} +Version: %{version} +Release: %{release}%{?dist} +Summary: allow to change php/apache settings to ibays, only yet for sme9 + +Group: SMEserver/addon +License: GNU GPL version 2 +URL: http://www.contribs.org +Source: %{name}-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-buildroot +BuildArchitectures: noarch +BuildRequires: e-smith-devtools +Requires: e-smith-release >= 10.0 +Requires: smeserver-mod_dav +Requires: smeserver-php >= 3.0.0-40 +AutoReqProv: no + +%description +allow to change php/apache settings to ibays, only yet for sme9 + +%prep +%setup + +%build +perl createlinks + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +echo "%doc COPYING" >> %{name}-%{version}-filelist + +%clean +cd .. +rm -rf %{name}-%{version} + +%pre +%preun +%post + +if (systemctl list-unit-files |grep smanager) then + echo "Smanager restart in spec file" + /sbin/e-smith/signal-event smanager-refresh; +fi + +%postun + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) + +%changelog +* Sat Sep 07 2024 cvs2git.sh aka Brian Read 0.0.9-20.sme +- Roll up patches and move to git repo [SME: 12338] + +* Sat Sep 07 2024 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Fri Sep 06 2024 Terry Fage 0.0.9-19.sme +- apply locale 2024-09-06.patch + +* Fri Mar 01 2024 Brian Read 0.0.9-18.sme +- Edit Menu entry to conform to new arrangements [SME: 12493] + +* Fri Nov 10 2023 Jean-Philippe Pialasse 0.0.9-17.sme +- add more memory limit options [SME: 12429] + +* Fri Nov 11 2022 Jean-Philippe Pialasse 0.0.9-16.sme +- apply locale 2022-11-11 patch + +* Sun Dec 19 2021 Brian Read 0.0.9-15.sme +- Add extra class attribute to SM2 panel html [SME: 11811] + +* Thu Dec 02 2021 Michel Begye 0.0.9-14.sme +- Fix MaxExecutionTime not saved [SME: 11786] +- Integrate webhosting with smeserver-manager (manager2) [SME: 11787] + +* Fri Sep 24 2021 John Crisp 0.0.9-13.sme +- Fix capitalisation errors in furlopen [SME: 11697] +- Bump required e-smith release version +- Buno required smeserver-php version + +* Wed Aug 25 2021 Terry Fage 0.0.9-12.sme +- apply locale 2021-08-25 patch + +* Tue Mar 16 2021 Jean-Philippe Pialasse 0.0.9-11.sme +- require smeserver-php >= 3.0.0-31 [SME: 11077] + +* Sat Mar 13 2021 Jean-Philippe Pialasse 0.0.9-10.sme +- SME10 welcome package [SME: 11077] + added update event + use of default properties value, remove them from db + possibility to select php version per ibay + added few more php options + display real default value to admin. + +* Fri Oct 30 2020 Brian Read 0.0.9-8.sme +- Intial import to SEM10 tree [SME: 11077] + +* Sat Dec 02 2017 SME Translation Server 0.0.9-7.sme +- apply locale 2017-12-02 patch + +* Sat Mar 25 2017 Jean-Philippe Pialasse 0.0.9-6.sme +- apply locale 2017-03-26 patch + +* Wed Feb 01 2017 Jean-Philippe Pialasse 0.0.9-5.sme +- apply locale 2017-02-02.patch + +* Wed Mar 09 2016 JP Pialasse 0.0.9-4.sme +- apply locale 2016-03-09 patch + +* Sat Sep 12 2015 stephane de Labrusse 0.0.9-3.sme +- Added smeserver-webhosting-0.0.9-locale-2015-09-12.patch + +* Fri Aug 21 2015 stephane de Labrusse 0.0.9-2.sme +- Initial release to contribs9 + +* Wed Jun 18 2014 Stephane de Labrusse -0.0.9-1.sme +- added a box larger for writing the phpbasedir + +* Mon Jun 16 2014 Stephane de Labrusse -0.0.8-1.sme +- add german translation, thanks to Rudolf Vielnascher +- add french translation, thanks to me :) + +* Fri Jun 13 2014 Stephane de Labrusse -0.0.6-1.sme +- Add mod dav in dependency with an option enabled/disabled + +* Sun Jun 01 2014 Stephane de Labrusse -0.01-1 +- Initial Release +