Front-End Upgrade: New UI Based on Admin LTE.

Closes #673
This commit is contained in:
Dan Cryer 2014-12-02 16:26:55 +00:00
commit 9eeaabc6fe
364 changed files with 51722 additions and 987 deletions

View file

@ -90,14 +90,12 @@ class UserBase extends Model
'default' => null,
),
'is_admin' => array(
'type' => 'tinyint',
'length' => 1,
'default' => null,
'type' => 'int',
'length' => 11,
),
'name' => array(
'type' => 'varchar',
'length' => 250,
'nullable' => true,
'default' => null,
),
);
@ -259,10 +257,12 @@ class UserBase extends Model
/**
* Set the value of Name / name.
*
* Must not be null.
* @param $value string
*/
public function setName($value)
{
$this->_validateNotNull('Name', $value);
$this->_validateString('Name', $value);
if ($this->data['name'] === $value) {