Skip to content

Commit

Permalink
Cosmetical changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fastslack committed Mar 7, 2012
1 parent 3ccbc6c commit 8ff8caa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 60 deletions.
60 changes: 2 additions & 58 deletions admin/views/sites/tmpl/form.php
Expand Up @@ -123,55 +123,6 @@ function submitbutton(pressbutton) {
</tr>
</table>

<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">
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions admin/views/sites/view.html.php
Expand Up @@ -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";
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8ff8caa

Please sign in to comment.