<%! title = 'App Install' %> <%namespace name="lib" file="//lib.html" import="*"/> <%namespace name="helpers" file="//admin/_helpers.html"/> <%inherit file="//layout/admin.html" /> <% import splunk from splunk.appserver.mrsparkle.lib import util, i18n implicit_id_required = splunk.util.normalizeBoolean(state.get('implicit_id_required', None)) import xml.sax.saxutils as su appText = util.getAppType() productName = util.getProductName() escapedAppName = su.escape(appname) %> % if error: <%helpers:message content="${error}" level="error"/> % endif

% if implicit_id_required: ${_('Overwrite from Splunkbase')} % else: ${_('Update from Splunkbase')} % endif

${csrf_hidden_input()}

% if implicit_id_required: ${_('Note: %(appname)s does not have a valid %(appText)s ID ' 'and may not have originated from Splunkbase. Overwriting the local copy of ' '%(appname)s with the newest version on Splunkbase might ' 'cause Splunk %(productName)s to restart.' % dict(appText=appText, appname=escapedAppName))} % else: ${_('Note: Updating %(appname)s from Splunkbase might cause Splunk %(productName)s to restart.' % dict(appname=escapedAppName, productName=productName))} % endif

% if implicit_id_required: ${_('Accept the following license agreement to overwrite the %(appText)s:') % dict(appText=appText)} % else: ${_('Accept the following license agreement to update the %(appText)s:') % dict(appText=appText)} % endif

${_('The %(appText)s, and any related dependency that will be installed, may be ' 'provided by Splunk and/or a third party and your right to use these %(appText)s(s) ' 'is in accordance with the applicable license(s) provided by Splunk and/or the ' 'third-party licensor. Splunk is not responsible for any third-party %(appText)s ' 'and does not provide any warranty or support. If you have any questions, complaints ' 'or claims with respect to an %(appText)s, please contact the applicable licensor ' 'directly whose contact information can be found on the Splunkbase download page.' % dict(appText=appText))}

${_('%(appname)s is governed by the following license: ' % dict(appname=escapedAppName))} ${app_license}

${_('Please accept the terms and conditions.')}