diff --git a/VERSION b/VERSION index 595cd20..bed2432 100644 --- a/VERSION +++ b/VERSION @@ -1,4 +1,4 @@ latest -1.2.4 +1.2.5 1.2 1 diff --git a/core/PollAdmin.php b/core/PollAdmin.php index 65644d1..2c04d42 100644 --- a/core/PollAdmin.php +++ b/core/PollAdmin.php @@ -132,7 +132,9 @@ private function showInfo(){ if( $this->pollsub->isValue( [$id] ) ){ foreach( $this->pollsub->getValue( [$id] ) as $sub){ $i++; - $submiss[] = Utilities::optimizeOutputString( $sub['name'] . ' (' . $sub['mail'] . ') ' ); + $submiss[] = Utilities::optimizeOutputString( + $sub['name'] . ' (' . $sub['mail'] . ') ' + ) . (!empty($sub['editcode']) ? '' : '' ); $submissempty = false; } } @@ -177,7 +179,8 @@ private function showInfo(){ "terminmeta" => $terminmeta, "editurl" => URL::generateAPILink( 'editpoll', array( 'admin' => $this->polldata->getValue(['code', 'admin']) ) ), "polltype" => $type, - "submissempty" => $submissempty + "submissempty" => $submissempty, + "delsinglesub" => URL::generateAPILink( 'delsubmission', array( 'poll' => $this->polldata->getValue(['code', 'poll']) ) ) ) ))); } diff --git a/core/Utilities.php b/core/Utilities.php index 1c4e2d3..ba90832 100644 --- a/core/Utilities.php +++ b/core/Utilities.php @@ -16,7 +16,7 @@ class Utilities { /** * The system's Version */ - const SYS_VERSION = 'v1.2.4'; + const SYS_VERSION = 'v1.2.5'; /** * Possible chars for: diff --git a/core/templates/admin_de.html b/core/templates/admin_de.html index 3bcc9fc..4efe3f5 100644 --- a/core/templates/admin_de.html +++ b/core/templates/admin_de.html @@ -261,6 +261,12 @@