当前位置: 首页>>代码示例>>PHP>>正文


PHP cmtx_generate_hint函数代码示例

本文整理汇总了PHP中cmtx_generate_hint函数的典型用法代码示例。如果您正苦于以下问题:PHP cmtx_generate_hint函数的具体用法?PHP cmtx_generate_hint怎么用?PHP cmtx_generate_hint使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了cmtx_generate_hint函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: cmtx_generate_hint

    ?>
 <input type="checkbox" name="viewers_refresh_enabled"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_VISITOR_REFRESH);
?>
<p />
<label class='settings_viewers'><?php 
echo CMTX_FIELD_LABEL_INTERVAL;
?>
</label> <input type="text" required name="viewers_refresh_time" size="1" maxlength="250" value="<?php 
echo cmtx_setting('viewers_refresh_time');
?>
"/> <span class='note'><?php 
echo CMTX_NOTE_SECONDS;
?>
</span>
<?php 
cmtx_generate_hint(CMTX_HINT_VISITOR_INTERVAL);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:jonathancromie,项目名称:ifb299,代码行数:31,代码来源:settings_viewers.php

示例2: cmtx_generate_hint

?>
"/>
<?php 
cmtx_generate_hint(CMTX_HINT_LIMIT_COMMENTS);
?>
<p />
<label class='settings_system'><?php 
echo CMTX_FIELD_LABEL_ADMIN_COOKIE_DAYS;
?>
</label> <input type="text" required name="admin_cookie_days" size="1" maxlength="3" value="<?php 
echo cmtx_setting('admin_cookie_days');
?>
"/> <span class='note'><?php 
echo CMTX_NOTE_DAYS;
?>
</span>
<?php 
cmtx_generate_hint(CMTX_HINT_ADMIN_COOKIE_DAYS);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:settings_system.php

示例3: cmtx_generate_hint

}
cmtx_generate_hint(CMTX_HINT_REPLY_ARROW);
?>
<p />
<label class='layout_comments_replies'><?php 
echo CMTX_FIELD_LABEL_SCROLL_REPLY;
?>
</label> <?php 
if (cmtx_setting('scroll_reply')) {
    ?>
 <input type="checkbox" checked="checked" name="scroll_reply"/> <?php 
} else {
    ?>
 <input type="checkbox" name="scroll_reply"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_SCROLL_REPLY);
?>
<p />
<label class='layout_comments_replies'><?php 
echo CMTX_FIELD_LABEL_SCROLL_SPEED;
?>
</label> <input type="text" required name="scroll_speed" size="3" maxlength="250" value="<?php 
echo cmtx_setting('scroll_speed');
?>
"/> <span class='note'><?php 
echo CMTX_NOTE_MILLISECONDS;
?>
</span>
<p />
<?php 
cmtx_set_csrf_form_key();
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:layout_comments_replies.php

示例4: cmtx_generate_hint

}
cmtx_generate_hint(CMTX_HINT_ONE_NAME);
?>
<p />
<label class='settings_processor_name'><?php 
echo CMTX_FIELD_LABEL_FIX_NAME;
?>
</label> <?php 
if (cmtx_setting('fix_name_enabled')) {
    ?>
 <input type="checkbox" checked="checked" name="fix_name_enabled"/> <?php 
} else {
    ?>
 <input type="checkbox" name="fix_name_enabled"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_FIX_NAME);
?>
<p /><hr class="separator"/><br />
<label class='settings_processor_name'><?php 
echo CMTX_FIELD_LABEL_DETECT_LINKS;
?>
</label> <?php 
if (cmtx_setting('detect_link_in_name_enabled')) {
    ?>
 <input type="checkbox" checked="checked" name="detect_link_in_name_enabled"/> <?php 
} else {
    ?>
 <input type="checkbox" name="detect_link_in_name_enabled"/> <?php 
}
?>
<p />
开发者ID:jonathancromie,项目名称:ifb299,代码行数:31,代码来源:settings_processor_name.php

示例5: cmtx_setting

    echo cmtx_setting('securimage_lines');
    ?>
"/>
<?php 
    cmtx_generate_hint(CMTX_HINT_SECURIMAGE_LINES);
    ?>
<p />
<label class='layout_form_captchas_securimage_1'><?php 
    echo CMTX_FIELD_LABEL_SECURIMAGE_NOISE;
    ?>
</label> <input type="text" required name="securimage_noise" size="1" maxlength="250" value="<?php 
    echo cmtx_setting('securimage_noise');
    ?>
"/>
<?php 
    cmtx_generate_hint(CMTX_HINT_SECURIMAGE_NOISE);
    ?>
<div class='sub-heading'><?php 
    echo "Styling";
    ?>
</div>
<label class='layout_form_captchas_securimage_2'><?php 
    echo CMTX_FIELD_LABEL_SECURIMAGE_TEXT_COLOR;
    ?>
</label> <input type="text" required name="securimage_text_color" size="7" maxlength="250" value="<?php 
    echo cmtx_setting('securimage_text_color');
    ?>
"/>
<p />
<label class='layout_form_captchas_securimage_2'><?php 
    echo CMTX_FIELD_LABEL_SECURIMAGE_LINE_COLOR;
开发者ID:jonathancromie,项目名称:ifb299,代码行数:31,代码来源:layout_form_captchas_securimage.php

示例6: cmtx_generate_hint

?>
"/>
<?php 
cmtx_generate_hint(CMTX_HINT_FLAG_MIN_PER_COM);
?>
<p />
<label class='settings_flagging'><?php 
echo CMTX_FIELD_LABEL_DISAPPROVE;
?>
</label> <?php 
if (cmtx_setting('flag_disapprove')) {
    ?>
 <input type="checkbox" checked="checked" name="flag_disapprove"/> <?php 
} else {
    ?>
 <input type="checkbox" name="flag_disapprove"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_FLAG_DISAPPROVE);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:settings_flagging.php

示例7: cmtx_setting

?>
</label> <input type="text" required name="comments_per_page" size="1" maxlength="250" value="<?php 
echo cmtx_setting('comments_per_page');
?>
"/>
<?php 
cmtx_generate_hint(CMTX_HINT_PAGINATION_PER_PAGE);
?>
<p />
<label class='layout_comments_pagination'><?php 
echo CMTX_FIELD_LABEL_RANGE;
?>
</label> <input type="text" required name="range_of_pages" size="1" maxlength="250" value="<?php 
echo cmtx_setting('range_of_pages');
?>
"/>
<?php 
cmtx_generate_hint(CMTX_HINT_PAGINATION_RANGE);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:layout_comments_pagination.php

示例8: cmtx_generate_hint

<?php 
} else {
    ?>
<select name='is_locked'>
<option value='0' selected='selected'><?php 
    echo CMTX_FIELD_VALUE_NO;
    ?>
</option>
<option value='1'><?php 
    echo CMTX_FIELD_VALUE_YES;
    ?>
</option>
</select>
<?php 
}
cmtx_generate_hint(CMTX_HINT_LOCKED);
?>

<br /><hr class="separator"/><br />

<label class='edit_comment'><?php 
echo CMTX_FIELD_LABEL_IP_ADDRESS;
?>
</label> <input readonly="readonly" type="text" class="readonly" name="ip_address" size="12" maxlength="39" value="<?php 
echo $ip_address;
?>
"/>
<p />
<label class='edit_comment'><?php 
echo CMTX_FIELD_LABEL_TIME;
?>
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:edit_comment.php

示例9: cmtx_generate_hint

}
?>
</select>
<p /><hr class="separator"/><br />
<label class='settings_processor_comment'><?php 
echo CMTX_FIELD_LABEL_DETECT_REPEATS;
?>
</label> <?php 
if (cmtx_setting('check_repeats_enabled')) {
    ?>
 <input type="checkbox" checked="checked" name="check_repeats_enabled"/> <?php 
} else {
    ?>
 <input type="checkbox" name="check_repeats_enabled"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_DETECT_REPEATS);
?>
<p />
<label class='settings_processor_comment'><?php 
echo CMTX_FIELD_LABEL_ACTION;
?>
</label>
<select name='check_repeats_action'>
<?php 
if (cmtx_setting('check_repeats_action') == "reject") {
    ?>
<option value='reject' selected='selected'><?php 
    echo CMTX_FIELD_VALUE_REJECT;
    ?>
</option>
<option value='approve'><?php 
开发者ID:jonathancromie,项目名称:ifb299,代码行数:31,代码来源:settings_processor_comment.php

示例10: cmtx_generate_hint

?>
</select>
<?php 
cmtx_generate_hint(CMTX_HINT_REPEAT_RATINGS);
?>
<p />
<label class='layout_form_general'><?php 
echo CMTX_FIELD_LABEL_AGREE_TO_PREVIEW;
?>
</label> <?php 
if (cmtx_setting('agree_to_preview')) {
    ?>
 <input type="checkbox" checked="checked" name="agree_to_preview"/> <?php 
} else {
    ?>
 <input type="checkbox" name="agree_to_preview"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_AGREE_TO_PREVIEW);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:layout_form_general.php

示例11: cmtx_generate_hint

    ?>
 <input type="checkbox" name="approve_notifications"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_APPROVE_NOTIFICATIONS);
?>
<p />
<label class='settings_approval'><?php 
echo CMTX_FIELD_LABEL_TRUST_USERS;
?>
</label> <?php 
if (cmtx_setting('trust_users')) {
    ?>
 <input type="checkbox" checked="checked" name="trust_users"/> <?php 
} else {
    ?>
 <input type="checkbox" name="trust_users"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_TRUST_USERS);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:jonathancromie,项目名称:ifb299,代码行数:31,代码来源:settings_approval.php

示例12: cmtx_generate_hint

?>
"/> <span class='note'><?php 
echo CMTX_NOTE_HOURS;
?>
</span>
<p />
<label class='settings_flooding'><?php 
echo CMTX_FIELD_LABEL_ALL_PAGES;
?>
</label> <?php 
if (cmtx_setting('flood_control_maximum_all_pages')) {
    ?>
 <input type="checkbox" checked="checked" name="flood_control_maximum_all_pages"/> <?php 
} else {
    ?>
 <input type="checkbox" name="flood_control_maximum_all_pages"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_FLOODING_ALL_PAGES);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:settings_flooding.php

示例13: cmtx_generate_hint

    ?>
 <input type="checkbox" name="show_comment_count"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_DISPLAY_COMMENT_COUNT);
?>
<p />
<label class='layout_comments_general'><?php 
echo CMTX_FIELD_LABEL_DISPLAY_SAYS;
?>
</label> <?php 
if (cmtx_setting('show_says')) {
    ?>
 <input type="checkbox" checked="checked" name="show_says"/> <?php 
} else {
    ?>
 <input type="checkbox" name="show_says"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_DISPLAY_SAYS);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:layout_comments_general.php

示例14: cmtx_generate_hint

}
cmtx_generate_hint(CMTX_HINT_SOCIAL_ENABLED);
?>
<p />
<label class='layout_comments_social'><?php 
echo CMTX_FIELD_LABEL_NEW_WINDOW;
?>
</label> <?php 
if (cmtx_setting('social_new_window')) {
    ?>
 <input type="checkbox" checked="checked" name="social_new_window"/> <?php 
} else {
    ?>
 <input type="checkbox" name="social_new_window"/> <?php 
}
cmtx_generate_hint(CMTX_HINT_NEW_WIN);
?>

<p />

<?php 
echo CMTX_DESC_LAYOUT_COMMENTS_SOCIAL_2;
?>

<p />

<label class='layout_comments_social'><img src="../images/social/facebook.png" title="Facebook" alt="Facebook"/></label> <?php 
if (cmtx_setting('show_social_facebook')) {
    ?>
 <input type="checkbox" checked="checked" name="show_social_facebook"/> <?php 
} else {
开发者ID:jonathancromie,项目名称:ifb299,代码行数:31,代码来源:layout_comments_social.php

示例15: cmtx_setting

</label> <input type="text" required name="gravatar_size" size="1" maxlength="250" value="<?php 
echo cmtx_setting('gravatar_size');
?>
"/>
<span class='note'><?php 
echo CMTX_NOTE_PIXELS;
?>
</span>
<p />
<label class='layout_comments_gravatar'><?php 
echo CMTX_FIELD_LABEL_GRAVATAR_RATING;
?>
</label>
<?php 
$gravatar_ratings = "<select name='gravatar_ratings'>\r\n<option value='g'>G</option>\r\n<option value='pg'>PG</option>\r\n<option value='r'>R</option>\r\n<option value='x'>X</option>\r\n</select>";
$gravatar_ratings = str_ireplace("'" . cmtx_setting('gravatar_rating') . "'", "'" . cmtx_setting('gravatar_rating') . "' selected='selected'", $gravatar_ratings);
echo $gravatar_ratings;
cmtx_generate_hint(CMTX_HINT_GRAVATAR_RATING);
?>
<p />
<?php 
cmtx_set_csrf_form_key();
?>
<input type="submit" class="button" name="submit" title="<?php 
echo CMTX_BUTTON_UPDATE;
?>
" value="<?php 
echo CMTX_BUTTON_UPDATE;
?>
"/>
</form>
开发者ID:GTAWWEKID,项目名称:tsiserver.us,代码行数:31,代码来源:layout_comments_gravatar.php


注:本文中的cmtx_generate_hint函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。