<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
$this->addElement(
'submit', $this->getButtonName('next', 'cleanup'), 'Cleanup Caches',
- array('class' => 'form-submit', 'id' => 'cleanup-cache')
+ array('class' => 'crm-form-submit', 'id' => 'cleanup-cache')
);
$this->add('text', 'newBaseURL', ts('New Base URL'), NULL, TRUE);
return $this->_defaults;
}
+ /**
+ * @param $fields
+ *
+ * @return array
+ */
static function formRule($fields) {
$tmpDir = trim($fields['newBaseDir']);