Skip to content
Snippets Groups Projects

Double quotes changed to single quotes

Merged Pavel Břoušek requested to merge github/fork/BaranekD/Refactoring into master
2 files
+ 11
9
Compare changes
  • Side-by-side
  • Inline
Files
2
<script>
<script>
// When the user clicks on <div>, open the popup
// When the user clicks on <div>, open the popup
function myFunction() {
function myFunction() {
var popup = document.getElementById("myPopup");
var popup = document.getElementById('myPopup');
popup.classList.toggle("show");
popup.classList.toggle('show');
}
}
</script>
</script>
@@ -18,7 +18,7 @@
@@ -18,7 +18,7 @@
* @package SimpleSAMLphp
* @package SimpleSAMLphp
*/
*/
$this->data['header'] = "";
$this->data['header'] = '';
$this->data['403_header'] = $this->t('{perunauthorize:Perunauthorize:403_header}');
$this->data['403_header'] = $this->t('{perunauthorize:Perunauthorize:403_header}');
$this->data['403_text'] = $this->t('{perunauthorize:Perunauthorize:403_text}');
$this->data['403_text'] = $this->t('{perunauthorize:Perunauthorize:403_text}');
$this->data['403_subject'] = $this->t('{perunauthorize:Perunauthorize:403_subject}');
$this->data['403_subject'] = $this->t('{perunauthorize:Perunauthorize:403_subject}');
@@ -54,7 +54,7 @@ function getBaseURL($t, $type = 'get', $key = null, $value = null)
@@ -54,7 +54,7 @@ function getBaseURL($t, $type = 'get', $key = null, $value = null)
} else {
} else {
$text = '';
$text = '';
foreach ($vars as $k => $v) {
foreach ($vars as $k => $v) {
$text .= '<input type="hidden" name="' . $k . '" value="' . htmlspecialchars($v) . '" />' . "\n";
$text .= '<input type="hidden" name="' . $k . '" value="' . htmlspecialchars($v) . '" />' . PHP_EOL;
}
}
return $text;
return $text;
}
}
@@ -72,17 +72,17 @@ $this->includeAtTemplateBase('includes/header.php');
@@ -72,17 +72,17 @@ $this->includeAtTemplateBase('includes/header.php');
<div class="error_message">
<div class="error_message">
<h1><?php echo $this->data['403_header']; ?></h1>
<h1><?php echo $this->data['403_header']; ?></h1>
<p><?php echo $this->data['403_text'] . $this->data['serviceName'] . "<br>";
<p><?php echo $this->data['403_text'] . $this->data['serviceName'] . '<br>';
if (isset($this->data['informationURL'])) {
if (isset($this->data['informationURL'])) {
echo "( " . $this->data['403_informationPage'] . "<a href=\"" . $this->data['informationURL'] . "\">" .
echo '( ' . $this->data['403_informationPage'] . '<a href="' . $this->data['informationURL'] . '">' .
$this->data['informationURL'] . "</a>" . " )";
$this->data['informationURL'] . '</a> )';
} ?></p>
} ?></p>
<p>
<p>
<?php echo $this->data['403_contactSupport'] .
<?php echo $this->data['403_contactSupport'] .
"<a href=\"mailto:" . $this->data['administrationContact'] . "?subject=" .
'<a href="mailto:' . $this->data['administrationContact'] . '?subject=' .
$this->data['403_subject'] . $this->data['serviceName'] .
$this->data['403_subject'] . $this->data['serviceName'] .
"\">" . $this->data['administrationContact'] . "</a>" . "."; ?>
'">' . $this->data['administrationContact'] . '</a>.'; ?>
</p>
</p>
</div>
</div>
Loading