Permalink
Browse files

Webadmin: Show instructions on how to use networks in Add Network too

not only in Edit Network
  • Loading branch information...
1 parent cf8925c commit c06f95b452bba952c14a973a5c5c9e622f8acef8 @DarthGandalf DarthGandalf committed Dec 2, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 modules/data/webadmin/tmpl/add_edit_network.tmpl
@@ -1,11 +1,9 @@
<? AddRow JSLoop HREF=/modfiles/global/webadmin/webadmin.js ?>
<? INC Header.tmpl ?>
-<? IF Edit ?>
<div class="section">
- <p>To connect to this network from your IRC client, you can set the server password field as follows: <code><? VAR Username ?>/<? VAR Name ?>:&lt;password&gt;</code> or username field as <code><? VAR Username ?>/<? VAR Name ?></code></p>
+ <p>To connect to this network from your IRC client, you can set the server password field as follows: <code><? VAR Username ?>/<? IF Edit ?><? VAR Name ?><? ELSE ?>&lt;network&gt;<? ENDIF ?>:&lt;password&gt;</code> or username field as <code><? VAR Username ?>/<? IF Edit ?><? VAR Name ?><? ELSE ?>&lt;network&gt;<? ENDIF ?></code></p>
</div>
-<? ENDIF ?>
<form action="<? IF Edit ?>editnetwork<? ELSE ?>addnetwork<? ENDIF ?>" method="post">
<? INC _csrf_check.tmpl ?>

0 comments on commit c06f95b

Please sign in to comment.