Exemplo n.º 1
0
  <h1>Creating a project on Cothink . . .</h1>
  <div id="project-information" style="width:70%;float:left;background-color:#87B94D;color:white;padding:4px;">
    <h2>Here are a few things you should know...</h2>
    <p>
      Projects on Cothink have to meet certain requirements.<br />
      <span>1. As the project manager, you'll have to show how your proposal will benefit your community, and explain why student work will be a good fit for you.</span><br />
      <span>2. When you create your first project, we take a few extra steps to verify your identity. You might be required to upload a photo of yourself, or fill in extra fields for your profile.</span><br />
      Also, creating a project can be difficult, especially if you're not familiar with the subject area - you know what you want, but you don't know what it involves. At every step of the process, you can flag your application for help. The Cothink community, made up of experts from every field, will then be shown the page of the application you've requested help for. Everyone will make comments, and guide you, offering suggestions on setting reasonable guidelines. Only you can actually make the changes though, so no worries. Take the suggestions you like, and politely decline the ones you don't.
  </div>

  <div style="width:25%;float:right;background-color:#87B94D;color:white;padding:4px;">
    <p style="background-color:#E8B069;">
      Have questions?
      <?php 
echo link_to('Ask us!', '#');
?>
    </p>
    <br />
    <p>
      Finished Here?
      <?php 
echo link_to('Let\'s get started!', '@create_project_step1');
?>
  </div>

  <hr class="clear" />

<?php 
echo javascript_tag(nifty_round_elements("div#project-information", "all normal"));
Exemplo n.º 2
0
echo $feature->getUuid();
?>
">
    <span ><strong><?php 
echo format_number_choice('[0]0 Votes|[1]1 Vote|[2,+Inf] %1% votes', array('%1%' => $feature->getRecommendationScore()), $feature->getRecommendationScore());
?>
</strong></span><br />
    <p class="vote-marker-link" style="background-color: white;color: green;">
    <?php 
if ($feature->isOpen()) {
    if ($sf_user->isAuthenticated()) {
        if ($feature->userRecommendationExists($sf_user->getId())) {
            // already interested
            echo 'Voted!';
        } else {
            // didn't declare interest yet
            echo link_to_remote('Vote?', array('url' => 'features/vote?feature=' . $feature->getUuid(), 'update' => array('success' => 'mark_holder_' . $feature->getUuid()), 'loading' => "Element.show('indicator_" . $feature->getUuid() . "')", 'complete' => "Element.hide('indicator_" . $feature->getUuid() . "');" . visual_effect('highlight', 'mark_' . $feature->getUuid())));
        }
    } else {
        echo link_to_function(__('Login to vote'), visual_effect("toggle_appear", "sf_guard_auth_form"));
    }
} else {
    echo format_number_choice('[' . sfConfig::get('app_feature_status_closed') . ']Closed!|[' . sfConfig::get('app_feature_status_implemented') . ']Done!|[' . sfConfig::get('app_feature_status_fixed') . ',+Inf]Fixed!', array('%1%' => $feature->getStatus()), $feature->getStatus());
}
?>
    </p>
  </div>
  
  <?php 
echo javascript_tag(nifty_round_elements("mark_" . $feature->getUuid(), "all 5px"));
Exemplo n.º 3
0
function nifty_round_div($elements, $options = "")
{
    return nifty_round_elements($elements, $options);
}
Exemplo n.º 4
0
?>
</li>
    <li><?php 
echo link_to(__("Contact Us"), "@contact_form");
?>
</li>
    <li><?php 
echo link_to(__("Sitemap"), "@sitemap");
?>
</li>
    <li><a href="http://blog.cothink.org"><?php 
echo __("Blog");
?>
</a></li>
    <li class="last"><?php 
echo link_to(__("About"), "static/about");
?>
</li>
  </ul>
</div>

<?php 
//echo javascript_tag(nifty_round_elements( "div#content-holder", "all normal" ) )
echo javascript_tag(nifty_round_elements("div.adframe", "all normal"));
echo javascript_tag(nifty_round_elements("div#navlist-holder", "all normal"));
?>

</div>
</body>
</html>