Changeset 64

Show
Ignore:
Timestamp:
07/12/08 13:55:14 (2 years ago)
Author:
nperriault
Message:

[1.1] removed all references to form_tag() helper

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/apps/main/modules/companies/templates/_filterForm.php

    r2 r64  
    1 <?php echo form_tag('@companies_home', 'method=get id=country_form') ?
     1<form action="<?php echo url_for('@companies_home') ?>" method="get" id="country_form"
    22  <?php echo label_for('country', __('Filter by country')) ?> 
    33  <?php echo select_tag('country', 
     
    66                                           array('include_custom' => __('All countries')))) ?> 
    77  <?php echo submit_tag(__('Filter')) ?> 
    8 <?php echo end_form() ?
     8</form
  • trunk/apps/main/modules/companies/templates/_form.php

    r2 r64  
    1010</p> 
    1111 
    12 <?php echo form_tag($form_route, 'multipart=true') ?
     12<form action="<?php echo url_for($form_route) ?>" method="post" enctype="multipart/form-data"
    1313  <div class="fiftypercent"> 
    1414    <fieldset> 
     
    9292    </p> 
    9393  </div> 
    94 <?php echo end_form() ?
     94</form
  • trunk/apps/main/modules/companies/templates/connectSuccess.php

    r2 r64  
    3636</p> 
    3737 
    38 <?php echo form_tag($sf_data->getRaw('form_action')) ?
     38<form action="<?php echo url_for($sf_data->getRaw('form_action')) ?>" method="post"
    3939  <div class="fiftypercent"> 
    4040    <fieldset> 
     
    7979    </p> 
    8080  </div> 
    81 <?php echo end_form() ?
     81</form
  • trunk/apps/main/modules/companies/templates/contactSuccess.php

    r2 r64  
    1717</p> 
    1818 
    19 <?php echo form_tag('@company_contact?slug='.$company->getSlug()) ?
     19<form action="<?php echo url_for('@company_contact?slug='.$company->getSlug()) ?>" method="post"
    2020  <fieldset> 
    2121    <legend><?php echo __('Fill the form then send your message') ?></legend> 
     
    4646    </div> 
    4747  </fieldset> 
    48 <?php echo end_form() ?
     48</form
  • trunk/apps/main/modules/jobs/templates/_filterForm.php

    r2 r64  
    1 <?php echo form_tag('@jobs_home', 'method=get id=country_form') ?
     1<form action="<?php echo url_for('@jobs_home') ?>" method="get" id="country_form"
    22  <p> 
    33    <?php echo label_for('country', __('Filter by country')) ?> 
     
    2121    <?php echo submit_tag(__('Filter')) ?> 
    2222  </p> 
    23 <?php echo end_form() ?
     23</form
  • trunk/apps/main/modules/jobs/templates/_form.php

    r2 r64  
    1010</p> 
    1111 
    12 <?php echo form_tag($form_route, 'multipart=true') ?
     12<form action="<?php echo url_for($form_route) ?>" method="post" enctype="multipart/form-data"
    1313  <div class="fiftypercent"> 
    1414    <fieldset> 
     
    9090    </p> 
    9191  </div> 
    92 <?php echo end_form() ?
     92</form
  • trunk/apps/main/modules/people/templates/_filterForm.php

    r2 r64  
    1 <?php echo form_tag('@people_home', 'method=get id=country_form') ?
     1<form action="<?php echo url_for('@people_home') ?>" method="get" id="country_form"
    22  <p> 
    33    <?php echo label_for('country', __('Filter by country')) ?> 
     
    2727    <?php echo submit_tag(__('Filter')) ?> 
    2828  </p> 
    29 <?php echo end_form() ?
     29</form
  • trunk/apps/main/modules/people/templates/contactSuccess.php

    r2 r64  
    1313<h2><?php echo $page_title ?><span class="gradient">&nbsp;</span></h2> 
    1414 
    15 <?php echo form_tag('@person_contact?to_username='.$recipient->getUsername()) ?
     15<form action="<?php echo url_for('@person_contact?to_username='.$recipient->getUsername()) ?>" method="post"
    1616  <fieldset> 
    1717    <legend><?php echo __('Fill the form then send your message') ?></legend> 
     
    4343    </p> 
    4444  </fieldset> 
    45 <?php echo end_form() ?
     45</form
  • trunk/apps/main/modules/people/templates/recommendSuccess.php

    r2 r64  
    1818<h2><?php echo $page_title ?><span class="gradient">&nbsp;</span></h2> 
    1919 
    20 <?php echo form_tag('@person_recommend?to_username='.$user->getUsername()) ?
     20<form action="<?php echo url_for('@person_recommend?to_username='.$user->getUsername()) ?>" method="post"
    2121  <fieldset> 
    2222    <legend><?php echo __('Explain why you recommend this person') ?></legend> 
     
    3535    </p> 
    3636  </fieldset> 
    37 <?php echo end_form() ?
     37</form
  • trunk/apps/main/modules/sfGuardAuth/templates/changePasswordSuccess.php

    r2 r64  
    1515</p> 
    1616 
    17 <?php echo form_tag('@user_password_change') ?
     17<form action="<?php echo url_for('@user_password_change') ?>" method="post"
    1818  <div class="fiftypercent"> 
    1919    <fieldset> 
     
    4141    </fieldset> 
    4242  </div> 
    43 <?php echo end_form() ?
     43</form
  • trunk/apps/main/modules/sfGuardAuth/templates/forgotPasswordSuccess.php

    r2 r64  
    1818</p> 
    1919 
    20 <?php echo form_tag('@user_forgot_password') ?
     20<form action="<?php echo url_for('@user_forgot_password') ?>" method="post"
    2121  <div class="fiftypercent"> 
    2222    <fieldset> 
     
    4242    </fieldset> 
    4343  </div> 
    44 <?php echo end_form() ?
     44</form
  • trunk/apps/main/modules/sfGuardAuth/templates/profileSuccess.php

    r2 r64  
    1717          <?php echo submit_tag(__('Remove this picture')) ?> 
    1818        </p> 
    19       <?php echo end_form() ?
     19      </form
    2020    <?php else: ?> 
    2121      <p><?php echo __('You have currently no picture associated to your profile') ?></p> 
     
    4343</p> 
    4444 
    45 <?php echo form_tag('@user_profile', 'multipart=true') ?
     45<form action="<?php echo url_for('@user_profile', 'multipart=true') ?>" method="post" enctype="multipart/form-data"
    4646  <div class="fiftypercent"> 
    4747    <fieldset> 
     
    206206    </p> 
    207207  </div> 
    208 <?php echo end_form() ?
     208</form
  • trunk/apps/main/modules/sfGuardAuth/templates/registerSuccess.php

    r56 r64  
    5151    </p> 
    5252  </div> 
    53 <?php echo end_form() ?
     53</form
  • trunk/apps/main/modules/sfGuardAuth/templates/resendActivationSuccess.php

    r56 r64  
    3636    </fieldset> 
    3737  </div> 
    38 <?php echo end_form() ?
     38</form
  • trunk/apps/main/modules/sfGuardAuth/templates/skillsSuccess.php

    r2 r64  
    1616</p> 
    1717 
    18 <?php echo form_tag('@user_profile_skills') ?
     18<form action="<?php echo url_for('@user_profile_skills') ?>" method="post"
    1919  <ul class="skills_list"> 
    2020  <?php $i = 0; foreach ($skill_tags as $skill): ?> 
     
    2828    <?php echo submit_tag(__('Update your skills')) ?> 
    2929  </p> 
    30 <?php echo end_form() ?
     30</form
  • trunk/apps/main/modules/sfLucene/templates/advancedSearchControls.php

    r2 r64  
    1010<h2><?php echo $page_title ?><span class="gradient">&nbsp;</span></h2> 
    1111 
    12 <?php echo form_tag('sfLucene/advancedSearch', 'method=get') ?
     12<form action="<?php echo url_for('sfLucene/advancedSearch') ?>" method="get"
    1313  <fieldset> 
    1414    <legend><?php echo __('Search Terms') ?></legend> 
  • trunk/apps/main/modules/utils/templates/contactSuccess.php

    r2 r64  
    55<h2><?php echo __('Contact') ?><span class="gradient">&nbsp;</span></h2> 
    66 
    7 <?php echo form_tag('@contact') ?
     7<form action="<?php echo url_for('@contact') ?>" method="post"
    88  <fieldset> 
    99    <legend><?php echo __('Fill the form then send your message') ?></legend> 
     
    3939    </div> 
    4040  </fieldset> 
    41 <?php echo end_form() ?
     41</form