Esempio n. 1
0
if ($sf_request->hasError('profit')) {
    echo '<span class="form-error">' . $sf_request->getError('profit') . '</span>';
}
?>
            <?php 
echo label_for('profit', 'Will your project generate any profit, or intellectual property? If so, please explain.'), select_tag_yes_no('profit', $project->getProfit()), object_textarea_tag($project, 'getProfitDetails', array('size' => '20x3'));
?>
            
            <?php 
if ($sf_request->hasError('liability')) {
    echo '<span class="form-error">' . $sf_request->getError('liability') . '</span>';
}
?>
            <?php 
echo label_for('liability', 'Are there any concerns over liability in your project?');
echo select_tag_yes_no('liability', $project->getLiability());
?>
            
            <?php 
echo object_textarea_tag($project, 'getLiabilityDetails', array('size' => '20x3'));
?>
            
            <?php 
if (isset($hasSpecialNotes) && $hasSpecialNotes == true) {
    ?>
              Here are some questions that are specific to projects in <?php 
    echo $project->getCategory();
    ?>
:
            <?php 
}
Esempio n. 2
0
    <div class="blue-shadow"><div class="blue-title blue-content">Project Details</div></div>
    <div class="blue-shadow">
      <div class="blue-content">
        <fieldset style="border: medium none;">
            <ul>
            <?php 
//<li><?php echo label_for('season', 'Season'), select_tag_seasons('season', $project->getSeason()), select_tag_project_years('year', $project->getYear()) </li>
?>
            <li><?php 
echo label_for('begin', 'Begin'), object_input_date_tag($project, 'getBegin', array('rich' => true, 'style' => 'width:15%;margin-right:5px;'));
echo label_for('campus', 'Campus'), select_tag('campus', objects_for_select($campuses, 'getId', 'getName', '', array()), array('class' => 'xxx'));
?>
</li>
            <li><?php 
echo label_for('finish', 'Finish'), object_input_date_tag($project, 'getFinish', array('rich' => true, 'style' => 'width:15%;margin-right:5px;'));
echo label_for('published', 'Public'), select_tag_yes_no('published', $project->getPublished());
?>
</li>
            <?php 
//<li><?php echo label_for('applications', 'Applications'), select_tag_project_applications('applications', $project->getApplications()) </li>
?>
            <li></li>
            <li></li>
            <?php 
//Views:echo $project->getHits()
?>
            </ul>
        </fieldset>
        <fieldset style="width:100%;">
          <legend>Legal Stuff</legend>
          <?php