• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP get_modules函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中get_modules函数的典型用法代码示例。如果您正苦于以下问题:PHP get_modules函数的具体用法?PHP get_modules怎么用?PHP get_modules使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了get_modules函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: get_modules

function get_modules($path = null, $get_installed = INSTALLED)
{
    global $module_basepath;
    if ($path == null) {
        $path = $module_basepath;
    }
    $results = scandir($path);
    $modules = array();
    $installed_modules = get_installed_modules();
    foreach ($results as $result) {
        if ($result === '.' or $result === '..') {
            continue;
        }
        if (is_dir($path . '/' . $result)) {
            if ($get_installed == INSTALLED && !in_array($result, $installed_modules)) {
                continue;
            } else {
                if ($get_installed == UNINSTALLED && in_array($result, $installed_modules)) {
                    continue;
                }
            }
            $modules = array_merge($modules, get_modules($path . '/' . $result, $get_installed));
            if (file_exists($path . '/' . $result . '/settings/settings.json')) {
                array_push($modules, str_replace($module_basepath . '/', '', $path . '/' . $result));
            }
        }
    }
    return $modules;
}
开发者ID:ZerGabriel,项目名称:OpenFANTASY,代码行数:29,代码来源:admin_functions.php


示例2: module_rank_up

 function module_rank_up($id1)
 {
     $list = get_modules();
     foreach ($list as $key => $value) {
         //echo $value['id'].'<br>'.$id1;;
         if ($id1 == $value['id']) {
             $id1_key = $key;
             //echo $key;
         }
     }
     if ($id1_key !== 0) {
         $id2_key = $id1_key - 1;
     }
     $id2 = intval($list[$id2_key]['id']);
     $rank2 = intval($list[$id2_key]['rank']);
     $rank1 = intval($list[$id1_key]['rank']);
     if ($rank1 !== 0 && $rank2 !== 0) {
         $stor = new Storage();
         $stor = $stor->storType(TE_STORTYPE);
         $m = $stor->make('module');
         $m->setProperty('id', $id1);
         $m->upd(array('rank' => $rank2));
         $m->setProperty('id', $id2);
         $m->upd(array('rank' => $rank1));
     }
 }
开发者ID:noisywiz,项目名称:tractor,代码行数:26,代码来源:module_list.php


示例3: __construct

 function __construct()
 {
     parent::__construct();
     __extends($this);
     $this->module = get_modules('filter_namespace', 'pages_editor');
     $this->_before_boot();
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:7,代码来源:library.php


示例4: __construct

 public function __construct($data)
 {
     parent::__construct();
     __extends($this);
     $this->_config();
     $this->data = $data;
     $this->instance = get_instance();
     $this->opened_module = get_core_vars('opened_module');
     $this->data['module'] = get_core_vars('opened_module');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $fileManager = get_modules('filter_namespace', 'tendoo_contents');
     if ($fileManager) {
         include_once MODULES_DIR . $fileManager['encrypted_dir'] . '/utilities.php';
         set_core_vars('fmlib', new tendoo_contents_utility());
         // Loading library
     }
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true);
     $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
     $this->link = MODULES_DIR . $this->opened_module['encrypted_dir'] . '/';
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     // ???
     $this->module_metas =& $this->opened_module;
     // ???
     // $this->load->library( 'GUI' );
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:26,代码来源:backend.php


示例5: __construct

 public function __construct()
 {
     parent::__construct();
     __extends($this);
     $this->cur_module = get_modules('filter_active_namespace', 'blogster');
     $this->encrypted_dir =& $this->cur_module['encrypted_dir'];
     $this->cur_module_dir = $this->cur_module['uri_path'];
     $this->data = array();
     $this->data['cur_module'] =& $this->cur_module;
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:10,代码来源:widget_comments_config.php


示例6: __construct

 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->cur_module = get_modules('filter_active_namespace', 'pages_editor');
     $this->encrypted_dir =& $this->cur_module['encrypted_dir'];
     $this->cur_module_dir = MODULES_DIR . $this->encrypted_dir;
     $this->data = array();
     $this->data['cur_module'] =& $this->cur_module;
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:12,代码来源:show_page_hierarchy_config.php


示例7: __construct

 public function __construct($data)
 {
     parent::__construct();
     __extends($this);
     $this->module = get_modules('filter_namespace', 'blogster');
     $this->load->library('tendoo_admin', null, 'admin');
     if (defined('SCRIPT_CONTEXT')) {
         if (SCRIPT_CONTEXT == 'ADMIN') {
             $this->admin_context();
             // get_instance()->tendoo_admin->system_not('2 Nouveaux commentaires disponibles', 'Deux nouveaux commentaires sont dans la liste d\'attentes des [Lire la suite] ', '#', '10 mai 2013', null);
         } else {
             $this->public_context();
         }
         $this->both_context();
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:16,代码来源:init.php


示例8: index

 public function index($page = 1, $action = "", $element = '')
 {
     if (isset($_POST['tewi_wid'])) {
         $result = $this->lib->save_widgets($_POST['tewi_wid']);
         if (is_array($result)) {
             $this->instance->notice->push_notice(tendoo_info($result['success'] . ' widget(s) has been created. ' . $result['error'] . ' error(s)'));
         } else {
             $this->instance->notice->push_notice(fetch_notice_output($result));
         }
     }
     $this->instance->file->js_push('jquery-ui-1.10.4.custom.min');
     $this->instance->file->js_url = $this->instance->url->main_url() . $this->data['module_dir'] . '/js/';
     $this->instance->file->js_push('tewi_script');
     $this->instance->file->css_url = $this->instance->url->main_url() . $this->data['module_dir'] . '/css/';
     $this->instance->file->css_push('style');
     $this->data['modules'] = get_modules('filter_active');
     $this->data['finalMod'] = array();
     foreach ($this->data['modules'] as $module) {
         if ($module['has_widget'] == true) {
             $widget_config_file = MODULES_DIR . $module['encrypted_dir'] . '/config/widget_config.php';
             if (file_exists($widget_config_file)) {
                 include_once $widget_config_file;
                 if (isset($WIDGET_CONFIG)) {
                     foreach ($WIDGET_CONFIG as $wc) {
                         $this->data['finalMod'][] = $wc;
                     }
                 }
             }
         }
     }
     $this->data['widgets_left'] = $this->lib->tewi_getWidgets('left');
     $this->data['widgets_right'] = $this->lib->tewi_getWidgets('right');
     $this->data['widgets_bottom'] = $this->lib->tewi_getWidgets('bottom');
     // var_dump($this->data['widgets_right']);
     set_page('title', __('Tendoo - Manage Widgets'));
     $this->data['body'] = $this->load->view($this->data['module_dir'] . '/views/body', $this->data, true, TRUE);
     return $this->data['body'];
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:38,代码来源:backend.php


示例9: __construct

 function __construct()
 {
     $this->here = dirname(__FILE__) . DS . 'gateways' . DS;
     $here = $this->here;
     $shipping_gateways = get_modules('type=shipping_gateway');
     if ($shipping_gateways == false) {
         $shipping_gateways = scan_for_modules("cache_group=modules/global&dir_name={$here}");
     }
     if (!empty($shipping_gateways)) {
         $gw = array();
         foreach ($shipping_gateways as $item) {
             if (!isset($item['gw_file']) and isset($item['module'])) {
                 $item['gw_file'] = $item['module'];
             }
             if (!isset($item['module_base']) and isset($item['module'])) {
                 $item['module_base'] = $item['module'];
             }
             $gw[] = $item;
         }
         $this->modules_list = $gw;
     } else {
         $this->modules_list = $shipping_gateways;
     }
 }
开发者ID:hyrmedia,项目名称:microweber,代码行数:24,代码来源:shipping_api.php


示例10: get_user_modules

<?php

require_once 'check-cas-connection.php';
require_once "class/connection.php";
require_once "includes/functions.php";
//phpCAS::getUser();
//USER
$my_modules = get_user_modules(phpCAS::getUser());
$every_modules = get_modules();
$modules = mix_modules($my_modules, $every_modules);
display_modules($modules);
function display_modules($modules)
{
    ?>
<br>
<br>
<br>
<div class="container">
 <table class="table table-striped">
	 <thead>
		 <tr>
			 <th></th>
		 </tr>
	 </thead>
	 <tbody>
		 <tr>
<?php 
    $n = count($modules);
    $i = 0;
    while ($i < $n) {
        write_module($modules[$i]);
开发者ID:hackathonUTC,项目名称:myutc-app,代码行数:31,代码来源:my-menu-edit.php


示例11: show_school_name

		echo "<script>alert('請登入才能回覆!');history.back();</script>";
		exit();	
	}*/
	blog_news_add_update();	
}


$smarty = new Smarty;
$smarty->compile_dir ='../templates_c';
$smarty->assign('lang_arr',$_LANG);
#獲取網站基本信息
$get_web_basic_info=get_web_basic_info();
$smarty->assign('web_basic_info',get_web_basic_info());
#獲取佈局模組
//check_limit();#檢驗訪問權限
$Modules=get_modules("left_modules",$layout_id=0);
$smarty->assign('modules',$Modules);
if($_REQUEST['type']=='detail'){
	$smarty->assign('list_data',show_data_all());
}else{
	$smarty->assign('list_data',show_data());
}
$smarty->assign('list_data2',show_school_name());
$smarty->assign('top_menu',get_top_menu());#top單級選單
$smarty->assign('top_multiple_menu_module',get_multiple_menu());#top多級選單
$smarty->assign('marquee_js',get_marquee_modules());#獲取跑馬燈js



//$smarty->assign('nav',get_multiple_menu_nav($info_p_id));
function show_school_name(){
开发者ID:Encheng,项目名称:2015-8-20first,代码行数:31,代码来源:new_admin_zipingbiao.php


示例12: checkModuleActive

function checkModuleActive($module)
{
    $adb = PearDatabase::getInstance();
    $log = vglobal('log');
    $isactive = false;
    $modules = get_modules(true);
    foreach ($modules as $key => $value) {
        if (strcmp($module, $value['name']) == 0) {
            $isactive = true;
            break;
        }
    }
    return $isactive;
}
开发者ID:JeRRimix,项目名称:YetiForceCRM,代码行数:14,代码来源:yetiportal.php


示例13: dirname

<?php

die;
require_once dirname(dirname(__FILE__)) . '/config.php';
// gets the module list for this installation
$ret = new stdClass();
$ret->ProgVersion = ProgramVersion;
$ret->DbVersion = GetParameter('DBUpdate');
$ret->ProgRelease = ProgramRelease;
$ret->Action = 'list';
$ret->email = empty($_POST['email']) ? '' : $_POST['email'];
$ret->Modules = get_modules();
$ret->Sets = get_sets();
$postdata = http_build_query(array('Json' => gzcompress(serialize($Old))));
// get the online modules
$opts = array('http' => array('method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => $postdata));
$context = stream_context_create($opts);
$stream = fopen('http://ianseo.net/Ianseo/Modules.php', 'r', false, $context);
$tmp = stream_get_contents($stream);
if (!($NewIanseo = unserialize(gzuncompress($tmp)))) {
    if ($tmp == 'NothingToDo') {
        echo get_text('Done', 'Install');
    } else {
        echo get_text('Failed', 'Install');
    }
    echo '</div>';
    echo '<div><br/>' . get_text($tmp, 'Install') . '</div>';
    include 'Common/Templates/tail.php';
    die;
}
fclose($stream);
开发者ID:brian-nelson,项目名称:ianseo,代码行数:31,代码来源:index.php


示例14: CGUI_VALIDATOR_NOEMPTY

   case 'edit':
       $command_id = $_GET['command'];
       $GUI->cmdmenu->AddItem("Удалить", "?section=admin&subsection=3&action=del&command=" . $command_id);
       $ypos = 0;
       $frm = $GUI->Form("Редактировать команду №" . $command_id, 300, 0);
       $frm->OnExecute = "edit_command";
       $t = $frm->Hidden($command_id);
       $t->linkName = 'id';
       $command_info = Command::find($command_id);
       $frm->Label("Имя", 10, $ypos += 20);
       $t = $frm->Text(25, $ypos += 20, 250, $command_info['name']);
       $t->AddValidator(new CGUI_VALIDATOR_NOEMPTY());
       $t->linkName = "name";
       $ypos += 30;
       $frm->Label("Родительский модуль", 10, $ypos += 20);
       $ss = $frm->Select(25, $ypos += 20, 250, get_modules(true), '', $command_info['module_id']);
       $ss->AddValidator(new CGUI_VALIDATOR_NOZERO());
       $ss->linkName = "module_id";
       $ypos += 30;
       $jq = <<<jQ
 var module_id = jQuery(this).val();
 var field_number = parseInt(jQuery(this).attr('id').substr(18, 1));
 jQuery.ajax({
   type:"POST",
   url:'/modules/admin/ajax.php',
   cache:false,
   dataType:'json',
   data:{action:'get_submodules', module_id:module_id},
   success:function(result) {
     var options = '';
     jQuery.each(result, function(index, value) {
开发者ID:yonkon,项目名称:diplom,代码行数:31,代码来源:commands.php


示例15: extraire_module_sumary

function extraire_module_sumary($baliza)
{
    if (strpos($baliza, '</block>')) {
        $baliza = str_replace("<br class='autobr' />", "", $baliza);
        $block_list = explode('</block>', $baliza);
        $return = "";
        for ($i = 0; $i < count($block_list) - 1; $i++) {
            $block = get_block($block_list[$i]);
            // $return .= '('.$i.') '.$block['class'];
            $modules = get_modules($block['content']);
            // $return .= ' - num modules:'.count($modules).' ';
            $n_audio = 0;
            $n_image = 0;
            $n_text = 0;
            $n_link = 0;
            $t = "\t\t\t\t\t\t";
            for ($u = 0; $u < count($modules); $u++) {
                // $return .= $modules[$u]['class'].' ';
                switch ($modules[$u]['class']) {
                    case "text":
                        $return .= "<p>" . $modules[$u]['content'] . "</p>\n";
                        $n_text++;
                        break;
                }
            }
        }
        return $return;
    } else {
        return $baliza;
    }
}
开发者ID:horaciogd,项目名称:CGeomap,代码行数:31,代码来源:mes_fonctions.php


示例16: get_modules

                                        widget-name="<?php 
        echo $f['WIDGET_NAME'];
        ?>
">
                                        <header class="panel-heading text-center">
                                            <ul class="nav nav-pills pull-right">
                                                <li><a class="panel-toggle text-muted" add_widget href="javascript:void(0)"><i class="fa fa-share"></i></a></li>
                                            </ul>
                                            <ul class="toggle-section nav nav-pills pull-left"></ul>
                                            <?php 
        echo $f['WIDGET_NAME'];
        ?>
                                        </header>
                                        <?php 
        if (array_key_exists('WIDGET_MORE', $f)) {
            $cur_module = get_modules('filter_active_namespace', $f['MODULE_NAMESPACE']);
            if ($cur_module) {
                $module_dir = MODULES_DIR . $cur_module['encrypted_dir'];
                if (is_file($module_dir . $f['WIDGET_MORE'])) {
                    include_once $module_dir . $f['WIDGET_MORE'];
                    if (class_exists($f['WIDGET_NAMESPACE'] . '_' . $f['MODULE_NAMESPACE'] . '_moreClass')) {
                        eval('$WMORE = new ' . $f['WIDGET_NAMESPACE'] . '_' . $f['MODULE_NAMESPACE'] . '_moreClass;');
                        $hidden_content = $WMORE->get();
                        ?>
                                                        <div widget-hidden_content style="display:none">
                                                            <?php 
                        echo $hidden_content;
                        ?>
                                                        </div>
                                                        <?php 
                    }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:31,代码来源:body.php


示例17: get_role_rights

function get_role_rights($role_id)
{
    $modules = get_modules();
    $module_rights = db::get_single_values_array("SELECT module_id FROM " . TABLE_ROLES_TO_MODULES . " WHERE role_id = " . $role_id);
    $submodule_rights = db::get_single_values_array("SELECT submodule_id FROM " . TABLE_ROLES_TO_SUBMODULES . " WHERE role_id = " . $role_id);
    $command_rights = db::get_single_values_array("SELECT command_id FROM " . TABLE_ROLES_TO_COMMANDS . " WHERE role_id = " . $role_id);
    $column_rights = db::get_single_values_array("SELECT column_id FROM " . TABLE_ROLES_TO_COLUMNS . " WHERE role_id = " . $role_id);
    $result = array();
    $result[] = '<table style="width: 100%;">';
    if (count($modules)) {
        foreach ($modules as $module_id => $module_name) {
            $result[] = '<tr style="background-color: #d3d3d3;">';
            $result[] = '<td style="width: 100px;">';
            $result[] = '<i>модуль</i>';
            $result[] = '</td>';
            $result[] = '<td colspan="100">';
            //      $result[] = '<div class="module">';
            $result[] = '<div class="module_name"><label for="module[' . $module_id . ']">' . $module_name . '</label></div>';
            $result[] = '<input type="checkbox" ' . (in_array($module_id, $module_rights) ? 'checked="checked"' : '') . ' name="module[' . $module_id . ']" class="module_checkbox" id="module[' . $module_id . ']">';
            $result[] = '</td>';
            //      $result[] = '<div class="clear"></div>';
            $result[] = '</tr>';
            $submodules = get_submodules($module_id);
            if (count($submodules)) {
                foreach ($submodules as $submodule_id => $submodule_name) {
                    $result[] = '<tr>';
                    $result[] = '<td>';
                    $result[] = '</td>';
                    $result[] = '<td style="width: 100px;">';
                    $result[] = '<i>подмодуль</i>';
                    $result[] = '</td>';
                    $result[] = '<td colspan="2">';
                    //          $result[] = '<div class="submodule">';
                    $result[] = '<div class="submodule_name"><label for="submodule[' . $submodule_id . ']">' . $submodule_name . '</label></div>';
                    $result[] = '<input type="checkbox" ' . (in_array($submodule_id, $submodule_rights) ? 'checked="checked"' : '') . ' name="submodule[' . $submodule_id . ']" class="submodule_checkbox" id="submodule[' . $submodule_id . ']">';
                    //          $result[] = '</div>';
                    $result[] = '</tr>';
                    $commands = get_commands($submodule_id);
                    if (count($commands)) {
                        $result[] = '<tr>';
                        $result[] = '<td>';
                        $result[] = '</td>';
                        $result[] = '<td>';
                        $result[] = '</td>';
                        $result[] = '<td style="width: 100px;">';
                        $result[] = '<i>команды</i>';
                        $result[] = '</td>';
                        $result[] = '<td>';
                        foreach ($commands as $command_id => $command_name) {
                            $result[] = '<div class="command_wrap">';
                            $result[] = '<div class="command_name"><label for="command[' . $command_id . ']">' . $command_name . '</label></div>';
                            $result[] = '<input type="checkbox" ' . (in_array($command_id, $command_rights) ? 'checked="checked"' : '') . ' name="command[' . $command_id . ']" class="command_checkbox" id="command[' . $command_id . ']">';
                            $result[] = '</div>';
                        }
                        $result[] = '</td>';
                        $result[] = '</tr>';
                    }
                    $columns = get_columns($submodule_id);
                    if (count($columns)) {
                        $result[] = '<tr style="background-color: lightCyan;">';
                        $result[] = '<td>';
                        $result[] = '</td>';
                        $result[] = '<td>';
                        $result[] = '</td>';
                        $result[] = '<td style="width: 100px;">';
                        $result[] = '<i>колонки</i>';
                        $result[] = '</td>';
                        $result[] = '<td>';
                        foreach ($columns as $column_id => $column_name) {
                            $result[] = '<div class="column_wrap">';
                            $result[] = '<div class="column_name"><label for="column[' . $column_id . ']">' . $column_name . '</label></div>';
                            $result[] = '<input type="checkbox" ' . (in_array($column_id, $column_rights) ? 'checked="checked"' : '') . ' name="column[' . $column_id . ']" class="column_checkbox" id="column[' . $column_id . ']">';
                            $result[] = '</div>';
                        }
                        $result[] = '</td>';
                        $result[] = '</tr>';
                    }
                    $result[] = '</td>';
                }
                //        $result[] = '</tr>';
            }
            //      $result[] = '</div>';
            //      $result[] = '</tr>';
            //      $result[] = '<div class="clear"></div>';
        }
    }
    $result[] = '</table>';
    return join($result, "\n");
}
开发者ID:yonkon,项目名称:diplom,代码行数:89,代码来源:ajax.php


示例18: dirname

    @media (max-width: 767px) {
        .otab {
            padding-left: 10px;
        }
    }

    .payment-tab.active {
        background-color: #111;
        border-color: #111;
        color: white;
    }
</style>
<?php 
$here = dirname(__FILE__) . DS . 'gateways' . DS;
$payment_modules = get_modules('type=payment_gateway');
?>

<div class="mw-ui-row">
    <div class="mw-ui-col">
        <div class="mw-ui-col-container">
            <div class="mw-set-payment-options">
                <div
                    style="overflow: hidden;position: relative;padding: 30px 0 0;">
                    <div class="mw-ui-btn-nav"><a
                            class="mw-ui-btn payment-tab active"
                            href="javascript:;">
                            <?php 
_e("Payments");
?>
                        </a>  <a class="mw-ui-btn payment-tab"
开发者ID:microweber,项目名称:microweber,代码行数:30,代码来源:admin.php


示例19: app_step

 public function app_step($step)
 {
     $this->load->library('tendoo');
     // Refreshing Tendoo Clss
     $this->load->library('tendoo_admin');
     // loading Admin Class
     $this->load->library('roles');
     // loading Admin Class
     // Base config, creating tables and saving firt name
     if ($step == 1) {
         // Working 100%
         if ($this->createTables() && get_instance()->meta_datas->set('site_name', $this->input->post('site_name'), 'from_install_interface', 'system')) {
             // Get all module and exec sql queries
             load_modules();
             $modules = get_modules('all');
             if ($modules) {
                 foreach ($modules as $namespace => $app_datas) {
                     // Activate module
                     active_module($namespace);
                     // Executing Sql queries
                     if (is_array($queries = riake('sql_queries', $app_datas))) {
                         foreach ($queries as $sql_line) {
                             get_db('from_install_interface')->query($sql_line);
                         }
                     }
                     // Registering Actions : Deprecated
                     /**
                     						if( is_array( $actions	=	riake ( 'declared_actions' , $app_datas ) ) ){
                     							foreach( $actions  as $_action ){
                     								if( $this->tendoo_admin->_action_keys_is_allowed( array_keys( $_action ) ) ){
                     									foreach( $_action as $key => $value ){
                     										$$key	=	$value;
                     									}
                     									$this->tendoo_admin->createModuleAction($mod_namespace,$action,$action_name,$action_description);
                     								}
                     							}
                     						}
                     						**/
                 }
             }
             // Get unique available theme
             load_themes();
             $themes = get_themes('all');
             // Creating Config File
             $this->createConfigFile();
             // Setting Logo URL
             get_instance()->meta_datas->set('site_logo', img_url('start_logo.png'));
             // Creating Controllers
             // Home
             $this->tendoo_admin->controller("Accueil", "home", "tim", "Accueil - " . get_meta('site_name'), "Un site Web utilisant Tendoo.", "TRUE", $obj = 'create', $id = '', $visible = 'TRUE', $childOf = 'none', $page_link = '', $keywords = 'tendoo, cms');
             // Blog
             $this->tendoo_admin->controller("Blog", "blog", "blogster", "Blog - " . get_meta('site_name'), "Un site Web utilisant Tendoo.", "FALSE", $obj = 'create', $id = '', $visible = 'TRUE', $childOf = 'none', $page_link = '', $keywords = 'tendoo, cms, blog');
             // Static
             $this->tendoo_admin->controller("Nouvelle page", "nouvelle-page", "pages_editor", "Nouvelle page", "Un site Web utilisant Tendoo.", "FALSE", $obj = 'create', $id = '', $visible = 'TRUE', $childOf = 'none', $page_link = '', $keywords = 'tendoo, cms, new page');
             // Setting Theme Config
             get_instance()->meta_datas->set('flaty_theme_settings', '{"slider":{"api_limit":"10","declared_apis":"blogster_get_blog_post","declared_item":"slider"},"testimony":{"testimony_big_title":"Tendoo is also","testimony_big_description":"Many features, more themes and a growing community. Why should you use Tendoo ?","testimony_content":{"level":{"0":"I find this project more accomplished.","1":"i wasn\'t expecting such result with huge work done by contributors.","2":"I hope this project will keep going ahead. I\'m about to contribute as i can, with issues submission.","3":"We worked hard to reach this result, and we\'re proud. We intend to offer a real free web application for both web site and web applications."}},"testimony_authors":{"level":{"0":"B. Jersyer","1":"Afromaster","2":"Lucas Ferry","3":"Sergey Rakovsky"}}},"list_services":{"section_text":"","section_textarea":"","title":{"level":{"0":"Follow us on Facebook","1":"Follow us on Twitter","2":"Google+"}},"link":{"level":{"0":"http:\\/\\/facebook.com\\/tendoocms","1":"http:\\/\\/twitter.com\\/","2":"http:\\/\\/plus.google.com"}},"description":{"level":{"0":"All news and updates details are available on facebook, the official website and sourceforge.","1":"We are also on Twitter. Don\'t miss our tweets..","2":"Don\'t miss our Google+ updates. Add us to your circles."}},"icons":{"level":{"0":"facebook","1":"twitter","2":"google-plus"}}}}');
             // Eva theme settings
             get_instance()->meta_datas->set('eva_theme_settings', '{"contact_datas":{"contact_description_title":"A propos de nous","contact_description_content":"Tendoo est un logiciel Open-Source disponible sur <a href=\\"http:\\/\\/github.com\\/Blair2004\\/tendoo-cms\\">github<\\/a> et t\\u00e9l\\u00e9chargeable gratuitement. Nous esp\\u00e9rons qu\'il saura vous s\\u00e9duire, mais surtout nous sommes en attente de vos avis. N\'h\\u00e9sitez pas \\u00e0 \\"Fork\\" le repertoire.","contact_details_title":"Contactez-nous","contact_details_content":"Suivez nos actualit\\u00e9s sur les r\\u00e9seaux sociaux ou sur <a href=\\"http:\\/\\/tendoo.org\\">tendoo.org<\\/a>.","social_feeds_icon":{"level":{"0":"map-marker","1":"envelope"}},"social_feeds_title":{"level":{"0":"Adresse","1":"Mail"}},"social_feeds_value":{"level":{"0":"World, Earth","1":"[email protected]"}}},"theme_color_and_style":{"background":"red","box_style":"fullwidth","bg_image":"black_mamba"},"social_feeds":{"social_links":{"level":{"0":"https:\\/\\/www.facebook.com\\/tendoocms"}},"social_icons":{"level":{"0":"facebook"}}},"list_services":{"title":{"level":{"0":"Plusieurs fonctionnalit\\u00e9s","1":"Une performance am\\u00e9lior\\u00e9","2":"Devenir un contributeur","3":"Administration","4":"Statistiques & Utilisateurs","5":"Suivez-nous sur Facebook"}},"link":{"level":{"0":"#","1":"#","2":"http:\\/\\/github.com\\/Blair2004\\/tendoo-cms","3":"#","4":"#","5":"https:\\/\\/www.facebook.com\\/tendoocms"}},"description":{"level":{"0":"La version 1.3 de Tendoo propose plusieurs fonctionnalit\\u00e9s. C\'est assur\\u00e9ment la version la plus stable de Tendoo. Avec un code revisit\\u00e9 et corrig\\u00e9.","1":"Le syst\\u00e8me a \\u00e9t\\u00e9 modifi\\u00e9. La gestion des th\\u00e8mes et des modules \\u00e0 \\u00e9t\\u00e9 am\\u00e9lior\\u00e9, ainsi que leur gestion. D\\u00e9couvrez des th\\u00e8mes beaucoup plus beau mais surtout \\"Responsive\\".","2":"Tendoo est un logiciel gratuit disponible sur Github. Vous pouvez apporter votre contribution comme vous le souhaitez depuis le r\\u00e9pertoire officiel. \\"Forkez-nous\\" sur Gihub.","3":"D\\u00e9couvrez un panneau d\'administration pas comme les autres. Avec des zones de widgets personnalisables, qui peuvent \\u00eatre administr\\u00e9s depuis les param\\u00e8tres.","4":"Tendoo mets des outils d\'analyse et de statistiques \\u00e0 la disposition de ses utilisateurs. Am\\u00e9liorer votre strat\\u00e9gie en fonction de vos performances.","5":"Suivez nos actualit\\u00e9s directement sur Facebook et ne manquez pas \\u00e0 l\'occasion de donner votre avis. Vous resterez connect\\u00e9 aux nouveaut\\u00e9s sur Tendoo."}},"icons":{"level":{"0":"gift","1":"thumbs-o-up","2":"github-alt","3":"home","4":"group","5":"facebook"}}},"recents_works":{"title":{"level":{"0":"Ceci est un projet de feu","1":"Cold Bold","2":"","3":"","4":"","5":"Dark Cat","6":"Children"}},"category":{"level":{"0":"Fire Bold","1":"une cat\\u00e9gorie","2":"","3":"","4":"","5":"Dark Cat","6":"Les enfants"}},"full_image":{"level":{"0":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","1":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","2":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","3":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","4":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","5":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","6":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg"}},"thumb_image":{"level":{"0":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","1":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","2":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","3":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","4":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","5":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg","6":"http:\\/\\/127.0.0.1\\/tendoo-cms\\/tendoo-modules\\/app_tendoo_contents_620140902154910PqALJ6NSaBKqWW53ryP1t\\/content_repository\\/tendoo_content_5201409062005303213383.jpg"}},"link":{"level":{"0":"#","1":"#","2":"","3":"","4":"","5":"#","6":"#Les enfants"}},"global_title":"Nos projets"},"feature_list":{"feature_list_title":"Quoi de neuf avec Tendoo 1.3","feature_list_description":"D\\u00e9couvrez une version beaucoup plus stable que les pr\\u00e9c\\u00e9dentes. Nous avons longuement travailler pour proposer une application \\u00e9pur\\u00e9 et simple \\u00e0 prendre en main, avec 3 th\\u00e8mes disponibles par d\\u00e9faut. Tendoo c\'est \\u00e9galement.","feature_list_loop_title":{"level":{"0":"Une application web robuste","1":"Un CMS pas comme les autres","2":"Plein de fonctionnalit\\u00e9 et de services"}},"feature_list_loop_link":{"level":{"0":"#","1":"#","2":"#"}},"icons":{"level":{"0":"thumbs-o-up","1":"rocket","2":"gift"}}},"testimonials":{"feature_list_title":"Nos t\\u00e9moignages","testimonial_author":{"level":{"0":"John Doe","1":"Sacha"}},"testimonial_author_subinfo&q 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP get_monday_before函数代码示例发布时间:2022-05-15
下一篇:
PHP get_module_zone函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap