當前位置: 首頁>>代碼示例>>PHP>>正文


PHP captcha::image_tag方法代碼示例

本文整理匯總了PHP中captcha::image_tag方法的典型用法代碼示例。如果您正苦於以下問題:PHP captcha::image_tag方法的具體用法?PHP captcha::image_tag怎麽用?PHP captcha::image_tag使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在captcha的用法示例。


在下文中一共展示了captcha::image_tag方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __

		</div>
		<?php 
}
?>
		
		<?php 
if (core::config('advertisement.captcha') != FALSE) {
    ?>
		<div class="form-group">
			<div class="col-xs-10">
				<?php 
    echo __('Captcha');
    ?>
*:<br />
				<?php 
    echo captcha::image_tag('contact');
    ?>
<br />
				<?php 
    echo FORM::input('captcha', "", array('class' => 'form-control', 'id' => 'captcha', 'required'));
    ?>
			</div>
		</div>
		<?php 
}
?>
			
			<div class="modal-footer">	
			<?php 
echo FORM::button('submit', __('Send Message'), array('type' => 'submit', 'class' => 'btn btn-success', 'action' => Route::url('default', array('controller' => 'contact', 'action' => 'user_contact', 'id' => $widget->id_ad))));
?>
開發者ID:Wildboard,項目名稱:WbWebApp,代碼行數:31,代碼來源:widget_contact.php

示例2: __

				<div class="form-group">
					<div class="col-md-4">
						<?php 
    if (Core::config('general.recaptcha_active')) {
        ?>
							<?php 
        echo Captcha::recaptcha_display();
        ?>
						<?php 
    } else {
        ?>
							<?php 
        echo FORM::label('captcha', __('Captcha'), array('for' => 'captcha'));
        ?>
							<span id="helpBlock" class="help-block"><?php 
        echo captcha::image_tag('publish_new');
        ?>
</span>
							<?php 
        echo FORM::input('captcha', "", array('class' => 'form-control', 'id' => 'captcha', 'required', 'data-error' => __('Captcha is not correct')));
        ?>
						<?php 
    }
    ?>
					</div>
				</div>
			<?php 
}
?>
			<div class="form-actions">
				<?php 
開發者ID:akram,項目名稱:openclassifieds2-jetski,代碼行數:31,代碼來源:new.php

示例3: __

            if (Core::config('general.recaptcha_active')) {
                ?>
                                        <?php 
                echo Captcha::recaptcha_display();
                ?>
                                        <div id="recaptcha1"></div>
                                    <?php 
            } else {
                ?>
                                        <div class="row">
                                            <div class="col-md-4">
                                                <?php 
                echo FORM::label('captcha', __('Captcha'), array('for' => 'captcha'));
                ?>
                                                <span id="helpBlock" class="help-block"><?php 
                echo captcha::image_tag('review');
                ?>
</span>
                                                <?php 
                echo FORM::input('captcha', "", array('class' => 'form-control', 'id' => 'captcha', 'required'));
                ?>
                                            </div>
                                        </div>
                                    <?php 
            }
            ?>
                                </div>
                                <div class="clearfix"></div>
                            <?php 
        }
        ?>
開發者ID:Chinese1904,項目名稱:openclassifieds2,代碼行數:31,代碼來源:reviews.php

示例4: __

    </div>

    <?if (core::config('advertisement.captcha') != FALSE):?>
    <div class="form-group">
            <div class="col-md-4">
                <?if (Core::config('general.recaptcha_active')):?>
                    <?php 
echo Captcha::recaptcha_display();
?>
                <?else:?>
                    <?php 
echo __('Captcha');
?>
*:<br />
                    <?php 
echo captcha::image_tag('new-reply-topic');
?>
<br />
                    <?php 
echo FORM::input('captcha', "", array('class' => 'form-control', 'id' => 'captcha', 'required'));
?>
                <?endif?>
            </div>
    </div>
    <?endif?>

    <button type="submit" class="btn btn-primary" name="submit"><?php 
echo __('Reply');
?>
</button>
</form>  
開發者ID:nick-catanchin-ie,項目名稱:common,代碼行數:31,代碼來源:topic.php

示例5: isset

echo Captcha::recaptcha_display();
?>
 
	                  	<div id="<?php 
echo isset($recaptcha_placeholder) ? $recaptcha_placeholder : 'recaptcha3';
?>
"></div>
	                </div>
              	<?else:?>
                	<label class="col-sm-2 control-label"><?php 
echo _e('Captcha');
?>
*:</label>
                	<div class="col-md-5 col-sm-6">
                  		<span id="helpBlock" class="help-block"><?php 
echo captcha::image_tag('register');
?>
</span>
                  		<?php 
echo FORM::input('captcha', "", array('class' => 'form-control', 'id' => 'captcha', 'required', 'data-error' => __('Captcha is not correct')));
?>
                	</div>
              	<?endif?>
            <?endif?>
		</div>
	</div>
	<div class="modal-foot-controls clearfix">
		<a class="btn btn-base-dark pull-left log-btn"  data-dismiss="modal" data-toggle="modal"  href="<?php 
echo Route::url('oc-panel', array('directory' => 'user', 'controller' => 'auth', 'action' => 'login'));
?>
#login-modal">
開發者ID:johnulist,項目名稱:openclassifieds2,代碼行數:31,代碼來源:register-form.php

示例6: _e

        ?>
								<?php 
        echo Captcha::recaptcha_display();
        ?>
								<div id="recaptcha1"></div>
								
							<?php 
    } else {
        ?>
								<div class="form-captcha wide-view">
									<span class="cap_note text-center"><?php 
        echo FORM::label('captcha', _e('Captcha'), array('for' => 'captcha'));
        ?>
</span>
									<span class="cap_img"><?php 
        echo captcha::image_tag('new-forum');
        ?>
</span>
									<span class="cap_ans"><?php 
        echo FORM::input('captcha', "", array('class' => 'form-control', 'id' => 'captcha', 'required'));
        ?>
</span>
								</div>
							<?php 
    }
    ?>
						</dl>
					<?php 
}
?>
			
開發者ID:kotsios5,項目名稱:openclassifieds2,代碼行數:30,代碼來源:new.php


注:本文中的captcha::image_tag方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。