moduleSuccess.php 1.4 KB

123456789101112131415161718192021222324
  1. <?php decorate_with(dirname(__FILE__).'/defaultLayout.php') ?>
  2. <div class="sfTMessageContainer sfTMessage">
  3. <?php echo image_tag('/sf/sf_default/images/icons/ok48.png', array('alt' => 'module created', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
  4. <div class="sfTMessageWrap">
  5. <h1>Module "<?php echo $sf_params->get('module') ?>" created</h1>
  6. <h5>Congratulations! You have successfully created a symfony module.</h5>
  7. </div>
  8. </div>
  9. <dl class="sfTMessageInfo">
  10. <dt>This is a temporary page</dt>
  11. <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>
  12. <dt>What's next</dt>
  13. <dd>
  14. <ul class="sfTIconList">
  15. <li class="sfTDirectoryMessage">Browse to the <code>apps/<?php echo sfContext::getInstance()->getConfiguration()->getApplication() ?>/modules/<?php echo $sf_params->get('module') ?>/</code> directory</li>
  16. <li class="sfTEditMessage">In <code>actions/actions.class.php</code>, edit the <code>executeIndex()</code> method and remove the final <code>forward</code></li>
  17. <li class="sfTColorMessage">Customize the <code>templates/indexSuccess.php</code> template</li>
  18. <li class="sfTLinkMessage"><?php echo link_to('Learn more from the online documentation', 'http://www.symfony-project.org/doc') ?></li>
  19. </ul>
  20. </dd>
  21. </dl>