Development

Documentation/de_DE/my_first_project/trunk (diff)

You must first sign up to be able to contribute.

Changes between Version 4 and Version 5 of Documentation/de_DE/my_first_project/trunk

Show
Ignore:
Author:
madman (IP: 77.180.39.81)
Timestamp:
02/21/08 01:02:53 (10 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/de_DE/my_first_project/trunk

    v4 v5  
    136136 
    137137{{{ 
     138#!php 
    138139<div id="container" style="width:600px;margin:0 auto;border:1px solid grey;padding:10px"> 
    139140  <div id="navigation" style="display:inline;float:right"> 
    185186 
    186187{{{ 
     188#!php 
    187189<h1>Welcome to my swell weblog</h1> 
    188190<p>You are the <?php echo rand(1000,5000) ?>th visitor today.</p> 
    206208 
    207209{{{ 
     210#!php 
    208211public function executeShow () 
    209212{ 
    222225 
    223226{{{ 
     227#!php 
    224228... 
    225229<?php use_helper('Text', 'Date') ?> 
    256260 
    257261{{{ 
     262#!php 
    258263<?php echo link_to('Add a comment','comment/create?post_id='.$post->getId()) ?> 
    259264}}} 
    262267 
    263268{{{ 
     269#!php 
    264270<tr> 
    265271  <th>Post*:</th> 
    273279 
    274280{{{ 
     281#!php 
    275282<?php if ($sf_request->hasParameter('post_id')): ?> 
    276283  <?php echo input_hidden_tag('post_id',$sf_request->getParameter('post_id')) ?>  
    290297 
    291298{{{ 
     299#!php 
    292300public function executeUpdate () 
    293301{ 
    356364 
    357365{{{ 
     366#!php 
    358367public function handleError() 
    359368{ 
    365374 
    366375{{{ 
     376#!php 
    367377<?php if ($sf_request->hasErrors()): ?>   
    368378  <div id="errors" style="padding:10px;"> 
    390400 
    391401{{{ 
     402#!php 
    392403public function getStrippedTitle() 
    393404{ 
    411422 
    412423{{{ 
     424#!php 
    413425public function executePermalink() 
    414426{ 
    433445 
    434446{{{ 
     447#!php 
    435448<td><?php echo $post->getTitle() ?></td> 
    436449}}} 
    439452 
    440453{{{ 
     454#!php 
    441455<td><?php echo link_to($post->getTitle(), '/'.$sf_last_module.'/permalink?title='.$post->getStrippedTitle()) ?></td> 
    442456}}} 
    467481 
    468482{{{ 
     483#!php 
    469484<?php echo link_to('edit', 'post/edit?id='.$post->getId()) ?> 
    470485}}} 
    473488 
    474489{{{ 
     490#!php 
    475491<?php echo link_to('create', 'post/create') ?> 
    476492}}} 
    502518 
    503519{{{ 
     520#!php 
    504521<div id="navigation"> 
    505522  <ul style="list-style:none;"> 
    559576 
    560577{{{ 
     578#!php 
    561579public function getNbComments() 
    562580{ 
    591609 
    592610{{{ 
     611#!php 
    593612<h2>Authentication</h2> 
    594613  
    611630 
    612631{{{ 
     632#!php 
    613633public function executeLogin() 
    614634{