Skip to content
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
2 changes: 1 addition & 1 deletion modals/account_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-piggy-bank"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Account name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Account name" maxlength="200" required autofocus>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/account_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-piggy-bank"></i></span>
</div>
<input type="text" class="form-control" name="name" value="<?php echo $account_name; ?>" placeholder="Account name" required>
<input type="text" class="form-control" name="name" maxlength="200" value="<?php echo $account_name; ?>" required>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_api_key_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-sticky-note"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Key Name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Key Name" maxlength="255" required autofocus>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_category_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-list-ul"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Category name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Category name" maxlength="200" required autofocus>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_category_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-list-ul"></i></span>
</div>
<input type="text" class="form-control" name="name" value="<?php echo $category_name; ?>" required>
<input type="text" class="form-control" name="name" maxlength="200" value="<?php echo $category_name; ?>" required>
</div>
</div>

Expand Down
6 changes: 3 additions & 3 deletions modals/admin_custom_link_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-list-ul"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Link name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Link name" maxlength="200" required autofocus>
</div>
</div>

Expand All @@ -37,7 +37,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-external-link-alt"></i></span>
</div>
<input type="text" class="form-control" name="uri" placeholder="Enter Link" required>
<input type="text" class="form-control" name="uri" placeholder="Enter Link" maxlength="500" required>
<div class="input-group-append">
<div class="input-group-text">
<input type="checkbox" name="new_tab" value="1">
Expand All @@ -52,7 +52,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-image"></i></span>
</div>
<input type="text" class="form-control" name="icon" placeholder="Icon ex handshake">
<input type="text" class="form-control" name="icon" placeholder="Icon ex handshake" maxlength="200">
</div>
</div>

Expand Down
6 changes: 3 additions & 3 deletions modals/admin_custom_link_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-list-ul"></i></span>
</div>
<input type="text" class="form-control" name="name" value="<?php echo $custom_link_name; ?>" required>
<input type="text" class="form-control" name="name" value="<?php echo $custom_link_name; ?>" maxlength="200" required>
</div>
</div>

Expand All @@ -39,7 +39,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-external-link-alt"></i></span>
</div>
<input type="text" class="form-control" name="uri" placeholder="Enter Link" value="<?php echo $custom_link_uri; ?>" required>
<input type="text" class="form-control" name="uri" placeholder="Enter Link" maxlength="500" value="<?php echo $custom_link_uri; ?>" required>
<div class="input-group-append">
<div class="input-group-text">
<input type="checkbox" name="new_tab" value="1" <?php if ($custom_link_new_tab == 1) { echo "checked"; } ?>>
Expand All @@ -54,7 +54,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-image"></i></span>
</div>
<input type="text" class="form-control" name="icon" placeholder="Icon ex handshake" value="<?php echo $custom_link_icon; ?>">
<input type="text" class="form-control" name="icon" placeholder="Icon ex handshake" maxlength="200" value="<?php echo $custom_link_icon; ?>">
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_document_template_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="modal-body bg-white">

<div class="form-group">
<input type="text" class="form-control" name="name" placeholder="Template name">
<input type="text" class="form-control" name="name" placeholder="Template name" maxlength="200">
</div>

<?php if ($config_ai_enable == 1) { ?>
Expand Down
2 changes: 1 addition & 1 deletion modals/admin_document_template_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="modal-body bg-white">

<div class="form-group">
<input type="text" class="form-control" name="name" value="<?php echo $document_name; ?>" placeholder="Name" required>
<input type="text" class="form-control" name="name" maxlength="200" value="<?php echo $document_name; ?>" placeholder="Name" required>
</div>

<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion modals/admin_project_template_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-project-diagram"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Project Template Name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Project Template Name" maxlength="255" required autofocus>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_project_template_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-project-diagram"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Project Template Name" value="<?php echo $project_template_name; ?>" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Project Template Name" maxlength="255" value="<?php echo $project_template_name; ?>" required autofocus>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions modals/admin_role_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-user-shield"></i></span>
</div>
<input type="text" class="form-control" name="role_name" placeholder="Role Name" required>
<input type="text" class="form-control" name="role_name" placeholder="Role Name" maxlength="200" required>
</div>
</div>

Expand All @@ -28,7 +28,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-chevron-right"></i></span>
</div>
<input type="text" class="form-control" name="role_description" placeholder="Role Description" required>
<input type="text" class="form-control" name="role_description" placeholder="Role Description" maxlength="200" required>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions modals/admin_role_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-user-shield"></i></span>
</div>
<input type="text" class="form-control" name="role_name" placeholder="Role Name" value="<?php echo $role_name; ?>" required>
<input type="text" class="form-control" name="role_name" placeholder="Role Name" maxlength="200" value="<?php echo $role_name; ?>" required>
</div>
</div>

Expand All @@ -44,7 +44,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-chevron-right"></i></span>
</div>
<input type="text" class="form-control" name="role_description" placeholder="Role Description" value="<?php echo $role_description; ?>" required>
<input type="text" class="form-control" name="role_description" placeholder="Role Description" maxlength="200" value="<?php echo $role_description; ?>" required>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions modals/admin_software_template_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-cube"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Software name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Software name" maxlength="200" required autofocus>
</div>
</div>

Expand All @@ -26,7 +26,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-cube"></i></span>
</div>
<input type="text" class="form-control" name="version" placeholder="Software version">
<input type="text" class="form-control" name="version" placeholder="Software version" maxlength="200">
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions modals/admin_software_template_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-cube"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Software name" value="<?php echo $software_name; ?>" required>
<input type="text" class="form-control" name="name" placeholder="Software name" maxlength="200" value="<?php echo $software_name; ?>" required>
</div>
</div>

Expand All @@ -27,7 +27,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-cube"></i></span>
</div>
<input type="text" class="form-control" name="version" placeholder="Software version" value="<?php echo $software_version; ?>">
<input type="text" class="form-control" name="version" placeholder="Software version" maxlength="200" value="<?php echo $software_version; ?>">
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_tag_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Tag name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Tag name" maxlength="200" required autofocus>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_tag_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
</div>
<input type="text" class="form-control" name="name" value="<?php echo $tag_name; ?>" required>
<input type="text" class="form-control" name="name" maxlength="200" value="<?php echo $tag_name; ?>" required>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_tax_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="modal-body bg-white">
<div class="form-group">
<label>Name <strong class="text-danger">*</strong></label>
<input type="text" class="form-control" name="name" placeholder="Tax name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Tax name" maxlength="200" required autofocus>
</div>
<div class="form-group">
<label>Percent <strong class="text-danger">*</strong></label>
Expand Down
2 changes: 1 addition & 1 deletion modals/admin_tax_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="form-group">
<label>Name <strong class="text-danger">*</strong></label>
<input type="text" class="form-control" name="name" value="<?php echo $tax_name; ?>" required>
<input type="text" class="form-control" name="name" maxlength="200" value="<?php echo $tax_name; ?>" required>
</div>

<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion modals/admin_ticket_status_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-info-circle"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Ticket Status name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Ticket Status name" maxlength="200" required autofocus>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion modals/admin_ticket_status_edit_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
</div>
<input type="text" class="form-control" name="name" value="<?php echo $ticket_status_name; ?>" required>
<input type="text" class="form-control" name="name" maxlength="200" value="<?php echo $ticket_status_name; ?>" required>
</div>
</div>

Expand Down
24 changes: 12 additions & 12 deletions modals/admin_ticket_template_add_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-life-ring"></i></span>
</div>
<input type="text" class="form-control" name="name" placeholder="Template name" required autofocus>
<input type="text" class="form-control" name="name" placeholder="Template name" maxlength="200" required autofocus>
</div>
</div>

Expand All @@ -26,23 +26,23 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-angle-right"></i></span>
</div>
<input type="text" class="form-control" name="subject" placeholder="Subject">
<input type="text" class="form-control" name="subject" placeholder="Subject" maxlength="500">
</div>
</div>

<?php if($config_ai_enable) { ?>
<div class="form-group">
<textarea class="form-control tinymceai" id="textInput" name="details"></textarea>
</div>
<div class="form-group">
<textarea class="form-control tinymceai" id="textInput" name="details"></textarea>
</div>

<div class="mb-3">
<button id="rewordButton" class="btn btn-primary" type="button"><i class="fas fa-fw fa-robot mr-2"></i>Reword</button>
<button id="undoButton" class="btn btn-secondary" type="button" style="display:none;"><i class="fas fa-fw fa-redo-alt mr-2"></i>Undo</button>
</div>
<div class="mb-3">
<button id="rewordButton" class="btn btn-primary" type="button"><i class="fas fa-fw fa-robot mr-2"></i>Reword</button>
<button id="undoButton" class="btn btn-secondary" type="button" style="display:none;"><i class="fas fa-fw fa-redo-alt mr-2"></i>Undo</button>
</div>
<?php } else { ?>
<div class="form-group">
<textarea class="form-control tinymce" rows="5" name="details"></textarea>
</div>
<div class="form-group">
<textarea class="form-control tinymce" rows="5" name="details"></textarea>
</div>
<?php } ?>

<div class="form-group">
Expand Down
Loading
Loading