diff --git a/src/system/taglib/help/php.txt b/src/system/taglib/help/php.txt index 7eb92193..6a59b5f5 100644 --- a/src/system/taglib/help/php.txt +++ b/src/system/taglib/help/php.txt @@ -3,5 +3,5 @@ PHP标签 {dede:php}...{/dede:php} {dede:field.demo runphp='yes'}if (@me=='')@me='';else @me="@me";{/dede:field.demo} >>dede>> -{dede:php}...{/dede:php} 中间...直接编写php代码,需要对系统和数据库及php精通,但也需要谨慎使用,以避免引入安全隐患或复杂的模板逻辑 -runphp='yes' 表示字段demo使用php语法,判断demo是否等于空则输出demo,需要对系统和数据库及php熟练,通常用于标签嵌套使用,另一种写法用于列表页[field:demo runphp='yes']...[/field:demo] \ No newline at end of file +{dede:php}...{/dede:php} 中间...编写PHP代码,需要对系统和数据库及PHP精通,但也需要谨慎使用,以避免引入安全隐患或复杂的模板逻辑 +runphp='yes' 表示字段demo使用PHP语法,判断demo是否等于空则输出demo,需要对系统和数据库及PHP熟练,通常用于标签嵌套使用,另一种写法[field:demo runphp='yes']...[/field:demo] \ No newline at end of file diff --git a/src/system/taglib/help/sql.txt b/src/system/taglib/help/sql.txt index 71090499..211ffb26 100755 --- a/src/system/taglib/help/sql.txt +++ b/src/system/taglib/help/sql.txt @@ -2,4 +2,4 @@ SQL标签 >>dede>> {dede:sql sql=''}[field:title/]{/dede:sql} >>dede>> -sql='' 完整的SQL语句,需要对系统和数据库及php熟练 \ No newline at end of file +sql='' 编写完整的SQL语句,需要对系统和数据库及php熟练 \ No newline at end of file