官术网_书友最值得收藏!

  • Drupal 6 Theming Cookbook
  • Karthik Kumar
  • 198字
  • 2021-04-13 16:56:39

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "$path denotes the path to the CSS file relative to the base_path()".

A block of code is set as follows:

<?php
/**
* Implementation of hook_init().
*/
function mysite_init()mysite_init() {
// Display a message on every page load.
drupal_set_message("Welcome to MySite!");
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

stylesheets[all][] = css/html-reset.css
stylesheets[all][] = css/wireframes.css
stylesheets[all][] = css/layout-fixed.css
stylesheets[all][] = css/page-backgrounds.css
stylesheets[all][] = css/tabs.css
stylesheets[all][] = css/messages.css

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on the Save configuration button at the bottom of the page to ensure that any vestiges of the setting are also cleared from the database".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 克什克腾旗| 九龙坡区| 上蔡县| 怀安县| 柳林县| 吉林市| 运城市| 惠水县| 大渡口区| 抚顺县| 营口市| 黄冈市| 密云县| 林西县| 宜川县| 潞西市| 寻甸| 桐柏县| 永安市| 仙游县| 南木林县| 东台市| 绥宁县| 桐柏县| 惠东县| 伊宁市| 丹寨县| 若尔盖县| 北安市| 台州市| 九台市| 桐乡市| 汶上县| 耒阳市| 高淳县| 河北区| 鄯善县| 巴里| 大姚县| 元谋县| 忻城县|