track type default

This commit is contained in:
Codenift 2020-05-04 00:32:52 -04:00
parent f87dc5cbbc
commit 5ef67836cf
7 changed files with 93 additions and 64 deletions

View file

@ -25,9 +25,11 @@
<?php
if (isset($_COOKIE['tt_upload'])) {
$ttsaved = $_COOKIE['tt_upload'];
$timer_icon = '<i class="icon-time icon-white"></i>';
} else {
// Use default track type
$ttsaved = "MUS";
// Use default track type
$ttsaved = Application_Model_Preference::GetTrackTypeDefault();
$timer_icon = '';
}
?>
@ -66,7 +68,7 @@
}
?>
<H2><?php echo _("Upload")?> <span id="upload_type" <?php echo ($showTracktypesDropdown && $ttTitle!="") ? 'style="color:#ff611f"' : "" ?>>
<?php echo ($showTracktypesDropdown && $ttTitle!="") ? $ttTitle : "Tracks"; ?></span></H2>
<?php echo ($showTracktypesDropdown && $ttTitle!="") ? $ttTitle : "Tracks"; ?></span> <?php echo $timer_icon; ?></H2>
<form action="/rest/media" method="post" id="add-media-dropzone" class="dropzone dz-clickable">
<?php echo $this->form->getElement('csrf') ?>
<div class="dz-message">