added message text box to edit form

This commit is contained in:
tmont 2008-10-25 09:04:32 +00:00
parent dc4cb8dcf9
commit d6032778cb
3 changed files with 12 additions and 5 deletions

View File

@ -52,7 +52,6 @@
$history->$key = $value; $history->$key = $value;
} }
$history->created_user_id = 1; $history->created_user_id = 1;
return $history->insert($vendor); return $history->insert($vendor);

View File

@ -30,6 +30,8 @@
<input type="hidden" name="page_id" value="<?php echo $this->page->page->page_id ?>"/> <input type="hidden" name="page_id" value="<?php echo $this->page->page->page_id ?>"/>
<textarea name="wikitext" rows="12" cols="80"><?php echo $this->page->getRevision()->wikitext; ?></textarea> <textarea name="wikitext" rows="12" cols="80"><?php echo $this->page->getRevision()->wikitext; ?></textarea>
<label for="message">Message:</label>
<input type="text" name="message" id="message" value="" size="50"/>
<a href="<?php echo $this->wikiPath .'/' . $this->page->page->page_name; ?>"><input class="cancel" type="button" value="Cancel"/></a> <a href="<?php echo $this->wikiPath .'/' . $this->page->page->page_name; ?>"><input class="cancel" type="button" value="Cancel"/></a>
<input type="submit" name="submit" value="Submit Changes"/> <input type="submit" name="submit" value="Submit Changes"/>
</form> </form>

View File

@ -190,13 +190,19 @@ ul.menu {
background-color: #FFFFFF; background-color: #FFFFFF;
overflow: auto; overflow: auto;
} }
.wikidiff del, .wikidiff ins { .wikidiff .range {
text-decoration: none; background-color: #CCCCCC;
font-weight: bold; font-weight: bold;
} }
.wikidiff del { .wikidiff div {
padding: 2px;
}
.wikidiff .diff del, .wikidiff ins {
text-decoration: none;
}
.wikidiff .diff del {
background-color: #FFCCEE; background-color: #FFCCEE;
} }
.wikidiff ins { .wikidiff .diff ins {
background-color: #CCFFCC; background-color: #CCFFCC;
} }