<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<h1>Upgrade</h1>

<div class="card-container">
    <div class="card card-size-fixed-small {f:if(condition:'{composerMode}', then: 'card-disabled')}">
        <f:render partial="Card/Header" arguments="{ title: 'Update TYPO3 Core', subtitle: 'Core Upgrade', icon: 'Icons/modules/install-update.svg'}"/>
        <div class="card-body">
            <p class="card-text">Update your TYPO3 installation (support for symbolic links required).</p>
        </div>
        <f:if condition="{composerMode}">
            <f:then>
                <div class="card-footer text-muted">
                    You can't use this feature, because your installation is in composer mode.
                    Guide: <a href="https://docs.typo3.org/m/typo3/guide-installation/master/en-us/Upgrade/InstallTheNewSource/Index.html" target="_blank" rel="noreferrer">install the new source</a>.
                </div>
            </f:then>
            <f:else>
                <div class="card-footer">
                    <button type="button" class="btn btn-default" data-require="TYPO3/CMS/Install/Module/Upgrade/CoreUpdate">Update Core</button>
                </div>
            </f:else>
        </f:if>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'Upgrade Wizard', subtitle: 'Core Upgrade', icon: 'Icons/modules/install-wizards.svg'}" />
        <div class="card-body">
            <p class="card-text">Finalises the upgrade process when moving to a major release.</p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-require="TYPO3/CMS/Install/Module/Upgrade/UpgradeWizards">Run Upgrade Wizard</button>
        </div>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'View Upgrade Documentation', subtitle: 'Core Upgrade', icon: 'Icons/modules/install-documentation.svg'}" />
        <div class="card-body">
            <p class="card-text">View and search for important changes that have been made for every major and minor release of TYPO3.</p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-require="TYPO3/CMS/Install/Module/Upgrade/UpgradeDocs">View Upgrade Documentation</button>
        </div>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'Check TCA in ext_tables.php', subtitle: 'TCA', icon: 'Icons/modules/install-check-extables.svg'}" />
        <div class="card-body">
            <p class="card-text">Identify any extensions that are modifying the Table Control Array (TCA) in ext_tables.php. Changes made to the TCA can result in performance drawbacks.
            </p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-require="TYPO3/CMS/Install/Module/Upgrade/TcaExtTablesCheck">Check TCA</button>
        </div>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'Check for Broken Extensions', subtitle: 'Extensions', icon: 'Icons/modules/install-check-brokenextension.svg'}" />
        <div class="card-body">
            <p class="card-text">Checks the compatibility of all active extensions against the current (installed) version of TYPO3.</p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-modal-size="small" data-require="TYPO3/CMS/Install/Module/Upgrade/ExtensionCompatTester">Check Extension Compatibility</button>
        </div>
    </div>
    <div class="card card-size-fixed-small">
        <f:render partial="Card/Header" arguments="{ title: 'Check TCA Migrations', subtitle: 'TCA', icon: 'Icons/modules/install-check-tca.svg'}" />
        <div class="card-body">
            <p class="card-text">Identifies any third-party extensions that contain an outdated TCA configuration which should be adapted for the current (installed) version of TYPO3.</p>
        </div>
        <div class="card-footer">
            <button type="button" class="btn btn-default" data-require="TYPO3/CMS/Install/Module/Upgrade/TcaMigrationsCheck">Check TCA Migrations</button>
        </div>
    </div>
    <div class="card card-size-fixed-small {f:if(condition:'!{extensionFoldersInTypo3conf}', then: 'card-disabled')}">
        <f:render partial="Card/Header" arguments="{ title: 'Scan Extension Files', subtitle: 'Extensions', icon: 'Icons/modules/install-scan-extensions.svg'}" />
        <div class="card-body">
            <p class="card-text">Scan extensions for usage of deprecated or outdated TYPO3 API calls.</p>
        </div>
        <f:if condition="{extensionFoldersInTypo3conf}">
            <f:then>
                <div class="card-footer">
                    <button type="button" class="btn btn-default" data-require="TYPO3/CMS/Install/Module/Upgrade/ExtensionScanner">Scan Extension Files</button>
                </div>
            </f:then>
            <f:else>
                <div class="card-footer text-muted">
                    You can't use this feature, because no extension folders were found.
                </div>
            </f:else>
        </f:if>
    </div>
</div>

</html>
