#!/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}"
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 {} \;
$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
<tr>
<td colspan="2" class="admin_edit {%template,ColorSwitch%}">
- $content[cnt]. {--ENTRY_MODIFY--}:
+ $content[cnt]. {--ADMIN_ENTRY_MODIFY--}:
</td>
</tr>
<tr>
<tr>
<td colspan="2" class="{%template,ColorSwitch%}">
- $content[cnt]. {--ENTRY_MODIFY--}:
+ $content[cnt]. {--ADMIN_ENTRY_MODIFY--}:
</td>
</tr>
<tr>
<tr>
- <td width="25%" align="right" class="{%template,ColorSwitch%} bottom">$content[cnt].
- {--ENTRY_MODIFY--}:
+ <td width="25%" align="right" class="{%template,ColorSwitch%} bottom">
+ $content[cnt]. {--ADMIN_ENTRY_MODIFY--}:
+ </td>
<td width="25%" class="{%template,ColorSwitch%} bottom">
- $content[menu] <input type="hidden" name="sel[$content[sel]]"
- value="$content[menu]"></td>
+ $content[menu]
+ <input type="hidden" name="sel[$content[sel]]" value="$content[menu]" />
+ </td>
<td width="25%" class="{%template,ColorSwitch%} bottom">
- {--IS_VISIBLE--} $content[visible]</td>
+ {--IS_VISIBLE--}:
+ $content[visible]
+ </td>
<td width="25%" class="{%template,ColorSwitch%} bottom">
- {--IS_LOCKED--} $content[locked]</td>
-</tr>
\ No newline at end of file
+ {--IS_LOCKED--}:
+ $content[locked]
+ </td>
+</tr>