Ejemplo n.º 1
0
<?php

$hooks = array($page, $segment);
echo $messages;
?>
<h3><?php 
echo $speak->shield . ': ' . $page->title;
?>
</h3>
<?php 
if (strpos($config->url_path, '/kill/file:') !== false) {
    ?>
<p><?php 
    echo Cell::strong($folder) . ' ' . Jot::icon('arrow-right') . ' ' . str_replace(DS, ' ' . Jot::icon('arrow-right') . ' ', $path);
    ?>
</p>
<pre><code><?php 
    echo Text::parse(File::open(SHIELD . DS . $folder . DS . $path)->read(), '->encoded_html');
    ?>
</code></pre>
<?php 
} else {
    if ($files) {
        ?>
<ul>
  <?php 
        foreach ($files as $file) {
            ?>
  <li><?php 
            echo $file->path;
            ?>
Ejemplo n.º 2
0
    ?>
  <?php 
} else {
    ?>
  <p><?php 
    echo Config::speak('notify_not_available', $speak->config);
    ?>
</p>
  <?php 
}
?>
  </div>
  <div class="tab-content hidden" id="tab-content-2">
    <p class="about-author">
    <?php 
echo Cell::strong($speak->author . ':') . ' ' . Text::parse($file->author, '->encoded_html');
if (isset($file->url) && $file->url !== '#') {
    ?>
 <?php 
    echo Cell::a($file->url, Jot::icon('external-link-square'), '_blank', array('class' => array('about-url', 'help'), 'title' => $speak->link, 'rel' => 'nofollow'));
    ?>
    <?php 
}
?>
    </p>
    <h3 class="about-title"><?php 
echo $file->title;
if (isset($file->version)) {
    ?>
 <code class="about-version"><?php 
    echo $file->version;
Ejemplo n.º 3
0
            echo '</span>';
            echo '</div>';
        }
        echo '</form>';
    } else {
        include $page->configurator;
    }
} else {
    echo Cell::p(Config::speak('notify_not_available', $speak->config));
}
?>
        </div>
        <div class="tab-content hidden" id="tab-content-1-3">
          <p class="about-author">
          <?php 
echo Cell::strong($speak->author . ':') . ' ' . $page->author;
if (isset($page->url) && $page->url !== '#') {
    ?>
 <?php 
    echo Cell::a($page->url, Jot::icon('external-link-square'), true, array('class' => array('about-url', 'help'), 'title' => $speak->link, 'rel' => 'nofollow'));
    ?>
          <?php 
}
?>
          </p>
          <h3 class="about-title"><?php 
echo $page->title;
if (isset($page->version)) {
    ?>
 <code class="about-version"><?php 
    echo $page->version;
Ejemplo n.º 4
0
    ?>
</td>
      <td class="td-icon"><?php 
    echo Jot::a('destruct', $c_url_kill . $q_path . ($q_path_dir ? '?path=' . Text::parse($q_path_dir, '->encoded_url') : ""), Jot::icon('times'), array('title' => $speak->delete));
    ?>
</td>
    </tr>
    <?php 
} else {
    ?>
    <?php 
    if (!$files) {
        ?>
    <tr>
      <td colspan="3"><?php 
        echo $config->offset !== 1 ? Config::speak('notify_error_not_found') : Cell::strong('..');
        ?>
</td>
      <td class="td-icon"><?php 
        echo Jot::icon('pencil');
        ?>
</td>
      <td class="td-icon"><?php 
        echo Jot::icon('times');
        ?>
</td>
    </tr>
    <?php 
    }
    ?>
    <?php 
Ejemplo n.º 5
0
<?php

echo $messages;
?>
<h3><?php 
echo $speak->shield . ': ' . $the_info['title'];
?>
</h3>
<?php 
if (strpos($config->url_path, '/kill/file:') !== false) {
    ?>
<p><?php 
    echo Cell::strong($the_shield) . ' ' . Jot::icon('arrow-right') . ' ' . str_replace(DS, ' ' . Jot::icon('arrow-right') . ' ', $the_name);
    ?>
</p>
<pre><code><?php 
    echo Text::parse(File::open(SHIELD . DS . $the_shield . DS . $the_name)->read(), '->encoded_html');
    ?>
</code></pre>
<?php 
} else {
    if ($files) {
        ?>
<ul>
  <?php 
        foreach ($files as $file) {
            ?>
  <li><?php 
            echo $file->path;
            ?>
</li>
Ejemplo n.º 6
0
    ?>
</td>
              <td class="td-icon"><?php 
    echo Jot::a('destruct', $asset_url_kill . $q_path . $q_path_parent_, Jot::icon('times'), array('title' => $speak->delete));
    ?>
</td>
            </tr>
            <?php 
} else {
    ?>
            <?php 
    if (!$files) {
        ?>
            <tr>
              <td colspan="3"><?php 
        echo $config->offset !== 1 ? $speak->notify_error_not_found : Cell::strong('..');
        ?>
</td>
              <td class="td-icon"><?php 
        echo Jot::icon('pencil');
        ?>
</td>
              <td class="td-icon"><?php 
        echo Jot::icon('times');
        ?>
</td>
            </tr>
            <?php 
    }
    ?>
            <?php 
Ejemplo n.º 7
0
</a>
    </div>
    <div class="tab-content-area">
      <div class="tab-content" id="tab-content-1-1">
      <?php 
$c_path = SHIELD . DS . $the_shield_folder . DS;
$c_url = $config->manager->slug . '/shield/' . $the_shield_folder;
$c_url_kill = $c_url . '/kill/file:';
$c_url_repair = $c_url . '/repair/file:';
include DECK . DS . 'workers' . DS . 'unit.explorer.1.php';
?>
      </div>
      <div class="tab-content hidden" id="tab-content-1-2">
        <p class="about-author">
        <?php 
echo Cell::strong($speak->author . ':') . ' ' . Text::parse($the_shield_info['author'], '->encoded_html');
if (isset($the_shield_info['url']) && $the_shield_info['url'] !== '#') {
    ?>
 <?php 
    echo Cell::a($the_shield_info['url'], Jot::icon('external-link-square'), '_blank', array('class' => array('about-url', 'help'), 'title' => $speak->link, 'rel' => 'nofollow'));
    ?>
        <?php 
}
?>
        </p>
        <h3 class="about-title"><?php 
echo $the_shield_info['title'];
if (isset($the_shield_info['version'])) {
    ?>
 <code class="about-version"><?php 
    echo $the_shield_info['version'];