Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cosmetical changes

  • Loading branch information...
commit 8ff8caaea5c9d4c88f954a4a10da476f3f29655f 1 parent 3ccbc6c
@fastslack authored
Showing with 4 additions and 60 deletions.
  1. +2 −58 admin/views/sites/tmpl/form.php
  2. +2 −2 admin/views/sites/view.html.php
View
60 admin/views/sites/tmpl/form.php
@@ -126,55 +126,6 @@ function submitbutton(pressbutton) {
<table class="adminlist">
<tr>
<td colspan="2">
- <h3><?php echo JText::_( "Master Database" ); ?></h3>
- </td>
- </tr>
- <tr>
- <td align="right" width="40%">
- <?php echo JText::_( "Hostname" ); ?>
- </td>
- <td>
- <input type="text" name="m_hostname" value="<?php echo $this->m_db->m_hostname;?>" />
- </td>
- </tr>
- <tr>
- <td align="right">
- <?php echo JText::_( "Database" ); ?>
- </td>
- <td>
- <input type="text" name="m_database" value="<?php echo $this->m_db->m_database;?>" />
- </td>
- </tr>
- <tr>
- <td align="right">
- <?php echo JText::_( "Username" ); ?>
- </td>
- <td>
- <input type="text" name="m_username" value="<?php echo $this->m_db->m_username;?>" />
- </td>
- </tr>
- <tr>
- <td align="right">
- <?php echo JText::_( "Password" ); ?>
- </td>
- <td>
- <input type="password" name="m_password" value="<?php echo $this->m_db->m_password;?>" />
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <?php echo JText::_( "Prefix" ); ?>
- </td>
- <td>
- <input type="text" name="m_prefix" value="<?php echo $this->m_db->m_prefix;?>" />
- </td>
- </tr>
- </table>
-
- <table class="adminlist">
- <tr>
- <td colspan="2">
<h3><?php echo JText::_( "Child Database" ); ?></h3>
</td>
</tr>
@@ -215,7 +166,7 @@ function submitbutton(pressbutton) {
<?php echo JText::_( "Prefix" ); ?>
</td>
<td>
- <input type="text" name="c_prefix" value="<?php echo $this->c_db->c_prefix;?>" />
+ <input type="text" name="c_prefix" value="<?php echo $this->c_db->c_prefix;?>" disabled />
</td>
</tr>
</table>
@@ -236,13 +187,6 @@ function submitbutton(pressbutton) {
<td>
<?php
echo $this->lists['vh'];
-/*
- if ($this->ext['aj'] != "com_sef") {
- echo "<div style=\"float: right; color: red; \">" . JText::_( "Artio JoomSEF Uninstalled" ) . "</div>";
- }else{
- echo "<div style=\"float: right; color: blue; \">" . JText::_( "Artio JoomSEF Installed" ) . "</div>";
- }
-*/
?>
</td>
</tr>
@@ -251,7 +195,7 @@ function submitbutton(pressbutton) {
<?php echo JText::_( "Domain name" ); ?>
</td>
<td>
- <input type="domain" name="domain" />
+ <input type="domain" name="domain" disabled />
</td>
</tr>
</table>
View
4 admin/views/sites/view.html.php
@@ -31,7 +31,7 @@ function display($tpl = null) {
JToolBarHelper::title( JText::_( 'mtwMultiple Sites' ), 'plugin.png' );
JToolBarHelper::back();
JToolBarHelper::deleteList();
- JToolBarHelper::addNewX();
+ JToolBarHelper :: custom( 'add', 'new.png', 'new.png', 'Add Site', false, false );
JToolBarHelper::spacer();
// Add an upload button and view a popup screen width 550 and height 400
$alt = "Manage Extensions";
@@ -147,7 +147,7 @@ function _displayForm ($tpl = null) {
$m_db->set('m_database', $mainframe->getCfg('db'));
$m_db->set('m_prefix', $mainframe->getCfg('dbprefix'));
- $lists['vh'] = JHTML::_('select.booleanlist', 'vh', '', 0);
+ $lists['vh'] = JHTML::_('select.booleanlist', 'vh', 'disabled', 0);
$this->assignRef('options', $options);
$this->assignRef('lists', $lists);
Please sign in to comment.
Something went wrong with that request. Please try again.