Hallo zusammen,
habe ein Script von der Uni bekommen, das ich zur Umfrage nutzen kann.Funktioniert auch wunderbar, aber es hat einen Punkt, den ich nicht haben möchte. Wenn ich einen Punkt ausgesucht habe und dann auf Abstimmen drück, kommt noch so eine Art Zwischenseite oder Darstellung (Sie werden gleich weitergeleitet). Genau diese Zwischenseite möchte ich überspringen. Habe schon mehrere Versuche unternommen das Problem zu lösen, komm aber nicht dahinter. Und der Gute von der Uni ist im Ausland!
Kann mir einer von euch vielleicht helfen
Startscript:
main.poll.php
voting.poll.php
v12.class.poll.php
und die Sprachdatei:
THX im voraus.
habe ein Script von der Uni bekommen, das ich zur Umfrage nutzen kann.Funktioniert auch wunderbar, aber es hat einen Punkt, den ich nicht haben möchte. Wenn ich einen Punkt ausgesucht habe und dann auf Abstimmen drück, kommt noch so eine Art Zwischenseite oder Darstellung (Sie werden gleich weitergeleitet). Genau diese Zwischenseite möchte ich überspringen. Habe schon mehrere Versuche unternommen das Problem zu lösen, komm aber nicht dahinter. Und der Gute von der Uni ist im Ausland!

Kann mir einer von euch vielleicht helfen
Startscript:
PHP:
<?php
$inc_path = dirname($include_class);
require ($inc_path."/voting.poll.php");
include(dirname($inc_path)."/admin/config.poll.php");
$POLL = new phpPollScript_voting();
$POLL->initPoll(dirname($inc_path), $configvars);
$ID = (isset($HTTP_GET_VARS["ID"])) ? $HTTP_GET_VARS["ID"] : "";
$ID = (isset($HTTP_POST_VARS["ID"])) ? $HTTP_POST_VARS["ID"] : $ID;
################################################################
### Setcookie
$pid = $POLL->fh($POLL->includepath."/db/poll.id");
$expDate = $POLL->configvars["cookie_timeout"];
if($ID == 2){
$cname = "tomexpoll".$pid;
if(!isset($_COOKIE[$cname])){
$expDate = time() + 3600*$expDate;
setcookie($cname,"1",$expDate);
}
}
$voteval = (isset($HTTP_POST_VARS["votevalue"])) ? $HTTP_POST_VARS["votevalue"] : $votevalue;
################################################################
$CASEVAR = $ID;
############################################################
?>
main.poll.php
PHP:
<?php
class phpPollScript_main{
var $language = array();
var $configvars = array();
var $includepath = '';
var $SORT_TYPE = '';
function initPoll($path, $config_vars = ''){
global $HTTP_SERVER_VARS,$HTTP_GET_VARS,$HTTP_POST_VARS,$PHP_SELF;
if(is_dir($path)){
if($path == "/" || $path == "\"" ){
$path = ".";
}
$this->includepath = $path;
}
include($this->includepath."/admin/config.poll.php");
$this->configvars = $config_vars;
include($this->includepath."/lang/".strtolower($this->configvars["language"]).".php");
$this->language = $language;
$this->R_IP = getenv("REMOTE_ADDR");
$this->SORT_TYPE = isset($HTTP_GET_VARS["sort"]) ? $HTTP_GET_VARS["sort"] : $this->configvars["sort"];
$this->SORT_TYPE = isset($HTTP_POST_VARS["sort"]) ? $HTTP_POST_VARS["sort"] : $this->SORT_TYPE;
$PHP_SELF = isset($PHP_SELF) ? $PHP_SELF : $_SERVER["PHP_SELF"];
}
function getTemplate($uri){
global $PHP_SELF;
if(file_exists($uri)){
$ops = addslashes($this->fh($uri));
$ops = str_replace("$PHP_SELF",$PHP_SELF,$ops);
return $ops;
}else{
return false;
}
}
function translateURI($uri){
if(eregi("Win",PHP_OS)){
$uri = str_replace("/","\\",$uri);
}
return $uri;
}
function reconstructURI($fileName,$newParam){
$test = parse_str($newParam);
$newURI = (isset($newParam)) ? $fileName."?" : $fileName;
if(isset($HTTP_GET_VARS) || isset($_GET)){
while(list($name,$val) = @each($_GET)){
$newURI .= $name."=".$val."&";
}
$newURI .= $newParam;
}
return $_SERVER['QUERY_STRING'];
}
########################################################################################################################
function fh($name,$action='',$value=''){
if(!file_exists($name)){
$error .= "File does not exist...<br>";
if(@touch($name)){
$error .= "Creation Succesful<br>";
}else {
$error .= "Creation failed...check File Permissions<br>";
}
}
if($action == "w" || $action == "w+" || $action == "a" || $action == "a+"){
$fp = @fopen($name,$action);
@flock($fp,2);
if(!@fwrite($fp,$value)){
$error .= "Can't write to file <i>$name</i>";
}
@flock($fp,3);
@fclose($fp);
return $error;
}elseif($action == "r2a"){
$filearray = file($name);
return $filearray;
}else{
$fp = @fopen($name,"r");
$string = @fread($fp,@filesize($name));
@fclose($fp);
return $string;
}
}
function sort_result($toSort,$type){
for($i=0; $i<sizeof($toSort); $i++){
for($j=$i; $j<sizeof($toSort); $j++){
if($type == "desc"){
if($toSort[$i][1]<$toSort[$j][1]){
$tmp = $toSort[$i];
$toSort[$i] = $toSort[$j];
$toSort[$j] = $tmp;
}
}elseif($type == "asc"){
if($toSort[$i][1]>$toSort[$j][1]){
$tmp = $toSort[$i];
$toSort[$i] = $toSort[$j];
$toSort[$j] = $tmp;
}
}
}
}
return $toSort;
}
## simple function to create bar
function drawbar($size,$faktor){
$size=round($size*$faktor,0);
$image = $this->translateURI($this->includepath."/img/cent.gif");
$bar="\t<img src=\"".$image."\" width=".$size." height=7>";
return $bar;
}
function eval_maxbarsize($DB,$p){
$highest = 0; ## höchster Wert aus Array
$faktor = 0; ## wert mit dem die prozent des ergebnisses multipliziert werden
$maxbarsize = $this->configvars["max_bar_size"]; ## maximale größe des größten balken
for($i=0; $i<count($DB); $i++){
$highest = intval($DB[$i][1])>$highest ? intval($DB[$i][1]) : $highest;
}
$highest_v = round($p*$highest,-1);
if($highest_v*$faktor<$maxbarsize && $p!=0){
do{
$faktor = $faktor + 0.1;
}while($highest_v*$faktor<$maxbarsize);
}
return $faktor;
}
function display_result($filename = 'db/poll.db'){
global $PHP_SELF;
if(@filesize($this->includepath."/".$filename)<10 || !file_exists($this->includepath."/".$filename)){
$error = $this->language["poll_error"];
return $error;
print "Geht nix";
}else{
$DB_A = $this->fh($this->includepath."/".$filename,"r2a","");
$expD = $DB_A[0];
$question = rtrim($DB_A[1]);
$gesamt = 0;
for($i=2; $i<count($DB_A); $i++){
list($text,$val) = split(":",$DB_A[$i]);
$newDB[] = array($text,intval($val));
$gesamt += $val;
}
if($this->SORT_TYPE){
$newDB = $this->sort_result($newDB,$this->SORT_TYPE);
}
if($gesamt>0){
$p = 100 / $gesamt;
}else{
$p = 0;
}
$faktor = $this->eval_maxbarsize($newDB,$p); ## berechnet den größten passenden faktor (ggt) anhand der einstellung in der configfile
for($i=0; $i<count($newDB); $i++){
$percent = $p*intval($newDB[$i][1]);
$result .= $newDB[$i][0]."<br>\n".$this->drawbar(round($percent,0),$faktor)." ".round($percent,2)."%<br>\n";
}
$sorting = "";
if($this->configvars["show_result_sort"]){
$sorting="<tr>\n\t<td style=\"font-size:8pt;\"><a href=\"".$this->reconstructURI($PHP_SELF,"ID=3&sort=asc")."\">".$this->language["ascending"]."</a> | <a href=\"$PHP_SELF?ID=3&sort=desc\">".$this->language["descending"]."</a></td>\n</tr>";
}
$resultwidth=$this->configvars["max_bar_size"] + 55;
eval("\$r_str.=\"".$this->getTemplate($this->includepath."/template/result.html")."\";");
return $r_str;
}
}
}
?>
voting.poll.php
PHP:
<?php
require("main.poll.php");
class phpPollScript_voting extends phpPollScript_main{
function get_template($FILE){
global $PHP_SELF;
$tpl=addslashes($this->fh($FILE));
$tpl = str_replace("\$PHP_SELF",$PHP_SELF,$tpl);
return $tpl;
}
function iplock(){
$c_time = time(); ##current time
if(file_exists("$this->includepath/db/poll.ip")){
$IP_A = $this->fh("$this->includepath/db/poll.ip","r2a","");
for($i=0; $i<sizeof($IP_A); $i++){
list($ip,$p_time) = split("\\|",rtrim($IP_A[$i],"\n"));
$f_time = ($this->configvars["ip_timeout"]*3600) + $p_time; ### expiration time of ip lock
if ($c_time < $f_time){
if($ip == $this->R_IP){
continue;
}
$str.=$ip."|".$p_time."\n";
}
}
$str.=$this->R_IP."|".$c_time."\n";
$this->fh("$this->includepath/db/poll.ip","w",$str);
}else{
$this->fh("$this->includepath/db/poll.ip","w","$this->R_IP|$c_time\n");
}
}
function expired(){
$xpdfile = $this->fh($this->includepath."/db/poll.db","r2a");
$xpd = $xpdfile[0];
if($xpd!=0 && $xpd < time()){
$op = $this->language["display_vote_expired"];
}else{
$op="";
}
return $op;
}
function hasvoted(){
global $HTTP_COOKIE_VARS,$_COOKIE;
if ($this->configvars["lock"]){
$voted = false;
$pid = $this->fh($this->includepath."/db/poll.id"); ## poll.id file
$cookiename = "tomexpoll".$pid;
if(file_exists($this->includepath."/db/poll.ip")){
$IP_A = $this->fh($this->includepath."/db/poll.ip","r2a","");
$c_time = time();
for($i=0; $i<count($IP_A); $i++){
list($ip,$p_time) = split("\\|",$IP_A[$i]);
if($c_time < ($p_time+3600*$this->configvars["ip_timeout"])){
if($this->R_IP == $ip){
$voted = true;
break;
}
}
}
}
if(!$voted && $_COOKIE[$cookiename] == 1){
$voted = true;
}
return $voted;
}else{
return false;
}
}
function display_vote(){
if(!file_exists($this->includepath."/db/poll.db") || @filesize($this->includepath."/db/poll.db")<10){
$error = $this->language["poll_error"];
return $error;
}else{
$DB_A = $this->fh("$this->includepath/db/poll.db","r2a","");
$expD = $DB_A[0];
$Frage = $DB_A[1];
if($this->expired()){
$OP = $this->expired();
}else{
for($i=2; $i<count($DB_A); $i++){
$HTML_RADIO_B = "\t<input type='radio' name='votevalue' value='".$i."'>";
$AnswerStr_A = explode(":",$DB_A[$i]);
$Antworten .= $HTML_RADIO_B.$AnswerStr_A[0]."<br>\n";
}
eval("\$OP = \"".$this->get_template("$this->includepath/template/vote.html")."\";");
}
return $OP;
}
}
### Schreiben der Datei $DB (poll.db) und $IP (poll.ip)
## writing database file und ip lock file
function vote($ANTWORT){
global $PHP_SELF;
$DB_A = $this->fh("$this->includepath/db/poll.db","r2a","");
if($ANTWORT>1 && $ANTWORT<count($DB_A) && !$this->hasvoted() && !$this->expired()){
$newVal = explode(":",$DB_A[$ANTWORT]);
$newVal[1] += 1;
$DB_A[$ANTWORT] = implode(":",$newVal);
foreach ($DB_A as $line){
$write.=rtrim($line)."\n";
}
$this->iplock();
$this->fh("$this->includepath/db/poll.db","w",$write);
$message = $this->language["vote_msg"];
}else{
$message = $this->language["vote_error"];
}
if($this->configvars["popup"]){ ## if popups enabled
$popup = "window.setTimeout(\"callpage()\",300);";
}else{
$popup = "";
}
eval("\$tpl = \"".$this->get_template("$this->includepath/template/voted.html")."\";");
return $tpl;
}
}
?>
v12.class.poll.php
PHP:
<?php
class myPoll{
var $configvars = array(); ## information from configfile
var $language = array(); ## data from selected language file
var $R_IP = ''; ## remote IP
var $SORT_TYPE = ''; ## sorting type (desc,asc)
var $includepath = ''; ## includepath
#
function myPoll($config_vars=''){
global $HTTP_SERVER_VARS,$HTTP_GET_VARS,$HTTP_POST_VARS,$PHP_SELF;
$this->R_IP = getenv("REMOTE_ADDR");
$this->configvars = $config_vars;
$this->SORT_TYPE = isset($HTTP_GET_VARS["sort"]) ? $HTTP_GET_VARS["sort"] : $config_vars["sort"];
$this->SORT_TYPE = isset($HTTP_POST_VARS["sort"]) ? $HTTP_POST_VARS["sort"] : $this->SORT_TYPE;
$PHP_SELF = isset($PHP_SELF) ? $PHP_SELF : $HTTP_SERVER_VARS["PHP_SELF"];
}
#
function setincludepath($path){
if(is_dir($path)){
if($path == "/"){
$path = ".";
}
$this->includepath = $path;
return true;
}
}
#
function set_lang($lang=''){
include($this->includepath."/lang/".strtolower($this->configvars["language"]).".php");
$this->language = $language;
}
#
### Funktion fh (FileHandle), erleichtert schreib und lese funktionen auf dateien
## not specific for poll script, selfwritten snippet which makes filehandling easier
function fh($name,$action='',$value=''){
if(!file_exists($name)){
$error .= "File does not exist...<br>";
if(@touch($name)){
$error .= "Creation Succesful<br>";
}else {
$error .= "Creation failed...check File Permissions<br>";
}
}
if($action == "w" || $action == "w+" || $action == "a" || $action == "a+"){
$fp = @fopen($name,$action);
@flock($fp,2);
if(!fwrite($fp,$value)){
$error .= "Can't write to file <i>$name</i>";
}
@flock($fp,3);
@fclose($fp);
return $error;
}elseif($action == "r2a"){
$filearray = file($name);
return $filearray;
}else{
$fp = @fopen($name,"r");
$string = @fread($fp,@filesize($name));
@fclose($fp);
return $string;
}
}
function get_template($FILE){
global $PHP_SELF;
$tpl=addslashes($this->fh($FILE));
$tpl = str_replace("\$PHP_SELF",$PHP_SELF,$tpl);
return $tpl;
}
function iplock(){
$c_time = time(); ##current time
if(file_exists("$this->includepath/db/poll.ip")){
$IP_A = $this->fh("$this->includepath/db/poll.ip","r2a","");
for($i=0; $i<sizeof($IP_A); $i++){
list($ip,$p_time) = split("\\|",rtrim($IP_A[$i],"\n"));
$f_time = ($this->configvars["ip_timeout"]*3600) + $p_time; ### expiration time of ip lock
if ($c_time < $f_time){
if($ip == $this->R_IP){
continue;
}
$str.=$ip."|".$p_time."\n";
}
}
$str.=$this->R_IP."|".$c_time."\n";
$this->fh("$this->includepath/db/poll.ip","w",$str);
}else{
$this->fh("$this->includepath/db/poll.ip","w","$this->R_IP|$c_time\n");
}
}
function expired(){
$xpdfile = $this->fh($this->includepath."/db/poll.db","r2a");
$xpd = $xpdfile[0];
if($xpd!=0 && $xpd < time()){
$op = $this->language["display_vote_expired"];
}else{
$op="";
}
return $op;
}
function hasvoted(){
global $HTTP_COOKIE_VARS;
if ($this->configvars["lock"]){
$voted = false;
$pid = $this->fh($this->includepath."/db/poll.id"); ## poll.id file
$cookiename = "tomexpoll".$pid;
if(file_exists($this->includepath."/db/poll.ip")){
$IP_A = $this->fh($this->includepath."/db/poll.ip","r2a","");
$c_time = time();
for($i=0; $i<count($IP_A); $i++){
list($ip,$p_time) = split("\\|",$IP_A[$i]);
if($c_time < ($p_time+3600*$this->configvars["ip_timeout"])){
if($this->R_IP == $ip){
$voted = true;
break;
}
}
}
} elseif(isset($HTTP_COOKIE_VARS[$cookiename])){
$voted = true;
}
return $voted;
}else{
return false;
}
}
#
### Auslesen der datei $DB (poll.db); erstellen eines Formulars
## reading poll database file, creating voteformular
function display_vote(){
if(!file_exists($this->includepath."/db/poll.db") || @filesize($this->includepath."/db/poll.db")<10){
$error = $this->language["poll_error"];
return $error;
}else{
$DB_A = $this->fh("$this->includepath/db/poll.db","r2a","");
$expD = $DB_A[0];
$Frage = $DB_A[1];
if($this->expired()){
$OP = $this->expired();
}else{
for($i=2; $i<count($DB_A); $i++){
$HTML_RADIO_B = "\t<input type='radio' name='votevalue' value='".$i."'>";
$AnswerStr_A = explode(":",$DB_A[$i]);
$Antworten .= $HTML_RADIO_B.$AnswerStr_A[0]."<br>\n";
}
eval("\$OP = \"".$this->get_template("$this->includepath/template/vote.html")."\";");
}
return $OP;
}
}
### Schreiben der Datei $DB (poll.db) und $IP (poll.ip)
## writing database file und ip lock file
function vote($ANTWORT){
global $PHP_SELF;
$DB_A = $this->fh("$this->includepath/db/poll.db","r2a","");
if($ANTWORT>1 && $ANTWORT<count($DB_A) && !$this->hasvoted() && !$this->expired()){
$newVal = explode(":",$DB_A[$ANTWORT]);
$newVal[1] += 1;
$DB_A[$ANTWORT] = implode(":",$newVal);
foreach ($DB_A as $line){
$write.=rtrim($line)."\n";
}
$this->iplock();
$this->fh("$this->includepath/db/poll.db","w",$write);
$message = $this->language["vote_msg"];
}else{
$message = $this->language["vote_error"];
}
if($this->configvars["popup"]){ ## if popups enabled
$popup = "window.setTimeout(\"callpage()\",300);";
}else{
$popup = "";
}
eval("\$tpl = \"".$this->get_template("$this->includepath/template/voted.html")."\";");
return $tpl;
}
#
## well known sorting algorythm bubblesort, sooner or later would be replaced by quicksort
function sort_result($toSort,$type){
for($i=0; $i<sizeof($toSort); $i++){
for($j=$i; $j<sizeof($toSort); $j++){
if($type == "desc"){
if($toSort[$i][1]<$toSort[$j][1]){
$tmp = $toSort[$i];
$toSort[$i] = $toSort[$j];
$toSort[$j] = $tmp;
}
}elseif($type == "asc"){
if($toSort[$i][1]>$toSort[$j][1]){
$tmp = $toSort[$i];
$toSort[$i] = $toSort[$j];
$toSort[$j] = $tmp;
}
}
}
}
return $toSort;
}
#
## simple function to create bar
function drawbar($size,$faktor){
$size=round($size*$faktor,0);
$bar="\t<img src=\"".$this->includepath."/img/cent.gif\" width=".$size." height=7>";
return $bar;
}
#
function eval_maxbarsize($DB,$p){
$highest = 0; ## höchster Wert aus Array
$faktor = 0; ## wert mit dem die prozent des ergebnisses multipliziert werden
$maxbarsize = $this->configvars["max_bar_size"]; ## maximale größe des größten balken
for($i=0; $i<count($DB); $i++){
$highest = intval($DB[$i][1])>$highest ? intval($DB[$i][1]) : $highest;
}
$highest_v = round($p*$highest,-1);
if($highest_v*$faktor<$maxbarsize && $p!=0){
do{
$faktor = $faktor + 0.1;
}while($highest_v*$faktor<$maxbarsize);
}
return $faktor;
}
#
function display_result($filename = 'db/poll.db'){
if(@filesize($this->includepath."/".$filename)<10 || !file_exists($this->includepath."/".$filename)){
$error = $this->language["poll_error"];
return $error;
}else{
$DB_A = $this->fh($this->includepath."/db/poll.db","r2a","");
$expD = $DB_A[0];
$question = rtrim($DB_A[1]);
$gesamt = 0;
for($i=2; $i<count($DB_A); $i++){
list($text,$val) = split(":",$DB_A[$i]);
$newDB[] = array($text,intval($val));
$gesamt += $val;
}
if($this->SORT_TYPE){
$newDB = $this->sort_result($newDB,$this->SORT_TYPE);
}
if($gesamt>0){
$p = 100 / $gesamt;
}else{
$p = 0;
}
$faktor = $this->eval_maxbarsize($newDB,$p); ## berechnet den größten passenden faktor (ggt) anhand der einstellung in der configfile
for($i=0; $i < count($newDB); $i++){
$percent = $p*intval($newDB[$i][1]);
##$result .= $newDB[$i][0]."<br>\n".$this->drawbar(round($percent,0),$faktor)." ".round($percent,2)."%<br>\n";
$result .= $newDB[$i][0]."<br>\n".$this->drawbar(round($percent,0),$faktor)." ".$newDB[$i][1]."<br>\n";
}
$sorting = "";
if($this->configvars["show_result_sort"]){
$sorting="<tr>\n\t<td style=\"font-size:8pt;\"><a href=\"$PHP_SELF?ID=3&sort=asc\">".$this->language["ascending"]."</a> | <a href=\"$PHP_SELF?ID=3&sort=desc\">".$this->language["descending"]."</a></td>\n</tr>";
}
$resultwidth=$this->configvars["max_bar_size"] + 55;
eval("\$r_str.=\"".$this->get_template($this->includepath."/template/result.html")."\";");
return $r_str;
}
}
}
?>
und die Sprachdatei:
PHP:
<?php
$language["poll_error"] = "Keine gültige Umfrage vorhanden";
$language["display_vote_expired"] = "Vote abgelaufen";
$language["vote_msg"] = "Sie haben erfolgreich Ihre Stimme abgegeben<br>Sie werden in Kürze weitergeleitet";
$language["vote_error"] = "Sie haben bereits eine Stimme abgegeben oder ungültig gewählt";
$language["create_vote_error"] = "Keine gültige Eingabe";
$language["reset_vote_error"] = "Es ist nicht möglich eine nicht existierende Datei zu reseten";
$language["write_config_msg"] = "Konfiguration geschrieben";
$language["ascending"] = "Aufsteigend";
$language["descending"] = "Absteigend";
$language["del"] = "gelöscht";
$language["not_exist"] = "nicht vorhanden";
$language["delete_poll_warning"] = "Wenn Sie den \"Delete Poll\" Button drücken, werden ohne weitere Rückfrage, die Dateien poll.db, poll.id und poll.ip gelöscht";
$language["reset_poll_warning"] = "Wenn Sie den \"Reset Poll\" Button drücken werden, ohne weitere Rückfrage, alle Votes auf 0 gesetzt";
$language["create_question"] = "Frage";
$language["create_answer"] = "Antworten";
$language["create_answer_info"] = "mind. 2, jede Zeile gleicht einer Antwort";
$language["create_duration"] = "Dauer<br>in Tagen";
$language["admin_id"] = "<b>Aktuelle ID:</b> ";
$language["admin_poll_end"] = "<b>Endet am</b> ";
$language["admin_poll_expired"] = "<b>Beendet am </b> ";
$language["admin_question"] = "<b>Die Frage lautet:</b> ";
$language["admin_answers"] = "<b>Antworten:</b> ";
$language["admin_votes"] = "<b>Stimmen:</b> ";
$language["admin_totalvotes"] = "<b>Gesamt:</b> ";
$language["admin_no_poll"] = "Zur Zeit existiert keine Umfrage";
$language["admin_poll_stopped"] = "Umfrage angehalten und beendet";
$language["admin_never"] = "Nie";
$language["archive_action"] = "Archiviere aktuelle Umfrage";
$language["archive_noFiles"] = "Zur Zeit befinden sich keine Dateien im Archiv";
$language["archive_date"] = "Datum";
$language["archive_question"] = "Frage";
$language["cookie_timeout"]="Länge der Gültigkeit des Cookies in H (numerischer Wert)";
$language["ip_timeout"]="Länge der IP-Sperre in H (numerischer Wert)";
$language["lock"]="IP und Cookie Sperre (0 für NEIN, 1 für JA)";
$language["sort"]="Sortierung (asc -> Aufsteigend, desc -> Absteigend)";
$language["popup"]="Popup ja oder nein (0 bzw 1)";
$language["show_result_sort"] = "Zeigt Sortierungsmöglichkeiten bei Ergebnis an (0 bzw 1)";
$language["autoArchive"] = "Archviert Umfrage automatisch sobald sie zu Ende ist";
$language["max_bar_size"] = "Legt die maximale Breite der Ergebnisbalken fest";
$language["language"]="Sprache: immer klein geschrieben und Datei mit dem Namen muss im Verzeichnis \"/lang/\" vorhanden sein";
?>
THX im voraus.