Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4840 Rev 4841
Línea 1... Línea 1...
1
<?php
1
<?php
Línea -... Línea 2...
-
 
2
 
2
 
3
if ($share_title){
3
$this->headTitle("$share_title");
4
    $this->headTitle("$share_title");
4
$this->headMeta()->appendName('description', $share_title);
5
    $this->headMeta()->appendName('description', $share_title);
-
 
6
    $this->headMeta()->appendProperty('og:title', $share_title);
-
 
7
} else {
-
 
8
    $this->headTitle("$share_description");
-
 
9
    $this->headMeta()->appendName('description', $share_description);
-
 
10
    $this->headMeta()->appendProperty('og:title', $share_description);
-
 
11
}
5
$this->headMeta()->appendProperty('og:title', $share_title);
12
 
6
$this->headMeta()->appendProperty('og:url', $share_url);
13
$this->headMeta()->appendProperty('og:url', $share_url);
7
$this->headMeta()->appendProperty('og:description', $share_description);
14
$this->headMeta()->appendProperty('og:description', $share_description);
8
$this->headMeta()->appendProperty('og:image', $share_image);
15
$this->headMeta()->appendProperty('og:image', $share_image);
9
$this->headMeta()->setItemprop('image', $share_image);
16
$this->headMeta()->setItemprop('image', $share_image);