<?php echo $this->events->apply_filters('gui_page_title', $page_header); // echo notice( 'parse' ); /** * Details : Output content before cols * Usage : set 'after_cols' key with GUI::config() **/ echo $this->events->apply_filters('gui_before_cols', ''); ?> <div class="content"> <?php // display notice echo $this->notice->output_notice(); if (function_exists('validation_errors')) { // validation errors echo validation_errors() != '' ? tendoo_error(strip_tags(validation_errors())) : ''; } // Aauth Errors $this->events->do_action('displays_dashboard_errors'); echo fetch_notice_from_url(); ?> <div class="row"> <?php foreach (force_array($this->gui->get_cols()) as $col_id => $col_data) { ?> <div class="col-lg-<?php echo riake('width', $col_data, 1) * 3; ?> ">
/** * Displays Error on Dashboard Page **/ function displays_dashboard_errors() { $errors = $this->users->auth->get_errors_array(); if ($errors) { foreach ($errors as $error) { echo tendoo_error($error); } } }
<?php /** * File Name : output-not-found.php * Description : Displays dashboard internal 404 page error * Since : 1.5 **/ $this->gui->col_width(1, 4); // creating unique meta $this->gui->add_meta(array('namespace' => 'error-body', 'type' => 'box', 'col_id' => 1)); // creating meta item $this->gui->add_item(array('type' => 'dom', 'content' => tendoo_error('This page has no output content. You may consider using GUI::page_content in order to create content. Please refer to Tendoo API.')), 'error-body', 1); $this->gui->output();
$lang['aauth_error_no_user'] = __('User does not exist'); $lang['aauth_error_account_not_verified'] = __('Your account has not been verified. Please check your e-mail and verify your account.'); $lang['aauth_error_no_group'] = __('Group does not exist'); $lang['aauth_error_self_pm'] = __('It is not possible to send a Message to yourself.'); $lang['aauth_error_no_pm'] = __('Private Message not found'); /* Info messages */ $lang['aauth_info_already_member'] = __('User is already member of group'); $lang['aauth_info_group_exists'] = __('Group name already exists'); $lang['aauth_info_perm_exists'] = __('Permission name already exists'); $lang['group-updated'] = tendoo_success(__('The group has been updated')); $lang['fetch-error-from-auth'] = function () { $errors_array = get_instance()->users->auth->get_errors_array(); $notice_array = get_instance()->users->auth->get_infos_array(); foreach ($errors_array as $_error) { echo tendoo_error($_error); } foreach ($notice_array as $notice) { echo tendoo_error($notice); } }; // User Edition $lang['user-updated'] = tendoo_success(__('User settings\'s has been updated.')); $lang['user-deleted'] = tendoo_success(__('The user has been deleted.')); $lang['pass-change-error'] = tendoo_error(__('The new password cannot match the old one, please use another password.')); $lang['old-pass-incorrect'] = tendoo_error(__('Your old password is not correct.')); // Group $lang['group-already-exists'] = tendoo_error(__('A group with this name already exists. Please choose another name.')); $lang['group-created'] = tendoo_success(__('Group has been created.')); $lang['group-not-found'] = tendoo_error(__('This group does\'nt exists or has been deleted.')); $lang['unknow-group'] = tendoo_error(__('Unknow group.')); $lang['updated'] = tendoo_success(__('Group has been updated.'));
/** * Module List and management controller * * * @access public * @author Blair Jersyer * @copyright name date * @param string $page * @param string $arg2 * @since 3.0.1 */ function modules($page = 'list', $arg2 = null) { if ($page === 'list') { $this->events->add_filter('gui_page_title', function ($title) { return '<section class="content-header"><h1>' . strip_tags($title) . ' <a class="btn btn-primary btn-sm pull-right" href="' . site_url(array('dashboard', 'modules', 'install_zip')) . '">' . __('Upload a zip file') . '</a></h1></section>'; }); $this->events->add_action('displays_dashboard_errors', function () { if (isset($_GET['extra'])) { echo tendoo_error(__('An error occured during module installation. There was a file conflict during module installation process.<br>This file seems to be already installed : ' . $_GET['extra'])); } }); $this->gui->set_title(sprintf(__('Module List — %s'), get('core_signature'))); $this->load->view('dashboard/modules/list'); } else { if ($page === 'install_zip') { $this->events->add_filter('gui_page_title', function ($title) { return '<section class="content-header"><h1>' . strip_tags($title) . ' <a class="btn btn-primary btn-sm pull-right" href="' . site_url(array('dashboard', 'modules')) . '">' . __('Back to modules list') . '</a></h1></section>'; }); if (isset($_FILES['extension_zip'])) { $notice = Modules::install('extension_zip'); // it means that module has been installed if (is_array($notice)) { // redirecting redirect(array('dashboard', 'modules', 'list?highlight=' . $notice['namespace'] . '¬ice=' . $notice['msg'] . (isset($notice['extra']) ? '&extra=' . $notice['extra'] : '') . '#module-' . $notice['namespace'])); } else { $this->notice->push_notice($this->lang->line($notice)); } } $this->gui->set_title(sprintf(__('Add a new extension — %s'), get('core_signature'))); $this->load->view('dashboard/modules/install'); } else { if ($page === 'enable') { /** * Module should be enabled before trigger this action **/ Modules::enable($arg2); // Enabling recently active module Modules::init('unique', $arg2); // Run the action $this->events->do_action('do_enable_module', $arg2); redirect(array('dashboard', 'modules?notice=' . $this->events->apply_filters('module_activation_status', 'module-enabled'))); } else { if ($page === 'disable') { $this->events->add_action('do_disable_module', function ($arg2) { Modules::disable($arg2); }); // $this->events->do_action('do_disable_module', $arg2); redirect(array('dashboard', 'modules?notice=' . $this->events->apply_filters('module_disabling_status', 'module-disabled'))); } else { if ($page === 'remove') { $this->events->add_action('do_remove_module', function ($arg2) { Modules::uninstall($arg2); redirect(array('dashboard', 'modules?notice=module-removed')); }); $this->events->do_action('do_remove_module', $arg2); } else { if ($page === 'extract') { $this->events->add_action('do_extract_module', function ($arg2) { Modules::extract($arg2); }); $this->events->do_action('do_extract_module', $arg2); } } } } } } }
$lang['email-used'] = tendoo_error(__('This email is already used.')); $lang['email-already-taken'] = tendoo_error(__('This email seems to be already taken.')); $lang['username-already-taken'] = tendoo_error(__('This username seems to be already taken.')); $lang['user-created'] = tendoo_success(__('The user has been successfully created.')); $lang['account-activated'] = tendoo_success(__('Your Account has been activated. Please Sign-up')); // Recovery $lang['unknow-email'] = tendoo_error(__('Unknow email address')); $lang['recovery-email-send'] = tendoo_success(__('The recovery email has been send. Please check your email, open the recovery email and follow the instructions.')); // Logout $lang['logout-required'] = tendoo_info(__('You must logout first to access that page.')); // General $lang['new-password-created'] = tendoo_success(__('A new password has been created for your account. Check your email to get it.')); $lang['module-enabled'] = tendoo_success(__('The module has been enabled.')); $lang['module-disabled'] = tendoo_success(__('The module has been disabled.')); $lang['module-removed'] = tendoo_success(__('The module has been removed.')); $lang['module-extracted'] = tendoo_success(__('The module has been extracted.')); $lang['module-updated'] = tendoo_success(__('The module has been updated.')); $lang['old-version-cannot-be-installed'] = tendoo_error(__('The version installed is already up to date.')); $lang['unable-to-update'] = tendoo_error(__('An error occured during update.')); $lang['config-file-not-found'] = tendoo_error(__('Config file hasn\'t been found. This file is not a valid module. Installation aborded !!!')); // Extension $lang['fetch-from-upload'] = function () { $error = array('error' => get_instance()->upload->display_errors()); foreach ($error as $type => $_error) { if ($type == 'error') { echo tendoo_error(strip_tags($_error)); } else { echo tendoo_info(strip_tags($_error)); } } };
public function controllers($e = '', $f = '') { redirect_if_webapp_is_enabled(); current_user()->cannot('system@manage_controllers') ? $this->url->redirect(array('admin', 'index?notice=accessDenied')) : false; if ($e == '') { if (isset($_POST['controller'])) { $result = $this->tendoo_admin->createControllers($_POST['controller']); if ($result) { $ttError = 0; foreach ($result as $r) { if ($r != "controler_created") { $ttError++; } } if ($ttError > 0) { notice('push', tendoo_error($ttError . ' ' . translate('errors founded, some controllers has been dismissed'))); } notice('push', fetch_notice_output('controllers_updated')); } } css_push_if_not_exists('controller_style'); js_push_if_not_exists('jquery.nestable'); js_push_if_not_exists('tendoo_controllersScripts'); // ControllersSripts // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= set_core_vars('get_pages', $this->controller->get()); set_core_vars('get_mod', $modules = get_modules('filter_active_unapp')); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= set_page('title', translate('Manage controllers - Tendoo')); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= set_core_vars('body', $this->load->view('admin/pages/body', $this->data, true, false), 'ready_only'); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->load->view('admin/header', $this->data, null, false); $this->load->view('admin/global_body', $this->data, false, false); } }
<?php /// -------------------------------------------------------------------------------------------------------------------/// $or['categoryCreated'] = tendoo_success('La catégorie à été correctement crée'); $or['categoryAldreadyCreated'] = tendoo_error('Cette catégorie existe déjà'); $or['unknowCat'] = $or['unknowCategory'] = tendoo_error('Cette catégorie est inexistante'); $or['unknowKeyWord'] = tendoo_error('Mot-clé introuvable.'); $or['categoryUpdated'] = tendoo_success('La mise à jour à réussie'); $or['categoryDeleted'] = tendoo_success('La catégorie à été supprimé avec succès'); $or['artCreated'] = tendoo_success('L\'article à correctement été crée.'); $or['categoryNotEmpty'] = tendoo_error('Cette catégorie ne peut pas être supprimée, car il existe des publications qui y sont rattachées. Changez la catégorie de ces publications avant de supprimer cette catégorie.'); $or['unknowArticle'] = tendoo_error('Article introuvable'); $or['noCategoryCreated'] = tendoo_error(' Avant de publier un article, vous devez créer une catégorie.'); $or['connectToComment'] = tendoo_error(' Vous devez être connecté pour commenter.'); $or['unknowComments'] = tendoo_error(' Commentaire introuvable.'); $or['commentDeleted'] = tendoo_success('<i class="icon-checkmark"></i> Commentaire supprimé.'); $or['submitedForApproval'] = tendoo_success('<i class="icon-checkmark"></i> Votre commentaire à été soumis pour une examination.'); foreach ($or as $key => $notice_text) { declare_notice($key, $notice_text); } if (class_exists('tendoo_admin')) { class blogster_library extends Libraries { private $data; public function __construct() { // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= parent::__construct(); __extends($this); // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $this->module = get_modules('filter_namespace', 'blogster');
/** * 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ôleur à été correctement crée.'); $__['c_name_already_found'] = tendoo_warning('Une autre page possède déjà ce nom comme contrôleur, veuillez choisir un autre nom.'); $__['name_already_found'] = tendoo_warning('Une autre page possède déjà ce nom, veuillez choisir un autre nom.'); $__['controler_deleted'] = tendoo_success(' Le contrôleur à été correctement supprimé.'); $__['controllers_updated'] = tendoo_success('Les contrôleurs ont été correctement mis à jour.'); $__['incorrectSuperAdminPassword'] = tendoo_warning('Le mot de passe administrateur est incorrect'); $__['cantHeritFromItSelf'] = tendoo_warning('Ce contrôleur ne peut pas être un sous menu de lui même. La modification de l\'emplacement à échoué.'); $__['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ôleur (Menu), définie comme parent est introuvable. La modification du contrôleur à échoué.'); $__['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éation d\'action pour ce module à échoué.'); $__['subMenuLevelReach'] = tendoo_warning('Impossible de créer ou de modifier ce contrôleur, la limitation en terme de sous menu à été atteinte. Veuillez choisir un autre menu ou en créer un nouveau.'); $__['cantUserReservedCNames'] = tendoo_warning('Ce code du contrôleur est un code reservé, 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 à été supprimé.'); $__['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 être supprimé.'); $__['controler_edited'] = tendoo_success(' Le contrôleur à été correctement modifié.'); $__['db_unable_to_connect'] = tendoo_warning('Il est impossible de se connecter à la base de données avec les informations fournies.'); $__['db_unable_to_select'] = tendoo_warning('La connexion à été établie, cependant il est impossible d\'accéder à la base de donnée.'); $__['error-occured'] = tendoo_warning(translate('A error occured during this operation.')); $__['adminDeleted'] = tendoo_success(' L\'utilisateur à été correctement supprimé.'); $__['controller_not_found'] = tendoo_warning(' Ce contrôleur est introuvable.'); $__['no_main_controller_created'] = tendoo_warning(' Aucun contrôleur définit comme principale n\'a été retrouvé, le nouveau contrôleur à été définit comme contrôleur par défaut.'); $__['no_main_page_set'] = tendoo_info(' Aucun contrôleur n\'est définie par défaut.'); $__['no_priv_created'] = tendoo_info(' Aucun privilège n\'a été crée, Pour administrer les actions, il est indispensable de créer un privilège au moins.'); $__['InvalidModule'] = tendoo_warning('Ce module est invalide ou incompatible.'); $__['CantDeleteDir'] = tendoo_warning('Une erreur s\'est produite durant la suppréssion d\'un dossier.'); $__['module_corrupted'] = tendoo_warning('Ce module ne peut pas être installé. 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 à été désinstallé.'); $__['InvalidPage'] = tendoo_warning('Cette page n\'a pas pu être chargé car le contrôleur correspondant à cette adresse est introuvable ou indisponible.'); // Deprecated ? $__['noControllerDefined'] = tendoo_warning('Impossible d\'accéder à cet élement, Il ne dispose pas d\'interface embarqué.'); $__['cantSetChildAsMain'] = tendoo_warning('Un sous menu ne peut pas être définie comme page principale. La modification de la priorité à échouée.'); $__['noFileUpdated'] = tendoo_warning('Aucun fichier n\'a été reçu.'); $__['done'] = tendoo_success('L\'opération s\'est déroulée avec succès.'); $__['accessForbiden'] = tendoo_warning('Vous ne faites pas partie du privilès qui peut accéder à cette page.'); $__['userCreated'] = tendoo_success('L\'utilisateur a été crée.'); $__['userNotFoundOrWrongPass'] = tendoo_warning('Utilisateur introuvable ou mot de passe incorrect.'); $__['notForYourPriv'] = tendoo_warning('Accéder à cet élément ne fait pas partie de vos actions.'); $__['unknowAdmin'] = tendoo_warning('Administrateur introuvable.'); $__['moduleBug'] = tendoo_warning('Une erreur s\'est produite. Le module attaché à ce contrôleur est introuvable ou désactivé.'); $__['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ération. Soit compte tenu de votre privilège actuel, soit compte tenu de l\'indisponibilité du service.'); $__['theme_alreadyExist'] = tendoo_info('Ce thème avait déjà été installé.'); $__['NoCompatibleTheme'] = tendoo_warning('Ce thè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ème ne peut pas s\'installer car il à tenter d\'utiliser des ressources système.'); $__['theme_installed'] = tendoo_success('Le thème a été installé correctement.'); $__['no_theme_selected'] = tendoo_warning('Aucun thème n\'a été choisi comme thème par défaut.'); $__['defaultThemeSet'] = tendoo_success('Le thème à été correctement choisi come thème par défaut.'); $__['theme-not-found'] = tendoo_warning('Thème inconnu ou introuvable.'); $__['missingArg'] = tendoo_warning('Une erreur s\'est produite. Certains élément, qui permettent le traitement de votre demande, sont manquant ou incorrect.'); $__['page-404'] = tendoo_warning('Cette page est introuvable ou indisponible. Veuillez re-éssayer.'); // $__['restoringDone'] = tendoo_success('La restauration s\'est correctement déroulé.'); // $__['cmsRestored'] = tendoo_success('La restauration s\'est correctement déroulé.'); $__['creatingHiddenControllerFailure'] = tendoo_warning('La création du contrôleur invisible à échoué'); $__['installFailed'] = tendoo_warning('Une erreur s\'est produite durant l\'installtion certaines composantes n\'ont pas été correctement installées'); $__['db_connect_error'] = tendoo_warning('Connexion impossible,intérrompu ou le nombre limit de connexion accordé à l\'utilisateur de la base de donné est atteinte. Veuillez re-éssayer.'); $__['themeCrashed'] = tendoo_warning('Une erreur s\'est produite avec le thème. Ce thème ne fonctionne pas correctement.'); $__['noMainPage'] = tendoo_warning('Impossible d\'accéder à la page principale du site. Aucun contrôleur n\'a été dé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ème ne dispose pas d\'interface embarqué..'); // 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', $__); }
<?php // Blog Lang $lang['unknow-taxonomy-given'] = tendoo_error(__('Unknow taxonomy given.')); $lang['incorrect-query-parent'] = tendoo_error(__('Incorrect Query parent given.')); $lang['incorrect-given-meta'] = tendoo_error(__('Incorrect meta given.')); $lang['error-occured-while-checking-query-title'] = tendoo_error(__('An error occured during title parsing.')); $lang['unknow-custom-query'] = tendoo_error(__('Unknow custom query.')); $lang['custom-query-saved'] = tendoo_success(__('Custom query saved.')); $lang['unknow-key-for-custom-query'] = tendoo_error(__('Unknow key for custom query.')); $lang['custom-query-deleted'] = tendoo_error(__('Custom Query deleted')); $lang['unknow-custom-query'] = tendoo_error(__('Unknow custom query.')); $lang['unknow-taxonomy-to-set-as-parent'] = tendoo_error(__('Unknow taxonomy to set as parent.')); $lang['taxonomy-set'] = tendoo_success(__('taxonomy has been set.')); $lang['taxonomy-already-exists'] = tendoo_error(__('Taxonmy already exists.')); $lang['unknow-taxonomy'] = tendoo_error(__('Unknow taxonomy.')); $lang['taxonomy-cant-be-his-own-parent'] = tendoo_error(__('Taxonomy can\'t be his own parent.')); $lang['taxonomy-deleted'] = tendoo_error(__('Taxonomy has been deleted.')); $lang['cant-delete-the-latest-taxonomy'] = tendoo_error(__('Can\'t delete the latest taxonomy.')); $lang['taxonomy-not-found-or-bound'] = tendoo_error(__('Taxonomy not found or bound.')); $lang['comment-submitted'] = tendoo_success(__('Comment submited.')); $lang['unknow-post'] = tendoo_error(__('Unknow custom taxonomy.')); $lang['comment-deleted'] = tendoo_error(__('Comment has been deleted.')); $lang['unknow-status'] = tendoo_error(__('Unknow status.')); $lang['comment-edited'] = tendoo_error(__('Comment edited.')); $lang['unknow-comment'] = tendoo_error(__('Unknow comment.'));