<p> <?php if (count($c->getErrors()) > 0) { displayError($c->getErrors()); } ?> </p> <div id="loginBlockContainer"> <form id="login_form" action="login.php" method="post"> <?php print getCsrfFormTag(); ?> <input type="hidden" id="startUrl" name="startUrl" value="<?php print $c->getStartUrl(); ?> "> <div id="login_type_selection" style="text-align: right; <?php if ($c->isOAuthRequired()) { print "display:none;"; } ?> "> <input type="radio" id="loginType_std" name="loginType" value="std"/> <label for="loginType_std">Standard</label> <input type="radio" id="loginType_adv" name="loginType" value="adv"/> <label for="loginType_adv">Advanced</label> <?php
<p> <?php if (count($c->getErrors()) > 0) { displayError($c->getErrors()); } ?> </p> <div id="loginBlockContainer"> <form id="login_form" action="login.php" method="post"> <?php print getCsrfFormTag(); ?> <input type="hidden" id="startUrl" name="startUrl" value="<?php print htmlspecialchars($c->getStartUrl(), ENT_QUOTES); ?> "> <div id="login_type_selection" style="text-align: right; <?php if ($c->isOAuthRequired()) { print "display:none;"; } ?> "> <input type="radio" id="loginType_std" name="loginType" value="std"/> <label for="loginType_std">Standard</label> <input type="radio" id="loginType_adv" name="loginType" value="adv"/> <label for="loginType_adv">Advanced</label> <?php
<?php printSelectOptions($c->getApiVersionSelectOptions(), $c->getApiVersion()); ?> </select> </p> </div> <div class="loginType_std loginType_oauth loginType_adv"> <p style="display: <?php print WorkbenchConfig::get()->value("displayJumpTo") ? "block" : "none"; ?> "> <label for="startUrl">Jump to:</label> <select id="startUrl" name="startUrl" style="width: 18em;"> <?php printSelectOptions($c->getStartUrlSelectOptions(), $c->getStartUrl()); ?> </select> </p> <?php if ($c->getTermsFile()) { ?> <div style="margin-left: 95px;"> <input type="checkbox" id="termsAccepted" name="termsAccepted"/> <label for="termsAccepted"><a href="terms.php" target="_blank">I agree to the terms of service</a></label> </div> <?php } ?>