Login   Register  
PHP Classes
elePHPant
Icontem

File: bites/bites/views/admin.managePlugins.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Luke Rotherfield  >  Nibble PHP Framework  >  bites/bites/views/admin.managePlugins.php  >  Download  
File: bites/bites/views/admin.managePlugins.php
Role: Application script
Content type: text/plain
Description: Plug-in management page
Class: Nibble PHP Framework
Web application framework based in plug-ins
Author: By
Last change:
Date: 3 years ago
Size: 1,634 bytes
 

Contents

Class file image Download
<section>
  <header>
    <h1>Bites (Nibble plugins)</h1>
  </header>
  <p>
    In this area you can awaken and put to sleep(activate and deactivate) bites.
    Below are 2 columns, you can move yellow bites between awake and asleep columns to change their state.
    Red Bites cannot be moved as they are nessecary for this Nibble install to function.
  </p>
  <ul id="sortable1" class="droptrue rounded selector" rel="awake">
    <li class="disabled heading">
      <h2>Awake Bites</h2>
      <p>
        Each Bite in the following table is awake, this means that
        this application is making use of these Bites. Drag them
        into the asleep Bites column to send them back to sleep.
      </p>
    </li>
    <? foreach ($awake_bites as $bite): ?>
      <li class="rounded <? if ($bite['id'] == 1)
        echo 
'disabled'?>">
        <input type="hidden" value="<?= $bite['id'?>" />
        <h3 title="<?= $bite['desc'?>"><?= ucfirst($bite['name']) ?></h3>
      </li>
    <? endforeach; ?>
    </ul>
    <ul id="sortable2" class="droptrue rounded selector" rel="asleep">
      <li class="disabled heading">
        <h2>Asleep Bites</h2>
        <p>
          These precious little Bites are sleeping, this means they are not
          being used by your application.  Drag them to the awake Bites
          column to wake them up.
        </p>
      </li>
<? foreach ($asleep_bites as $bite): ?>
        <li class="rounded">
          <input type="hidden" value="<?= $bite['id'?>" />
          <h3 title="<?= $bite['desc'?>"><?= ucfirst($bite['name']) ?></h3>
        </li>
<? endforeach; ?>
  </ul>


</section>