datetime added to placeholder text for search

master
moneroexamples 8 years ago
parent 7554cb4adc
commit 0a415a466c

@ -2333,7 +2333,7 @@ namespace xmreg {
mylmdb = make_unique<xmreg::MyLMDB>(lmdb2_path); mylmdb = make_unique<xmreg::MyLMDB>(lmdb2_path);
// check if date given in format: 2005-04-55 12:02:33 // check if date given in format: 2015-04-15 12:02:33
// this is 19 characters // this is 19 characters
if (search_text.length() == 19) if (search_text.length() == 19)
{ {

@ -26,7 +26,7 @@
<div class="center"> <div class="center">
<form action="/search" method="get" style="width:100%; margin-top:15px" class="style-1"> <form action="/search" method="get" style="width:100%; margin-top:15px" class="style-1">
<input type="text" name="value" size="100" <input type="text" name="value" size="100"
placeholder="blk height, blk hash, tx hash, tx payment id, encrypted payment id, tx public key, input key image, and stealth address"> placeholder="blk height, blk hash, tx hash, tx payment id, encrypted payment id, tx public key, input key image, stealth address, and datetime">
<input type="submit" value="Search"> <input type="submit" value="Search">
</form> </form>
</div> </div>

Loading…
Cancel
Save