linkedin link

This commit is contained in:
floppy0 2018-03-05 10:57:02 +01:00
parent 1600972b48
commit b13ee0e546
2 changed files with 14 additions and 0 deletions

View File

@ -94,6 +94,14 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
'tip'=>'' '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"> echo '<div class="uk-form-row">
<div class="uk-form-controls"> <div class="uk-form-controls">
<button type="submit" class="uk-button uk-button-primary">'.$L->g('Save').'</button> <button type="submit" class="uk-button uk-button-primary">'.$L->g('Save').'</button>

View File

@ -30,6 +30,7 @@ class dbSite extends dbJSON
'googlePlus'=> array('inFile'=>false, 'value'=>''), 'googlePlus'=> array('inFile'=>false, 'value'=>''),
'instagram'=> array('inFile'=>false, 'value'=>''), 'instagram'=> array('inFile'=>false, 'value'=>''),
'github'=> array('inFile'=>false, 'value'=>''), 'github'=> array('inFile'=>false, 'value'=>''),
'linkedin'=> array('inFile'=>false, 'value'=>''),
'orderBy'=> array('inFile'=>false, 'value'=>'date') // date or position 'orderBy'=> array('inFile'=>false, 'value'=>'date') // date or position
); );
@ -122,6 +123,11 @@ class dbSite extends dbJSON
return $this->getField('googlePlus'); return $this->getField('googlePlus');
} }
public function linkedin()
{
return $this->getField('linkedin');
}
public function orderBy() public function orderBy()
{ {
return $this->getField('orderBy'); return $this->getField('orderBy');