Skip to content
Snippets Groups Projects
Commit 6fb3b284 authored by Jeff Sturek's avatar Jeff Sturek
Browse files

Merge branch 'support-5.3' into 'master'

Support WDN version 5.3

See merge request !12
parents 688bd17b 30a658b2
No related branches found
No related tags found
1 merge request!12Support WDN version 5.3
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "418f404820492c5b99c30c47e5f21fbf", "content-hash": "c3c7a8fc44c3bf68a94eb2d5dcbe7244",
"packages": [ "packages": [
{ {
"name": "altorouter/altorouter", "name": "altorouter/altorouter",
...@@ -113,206 +113,190 @@ ...@@ -113,206 +113,190 @@
"time": "2019-01-01T10:53:16+00:00" "time": "2019-01-01T10:53:16+00:00"
}, },
{ {
"name": "pear-pear.php.net/Archive_Tar", "name": "pear/http_request2",
"version": "1.4.3", "version": "v2.4.2",
"dist": { "source": {
"type": "file", "type": "git",
"url": "http://pear.php.net/get/Archive_Tar-1.4.3.tgz" "url": "https://github.com/pear/HTTP_Request2.git",
}, "reference": "84da432fbbf615593bd8aa25408aca3478b77502"
"require": {
"php": ">=5.2.0.0"
},
"replace": {
"pear-pear/archive_tar": "== 1.4.3.0"
},
"type": "pear-library",
"autoload": {
"classmap": [
""
]
},
"include-path": [
"/"
],
"license": [
"New BSD License"
],
"description": "This class provides handling of tar files in PHP.\nIt supports creating, listing, extracting and adding to tar files.\nGzip support is available if PHP has the zlib extension built-in or\nloaded. Bz2 compression is also supported with the bz2 extension loaded."
}, },
{
"name": "pear-pear.php.net/Console_Getopt",
"version": "1.4.1",
"dist": { "dist": {
"type": "file", "type": "zip",
"url": "http://pear.php.net/get/Console_Getopt-1.4.1.tgz" "url": "https://api.github.com/repos/pear/HTTP_Request2/zipball/84da432fbbf615593bd8aa25408aca3478b77502",
"reference": "84da432fbbf615593bd8aa25408aca3478b77502",
"shasum": ""
}, },
"require": { "require": {
"php": ">=5.4.0.0" "pear/net_url2": "^2.2.0",
"pear/pear_exception": "^1.0.0",
"php": ">=5.6.0"
}, },
"replace": { "require-dev": {
"pear-pear/console_getopt": "== 1.4.1.0" "phpunit/phpunit": "^3.7|^4.8|^5.7"
},
"suggest": {
"ext-curl": "Allows using cURL as a request backend.",
"ext-fileinfo": "Adds support for looking up mime-types using finfo.",
"ext-openssl": "Allows handling SSL requests when not using cURL.",
"ext-zlib": "Allows handling gzip compressed responses."
}, },
"type": "pear-library", "type": "library",
"autoload": { "autoload": {
"classmap": [ "psr-0": {
"" "HTTP_Request2": ""
] }
}, },
"include-path": [ "notification-url": "https://packagist.org/downloads/",
"/"
],
"license": [ "license": [
"BSD-2-Clause" "BSD-3-Clause"
], ],
"description": "This is a PHP implementation of \"getopt\" supporting both\nshort and long options." "authors": [
},
{ {
"name": "pear-pear.php.net/HTTP_Request2", "name": "Alexey Borzov",
"version": "2.3.0", "email": "avb@php.net"
"dist": { }
"type": "file",
"url": "http://pear.php.net/get/HTTP_Request2-2.3.0.tgz"
},
"require": {
"pear-pear.php.net/net_url2": ">=2.2.0.0",
"pear-pear.php.net/pear": ">=1.9.2.0",
"php": ">=5.2.0.0"
},
"replace": {
"pear-pear/http_request2": "== 2.3.0.0"
},
"type": "pear-library",
"autoload": {
"classmap": [
""
]
},
"include-path": [
"/"
], ],
"license": [ "description": "Provides an easy way to perform HTTP requests.",
"BSD 3-Clause License" "homepage": "https://pear.php.net/package/HTTP_Request2",
"keywords": [
"PEAR",
"curl",
"http",
"request"
], ],
"description": "PHP5 rewrite of HTTP_Request package (with parts of HTTP_Client). Provides\ncleaner API and pluggable Adapters:\n * Socket adapter, based on old HTTP_Request code,\n * Curl adapter, wraps around PHP's cURL extension,\n * Mock adapter, to use for testing packages dependent on HTTP_Request2.\nSupports POST requests with data and file uploads, basic and digest\nauthentication, cookies, managing cookies across requests, proxies, gzip and\ndeflate encodings, redirects, monitoring the request progress with Observers..." "support": {
"docs": "https://pear.php.net/manual/en/package.http.http-request2.php",
"issues": "https://pear.php.net/bugs/search.php?cmd=display&package_name[]=HTTP_Request2",
"source": "https://github.com/pear/HTTP_Request2"
},
"time": "2020-09-24T22:07:33+00:00"
}, },
{ {
"name": "pear-pear.php.net/Net_URL2", "name": "pear/net_url2",
"version": "2.2.1", "version": "v2.2.2",
"source": {
"type": "git",
"url": "https://github.com/pear/Net_URL2.git",
"reference": "07fd055820dbf466ee3990abe96d0e40a8791f9d"
},
"dist": { "dist": {
"type": "file", "type": "zip",
"url": "http://pear.php.net/get/Net_URL2-2.2.1.tgz" "url": "https://api.github.com/repos/pear/Net_URL2/zipball/07fd055820dbf466ee3990abe96d0e40a8791f9d",
"reference": "07fd055820dbf466ee3990abe96d0e40a8791f9d",
"shasum": ""
}, },
"require": { "require": {
"php": ">=5.1.4.0" "php": ">=5.1.4"
}, },
"replace": { "require-dev": {
"pear-pear/net_url2": "== 2.2.1.0" "phpunit/phpunit": ">=3.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.2.x-dev"
}
}, },
"type": "pear-library",
"autoload": { "autoload": {
"classmap": [ "classmap": [
"" "Net/URL2.php"
] ]
}, },
"notification-url": "https://packagist.org/downloads/",
"include-path": [ "include-path": [
"/" "./"
], ],
"license": [ "license": [
"BSD-3-Clause" "BSD-3-Clause"
], ],
"description": "Provides parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of\n relative URLs." "authors": [
},
{ {
"name": "pear-pear.php.net/PEAR", "name": "David Coallier",
"version": "1.10.6", "email": "davidc@php.net"
"dist": {
"type": "file",
"url": "http://pear.php.net/get/PEAR-1.10.6.tgz"
}, },
"require": { {
"ext-pcre": "*", "name": "Tom Klingenberg",
"ext-xml": "*", "email": "tkli@php.net"
"pear-pear.php.net/archive_tar": ">=1.4.0.0",
"pear-pear.php.net/console_getopt": ">=1.4.1.0",
"pear-pear.php.net/structures_graph": ">=1.1.0.0",
"pear-pear.php.net/xml_util": ">=1.3.0.0",
"php": ">=5.4.0.0"
},
"conflict": {
"pear-pear.php.net/pear_frontend_gtk": "<0.4.0.0",
"pear-pear.php.net/pear_frontend_web": "<=0.4.0.0"
},
"replace": {
"pear-pear/pear": "== 1.10.6.0"
},
"type": "pear-library",
"autoload": {
"classmap": [
""
]
}, },
"include-path": [ {
"/" "name": "Christian Schmidt",
"email": "chmidt@php.net"
}
], ],
"license": [ "description": "Class for parsing and handling URL. Provides parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs.",
"New BSD License" "homepage": "https://github.com/pear/Net_URL2",
"keywords": [
"PEAR",
"net",
"networking",
"rfc3986",
"uri",
"url"
], ],
"description": "The PEAR package contains:\n * the PEAR installer, for creating, distributing\n and installing packages\n * the PEAR_Exception PHP5 error handling mechanism\n * the PEAR_ErrorStack advanced error handling mechanism\n * the PEAR_Error error handling mechanism\n * the OS_Guess class for retrieving info about the OS\n where PHP is running on\n * the System class for quick handling of common operations\n with files and directories\n * the PEAR base class\n Features in a nutshell:\n * full support for channels\n * pre-download dependency validation\n * new package.xml 2.0 format allows tremendous flexibility while maintaining BC\n * support for optional dependency groups and limited support for sub-packaging\n * robust dependency support\n * full dependency validation on uninstall\n * remote install for hosts with only ftp access - no more problems with\n restricted host installation\n * full support for mirroring\n * support for bundling several packages into a single tarball\n * support for static dependencies on a url-based package\n * support for custom file roles and installation tasks" "support": {
"issues": "https://pear.php.net/bugs/search.php?cmd=display&package_name[]=Net_URL2",
"source": "https://github.com/pear/Net_URL2"
},
"time": "2017-08-25T06:16:11+00:00"
}, },
{ {
"name": "pear-pear.php.net/Structures_Graph", "name": "pear/pear_exception",
"version": "1.1.1", "version": "v1.0.1",
"source": {
"type": "git",
"url": "https://github.com/pear/PEAR_Exception.git",
"reference": "dbb42a5a0e45f3adcf99babfb2a1ba77b8ac36a7"
},
"dist": { "dist": {
"type": "file", "type": "zip",
"url": "http://pear.php.net/get/Structures_Graph-1.1.1.tgz" "url": "https://api.github.com/repos/pear/PEAR_Exception/zipball/dbb42a5a0e45f3adcf99babfb2a1ba77b8ac36a7",
"reference": "dbb42a5a0e45f3adcf99babfb2a1ba77b8ac36a7",
"shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0.0" "php": ">=4.4.0"
},
"require-dev": {
"phpunit/phpunit": "*"
}, },
"replace": { "type": "class",
"pear-pear/structures_graph": "== 1.1.1.0" "extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
}, },
"type": "pear-library",
"autoload": { "autoload": {
"classmap": [ "classmap": [
"" "PEAR/"
] ]
}, },
"notification-url": "https://packagist.org/downloads/",
"include-path": [ "include-path": [
"/" "."
], ],
"license": [ "license": [
"LGPL-3.0+" "BSD-2-Clause"
], ],
"description": "Structures_Graph is a package for creating and manipulating graph datastructures. It allows building of directed\nand undirected graphs, with data and metadata stored in nodes. The library provides functions for graph traversing\nas well as for characteristic extraction from the graph topology." "authors": [
},
{ {
"name": "pear-pear.php.net/XML_Util", "name": "Helgi Thormar",
"version": "1.4.3", "email": "dufuz@php.net"
"dist": {
"type": "file",
"url": "http://pear.php.net/get/XML_Util-1.4.3.tgz"
},
"require": {
"ext-pcre": "*",
"php": ">=5.4.0.0"
}, },
"replace": { {
"pear-pear/xml_util": "== 1.4.3.0" "name": "Greg Beaver",
}, "email": "cellog@php.net"
"type": "pear-library", }
"autoload": {
"classmap": [
""
]
},
"include-path": [
"/"
], ],
"license": [ "description": "The PEAR Exception base class.",
"BSD License" "homepage": "https://github.com/pear/PEAR_Exception",
"keywords": [
"exception"
], ],
"description": "Selection of methods that are often needed when working with XML documents. Functionality includes creating of attribute lists from arrays, creation of tags, validation of XML names and more." "support": {
"issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR_Exception",
"source": "https://github.com/pear/PEAR_Exception"
},
"time": "2019-12-10T10:24:42+00:00"
}, },
{ {
"name": "php-activerecord/php-activerecord", "name": "php-activerecord/php-activerecord",
...@@ -352,6 +336,10 @@ ...@@ -352,6 +336,10 @@
"activerecord", "activerecord",
"orm" "orm"
], ],
"support": {
"issues": "https://github.com/jpfuentes2/php-activerecord/issues",
"source": "https://github.com/jpfuentes2/php-activerecord/tree/master"
},
"time": "2017-06-11T22:05:37+00:00" "time": "2017-06-11T22:05:37+00:00"
}, },
{ {
...@@ -538,16 +526,16 @@ ...@@ -538,16 +526,16 @@
}, },
{ {
"name": "unl/php-wdn-templates", "name": "unl/php-wdn-templates",
"version": "v5.2.1", "version": "v5.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/unl/phpunltemplates.git", "url": "https://github.com/unl/phpunltemplates.git",
"reference": "7648850d99cc8b6f03307a7feca7d31b18e9a233" "reference": "090d6c7c8ac8ab2828165bd06574ecb48caf1a88"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/unl/phpunltemplates/zipball/7648850d99cc8b6f03307a7feca7d31b18e9a233", "url": "https://api.github.com/repos/unl/phpunltemplates/zipball/090d6c7c8ac8ab2828165bd06574ecb48caf1a88",
"reference": "7648850d99cc8b6f03307a7feca7d31b18e9a233", "reference": "090d6c7c8ac8ab2828165bd06574ecb48caf1a88",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -591,20 +579,24 @@ ...@@ -591,20 +579,24 @@
], ],
"description": "A PHP library for rendering the UNL templates", "description": "A PHP library for rendering the UNL templates",
"homepage": "http://wdn.unl.edu/", "homepage": "http://wdn.unl.edu/",
"time": "2020-07-16T20:24:35+00:00" "support": {
"issues": "https://github.com/unl/phpunltemplates/issues",
"source": "https://github.com/unl/phpunltemplates/tree/v5.3.0"
},
"time": "2021-01-27T17:05:21+00:00"
}, },
{ {
"name": "unl/unl_cache_lite", "name": "unl/unl_cache_lite",
"version": "v0.1.1", "version": "v0.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/unlpear/UNL_Cache_Lite.git", "url": "https://github.com/unlpear/UNL_Cache_Lite.git",
"reference": "ead1a59700a52f84250de2820d650e207ee7d698" "reference": "5aa07f2add74ae3864b45a03a1f7fe37a01ac4b4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/unlpear/UNL_Cache_Lite/zipball/ead1a59700a52f84250de2820d650e207ee7d698", "url": "https://api.github.com/repos/unlpear/UNL_Cache_Lite/zipball/5aa07f2add74ae3864b45a03a1f7fe37a01ac4b4",
"reference": "ead1a59700a52f84250de2820d650e207ee7d698", "reference": "5aa07f2add74ae3864b45a03a1f7fe37a01ac4b4",
"shasum": "" "shasum": ""
}, },
"type": "library", "type": "library",
...@@ -615,10 +607,10 @@ ...@@ -615,10 +607,10 @@
}, },
"description": "a speedy and safe caching library", "description": "a speedy and safe caching library",
"support": { "support": {
"source": "https://github.com/unlpear/UNL_Cache_Lite/tree/v0.1.1", "source": "https://github.com/unlpear/UNL_Cache_Lite/tree/v0.1.2",
"issues": "https://github.com/unlpear/UNL_Cache_Lite/issues" "issues": "https://github.com/unlpear/UNL_Cache_Lite/issues"
}, },
"time": "2014-08-25T20:13:04+00:00" "time": "2020-12-10T21:17:32+00:00"
}, },
{ {
"name": "zaininnari/html-minifier", "name": "zaininnari/html-minifier",
...@@ -789,5 +781,6 @@ ...@@ -789,5 +781,6 @@
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": [], "platform": [],
"platform-dev": [] "platform-dev": [],
"plugin-api-version": "2.0.0"
} }
...@@ -92,7 +92,7 @@ class Lockup extends \ActiveRecord\Model { ...@@ -92,7 +92,7 @@ class Lockup extends \ActiveRecord\Model {
} else if ($this->isFullyApproved()) { } else if ($this->isFullyApproved()) {
return 'Fully Approved'; return 'Fully Approved';
} else { } else {
return 'Communicator: ' . ucwords(join(explode('_', $this->status), ' ')) . ';<br>Creative: ' . ucwords(join(explode('_', $this->creative_status), ' ')); return 'Communicator: ' . ucwords(join(' ', explode('_', $this->status))) . ';<br>Creative: ' . ucwords(join(' ', explode('_', $this->creative_status)));
} }
} }
......
<?php <?php
use UNL\Templates\Templates; use UNL\Templates\Templates;
$page = Templates::factory('AppLocal', Templates::VERSION_5_2); $page = Templates::factory('AppLocal', Templates::VERSION_5_3);
# this should be the server root, that is, the public directory of where static files come from. # 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.2 on there for you # the templates library will stick /wdn/templates_5.3 on there for you
$wdn_include_path = \Core::ROOT . '/public'; $wdn_include_path = \Core::ROOT . '/public';
if (file_exists($wdn_include_path . '/wdn/templates_5.2')) { if (file_exists($wdn_include_path . '/wdn/templates_5.3')) {
$page->setLocalIncludePath($wdn_include_path); $page->setLocalIncludePath($wdn_include_path);
} }
...@@ -24,7 +24,7 @@ $page->titlegraphic = '<a class="dcf-txt-h5" href="' . $baseURL . '">UNL Lockup ...@@ -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>'; $page->affiliation = '<a href="http://ucomm.unl.edu">University Communication</a>';
// Add WDN Deprecated Styles // Add WDN Deprecated Styles
$page->head .= '<link rel="preload" href="/wdn/templates_5.2/css/deprecated.css" as="style" onload="this.onload=null;this.rel=\'stylesheet\'"> <noscript><link rel="stylesheet" href="/wdn/templates_5.2/css/deprecated.css"></noscript>'; $page->head .= '<link rel="preload" href="/wdn/templates_5.3/css/deprecated.css" as="style" onload="this.onload=null;this.rel=\'stylesheet\'"> <noscript><link rel="stylesheet" href="/wdn/templates_5.3/css/deprecated.css"></noscript>';
# css # css
$page->addStyleSheet($baseURL . 'css/main.css'); $page->addStyleSheet($baseURL . 'css/main.css');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment