Skip to content

Commit

Permalink
- ZSQLMethod.manage_main: Moved the error message that warns of a
Browse files Browse the repository at this point in the history
  non-existing or closed database connection next to the Connection ID
  dropdown and present it using red to increase its visibility.
  • Loading branch information
dataflake committed Oct 16, 2005
1 parent aec4844 commit c7c3320
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions dtml/edit.dtml
Expand Up @@ -2,16 +2,6 @@
<dtml-var manage_tabs>

<dtml-if SQLConnectionIDs>
<dtml-if connectionIsValid>
<dtml-if connected><dtml-else>
<strong>Warning:</strong>
The database connection used by this method is currently not
open.
</dtml-if>
<dtml-else>
<strong>Warning:</strong>
The database connection for this method cannot be found!
</dtml-if>

<form action="manage_edit" method="POST">
<table cellpadding="2" cellspacing="0" width="100%" border="0">
Expand Down Expand Up @@ -42,6 +32,19 @@
&dtml-sequence-key;</option>
</dtml-in>
</select>
<dtml-if connectionIsValid>
<dtml-if connected><dtml-else>
<p style="{color:red;}">
<strong>Warning:</strong>
The database connection used by this method is closed.
</p>
</dtml-if>
<dtml-else>
<p style="{color:red;}">
<strong>Warning:</strong>
The database connection for this method cannot be found!
</p>
</dtml-if>
</div>
</td>
</tr>
Expand Down

0 comments on commit c7c3320

Please sign in to comment.