Added seconds to database time, Social fields for user profile
This commit is contained in:
parent
e5d3e8e4c6
commit
2f9bd0b63b
@ -75,7 +75,7 @@ define('JSON', function_exists('json_encode'));
|
||||
define('CLI_STATUS', 'published');
|
||||
|
||||
// Database format date
|
||||
define('DB_DATE_FORMAT', 'Y-m-d H:i');
|
||||
define('DB_DATE_FORMAT', 'Y-m-d H:i:s');
|
||||
|
||||
// Date format for Dashboard schedule posts
|
||||
define('SCHEDULED_DATE_FORMAT', 'd M - h:i a');
|
||||
|
@ -12,7 +12,11 @@ class dbUsers extends dbJSON
|
||||
'email'=> array('inFile'=>false, 'value'=>''),
|
||||
'registered'=> array('inFile'=>false, 'value'=>'1985-03-15 10:00'),
|
||||
'tokenEmail'=> array('inFile'=>false, 'value'=>''),
|
||||
'tokenEmailTTL'=> array('inFile'=>false, 'value'=>'2009-03-15 14:00')
|
||||
'tokenEmailTTL'=> array('inFile'=>false, 'value'=>'2009-03-15 14:00'),
|
||||
'twitterUsername'=> array('inFile'=>false, 'value'=>''),
|
||||
'facebookUsername'=> array('inFile'=>false, 'value'=>''),
|
||||
'googleUsername'=> array('inFile'=>false, 'value'=>''),
|
||||
'instagramUsername'=> array('inFile'=>false, 'value'=>'')
|
||||
);
|
||||
|
||||
function __construct()
|
||||
|
@ -36,7 +36,7 @@ class pluginAbout extends Plugin {
|
||||
$html = '<div class="plugin plugin-about">';
|
||||
$html .= '<h2>'.$this->getDbField('label').'</h2>';
|
||||
$html .= '<div class="plugin-content">';
|
||||
$html .= $this->getDbField('text');
|
||||
$html .= nl2br($this->getDbField('text'));
|
||||
$html .= '</div>';
|
||||
$html .= '</div>';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user