Umfragen
action.poll.php File Reference

executes some actions on polls More...

Go to the source code of this file.

Variables

 $db = new db( DB_USER, DB_PASS, DB_DATABASE, DB_HOST )
 $config = new config($db)
 $messages = new messageHandler()
 $edit = ""
if((isset($_GET["action"]))
AND($_GET["action"]=="duplicate")
AND($poll->status==STATUS_SHARED_TEMPLATE))
if((!isset($_POST["add_poll"]))
AND!((isset($_GET["action"]))
AND($_GET["action"]=="import_XML_poll")))
if(isset($_GET["action"]))
else if(isset($_POST["add_poll"])) 
$navbar = array( 0 => array("name"=>"Backend","href"=>"index.php","onclick"=>"") )
 $navbar [] = array( "name"=>"Umfrage {$poll->ID} Bearbeiten" , "href"=>"" , "onclick"=>"")

Detailed Description

executes some actions on polls

parameters GET

  • pollID
  • widgetID
  • optionID
  • action

valid actions

rm, share, archive, unarchive, dupliacte, export, set_template, toggle_polltype, toggle_anonymous, export_XML_poll

redirects

Definition in file action.poll.php.

Variable Documentation

$config = new config($db)

Definition at line 57 of file action.poll.php.

$db = new db( DB_USER, DB_PASS, DB_DATABASE, DB_HOST )

Definition at line 56 of file action.poll.php.

$edit = ""

Definition at line 64 of file action.poll.php.

$messages = new messageHandler()

Definition at line 60 of file action.poll.php.

if ((isset($_GET["action"])) AND($_GET["action"]=="duplicate") AND($poll->status==STATUS_SHARED_TEMPLATE)) if ((!isset($_POST["add_poll"])) AND!((isset($_GET["action"])) AND($_GET["action"]=="import_XML_poll"))) if (isset($_GET["action"])) else if (isset($_POST["add_poll"])) $navbar = array( 0 => array("name"=>"Backend","href"=>"index.php","onclick"=>"") )

Definition at line 384 of file action.poll.php.

$navbar[] = array( "name"=>"Umfrage {$poll->ID} Bearbeiten" , "href"=>"" , "onclick"=>"")

Definition at line 385 of file action.poll.php.