I hereby claim:
- I am mpstenson on github.
- I am mpstenson (https://keybase.io/mpstenson) on keybase.
- I have a public key ASBIAZwRpGeCVY8qjlnM2QXzpyCMiDvpDxyzkiho7thMiwo
To claim this, I am signing this object:
| if (cMULTIPORTAL == 1) { | |
| //if in secondary portal id 1 load adLDAP-1.php | |
| require_once("adLDAP-1.php"); | |
| } | |
| else{ | |
| //if we are not in a secondary portal load the default file. | |
| require_once("adLDAP.php"); | |
| } |
| SELECT HS_Request.xRequest, | |
| Cast(Floor(Round((ClosedEvents.ClosedTime-dtGMTOpened) / 60.0, 0) * 60 / | |
| 86400) | |
| AS VARCHAR(10)) | |
| + 'd ' | |
| + CONVERT(VARCHAR(5), Dateadd(second, | |
| Round((ClosedEvents.ClosedTime-dtGMTOpened) / 60.0, 0) * 60, '19000101'), | |
| 8) AS | |
| opentime | |
| FROM HS_Request |
| $jq(document).ready(function(){ | |
| $jq(document.body).on('change', '#Custom2' ,function(){ | |
| { | |
| $jq("#sUserId").val($jq("#Custom2").val()); | |
| }}); | |
| }); |
| <?php if ($this->hd_allowSubject): ?> | |
| <p><label for="sCC" class="datalabel"><?php echo lg_portal_req_subject ?></label><br /> | |
| <?php echo $this->helper->showError('sTitle','<br />') ?> | |
| <input type="text" name="sTitle" size="40" maxlength="250" value="<?php echo $this->request_sTitle ?>" /> | |
| </p> | |
| <?php endif; ?> |
| <?php if ($this->hd_allowCc): ?> | |
| <p><label for="sCC" class="datalabel"><?php echo lg_portal_req_cc_email ?></label><br /> | |
| <?php echo $this->helper->showError('sCC','<br />') ?> | |
| <input type="text" name="sCC" size="40" maxlength="250" value="<?php echo $this->request_sCC ?>" /> | |
| </p> | |
| <?php endif; ?> |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| switch($this->get_page){ | |
| case "home": | |
| include $this->loadTemplate('home.tpl.php'); | |
| break; | |
| case "request": | |
| if($this->splugin('Request_Check','isLoggedIn')){ | |
| include $this->loadTemplate('request.tpl.php'); | |
| } |
| <?php | |
| //Set page title | |
| $this->assign('pg_title',$this->get_id . ' : ' . lg_portal_checkrequest); | |
| include $this->loadTemplate('header.tpl.php'); | |
| include $this->loadTemplate('navigation.tpl.php'); | |
| ?> | |
| <?php if($this->splugin('Request_Check','accessKeyIsValid',$this->get_id)): ?> | |
| <h1><?php echo lg_portal_accessidheader ?> : <?php echo $this->get_id ?></h1> |
| dateadd(MINUTE,10,dateadd(S, Custom1, '1970-01-01')) < GETUTCDATE() and Custom1 <> 0; |
| var analytics_script=document.createElement('script'); | |
| analytics_script.type='text/javascript'; | |
| analytics_script.text="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-xxxxxxxx-x', {'siteSpeedSampleRate': 100});ga('send', 'pageview');"; | |
| document.head.appendChild(analytics_script); |