Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor of the static pages on the site
- Loading branch information
Showing
15 changed files
with
122 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
/** | ||
* | ||
* @package Cupapp | ||
* @subpackage cms | ||
* @author Your name here | ||
* @version SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $ | ||
*/ | ||
class cmsActions extends sfActions { | ||
|
||
public function executeHome(sfWebRequest $request) { | ||
|
||
} | ||
public function executeRules(sfWebRequest $request) { | ||
|
||
} | ||
public function executeContact(sfWebRequest $request) { | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php slot('title'); ?> | ||
<?php echo __('Contact') ?> | ||
<?php end_slot(); ?> | ||
|
||
<?php slot('leftbar'); ?> | ||
<?php include_partial('global/leftbar') ?> | ||
<?php end_slot(); ?> | ||
|
||
<?php slot('rightbar'); ?> | ||
<?php include_partial('global/rightbar') ?> | ||
<?php end_slot(); ?> | ||
|
||
<div class="greybox"> | ||
<h1 id="contact_title"><?php echo __('Contact') ?></h1> | ||
<div> | ||
<div style="float:left"> | ||
zsol <br /> | ||
anathien <br /> | ||
aston | ||
</div> | ||
<div style="vertical-align: middle; line-height:3.7em"> | ||
@starcraft2.hu | ||
</div> | ||
</div> | ||
<div style="clear:both;"></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php slot('title'); ?> | ||
<?php echo __('Home') ?> | ||
<?php end_slot(); ?> | ||
|
||
<?php slot('leftbar'); ?> | ||
<?php include_partial('global/leftbar') ?> | ||
<?php end_slot(); ?> | ||
|
||
<?php slot('rightbar'); ?> | ||
<?php include_partial('global/rightbar') ?> | ||
<?php end_slot(); ?> | ||
|
||
<div class="greybox"> | ||
<h1 id="replay_index_title"><?php echo __('Home') ?></h1> | ||
<div id="index_div"> | ||
<p> | ||
Hello dear visitor! <br/><br/> | ||
<?php echo __("What you see now are the beginnings of a replay sharing site. Please use it to your pleasure! If you find any bugs, sending the details to my email address (%%contact%%) would help a lot.", array('%%contact%%' => link_to(__("Contact"), 'replay/contact'))); ?> <br/><br/> | ||
<?php echo __("Thanks in advance.")?> <br/> | ||
Zsol <br/><br/> | ||
</p> | ||
</div> | ||
<div style="clear:both;"></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
apps/frontend/modules/replay/actions/contactAction.class.php
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
apps/frontend/modules/replay/actions/indexAction.class.php
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
apps/frontend/modules/replay/templates/_contactContent.php
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
include(dirname(__FILE__).'/../../bootstrap/functional.php'); | ||
|
||
$browser = new sfTestFunctional(new sfBrowser()); | ||
|
||
$browser-> | ||
get('/cms/index')-> | ||
|
||
with('request')->begin()-> | ||
isParameter('module', 'cms')-> | ||
isParameter('action', 'index')-> | ||
end()-> | ||
|
||
with('response')->begin()-> | ||
isStatusCode(200)-> | ||
checkElement('body', '!/This is a temporary page/')-> | ||
end() | ||
; |