예제 #1
0
    die;
}
?>
<h2>WP Pusher Plugins</h2>

<hr>
<br>

<div class="theme-browser rendered">
    <div class="themes">
        <?php 
foreach ($plugins as $plugin) {
    ?>
        <div class="theme wppusher-package" tabindex="0">
            <h3 class="theme-name repo-name"><i class="fa <?php 
    echo getHostIcon($plugin->host);
    ?>
"></i>&nbsp; <?php 
    echo $plugin->repository;
    ?>
</h3>
            <div class="theme-screenshot package-info">
                <div class="content">
                    <h3><?php 
    echo $plugin->name;
    ?>
</h3>
                    <p><i class="fa fa-code-fork"></i> Branch: <code><?php 
    echo $plugin->repository->getBranch();
    ?>
</code></p>
예제 #2
0
<?php

// If this file is called directly, abort.
if (!defined('WPINC')) {
    die;
}
?>
<h2>Edit <?php 
echo $theme->name;
?>
</h2>
<hr>
<h3>
    <i class="fa <?php 
echo getHostIcon($theme->host);
?>
"></i>&nbsp;
    <a href="<?php 
echo getHostBaseUrl($theme->host) . $theme->repository;
?>
" target="_blank">
        <?php 
echo $theme->repository;
?>
    </a>
</h3>

<br>

<form action="" method="POST">
    <?php