Last active
November 27, 2021 13:03
-
-
Save jclarke/92cb1e0d6f312872690f3c2b4be86bf7 to your computer and use it in GitHub Desktop.
Revisions
-
jclarke revised this gist
May 23, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,10 @@ <?php add_hook('AdminLogin', 1, function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now()->timestamp; }); add_hook('AdminAreaHeadOutput', 1, function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now()->timestamp; return ' <script type="text/javascript"> $(document).ready(function(){ -
jclarke revised this gist
Feb 27, 2017 . 1 changed file with 9 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,17 +2,16 @@ add_hook('AdminLogin', 1, function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now(); }); add_hook('AdminAreaHeadOutput', 1, function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now(); return ' <script type="text/javascript"> $(document).ready(function(){ if ($("input[name=\'authconfirm\']").val() == 1) { location.reload(); } }); </script> '; }); ?> -
jclarke revised this gist
Feb 27, 2017 . 1 changed file with 16 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,18 @@ <?php add_hook('AdminLogin', 1, function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now(); }); add_hook('AdminAreaHeadOutput', 1, function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now(); return ' <script type="text/javascript"> $(document).ready(function(){ if ($("input[name=\'authconfirm\']").val() == 1) { location.reload(); } }); </script> '; }); ?> -
jclarke revised this gist
Feb 27, 2017 . 1 changed file with 8 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,10 @@ <?php add_hook('AdminLogin', 1, function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now(); }); add_hook('AdminAreaHeaderOutput',1,function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now(); }); ?> -
jclarke revised this gist
Feb 27, 2017 . No changes.There are no files selected for viewing
-
jclarke revised this gist
Feb 27, 2017 . No changes.There are no files selected for viewing
-
jclarke created this gist
Feb 27, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ <?php add_hook('AdminLogin', 1, function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now(); }); add_hook('AdminAreaHeaderOutput',1,function($vars) { $_SESSION["AuthConfirmationTimestamp"] = \Carbon\Carbon::now(); }); ?>