Subversion-Projekte lars-tiefland.cakephp

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/* SVN FILE: $Id: home.ctp 7961 2008-12-25 23:21:36Z gwoo $ */
3
/**
4
 *
5
 * PHP versions 4 and 5
6
 *
7
 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
8
 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
9
 *
10
 * Licensed under The MIT License
11
 * Redistributions of files must retain the above copyright notice.
12
 *
13
 * @filesource
14
 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
15
 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
16
 * @package       cake
17
 * @subpackage    cake.cake.libs.view.templates.pages
18
 * @since         CakePHP(tm) v 0.10.0.1076
19
 * @version       $Revision: 7961 $
20
 * @modifiedby    $LastChangedBy: gwoo $
21
 * @lastmodified  $Date: 2008-12-25 15:21:36 -0800 (Thu, 25 Dec 2008) $
22
 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
23
 */
24
?>
25
<h2><?php echo sprintf(__('Release Notes for CakePHP %s.', true), Configure::version()); ?></h2>
26
<a href="https://trac.cakephp.org/wiki/changelog/1.2.x.x"><?php __('Read the changelog'); ?> </a>
27
<?php
28
if (Configure::read() > 0):
29
	Debugger::checkSessionKey();
30
endif;
31
?>
32
<p>
33
	<?php
34
		if (is_writable(TMP)):
35
			echo '<span class="notice success">';
36
				__('Your tmp directory is writable.');
37
			echo '</span>';
38
		else:
39
			echo '<span class="notice">';
40
				__('Your tmp directory is NOT writable.');
41
			echo '</span>';
42
		endif;
43
	?>
44
</p>
45
<p>
46
	<?php
47
		$settings = Cache::settings();
48
		if (!empty($settings)):
49
			echo '<span class="notice success">';
50
					echo sprintf(__('The %s is being used for caching. To change the config edit APP/config/core.php ', true), '<em>'. $settings['engine'] . 'Engine</em>');
51
			echo '</span>';
52
		else:
53
			echo '<span class="notice">';
54
					__('Your cache is NOT working. Please check the settings in APP/config/core.php');
55
			echo '</span>';
56
		endif;
57
	?>
58
</p>
59
<p>
60
	<?php
61
		$filePresent = null;
62
		if (file_exists(CONFIGS.'database.php')):
63
			echo '<span class="notice success">';
64
				__('Your database configuration file is present.');
65
				$filePresent = true;
66
			echo '</span>';
67
		else:
68
			echo '<span class="notice">';
69
				__('Your database configuration file is NOT present.');
70
				echo '<br/>';
71
				__('Rename config/database.php.default to config/database.php');
72
			echo '</span>';
73
		endif;
74
	?>
75
</p>
76
<?php
77
if (isset($filePresent)):
78
	uses('model' . DS . 'connection_manager');
79
	$db = ConnectionManager::getInstance();
80
	@$connected = $db->getDataSource('default');
81
?>
82
<p>
83
	<?php
84
		if ($connected->isConnected()):
85
			echo '<span class="notice success">';
86
	 			__('Cake is able to connect to the database.');
87
			echo '</span>';
88
		else:
89
			echo '<span class="notice">';
90
				__('Cake is NOT able to connect to the database.');
91
			echo '</span>';
92
		endif;
93
	?>
94
</p>
95
<?php endif;?>
96
<h3><?php __('Editing this Page'); ?></h3>
97
<p>
98
<?php
99
__('To change the content of this page, create: APP/views/pages/home.ctp.<br />
100
To change its layout, create: APP/views/layouts/default.ctp.<br />
101
You can also add some CSS styles for your pages at: APP/webroot/css.');
102
?>
103
</p>
104
<h3><?php __('Getting Started'); ?></h3>
105
<p>
106
	<a href="http://book.cakephp.org"><strong>new</strong> CakePHP 1.2 Docs</a>
107
</p>
108
<p>
109
	<a href="http://book.cakephp.org/view/219/the-cakephp-blog-tutorial"><?php __('The 15 min Blog Tutorial'); ?></a><br />
110
</p>
111
<h3><?php __('More about Cake'); ?></h3>
112
<p>
113
<?php __('CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.'); ?>
114
</p>
115
<p>
116
<?php __('Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.'); ?>
117
</p>
118
<br />
119
<ul>
120
	<li><a href="http://www.cakefoundation.org/"><?php __('Cake Software Foundation'); ?> </a>
121
	<ul><li><?php __('Promoting development related to CakePHP'); ?></li></ul></li>
122
	<li><a href="http://www.cakephp.org"><?php __('CakePHP'); ?> </a>
123
	<ul><li><?php __('The Rapid Development Framework'); ?></li></ul></li>
124
	<li><a href="http://book.cakephp.org"><?php __('CakePHP Documentation'); ?> </a>
125
	<ul><li><?php __('Your Rapid Development Cookbook'); ?></li></ul></li>
126
	<li><a href="http://api.cakephp.org"><?php __('CakePHP API'); ?> </a>
127
	<ul><li><?php __('Quick Reference'); ?></li></ul></li>
128
	<li><a href="http://bakery.cakephp.org"><?php __('The Bakery'); ?> </a>
129
	<ul><li><?php __('Everything CakePHP'); ?></li></ul></li>
130
	<li><a href="http://live.cakephp.org"><?php __('The Show'); ?> </a>
131
	<ul><li><?php __('The Show is a live and archived internet radio broadcast CakePHP-related topics and answer questions live via IRC, Skype, and telephone.'); ?></li></ul></li>
132
	<li><a href="http://groups.google.com/group/cake-php"><?php __('CakePHP Google Group'); ?> </a>
133
	<ul><li><?php __('Community mailing list'); ?></li></ul></li>
134
	<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
135
	<ul><li><?php __('Live chat about CakePHP'); ?></li></ul></li>
136
	<li><a href="https://trac.cakephp.org/"><?php __('CakePHP Trac'); ?> </a>
137
	<ul><li><?php __('For the Development of CakePHP (Tickets, SVN browser, Roadmap, Changelogs)'); ?></li></ul></li>
138
	<li><a href="http://www.cakeforge.org"><?php __('CakeForge'); ?> </a>
139
	<ul><li><?php __('Open Development for CakePHP'); ?></li></ul></li>
140
	<li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php __('Book Store'); ?> </a>
141
	<ul><li><?php __('Recommended Software Books'); ?></li></ul></li>
142
	<li><a href="http://www.cafepress.com/cakefoundation"><?php __('CakePHP gear'); ?> </a>
143
	<ul><li><?php __('Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li>
144
</ul>