7
/userinfo.php does not contain a closing php tag.
}
include XOOPS_ROOT_PATH . '/footer.php';
Many files have their include for mainfile replaced from
include 'mainfile.php';
to
include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php';
What is the point for having this? To me it seems not a progress for readability nor for efficiency and it makes XOOPS dependent to external vars, which aren't set always right. Also the standard gpl header Quote:
https://xoops.org/> // // ------------------------------------------------------------------------ // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // // the Free Software Foundation; either version 2 of the License, or // // (at your option) any later version. // // // // You may not change or alter any portion of this comment or credits // // of supporting developers from this source code or any supporting // // source code which is considered copyrighted (c) material of the // // original comment or credit authors. // // // // 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 // // ------------------------------------------------------------------------ //
is been replaced by Quote:
Seems not entirly according to the
guidelines for me. Did not yet test with 2.4, but in 2.3.3 there is an error when automatic converting hostnames to links. You mention eg
http://www.myhost.com and without url tags it becomes a link anyway. When you mention the site at the end of a sentence as in Have a look at
http://www.mysite.com. then the full stop (point) is taken also in the link, which makes the link unreachable. Probably a bad regexp.