reverted FML update
This commit is contained in:
@ -146,7 +146,7 @@ abstract class Builder
|
||||
* @param bool $associative (optional) Whether the array should be associative
|
||||
* @return string
|
||||
*/
|
||||
public static function getArray(array $array, $associative = true)
|
||||
public static function getArray(array $array, $associative = false)
|
||||
{
|
||||
$arrayText = "[";
|
||||
$index = 0;
|
||||
@ -180,9 +180,6 @@ abstract class Builder
|
||||
if (is_bool($value)) {
|
||||
return static::getBoolean($value);
|
||||
}
|
||||
if (is_array($value)) {
|
||||
return static::getArray($value);
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
@ -265,14 +265,14 @@ class Script
|
||||
*/
|
||||
protected function getHeaderComment()
|
||||
{
|
||||
$headerComment = '/**************************************************
|
||||
* FancyManiaLinks';
|
||||
$headerComment = '/****************************************************
|
||||
* FancyManiaLinks';
|
||||
if (defined('FML_VERSION')) {
|
||||
$headerComment .= ' v' . FML_VERSION;
|
||||
}
|
||||
$headerComment .= ' by steeffeen *
|
||||
* http://github.com/steeffeen/FancyManiaLinks *
|
||||
**************************************************/
|
||||
$headerComment .= ' by steeffeen *
|
||||
* http://github.com/steeffeen/FancyManiaLinks *
|
||||
****************************************************/
|
||||
|
||||
';
|
||||
return $headerComment;
|
||||
@ -349,7 +349,6 @@ main() {
|
||||
}
|
||||
case CMlEvent::Type::MouseClick: {
|
||||
+++' . ScriptLabel::MOUSECLICK . '+++
|
||||
+++' . ScriptLabel::MOUSECLICK2 . '+++
|
||||
}
|
||||
case CMlEvent::Type::MouseOut: {
|
||||
+++' . ScriptLabel::MOUSEOUT . '+++
|
||||
|
@ -21,7 +21,6 @@ class ScriptLabel
|
||||
const ENTRYSUBMIT = 'FML_EntrySubmit';
|
||||
const KEYPRESS = 'FML_KeyPress';
|
||||
const MOUSECLICK = 'FML_MouseClick';
|
||||
const MOUSECLICK2 = 'FML_MouseClick2';
|
||||
const MOUSEOUT = 'FML_MouseOut';
|
||||
const MOUSEOVER = 'FML_MouseOver';
|
||||
|
||||
|
Reference in New Issue
Block a user