|
|
@ -120,7 +120,8 @@ class PicoContentEditor extends AbstractPicoPlugin implements ApiAware |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$twigVariables['canEdit'] = true; |
|
|
|
// $twigVariables['canEdit'] = true; |
|
|
|
|
|
|
|
$twigVariables['canEdit'] = false; |
|
|
|
$twigVariables['dataLang'] = $this->editor::assets($this, "{$this->getPluginsDir()}PicoContentEditor"); |
|
|
|
$twigVariables['dataLang'] = $this->editor::assets($this, "{$this->getPluginsDir()}PicoContentEditor"); |
|
|
|
} |
|
|
|
} |
|
|
|
/** |
|
|
|
/** |
|
|
|