5,'每 10 筆'=>10,'每 15 筆'=>15); //---搜尋---// $modversion['hasSearch'] = 1; $modversion['search']['file'] = "include/search.php"; $modversion['search']['func'] = "tad_note_search"; //---區塊設定---// $modversion['blocks'] = array(); $modversion['blocks'][1]['file'] = "new_notes.php"; $modversion['blocks'][1]['name'] = '最新記事'; $modversion['blocks'][1]['description'] = '列出最近幾則最新記事'; $modversion['blocks'][1]['show_func'] = "new_notes"; $modversion['blocks'][1]['template'] = "new_notes.html"; $modversion['blocks'][1]['edit_func'] = "new_notes_edit"; $modversion['blocks'][1]['options'] = "5|170px"; //---樣板設定---// $modversion['templates'] = array(); $modversion['templates'][1]['file'] = 'tad_note_index.html'; $modversion['templates'][1]['description'] = "首頁的樣板檔"; $modversion['templates'][2]['file'] = 'tad_note_view.html'; $modversion['templates'][2]['description'] = "單一頁面的樣板檔"; //---評論---// $modversion['hasComments'] = 1; $modversion['comments']['pageName'] = 'view.php'; $modversion['comments']['itemName'] = 'note_sn'; //---模組通知設定---// $modversion['hasNotification'] = 1; $modversion['notification']['category'][1]['name'] = 'global'; $modversion['notification']['category'][1]['title'] = '全局通知'; $modversion['notification']['category'][1]['description'] = '全局通知'; $modversion['notification']['category'][1]['subscribe_from'] = array('index.php','view.php'); $modversion['notification']['category'][2]['name'] = 'cate'; $modversion['notification']['category'][2]['title'] = '分類通知'; $modversion['notification']['category'][2]['description'] = '分類通知'; $modversion['notification']['category'][2]['subscribe_from'] = array('index.php'); $modversion['notification']['category'][2]['item_name'] = 'cate_sn'; $modversion['notification']['category'][2]['allow_bookmark'] = 1; $modversion['notification']['event'][1]['name'] = 'new_note'; $modversion['notification']['event'][1]['category'] = 'global'; $modversion['notification']['event'][1]['title'] = '有新記事就通知我'; $modversion['notification']['event'][1]['caption'] = '有新記事就通知我'; $modversion['notification']['event'][1]['description'] = '有新記事就通知我'; $modversion['notification']['event'][1]['mail_template'] = 'new_note'; $modversion['notification']['event'][1]['mail_subject'] = '「通知」有新的記事'; $modversion['notification']['event'][1]['admin_only'] = '0'; $modversion['notification']['event'][1]['invisible'] = '0'; $modversion['notification']['event'][2]['name'] = 'new_cate_note'; $modversion['notification']['event'][2]['category'] = 'cate'; $modversion['notification']['event'][2]['title'] = '該分類有新記事就通知我'; $modversion['notification']['event'][2]['caption'] = '該分類有新記事就通知我'; $modversion['notification']['event'][2]['description'] = '該分類有新記事就通知我'; $modversion['notification']['event'][2]['mail_template'] = 'new_cate_note'; $modversion['notification']['event'][2]['mail_subject'] = '「通知」指定的分類下有新的記事'; $modversion['notification']['event'][2]['admin_only'] = '0'; $modversion['notification']['event'][2]['invisible'] = '0'; $modversion['notification']['lookup_file'] = 'include/notification.inc.php'; $modversion['notification']['lookup_func'] = 'get_tad_note'; ?> ```
進階搜尋
581人線上 (187人在瀏覽線上書籍)
會員: 0
訪客: 581