Initial commit

This commit is contained in:
mareksebera 2014-09-10 20:20:58 +02:00
commit 3b93da31de
1004 changed files with 265840 additions and 0 deletions

View file

@ -0,0 +1,2 @@
<?php $this->extend('parent_element'); ?>
Element content.

View file

@ -0,0 +1,2 @@
<?php $this->extend('noneexistent_parent_element'); ?>
Element content.

View file

@ -0,0 +1,3 @@
<?php
echo $this->Html->link('Test', 'http://example.com');
?>

View file

@ -0,0 +1,5 @@
<h2>Cache Me</h2>
<!--nocache-->
<p>F. In Element With No Cache Tags</p>
<?php $this->log('6. in element with no cache tags') ?>
<!--/nocache-->

View file

@ -0,0 +1,4 @@
<h2>Cache Me</h2>
<p>B. In Plain Element</p>
<?php $this->log('2. in plain element') ?>

View file

@ -0,0 +1,8 @@
<?php echo $this->element('nocache/sub2'); ?>
<!--nocache-->
<?php $foobar = 'in sub1'; ?>
<?php echo $foobar; ?>
<!--/nocache-->
<?php echo 'printing: "' . $foobar . '"'; ?>

View file

@ -0,0 +1,6 @@
<!--nocache-->
<?php $barfoo = 'in sub2'; ?>
<?php echo $barfoo; ?>
<!--/nocache-->
<?php echo 'printing: "' . $barfoo . '"'; ?>

View file

@ -0,0 +1,2 @@
Parent Element.
<?php echo $this->fetch('content'); ?>

View file

@ -0,0 +1,5 @@
<div id="notificationLayout">
<h1><?php echo $name; ?></h1>
<h3><?php echo $title; ?></h3>
<p><?php echo $message; ?></p>
</div>

View file

@ -0,0 +1 @@
<?php echo 'this is the test element'; ?>

View file

@ -0,0 +1 @@
<p>test element</p>

View file

@ -0,0 +1 @@
<?php echo gettype($form); ?>

View file

@ -0,0 +1 @@
<p>Here is your value: <b><?php echo $value; ?></b></p>

View file

@ -0,0 +1,7 @@
<?php
$content = explode("\n", $content);
foreach ($content as $line):
echo '<p> ' . $line . '</p>';
endforeach;
?>

View file

@ -0,0 +1,12 @@
<h1>HTML Ipsum Presents</h1><p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p><h2>Header Level 2</h2><ol><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ol><blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote><h3>Header Level 3</h3><ul><li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li><li>Aliquam tincidunt mauris eu risus.</li></ul>
<pre><code>
#header h1 a {
display: block;
width: 300px;
height: 80px;
}</code></pre>
<table>
<th align="right" valign="top"
style="font-weight: bold">The tag is across multiple lines - <?php echo str_repeat('x', CakeEmail::LINE_LENGTH_MUST); ?></th>
</table>
<p>Some more <?php echo str_repeat('x', CakeEmail::LINE_LENGTH_MUST); ?> <b>Bold</b> test.</p>

View file

@ -0,0 +1,8 @@
<?php
echo $this->Html->image('image.gif', array(
'alt' => 'cool image',
'width' => 100,
'height' => 100,
'fullBase' => true,
));

View file

@ -0,0 +1 @@
<p>ここにあなたの設定した値が入ります: <b><?php echo $value; ?></b></p>

View file

@ -0,0 +1,3 @@
Before the element.
<?php echo $this->element('html_call'); ?>
After the element.

View file

@ -0,0 +1 @@
Here is your value: <?php echo $value; ?>

View file

@ -0,0 +1 @@
Right now: <?php echo $this->Time->toAtom($time); ?>

View file

@ -0,0 +1 @@
<?php echo $content; ?>

View file

@ -0,0 +1 @@
ここにあなたの設定した値が入ります: <?php echo $value; ?>

View file

@ -0,0 +1,2 @@
This element has some text that is just too wide to comply with email standards.
<?php echo $content; ?>

View file

@ -0,0 +1,13 @@
<h2><?php echo $message; ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php printf(
__d('cake', 'The requested address %s was not found on this server.'),
"<strong>'{$url}'</strong>"
); ?>
</p>
<?php
if (Configure::read('debug') > 0):
echo $this->element('exception_stack_trace');
endif;
?>

View file

@ -0,0 +1,10 @@
<h2><?php echo $message; ?></h2>
<p class="error">
<strong><?php echo __d('cake', 'Error'); ?>: </strong>
<?php echo __d('cake', 'An Internal Error Has Occurred.'); ?>
</p>
<?php
if (Configure::read('debug') > 0):
echo $this->element('exception_stack_trace');
endif;
?>

View file

@ -0,0 +1,11 @@
<?php
App::uses('Helper', 'View');
class BananaHelper extends Helper {
public function peel() {
return '<b>peeled</b>';
}
}

View file

@ -0,0 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title><?php echo $this->fetch('title'); ?></title>
</head>
<body>
<?php echo $this->fetch('content'); ?>
<p>This email was sent using the <a href="http://cakephp.org">CakePHP Framework</a></p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title><?php echo $this->fetch('title'); ?></title>
</head>
<body>
<?php echo $this->fetch('content'); ?>
<p>このメールは <a href="http://cakephp.org">CakePHP Framework</a> を利用して送信しました。</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title><?php echo $this->fetch('title'); ?></title>
</head>
<body>
<?php echo $this->fetch('content'); ?>
<p>This email was sent using the CakePHP Framework</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<?php echo $this->fetch('content'); ?>
This email was sent using the CakePHP Framework, http://cakephp.org.

View file

@ -0,0 +1,4 @@
<?php echo $this->fetch('content'); ?>
CakePHP Framework を使って送信したメールです。 http://cakephp.org.

View file

@ -0,0 +1 @@
<?php echo $this->fetch('content'); ?>

View file

@ -0,0 +1,2 @@
Ajax!
<?php echo $this->fetch('content'); ?>

View file

@ -0,0 +1,5 @@
<body>
<?php
echo $this->Banana->peel();
?>
</body>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $this->fetch('title'); ?></title>
<!--nocache--><?php $x = 1; ?><!--/nocache-->
</head>
<body>
<!--nocache--><?php $x++; ?><!--/nocache-->
<!--nocache--><?php $x++; ?><!--/nocache-->
<?php echo $this->fetch('content'); ?>
<!--nocache--><?php echo 'cached count is: ' . $x; ?><!--/nocache-->
</body>
</html>

View file

@ -0,0 +1,13 @@
<p>This is regular text</p>
<!--nocache-->
<?php echo microtime(); ?>
<!--/nocache-->
<?php echo $this->fetch('content'); ?>
<?php echo $superman; ?>
<!--nocache-->
<?php echo $variable; ?>
<!--/nocache-->
<p>Additional regular text.</p>

View file

@ -0,0 +1,43 @@
<?php
$this->loadHelper('Html');
$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php echo $this->Html->charset(); ?>
<title>
<?php echo $cakeDescription ?>:
<?php echo $this->fetch('title'); ?>
</title>
<?php
echo $this->Html->meta('icon');
echo $this->Html->css('cake.generic');
echo $scripts_for_layout;
?>
</head>
<body>
<div id="container">
<div id="header">
<h1><?php echo $this->Html->link($cakeDescription, 'http://cakephp.org'); ?></h1>
</div>
<div id="content">
<?php echo $this->fetch('content'); ?>
</div>
<div id="footer">
<?php echo $this->Html->link(
$this->Html->image('cake.power.gif', array('alt' => $cakeDescription, 'border' => '0')),
'http://www.cakephp.org/',
array('target' => '_blank', 'escape' => false)
);
?>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $page_title?></title>
<?php echo $this->Html->charset(); ?>
<?php if (!Configure::read('debug')) { ?>
<meta http-equiv="Refresh" content="<?php echo $pause?>;url=<?php echo $url?>"/>
<?php } ?>
<style><!--
P { text-align:center; font:bold 1.1em sans-serif }
A { color:#444; text-decoration:none }
A:HOVER { text-decoration: underline; color:#44E }
--></style>
</head>
<body>
<p><a href="<?php echo $url?>"><?php echo $message?></a></p>
</body>
</html>

View file

@ -0,0 +1,2 @@
<?php echo $scripts_for_layout; ?>
<script type="text/javascript"><?php echo $this->fetch('content'); ?></script>

View file

@ -0,0 +1 @@
<?php echo $this->fetch('content'); ?>

View file

@ -0,0 +1,21 @@
<p>This is regular text</p>
<!--nocache-->
<p>A. Layout Before Content</p>
<?php $this->log('1. layout before content') ?>
<!--/nocache-->
<!--nocache--><?php echo $this->element('nocache/plain'); ?><!--/nocache-->
<!--nocache-->
<p>C. Layout After Test Element But Before Content</p>
<?php $this->log('3. layout after test element but before content') ?>
<!--/nocache-->
<?php echo $this->fetch('content'); ?>
<!--nocache-->
<p>E. Layout After Content</p>
<?php $this->log('5. layout after content') ?>
<!--/nocache-->
<p>Additional regular text.</p>
<?php echo $this->element('nocache/contains_nocache'); ?>
<!--nocache-->
<p>G. Layout After Content And After Element With No Cache Tags</p>
<?php $this->log('7. layout after content and after element with no cache tags') ?>
<!--/nocache-->

View file

@ -0,0 +1,17 @@
<?php
echo $this->Rss->header();
if (!isset($channel)) {
$channel = array();
}
if (!isset($channel['title'])) {
$channel['title'] = $this->fetch('title');
}
echo $this->Rss->document(
$this->Rss->channel(
array(), $channel, $this->fetch('content')
)
);
?>

View file

@ -0,0 +1,2 @@
<?php echo '<?xml version="1.0" encoding="' . Configure::read('App.encoding') . '"?>'; ?>
<?php echo $this->fetch('content'); ?>

View file

@ -0,0 +1,31 @@
<?php
$count = 10;
$messages = array('count' => 10);
// Plural
echo __n('You have %d new message.', 'You have %d new messages.', $count);
echo __n('You deleted %d message.', 'You deleted %d messages.', $messages['count']);
// Domain Plural
echo __dn('domain', 'You have %d new message (domain).', 'You have %d new messages (domain).', '10');
echo __dn('domain', 'You deleted %d message (domain).', 'You deleted %d messages (domain).', $messages['count']);
// Duplicated Message
echo __('Editing this Page');
echo __('You have %d new message.');
// Contains quotes
echo __('double "quoted"');
echo __("single 'quoted'");
// Multiline
__('Hot features!'
. "\n - No Configuration:"
. ' Set-up the database and let the magic begin'
. "\n - Extremely Simple:"
. ' Just look at the name...It\'s Cake'
. "\n - Active, Friendly Community:"
. ' Join us #cakephp on IRC. We\'d love to help you get started');
// Category
echo __c('You have a new message (category: LC_TIME).', 5);

View file

@ -0,0 +1,72 @@
<p>
<?php
if (is_writable(TMP)):
echo '<span class="notice success">';
echo __d('cake_dev', 'Your tmp directory is writable.');
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake_dev', 'Your tmp directory is NOT writable.');
echo '</span>';
endif;
?>
</p>
<p>
<?php
$settings = Cache::settings();
if (!empty($settings)):
echo '<span class="notice success">';
echo __d('cake_dev', 'The %s is being used for caching. To change the config edit APP/config/core.php ', '<em>'. $settings['engine'] . 'Engine</em>');
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake_dev', 'Your cache is NOT working. Please check the settings in APP/config/core.php');
echo '</span>';
endif;
?>
</p>
<p>
<?php
$filePresent = null;
if (file_exists(APP . 'Config' . DS . 'database.php')):
echo '<span class="notice success">';
echo __d('cake_dev', 'Your database configuration file is present.');
$filePresent = true;
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake_dev', 'Your database configuration file is NOT present.');
echo '<br/>';
echo __d('cake_dev', 'Rename config/database.php.default to config/database.php');
echo '</span>';
endif;
?>
</p>
<?php
if (isset($filePresent)):
App::uses('ConnectionManager', 'Model');
try {
$connected = ConnectionManager::getDataSource('default');
} catch (Exception $e) {
$connected = false;
}
?>
<p>
<?php
if ($connected && $connected->isConnected()):
echo '<span class="notice success">';
echo __d('cake_dev', 'Cake is able to connect to the database.');
echo '</span>';
else:
echo '<span class="notice">';
echo __d('cake_dev', 'Cake is NOT able to connect to the database.');
echo '</span>';
endif;
?>
</p>
<?php endif; ?>
<h3><?php echo __d('cake_dev', 'Editing this Page'); ?></h3>
<?php
echo __d('cake_dev', 'To change the content of this page, create: APP/views/pages/home.ctp.<br />
To change its layout, create: APP/views/layouts/default.ctp.<br />
You can also add some CSS styles for your pages at: APP/webroot/css.');

View file

@ -0,0 +1,2 @@
Empty page with a dot in the filename.
Used to test plugin.view and missing plugins.

View file

@ -0,0 +1 @@
alt ext

View file

@ -0,0 +1,2 @@
View Content
<!--nocache--><?php $y = 1; ?><!--/nocache-->

View file

@ -0,0 +1,14 @@
<div class="users form">
<!--nocache-->
<?php echo $this->Form->create('User'); ?>
<fieldset>
<legend><?php echo __('Add User'); ?></legend>
<?php
echo $this->Form->input('username');
echo $this->Form->input('email');
echo $this->Form->input('password');
?>
</fieldset>
<?php echo $this->Form->end('Submit'); ?>
<!--/nocache-->
</div>

View file

@ -0,0 +1,3 @@
<?php $this->extend('parent_view'); ?>
View content.
<?php echo $this->element('extended_element'); ?>

View file

@ -0,0 +1,2 @@
<?php $this->extend('extend_loop_inner'); ?>
Outer element.

View file

@ -0,0 +1,2 @@
<?php $this->extend('extend_loop'); ?>
Inner loop element.

View file

@ -0,0 +1 @@
<?php echo $this->element('extended_missing_element'); ?>

View file

@ -0,0 +1,2 @@
<?php $this->extend('extend_self'); ?>
To infinifty and beyond.

View file

@ -0,0 +1,3 @@
<?php echo $this->element('test_element'); ?>
<?php $this->extend('parent_view'); ?>
The view

View file

@ -0,0 +1,4 @@
<?php
echo $html;
echo $this->Html->link('Test link', '#');
?>

View file

@ -0,0 +1 @@
posts index

View file

@ -0,0 +1,14 @@
<?php
$paging = isset($this->Paginator->options['url']) ? $this->Paginator->options['url'] : null;
$formatted = array(
'user' => $user['User']['username'],
'list' => array(),
'paging' => $paging,
);
foreach ($user['Item'] as $item) {
$formatted['list'][] = $item['name'];
}
echo json_encode($formatted);

View file

@ -0,0 +1,15 @@
--view start--
<!--nocache-->
<?php echo $batman ?>
<!--/nocache-->
this view has 3 nocache blocks
<!--nocache-->
<?php echo $spiderman; ?>
<!--/nocache-->
<!--nocache-->
<?php echo 'some string'; ?>
<!--/nocache-->
--view end--

View file

@ -0,0 +1,5 @@
<?php
$this->extend('parent_1');
$this->assign('sidebar', 'Sidebar Content.');
?>
This is the first template.

View file

@ -0,0 +1,9 @@
<!--nocache-->
<?php echo $foo; ?>
<!--/nocache-->
<!--nocache-->
<?php echo $bar; ?>
<!--/nocache-->
<?php echo $this->element('nocache/sub1'); ?>

View file

@ -0,0 +1,3 @@
<?php
$this->start('no_close');
echo 'This block has no close :(';

View file

@ -0,0 +1,5 @@
<?php
$this->extend('parent_2');
?>
This is the first parent.
<?php echo $this->fetch('content'); ?>

View file

@ -0,0 +1,3 @@
This is the second parent.
<?php echo $this->fetch('content'); ?>
<?php echo $this->fetch('sidebar'); ?>

View file

@ -0,0 +1,2 @@
Parent View.
<?php echo $this->fetch('content') ?>

View file

@ -0,0 +1 @@
test_app posts add/edit scaffold view

View file

@ -0,0 +1,5 @@
<h1>Content</h1>
<!--nocache-->
<p>D. In View File</p>
<?php $this->log('4. in view file') ?>
<!--/nocache-->

View file

@ -0,0 +1,124 @@
<p>
<!--nocache-->
<span class="notice">
<?php
echo __d('cake', 'Your tmp directory is ');
if (is_writable(TMP)):
echo __d('cake', 'writable.');
else:
echo __d('cake', 'NOT writable.');
endif;
?>
</span>
<!--/nocache-->
</p>
<p>
<span class="notice">
<?php
echo __d('cake', 'Your cache is ');
if (Cache::isInitialized('default')):
echo __d('cake', 'set up and initialized properly.');
$settings = Cache::settings();
echo '<p>' . $settings['engine'];
echo __d('cake', ' is being used to cache, to change this edit config/core.php ');
echo '</p>';
echo 'Settings: <ul>';
foreach ($settings as $name => $value):
if (is_array($value)):
$value = join(',', $value);
endif;
echo '<li>' . $name . ': ' . $value . '</li>';
endforeach;
echo '</ul>';
else:
echo __d('cake', 'NOT working.');
echo '<br />';
if (is_writable(TMP)):
echo __d('cake', 'Edit: config/core.php to insure you have the newset version of this file and the variable $cakeCache set properly');
endif;
endif;
?>
</span>
</p>
<p>
<span class="notice">
<?php
echo __d('cake', 'Your database configuration file is ');
$filePresent = null;
if (file_exists(APP . 'Config'.'database.php')):
echo __d('cake', 'present.');
$filePresent = true;
else:
echo __d('cake', 'NOT present.');
echo '<br/>';
echo __d('cake', 'Rename config/database.php.default to config/database.php');
endif;
?>
</span>
</p>
<?php
if (!empty($filePresent)):
App::uses('ConnectionManager', 'Model');
$connected = ConnectionManager::getDataSource('default');
?>
<p>
<span class="notice">
<?php echo __d('cake', 'Cake');
if ($connected->isConnected()):
__d('cake', ' is able to ');
else:
__d('cake', ' is NOT able to ');
endif;
__d('cake', 'connect to the database.');
?>
</span>
</p>
<?php endif; ?>
<h2><?php echo __d('cake', 'Release Notes for CakePHP %s.', Configure::version()); ?></h2>
<a href="https://trac.cakephp.org/wiki/notes/1.2.x.x"><?php echo __d('cake', 'Read the release notes and get the latest version'); ?> </a>
<h2><?php echo __d('cake', 'Editing this Page'); ?></h2>
<p>
<?php echo __d('cake', 'To change the content of this page, create: /app/View/Pages/home.ctp.'); ?><br />
<?php echo __d('cake', 'To change its layout, create: /app/View/Layouts/default.ctp.'); ?><br />
<a href="http://manual.cakephp.org/"><?php echo __d('cake', 'See the views section of the manual for more info.'); ?> </a><br />
<?php echo __d('cake', 'You can also add some CSS styles for your pages at: app/webroot/css/.'); ?>
</p>
<h2><?php echo __d('cake', 'Getting Started'); ?></h2>
<p>
<a href="http://manual.cakephp.org/appendix/blog_tutorial"><?php echo __d('cake', 'The 15 min Blog Tutorial'); ?></a><br />
<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html"><?php echo __d('cake', 'Cook up Web sites fast with CakePHP'); ?></a><br />
<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-wiki1.html"><?php echo __d('cake', 'Create an interactive production wiki using PHP'); ?></a>
</p>
<h2><?php echo __d('cake', 'More about CakePHP'); ?></h2>
<p>
<?php echo __d('cake', 'CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.'); ?>
</p>
<p>
<?php echo __d('cake', '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.'); ?>
</p>
<ul>
<li><a href="http://cakefoundation.org/"><?php echo __d('cake', 'Cake Software Foundation'); ?> </a>
<ul><li><?php echo __d('cake', 'Promoting development related to CakePHP'); ?></li></ul></li>
<li><a href="http://bakery.cakephp.org"><?php echo __d('cake', 'The Bakery'); ?> </a>
<ul><li><?php echo __d('cake', 'Everything CakePHP'); ?></li></ul></li>
<li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php echo __d('cake', 'Book Store'); ?> </a>
<ul><li><?php echo __d('cake', 'Recommended Software Books'); ?></li></ul></li>
<li><a href="http://www.cafepress.com/cakefoundation"><?php echo __d('cake', 'CakeSchwag'); ?> </a>
<ul><li><?php echo __d('cake', 'Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li>
<li><a href="http://www.cakephp.org"><?php echo __d('cake', 'CakePHP'); ?> </a>
<ul><li><?php echo __d('cake', 'The Rapid Development Framework'); ?></li></ul></li>
<li><a href="http://manual.cakephp.org"><?php echo __d('cake', 'CakePHP Manual'); ?> </a>
<ul><li><?php echo __d('cake', 'Your Rapid Development Cookbook'); ?></li></ul></li>
<li><a href="http://api.cakephp.org"><?php echo __d('cake', 'CakePHP API'); ?> </a>
<ul><li><?php echo __d('cake', 'Docblock Your Best Friend'); ?></li></ul></li>
<li><a href="http://www.cakeforge.org"><?php echo __d('cake', 'CakeForge'); ?> </a>
<ul><li><?php echo __d('cake', 'Open Development for CakePHP'); ?></li></ul></li>
<li><a href="https://trac.cakephp.org/"><?php echo __d('cake', 'CakePHP Trac'); ?> </a>
<ul><li><?php echo __d('cake', 'For the Development of CakePHP (Tickets, SVN browser, Roadmap, Changelogs)'); ?></li></ul></li>
<li><a href="http://groups-beta.google.com/group/cake-php"><?php echo __d('cake', 'CakePHP Google Group'); ?> </a>
<ul><li><?php echo __d('cake', 'Community mailing list'); ?></li></ul></li>
<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
<ul><li><?php echo __d('cake', 'Live chat about CakePHP'); ?></li></ul></li>
</ul>

View file

@ -0,0 +1,6 @@
<?php
$data = array('users' => array('user' => array()));
foreach ($users as $user) {
$data['users']['user'][] = array('@' => $user['User']['username']);
}
echo Xml::fromArray($data)->saveXml();

View file

@ -0,0 +1 @@
This is the TestsAppsController index view <?php echo isset($var) ? $var : ''; ?>

View file

@ -0,0 +1 @@
{"cakephp":"cool"}

View file

@ -0,0 +1 @@
Hi, I'm the test element.

View file

@ -0,0 +1,2 @@
In TestTheme
<?php echo $this->Html->image('test.jpg') ?>

View file

@ -0,0 +1,2 @@
default test_theme layout
<?php echo $this->fetch('content') ?>

View file

@ -0,0 +1 @@
Into TestPlugin. (themed)

View file

@ -0,0 +1 @@
test_plugin test_plugin_theme default layout

View file

@ -0,0 +1 @@
test plugin index theme view

View file

@ -0,0 +1 @@
posts index themed view

View file

@ -0,0 +1 @@
I'm a themed scaffold file.

View file

@ -0,0 +1,4 @@
posts themed themed file.
<!--nocache-->
<?php echo $this->element('test_element'); ?>
<!--/nocache-->

View file

@ -0,0 +1 @@
/* this is the test asset css file */

View file

@ -0,0 +1 @@
/* theme webroot css file */

View file

@ -0,0 +1 @@
this is just a test to load swf file from the theme.

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -0,0 +1 @@
// nested theme js file

View file

@ -0,0 +1 @@
// root theme js file

View file

@ -0,0 +1 @@
this is just a test to load pdf file from the theme.

View file

@ -0,0 +1 @@
This is not an image.