Changeset:
5d812c09bdc1
https://sourceforge.net/p/mrbs/hg-code/ci/5d812c09bdc1e048c4d22ad772763838756ac51e
Author:
Campbell Morrison <[email protected]>
Date:
Sun Aug 14 10:37:30 2016 +0100
Log message:
replaced the value of the login Submit button with the WordPress text.
diffstat:
web/session/session_wordpress.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 473376989314 -r 5d812c09bdc1 web/session/session_wordpress.inc
--- a/web/session/session_wordpress.inc Sun Aug 14 10:26:27 2016 +0100
+++ b/web/session/session_wordpress.inc Sun Aug 14 10:37:30 2016 +0100
@@ -85,7 +85,7 @@
global $HTTP_REFERER;
global $returl;
- // __() is a WordPress function
+ // __() and esc_attr__() are WordPress functions
echo '<form class="form_general" id="logon" method="post" action="' .
htmlspecialchars(this_page()) . "\">\n";
echo "<fieldset>\n";
@@ -111,7 +111,7 @@
echo '<input type="hidden" name="TargetURL" value="' .
htmlspecialchars($TargetURL) ."\">\n";
echo "<input type=\"hidden\" name=\"Action\" value=\"SetName\">\n";
echo "<div id=\"logon_submit\">\n";
- echo '<input class="submit" type="submit" value="' . get_vocab('login') .
"\">\n";
+ echo '<input class="submit" type="submit" value="' . esc_attr__('Log In') .
"\">\n";
echo "</div>\n";
echo "</fieldset>\n";
echo "</form>\n";
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits