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

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.

主站蜘蛛池模板: 望奎县| 都昌县| 酉阳| 山丹县| 凌云县| 乾安县| 蒙山县| 莎车县| 盐津县| 石棉县| 营口市| 永仁县| 黄浦区| 玉林市| 得荣县| 融水| 许昌市| 陵川县| 黄冈市| 普安县| 平泉县| 德州市| 嘉兴市| 郸城县| 峨眉山市| 两当县| 津南区| 曲周县| 三河市| 新营市| 宝清县| 吉安市| 许昌县| 靖江市| 桦川县| 固阳县| 河池市| 平湖市| 涞水县| 峨山| 陕西省|