{if !isset($no_header)}
{if !empty($error)}

{$error}

{elseif !empty($success)}

{$success}

{/if}
{/if} {if $action == ''}
{elseif $action == 'list'}

{$lang.NODE_NOTES} {$lang.NODE_NOTE_LIST}

{strip}
  • {$lang.ADD_NODE_NOTE}
  • 0 to 0 (0)

{/strip}

{$lang.FILTERS}

{elseif $action == 'listDetails'}

{$lang.NODE_NOTES} {$lang.NODE_NOTE_DETAILS}

{esia_pager divid="notesDetailsPager" tablesorterid="notesDetailsTable" divcss="pager" height="22px" ulclass="triList" liclass="triElement" langprint="{$lang.ADM_PRINT_BOARD}" langcolumn="{$lang.ADM_SHOW_HIDDEN_COLUMN}" icn_printer="/theme/default/images/table-print.jpg" icn_column="/theme/default/images/table-change-order.jpg" icn_columnselect="/theme/default/images/table-change-order.jpg" } {if !empty($noteAccessLevel) && $noteAccessLevel >= 2} {$lang.ADD_NODE_NOTE} {/if} {/esia_pager}
{$lang.SUBJECT} {$lang.NODE_NOTE} {$lang.TYPE} {$lang.NODE_NOTE_USER} {$lang.CREATE_DATE} {$lang.LAST_MODIFY} {$lang.NODE_NOTE_PURGE} {$lang.ACTION}
{elseif $action == 'listThreads'}

{$lang.SUBJECTS}

{esia_pager divid="notesThreadsPager" tablesorterid="notesThreadsTable" divcss="pager" height="22px" ulclass="triList" liclass="triElement" langprint="{$lang.ADM_PRINT_BOARD}" langcolumn="{$lang.ADM_SHOW_HIDDEN_COLUMN}" icn_printer="/theme/default/images/table-print.jpg" icn_column="/theme/default/images/table-change-order.jpg" icn_columnselect="/theme/default/images/table-change-order.jpg" } {if !empty($noteAccessLevel) && $noteAccessLevel >= 2} {$lang.ADD_SUBJECT} {/if} {/esia_pager}
{if !empty($noteAccessLevel) && $noteAccessLevel >= 2} {/if} {foreach from=$threadList item=thread} {if !empty($noteAccessLevel) && $noteAccessLevel >= 2} {/if} {/foreach}
{$lang.SUBJECT} {$lang.TYPE}{$lang.ACTION}
{$thread.thread_title} {$typesLang[$thread.thread_type]} {if $thread.thread_type == 'TEXT'} {$lang.MODIF} {$lang.DELETE} {/if}
{elseif $action == 'addNote'} {include file='overall_adm_iframe.html'}

{$lang.ADD_NODE_NOTE}

{strip}
{/strip}
{elseif $action == 'updateNote'} {include file='overall_adm_iframe.html'}

{$lang.UPDATE_NODE_NOTE}

{$note.thread_title}

{strip}
{/strip}
{elseif $action == 'deleteNote'} {include file='overall_adm_iframe.html'} {if empty($error) && empty($success)}

{$lang.NODE_NOTE_DELETE_MSG}

{$note.thread_title}

{$note.note_user_name} {$note.note_date}

{$note.note_message}

{else}
{/if} {elseif $action == 'addThread' || $action == 'updateThread'} {include file='overall_adm_iframe.html'}
{if $action == 'updateThread'}

{$lang.UPDATE_SUBJECT}

{else}

{$lang.ADD_SUBJECT}

{/if}
{strip}
{if $action == 'updateThread'} {else} {/if}
{/strip}
{elseif $action == 'deleteThread'} {include file='overall_adm_iframe.html'} {if empty($error) && empty($success)}

{$lang.NODE_NOTE_SUBJECT_DELETE_MSG}

{$thread.thread_title}

{$lang.NODE_NOTE_SUBJECT_DELETE_WARN}

{else}
{/if} {elseif $action == 'getDeviceNotes'} {if !empty($notesList)} {foreach item=note from=$notesList}

{$note.thread_title}

{$note.note_user_name} {$note.note_date}

{$note.note_message}

{/foreach} {else}

{$lang.NODE_NOTES_EMPTY}

{if isset($onEmptyAddNoteBtn) && $noteAccessLevel >= 2}

{$lang.ADD_NODE_NOTE}

{/if} {/if} {/if} {if !isset($no_header)} {/if}