_directory === $directory) {
					// add year to the list (do not closes li, because
					// we may have nested elements)
					$this->_year = $file;
					$lnk = get_year_link($file);
					$this->_htmllist[$this->_year] = "
 20$file ";
					return 1;
				} elseif (is_dir($f)) {
					$this->_months[] = $file; 
					return 0;
				}
			}
		}
		
		function _exitingDir($directory = null, $file=null) {
			
			$y = $this->_year;
			
			if ($mos =& $this->_months) {
				sort($mos);
				$list = '';
				$linearlist = array();
				foreach($mos as $mth) {
					$lnk = get_month_link($y, $mth);
					$the_month = theme_date_format(  mktime(0, 0, 0, $mth, 1, 0 ), '%B');
					$list = " ". 
							$the_month
						.'  {$lang['plugin']['archives']['no_posts']}
" 
					);		
}
register_widget('archives', 'Archives', 'plugin_archives_widget');
?>