linkedin link
This commit is contained in:
parent
1600972b48
commit
b13ee0e546
|
@ -94,6 +94,14 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
|||
'tip'=>''
|
||||
));
|
||||
|
||||
HTML::formInputText(array(
|
||||
'name'=>'linkedin',
|
||||
'label'=>'Linkedin',
|
||||
'value'=>$Site->linkedin(),
|
||||
'class'=>'uk-width-1-2 uk-form-medium',
|
||||
'tip'=>''
|
||||
));
|
||||
|
||||
echo '<div class="uk-form-row">
|
||||
<div class="uk-form-controls">
|
||||
<button type="submit" class="uk-button uk-button-primary">'.$L->g('Save').'</button>
|
||||
|
|
|
@ -30,6 +30,7 @@ class dbSite extends dbJSON
|
|||
'googlePlus'=> array('inFile'=>false, 'value'=>''),
|
||||
'instagram'=> array('inFile'=>false, 'value'=>''),
|
||||
'github'=> array('inFile'=>false, 'value'=>''),
|
||||
'linkedin'=> array('inFile'=>false, 'value'=>''),
|
||||
'orderBy'=> array('inFile'=>false, 'value'=>'date') // date or position
|
||||
);
|
||||
|
||||
|
@ -122,6 +123,11 @@ class dbSite extends dbJSON
|
|||
return $this->getField('googlePlus');
|
||||
}
|
||||
|
||||
public function linkedin()
|
||||
{
|
||||
return $this->getField('linkedin');
|
||||
}
|
||||
|
||||
public function orderBy()
|
||||
{
|
||||
return $this->getField('orderBy');
|
||||
|
|
Loading…
Reference in New Issue