v1.3.9.484

+ Default Domain (AdminPanel/Login Screen)
+ Use short login form (AdminPanel/Domain)
+ Add unminified css file (app.css)
* update jquery (1.10.3)
* update jquery-ui (1.10.1)
* update Lazy Load plugin (1.9.0)
* update mousewheel plugin (3.1.4)
- remove headjs
This commit is contained in:
RainLoop Team 2013-11-07 01:09:36 +04:00
parent 45f3bf61e2
commit de5ff0bcdd
437 changed files with 9457 additions and 1860 deletions

View file

@ -1,59 +0,0 @@
<?php
namespace RainLoop\Config;
class Plugin extends \RainLoop\Config\AbstractConfig
{
/**
* @var array
*/
private $aMap;
/**
* @return void
*/
public function __construct($sPluginName, $aMap = array())
{
$this->aMap = is_array($aMap) ? $this->convertConfigMap($aMap) : array();
parent::__construct('plugin-'.$sPluginName.'.ini', '; RainLoop Webmail plugin ('.$sPluginName.')');
}
/**
* @param array $aMap
* @return array
*/
private function convertConfigMap($aMap)
{
if (0 < count($aMap))
{
$aResultMap = array();
foreach ($aMap as /* @var $oProperty \RainLoop\Plugins\Property */ $oProperty)
{
if ($oProperty)
{
$mValue = $oProperty->DefaultValue();
$sValue = is_array($mValue) && isset($mValue[0]) ? $mValue[0] : $mValue;
$aResultMap[$oProperty->Name()] = array($sValue, '');
}
}
if (0 < count($aResultMap))
{
return array(
'plugin' => $aResultMap
);
}
}
return array();
}
/**
* @return array
*/
protected function defaultValues()
{
return $this->aMap;
}
}