<@pageContainer> <@pageColumn> <@pageHeader title='#i18n{portal.system.manage_plugins.labelTitleList}' actions=true> <@div> <@tform method='post' type='inline'> <@formGroup labelFor='plugin_type' labelKey='#i18n{portal.system.manage_plugins.buttonFilter}' hideLabel=['all'] formStyle='inline'> <@inputGroup> <@input type='text' name='search_plugins' id='search_plugins' placeHolder='#i18n{portal.system.manage_plugins.buttonFilter}' params='autocomplete="off" addons' /> <@button color='primary' title='#i18n{portal.system.manage_plugins.buttonFilter}' buttonIcon='filter' hideTitle=['all'] /> <@tform method='post' name='FilterPluginsForm' action='jsp/admin/system/ManagePlugins.jsp' type='inline'> <@formGroup labelKey='#i18n{portal.system.manage_plugins.labelComboFilter}' labelFor='plugin_type' hideLabel=['all'] formStyle='inline'> <@inputGroup> <@select sort=true name='plugin_type' default_value='${current_filter}' items=filter_list params='addons' /> <@button type='submit' color='primary' buttonIcon='search' title='Search' hideTitle=['all'] /> <#if plugins_list?has_content> <@row id='plugins'> <@columns xs=12 sm=6 lg=4 params='data-plugin="${core.name}"'> <@box> <#assign logo><@img url=core.iconUrl alt='logo' title=core.name class='thumbnail thumbnail-sm' params=" onerror=\"this.onerror=null;this.src='themes/admin/shared/images/apps.svg'\"" /> <@boxHeader title='${logo} ${core.name}' class="searchable" boxTools=true> #i18n{portal.system.manage_plugins.labelVersion}: ${core.version} <@boxBody class="searchable"> <@p class='mb-2'>#i18n{${core.description}} <@p class='mb-0'><@icon style='user' /> #i18n{portal.system.manage_plugins.labelAuthor} : #i18n{${core.provider}} <@p class='mb-0'><@icon style='globe' /> #i18n{portal.system.manage_plugins.labelAuthorUrl} : <@link href='${core.providerUrl}' target='_blank'>${core.providerUrl} <@boxFooter> <@offcanvas targetUrl="jsp/admin/system/ViewPluginDescription.jsp?plugin_name=${core.name}" targetElement="#plugin-content" id="plugin-core" btnIcon="info-circle" btnColor="info" position="end" title="#i18n{portal.system.view_plugin.boxTitlePluginDetail} ${core.name}" /> <#list plugins_list as plugin> <@columns xs=12 sm=6 lg=4 id='plugin_${plugin.name}_${plugin.version}' params='data-plugin="${plugin.name}"'> <@box> <#assign logo><@img url='${plugin.iconUrl}' alt='logo' class='thumbnail thumbnail-sm' title='${plugin.name}' params=' onerror="this.onerror=null;this.src=\'themes/admin/shared/images/apps.svg\'"' /> <@boxHeader title='${logo} ${plugin.name}' class='searchable' titleAuto=false boxTools=true> #i18n{portal.system.manage_plugins.labelVersion}: ${plugin.version} <@p class='my-1'> <#if plugin.installed> <@tag color='success' title='#i18n{portal.system.manage_caches.imgAltEnable}'> <@icon style='check-circle' /> #i18n{portal.system.manage_caches.imgAltEnable} <#else> <@tag color='danger' title='#i18n{portal.system.manage_caches.imgAltDisable}'> <@icon style='times-circle' /> #i18n{portal.system.manage_caches.imgAltDisable} <@boxBody class="searchable"> <@p class='mb-2'>#i18n{${plugin.description}} <@p class='mb-0'> <@icon style='user' />#i18n{portal.system.manage_plugins.labelAuthor} : #i18n{${plugin.provider}} <@p class='mb-0'> <@icon style='globe' />#i18n{portal.system.manage_plugins.labelAuthorUrl} : <@link href='${plugin.providerUrl}' target='_blank'>${plugin.providerUrl} <@boxFooter> <#if plugin.installed> <#if plugin.dbPoolRequired> <@tform method='post' type='inline' align='middle' action='jsp/admin/system/DoModifyPluginPool.jsp#plugin_${plugin.name}_${plugin.version}'> <@input type='hidden' name='plugin_name' value='${plugin.name}' /> <@input type='hidden' name='token' value='${token}' /> <@formGroup rows=2 groupStyle='inline' formStyle='inline'> <@inputGroup> <@select name='db_pool_name' default_value='${plugin.dbPoolName}' items=pools_list sort=true /> <@button type='submit' title='#i18n{portal.system.manage_plugins.buttonModifyDbPool}' buttonIcon='check' color='primary' hideTitle=['all'] /> <@offcanvas targetUrl="jsp/admin/system/ViewPluginDescription.jsp?plugin_name=${plugin.name}" targetElement="#plugin-content" id="plugin-${plugin?index}" btnIcon="info-circle" btnColor="info me-1" position="end" title="#i18n{portal.system.view_plugin.boxTitlePluginDetail} ${plugin.name}" /> <#if plugin.installed> <@aButton href='jsp/admin/system/ConfirmUninstallPlugin.jsp?plugin_name=${plugin.name}' title='#i18n{portal.system.manage_plugins.buttonDisable}' buttonIcon='stop' hideTitle=['all'] color='danger' /> <#else> <@tform method='post' type='inline' align='middle' action='jsp/admin/system/DoInstallPlugin.jsp#plugin_${plugin.name}_${plugin.version}'> <@input type='hidden' name='plugin_name' value='${plugin.name}' /> <@input type='hidden' name='token' value='${token}' /> <@button type='submit' title='#i18n{portal.system.manage_plugins.buttonEnable}' buttonIcon='play' hideTitle=['all'] color='success' /> <#else> <@empty title='#i18n{portal.system.manage_plugins.filterNoResult}' subtitle=' ' />