Removed PHPmyadminlink

This commit is contained in:
kolaente 2017-10-04 16:44:19 +02:00
parent 2e5afd6785
commit 19fc3d2d15
5 changed files with 0 additions and 9 deletions

View File

@ -75,10 +75,6 @@ tinymce();
<a href="action.php?dbbackup" class="button" download="download"><i
class="fa fa-database"></i> <?php echo $lang->get('general_create_backup'); ?>
</a>
<a href="<?php
echo $MCONF['phpmyadmin'];
?>" class="button" target="_blank"><?php echo $lang->get('general_go_phpmyadmin'); ?> <i
class="fa fa-external-link"></i></a>
</p>
<?php
}

View File

@ -53,7 +53,6 @@ if (isset($_POST['submit']))
$CONFIG = [];
$CONFIG['General']['web_uri'] = $_POST['general_webUrl'];
$CONFIG['General']['home_uri'] = $_POST['general_home_url'];
$CONFIG['General']['phpmyadmin'] = $_POST['general_pma'];
$CONFIG['General']['title'] = 'inc/System/page_title.txt';
$CONFIG['General']['tinymce_css'] = $_POST['general_editor_css'];
$CONFIG['General']['timezone'] = $_POST['general_timezone'];
@ -419,7 +418,6 @@ RewriteRule ^(.*)$ /index.php?$1 [QSA,L]
<div id="more" style="display: none;">
<span>Home Url</span><input type="text" placeholder="Home Url" name="general_home_url"
value="<?php echo str_replace('admin/install.php', '', $_SERVER['REQUEST_URI']); ?>"/><br/>
<span>Phpmyadmin Url (optional)</span><input type="text" placeholder="Phpmyadmin Url" name="general_pma"/><br/>
<span>Editor CSS (optional)</span><input type="text" placeholder="Editor CSS" name="general_editor_css"/><br/>
<span>Template</span><input type="text" placeholder="Template" name="general_template"
value="content/template.tpl"/><br/>

View File

@ -87,7 +87,6 @@ $lang['general_start_construction_mode'] = 'Seite in Baustellenzustand versetzen
$lang['general_edit_message'] = 'Meldung bearbeiten';
$lang['general_database'] = 'Datenbank';
$lang['general_create_backup'] = 'Datenbank Backup erstellen';
$lang['general_go_phpmyadmin'] = 'Zu phpmyadmin';
//Legitimation
$lang['legitimate_title'] = 'Legitimierung benötigt';

View File

@ -85,7 +85,6 @@ $lang['general_edit_message'] = 'Edit Construction Message';
$lang['general_version'] = 'Version';
$lang['general_database'] = 'Database';
$lang['general_create_backup'] = 'Create Database Backup';
$lang['general_go_phpmyadmin'] = 'phpmyadmin';
$lang['general_needs_other_app'] = 'This app needs the app "%1$s" to function properly.';
$lang['general_needs_other_version'] = 'This app needs at least Mowie version %1$s.';
$lang['general_needs_other_php'] = 'This app needs at least PHP version %1$s.';

View File

@ -38,7 +38,6 @@ $MCONF['db_prefix'] = $config['Database']['db_prefix'];
//General
$MCONF['web_uri'] = $config['General']['web_uri'];
$MCONF['home_uri'] = $config['General']['home_uri'];
$MCONF['phpmyadmin'] = $config['General']['phpmyadmin'];
$MCONF['title'] = file_get_contents(str_replace('config/config.yml', '', $cfg_path).$config['General']['title']);
$MCONF['tinymce_css'] = $MCONF['web_uri'].$config['General']['tinymce_css'];
$MCONF['timezone'] = $config['General']['timezone'];