From fe24cefd59790ffa12bf8dde44d3f0b118840a99 Mon Sep 17 00:00:00 2001 From: gtbu Date: Fri, 10 Jun 2022 16:25:05 +0200 Subject: [PATCH] input limited --- include/Page/Edit.php | 2 +- include/special/ContactGadget.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/Page/Edit.php b/include/Page/Edit.php index 4f15c27..b5abd3f 100644 --- a/include/Page/Edit.php +++ b/include/Page/Edit.php @@ -212,7 +212,7 @@ class Edit extends \gp\Page{ $option_links[] = \gp\tool::Link( 'Admin/Permissions', $langmessage['permissions'], - 'index=' . urlencode($this->gp_index), + 'index=' . urlencode($this->gp_index ? $this->gp_index : 0), [ 'title' => $langmessage['permissions'], 'class' => 'admin-link admin-link-permissions', diff --git a/include/special/ContactGadget.php b/include/special/ContactGadget.php index 78203c8..07b8053 100644 --- a/include/special/ContactGadget.php +++ b/include/special/ContactGadget.php @@ -184,33 +184,33 @@ class ContactGadget extends \gp\special\Base{ echo ''; echo \gp\tool\Output::ReturnText('your_name'); echo ''; - echo ''; echo ''; echo ''; echo ''; @@ -222,7 +222,7 @@ class ContactGadget extends \gp\special\Base{ $required_attr = ' required="required"'; } echo ''; - echo '';