initial commit

This commit is contained in:
Chris Sewell
2012-11-28 03:55:08 -05:00
parent 7adb399b2e
commit cf140a2e97
3247 changed files with 492437 additions and 0 deletions

View File

@ -0,0 +1,76 @@
<?php
/*
* This file is part of the symfony package.
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* defaultActions module.
*
* @package symfony
* @subpackage action
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @version SVN: $Id: actions.class.php 3313 2007-01-20 07:00:37Z fabien $
*/
class defaultActions extends sfActions
{
/**
* Congratulations page for creating an application
*
*/
public function executeIndex()
{
}
/**
* Congratulations page for creating a module
*
*/
public function executeModule()
{
}
/**
* Error page for page not found (404) error
*
*/
public function executeError404()
{
}
/**
* Warning page for restricted area - requires login
*
*/
public function executeSecure()
{
}
/**
* Warning page for restricted area - requires credentials
*
*/
public function executeLogin()
{
}
/**
* Website temporarily unavailable
*
*/
public function executeUnavailable()
{
}
/**
* Website disabled by the site administrator (in settings.yml)
*
*/
public function executeDisabled()
{
}
}

View File

@ -0,0 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<?php use_stylesheet('/sf/sf_default/css/screen.css', 'last') ?>
<link rel="shortcut icon" href="/favicon.ico" />
<!--[if lt IE 7.]>
<?php echo stylesheet_tag('/sf/sf_default/css/ie.css') ?>
<![endif]-->
</head>
<body>
<div class="sfTContainer">
<?php echo link_to(image_tag('/sf/sf_default/images/sfTLogo.png', array('alt' => 'symfony PHP Framework', 'class' => 'sfTLogo', 'size' => '186x39')), 'http://www.symfony-project.com/') ?>
<?php echo $sf_data->getRaw('sf_content') ?>
</div>
</body>
</html>

View File

@ -0,0 +1,19 @@
<?php decorate_with(sfLoader::getTemplatePath('default', 'defaultLayout.php')) ?>
<div class="sfTMessageContainer sfTAlert">
<?php echo image_tag('/sf/sf_default/images/icons/disabled48.png', array('alt' => 'module disabled', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
<div class="sfTMessageWrap">
<h1>This Module is Unavailable</h1>
<h5>This module has been disabled by a site administrator.</h5>
</div>
</div>
<dl class="sfTMessageInfo">
<dt>What's next</dt>
<dd>
<ul class="sfTIconList">
<li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li>
<li class="sfTLinkMessage"><?php echo link_to('Go to Homepage', '@homepage') ?></li>
</ul>
</dd>
</dl>

View File

@ -0,0 +1,27 @@
<?php decorate_with(sfLoader::getTemplatePath('default', 'defaultLayout.php')) ?>
<div class="sfTMessageContainer sfTAlert">
<?php echo image_tag('/sf/sf_default/images/icons/cancel48.png', array('alt' => 'page not found', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
<div class="sfTMessageWrap">
<h1>Oops! Page Not Found</h1>
<h5>The server returned a 404 response.</h5>
</div>
</div>
<dl class="sfTMessageInfo">
<dt>Did you type the URL?</dt>
<dd>You may have typed the address (URL) incorrectly. Check it to make sure you've got the exact right spelling, capitalization, etc.</dd>
<dt>Did you follow a link from somewhere else at this site?</dt>
<dd>If you reached this page from another part of this site, please email us at <?php echo mail_to('[email]') ?> so we can correct our mistake.</dd>
<dt>Did you follow a link from another site?</dt>
<dd>Links from other sites can sometimes be outdated or misspelled. Email us at <?php echo mail_to('[email]') ?> where you came from and we can try to contact the other site in order to fix the problem.</dd>
<dt>What's next</dt>
<dd>
<ul class="sfTIconList">
<li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li>
<li class="sfTLinkMessage"><?php echo link_to('Go to Homepage', '@homepage') ?></li>
</ul>
</dd>
</dl>

View File

@ -0,0 +1,25 @@
<?php decorate_with(sfLoader::getTemplatePath('default', 'defaultLayout.php')) ?>
<div class="sfTMessageContainer sfTMessage">
<?php echo image_tag('/sf/sf_default/images/icons/ok48.png', array('alt' => 'ok', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
<div class="sfTMessageWrap">
<h1>Symfony Project Created</h1>
<h5>Congratulations! You have successfully created your symfony project.</h5>
</div>
</div>
<dl class="sfTMessageInfo">
<dt>Project setup successful</dt>
<dd>This project uses the symfony libraries. If you see no image in this page, you may need to configure your web server so that it gains access to the <code>symfony_data/web/sf/</code> directory.</dd>
<dt>This is a temporary page</dt>
<dd>This page is part of the symfony <code>default</code> module. It will disappear as soon as you define a <code>homepage</code> route in your <code>routing.yml</code>.</dd>
<dt>What's next</dt>
<dd>
<ul class="sfTIconList">
<li class="sfTDatabaseMessage">Create your data model</li>
<li class="sfTColorMessage">Customize the layout of the generated templates</li>
<li class="sfTLinkMessage"><?php echo link_to('Learn more from the online documentation', 'http://www.symfony-project.com/content/documentation.html') ?></li>
</ul>
</dd>
</dl>

View File

@ -0,0 +1,23 @@
<?php decorate_with(sfLoader::getTemplatePath('default', 'defaultLayout.php')) ?>
<div class="sfTMessageContainer sfTLock">
<?php echo image_tag('/sf/sf_default/images/icons/lock48.png', array('alt' => 'credentials required', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
<div class="sfTMessageWrap">
<h1>Credentials Required</h1>
<h5>This page is in a restricted area.</h5>
</div>
</div>
<dl class="sfTMessageInfo">
<dt>You do not have the proper credentials to access this page</dt>
<dd>Even though you are already logged in, this page requires special credentials that you currently don't have. </dd>
<dt>How to access this page</dt>
<dd>You must ask a site administrator to grant you some special credentials.</dd>
<dt>What's next</dt>
<dd>
<ul class="sfTIconList">
<li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li>
</ul>
</dd>
</dl>

View File

@ -0,0 +1,23 @@
<?php decorate_with(sfLoader::getTemplatePath('default', 'defaultLayout.php')) ?>
<div class="sfTMessageContainer sfTMessage">
<?php echo image_tag('/sf/sf_default/images/icons/ok48.png', array('alt' => 'module created', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
<div class="sfTMessageWrap">
<h1>Module "<?php echo $sf_params->get('module') ?>" created</h1>
<h5>Congratulations! You have successfully created a symfony module.</h5>
</div>
</div>
<dl class="sfTMessageInfo">
<dt>This is a temporary page</dt>
<dd>This page is part of the symfony <code>default</code> module. It will disappear as soon as you override the <code>index</code> action in the new module.</dd>
<dt>What's next</dt>
<dd>
<ul class="sfTIconList">
<li class="sfTDirectoryMessage">Browse to the <code>apps/<?php echo SF_APP ?>/modules/<?php echo $sf_params->get('module') ?>/</code> directory</li>
<li class="sfTEditMessage">In <code>actions/actions.class.php</code>, edit the <code>executeIndex()</code> method and remove the final <code>forward</code></li>
<li class="sfTColorMessage">Customize the <code>templates/indexSuccess.php</code> template</li>
<li class="sfTLinkMessage"><?php echo link_to('Learn more from the online documentation', 'http://www.symfony-project.com/content/documentation.html') ?></li>
</ul>
</dd>
</dl>

View File

@ -0,0 +1,21 @@
<?php decorate_with(sfLoader::getTemplatePath('default', 'defaultLayout.php')) ?>
<div class="sfTMessageContainer sfTLock">
<?php echo image_tag('/sf/sf_default/images/icons/lock48.png', array('alt' => 'login required', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
<div class="sfTMessageWrap">
<h1>Login Required</h1>
<h5>This page is not public.</h5>
</div>
</div>
<dl class="sfTMessageInfo">
<dt>How to access this page</dt>
<dd>You must proceed to the login page and enter your id and password.</dd>
<dt>What's Next</dt>
<dd>
<ul class="sfTIconList">
<li class="sfTLinkMessage"><?php echo link_to('Proceed to login', sfConfig::get('sf_login_module').'/'.sfConfig::get('sf_login_action')) ?></li>
<li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li>
</ul>
</dd>
</dl>

View File

@ -0,0 +1,9 @@
<?php decorate_with(sfLoader::getTemplatePath('default', 'defaultLayout.php')) ?>
<div class="sfTMessageContainer sfTAlert">
<?php echo image_tag('/sf/sf_default/images/icons/tools48.png', array('alt' => 'website unavailable', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
<div class="sfTMessageWrap">
<h1>Website Currently Unavailable</h1>
<h5>This website has been temporarily disabled. Please try again later.</h5>
</div>
</div>