Skip to content

Commit

Permalink
DS-1017: XMLUI mobile theme - initial contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
etzoc authored and helix84 committed Sep 14, 2012
1 parent 97580ee commit 449c7f9
Show file tree
Hide file tree
Showing 20 changed files with 2,669 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dspace-xmlui/dspace-xmlui-webapp/pom.xml
Expand Up @@ -60,6 +60,8 @@
<exclude>**/jquery*</exclude>
<exclude>**/modernizr*</exclude>
<exclude>**/DD_belated*</exclude>
<exclude>**/detectmobile*</exclude>
<exclude>**/sc-mobile*</exclude>
</excludes>
</configuration>
</plugin>
Expand Down
12 changes: 12 additions & 0 deletions dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/i18n/messages.xml
Expand Up @@ -2144,4 +2144,16 @@
<message key="xmlui.ChoiceLookupTransformer.field.dc_contributor_author.title">LC Name Authority author lookup</message>
<message key="xmlui.ChoiceLookupTransformer.field.dc_contributor_author.nonauthority">Local value "@1@" (not in Naming Authority)</message>

<!-- mobile theme -->
<message key="xmlui.mobile.home_mobile">DSpace Mobile</message>
<message key="xmlui.mobile.search_all">Search ALL</message>
<message key="xmlui.mobile.browse_all">Browse ALL by</message>
<message key="xmlui.mobile.browse_date">Date</message>
<message key="xmlui.mobile.browse_author">Author</message>
<message key="xmlui.mobile.browse_title">Title</message>
<message key="xmlui.mobile.browse_subject">Subject</message>
<message key="xmlui.mobile.related_google_scholar">Related</message>
<message key="xmlui.mobile.items_in_google_scholar">Items in Google Scholar</message>
<message key="xmlui.mobile.download">Download</message>

</catalogue>
@@ -0,0 +1,47 @@
/*
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
/*
File created by James Russell
cookies.js
Mobile theme for DSpace 1.6
Last update by James Russell <james@ohiolink.edu>
September 12, 2012
*/

function createCookie(name,value,days,domain) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
if (domain) {
domain = "; domain="+domain;
}
else {
domain = "";
}
document.cookie = name+"="+value+domain+expires+"; path=/";
}

function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

function eraseCookie(name) {
createCookie(name,"",-1);
}
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 449c7f9

Please sign in to comment.