コード例 #1
0
ファイル: index.php プロジェクト: hotarucms/hotarucms
/**
 * Step 3 of upgrade - shows completion.
 */
function upgrade_plugins($h)
{
    //$h = new \Libs\Hotaru();
    $plugman = new \Libs\PluginManagement();
    $plugman->refreshPluginOrder($h);
    $plugman->sortPluginHooks($h);
    template($h, 'upgrade/upgrade_plugins.php');
    //send feedback report
    $systeminfo = new \Libs\SystemInfo();
    $systeminfo->hotaru_feedback($h);
    $systeminfo->plugin_version_getAll($h);
}
コード例 #2
0
<?php

$search = $h->cage->post->testAlnumLines('plugin_search');
$sysinfo = new \Libs\SystemInfo();
if ($search) {
    $plugins = $sysinfo->pluginSearch($h, $search);
} else {
    $tags = $sysinfo->pluginTagCloud($h, 20);
    $plugins = null;
}
//print_r($tags);
?>


<div id ="plugin_search_form" style="margin-top:10px;">
    <?php 
if (1 == 0) {
    ?>
    <form name='plugin_search_form' class='form-inline text-right' action='<?php 
    echo SITEURL;
    ?>
admin_index.php?page=plugin_search#tab_search' method='post'>
	
		<input id='admin_plugin_search' type='text' name='plugin_search' value='<?php 
    echo $search;
    ?>
' /></td>
		<input id='admin_plugin_search_button' class='btn btn-primary' type='submit' value='<?php 
    echo $h->lang('admin_theme_plugin_search_submit');
    ?>
'  /></td>
コード例 #3
0
ファイル: new.php プロジェクト: hotarucms/hotarucms
 * Hotaru CMS is distributed in the hope that it will be useful, but WITHOUT 
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
 * FITNESS FOR A PARTICULAR PURPOSE. 
 *
 * You should have received a copy of the GNU General Public License along 
 * with Hotaru CMS. If not, see http://www.gnu.org/licenses/.
 * 
 * @category  Content Management System
 * @package   HotaruCMS
 * @author    Hotaru CMS Team
 * @copyright Copyright (c) 2009 - 2013, Hotaru CMS
 * @license   http://www.gnu.org/copyleft/gpl.html GNU General Public License
 * @link      http://www.hotarucms.org/
 */
$search = $h->cage->post->testAlnumLines('plugin_search');
$sysinfo = new \Libs\SystemInfo();
if ($search) {
    $plugins = $sysinfo->themeSearch($h, $search);
} else {
    $tags = $sysinfo->themeTagCloud($h, 40);
    $plugins = null;
}
?>

<div id ="plugin_search_form" style="margin-top:10px;">
    <?php 
if (1 == 0) {
    ?>
    <form name='plugin_search_form' class='form-inline text-right' action='<?php 
    echo SITEURL;
    ?>