{* $Id$ *}
{if ! $composer_available}
{remarksbox type="warning" title="{tr}Composer not found{/tr}"}
{tr}Composer could not be executed, so the automated check on the packages cannot be performed.{/tr}
{tr _0='{tr}Diagnose{/tr}' _1=''}In %0Diagnose%1 tab you can install composer.{/tr}
{/remarksbox}
{/if}
{if isset($composer_output)}
{remarksbox type="note" title="{tr}Note{/tr}"}
{tr}Result of executing the changes to the packages:{/tr}
{$composer_output}
{/remarksbox}
{/if}
{if isset($composer_installed_errors)}
{remarksbox type="warning" title="{tr}Composer errors{/tr}"}
{tr}Composer returned some errors:{/tr}{$composer_installed_errors}
{/remarksbox}
{/if}
{if not empty($composer_environment_warning)}
{remarksbox type="warning" title="{tr}Issues with composer environment{/tr}"}
{tr}Issues with composer environment:{/tr}
{tr _0='sh setup.sh fix' _1='doc.tiki.org/Packages'}Run %0 from a shell to try to fix this, see %1 for more info.{/tr}
{$extensions_output}
{/remarksbox}
{/if}
{tabset name='tabs_admin-packages'}
{tab name="{tr}Packages{/tr}"}
{if ! $composer_phar_exists}
{remarksbox type="note" title="{tr}Note{/tr}"}
{tr}Packages check could not be performed at the moment due to missing{/tr} temp/composer.phar| {tr}Package Name{/tr} | {tr}Version Required{/tr} | {tr}Status{/tr} | {tr}Version Installed{/tr} | {tr}Action{/tr} |
|---|---|---|---|---|
| {$entry.name} | {$entry.required} {if $entry.upgradeVersion}{tr}Update:{/tr} {$entry.requiredVersion}{/if} | {if $composer_phar_exists} {if $entry.status == 'installed'} {icon name='success' iclass='tips' ititle="{tr}Status:{/tr}{tr}Installed{/tr}"} {elseif $entry.status == 'missing'} {icon name='warning' iclass='tips' ititle="{tr}Status:{/tr}{tr}Missing{/tr}"} {else} {/if} {/if} | {$entry.installed|default:' '} {if $entry.state == 'replaced'} {icon name='exclamation-triangle'} {elseif $entry.state == 'deprecated'} {icon name='exclamation-triangle'} {else} {icon name='info-circle'} {/if} | {if $entry.extension} {/if} {if $entry.key} {if $composer_phar_exists} {/if} {else} {tr}Removal not available{/tr} {icon name='info' iclass='tips' ititle="{tr}Removal not available:{/tr}{tr}This package is not managed by Tiki and likely was installed manually.{/tr}"} {/if} |
{if $composer_available}
{tr}One or more packages appear to be missing{/tr}{tr}In the list above, some packages could not be found. They are defined in the composer.json file, but do not seem to be installed.{/tr} {else}{tr}Could not validate the status of one or more packages{/tr}{tr}In the list above, some packages status could not be validated, since composer was not found, you can try to install composer and try again or install the packages manually.{/tr} {/if}{if $composer_available} {tr}Install packages from the administrator interface{/tr}{tr}The administrator interface can be used to install the packages marked as missing in the list above.{/tr} {tr}Click the "Fix Missing Packages" button below, and Tiki will try to install them:{/tr} The results of the execution of the commands will be displayed after the process finishes. {/if}{tr}Install packages manually{/tr}{if ! $composer_available}{tr _0=" {tr}Composer can be installed manually, in the host machine, by following the instructions from the{/tr} Composer {tr}website.{/tr}
{tr _0=" {tr}Install the missing packages.{/tr} {/if}{tr}You can install the missing packages by issuing the command{/tr}
|
||||
| {tr}Package Name{/tr} | {tr}Version{/tr} | {tr}Licence{/tr} | {tr}Required by{/tr} | {tr}Action{/tr} |
|---|---|---|---|---|
| {$entry.name} {if $entry.state == 'replaced'} {icon name='exclamation-triangle'} {/if} | {$entry.requiredVersion} | {if empty($entry.licence)}{tr}Not Available{/tr}{else}{$entry.licence}{/if} | {', '|implode:$entry.requiredBy} | {if $composer_phar_exists} {/if} |
{tr}There appear to be some optional packages that can be installed{/tr}{tr}In the list above, there are optional packages that may be installed in order to use the Tiki features that require the package.{/tr}{if $composer_available} {tr}Install packages from the administrator interface{/tr}{tr}The administrator interface can be used to install the optional packages in the list above.{/tr} {tr}Click the "Install Package" button, and Tiki will try to install them.{/tr} {/if}{tr}Install packages manually{/tr}{if ! $composer_available}{tr _0=" {tr}Composer can be installed manually, in the host machine, by following the instructions from the{/tr} Composer {tr}website.{/tr}
{tr _0=" {tr _0="
{tr _0=" {tr}Install the package.{/tr}
{tr}Packages can be installed by issuing a command{/tr}
|
||||
temp/composer.phar| {tr}Package Name{/tr} | {tr}Version Required{/tr} | {tr}Status{/tr} | {tr}Version Installed{/tr} | Actions |
|---|---|---|---|---|
| {$folderName} | ||||
| {$package.name} | {$package.required} | {if $package.status == 'installed'} {icon name='success' iclass='tips' ititle="{tr}Status:{/tr}{tr}Installed{/tr}"} {elseif $package.status == 'missing'} {icon name='warning' iclass='tips' ititle="{tr}Status:{/tr}{tr}Missing{/tr}"} {/if} | {$package.installed|default:' '} | {if $package.extension} {/if} |
temp/composer.phar| {tr}Package Name{/tr} | {tr}Version Required{/tr} | {tr}Status{/tr} | {tr}Version Installed{/tr} |
|---|---|---|---|
| {$entry.name} | {$entry.required} | {if $composer_phar_exists} {if $entry.status == 'installed'} {icon name='success' iclass='tips' ititle="{tr}Status:{/tr}{tr}Installed{/tr}"} {elseif $entry.status == 'missing'} {icon name='warning' iclass='tips' ititle="{tr}Status:{/tr}{tr}Missing{/tr}"} {else} {/if} {/if} | {$entry.installed|default:' '} |
Composer: {if $diagnostic_composer_location}{tr}{$diagnostic_composer_location}{/tr}{else}{tr}Composer not found{/tr}{/if}
{/if} {if $diagnostic_composer_output}Composer diagnose output
{$diagnostic_composer_output}
{/if}
{if $composer_management_success}
{remarksbox type="success" title="{tr}Success{/tr}" close="n"}
{$composer_management_success}
{/remarksbox}
{/if}
{if $composer_management_error}
{remarksbox type="error" title="{tr}Error{/tr}" close="n"}
{$composer_management_error}
{/remarksbox}
{/if}