chiark / gitweb /
mason/pastebin/%show: Don't flush FS buffers in `filter' child.
[odin-cgi] / mason / pastebin / %edit
index 38cc9c49764461f7c0ec997855136a8760bfe8a7..306e97b5ee3be34e00ea8abc49fef4584824c12a 100644 (file)
@@ -1,3 +1,27 @@
+%# -*-html-*-
+%#
+%# Pastebin editing webservice for Odin
+%#
+%# (c) 2015 Mark Wooding
+%#
+%#----- Licensing notice ----------------------------------------------------
+%#
+%# This file is part of the `odin.gg' service, `odin-cgi'.
+%#
+%# `odin-cgi' is free software; you can redistribute it and/or modify
+%# it under the terms of the GNU Affero General Public License as
+%# published by the Free Software Foundation; either version 3 of the
+%# License, or (at your option) any later version.
+%#
+%# `odin-cgi' is distributed in the hope that it will be useful,
+%# but WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+%# GNU Affero General Public License for more details.
+%#
+%# You should have received a copy of the GNU Affero General Public
+%# License along with `odin-cgi'; if not, see
+%# <http://www.gnu.org/licenses/>.
+%#
 <&| SELF:wrapper, title => "odin.gg Paste Bin" &>
 <h1><tt>odin.gg</tt> Paste Bin</h1>
 %#
@@ -7,6 +31,7 @@
 % $m->print($sep);
   <span class="item"><a href="<% "$Odin::PASTEBIN/$tag" %>">View</a></span>
   <span class="item"><a href="<% "$Odin::PASTEBIN/$tag?edit=$edit;op=del" %>">Delete</a></span>
+  <span class="item"><a href="<% "$Odin::PASTEBIN/" %>">New</a></span>
 % $sep = ""; $end = "</div>\n";
 % }
 % $m->print($end);