- 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:
jim
2006-04-05 18:24:54 +00:00
parent 7762f5f5a6
commit 8a5565c990
14 changed files with 154 additions and 41 deletions

View File

@@ -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) {