Location: PHPKode > projects > Template CMS > templatecms_2_0_3_en/plugins/box/themes/templates/backend/ThemesEditTemplate.php
<?php
    htmlAdminHeading(lang('themes_edit_template'));
    htmlFormOpen('index.php?id=themes&action=edit_template&file='.get('file'));

    if(isset($errors['themes_empty_name'])) $error_style = 'border:1px solid #FA7660'; else $error_style = '';
    htmlFormInput(array('name'=>'themes_editor_name','style'=>$error_style,'value'=>$post_name),lang('themes_name'));
    if(isset($errors['themes_empty_name'])) echo '&nbsp;&nbsp;&nbsp;<span class="error">'.$errors['themes_empty_name'].'</span>';
    
    htmlFormHidden('old_name',basename(get('file'),'Template.php'));

    htmlBr(2);   
    htmlMemo('themes_editor',array('style'=>'width:100%;height:400px;'),toText($template_to_edit));
    include 'ThemesSnippets.php';
    htmlFormClose(true,array('value'=>lang('themes_save'),'name'=>'edit_template'));
?>
Return current item: Template CMS