Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # <vulndb>/app/views/pages/new.html.erb
- # replace the <script> block
- # [...]
- <script type="text/javascript">
- $(function(){
- if( $("#page_name").val() == "" )
- {
- prepare_default_text("#page_name", "NewPageName");
- }
- if( $("#page_content").val() == "" )
- {
- $("#page_content").val("#[Title]#\nNew Page Title\n\n#[Other field]#\nYou can have as many fields as you like!");
- }
- });
- </script>
- #[...]
Add Comment
Please, Sign In to add comment