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

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.

主站蜘蛛池模板: 乌拉特后旗| 南康市| 浪卡子县| 金坛市| 磐安县| 福清市| 武乡县| 始兴县| 进贤县| 凯里市| 萝北县| 凌云县| 浮山县| 二手房| 遂昌县| 郴州市| 盐亭县| 彭州市| 盐山县| 调兵山市| 邵东县| 清涧县| 米林县| 霍邱县| 定陶县| 怀宁县| 凤庆县| 弋阳县| 岐山县| 新乡县| 正镶白旗| 精河县| 揭西县| 五台县| 会东县| 承德县| 肇庆市| 特克斯县| 虹口区| 盱眙县| 岳阳市|