Files
easystream-main/f_templates/tpl_frontend/tpl_msg/tpl_addlabel.tpl
SamiAhmed7777 0b7e2d0a5b feat: Add comprehensive documentation suite and reorganize project structure
- Created complete documentation in docs/ directory
- Added PROJECT_OVERVIEW.md with feature highlights and getting started guide
- Added ARCHITECTURE.md with system design and technical details
- Added SECURITY.md with comprehensive security implementation guide
- Added DEVELOPMENT.md with development workflows and best practices
- Added DEPLOYMENT.md with production deployment instructions
- Added API.md with complete REST API documentation
- Added CONTRIBUTING.md with contribution guidelines
- Added CHANGELOG.md with version history and migration notes
- Reorganized all documentation files into docs/ directory for better organization
- Updated README.md with proper documentation links and quick navigation
- Enhanced project structure with professional documentation standards
2025-10-21 00:39:45 -07:00

32 lines
2.0 KiB
Smarty

{if $custom_labels eq 1}<div id="custom-labels" class="d-flex"></div>{/if}
<div id="add-new-label" style="display: none; padding: 0px 0px 10px 0px;">
<div id="add-new-label-in">
<form id="add-new-label-form" method="post" action="" class="entry-form-class">
<label>{lang_entry key="label.add.new"}</label>
<input type="text" name="add_new_label" id="add-new-label-input" class="login-input"><br>
<div class="d-flex" style="margin-top: 10px;">
<button name="add_new_label_btn" id="add-new-label-btn" class="my-0 me-10 save-entry-button button-grey search-button form-button" type="button" value="1"><span>{lang_entry key="frontend.global.create"}</span></button>
<a class="link cancel-trigger" href="#"><span>{lang_entry key="frontend.global.cancel"}</span></a>
</div>
</form>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {ldelim}
var lb_url = current_url + menu_section + '?s={$smarty.get.s|sanitize}&do=label';
$(".new-label").click(function(){ldelim}$("#ct-contact-add-wrap").stop().slideUp('fast'); $("#add-new-label").stop().slideToggle('fast'); $("#add-new-label-input").focus(); if($(this).hasClass("form-button-active")){ldelim}$(this).removeClass("form-button-active");{rdelim}else{ldelim}$(this).addClass("form-button-active");{rdelim}{rdelim});
$(".link").click(function(){ldelim}$("#add-new-label").stop().slideUp('fast'); $(".new-label").removeClass("form-button-active"); {rdelim});
$("#add-new-label-btn").click(function(){ldelim}
if($("#add-new-label-input").val() != '') {ldelim}
$("#ct-wrapper").mask(" ");
$.post(lb_url, $("#add-new-label-form").serialize(), function( data ) {ldelim}
if (data > 0) {ldelim}
location.reload();
{rdelim}
{rdelim});
{rdelim}
{rdelim});
enterSubmit("#add-new-label-form input", "#add-new-label-btn");
{rdelim});
</script>