From: Roland Häder Date: Fri, 23 Jul 2010 23:51:58 +0000 (+0000) Subject: SQL fix and renamed language string fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=inline;h=b292e728fd8ee072b9227acff3b8aba35a209a61;p=mailer.git SQL fix and renamed language string fixed --- diff --git a/DOCS/lint.sh b/DOCS/lint.sh index c2b43ca689..00c4a2c545 100755 --- a/DOCS/lint.sh +++ b/DOCS/lint.sh @@ -1,7 +1,7 @@ #!/bin/sh echo "$0: Analysing PHP scripts for syntax errors (lint) ..." -LINT=`find -name "*.php" -exec php -l -f {} 2>&1 \; | grep -v "No syntax errors detected in"` +LINT=`find -type f -name "*.php" -exec php -l -f {} 2>&1 \; | grep -v "No syntax errors detected in"` if test "${LINT}" != ""; then echo "${LINT}" diff --git a/DOCS/prop-set.sh b/DOCS/prop-set.sh index 81dfe9145b..1df2b4ca7d 100755 --- a/DOCS/prop-set.sh +++ b/DOCS/prop-set.sh @@ -13,4 +13,3 @@ find -type f -name "*.png" -exec svn propset svn:mime-type "image/png" {} \; find -type f -name "*.gif" -exec svn propset svn:mime-type "image/gif" {} \; find -type f -name "*.txt" -exec svn propset svn:mime-type "text/plain" {} \; find -type f -name "*.tpl" -exec svn propset svn:mime-type "text/plain" {} \; -find inc/phpmailer/ -type f -name "*.php" -exec svn propdel svn:keywords {} \; diff --git a/inc/modules/admin/what-repair_gmnu.php b/inc/modules/admin/what-repair_gmnu.php index cff162ad9d..e7afcd83e6 100644 --- a/inc/modules/admin/what-repair_gmnu.php +++ b/inc/modules/admin/what-repair_gmnu.php @@ -55,7 +55,7 @@ while ($content = SQL_FETCHARRAY($result_fix)) { $actions[] = $content['action']; // Fix weight - $result_sort = SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `sort`='%s WHERE `id`=%s' LIMIT 1", + $result_sort = SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `sort`=%s WHERE `id`=%s LIMIT 1", array($cnt, $content['id']), __FILE__, __LINE__); // Get updated rows diff --git a/templates/de/html/admin/admin_edit_admin_menu_row.tpl b/templates/de/html/admin/admin_edit_admin_menu_row.tpl index 4879ea5cd6..95ab588ab6 100644 --- a/templates/de/html/admin/admin_edit_admin_menu_row.tpl +++ b/templates/de/html/admin/admin_edit_admin_menu_row.tpl @@ -1,6 +1,6 @@ - $content[cnt]. {--ENTRY_MODIFY--}: + $content[cnt]. {--ADMIN_ENTRY_MODIFY--}: diff --git a/templates/de/html/admin/admin_edit_member_menu_row.tpl b/templates/de/html/admin/admin_edit_member_menu_row.tpl index cf09a5ac22..8c22607d4b 100644 --- a/templates/de/html/admin/admin_edit_member_menu_row.tpl +++ b/templates/de/html/admin/admin_edit_member_menu_row.tpl @@ -1,6 +1,6 @@ - $content[cnt]. {--ENTRY_MODIFY--}: + $content[cnt]. {--ADMIN_ENTRY_MODIFY--}: diff --git a/templates/de/html/admin/admin_menu_status_row.tpl b/templates/de/html/admin/admin_menu_status_row.tpl index fe549f5bf4..f9d2d5d02b 100644 --- a/templates/de/html/admin/admin_menu_status_row.tpl +++ b/templates/de/html/admin/admin_menu_status_row.tpl @@ -1,11 +1,17 @@ - $content[cnt]. - {--ENTRY_MODIFY--}:   + + $content[cnt]. {--ADMIN_ENTRY_MODIFY--}: + - $content[menu] + $content[menu] + + - {--IS_VISIBLE--}  $content[visible] + {--IS_VISIBLE--}: + $content[visible] + - {--IS_LOCKED--}  $content[locked] - \ No newline at end of file + {--IS_LOCKED--}: + $content[locked] + +