Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3396 | Rev 3398 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3396 Rev 3397
Línea 10... Línea 10...
10
$this->headMeta()->appendName('twitter:title', "$share_title");
10
$this->headMeta()->appendName('twitter:title', "$share_title");
11
$this->headMeta()->appendName('twitter:description', "$share_description");
11
$this->headMeta()->appendName('twitter:description', "$share_description");
12
$this->headMeta()->appendName('twitter:image', "$share_image");
12
$this->headMeta()->appendName('twitter:image', "$share_image");
Línea 13... Línea 13...
13
 
13
 
14
$js = <<<JS
14
$js = <<<JS
15
const backendVars = {
-
 
16
  title: '$share_title',
-
 
17
  description: '$share_description',
-
 
18
  image: '$share_image',
-
 
19
  url: '$share_url'
-
 
20
}
15
const backendVars = ''
Línea 21... Línea 16...
21
JS;
16
JS;
22
 
17
 
23
$this->inlineScript()->appendScript($js);
18
$this->inlineScript()->appendScript($js);