LBRY for
+LBRY is
+diff --git a/controller/action/DownloadActions.class.php b/controller/action/DownloadActions.class.php index 4c9a58eb..b1e9a319 100644 --- a/controller/action/DownloadActions.class.php +++ b/controller/action/DownloadActions.class.php @@ -36,6 +36,8 @@ class DownloadActions extends Actions 'os' => $os, 'osTitle' => $osTitle, 'osIcon' => $osIcon, + 'hasMatchingInvite' => isset($_POST['invite']) && preg_match('/^(pfa|pfb).*$/', $_POST['invite']), + 'hasInvite' => isset($_POST['invite']) && $_POST['invite'], 'downloadHtml' => View::exists('download/' . $partial) ? View::render('download/' . $partial, ['downloadUrl' => static::getDownloadUrl($os)]) : false diff --git a/view/template/download/_videoIntro.php b/view/template/download/_videoIntro.php index 9c0e5ce1..631a4335 100644 --- a/view/template/download/_videoIntro.php +++ b/view/template/download/_videoIntro.php @@ -1,3 +1,3 @@
LBRY is
+LBRY is currently in invite only mode. Enter your code below for access:
+ - +Your code does not grant access until July 4th, 2016. Enter your email address below for a reminder.
+ 'Go', + 'returnUrl' => '/get', + 'meta' => true, + 'btnClass' => 'btn-alt', + 'listId' => Mailchimp::LIST_GENERAL_ID, + 'mergeFields' => ['CLI' => 'No'], + ]) ?>