取名字诗词选

同事转给我的取名字诗词选:

子奕 奕奕寝庙,君子作之。《诗经?巧言》
一诺 千金未必能移性,一诺从来许杀身。《上湖南崔中丞》
子衿 青青子衿,悠悠我心。《诗经)
子佩 青青子佩,悠悠我思。《诗经)
子慕 既含睇兮又宜笑,子慕予兮善窈窕。《楚辞》
一川 一川烟草,满城风絮。梅子黄时雨。《贺铸?青玉案》
志学 非学无以广才,非志无以成学。(诸葛亮)

Continue reading “取名字诗词选”

Drupal Theme Varaibles Used in node.tpl.php

Drupal Theme implementation to display a node.

Available variables:

  • $title: the (sanitized) title of the node.
  • $content: Node body or teaser depending on $teaser flag.
  • $picture: The authors picture of the node output from theme_user_picture().
  • $date: Formatted creation date (use $created to reformat with format_date()).
  • $links: Themed links like "Read more", "Add new comment", etc. output from theme_links().
  • $name: Themed username of node author output from theme_username().
  • $node_url: Direct url of the current node.
  • $terms: the themed list of taxonomy term links output from theme_links().
  • $submitted: themed submission information output from theme_node_submitted().

Continue reading “Drupal Theme Varaibles Used in node.tpl.php”

Druapl PHP Varaibles Can be Used in page.tpl.php Theme Template

Drupal Theme implementation to display a single Drupal page.

Available Drupal PHP variables for theme template:

Drupal General utility variables:

  • $base_path: The base URL path of the Drupal installation. At the very least, this will always default to /.
  • $css: An array of CSS files for the current page.
  • $directory: The directory the theme is located in, e.g. themes/garland or themes/garland/minelli.
  • $is_front: TRUE if the current page is the front page. Used to toggle the mission statement.
  • $logged_in: TRUE if the user is registered and signed in.
  • $is_admin: TRUE if the user has permission to access administration pages.

Continue reading “Druapl PHP Varaibles Can be Used in page.tpl.php Theme Template”