Subversion-Projekte lars-tiefland.niewerth

Revision

Revision 3 | Revision 12 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 3 Revision 4
Zeile 79... Zeile 79...
79
		if ($m===0)
79
		if ($m===0)
80
		{
80
		{
81
			$m=date("n");
81
			$m=date("n");
82
		}
82
		}
83
		global $smarty;
83
		global $smarty;
84
		require_once 'Calendar/Month/Weekdays.php';
-
 
85
		require_once 'Calendar/Decorator/Textual.php';
-
 
86
		require_once 'Calendar/Decorator/Uri.php';
-
 
87
		$smarty->assign("title","Termine Schritt 2 - Kalender");
84
		$smarty->assign("title","Termine Schritt 2 - Kalender");
88
		setLocale(LC_ALL,"de_DE");
85
		setLocale(LC_ALL,"de_DE");
89
		$mode=(isset($_GET["mode"]))?$_GET["mode"]:"";
86
		$mode=(isset($_GET["mode"]))?$_GET["mode"]:"";
90
		$smarty->assign("mode",$mode);
87
		$smarty->assign("mode",$mode);
91
		$Month = new Calendar_Month_Weekdays($y, $m);
88
		$Month = new Calendar_Month_Weekdays($y, $m);
Zeile 130... Zeile 127...
130
			<input type='hidden' name='monat' value='$m'>
127
			<input type='hidden' name='monat' value='$m'>
131
			<input type='hidden' name='jahr' value='".$u_d->nextYear()."'>
128
			<input type='hidden' name='jahr' value='".$u_d->nextYear()."'>
132
			<input class='liteoption' type='submit' value='>>'>
129
			<input class='liteoption' type='submit' value='>>'>
133
		</form>
130
		</form>
134
		</th></tr>";
131
		</th></tr>";
-
 
132
		$tage=Calendar_Decorator_Textual::weekdayNames();
-
 
133
		$cal.="<tr>";
-
 
134
		for ($tag=1; $tag < 8; $tag++)
-
 
135
		{
135
		$cal.="<tr><th>Mo</th><th>Di</th><th>Mi</th><th>Do</th><th>Fr</th><th>Sa</th><th>So</th></tr>";
136
			$cal.="<th>".$tage[$tag %7]."</th>";
-
 
137
		}
-
 
138
		$cal.="</tr>";
136
		while ($Day = $Month->fetch()) 
139
		while ($Day = $Month->fetch()) 
137
		{
140
		{
138
			if ($Day->isFirst()) 
141
			if ($Day->isFirst()) 
139
			{
142
			{
140
				$cal.="<tr>";
143
				$cal.="<tr>";