Skip to content

Issues-559: fixed popups #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions views/group/add_category.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php if (!defined('APPLICATION')) exit(); ?>
<h1><?php echo t('Add New Category'); ?></h1>
<h1><?php echo t('Add'); ?></h1>
<?php
$Group = $this->data('Group');
echo $this->Form->open();
echo $this->Form->errors();
?>
<div class="Wrap">
<?php
echo '<div class="P">Are you sure you want to add a new category to \''. $Group->Name.'\'?</div>';
echo '<div class="P Message">Are you sure you want to add a new category?</div>';
echo '<div class="P">';
echo $this->Form->label('Category Name', 'Name');
echo wrap($this->Form->textBox('Name', ['maxlength' => 255, 'class' => 'InputBox']), 'div', ['class' => 'TextBoxWrapper']);
Expand Down
6 changes: 3 additions & 3 deletions views/group/delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?php
$Group = $this->data('Group');
?>
<h1><?php echo 'Delete \''.$Group->Name.'\'' ?></h1>
<h1><?php echo 'Delete' ?></h1>
<?php
echo $this->Form->open();
echo $this->Form->errors();
Expand All @@ -11,10 +11,10 @@
<div class="Wrap">

<?php
echo '<div class="P">Are you sure you want to delete \''. $Group->Name.'\'?</div>';
echo '<div class="P Message">Are you sure you want to delete this item?</div>';
echo '<div class="Buttons Buttons-Confirm">';
echo $this->Form->button('Cancel', ['type' => 'button', 'class' => 'Button Close']);
echo $this->Form->button( 'Delete', ['class' => 'Button Primary GroupButton']);
echo $this->Form->button( 'Delete', ['class' => 'Button Primary Delete']);
echo '</div>';
?>
</div>
6 changes: 3 additions & 3 deletions views/group/delete_member.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php if (!defined('APPLICATION')) exit(); ?>
<h1><?php echo t('Delete Member'); ?></h1>
<h1><?php echo t('Delete'); ?></h1>
<?php
echo $this->Form->open();
echo $this->Form->errors();
?>
<div class="Wrap">
<div class="P">Are you sure you want to delete this member?</div>
<div class="P">Are you sure you want to delete this item?</div>
<?php
echo '<div class="Buttons Buttons-Confirm">';
echo $this->Form->button( 'Delete', ['class' => 'Button Primary GroupButton']);
echo $this->Form->button('Cancel', ['type' => 'button', 'class' => 'Button Close']);
echo $this->Form->button( 'Delete', ['class' => 'Button Primary Delete']);
echo '</div>';

?>
Expand Down
6 changes: 3 additions & 3 deletions views/group/invite.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<?php if (!defined('APPLICATION')) exit(); ?>
<h1><?php echo t('Invite User'); ?></h1>
<h1><?php echo t('Invite'); ?></h1>
<?php
$Group = $this->data('Group');
echo $this->Form->open();
echo $this->Form->errors();
?>
<div class="Wrap">
<?php
echo '<div class="P">Are you sure you want to invite User to \''. $Group->Name.'\'?</div>';
echo '<div class="P Message">Are you sure you want to invite User?</div>';
echo '<div class="P">';
echo $this->Form->label('Username', 'Username');
echo wrap($this->Form->textBox('Username', ['maxlength' => 100, 'class' => 'InputBox BigInput']), 'div', ['class' => 'TextBoxWrapper']);
echo '</div>';
echo '<div class="Buttons Buttons-Confirm">';
echo $this->Form->button('Cancel', ['type' => 'button', 'class' => 'Button Close']);
echo $this->Form->button( 'Invite', ['class' => 'Button Primary GroupButton']);
echo $this->Form->button( 'Invite User', ['class' => 'Button Primary']);
echo '</div>';

?>
Expand Down