public function get_sublevel($cname, $level, $showHidden = TRUE, $getModuleData = TRUE)
 {
     echo tendoo_warning('Tendoo::get_sublevel(...) est une méthode déprécié, Utiliser Tendoo::get(...) à la plage');
     if ($level <= $this->levelLimit) {
         if ($showHidden == FALSE) {
             get_db()->where('PAGE_VISIBLE', 'TRUE');
         }
         get_db()->select('*')->where('PAGE_PARENT', $cname)->order_by('PAGE_POSITION', 'asc')->from('tendoo_controllers');
         $query = get_db()->get();
         if ($query->num_rows > 0) {
             $array = array();
             foreach ($query->result() as $obj) {
                 $array[] = array('ID' => $obj->ID, 'PAGE_CNAME' => $obj->PAGE_CNAME, 'PAGE_PARENT' => $obj->PAGE_PARENT, 'PAGE_NAMES' => $obj->PAGE_NAMES, 'PAGE_MODULES' => $obj->PAGE_MODULES == '#LINK#' ? $obj->PAGE_MODULES : $this->getSpeModuleByNamespace($obj->PAGE_MODULES), 'PAGE_TITLE' => $obj->PAGE_TITLE, 'PAGE_DESCRIPTION' => $obj->PAGE_DESCRIPTION, 'PAGE_MAIN' => $obj->PAGE_MAIN, 'PAGE_VISIBLE' => $obj->PAGE_VISIBLE, 'PAGE_CHILDS' => $this->get_sublevel($obj->ID, $level + 1), 'PAGE_LINK' => $obj->PAGE_LINK, 'PAGE_POSITION' => $obj->PAGE_POSITION);
             }
             return $array;
         }
     }
     return false;
 }
    function fetch_notice_output($e, $extends_msg = '', $sort = FALSE)
    {
        if ($e === TRUE) {
            ?>
<style>
			.notice_sorter
			{
				border:solid 1px #999;
				color:#333;
			}
			.notice_sorter thead td
			{
				padding:2px 10px;
				text-align:center;
				background:#EEE;
				background:-moz-linear-gradient(top,#EEE,#CCC);
				border:solid 1px #999;
			}
			.notice_sorter tbody td
			{
				padding:2px 10px;
				text-align:justify;
				background:#FFF;
				border:solid 1px #999;
			}
			</style><table class="notice_sorter"><thead>
            <style>
			.notice_sorter
			{
				border:solid 1px #999;
				color:#333;
			}
			.notice_sorter thead td
			{
				padding:2px 10px;
				text-align:center;
				background:#EEE;
				background:-moz-linear-gradient(top,#EEE,#CCC);
				border:solid 1px #999;
			}
			.notice_sorter tbody td
			{
				padding:2px 10px;
				text-align:justify;
				background:#FFF;
				border:solid 1px #999;
			}
			</style>
            <tr><td>Index</td><td>Code</td><td>Description</td></tr></thead><tbody><?php 
            $index = 1;
            foreach ($__ as $k => $v) {
                ?>
<tr><td><?php 
                echo $index;
                ?>
</td><td><?php 
                echo $k;
                ?>
</td><td><?php 
                echo strip_tags($v);
                ?>
</td></tr><?php 
                $index++;
            }
            ?>
</tbody></table><?php 
        } else {
            if (is_string($e)) {
                $notices = force_array(get_core_vars('tendoo_notices'));
                if (in_array($e, $notices) || array_key_exists($e, $notices)) {
                    return $notices[$e];
                } else {
                    if (isset($notices)) {
                        if (array_key_exists($e, $notices)) {
                            return $notices[$e];
                        } else {
                            return tendoo_warning(__(sprintf('"%s" is not a valid error code', $e)));
                        }
                    } else {
                        if ($e != '' && strlen($e) <= 50) {
                            return tendoo_warning(__(sprintf('"%s" is not a valid error code', $e)));
                        } else {
                            return $e;
                        }
                    }
                }
            }
            return false;
        }
    }
 public function paginate($elpp, $ttel, $pagestyle, $classOn, $classOff, $current_page, $baselink, $ajaxis_link = null)
 {
     tendoo_warning('<strong>tendoo::paginate</strong> est désormais déprécié, utilisez "<strong>doPaginate</strong>" à la place.');
     /*// Gloabl ressources Control*/
     if (!is_finite($elpp)) {
         echo '<strong>$elpp</strong> is not finite';
         return;
     } elseif (!is_finite($pagestyle)) {
         echo '<strong>$pagestyle</strong> is not finite';
         return;
     } elseif (!is_finite($current_page)) {
         echo '<strong>$current_page</strong> is not finite';
         return;
     }
     $more = array();
     if ($pagestyle == 1) {
         $ttpage = ceil($ttel / $elpp);
         if (($current_page > $ttpage || $current_page < 1) && $ttel > 0) {
             return array('', null, null, false, $more);
         }
         $firstoshow = ($current_page - 1) * $elpp;
         /*// FTS*/
         if ($current_page < 5) {
             $fts = 1;
         } elseif ($current_page >= 5) {
             $fts = $current_page - 4;
         }
         /*// LTS*/
         if ($current_page + 4 <= $ttpage) {
             $lts = $current_page + 4;
             /*elseif($ttpage > 5):$lts = $ttpage - $current_page;*/
         } else {
             $lts = $ttpage;
         }
         $content = null;
         for ($i = $fts; $i <= $lts; $i++) {
             $more[] = array('link' => $baselink . $i, 'text' => $i, 'state' => (int) $i === (int) $current_page ? $classOn : $classOff);
             static $content = 'Page :';
             if ($i == $fts && $i != 1) {
                 $content = $content . '<span style="margin:0 2px">...</span>';
             }
             if ($current_page == $i) {
                 $content = $content . '<span style="margin:0 2px">' . $i . '</span>';
             } else {
                 if ($ajaxis_link != null) {
                     $content = $content . '<a ajaxis_link="' . $ajaxis_link . $i . '" href="' . $baselink . $i . '" class="' . $classOn . '" style="margin:0 2px" title="Aller &agrave; la page ' . $i . '">' . $i . '</a>';
                 } else {
                     $content = $content . '<a href="' . $baselink . $i . '" class="' . $classOn . '" style="margin:0 2px" title="Aller &agrave; la page ' . $i . '">' . $i . '</a>';
                 }
             }
             if ($i == $lts && $i != $ttpage) {
                 $content = $content . '<span style="margin:0 2px">...</span>';
             }
         }
         return array($content, $firstoshow, $elpp, true, $more);
     } else {
         if ($pagestyle == 2) {
             $ttpage = ceil($ttel / $elpp);
             if ($current_page > $ttpage || $current_page < 1) {
                 return array('', null, null, false);
             }
             $firstoshow = ($current_page - 1) * $elpp;
             if ($current_page == 1) {
                 $content['Precedent'] = '<a class="' . $classOff . '">Pr&eacute;c&eacute;dent</a>';
             } else {
                 if ($current_page > 1) {
                     if ($ajaxis_link != null) {
                         $content['Precedent'] = '<a ajaxis_link="' . $ajaxis_link . ($current_page - 1) . '" href="' . $baselink . ($current_page - 1) . '" class="' . $classOn . '">Pr&eacute;c&eacute;dent</a>';
                     } else {
                         $content['Precedent'] = '<a href="' . $baselink . ($current_page - 1) . '" class="' . $classOn . '">Pr&eacute;c&eacute;dent</a>';
                     }
                 }
             }
             if ($current_page == $ttpage) {
                 $content['Suivant'] = '<a class="' . $classOff . '">Suivant</a>';
             } else {
                 if ($current_page < $ttpage) {
                     if ($ajaxis_link != null) {
                         $content['Suivant'] = '<a ajaxis_link="' . $ajaxis_link . ($current_page + 1) . '" class="' . $classOn . '" href="' . $baselink . ($current_page + 1) . '">Suivant</a>';
                     } else {
                         $content['Suivant'] = '<a class="' . $classOn . '" href="' . $baselink . ($current_page + 1) . '">Suivant</a>';
                     }
                 }
             }
             /*// Debug*/
             /*echo 'Frist To Show: '.$fts.'<br>';
             		echo 'Current Page: '.$current_page.'<br>';
             		echo 'Last To Show: '.$lts.'<br>';*/
             return array($content, $firstoshow, $elpp, true);
         }
     }
 }
Exemple #4
0
                    </div>
                </div>
            </header>
            <section class="scrollable">
                <div class="wrapper">
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="panel">
                                <div class="panel-heading">
                                    <?php 
_e('Create manually a sitemap');
?>
                                </div>
                                <div class="panel-body">
                                    <?php 
echo tendoo_warning(__('Please make sure you know what you\'re doing.'));
?>
                                    <form fjax method="POST" action="<?php 
echo $this->instance->url->site_url(array('admin', 'ajax', 'sm_manual'));
?>
">
                                        <div class="form-group">
                                            <textarea name="sitemap" class="form-control" rows="10"><?php 
echo $getSitemap;
?>
</textarea>
                                        </div>
                                        <div class="form-group">
                                            <input type="submit" class="btn <?php 
echo theme_button_class();
?>
 /**
  * Error String
  *
  * Returns the error messages as a string, wrapped in the error delimiters
  *
  * @access	public
  * @param	string
  * @param	string
  * @return	str
  */
 public function error_string($prefix = '', $suffix = '')
 {
     // No errrors, validation passes!
     if (count($this->_error_array) === 0) {
         return '';
     }
     if ($prefix == '') {
         $prefix = $this->_error_prefix;
     }
     if ($suffix == '') {
         $suffix = $this->_error_suffix;
     }
     // Generate the error string
     $str = '<ul style="">';
     foreach ($this->_error_array as $val) {
         if ($val != '') {
             $str .= "<li>" . $val . "</li>";
         }
     }
     $str .= "</ul>";
     return tendoo_warning($str);
     // We're Using Tendoo So :D
 }
Exemple #6
0
                        <div class="panel-heading">Erreur</div>
                        <div class="panel-body">
                        	<?php 
        echo tendoo_warning('Vous ne pouvez vous faire un message ...');
        ?>
                        </div>
                     </section>
                        <?php 
    }
} else {
    ?>
                     <section class="panel">
                        <div class="panel-heading">Erreur</div>
                        <div class="panel-body">
                        	<?php 
    echo tendoo_warning('Cet utilisateur n\'est pas inscrit pour recevoir une r&eacute;ponse.');
    ?>
                        </div>
                     </section>
                     <?php 
}
?>
                  </div>
               </div>
            </section>
         </section>
      </section>
      <footer class="footer bg-white b-t"> </footer>
      </section>
      </section>
      <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen" data-target="#nav"></a> </section>
Exemple #7
0
                                    </div>
                                    <?php 
}
?>
                                    <input class="btn btn-sm <?php 
echo theme_button_class();
?>
" type="submit" value="<?php 
_e('Save Settings');
?>
"/>
                                </form>
                            </div>
                            <div class="tab-pane active" id="autorisation">
                                <?php 
echo tendoo_warning('Veuillez patienter la notification de r&eacute;ssite, confirmant l\'enregistrement des modifications.');
?>
                                <div class="row">
                                    <div class="col-lg-3">
                                        <h4>
                                            <?php 
_e('Main Settings');
?>
                                        </h4>
                                        <?php 
if (get_instance()->users_global->isSuperAdmin()) {
    ?>
                                        <form fjax method="post" action="<?php 
    echo get_instance()->url->site_url(array('admin', 'ajax', 'toogleStoreAccess'));
    ?>
">
Exemple #8
0
</h4>
                        <p class="block text-muted">
                            <?php 
echo get_page('description');
?>
                        </p>
                    </div>
                </div>
            </header>
            <section class="scrollable">
                <div class="wrapper">
                    <div class="row">
                        <div class="col-lg-12">
                            <?php 
if ($priv_stats == FALSE || count($stats['ordered']) <= 1) {
    echo tendoo_warning('Si aucun graphisme ne s\'affiche, c\'est certainement parce qu\'il n\'y a pas beaucoup de donn&eacute;e &agrave; traiter');
}
output('notice');
?>
                        </div>
                        <div class="col-lg-4">
                            <section class="panel">
                                <header class="panel-heading">Statistiques sur les utilisateurs</header>
                                <div class="panel-body text-center">
                                    <div class="sparkline inline" data-type="pie" data-height="250" data-slice-colors="[<?php 
if (is_array($priv_stats)) {
    array('#cafa5d', '#c159e2', '#a7404a', '#011a89', '#af198b', '#549fbc');
    // aborded
    $array = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'a', 'b', 'c', 'd', 'e', 'f');
    for ($i = 0; $i < count($priv_stats); $i++) {
        $color = "'#" . $array[rand(0, count($array) - 1)] . $array[rand(0, count($array) - 1)] . $array[rand(0, count($array) - 1)] . $array[rand(0, count($array) - 1)] . $array[rand(0, count($array) - 1)] . $array[rand(0, count($array) - 1)] . "'";
 /**
  * default_notices
  *
  * Register default tendoo warning
  *
  * @access private
  * @return void
  **/
 private function default_notices()
 {
     $__['config-file-founded'] = tendoo_info(__('A config file already exists. If you save new data the older will be overwritten'));
     $__['accessDenied'] = $__['access-denied'] = tendoo_warning(__('Access denied. Your access is not granted to this page'));
     $__['installation-failed'] = tendoo_warning(__('Error occured during installation. Please remove tendoo and install it again'));
     $__['no-theme-installed'] = tendoo_warning(__('Error occured. It seems that there isn\'t any theme installed'));
     $__['role-required'] = tendoo_warning(__('Role must be set first before creating user.'));
     $__['controler_created'] = tendoo_success(' Le contr&ocirc;leur &agrave; &eacute;t&eacute; correctement cr&eacute;e.');
     $__['c_name_already_found'] = tendoo_warning('Une autre page poss&egrave;de d&eacute;j&agrave; ce nom comme contr&ocirc;leur, veuillez choisir un autre nom.');
     $__['name_already_found'] = tendoo_warning('Une autre page poss&egrave;de d&eacute;j&agrave; ce nom, veuillez choisir un autre nom.');
     $__['controler_deleted'] = tendoo_success(' Le contr&ocirc;leur &agrave; &eacute;t&eacute; correctement supprim&eacute;.');
     $__['controllers_updated'] = tendoo_success('Les contr&ocirc;leurs ont été correctement mis à jour.');
     $__['incorrectSuperAdminPassword'] = tendoo_warning('Le mot de passe administrateur est incorrect');
     $__['cantHeritFromItSelf'] = tendoo_warning('Ce contr&ocirc;leur ne peut pas &ecirc;tre un sous menu de lui m&ecirc;me. La modification de l\'emplacement &agrave; &eacute;chou&eacute;.');
     $__['cantSendMsgToYou'] = tendoo_warning('Une erreur s\'est produite, vous ne pouvez pas vous envoyer un message.');
     $__['curl_is_not_set'] = tendoo_warning('CURL n\'est pas disponible sur ce site.');
     $__['unkConSpeAsParent'] = tendoo_warning('Le contr&ocirc;leur (Menu), d&eacute;finie comme parent est introuvable. La modification du contr&ocirc;leur &agrave; &eacute;chou&eacute;.');
     $__['module_success_enabled'] = tendoo_success('Le module à correctement été activé.');
     $__['module_success_disabled'] = tendoo_success('Le module à correctement été désactivé.');
     $__['addingActionFailure'] = tendoo_warning('La cr&eacute;ation d\'action pour ce module &agrave; &eacute;chou&eacute;.');
     $__['subMenuLevelReach'] = tendoo_warning('Impossible de cr&eacute;er ou de modifier ce contr&ocirc;leur, la limitation en terme de sous menu &agrave; &eacute;t&eacute; atteinte. Veuillez choisir un autre menu ou en cr&eacute;er un nouveau.');
     $__['cantUserReservedCNames'] = tendoo_warning('Ce code du contr&ocirc;leur est un code reserv&eacute;, vous ne pouvez pas l\'utiliser.');
     $__['unknowProfil'] = tendoo_warning('Le profil que vous souhaitez visiter est introuvable. Il est en outre probable que cet utilisateur n\'existe pas ou que son compte &agrave; &eacute;t&eacute; supprim&eacute;.');
     $__['upload_invalid_filesize'] = tendoo_warning('La taille du fichier est supérieur à celle autorisée.');
     $__['cant_delete_mainpage'] = tendoo_warning(' La page principale ne peut pas &ecirc;tre supprim&eacute;.');
     $__['controler_edited'] = tendoo_success(' Le contr&ocirc;leur &agrave; &eacute;t&eacute; correctement modifi&eacute;.');
     $__['db_unable_to_connect'] = tendoo_warning('Il est impossible de se connecter &agrave; la base de donn&eacute;es avec les informations fournies.');
     $__['db_unable_to_select'] = tendoo_warning('La connexion &agrave; &eacute;t&eacute; &eacute;tablie, cependant il est impossible d\'acc&eacute;der &agrave; la base de donn&eacute;e.');
     $__['error-occured'] = tendoo_warning(translate('A error occured during this operation.'));
     $__['adminDeleted'] = tendoo_success(' L\'utilisateur &agrave; &eacute;t&eacute; correctement supprim&eacute;.');
     $__['controller_not_found'] = tendoo_warning(' Ce contr&ocirc;leur est introuvable.');
     $__['no_main_controller_created'] = tendoo_warning(' Aucun contr&ocirc;leur d&eacute;finit comme principale n\'a &eacute;t&eacute; retrouv&eacute;, le nouveau contr&ocirc;leur &agrave; &eacute;t&eacute; d&eacute;finit comme contr&ocirc;leur par d&eacute;faut.');
     $__['no_main_page_set'] = tendoo_info(' Aucun contr&ocirc;leur n\'est d&eacute;finie par d&eacute;faut.');
     $__['no_priv_created'] = tendoo_info(' Aucun privil&egrave;ge n\'a &eacute;t&eacute; cr&eacute;e, Pour administrer les actions, il est indispensable de cr&eacute;er un privil&egrave;ge au moins.');
     $__['InvalidModule'] = tendoo_warning('Ce module est invalide ou incompatible.');
     $__['CantDeleteDir'] = tendoo_warning('Une erreur s\'est produite durant la suppr&eacute;ssion d\'un dossier.');
     $__['module_corrupted'] = tendoo_warning('Ce module ne peut pas &ecirc;tre install&eacute;. Il est corrompu ou incompatible.');
     $__['errorInstallModuleFirst'] = tendoo_warning('Vous devez installer les tables avant d\'installer le module');
     $__['module-has-been-installed'] = tendoo_success(translate('The module has been sucessfully installed.'));
     $__['module-already-exists'] = tendoo_warning(translate('A module with the same namespace already exists.'));
     $__['unactive-or-unknow-module'] = tendoo_warning(__('This module is not found or has been disabled.'));
     // Translated
     $__['module-has-been-installed'] = tendoo_success('Le module &agrave; &eacute;t&eacute; d&eacute;sinstall&eacute;.');
     $__['InvalidPage'] = tendoo_warning('Cette page n\'a pas pu &ecirc;tre charg&eacute; car le contr&ocirc;leur correspondant &agrave; cette adresse est introuvable ou indisponible.');
     // Deprecated ?
     $__['noControllerDefined'] = tendoo_warning('Impossible d\'acc&eacute;der &agrave; cet &eacute;lement, Il ne dispose pas d\'interface embarqu&eacute;.');
     $__['cantSetChildAsMain'] = tendoo_warning('Un sous menu ne peut pas &ecirc;tre d&eacute;finie comme page principale. La modification de la priorit&eacute; &agrave; &eacute;chou&eacute;e.');
     $__['noFileUpdated'] = tendoo_warning('Aucun fichier n\'a &eacute;t&eacute; re&ccedil;u.');
     $__['done'] = tendoo_success('L\'op&eacute;ration s\'est d&eacute;roul&eacute;e avec succ&egrave;s.');
     $__['accessForbiden'] = tendoo_warning('Vous ne faites pas partie du privil&egrave;s qui peut acc&eacute;der &agrave; cette page.');
     $__['userCreated'] = tendoo_success('L\'utilisateur a &eacute;t&eacute; cr&eacute;e.');
     $__['userNotFoundOrWrongPass'] = tendoo_warning('Utilisateur introuvable ou mot de passe incorrect.');
     $__['notForYourPriv'] = tendoo_warning('Acc&eacute;der &agrave; cet &eacute;l&eacute;ment ne fait pas partie de vos actions.');
     $__['unknowAdmin'] = tendoo_warning('Administrateur introuvable.');
     $__['moduleBug'] = tendoo_warning('Une erreur s\'est produite. Le module attach&eacute; &agrave; ce contr&ocirc;leur est introuvable ou d&eacute;sactiv&eacute;.');
     $__['page-404-or-module-bug'] = tendoo_warning(__('Error occured. Page not found or bound module is not well defined.'));
     $__['notAllowed'] = tendoo_warning('Il ne vous est pas permis d\'effctuer cette op&eacute;ration. Soit compte tenu de votre privil&egrave;ge actuel, soit compte tenu de l\'indisponibilit&eacute; du service.');
     $__['theme_alreadyExist'] = tendoo_info('Ce th&egrave;me avait d&eacute;j&agrave; &eacute;t&eacute; install&eacute;.');
     $__['NoCompatibleTheme'] = tendoo_warning('Ce th&egrave;me n\'est pas compatible avec la version actuelle d\'tendoo.');
     $__['NoCompatibleModule'] = tendoo_warning(translate('module_compatibility_issues'));
     $__['module_updated'] = tendoo_success(translate('module_updated'));
     $__['SystemDirNameUsed'] = tendoo_warning('Ce th&egrave;me ne peut pas s\'installer car il &agrave; tenter d\'utiliser des ressources syst&egrave;me.');
     $__['theme_installed'] = tendoo_success('Le th&egrave;me a &eacute;t&eacute; install&eacute; correctement.');
     $__['no_theme_selected'] = tendoo_warning('Aucun th&egrave;me n\'a &eacute;t&eacute; choisi comme th&egrave;me par d&eacute;faut.');
     $__['defaultThemeSet'] = tendoo_success('Le th&egrave;me &agrave; &eacute;t&eacute; correctement choisi come th&egrave;me par d&eacute;faut.');
     $__['theme-not-found'] = tendoo_warning('Th&egrave;me inconnu ou introuvable.');
     $__['missingArg'] = tendoo_warning('Une erreur s\'est produite. Certains &eacute;l&eacute;ment, qui permettent le traitement de votre demande, sont manquant ou incorrect.');
     $__['page-404'] = tendoo_warning('Cette page est introuvable ou indisponible. Veuillez re-&eacute;ssayer.');
     // $__['restoringDone']				=	tendoo_success('La restauration s\'est correctement d&eacute;roul&eacute;.');
     // $__['cmsRestored']				=	tendoo_success('La restauration s\'est correctement d&eacute;roul&eacute;.');
     $__['creatingHiddenControllerFailure'] = tendoo_warning('La cr&eacute;ation du contr&ocirc;leur invisible &agrave; &eacute;chou&eacute;');
     $__['installFailed'] = tendoo_warning('Une erreur s\'est produite durant l\'installtion certaines composantes n\'ont pas &eacute;t&eacute; correctement install&eacute;es');
     $__['db_connect_error'] = tendoo_warning('Connexion impossible,int&eacute;rrompu ou le nombre limit de connexion accord&eacute; &agrave; l\'utilisateur de la base de donn&eacute; est atteinte. Veuillez re-&eacute;ssayer.');
     $__['themeCrashed'] = tendoo_warning('Une erreur s\'est produite avec le th&egrave;me. Ce th&egrave;me ne fonctionne pas correctement.');
     $__['noMainPage'] = tendoo_warning('Impossible d\'acc&eacute;der &agrave; la page principale du site. Aucun contr&ocirc;leur n\'a &eacute;t&eacute; d&eacute;finit comme principal');
     $__['admin-auth-failed'] = tendoo_warning(__('Incorrect password or user not found'));
     $__['super-admin-creation-failed'] = tendoo_warning(__('Super administrator creation failed. Check if, for this website, there are not yet a super administrator.'));
     $__['user-has-been-created'] = tendoo_success(__('User has been successfully created.'));
     $__['no-controller-set'] = tendoo_warning(__('There is no controller available'));
     $__['role-not-found'] = tendoo_warning(__('Role not found'));
     $__['invalid-app'] = tendoo_warning(__('This app is not a valid Tendoo App. Installation has failed.'));
     $__['users-creation-failed'] = tendoo_warning(__('User creation failed, check if this pseudo is not already taken.'));
     $__['table-creation-failed'] = tendoo_warning(__('Error occured. Tables wasn\'t installed. Check your provided database login data'));
     $__['upload-invalid-file-type'] = tendoo_warning(__('This file type is not allowed'));
     $__['controller-not-properly'] = tendoo_warning(__('Controller interface is not well defined'));
     // $__['themeControlerNoFound']		=	tendoo_warning('Ce th&egrave;me ne dispose pas d\'interface embarqu&eacute;..'); // Deprecated ?
     $__['pseudo-already-in-use'] = tendoo_warning(__('This pseudo is already used. Please choose another one'));
     $__['email-already-used'] = tendoo_warning(__('This email is already used, please choose another one or try to restore your account.'));
     $__['unallowed-role'] = tendoo_warning(__('This role is not allowed.'));
     $__['unactive-account'] = tendoo_warning(__('This account is not yet active. Please, check the inbox associated to this email address. If there is no activation mail, you can try to receive it again, with the activation wizard.'));
     $__['already-active'] = tendoo_warning(__('Activation mail could not been send. This account seems to be already active.'));
     $__['action-prohibited'] = tendoo_warning(__('You are not granted to do this.'));
     $__['unknow-email'] = tendoo_warning(__('There is no account associated to this email address'));
     $__['activation-mail-send'] = tendoo_success(__('An activation mail has been send.'));
     $__['registration-not-allowed'] = $__['registration-disabled'] = tendoo_warning(__('Registration and associated services are disabled in this website.'));
     $__['new-link-send'] = tendoo_success(__('A new link has been send to your email address.'));
     $__['expiration-time-reached'] = tendoo_warning(__('This link is no more valid.'));
     $__['activation-failed'] = tendoo_warning(__('This activation link is no more valid.'));
     $__['account-activation-done'] = tendoo_success(__('This account is now active'));
     $__['account-activation-failed'] = tendoo_warning(__('The account activation failed.'));
     $__['password-matches-error'] = tendoo_warning(__('The new password should not match the old one.'));
     $__['password-has-changed'] = tendoo_success(__('The password has been changed.'));
     $__['upload-file-no-available'] = tendoo_warning(__('Select a file first.'));
     $__['cannot-delete-active-role'] = tendoo_warning(__('A role in use can\'t be deleted.'));
     $__['profile-updated'] = tendoo_success(__('Profile has been updated.'));
     $__['role-permissions-saved'] = tendoo_success(__('Role permissions has been saved.'));
     $__['unsupported-by-current-theme'] = tendoo_warning(__('Active theme does\'nt support this module'));
     $__['user-meta-has-been-reset'] = tendoo_success(__('Your account settings has been reset'));
     // Tendoo 1.4
     $__['web-app-mode-enabled'] = tendoo_warning(__('While "WebApp" Mode is enabled, frontend is disabled. Check your settings to define tendoo mode on Website setings tab.'));
     $__['form-expired'] = tendoo_warning(__('Current form data has expired. Please try to submit it again'));
     // CustomQuery Notices
     $__['incorrect-given-meta'] = tendoo_warning(__('Incorrect meta data. This meta doesn\'t seems to be approuved for the custom query.'));
     $__['incorrect-key-given'] = tendoo_warning(__('Incorrect key given.'));
     $__['unknow-taxonomy-given'] = tendoo_warning(__('Unknow taxonomy given.'));
     $__['error-occured-while-checking-query-title'] = tendoo_warning(__('Error occured while checking title.'));
     $__['custom-query-saved'] = tendoo_success(__('Custom Query has been saved.'));
     $__['unknow-key-for-custom-query'] = tendoo_warning(__('Unknow key for custom query.'));
     $__['unknow-custom-query'] = tendoo_warning(__('Unknow custom query.'));
     $__['unknow-taxonomy-to-set-as-parent'] = tendoo_warning(__('Unknow taxonomy to set as parent.'));
     $__['taxonomy-set'] = tendoo_success(__('Taxonomy has been set.'));
     $__['taxonomy-already-exists'] = tendoo_warning(__('Taxonomy already exists. Please choose another name.'));
     $__['unknow-taxonomy'] = tendoo_warning(__('Unknow taxonomy.'));
     $__['taxonomy-cant-be-his-own-parent'] = tendoo_warning(__('Taxonomy cant be his own parent.'));
     $__['taxonomy-deleted'] = tendoo_success(__('Taxonomy has been deleted.'));
     $__['cant-delete-the-latest-taxonomy'] = tendoo_warning(__('The latest taxonomy can\'t be deleted.'));
     $__['taxonomy-not-found-or-bound'] = tendoo_warning(__('The concerned taxonomy is not found or is already bound.'));
     $__['dooooooooo'] = tendoo_warning(__('dooooooooooo'));
     $__['incorrect-query-parent'] = tendoo_error(__('Incorrect parent has been given. Make sure that the parent id doesn\'t match the current query id.'));
     $__['unknow-post'] = tendoo_error(__('Unknow post. provided id may be incorrect, or post not found.'));
     $__['unknow-user'] = tendoo_error(__('Unknow user, or this user may no exists.'));
     $__['comment-submitted'] = tendoo_success(__('Your comment has been successfully posted.'));
     $__['comment-deleted'] = tendoo_error(__('The comment has been deleted.'));
     $__['unknow-status'] = tendoo_error(__('Unknow status.'));
     $__['comment-edited'] = tendoo_success(__('Comment edited'));
     set_core_vars('default_notices', $__);
 }