Added Codepen to Social Medial

This commit is contained in:
Turqueso 2017-09-29 15:02:05 -06:00
parent 0327612dc8
commit 85f95b0119
4 changed files with 23 additions and 0 deletions

View File

@ -91,6 +91,14 @@ if($Login->role()==='admin') {
'tip'=>''
));
HTML::formInputText(array(
'name'=>'codepen',
'label'=>'Codepen',
'value'=>$User->codepen(),
'class'=>'uk-width-1-2 uk-form-medium',
'tip'=>''
));
HTML::formInputText(array(
'name'=>'googlePlus',
'label'=>'Google+',

View File

@ -62,6 +62,14 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
'tip'=>''
));
HTML::formInputText(array(
'name'=>'codepen',
'label'=>'Codepen',
'value'=>$Site->codepen(),
'class'=>'uk-width-1-2 uk-form-medium',
'tip'=>''
));
HTML::formInputText(array(
'name'=>'googlePlus',
'label'=>'Google+',

View File

@ -26,6 +26,7 @@ class dbSite extends dbJSON
'currentBuild'=> array('inFile'=>false, 'value'=>0),
'twitter'=> array('inFile'=>false, 'value'=>''),
'facebook'=> array('inFile'=>false, 'value'=>''),
'codepen'=> array('inFile'=>false, 'value'=>''),
'googlePlus'=> array('inFile'=>false, 'value'=>''),
'instagram'=> array('inFile'=>false, 'value'=>''),
'github'=> array('inFile'=>false, 'value'=>''),
@ -101,6 +102,11 @@ class dbSite extends dbJSON
return $this->getField('facebook');
}
public function codepen()
{
return $this->getField('codepen');
}
public function instagram()
{
return $this->getField('instagram');

View File

@ -17,6 +17,7 @@ class dbUsers extends dbJSON
'tokenAuthTTL'=> array('inFile'=>false, 'value'=>'2009-03-15 14:00'),
'twitter'=> array('inFile'=>false, 'value'=>''),
'facebook'=> array('inFile'=>false, 'value'=>''),
'codepen'=> array('inFile'=>false, 'value'=>''),
'googlePlus'=> array('inFile'=>false, 'value'=>''),
'instagram'=> array('inFile'=>false, 'value'=>'')
);