Revision: 2002
http://mrbs.svn.sourceforge.net/mrbs/?rev=2002&view=rev
Author: cimorrison
Date: 2011-09-23 13:47:12 +0000 (Fri, 23 Sep 2011)
Log Message:
-----------
Added a Back button to the Add/Edit users form
Modified Paths:
--------------
mrbs/trunk/web/edit_users.php
Modified: mrbs/trunk/web/edit_users.php
===================================================================
--- mrbs/trunk/web/edit_users.php 2011-09-23 11:18:22 UTC (rev 2001)
+++ mrbs/trunk/web/edit_users.php 2011-09-23 13:47:12 UTC (rev 2002)
@@ -548,6 +548,16 @@
echo "</div>\n";
echo "</form>\n";
}
+ // otherwise (ie when adding, or else editing when not an admin) give
them a cancel button
+ // which takes them back to the user list and does nothing
+ else
+ {
+ echo "<form id=\"form_delete_users\" method=\"post\" action=\"" .
htmlspecialchars(basename($PHP_SELF)) . "\">\n";
+ echo "<div>\n";
+ echo "<input class=\"submit\" type=\"submit\" value=\"" .
get_vocab("back") . "\">\n";
+ echo "</div>\n";
+ echo "</form>\n";
+ }
?>
</div>
<?php
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits