<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2016
*/
/**
- * Base class for admin forms
+ * Base class for admin forms.
*/
class CRM_Admin_Form extends CRM_Core_Form {
* Basic setup.
*/
public function preProcess() {
+ Civi::resources()->addStyleFile('civicrm', 'css/admin.css');
+
$this->_id = $this->get('id');
$this->_BAOName = $this->get('BAOName');
$this->_values = array();
/**
* Add standard buttons.
- *
- * @return void
*/
public function buildQuickForm() {
if ($this->_action & CRM_Core_Action::VIEW || $this->_action & CRM_Core_Action::PREVIEW) {