mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
- added language selection support to simple template, and the backend for it in language.exc.php
only need to get thumbnails working, and make a fully featured web 2.0/6.3/whatever template and dList should be ready for its initial public release. git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@14 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
@@ -6,6 +6,13 @@ function set_view (view) {
|
||||
}
|
||||
}
|
||||
|
||||
function set_lang (lang) {
|
||||
if (lang != readCookie('dList_language')) {
|
||||
createCookie('dList_language', lang, 365);
|
||||
document.location.href = '';
|
||||
}
|
||||
}
|
||||
|
||||
/* Cookie Related Functions */
|
||||
function createCookie(name,value,days) {
|
||||
if (days) {
|
||||
|
||||
Reference in New Issue
Block a user