#!/usr/bin/env ruby ############################################################################ # Copyright 2009,2010 Benjamin Kellermann # # # # This file is part of dudle. # # # # Dudle 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. # # # # Dudle 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 dudle. If not, see . # ############################################################################ require "dudle" GetText.bindtextdomain("dudle",:path => "./locale/") title = _("Poll Not Found") $h = HTML.new(title) $h.add_css("/#{DEFAULT_CSS}","default",true) str = [_("The requested Poll was not found."), _("There are several reasons, why a Poll is deleted:"), _("Somebody klicked on “Delete Poll” and deleted the poll manually."), _("The Poll was deleted by the administrator because it was not accessed for a long time."), _("If you think, the deletion was done by error, please contact the adminsistrator of the system."), _("Return to dudle home and Schedule a new Poll")] $h << <

#{title}

#{str[0]}

#{str[1]}

  • #{str[2]}
  • #{str[3]}
#{str[4]}

END $h.out($cgi)