<commit_before><?php
/**
 * ownCloud - ocDownloader
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the LICENSE file.
 *
 * @author <NAME> <www.sgc-univ.net>
 * @copyright <NAME> 2015
 */
style ('ocdownloader', 'styles.min');
script ('ocdownloader', 'badger.min');
script ('ocdownloader', 'ocdownloader.min');
//script ('files', 'jquery.iframe-transport');
script ('files', 'jquery.fileupload');
script ('ocdownloader', 'add.min');

$g = \OC::$server->getURLGenerator ();
?>
<div id="app">
    <div id="app-navigation">
        <?php print_unescaped ($this->inc ('part.navigation')); ?>
    </div>
    <div id="app-content">
        <div id="app-content-wrapper">
            <div id="controls">
                <div class="actions">
                    <div id="NewDL">
                        <?php if ($_['AllowProtocolHTTP']){ ?>
                        <div class="button" data-rel="OCDHTTP">
                            <p data-rel="OCDHTTP">HTTP</p>
                        </div>
                        <?php } ?>
                        <?php if ($_['AllowProtocolFTP']){ ?>
                        <div class="button" data-rel="OCDFTP">
                            <p data-rel="OCDFTP">FTP</p>
                        </div>
                        <?php } ?>
                        <?php if ($_['AllowProtocolYT']){ ?>
                        <div class="button" data-rel="OCDYT">
                            <p data-rel="OCDYT">YOUTUBE</p>
                        </div>
                        <?php } ?>
                        <?php if ($_['AllowProtocolBT'] && strcmp ($_['WD'], 'ARIA2') == 0){ ?>
                        <div class="button" data-rel="OCDBT">
                            <p data-rel="OCDBT">BITTORRENT</p>
                        </div>
                        <?php } ?>
                    </div>
                </div>
                <div class="righttitle"><?php print ($l->t ('Add Download')); ?></div>
                <div style="float: right;"><p class="lead"><?php print ($l->t (' using <strong>%s</strong>', $_['WD'])); ?></p></div>
            </div>
            <?php if ($_['AllowProtocolHTTP']): ?>
            <div class="content-page" rel="OCDHTTP">
                <h3><commit_msg>Fix text in top button for Magnet links<commit_after><?php
/**
 * ownCloud - ocDownloader
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the LICENSE file.
 *
 * @author <NAME> <www.sgc-univ.net>
 * @copyright <NAME> 2015
 */
style ('ocdownloader', 'styles.min');
script ('ocdownloader', 'badger.min');
script ('ocdownloader', 'ocdownloader.min');
//script ('files', 'jquery.iframe-transport');
script ('files', 'jquery.fileupload');
script ('ocdownloader', 'add.min');

$g = \OC::$server->getURLGenerator ();
?>
<div id="app">
    <div id="app-navigation">
        <?php print_unescaped ($this->inc ('part.navigation')); ?>
    </div>
    <div id="app-content">
        <div id="app-content-wrapper">
            <div id="controls">
                <div class="actions">
                    <div id="NewDL">
                        <?php if ($_['AllowProtocolHTTP']){ ?>
                        <div class="button" data-rel="OCDHTTP">
                            <p data-rel="OCDHTTP"><?php ($_['AllowProtocolBT'] && strcmp ($_['WD'], 'ARIA2') == 0) ? print ($l->t ('Magnet/HTTP')) : print ($l->t ('HTTP')); ?></p>
                        </div>
                        <?php } ?>
                        <?php if ($_['AllowProtocolFTP']){ ?>
                        <div class="button" data-rel="OCDFTP">
                            <p data-rel="OCDFTP">FTP</p>
                        </div>
                        <?php } ?>
                        <?php if ($_['AllowProtocolYT']){ ?>
                        <div class="button" data-rel="OCDYT">
                            <p data-rel="OCDYT">YOUTUBE</p>
                        </div>
                        <?php } ?>
                        <?php if ($_['AllowProtocolBT'] && strcmp ($_['WD'], 'ARIA2') == 0){ ?>
                        <div class="button" data-rel="OCDBT">
                            <p data-rel="OCDBT">BITTORRENT</p>
                        </div>
                        <?php } ?>
                    </div>
                </div>
                <div class="righttitle"><?php print ($l->t ('Add Download')); ?></div>
                <div style="float: right;"><p class="lead"><?php print ($l->t (' using <strong>%s</strong>', $_['WD'])); ?></p></div>
            </div>
            <?php if ($_['AllowProtocolHTTP']): ?>
            <div class="content-page" rel="OCDHTTP">
                <h3>
{'fraction_non_alphanumeric': 0.18929254302103252, 'fraction_numerical': 0.0038240917782026767, 'mean_word_length': 1.524396782841823, 'pattern_counts': {'":': 0, '<': 110, '<?xml version=': 0, '>': 120, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6566844', 'n_tokens_mistral': 1373, 'n_tokens_neox': 1319, 'n_words': 292}