From 027b948150e9c709fc721a0a2951b0d10a6eebb8 Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Wed, 15 Jul 2009 16:25:09 +0200 Subject: atom wird nur angeboten, wenn atom.cgi existiert --- README | 2 +- index.cgi | 7 ++++--- participate.rb | 6 +++++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README b/README index e0dc61c..4fcfea5 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ Author: Benjamin Kellermann Requirements: - * ruby, ruby-atom + * ruby * bzr License: CC-by-sa 3.0 diff --git a/index.cgi b/index.cgi index a4857e5..d4119c4 100755 --- a/index.cgi +++ b/index.cgi @@ -35,10 +35,11 @@ $htmlout += <dudle - - - HEAD + + $htmlout += '' if File.exists?("atom.cgi") + + $htmlout += "" if $cgi.include?("create_poll") SITE=$cgi["create_poll"] diff --git a/participate.rb b/participate.rb index e9f5e82..8acd9f1 100755 --- a/participate.rb +++ b/participate.rb @@ -62,7 +62,11 @@ $htmlout += < - +HEAD + +$htmlout += '' if File.exists?("../atom_single.rb") + +$htmlout += <
-- cgit v1.2.3