Licensed under the GNU GPL v3 license. See file COPYRIGHT for details. */ require_once('init.php'); require_once('./lang/class.default.php'); require_once('./lang/'.$config['lang'].'.php'); $lang = new Lang(); if($config['duedateformat'] == 2) $duedateformat = 'm/d/yy'; elseif($config['duedateformat'] == 3) $duedateformat = 'dd.mm.yy'; elseif($config['duedateformat'] == 4) $duedateformat = 'dd/mm/yy'; else $duedateformat = 'yy-mm-dd'; if(!isset($config['firstdayofweek']) || !is_int($config['firstdayofweek']) || $config['firstdayofweek']<0 || $config['firstdayofweek']>6) $config['firstdayofweek'] = 1; if(isset($config['title']) && $config['title'] != '') $title = htmlarray($config['title']); else $title = $lang->get('My Tiny Todolist'); function _e($s) { global $lang; echo $lang->get($s); } ?>