rpms/mantis/F-10 mantis-1.1.6-install-nowriteconfig.patch,NONE,1.1
Gianluca Sforna
giallu at fedoraproject.org
Fri Jul 3 10:25:29 UTC 2009
- Previous message (by thread): rpms/mantis/EL-5 .cvsignore, 1.9, 1.10 mantis.spec, 1.18, 1.19 sources, 1.14, 1.15
- Next message (by thread): rpms/lekhonee/devel .cvsignore, 1.5, 1.6 import.log, 1.5, 1.6 lekhonee.spec, 1.5, 1.6 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: giallu
Update of /cvs/extras/rpms/mantis/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23268
Added Files:
mantis-1.1.6-install-nowriteconfig.patch
Log Message:
Add missing patch file
mantis-1.1.6-install-nowriteconfig.patch:
--- NEW FILE mantis-1.1.6-install-nowriteconfig.patch ---
--- mantis-1.1.6.orig/admin/install.php 2008-12-09 20:20:28.000000000 +0100
+++ mantis-1.1.6//admin/install.php 2008-12-28 19:39:50.493771722 +0100
@@ -397,10 +397,18 @@
<tr>
<td>
+ <div style="background-color: #FCC; padding: 5px; border: 1px solid red;">
+ To change any of the disabled options below, edit /etc/mantis/config_inc.php and reload this page!
+ </div>
+ </td>
+</tr>
+
+<tr>
+ <td>
Type of Database
</td>
<td>
- <select name="db_type">
+ <select disabled="true" name="db_type">
<?php
if ( $f_db_type == 'mysql' ) {
echo '<option value="mysql" selected="selected">MySql (default)</option>';
@@ -447,7 +455,7 @@
Hostname (for Database Server)
</td>
<td>
- <input name="hostname" type="textbox" value="<?php echo $f_hostname ?>"></input>
+ <input name="hostname" type="textbox" disabled="disabled" value="<?php echo $f_hostname ?>"></input>
</td>
</tr>
@@ -456,7 +464,7 @@
Username (for Database)
</td>
<td>
- <input name="db_username" type="textbox" value="<?php echo $f_db_username ?>"></input>
+ <input name="db_username" type="textbox" disabled="disabled" value="<?php echo $f_db_username ?>"></input>
</td>
</tr>
@@ -465,7 +473,7 @@
Password (for Database)
</td>
<td>
- <input name="db_password" type="password" value="<?php echo ( !is_blank( $f_db_password ) ? CONFIGURED_PASSWORD : "" ) ?>"></input>
+ <input name="db_password" type="password" disabled="disabled" value="<?php echo ( !is_blank( $f_db_password ) ? CONFIGURED_PASSWORD : "" ) ?>"></input>
</td>
</tr>
@@ -474,7 +482,7 @@
Database name (for Database)
</td>
<td>
- <input name="database_name" type="textbox" value="<?php echo $f_database_name ?>"></input>
+ <input name="database_name" type="textbox" disabled="disabled" value="<?php echo $f_database_name ?>"></input>
</td>
</tr>
<tr>
@@ -762,6 +770,9 @@
$t_config_filename = $g_absolute_path . 'config_inc.php';
$t_config_exists = file_exists ( $t_config_filename );
?>
+<?php
+if (0 == 1) {
+?>
<table width="100%" border="0" cellpadding="10" cellspacing="1">
<tr>
<td bgcolor="#e8e8e8" colspan="2">
@@ -832,7 +843,9 @@
?>
</table>
-
+<?php
+}
+?>
<?php
if ( false == $g_failed ) {
$t_install_state++;
- Previous message (by thread): rpms/mantis/EL-5 .cvsignore, 1.9, 1.10 mantis.spec, 1.18, 1.19 sources, 1.14, 1.15
- Next message (by thread): rpms/lekhonee/devel .cvsignore, 1.5, 1.6 import.log, 1.5, 1.6 lekhonee.spec, 1.5, 1.6 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list