当前位置: 首页>>代码示例>>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;未经允许,请勿转载。