Permalink
Browse files

_ added the div framework

  • Loading branch information...
1 parent 0befd37 commit 08bcdcbea22c58dcd52ac8ab997b592a07513556 urs_hunkler committed Jan 19, 2005
Showing with 14 additions and 0 deletions.
  1. +4 −0 mod/wiki/index.php
  2. +10 −0 mod/wiki/view.php
View
@@ -27,6 +27,8 @@
print_header_simple("$strwikis", "", "$strwikis", "", "", true, "", navmenu($course));
+ echo '<div id="wiki-index" class="mwiki">'; // wiki-index wrapper start
+
/// Get all the appropriate data
if (! $wikis = get_all_instances_in_course("wiki", $course)) {
@@ -99,6 +101,8 @@
/// Finish the page
+ echo '</div>'; // wiki-index wrapper end
+
print_footer($course);
?>
View
@@ -232,6 +232,8 @@
/// Print Page
+ echo ' <div id="wikiPageActions">
+ ';
/// The top row contains links to other wikis, if applicable.
if ($wiki_list = wiki_get_other_wikis($wiki, $USER, $course, $wiki_entry->id)) {
@@ -292,6 +294,10 @@
echo '</tr></table>';
}
+ echo '</div>
+ <div id="wiki-view" class="mwiki">
+ ';
+
if($ewiki_title==$wiki_entry->pagename && !empty($wiki->summary)) {
if (trim(strip_tags($wiki->summary))) {
print "<br />";
@@ -342,5 +348,9 @@
echo "<br clear=\"all\" />";
/// Finish the page
+ echo '
+ </div>
+ ';
+
print_footer($course);
?>

0 comments on commit 08bcdcb

Please sign in to comment.