PHP Classes

File: application/views/admincp/themeEdit.php

Recommend this page to a friend!
  Classes of Minh Tien  >  Noblesse CMS  >  application/views/admincp/themeEdit.php  >  Download  
File: application/views/admincp/themeEdit.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Noblesse CMS
Content management system with custom plugins
Author: By
Last change: Fix edit theme bug
Date: 6 years ago
Size: 1,766 bytes


Class file image Download
<style type="text/css">
    list-style: none;
    padding: 0px;
  overflow: scroll;
      overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;

.ul-list-files li a

    cursor: pointer;

    color: #ed2f0e;

<div class="panel panel-default">
  <div class="panel-body">
    <div class="row">
        <!-- left -->
        <div class="col-lg-3">
        <h3>All Files</h3>
            <ul class="ul-list-files">
            <li><a href="<?php echo System::getAdminUrl().'theme/edit/'.$themeName.'/?path='.dirname($subPath);?>">..</a></li>


                for (
$i=0; $i < $total; $i++) {

preg_match('/\w+/i', $subPath))

$li.='<li><a href="'.System::getAdminUrl().'theme/edit/'.$themeName.'/?path='.$subPath.$listFiles[$i].'">'.$listFiles[$i].'</a>
                    <div class="pull-right">

        <!-- left -->
        <!-- right -->
        <div class="col-lg-9">
        <form action="" method="post" enctype="multipart/form-data">
            <h3>Content of <?php if(isset($file['name']))echo $file['name'] ;?>
<button type="submit" name="btnSave" class="btn btn-primary btn-xs pull-right">Save changes</button>

            <div class="file-content">
                <textarea class="form-control" placeholder="File content" name="send[file_content]" id="file-content" rows="20"><?php if(isset($file['data']))echo htmlspecialchars($file['data']) ;?></textarea>
        <!-- right -->


For more information send a message to info at phpclasses dot org.