知識社群登入
onthisdate_block($op = 'list') - Declaring block content
by 蘇德宙, 2011-05-09 15:01, 人氣(1951)
 
function onthisdate_block($op = 'list', $delta = 0, $edit = array()) { 
  if (
$op == "list") {
   
// Generate listing of blocks from this module, for the admin/block page
   
$block = array();
   
$block[0]["info"] = t('On This Date');
    return
$block;
  }
}