<commit_before>[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]

[{if $readonly }]
    [{assign var="readonly" value="readonly disabled"}]
[{else}]
    [{assign var="readonly" value=""}]
[{/if}]

[{if !$allowSharedEdit }]
    [{assign var="disableSharedEdit" value="readonly disabled"}]
[{else}]
    [{assign var="disableSharedEdit" value=""}]
[{/if}]

<div id="magicarea" ng-app="main">

    <div ng-controller="IolyCtrl">

        [{if $iolyerrorfatal ne ''}]
            <h1>[{oxmultilang ident='IOLY_MAIN_TITLE'}]</h1>
            <div class="error alert alert-danger alert-dismissable">
                [{$iolyerrorfatal}]
            </div>
        [{else}]

            <script type="text/ng-template" id="myModalContent.html">
                <div class="modal-header">
                    <h3 class="modal-title">Info</h3>
                </div>
                <div class="modal-body" ng-bind-html="content">
                    {{content}}
                </div>
                <div class="modal-footer">
                    <button class="btn btn-primary" ng-click="ok()">OK</button>
                </div>
            </script>
        
            <div id="iolyheadline">
                <h1>[{oxmultilang ident='IOLY_MAIN_TITLE'}]</h1>
                <div id="iolyinfo">
                    <div id='iolyintrotext'>[{oxmultilang ident="IOLY_MAIN_INFOTEXT"}]</div>
                    <div id="contributors">
                        <ul id='contributorslist'>
                            <li ng-repeat="contributor in contributors | unique: 'login'">
                                <a target='_blank' href='{{contributor.html_url}}'><img ng-src='{{contributor.avatar_url}}' style='border-radius: 100%; width: 20px;' alt='{{contributor.login}}' title='{{contributor.login}}' border='0'/></a>
                            </li>
                        </ul>
                    </div>
                </div>
                <br/>
                <div class="">
                    <label class="btn btn-primary" ng-click="updateIoly()">[{oxmultilang ident='IOLY_IOLY_UPDATE_BUTTON'}]</label>
                    <label class="btn btn-primary" ng-click="updateRecipes()">[{oxmultilang ident='IOLY_RECIPE_UPDATE_BUTTON'}]</label>
                    <label class="btn btn-primary" ng-click="updateConnector('[{oxmultilang ident='IOLY_CONNECTOR_UPDATE_SUCCESS'}]')">[{oxmultilang ident='IOLY_CONNECTOR_UPDATE_BUTTON'}]</label>
                </div>      
            </div>
            <div id="iolylogo">
                <img src="[{$oViewConf->getModuleUrl('ioly', 'ioly_logo.png')}]" border="0" alt="" title=""/>
                <div id="recipeCounter">
                    {{numRecipes}} [{oxmultilang ident="IOLY_RECIPES"}]
                </div>
            </div>
            <div class="clear"></div>
            
            <br>
            <a name="iolyerrors" id="iolyerrors"></a>
            [{if $iolyerror ne ''}]
                <div id="iolyerror" class="alert alert-danger alert-dismissable">
                    [{$iolyerror}]
                </div>
            [{/if}]

            [{if $iolymsg ne ''}]
            	<script>
                	setTimeout(function() {
        				document.getElementById('iolymsg').style.display = 'none';
    				}, 4000);
            	</script>
            	<div id="iolymsg" class="alert alert-success alert-dismissable">
                	[{$iolymsg}]
            	</div>
            [{/if}]

            <div>
                <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)"><span ng-bind-html="alert.trustedMsg"></span></alert>
            </div>
            
            <table id="iolyNgTable" ng-table="tableParams" show-filter="true" class="table">
                <tbody>
                <tr ng-repeat="module in $data">
                    <td data-title="'[{oxmultilang ident="IOLY_MODULE_NAME"}]'" sortable="'name'" filter="{ 'name': 'text' }" style="width: 50%;">
                        <div ng-hide="module.installed">
                        	<h2>{{module.name}}</h2>
                        	<p>{{module.desc.[{$langabbrev}]}}</p>
                        	<span class="glyphicon glyphicon-user"></span>&nbsp; {{module.vendor}}
                        	&nbsp;&nbsp;&nbsp;
                        	<span class="glyphicon glyphicon-euro"></span>&nbsp; <span ng-if="module.price == '0.00'">[{oxmultilang ident='IOLY_PRICE_FREE'}]</span><span ng-if="module.price != '0.00'">{{module.price}}</span>
                        	<br><br>
                        </div>
                        <div ng-show="module.installed" style="color: #449d44;">
                        	<h2>{{module.name}} <span class="glyphicon glyphicon-ok-sign"></span></h2>
                        	<p>{{module.desc.[{$langabbrev}]}}</p>
                        	<span class="glyphicon glyphicon-user"></span>&nbsp; {{module.vendor}}
                        	&nbsp;&nbsp;&nbsp;
                        	<span class="glyphicon glyphicon-euro"></span>&nbsp; <span ng-if="module.price == '0.00'">kostenlos</span><span ng-if="module.price != '0.00'">{{module.price}}</span>
                        	<br><br>
                        </div>
                    </td>
                    <td data-title="''" style="width: 35%;"></td>
                    <td data-title="'[{oxmultilang ident="IOLY_MODULE_DOWNLOAD"}]'" class="iolydownloadtd" style="width: 15%;">
                        <table>
                            <tr ng-repeat="(key, version) in module.versions">
                                <td class="iolynoline">
                                    <div ng-hide="version.installed" style="margin-bottom: 5px;"><button tooltip-placement="left" tooltip="[{oxmultilang ident='IOLY_INSTALL_MODULE_HINT'}]" type="submit" ng-click="downloadModule(module.packageString, key, '[{oxmultilang ident="IOLY_MODULE_DOWNLOAD_SUCCESS"}]')" class="loadModuleButton btn btn-large buttonwidth" ng-class="{'btn-success': version.matches, 'btn-error' : !version.matches}"><span class="glyphicon glyphicon-download"></span> [{oxmultilang ident="IOLY_BUTTON_DOWNLOAD_VERSION_1"}] {{key}} [{oxmultilang ident="IOLY_BUTTON_DOWNLOAD_VERSION_2" }]</button></div>
                                    <div ng-show="version.installed" style="margin-bottom: 5px;"><button tooltip-placement="left" tooltip="[{oxmultilang ident='IOLY_REINSTALL_MODULE_HINT'}]" type="submit" ng-click="downloadModule(module.packageString, key, '[{oxmultilang ident="IOLY_MODULE_DOWNLOAD_SUCCESS"}]')" class="loadModuleButton btn btn-large buttonwidth" ng-class="{'btn-warning': version.matches, 'btn-error' : !version.matches}"><span class="glyphicon glyphicon-play-circle"></span> [{oxmultilang ident="IOLY_BUTTON_DOWNLOAD_VERSION_1"}] {{key}} [{oxmultilang ident="IOLY_BUTTON_DOWNLOAD_VERSION_3" }]</button></div>
                                    <div ng-show="version.installed" style="margin-bottom: 5px;"><button tooltip-placement="bottom" tooltip="[{oxmultilang ident='IOLY_UNINSTALL_MODULE_HINT'}]" type="submit" ng-click="removeModule(module.packageString, key, '[{oxmultilang ident="IOLY_MODULE_UNINSTALL_SUCCESS"}]')" class="loadModuleButton  btn btn-large btn-danger buttonwidth"><span class="glyphicon glyphicon-remove-circle"></span> [{oxmultilang ident="IOLY_BUTTON_REMOVE_VERSION_1"}] {{key}} [{oxmultilang ident="IOLY_BUTTON_REMOVE_VERSION_2"}]</button><br/></div>
                                    <div class="clear"></div>
                                    <div class="iolyinfodiv">
                                            <div ng:repeat="(subkey, versiondata) in version">
                                                <div ng-switch="subkey">
                                                    <div ng-switch-when="supported" style="float: left;  margin-left: 15px;">
                                                        <span class="glyphicon glyphicon-ok-sign"></span> [{oxmultilang ident="IOLY_OXID_VERSIONS"}] <span ng-class="{success: oxidversion == '[{ $oView->getShopMainVersion() }]'}" ng:repeat="oxidversion in versiondata">{{oxidversion}}<span ng-if="!$last">,</span> </span>
                                                    </div>
                                                    <div ng-switch-when="project" style="float: left;">
                                                    	<span class="glyphicon glyphicon-info-sign"></span> <a href="{{versiondata}}" target="_blank">[{oxmultilang ident="IOLY_PROJECT_URL"}]</a> <commit_msg>display module license info<commit_after>[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]

[{if $readonly }]
    [{assign var="readonly" value="readonly disabled"}]
[{else}]
    [{assign var="readonly" value=""}]
[{/if}]

[{if !$allowSharedEdit }]
    [{assign var="disableSharedEdit" value="readonly disabled"}]
[{else}]
    [{assign var="disableSharedEdit" value=""}]
[{/if}]

<div id="magicarea" ng-app="main">

    <div ng-controller="IolyCtrl">

        [{if $iolyerrorfatal ne ''}]
            <h1>[{oxmultilang ident='IOLY_MAIN_TITLE'}]</h1>
            <div class="error alert alert-danger alert-dismissable">
                [{$iolyerrorfatal}]
            </div>
        [{else}]

            <script type="text/ng-template" id="myModalContent.html">
                <div class="modal-header">
                    <h3 class="modal-title">Info</h3>
                </div>
                <div class="modal-body" ng-bind-html="content">
                    {{content}}
                </div>
                <div class="modal-footer">
                    <button class="btn btn-primary" ng-click="ok()">OK</button>
                </div>
            </script>
        
            <div id="iolyheadline">
                <h1>[{oxmultilang ident='IOLY_MAIN_TITLE'}]</h1>
                <div id="iolyinfo">
                    <div id='iolyintrotext'>[{oxmultilang ident="IOLY_MAIN_INFOTEXT"}]</div>
                    <div id="contributors">
                        <ul id='contributorslist'>
                            <li ng-repeat="contributor in contributors | unique: 'login'">
                                <a target='_blank' href='{{contributor.html_url}}'><img ng-src='{{contributor.avatar_url}}' style='border-radius: 100%; width: 20px;' alt='{{contributor.login}}' title='{{contributor.login}}' border='0'/></a>
                            </li>
                        </ul>
                    </div>
                </div>
                <br/>
                <div class="">
                    <label class="btn btn-primary" ng-click="updateIoly()">[{oxmultilang ident='IOLY_IOLY_UPDATE_BUTTON'}]</label>
                    <label class="btn btn-primary" ng-click="updateRecipes()">[{oxmultilang ident='IOLY_RECIPE_UPDATE_BUTTON'}]</label>
                    <label class="btn btn-primary" ng-click="updateConnector('[{oxmultilang ident='IOLY_CONNECTOR_UPDATE_SUCCESS'}]')">[{oxmultilang ident='IOLY_CONNECTOR_UPDATE_BUTTON'}]</label>
                </div>      
            </div>
            <div id="iolylogo">
                <img src="[{$oViewConf->getModuleUrl('ioly', 'ioly_logo.png')}]" border="0" alt="" title=""/>
                <div id="recipeCounter">
                    {{numRecipes}} [{oxmultilang ident="IOLY_RECIPES"}]
                </div>
            </div>
            <div class="clear"></div>
            
            <br>
            <a name="iolyerrors" id="iolyerrors"></a>
            [{if $iolyerror ne ''}]
                <div id="iolyerror" class="alert alert-danger alert-dismissable">
                    [{$iolyerror}]
                </div>
            [{/if}]

            [{if $iolymsg ne ''}]
            	<script>
                	setTimeout(function() {
        				document.getElementById('iolymsg').style.display = 'none';
    				}, 4000);
            	</script>
            	<div id="iolymsg" class="alert alert-success alert-dismissable">
                	[{$iolymsg}]
            	</div>
            [{/if}]

            <div>
                <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)"><span ng-bind-html="alert.trustedMsg"></span></alert>
            </div>
            
            <table id="iolyNgTable" ng-table="tableParams" show-filter="true" class="table">
                <tbody>
                <tr ng-repeat="module in $data">
                    <td data-title="'[{oxmultilang ident="IOLY_MODULE_NAME"}]'" sortable="'name'" filter="{ 'name': 'text' }" style="width: 50%;">
                        <div ng-hide="module.installed">
                        	<h2>{{module.name}}</h2>
                        	<p>{{module.desc.[{$langabbrev}]}}</p>
                        	<span class="glyphicon glyphicon-user"></span>&nbsp; {{module.vendor}}
                        	&nbsp;&nbsp;&nbsp;
                            <span class="glyphicon glyphicon-info-sign"></span>&nbsp; {{module.license}}
                            &nbsp;&nbsp;&nbsp;
                        	<span class="glyphicon glyphicon-euro"></span>&nbsp; <span ng-if="module.price == '0.00'">[{oxmultilang ident='IOLY_PRICE_FREE'}]</span><span ng-if="module.price != '0.00'">{{module.price}}</span>
                        	<br><br>
                        </div>
                        <div ng-show="module.installed" style="color: #449d44;">
                        	<h2>{{module.name}} <span class="glyphicon glyphicon-ok-sign"></span></h2>
                        	<p>{{module.desc.[{$langabbrev}]}}</p>
                        	<span class="glyphicon glyphicon-user"></span>&nbsp; {{module.vendor}}
                        	&nbsp;&nbsp;&nbsp;
                            <span class="glyphicon glyphicon-info-sign"></span>&nbsp; {{module.license}}
                            &nbsp;&nbsp;&nbsp;
                        	<span class="glyphicon glyphicon-euro"></span>&nbsp; <span ng-if="module.price == '0.00'">kostenlos</span><span ng-if="module.price != '0.00'">{{module.price}}</span>
                        	<br><br>
                        </div>
                    </td>
                    <td data-title="''" style="width: 35%;"></td>
                    <td data-title="'[{oxmultilang ident="IOLY_MODULE_DOWNLOAD"}]'" class="iolydownloadtd" style="width: 15%;">
                        <table>
                            <tr ng-repeat="(key, version) in module.versions">
                                <td class="iolynoline">
                                    <div ng-hide="version.installed" style="margin-bottom: 5px;"><button tooltip-placement="left" tooltip="[{oxmultilang ident='IOLY_INSTALL_MODULE_HINT'}]" type="submit" ng-click="downloadModule(module.packageString, key, '[{oxmultilang ident="IOLY_MODULE_DOWNLOAD_SUCCESS"}]')" class="loadModuleButton btn btn-large buttonwidth" ng-class="{'btn-success': version.matches, 'btn-error' : !version.matches}"><span class="glyphicon glyphicon-download"></span> [{oxmultilang ident="IOLY_BUTTON_DOWNLOAD_VERSION_1"}] {{key}} [{oxmultilang ident="IOLY_BUTTON_DOWNLOAD_VERSION_2" }]</button></div>
                                    <div ng-show="version.installed" style="margin-bottom: 5px;"><button tooltip-placement="left" tooltip="[{oxmultilang ident='IOLY_REINSTALL_MODULE_HINT'}]" type="submit" ng-click="downloadModule(module.packageString, key, '[{oxmultilang ident="IOLY_MODULE_DOWNLOAD_SUCCESS"}]')" class="loadModuleButton btn btn-large buttonwidth" ng-class="{'btn-warning': version.matches, 'btn-error' : !version.matches}"><span class="glyphicon glyphicon-play-circle"></span> [{oxmultilang ident="IOLY_BUTTON_DOWNLOAD_VERSION_1"}] {{key}} [{oxmultilang ident="IOLY_BUTTON_DOWNLOAD_VERSION_3" }]</button></div>
                                    <div ng-show="version.installed" style="margin-bottom: 5px;"><button tooltip-placement="bottom" tooltip="[{oxmultilang ident='IOLY_UNINSTALL_MODULE_HINT'}]" type="submit" ng-click="removeModule(module.packageString, key, '[{oxmultilang ident="IOLY_MODULE_UNINSTALL_SUCCESS"}]')" class="loadModuleButton  btn btn-large btn-danger buttonwidth"><span class="glyphicon glyphicon-remove-circle"></span> [{oxmultilang ident="IOLY_BUTTON_REMOVE_VERSION_1"}] {{key}} [{oxmultilang ident="IOLY_BUTTON_REMOVE_VERSION_2"}]</button><br/></div>
                                    <div class="clear"></div>
                                    <div class="iolyinfodiv">
                                            <div ng:repeat="(subkey, versiondata) in version">
                                                <div ng-switch="subkey">
                                                    <div ng-switch-when="supported" style="float: left;  margin-left: 15px;">
                                                        <span class="glyphicon glyphicon-ok-sign"></span> [{oxmultilang ident="IOLY_OXID_VERSIONS"}] <span ng-class="{success: oxidversion == '[{ $oView->getShopMainVersion() }]'}" ng:repeat="oxidversion in versiondata">{{oxidversion}}<span ng-if="!$last">,</span> </span>
                                                    </div>
                                                    <div ng-switch-when="project" style="float: left;">
                                                    	<span class="glyphicon glyphicon-info-sign"></span> <a href="{{versiondata}}" target="_blank">[{oxmultilang ident="IOLY_PROJECT_URL"}]</a> 
{'fraction_non_alphanumeric': 0.1680238559467829, 'fraction_numerical': 0.006308062851244409, 'mean_word_length': 2.025503122831367, 'pattern_counts': {'":': 0, '<': 303, '<?xml version=': 0, '>': 307, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 60, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6073387', 'n_tokens_mistral': 5309, 'n_tokens_neox': 4882, 'n_words': 777}