. */ use OCP\IURLGenerator; use OCP\IConfig; use OCA\SideMenu\AppInfo\Application; vendor_script('side_menu', 'html5sortable.min'); script('side_menu', 'admin'); style('side_menu', 'admin'); $urlGenerator = \OC::$server[IURLGenerator::class]; $cacheSize = floor(mb_strlen(\OC::$server[IConfig::class]->getAppValue(Application::APP_ID, 'cache-categories', ''), '8bit') / 1024); $choicesYesNo = [ 'No' => '0', 'Yes' => '1', ]; $choicesSizes = [ 'Hidden' => 'hidden', 'Small' => 'small', 'Normal' => 'normal', 'Big' => 'big', ]; ?>

t('Colors')); ?> t('Live preview')); ?>

t('Background color')); ?>
t('Transparent')); ?> t('Opaque')); ?>
t('Background color of current app')); ?>
t('Text color')); ?>
t('Loader')); ?>
t('Icon')); ?>
t('Same color')); ?> t('Opposite color')); ?>
t('Transparent')); ?> t('Opaque')); ?>
'side-menu-opener', 'Default (dark)' => 'side-menu-opener-dark', 'Hamburger' => 'side-menu-opener-hamburger', 'Hamburger (dark)' => 'side-menu-opener-hamburger-dark', 'Hamburger 2' => 'side-menu-opener-hamburger-2', 'Hamburger 2 (dark)' => 'side-menu-opener-hamburger-2-dark', ]; ?>
t('Icon')); ?>

t('Dark mode colors')); ?>

t('This parameters are used when Dark theme or Breeze Dark Theme are enabled.'); ?>

t('Background color')); ?>
t('Transparent')); ?> t('Opaque')); ?>
t('Background color of current app')); ?>
t('Text color')); ?>
t('Loader')); ?>
t('Icon')); ?>
t('Same color')); ?> t('Opposite color')); ?>
t('Transparent')); ?> t('Opaque')); ?>
'side-menu-opener', 'Default (dark)' => 'side-menu-opener-dark', 'Hamburger' => 'side-menu-opener-hamburger', 'Hamburger (dark)' => 'side-menu-opener-hamburger-dark', 'Hamburger 2' => 'side-menu-opener-hamburger-2', 'Hamburger 2 (dark)' => 'side-menu-opener-hamburger-2-dark', ]; ?>
t('Icon')); ?>

t('Opener')); ?>

'before', 'After the logo' => 'after', ]; ?>
t('Position')); ?>
t('Show only the opener (hidden logo)')); ?>
t('Do not display the side menu and the opener if there is no application (eg: public pages).')); ?>

t('Panel')); ?>

!$_['always-displayed'] && !$_['big-menu'] && !$_['side-with-categories'], 'always-displayed' => $_['always-displayed'] && !$_['big-menu'] && !$_['side-with-categories'], 'side-with-categories' => $_['side-with-categories'] && !$_['always-displayed'] && !$_['big-menu'], 'big-menu' => $_['big-menu'] && !$_['always-displayed'] && !$_['side-with-categories'], ]; ?>

<?php p($l->t('Default')); ?>

t('This menu is not compatible with AppOrder.'); ?>

<?php p($l->t('With categories')); ?>

t('This menu is not compatible with AppOrder.'); ?>

<?php p($l->t('Big menu')); ?>

t('Not compatible with touch screens.')); ?>

<?php p($l->t('Always displayed')); ?>


t('Open the menu when the mouse is hover the opener (automatically disabled on touch screens)')); ?>
t('This is the automatic behavior when the menu is always displayed.')); ?>
t('Display the logo')); ?>
t('This feature is not compatible with the big menu display.'); ?>
t('The logo will be hidden when the menu is always displayed.')); ?>
t('Use the avatar instead of the logo')); ?>
t('The logo is a link to the default app')); ?>
t('Apps that should not be displayed in the menu')); ?>
t('This feature is only compatible with the big menu display.'); ?>
t('Show the link to settings')); ?>
t('Icons and texts')); ?>
t('Open apps in new tab')); ?>
t('Loader enabled')); ?>

t('Top menu')); ?>

t('Apps that not must be moved in the side menu')); ?>

t('Categories')); ?>

'default', 'Customed' => 'custom', ]; ?>
t('Order by')); ?>
t('Custom categories')); ?>
t('Customize application categories')); ?>
🖱️ t('Show and hide the list of applications')); ?>
t('Customize sorting')); ?>
🖱️ t('Show and hide the list of categories')); ?> ' name="categories-order" class="side-menu-setting">

t('Tips')); ?>

t('Use the shortcut Ctrl+o to open and to hide the side menu. Use tab to navigate.'); ?>

t('The menu is enabled by default for users')); ?>
t('Except when the configuration is forced.')); ?>
t('Force this configuration to users')); ?>
t('You like this app and you want to support me?')); ?>