- Timestamp:
- 09/02/07 23:21:40 (15 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
common/mvblog.php (modified) (2 diffs)
-
index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/common/mvblog.php
r591 r593 918 918 } 919 919 /* }}} */ 920 /* blog_show_dossierlinks {{{ */ 921 /** 922 * Show list of dossiers. 923 */ 924 public function blog_show_dossierlinks() { 925 if (count($this->dossiers) > 1) { 926 echo "<ul id=\"dossier_list_container\">\n"; 927 foreach ($this->dossiers as $did=>$dossier) { 928 if ($did == 0) continue; 929 echo "<li class=\"dossier_list_item\"><a href=\"index.php?action=viewdossier&id=".$did."\">".$dossier["name"]."</a></li>\n"; 930 } 931 echo "</ul>\n"; 932 } 933 } 934 /* }}} */ 920 935 /* post_comment($postdata) {{{ */ 921 936 /** … … 1286 1301 } 1287 1302 /* }}} */ 1288 /* view_dossier {{{ */1289 /**1290 * Overview page for a dossier with links to the articles1291 *1292 * @param int $id The dossier to show1293 */1294 public function view_dossier($id) {1295 1296 }1297 /* }}} */1298 1303 } 1299 1304 ?> -
trunk/index.php
r414 r593 58 58 </li> 59 59 <li> 60 <h2>Dossiers</h2> 61 <?php $mvblog->blog_show_dossierlinks(); ?> 62 </li> 63 <li> 60 64 <h2>Search</h2> 61 65 <?php $mvblog->blog_show_search(); ?>
