mirror of
https://github.com/processwire/processwire.git
synced 2025-08-20 13:31:48 +02:00
Fix issue processwire/processwire-issues#1556
This commit is contained in:
@@ -195,7 +195,7 @@ class FieldtypeFileConfiguration extends Wire {
|
||||
$example = array(
|
||||
'// ' . $this->_('Display all files with tag “sidebar”'),
|
||||
'foreach($page->images as $file) {',
|
||||
' if($file->hasTag("sidebar") {',
|
||||
' if($file->hasTag("sidebar")) {',
|
||||
' echo "<img src=\'$file->url\' alt=\'$file->description\'>";',
|
||||
' }',
|
||||
'}',
|
||||
|
Reference in New Issue
Block a user