• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP lorem_word函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: tpl_preview__ocf_edit_avatar_tab

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__ocf_edit_avatar_tab()
 {
     require_lang('ocf');
     require_css('ocf');
     $avatar = do_lorem_template('OCF_TOPIC_POST_AVATAR', array('AVATAR' => placeholder_image_url()));
     return array(lorem_globalise(do_lorem_template('OCF_EDIT_AVATAR_TAB', array('USERNAME' => lorem_word(), 'AVATAR' => $avatar, 'WIDTH' => placeholder_number(), 'HEIGHT' => placeholder_number())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:14,代码来源:ocf_member_avatars.php


示例2: tpl_preview__form_screen_input_captcha

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__form_screen_input_captcha()
 {
     require_code('captcha');
     generate_captcha();
     $input = do_lorem_template('FORM_SCREEN_INPUT_CAPTCHA', array('TABINDEX' => placeholder_number()));
     $captcha = do_lorem_template('FORM_SCREEN_FIELD', array('REQUIRED' => true, 'SKIP_LABEL' => false, 'BORING_NAME' => 'security_image', 'NAME' => lorem_phrase(), 'DESCRIPTION' => lorem_sentence_html(), 'DESCRIPTION_SIDE' => '', 'INPUT' => $input, 'COMCODE' => ''));
     return array(lorem_globalise(do_lorem_template('FORM_SCREEN', array('SKIP_VALIDATION' => true, 'HIDDEN' => '', 'TITLE' => lorem_title(), 'URL' => placeholder_url(), 'FIELDS' => $captcha, 'SUBMIT_NAME' => lorem_word(), 'TEXT' => lorem_sentence_html())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:15,代码来源:captcha.php


示例3: tpl_preview__block_side_rss

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array                 Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__block_side_rss()
 {
     $content = new ocp_tempcode();
     foreach (placeholder_array() as $k => $v) {
         $content->attach(do_lorem_template('BLOCK_SIDE_RSS_SUMMARY', array('FEED_URL' => placeholder_url(), 'FULL_URL' => placeholder_url(), 'NEWS_TITLE' => lorem_phrase(), 'DATE' => placeholder_time(), 'SUMMARY' => lorem_paragraph(), 'TICKER' => lorem_word())));
     }
     return array(lorem_globalise(do_lorem_template('BLOCK_SIDE_RSS', array('FEED_URL' => placeholder_url(), 'TITLE' => lorem_phrase(), 'CONTENT' => $content, 'TICKER' => true)), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:15,代码来源:syndication_blocks.php


示例4: tpl_preview__block_main_custom_comcode_tags

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__block_main_custom_comcode_tags()
 {
     $content = new ocp_tempcode();
     foreach (placeholder_array() as $tag) {
         $content->attach(do_lorem_template('CUSTOM_COMCODE_TAG_ROW', array('TITLE' => lorem_word(), 'DESCRIPTION' => lorem_paragraph(), 'EXAMPLE' => lorem_word())));
     }
     return array(lorem_globalise(do_lorem_template('BLOCK_MAIN_CUSTOM_COMCODE_TAGS', array('TAGS' => $content)), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:15,代码来源:custom_comcode.php


示例5: tpl_preview__administrative__config_category_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__administrative__config_category_screen()
 {
     $groups = new ocp_tempcode();
     foreach (placeholder_array() as $k => $group) {
         $group = do_lorem_template('CONFIG_GROUP', array('GROUP_DESCRIPTION' => lorem_word(), 'GROUP_NAME' => $group, 'GROUP' => lorem_phrase(), 'CURRENT_GROUP' => "ID{$k}"));
         $groups->attach($group->evaluate());
     }
     return array(lorem_globalise(do_lorem_template('CONFIG_CATEGORY_SCREEN', array('CATEGORY_DESCRIPTION' => lorem_word_2(), '_GROUPS' => placeholder_array(), 'PING_URL' => placeholder_url(), 'WARNING_DETAILS' => '', 'TITLE' => lorem_title(), 'URL' => placeholder_url(), 'GROUPS' => $groups, 'SUBMIT_NAME' => lorem_word())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:16,代码来源:core_configuration.php


示例6: tpl_preview__administrative__zone_editor_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__administrative__zone_editor_screen()
 {
     require_lang('zones');
     $comcode_editor = do_lorem_template('COMCODE_EDITOR_BUTTON', array('DIVIDER' => true, 'FIELD_NAME' => lorem_word(), 'TITLE' => lorem_word(), 'B' => 'block'));
     $editor = array();
     foreach (array('panel_left', 'panel_middle', 'panel_right') as $i => $for) {
         $editor[$for] = do_lorem_template('ZONE_EDITOR_PANEL', array('CLASS' => '', 'ZONES' => '', 'CURRENT_ZONE' => '', 'ZONE' => '', 'COMCODE' => lorem_phrase(), 'PREVIEW' => lorem_phrase(), 'ID' => $for, 'IS_PANEL' => true, 'TYPE' => lorem_phrase(), 'EDIT_URL' => placeholder_url(), 'SETTINGS' => NULL, 'COMCODE_EDITOR' => $comcode_editor));
     }
     return array(lorem_globalise(do_lorem_template('ZONE_EDITOR_SCREEN', array('PING_URL' => placeholder_url(), 'WARNING_DETAILS' => '', 'TITLE' => lorem_title(), 'ID' => '', 'LANG' => fallback_lang(), 'URL' => placeholder_url(), 'LEFT_EDITOR' => $editor['panel_left'], 'RIGHT_EDITOR' => $editor['panel_right'], 'MIDDLE_EDITOR' => $editor['panel_middle'])), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:17,代码来源:core_zone_editor.php


示例7: tpl_preview__administrative__redirecte_table_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__administrative__redirecte_table_screen()
 {
     require_javascript('javascript_ajax');
     $fields = new ocp_tempcode();
     foreach (placeholder_array() as $i => $row) {
         $fields->attach(do_lorem_template('REDIRECTE_TABLE_REDIRECT', array('I' => strval($i), 'TO_ZONES' => placeholder_options(), 'FROM_ZONES' => placeholder_options(), 'FROM_PAGE' => lorem_word(), 'TO_PAGE' => lorem_word_2(), 'TICKED' => true, 'NAME' => "is_transparent_{$i}")));
     }
     $new = do_lorem_template('REDIRECTE_TABLE_REDIRECT', array('I' => 'new', 'TO_ZONES' => placeholder_options(), 'FROM_ZONES' => placeholder_options(), 'FROM_PAGE' => '', 'TO_PAGE' => '', 'TICKED' => false, 'NAME' => 'is_transparent_new'));
     $out = do_lorem_template('REDIRECTE_TABLE_SCREEN', array('NOTES' => '', 'PING_URL' => placeholder_url(), 'WARNING_DETAILS' => '', 'TITLE' => lorem_title(), 'FIELDS' => $fields, 'NEW' => $new, 'URL' => placeholder_url()));
     return array(lorem_globalise($out, NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:18,代码来源:redirects_editor.php


示例8: tpl_preview__administrative__tempcode_test

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__administrative__tempcode_test()
 {
     return array(lorem_globalise(do_lorem_template('tempcode_test', array('EMPTY1' => '', 'EMPTY2' => '', 'NONEMPTY' => lorem_word(), 'PASSED' => lorem_word(), 'ARRAY' => array(array('A' => '', 'B' => '', 'C' => '')))), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:11,代码来源:core.php


示例9: tpl_preview__cedi_post_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__cedi_post_screen()
 {
     require_javascript('javascript_validation');
     require_lang('comcode');
     $posting_form = do_lorem_template('POSTING_FORM', array('TABINDEX_PF' => placeholder_number(), 'JAVASCRIPT' => '', 'PREVIEW' => lorem_phrase(), 'COMCODE_EDITOR' => lorem_phrase(), 'COMCODE_EDITOR_SMALL' => lorem_phrase(), 'CLASS' => lorem_phrase(), 'COMCODE_URL' => placeholder_url(), 'EXTRA' => '', 'POST_COMMENT' => lorem_phrase(), 'EMOTICON_CHOOSER' => lorem_phrase(), 'SUBMIT_NAME' => lorem_word(), 'HIDDEN_FIELDS' => '', 'COMCODE_HELP' => lorem_phrase(), 'URL' => placeholder_url(), 'POST' => lorem_phrase(), 'DEFAULT_PARSED' => lorem_phrase(), 'CONTINUE_URL' => placeholder_url(), 'ATTACHMENTS' => lorem_phrase(), 'SPECIALISATION' => placeholder_fields(), 'SPECIALISATION2' => ''));
     return array(lorem_globalise(do_lorem_template('CEDI_POST_SCREEN', array('PING_URL' => '', 'WARNING_DETAILS' => '', 'TEXT' => lorem_phrase(), 'TITLE' => lorem_title(), 'POSTING_FORM' => $posting_form)), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:14,代码来源:cedi.php


示例10: tpl_preview__iotd_view_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__iotd_view_screen()
 {
     require_lang('ocf');
     require_lang('captcha');
     require_lang('trackbacks');
     $trackbacks = new ocp_tempcode();
     foreach (placeholder_array(1) as $k => $v) {
         $trackbacks->attach(do_lorem_template('TRACKBACK', array('ID' => placeholder_id(), 'TIME_RAW' => placeholder_date_raw(), 'TIME' => placeholder_date(), 'URL' => placeholder_url(), 'TITLE' => lorem_phrase(), 'EXCERPT' => lorem_paragraph(), 'NAME' => lorem_phrase())));
     }
     $trackback_details = do_lorem_template('TRACKBACK_WRAPPER', array('TRACKBACKS' => $trackbacks, 'TRACKBACK_PAGE' => placeholder_id(), 'TRACKBACK_ID' => placeholder_id(), 'TRACKBACK_TITLE' => lorem_phrase()));
     $rating_details = new ocp_tempcode();
     $review_titles = array();
     $review_titles[] = array('REVIEW_TITLE' => lorem_word(), 'REVIEW_RATING' => make_string_tempcode(float_format(10.0)));
     $comments = '';
     $form = do_lorem_template('COMMENTS_POSTING_FORM', array('JOIN_BITS' => lorem_phrase_html(), 'FIRST_POST_URL' => placeholder_url(), 'FIRST_POST' => lorem_paragraph_html(), 'TYPE' => 'downloads', 'ID' => placeholder_id(), 'REVIEW_RATING_CRITERIA' => $review_titles, 'USE_CAPTCHA' => true, 'GET_EMAIL' => false, 'EMAIL_OPTIONAL' => true, 'GET_TITLE' => true, 'POST_WARNING' => do_lang('POST_WARNING'), 'COMMENT_TEXT' => get_option('comment_text'), 'EM' => placeholder_emoticon_chooser(), 'DISPLAY' => 'block', 'COMMENT_URL' => placeholder_url(), 'TITLE' => lorem_word(), 'MAKE_POST' => true, 'CREATE_TICKET_MAKE_POST' => true));
     $comment_details = do_lorem_template('COMMENTS_WRAPPER', array('TYPE' => lorem_phrase(), 'ID' => placeholder_id(), 'REVIEW_RATING_CRITERIA' => $review_titles, 'AUTHORISED_FORUM_LINK' => placeholder_url(), 'FORM' => $form, 'COMMENTS' => $comments));
     return array(lorem_globalise(do_lorem_template('IOTD_VIEW_SCREEN', array('TITLE' => lorem_title(), 'SUBMITTER' => lorem_word_html(), 'I_TITLE' => lorem_phrase(), 'CAPTION' => lorem_phrase(), 'DATE_RAW' => placeholder_date_raw(), 'ADD_DATE_RAW' => placeholder_date_raw(), 'EDIT_DATE_RAW' => placeholder_date_raw(), 'DATE' => placeholder_time(), 'ADD_DATE' => placeholder_time(), 'EDIT_DATE' => placeholder_time(), 'VIEWS' => placeholder_number(), 'TRACKBACK_DETAILS' => $trackback_details, 'RATING_DETAILS' => $rating_details, 'COMMENT_DETAILS' => $comment_details, 'EDIT_URL' => placeholder_url(), 'URL' => placeholder_image_url())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:25,代码来源:iotds.php


示例11: tpl_preview__administrative__validation_request

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__administrative__validation_request()
 {
     require_lang('unvalidated');
     return array(lorem_globalise(do_lorem_template('VALIDATION_REQUEST', array('USERNAME' => lorem_word(), 'TYPE' => lorem_phrase(), 'ID' => placeholder_id(), 'URL' => placeholder_url())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:12,代码来源:unvalidated.php


示例12: tpl_preview__news_piece_summary

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__news_piece_summary()
 {
     return array(lorem_globalise(do_lorem_template('NEWS_PIECE_SUMMARY', array('BLOG' => lorem_phrase(), 'AUTHOR_URL' => placeholder_url(), 'TAGS' => '', 'CATEGORY' => lorem_phrase(), 'IMG' => placeholder_image_url(), 'AUTHOR' => lorem_phrase(), '_AUTHOR' => lorem_phrase(), 'SUBMITTER' => lorem_phrase(), 'AVATAR' => lorem_phrase(), 'NEWS_TITLE' => lorem_phrase(), 'DATE' => lorem_phrase(), 'NEWS' => lorem_phrase(), 'COMMENTS' => lorem_phrase(), 'VIEW' => lorem_phrase(), 'ID' => placeholder_id(), 'FULL_URL' => placeholder_url(), 'COMMENT_COUNT' => lorem_phrase(), 'READ_MORE' => lorem_sentence(), 'TRUNCATE' => false, 'FIRSTTIME' => lorem_word(), 'LASTTIME' => lorem_word_2(), 'CLOSED' => lorem_word(), 'FIRSTUSERNAME' => lorem_word(), 'LASTUSERNAME' => lorem_word(), 'FIRSTMEMBERID' => lorem_word(), 'LASTMEMBERID' => lorem_word(), 'DATE_RAW' => lorem_word())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:11,代码来源:news_shared.php


示例13: tpl_preview__administrative__translate_screen_content_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__administrative__translate_screen_content_screen()
 {
     require_lang('lang');
     $lines = new ocp_tempcode();
     foreach (placeholder_array() as $key => $value) {
         $actions = do_lorem_template('TRANSLATE_ACTION', array('LANG_FROM' => fallback_lang(), 'LANG_TO' => fallback_lang(), 'NAME' => 'trans_' . strval($key), 'OLD' => $value));
         $lines->attach(do_lorem_template('TRANSLATE_LINE_CONTENT', array('ID' => strval($key), 'NAME' => 'trans_' . strval($key), 'OLD' => $value, 'CURRENT' => $value, 'ACTIONS' => $actions, 'PRIORITY' => lorem_word())));
     }
     return array(lorem_globalise(do_lorem_template('TRANSLATE_SCREEN_CONTENT_SCREEN', array('LANG_NICE_NAME' => lorem_word(), 'LANG_NICE_ORIGINAL_NAME' => lorem_word(), 'TOO_MANY' => lorem_phrase(), 'INTERTRANS' => lorem_phrase(), 'TOTAL' => placeholder_number(), 'LANG' => fallback_lang(), 'LANG_ORIGINAL_NAME' => fallback_lang(), 'LINES' => $lines, 'TITLE' => lorem_title(), 'URL' => placeholder_url(), 'MAX' => placeholder_number())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:17,代码来源:core_language_editing.php


示例14: tpl_preview__pointstore_quota_mail

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__pointstore_quota_mail()
 {
     return array(lorem_globalise(do_lorem_template('POINTSTORE_QUOTA_MAIL', array('ENCODED_REASON' => lorem_phrase(), 'QUOTA' => placeholder_number(), 'EMAIL' => lorem_word(), 'QUOTA_URL' => placeholder_url(), 'PRICE' => placeholder_number())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:11,代码来源:pointstore.php


示例15: tpl_preview__attachment_flv

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__attachment_flv()
 {
     return array(lorem_globalise(do_lorem_template('ATTACHMENT_FLV', array('SCRIPT' => placeholder_javascript(), 'ID' => placeholder_id(), 'A_WIDTH' => placeholder_number(), 'A_HEIGHT' => placeholder_number(), 'A_DESCRIPTION' => lorem_paragraph_html(), 'SUP_PARAMS' => placeholder_blank(), 'FORUM_DB_BIN' => placeholder_blank(), 'MIME_TYPE' => lorem_word(), 'A_ORIGINAL_FILENAME' => lorem_phrase(), 'A_URL' => placeholder_url())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:11,代码来源:jwplayer.php


示例16: tpl_preview__netlink

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__netlink()
 {
     $content = new ocp_tempcode();
     $url = placeholder_url();
     foreach (placeholder_array() as $key => $value) {
         $content->attach(form_input_list_entry($url->evaluate(), false, lorem_word()));
     }
     return array(lorem_globalise(do_lorem_template('NETLINK', array('CONTENT' => $content)), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:16,代码来源:msn.php


示例17: tpl_preview__field_map_catalogue_embed_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__field_map_catalogue_embed_screen()
 {
     $entries = new ocp_tempcode();
     $entries->attach(do_lorem_template('CATALOGUE_DEFAULT_ENTRY_EMBED', array('FIELDS' => placeholder_fields(), 'VIEW_URL' => placeholder_url(), 'FIELD_0' => lorem_word())));
     return array(lorem_globalise(do_lorem_template('CATALOGUE_DEFAULT_CATEGORY_EMBED', array('ENTRIES' => $entries, 'ROOT' => placeholder_id())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:13,代码来源:catalogues.php


示例18: tpl_preview__administrative__themewizard_2_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array                 Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__administrative__themewizard_2_screen()
 {
     require_lang('themes');
     return array(lorem_globalise(do_lorem_template('THEMEWIZARD_2_SCREEN', array('SOURCE_THEME' => 'default', 'ALGORITHM' => 'equations', 'RED' => placeholder_id(), 'GREEN' => placeholder_id(), 'BLUE' => placeholder_id(), 'SEED' => lorem_word(), 'DARK' => lorem_word_2(), 'DOMINANT' => lorem_word(), 'LD' => lorem_phrase(), 'TITLE' => lorem_title(), 'CHANGE_LINK' => placeholder_url(), 'STAGE3_LINK' => placeholder_url())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:12,代码来源:themewizard.php


示例19: tpl_preview__ocf_view_group_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__ocf_view_group_screen()
 {
     $_primary_members = placeholder_array();
     $primary_members = new ocp_tempcode();
     $_secondary_members = new ocp_tempcode();
     $secondary_members = new ocp_tempcode();
     $prospective_members = new ocp_tempcode();
     $_prospective_members = new ocp_tempcode();
     foreach ($_primary_members as $i => $primary_member) {
         $temp = do_lorem_template('OCF_VIEW_GROUP_MEMBER', array('NAME' => $primary_member, 'URL' => placeholder_url()));
         //results_entry starts
         $cells = do_lorem_template('RESULTS_TABLE_FIELD', array('VALUE' => $temp), NULL, false);
         $entries = do_lorem_template('RESULTS_TABLE_ENTRY', array('VALUES' => $cells), NULL, false);
         //results_entry ends
         $primary_members->attach($entries);
     }
     $fields_title = do_lorem_template('RESULTS_TABLE_FIELD_TITLE', array('VALUE' => lorem_word()));
     //results_table
     $primary_members = do_lorem_template('RESULTS_TABLE', array('TEXT_ID' => lorem_phrase(), 'FIELDS_TITLE' => $fields_title, 'FIELDS' => $primary_members, 'MESSAGE' => '', 'SORT' => '', 'BROWSER' => '', 'WIDTHS' => array(placeholder_number())), NULL, false);
     $temp = new ocp_tempcode();
     foreach (placeholder_array() as $i => $v) {
         $temp = do_lorem_template('OCF_VIEW_GROUP_MEMBER_SECONDARY', array('URL' => placeholder_url(), 'REMOVE_URL' => placeholder_url(), 'NAME' => $v));
         $cells = do_lorem_template('RESULTS_TABLE_FIELD', array('VALUE' => $temp), NULL, false);
         /*	$cells->attach(do_lorem_template('RESULTS_TABLE_FIELD',array('VALUE'=>strval($i)),NULL,false));
         			$cells->attach(do_lorem_template('RESULTS_TABLE_FIELD',array('VALUE'=>strval($i)),NULL,false));*/
         $entries = do_lorem_template('RESULTS_TABLE_ENTRY', array('VALUES' => $cells), NULL, false);
         $_secondary_members->attach($entries);
     }
     $fields_title = do_lorem_template('RESULTS_TABLE_FIELD_TITLE', array('VALUE' => lorem_word()));
     /*$fields_title->attach(do_lorem_template('RESULTS_TABLE_FIELD_TITLE',array('VALUE'=>lorem_word_2())));
     		$fields_title->attach(do_lorem_template('RESULTS_TABLE_FIELD_TITLE',array('VALUE'=>lorem_word_2())));*/
     //results_table
     $secondary_members = do_lorem_template('RESULTS_TABLE', array('TEXT_ID' => lorem_phrase(), 'FIELDS_TITLE' => $fields_title, 'FIELDS' => $_secondary_members, 'MESSAGE' => '', 'SORT' => '', 'BROWSER' => '', 'WIDTHS' => array(placeholder_number())), NULL, false);
     foreach (placeholder_array() as $i => $v) {
         $temp = do_lorem_template('OCF_VIEW_GROUP_MEMBER_PROSPECTIVE', array('ACCEPT_URL' => placeholder_url(), 'DECLINE_URL' => placeholder_url(), 'NAME' => lorem_word(), 'URL' => placeholder_url()));
         $cells = do_lorem_template('RESULTS_TABLE_FIELD', array('VALUE' => $temp), NULL, false);
         //$cells->attach(do_lorem_template('RESULTS_TABLE_FIELD',array('VALUE'=>strval($i)),NULL,false));
         $entries = do_lorem_template('RESULTS_TABLE_ENTRY', array('VALUES' => $cells), NULL, false);
         $_prospective_members->attach($entries);
     }
     $fields_title = do_lorem_template('RESULTS_TABLE_FIELD_TITLE', array('VALUE' => lorem_word()));
     //$fields_title->attach(do_lorem_template('RESULTS_TABLE_FIELD_TITLE',array('VALUE'=>lorem_word_2())));
     //results_table
     $prospective_members = do_lorem_template('RESULTS_TABLE', array('TEXT_ID' => lorem_phrase(), 'FIELDS_TITLE' => $fields_title, 'FIELDS' => $_prospective_members, 'MESSAGE' => '', 'SORT' => '', 'BROWSER' => '', 'WIDTHS' => array(placeholder_number())), NULL, false);
     return array(lorem_globalise(do_lorem_template('OCF_VIEW_GROUP_SCREEN', array('GROUP_NAME' => lorem_phrase(), 'ID' => placeholder_id(), 'FORUM' => '', 'CLUB' => false, 'EDIT_URL' => placeholder_url(), 'TITLE' => lorem_title(), 'LEADER' => lorem_phrase(), 'NAME' => lorem_word(), 'PROMOTION_INFO' => new ocp_tempcode(), 'ADD_URL' => placeholder_url(), 'APPLY_URL' => placeholder_url(), 'APPLY_TEXT' => lorem_sentence(), 'PRIMARY_MEMBERS' => $primary_members, 'SECONDARY_MEMBERS' => $secondary_members, 'PROSPECTIVE_MEMBERS' => $prospective_members)), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:53,代码来源:core_ocf.php


示例20: tpl_preview__comcode_page_screen

 /**
  * Get a preview(s) of a (group of) template(s), as a full standalone piece of HTML in Tempcode format.
  * Uses sources/lorem.php functions to place appropriate stock-text. Should not hard-code things, as the code is intended to be declaritive.
  * Assumptions: You can assume all Lang/CSS/Javascript files in this addon have been pre-required.
  *
  * @return array			Array of previews, each is Tempcode. Normally we have just one preview, but occasionally it is good to test templates are flexible (e.g. if they use IF_EMPTY, we can test with and without blank data).
  */
 function tpl_preview__comcode_page_screen()
 {
     return array(lorem_globalise(do_lorem_template('COMCODE_PAGE_SCREEN', array('BEING_INCLUDED' => false, 'IS_PANEL' => false, 'SUBMITTER' => placeholder_id(), 'TAGS' => lorem_word_html(), 'WARNING_DETAILS' => '', 'EDIT_DATE_RAW' => placeholder_date_raw(), 'SHOW_AS_EDIT' => lorem_phrase(), 'CONTENT' => lorem_phrase(), 'EDIT_URL' => placeholder_url(), 'ADD_CHILD_URL' => placeholder_url(), 'NAME' => lorem_word())), NULL, '', true));
 }
开发者ID:erico-deh,项目名称:ocPortal,代码行数:11,代码来源:core_comcode_pages.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP lovd_getInstallURL函数代码示例发布时间:2022-05-15
下一篇:
PHP lorem_title函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap