@@ 709-715 (lines=7) @@ | ||
706 | ||
707 | switch ($type) { |
|
708 | case 'elgg_version': |
|
709 | case 'elgg_release': |
|
710 | // 'Elgg Version' |
|
711 | $strings['name'] = $translator->translate('ElggPlugin:Dependencies:Elgg'); |
|
712 | $strings['expected_value'] = "$comparison {$info['version']}"; |
|
713 | $strings['local_value'] = $dep['value']; |
|
714 | $strings['comment'] = ''; |
|
715 | break; |
|
716 | ||
717 | case 'php_version': |
|
718 | // 'PHP version' |
|
@@ 717-723 (lines=7) @@ | ||
714 | $strings['comment'] = ''; |
|
715 | break; |
|
716 | ||
717 | case 'php_version': |
|
718 | // 'PHP version' |
|
719 | $strings['name'] = $translator->translate('ElggPlugin:Dependencies:PhpVersion'); |
|
720 | $strings['expected_value'] = "$comparison {$info['version']}"; |
|
721 | $strings['local_value'] = $dep['value']; |
|
722 | $strings['comment'] = ''; |
|
723 | break; |
|
724 | ||
725 | case 'php_extension': |
|
726 | // PHP Extension %s [version] |
|
@@ 738-743 (lines=6) @@ | ||
735 | $strings['comment'] = ''; |
|
736 | break; |
|
737 | ||
738 | case 'php_ini': |
|
739 | $strings['name'] = $translator->translate('ElggPlugin:Dependencies:PhpIni', array($info['name'])); |
|
740 | $strings['expected_value'] = "$comparison {$info['value']}"; |
|
741 | $strings['local_value'] = $dep['value']; |
|
742 | $strings['comment'] = ''; |
|
743 | break; |
|
744 | ||
745 | case 'plugin': |
|
746 | $strings['name'] = $translator->translate('ElggPlugin:Dependencies:Plugin', array($info['name'])); |