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

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.

In this text, the URLs of specific administrative screens are formatted as follows: if your site is located at http://example.edu, the URL of your main administrative screen will be at http://example.edu/admin. In this text, we will just list that URL path as admin—it is assumed that you are adding the URL of your site onto the paths given in this book.

A block of code will be set as follows:

<?php   
  global $user;   
  $instructor_role_id = 3;   
  if ($user->uid == 0) {     
    print l(t('You must log in to view this page'), 'user');     
    return;   
}   

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:

      $loaded_user = user_load(array('uid' => $u->uid));
      $links[] = l($loaded_user->name, 'bygroup/'. $loaded_user->uid .'/'. $gid) . $separator . $loaded_user->profile_last_name;

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "clicking the Next button moves you to the next screen". Also, in many places, it is necessary to describe the location of a specific menu item. On these occasions, you will be presented with different methods to get where you need to go. For example, to get to the page to administer all content posted on your site, you need to click the Administer | Content management | Content menu link, or navigate to admin/content/node.

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 崇义县| 云安县| 连平县| 红安县| 都江堰市| 绍兴县| 兴海县| 祥云县| 喜德县| 县级市| 宁乡县| 苏尼特右旗| 青海省| 锦州市| 兴业县| 习水县| 普兰县| 黔南| 绍兴县| 山东省| 牟定县| 尼玛县| 布拖县| 清镇市| 凤冈县| 孟村| 萝北县| 娄烦县| 丰镇市| 布尔津县| 莎车县| 喀什市| 巴塘县| 镇江市| 嘉定区| 中卫市| 自治县| 乌拉特中旗| 文水县| 普安县| 景泰县|