diff --git a/composer.json b/composer.json index 976ea9fca64e5c2d8df400a87b3e4ce5867ec6b5..bb95dd3e3d2d988e3328290f1c6676b07082863a 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "jasig/phpcas": "1.3.x-dev", "pear-pear.php.net/HTTP_Request2": "*", "tedivm/stash": "0.12.*", - "unl/php-wdn-templates": "^5.0", + "unl/php-wdn-templates": "^5.1", "unl/unl_cache_lite": "0.1.*", "php-activerecord/php-activerecord": "^1.1", "altorouter/altorouter": "1.1.0", diff --git a/composer.lock b/composer.lock index b65661b9549e682eb1366d9aeb412cf67b0d90b5..8eb9e2be92106316dcda2b12a11bd96ece210a0c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b362f88167fa055a89a87e1f728c7e04", + "content-hash": "1fee95e109099d7af553ddf71f0a989d", "packages": [ { "name": "altorouter/altorouter", @@ -117,9 +117,7 @@ "version": "1.4.3", "dist": { "type": "file", - "url": "http://pear.php.net/get/Archive_Tar-1.4.3.tgz", - "reference": null, - "shasum": null + "url": "http://pear.php.net/get/Archive_Tar-1.4.3.tgz" }, "require": { "php": ">=5.2.0.0" @@ -146,9 +144,7 @@ "version": "1.4.1", "dist": { "type": "file", - "url": "http://pear.php.net/get/Console_Getopt-1.4.1.tgz", - "reference": null, - "shasum": null + "url": "http://pear.php.net/get/Console_Getopt-1.4.1.tgz" }, "require": { "php": ">=5.4.0.0" @@ -175,9 +171,7 @@ "version": "2.3.0", "dist": { "type": "file", - "url": "http://pear.php.net/get/HTTP_Request2-2.3.0.tgz", - "reference": null, - "shasum": null + "url": "http://pear.php.net/get/HTTP_Request2-2.3.0.tgz" }, "require": { "pear-pear.php.net/net_url2": ">=2.2.0.0", @@ -206,9 +200,7 @@ "version": "2.2.1", "dist": { "type": "file", - "url": "http://pear.php.net/get/Net_URL2-2.2.1.tgz", - "reference": null, - "shasum": null + "url": "http://pear.php.net/get/Net_URL2-2.2.1.tgz" }, "require": { "php": ">=5.1.4.0" @@ -235,9 +227,7 @@ "version": "1.10.6", "dist": { "type": "file", - "url": "http://pear.php.net/get/PEAR-1.10.6.tgz", - "reference": null, - "shasum": null + "url": "http://pear.php.net/get/PEAR-1.10.6.tgz" }, "require": { "ext-pcre": "*", @@ -274,9 +264,7 @@ "version": "1.1.1", "dist": { "type": "file", - "url": "http://pear.php.net/get/Structures_Graph-1.1.1.tgz", - "reference": null, - "shasum": null + "url": "http://pear.php.net/get/Structures_Graph-1.1.1.tgz" }, "require": { "php": ">=5.3.0.0" @@ -303,9 +291,7 @@ "version": "1.4.3", "dist": { "type": "file", - "url": "http://pear.php.net/get/XML_Util-1.4.3.tgz", - "reference": null, - "shasum": null + "url": "http://pear.php.net/get/XML_Util-1.4.3.tgz" }, "require": { "ext-pcre": "*", @@ -552,16 +538,16 @@ }, { "name": "unl/php-wdn-templates", - "version": "v5.0.0", + "version": "v5.1.0", "source": { "type": "git", "url": "https://github.com/unl/phpunltemplates.git", - "reference": "2928e588f409c2628bfeccb5293ab0dd34a506c5" + "reference": "44e42acb1252e41569810660998adb00d108aa06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/unl/phpunltemplates/zipball/2928e588f409c2628bfeccb5293ab0dd34a506c5", - "reference": "2928e588f409c2628bfeccb5293ab0dd34a506c5", + "url": "https://api.github.com/repos/unl/phpunltemplates/zipball/44e42acb1252e41569810660998adb00d108aa06", + "reference": "44e42acb1252e41569810660998adb00d108aa06", "shasum": "" }, "require": { @@ -569,8 +555,7 @@ "unl/php-dwt-parser": "1.0.*" }, "require-dev": { - "phpunit/phpunit": "~4.0", - "satooshi/php-coveralls": "^0.7.0" + "phpunit/phpunit": "~5.0" }, "type": "library", "autoload": { @@ -583,10 +568,15 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Jeff Sturek (jsturek)", + "email": "jsturek8@unl.edu", + "role": "Developer" + }, { "name": "Kevin Abel (kabel)", "email": "kabel2@unl.edu", - "role": "Developer" + "role": "Retired Developer" }, { "name": "Brett Bieber (saltybeagle)", @@ -601,7 +591,7 @@ ], "description": "A PHP library for rendering the UNL templates", "homepage": "http://wdn.unl.edu/", - "time": "2018-12-12T16:32:30+00:00" + "time": "2020-03-11T16:55:17+00:00" }, { "name": "unl/unl_cache_lite", @@ -731,6 +721,7 @@ "code", "zf2" ], + "abandoned": "laminas/laminas-code", "time": "2016-04-20T17:26:42+00:00" }, { @@ -785,6 +776,7 @@ "events", "zf2" ], + "abandoned": "laminas/laminas-eventmanager", "time": "2018-04-25T15:33:34+00:00" } ], diff --git a/src/Views/home.php b/src/Views/home.php index 8d9ba6aaaf181eb8b4dfa8299e62d22b06b0ee26..b4279a7b63a18368295b4cb633ec1f2f5491cc94 100644 --- a/src/Views/home.php +++ b/src/Views/home.php @@ -1,6 +1,6 @@ <div class="dcf-bleed"> <section class="wdn-hero is-video center"> - <video class="wdn-hero-video" autoplay="" loop="" poster="features/2016-spring-break-service/hero/2016-spring-break-service-md-min.jpg"> + <video class="wdn-hero-video" muted autoplay="" loop="" poster="features/2016-spring-break-service/hero/2016-spring-break-service-md-min.jpg"> <source src="/videos/factory_milling.mp4"> </video> <div class="wdn-hero-text"> diff --git a/src/Views/main_template.php b/src/Views/main_template.php index 74673395be496dbbf66e5c80494811522af3b037..d8cd7db6cd9b1f14c7cd1d2019979eae0db526f5 100644 --- a/src/Views/main_template.php +++ b/src/Views/main_template.php @@ -1,12 +1,12 @@ <?php use UNL\Templates\Templates; -$page = Templates::factory('App', Templates::VERSION_5); +$page = Templates::factory('AppLocal', Templates::VERSION_5_1); # this should be the server root, that is, the public directory of where static files come from. -# the templates library will stick /wdn/templates_5.0 on there for you +# the templates library will stick /wdn/templates_5.1 on there for you $wdn_include_path = \Core::ROOT . '/public'; -if (file_exists($wdn_include_path . '/wdn/templates_5.0')) { +if (file_exists($wdn_include_path . '/wdn/templates_5.1')) { $page->setLocalIncludePath($wdn_include_path); } @@ -24,7 +24,7 @@ $page->titlegraphic = '<a class="dcf-txt-h5" href="' . $baseURL . '">UNL Lockup $page->affiliation = '<a href="http://ucomm.unl.edu">University Communication</a>'; // Add WDN Deprecated Styles -$page->head .= '<link rel="preload" href="https://unlcms.unl.edu/wdn/templates_5.0/css/deprecated.css" as="style" onload="this.onload=null;this.rel=\'stylesheet\'"> <noscript><link rel="stylesheet" href="https://unlcms.unl.edu/wdn/templates_5.0/css/deprecated.css"></noscript>'; +$page->head .= '<link rel="preload" href="/wdn/templates_5.1/css/deprecated.css" as="style" onload="this.onload=null;this.rel=\'stylesheet\'"> <noscript><link rel="stylesheet" href="/wdn/templates_5.1/css/deprecated.css"></noscript>'; # css $page->addStyleSheet($baseURL . 'css/main.css');