Location: PHPKode > projects > Template CMS > plugins/box/themes/templates/backend/ThemesEditCSSTemplate.php
<?php
    htmlAdminHeading(lang('themes_edit_css'));
    htmlFormOpen('index.php?id=themes&action=edit_css&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>';
    if(isset($errors['themes_css_exists'])) echo '&nbsp;&nbsp;&nbsp;<span class="error">'.$errors['themes_css_exists'].'</span>';

    htmlFormHidden('old_name',basename(get('file'),'.css'));
    htmlBr(2);
    htmlMemo('themes_editor',array('style'=>'width:100%;height:400px;'),toText($css_to_edit));
  

    htmlFormButton(array('value'=>lang('themes_save'),'name'=>'edit_css'));
    htmlNbsp();
    htmlFormButton(array('value'=>lang('themes_save_and_exit'),'name'=>'edit_css_and_exit'));
    htmlFormClose();
?>
Return current item: Template CMS