diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php
index 6ae1889aa..2ad94ef30 100644
--- a/classes/context/Context.class.php
+++ b/classes/context/Context.class.php
@@ -200,9 +200,16 @@ class Context
*/
function init()
{
- if(!isset($GLOBALS['HTTP_RAW_POST_DATA']) && version_compare(PHP_VERSION, '5.6.0', '>=') === true) {
- if(simplexml_load_string(file_get_contents("php://input")) !== false) $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents("php://input");
- if(strpos($_SERVER['CONTENT_TYPE'], 'json') || strpos($_SERVER['HTTP_CONTENT_TYPE'], 'json')) $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents("php://input");
+ // fix missing HTTP_RAW_POST_DATA in PHP 5.6 and above
+ if(!isset($GLOBALS['HTTP_RAW_POST_DATA']) && version_compare(PHP_VERSION, '5.6.0', '>=') === TRUE)
+ {
+ $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents("php://input");
+
+ // If content is not XML JSON, unset
+ if(!preg_match('/^[\<\{\[]/', $GLOBALS['HTTP_RAW_POST_DATA']) && strpos($_SERVER['CONTENT_TYPE'], 'json') === FALSE && strpos($_SERVER['HTTP_CONTENT_TYPE'], 'json') === FALSE)
+ {
+ unset($GLOBALS['HTTP_RAW_POST_DATA']);
+ }
}
// set context variables in $GLOBALS (to use in display handler)
diff --git a/classes/db/DB.class.php b/classes/db/DB.class.php
index 317ee19e1..338e6d14d 100644
--- a/classes/db/DB.class.php
+++ b/classes/db/DB.class.php
@@ -1089,7 +1089,7 @@ class DB
* this method is protected
* @return boolean
*/
- function _begin()
+ function _begin($transactionLevel = 0)
{
return TRUE;
}
@@ -1117,7 +1117,7 @@ class DB
* this method is protected
* @return boolean
*/
- function _rollback()
+ function _rollback($transactionLevel = 0)
{
return TRUE;
}
diff --git a/classes/db/DBCubrid.class.php b/classes/db/DBCubrid.class.php
index fc977d81a..546495d53 100644
--- a/classes/db/DBCubrid.class.php
+++ b/classes/db/DBCubrid.class.php
@@ -144,7 +144,7 @@ class DBCubrid extends DB
* this method is private
* @return boolean
*/
- function _begin($transactionLevel)
+ function _begin($transactionLevel = 0)
{
if(__CUBRID_VERSION__ >= '8.4.0')
{
@@ -167,7 +167,7 @@ class DBCubrid extends DB
* this method is private
* @return boolean
*/
- function _rollback($transactionLevel)
+ function _rollback($transactionLevel = 0)
{
$connection = $this->_getConnection('master');
diff --git a/classes/db/DBMssql.class.php b/classes/db/DBMssql.class.php
index 32adb251c..10a59b985 100644
--- a/classes/db/DBMssql.class.php
+++ b/classes/db/DBMssql.class.php
@@ -113,7 +113,7 @@ class DBMssql extends DB
* this method is private
* @return boolean
*/
- function _begin($transactionLevel)
+ function _begin($transactionLevel = 0)
{
$connection = $this->_getConnection('master');
@@ -136,7 +136,7 @@ class DBMssql extends DB
* this method is private
* @return boolean
*/
- function _rollback($transactionLevel)
+ function _rollback($transactionLevel = 0)
{
$connection = $this->_getConnection('master');
diff --git a/classes/db/DBMysql.class.php b/classes/db/DBMysql.class.php
index 2e9bf606c..545b1310a 100644
--- a/classes/db/DBMysql.class.php
+++ b/classes/db/DBMysql.class.php
@@ -147,7 +147,7 @@ class DBMysql extends DB
* this method is private
* @return boolean
*/
- function _begin()
+ function _begin($transactionLevel = 0)
{
return true;
}
@@ -157,7 +157,7 @@ class DBMysql extends DB
* this method is private
* @return boolean
*/
- function _rollback()
+ function _rollback($transactionLevel = 0)
{
return true;
}
diff --git a/classes/db/DBMysql_innodb.class.php b/classes/db/DBMysql_innodb.class.php
index affa59aab..e19bcffe5 100644
--- a/classes/db/DBMysql_innodb.class.php
+++ b/classes/db/DBMysql_innodb.class.php
@@ -51,7 +51,7 @@ class DBMysql_innodb extends DBMysql
* this method is private
* @return boolean
*/
- function _begin($transactionLevel)
+ function _begin($transactionLevel = 0)
{
$connection = $this->_getConnection('master');
@@ -71,7 +71,7 @@ class DBMysql_innodb extends DBMysql
* this method is private
* @return boolean
*/
- function _rollback($transactionLevel)
+ function _rollback($transactionLevel = 0)
{
$connection = $this->_getConnection('master');
diff --git a/classes/db/DBMysqli_innodb.class.php b/classes/db/DBMysqli_innodb.class.php
index 55422b61f..cfc9d23c1 100644
--- a/classes/db/DBMysqli_innodb.class.php
+++ b/classes/db/DBMysqli_innodb.class.php
@@ -85,7 +85,7 @@ class DBMysqli_innodb extends DBMysql
* this method is private
* @return boolean
*/
- function _begin($transactionLevel)
+ function _begin($transactionLevel = 0)
{
$connection = $this->_getConnection('master');
@@ -105,7 +105,7 @@ class DBMysqli_innodb extends DBMysql
* this method is private
* @return boolean
*/
- function _rollback($transactionLevel)
+ function _rollback($transactionLevel = 0)
{
$connection = $this->_getConnection('master');
diff --git a/classes/module/ModuleObject.class.php b/classes/module/ModuleObject.class.php
index 9485a74c4..37fffc7c6 100644
--- a/classes/module/ModuleObject.class.php
+++ b/classes/module/ModuleObject.class.php
@@ -86,7 +86,7 @@ class ModuleObject extends Object
* @param string $type type of message (error, info, update)
* @return void
* */
- function setMessage($message, $type = NULL)
+ function setMessage($message = 'success', $type = NULL)
{
parent::setMessage($message);
$this->setMessageType($type);
@@ -370,7 +370,7 @@ class ModuleObject extends Object
* set the directory path of the layout directory
* @return string
* */
- function getLayoutPath()
+ function getLayoutPath($layout_name = "", $layout_type = "P")
{
return $this->layout_path;
}
diff --git a/classes/object/Object.class.php b/classes/object/Object.class.php
index ed5a76bcf..9dfea8f4f 100644
--- a/classes/object/Object.class.php
+++ b/classes/object/Object.class.php
@@ -94,7 +94,7 @@ class Object
* @param string $message Error message
* @return bool Alaways returns true.
*/
- function setMessage($message = 'success')
+ function setMessage($message = 'success', $type = NULL)
{
if($str = Context::getLang($message))
{
diff --git a/classes/security/Purifier.class.php b/classes/security/Purifier.class.php
index e5df25397..c437ca059 100644
--- a/classes/security/Purifier.class.php
+++ b/classes/security/Purifier.class.php
@@ -142,28 +142,16 @@ class Purifier
private function _getWhiteDomainRegx()
{
- require_once(_XE_PATH_ . 'classes/security/EmbedFilter.class.php');
$oEmbedFilter = EmbedFilter::getInstance();
$whiteIframeUrlList = $oEmbedFilter->getWhiteIframeUrlList();
- $whiteDomainRegex = '%^(';
- $whiteDomainCount = count($whiteIframeUrlList);
-
- $i=1;
- if(is_array($whiteIframeUrlList))
+ $whiteDomain = array();
+ foreach($whiteIframeUrlList as $value)
{
- foreach($whiteIframeUrlList as $value)
- {
- $whiteDomainRegex .= $value;
-
- if($i < $whiteDomainCount)
- {
- $whiteDomainRegex .= '|';
- }
- $i++;
- }
+ $whiteDomain[] = preg_quote($value, '%');
}
- $whiteDomainRegex .= ')%';
+
+ $whiteDomainRegex = '%^(' . implode('|', $whiteDomain) . ')%';
return $whiteDomainRegex;
}
diff --git a/config/func.inc.php b/config/func.inc.php
index 2477458f5..9486177ac 100644
--- a/config/func.inc.php
+++ b/config/func.inc.php
@@ -1200,7 +1200,7 @@ function removeSrcHack($match)
continue;
}
- $val = preg_replace('/(?:x([a-fA-F0-9]+)|0*(\d+));/e', 'chr("\\1"?0x00\\1:\\2+0)', $m[3][$idx] . $m[4][$idx]);
+ $val = preg_replace_callback('/(?:x([a-fA-F0-9]+)|0*(\d+));/', function($n) {return chr($n[1] ? ('0x00' . $n[1]) : ($n[2] + 0)); }, $m[3][$idx] . $m[4][$idx]);
$val = preg_replace('/^\s+|[\t\n\r]+/', '', $val);
if(preg_match('/^[a-z]+script:/i', $val))
diff --git a/libs/phpmailer/phpmailer.php b/libs/phpmailer/phpmailer.php
index c36f7c9d8..9ac3ffde5 100644
--- a/libs/phpmailer/phpmailer.php
+++ b/libs/phpmailer/phpmailer.php
@@ -1724,10 +1724,10 @@ class PHPMailer {
switch (strtolower($position)) {
case 'phrase':
- $encoded = preg_replace("/([^A-Za-z0-9!*+\/ -])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
+ $encoded = preg_replace_callback('/([^A-Za-z0-9!*+\/ -])/', function($n) { return '='.sprintf('%02X', ord('\\1')); }, $encoded);
break;
case 'comment':
- $encoded = preg_replace("/([\(\)\"])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
+ $encoded = preg_replace_callback('/([\(\)\"])/', function($n) { return '='.sprintf('%02X', ord('\\1')); }, $encoded);
case 'text':
default:
// Replace every high ascii, control =, ? and _ characters
diff --git a/modules/addon/tpl/addon_list.html b/modules/addon/tpl/addon_list.html
index 018fedb5e..7ce073955 100644
--- a/modules/addon/tpl/addon_list.html
+++ b/modules/addon/tpl/addon_list.html
@@ -61,5 +61,3 @@
-
-
diff --git a/modules/addon/tpl/setup_addon.html b/modules/addon/tpl/setup_addon.html
index 3922f27b2..399936fa6 100644
--- a/modules/addon/tpl/setup_addon.html
+++ b/modules/addon/tpl/setup_addon.html
@@ -120,5 +120,3 @@
});
})(jQuery);
-
-
diff --git a/modules/admin/tpl/_dashboard_default.html b/modules/admin/tpl/_dashboard_default.html
index 32e4ae3e2..1028cc468 100644
--- a/modules/admin/tpl/_dashboard_default.html
+++ b/modules/admin/tpl/_dashboard_default.html
@@ -63,3 +63,4 @@
› {$lang->more}
+
diff --git a/modules/admin/tpl/_header.html b/modules/admin/tpl/_header.html
index ef2f95953..34b083724 100644
--- a/modules/admin/tpl/_header.html
+++ b/modules/admin/tpl/_header.html
@@ -1,7 +1,5 @@
-
-
+
+
+ package_voted/$item->package_voter*20)}%">{sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}{sprintf($lang->rate, $item->package_start)}
+ {sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}/{number_format($item->package_voter)}
+
+
+ 0
+ 0/0
+
+
{$lang->installed}
{$lang->install}
@@ -90,6 +100,14 @@
{$item->category} {$item->title}
{cut_str($item->package_description,200)}
+
+ package_voted/$item->package_voter*20)}%">{sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}{sprintf($lang->rate, $item->package_start)}
+ {sprintf("%0.1f",$item->package_voted/$item->package_voter*2)}/{number_format($item->package_voter)}
+
+
+ 0
+ 0/0
+
{$lang->package_update}:
|
{$lang->package_downloaded_count}: {number_format($item->package_downloaded)}
diff --git a/modules/comment/tpl/comment_list.html b/modules/comment/tpl/comment_list.html
index 7104adeb5..40f8be128 100644
--- a/modules/comment/tpl/comment_list.html
+++ b/modules/comment/tpl/comment_list.html
@@ -199,5 +199,3 @@ jQuery(function($){
});
});
-
-
diff --git a/modules/comment/tpl/declared_list.html b/modules/comment/tpl/declared_list.html
index 9c627d151..34aa58508 100644
--- a/modules/comment/tpl/declared_list.html
+++ b/modules/comment/tpl/declared_list.html
@@ -115,6 +115,4 @@ jQuery(function($){
}
}).change();
});
-
-
-
+
\ No newline at end of file
diff --git a/modules/communication/communication.controller.php b/modules/communication/communication.controller.php
index 69cba0d09..10dd22b18 100644
--- a/modules/communication/communication.controller.php
+++ b/modules/communication/communication.controller.php
@@ -131,8 +131,8 @@ class communicationController extends communication
$view_url = Context::getRequestUri();
$content = sprintf("%s
From :
%s", $content, $view_url, $view_url);
$oMail = new Mail();
- $oMail->setTitle($title);
- $oMail->setContent($content);
+ $oMail->setTitle(htmlspecialchars($title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false));
+ $oMail->setContent(removeHackTag($content));
$oMail->setSender($logged_info->nick_name, $logged_info->email_address);
$oMail->setReceiptor($receiver_member_info->nick_name, $receiver_member_info->email_address);
$oMail->send();
diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php
index 0076f69df..5da3edf9d 100644
--- a/modules/document/document.controller.php
+++ b/modules/document/document.controller.php
@@ -274,7 +274,7 @@ class documentController extends document
$obj->homepage = $logged_info->homepage;
}
// If the tile is empty, extract string from the contents.
- $obj->title = htmlspecialchars($obj->title);
+ $obj->title = htmlspecialchars($obj->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
settype($obj->title, "string");
if($obj->title == '') $obj->title = cut_str(trim(strip_tags(nl2br($obj->content))),20,'...');
// If no tile extracted from the contents, leave it untitled.
@@ -473,6 +473,7 @@ class documentController extends document
$obj->homepage = $source_obj->get('homepage');
}
// If the tile is empty, extract string from the contents.
+ $obj->title = htmlspecialchars($obj->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
settype($obj->title, "string");
if($obj->title == '') $obj->title = cut_str(strip_tags($obj->content),20,'...');
// If no tile extracted from the contents, leave it untitled.
diff --git a/modules/document/tpl/declared_list.html b/modules/document/tpl/declared_list.html
index 0019b45f5..b9e94aeb6 100644
--- a/modules/document/tpl/declared_list.html
+++ b/modules/document/tpl/declared_list.html
@@ -200,6 +200,4 @@ jQuery(function($){
}
});
});
-
-
-
+
\ No newline at end of file
diff --git a/modules/document/tpl/document_list.html b/modules/document/tpl/document_list.html
index ea13dc025..d9eca400e 100644
--- a/modules/document/tpl/document_list.html
+++ b/modules/document/tpl/document_list.html
@@ -216,5 +216,3 @@ jQuery(function($){
});
});
-
-
diff --git a/modules/editor/editor.admin.controller.php b/modules/editor/editor.admin.controller.php
index 659132bea..baf7750a3 100644
--- a/modules/editor/editor.admin.controller.php
+++ b/modules/editor/editor.admin.controller.php
@@ -144,7 +144,8 @@ class editorAdminController extends editor
{
$oModuleController = getController('module');
$configVars = Context::getRequestVars();
-
+
+ $config = new stdClass;
if($configVars->font_defined != 'Y') $config->font_defined = $configVars->font_defined = 'N';
else $config->font_defined = 'Y';
diff --git a/modules/editor/tpl/admin_index.html b/modules/editor/tpl/admin_index.html
index 2cf340627..00d055ab5 100644
--- a/modules/editor/tpl/admin_index.html
+++ b/modules/editor/tpl/admin_index.html
@@ -213,4 +213,3 @@ jQuery(function($){
});
-
diff --git a/modules/file/tpl/adminConfig.html b/modules/file/tpl/adminConfig.html
index 6ae5cb121..1d4bd8782 100644
--- a/modules/file/tpl/adminConfig.html
+++ b/modules/file/tpl/adminConfig.html
@@ -56,5 +56,3 @@
-
-
diff --git a/modules/file/tpl/file_list.html b/modules/file/tpl/file_list.html
index 1f00e2e6e..a11f42b82 100644
--- a/modules/file/tpl/file_list.html
+++ b/modules/file/tpl/file_list.html
@@ -207,5 +207,3 @@ jQuery(function($){
});
});
-
-
diff --git a/modules/importer/tpl/index.html b/modules/importer/tpl/index.html
index ab917cb21..cac85a045 100644
--- a/modules/importer/tpl/index.html
+++ b/modules/importer/tpl/index.html
@@ -105,5 +105,3 @@ jQuery('a.modalAnchor')
return false;
});
-
-
diff --git a/modules/layout/layout.model.php b/modules/layout/layout.model.php
index 858d37400..7797edf4d 100644
--- a/modules/layout/layout.model.php
+++ b/modules/layout/layout.model.php
@@ -289,7 +289,7 @@ class layoutModel extends layout
* @param string $layout_type (P : PC, M : Mobile)
* @return string path of layout
*/
- function getLayoutPath($layout_name, $layout_type = "P")
+ function getLayoutPath($layout_name = "", $layout_type = "P")
{
$layout_parse = explode('|@|', $layout_name);
if(count($layout_parse) > 1)
diff --git a/modules/layout/tpl/installed_layout_list.html b/modules/layout/tpl/installed_layout_list.html
index efbb71cd4..2916eb953 100644
--- a/modules/layout/tpl/installed_layout_list.html
+++ b/modules/layout/tpl/installed_layout_list.html
@@ -52,5 +52,3 @@
-
-
diff --git a/modules/layout/tpl/layout_all_instance_list.html b/modules/layout/tpl/layout_all_instance_list.html
index a6782fc14..bcc8394e3 100644
--- a/modules/layout/tpl/layout_all_instance_list.html
+++ b/modules/layout/tpl/layout_all_instance_list.html
@@ -43,5 +43,3 @@
-
-
diff --git a/modules/layout/tpl/layout_edit.html b/modules/layout/tpl/layout_edit.html
index c180bf573..86a0f5690 100644
--- a/modules/layout/tpl/layout_edit.html
+++ b/modules/layout/tpl/layout_edit.html
@@ -94,5 +94,3 @@
-
-
diff --git a/modules/layout/tpl/layout_instance_list.html b/modules/layout/tpl/layout_instance_list.html
index b67cbdc8d..702ea4fca 100644
--- a/modules/layout/tpl/layout_instance_list.html
+++ b/modules/layout/tpl/layout_instance_list.html
@@ -105,5 +105,3 @@ xe.lang.confirm_delete = '{$lang->confirm_delete}';
-
-
diff --git a/modules/layout/tpl/layout_modify.html b/modules/layout/tpl/layout_modify.html
index 71b925a05..279f8196a 100644
--- a/modules/layout/tpl/layout_modify.html
+++ b/modules/layout/tpl/layout_modify.html
@@ -1,5 +1,3 @@
{$content}
-
-
diff --git a/modules/member/member.admin.view.php b/modules/member/member.admin.view.php
index f6a59dadb..b25579b82 100644
--- a/modules/member/member.admin.view.php
+++ b/modules/member/member.admin.view.php
@@ -615,7 +615,7 @@ class memberAdminView extends member
}
$replace = array_merge($extentionReplace, $replace);
- $inputTag = preg_replace('@%(\w+)%@e', '$replace[$1]', $template);
+ $inputTag = preg_replace_callback('@%(\w+)%@', function($n) { return $replace[$n[1]]; }, $template);
if($extendForm->description)
$inputTag .= ''.$extendForm->description.'
';
diff --git a/modules/member/tpl/default_config.html b/modules/member/tpl/default_config.html
index 595d52b6f..d04032437 100644
--- a/modules/member/tpl/default_config.html
+++ b/modules/member/tpl/default_config.html
@@ -80,5 +80,3 @@
-
-
diff --git a/modules/member/tpl/design_config.html b/modules/member/tpl/design_config.html
index f1f37e83f..a656e75fb 100644
--- a/modules/member/tpl/design_config.html
+++ b/modules/member/tpl/design_config.html
@@ -50,5 +50,3 @@
-
-
diff --git a/modules/member/tpl/group_list.html b/modules/member/tpl/group_list.html
index 410ca70c6..93e6305c7 100644
--- a/modules/member/tpl/group_list.html
+++ b/modules/member/tpl/group_list.html
@@ -103,5 +103,3 @@
{$lang->add_group_image_mark}: {$lang->link_file_box}
-
-
diff --git a/modules/member/tpl/insert_member.html b/modules/member/tpl/insert_member.html
index 2d39c5305..0991f6adc 100644
--- a/modules/member/tpl/insert_member.html
+++ b/modules/member/tpl/insert_member.html
@@ -129,5 +129,3 @@
});
})(jQuery);
-
-
diff --git a/modules/member/tpl/login_config.html b/modules/member/tpl/login_config.html
index 7daba7170..4a7d811d4 100644
--- a/modules/member/tpl/login_config.html
+++ b/modules/member/tpl/login_config.html
@@ -62,5 +62,3 @@ jQuery(function($){
}).change();
});
-
-
diff --git a/modules/member/tpl/member_list.html b/modules/member/tpl/member_list.html
index 59380a2ac..921a188b3 100644
--- a/modules/member/tpl/member_list.html
+++ b/modules/member/tpl/member_list.html
@@ -202,5 +202,3 @@ jQuery(function($){
});
});
-
-
diff --git a/modules/member/tpl/signup_config.html b/modules/member/tpl/signup_config.html
index d4da6731f..3694ba5b6 100644
--- a/modules/member/tpl/signup_config.html
+++ b/modules/member/tpl/signup_config.html
@@ -198,5 +198,3 @@
#userDefine{max-width:60%;margin-left:-30%}
}
-
-
diff --git a/modules/menu/tpl/sitemap.html b/modules/menu/tpl/sitemap.html
index 1528c6204..f5fa8a25b 100644
--- a/modules/menu/tpl/sitemap.html
+++ b/modules/menu/tpl/sitemap.html
@@ -352,8 +352,6 @@
-
-
@@ -4122,6 +4120,3 @@ jQuery.extend({
});
//]]>
-
-
-
diff --git a/modules/module/tpl/adminFileBox.html b/modules/module/tpl/adminFileBox.html
index ff209ea07..7173737a2 100644
--- a/modules/module/tpl/adminFileBox.html
+++ b/modules/module/tpl/adminFileBox.html
@@ -116,5 +116,3 @@
-
-
diff --git a/modules/module/tpl/category_list.html b/modules/module/tpl/category_list.html
index 4a25830aa..91c15adf3 100644
--- a/modules/module/tpl/category_list.html
+++ b/modules/module/tpl/category_list.html
@@ -58,5 +58,3 @@
-
-
diff --git a/modules/module/tpl/category_update_form.html b/modules/module/tpl/category_update_form.html
index deb204e85..a91f3ad73 100644
--- a/modules/module/tpl/category_update_form.html
+++ b/modules/module/tpl/category_update_form.html
@@ -20,4 +20,3 @@
-
diff --git a/modules/module/tpl/module_list.html b/modules/module/tpl/module_list.html
index fcd075303..bbb989d8d 100644
--- a/modules/module/tpl/module_list.html
+++ b/modules/module/tpl/module_list.html
@@ -59,6 +59,4 @@ jQuery(function($){
$('.dsTg>tbody>tr[data-type1]').prependTo('tbody');
$('.dsTg>tbody>tr[data-type2]').prependTo('tbody');
});
-
-
-
+
\ No newline at end of file
diff --git a/modules/point/tpl/config.html b/modules/point/tpl/config.html
index da251cb0e..b9a79cb68 100644
--- a/modules/point/tpl/config.html
+++ b/modules/point/tpl/config.html
@@ -190,6 +190,4 @@ jQuery(function($){
}
});
});
-
-
-
+
\ No newline at end of file
diff --git a/modules/point/tpl/member_list.html b/modules/point/tpl/member_list.html
index 0228696fc..447944c6d 100644
--- a/modules/point/tpl/member_list.html
+++ b/modules/point/tpl/member_list.html
@@ -145,5 +145,3 @@
-
-
diff --git a/modules/point/tpl/module_config.html b/modules/point/tpl/module_config.html
index 5f30be3f7..07ee02cba 100644
--- a/modules/point/tpl/module_config.html
+++ b/modules/point/tpl/module_config.html
@@ -37,5 +37,3 @@
-
-
diff --git a/modules/poll/tpl/poll_list.html b/modules/poll/tpl/poll_list.html
index 91e8f4aae..b0aae9a12 100644
--- a/modules/poll/tpl/poll_list.html
+++ b/modules/poll/tpl/poll_list.html
@@ -124,5 +124,3 @@ jQuery(function($){
});
});
-
-
diff --git a/modules/rss/tpl/rss_admin_index.html b/modules/rss/tpl/rss_admin_index.html
index 4342492c6..9055e894e 100644
--- a/modules/rss/tpl/rss_admin_index.html
+++ b/modules/rss/tpl/rss_admin_index.html
@@ -122,5 +122,3 @@ jQuery(function($){
});
});
-
-
diff --git a/modules/spamfilter/tpl/footer.html b/modules/spamfilter/tpl/footer.html
index 30961915b..e69de29bb 100644
--- a/modules/spamfilter/tpl/footer.html
+++ b/modules/spamfilter/tpl/footer.html
@@ -1 +0,0 @@
-
diff --git a/modules/trash/tpl/trash_list.html b/modules/trash/tpl/trash_list.html
index 04b66db88..802f5b69e 100644
--- a/modules/trash/tpl/trash_list.html
+++ b/modules/trash/tpl/trash_list.html
@@ -165,5 +165,3 @@ jQuery(function($){
});
});
-
-
diff --git a/modules/trash/tpl/trash_view.html b/modules/trash/tpl/trash_view.html
index 64c29d652..b1292c1a9 100644
--- a/modules/trash/tpl/trash_view.html
+++ b/modules/trash/tpl/trash_view.html
@@ -75,4 +75,3 @@
-
diff --git a/modules/widget/tpl/downloaded_widget_list.html b/modules/widget/tpl/downloaded_widget_list.html
index 920ed0f10..d33afbe22 100644
--- a/modules/widget/tpl/downloaded_widget_list.html
+++ b/modules/widget/tpl/downloaded_widget_list.html
@@ -39,5 +39,3 @@
-
-
diff --git a/modules/widget/tpl/widget_generate_code.html b/modules/widget/tpl/widget_generate_code.html
index c9e400ec9..044278e22 100644
--- a/modules/widget/tpl/widget_generate_code.html
+++ b/modules/widget/tpl/widget_generate_code.html
@@ -17,5 +17,3 @@
-
-