Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #171 from Jako/master
Browse files Browse the repository at this point in the history
Fixes for 1.0.13
  • Loading branch information
Dmi3yy committed Nov 13, 2013
2 parents 6115aa1 + 60070b1 commit 771dcb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/snippets/wayfinder/wayfinder.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ function fetch($tpl){

function findTemplateVars($tpl) {
preg_match_all('~\[\+([^:]*?)(:|\+\])~', $tpl, $matches);
$TVs = array();
$tvnames = array();
foreach($matches[1] as $tv) {
if (strpos(strtolower($tv), 'phx')===0) continue;
if (strpos(strtolower($tv), 'wf.')===0) continue;
Expand Down
4 changes: 2 additions & 2 deletions manager/actions/mutate_web_user.dynamic.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,15 +419,15 @@ function showHide(what, onoff){
<td>&nbsp;</td>
<td>
<input type="text" id="blockeduntil" name="blockeduntil" class="DatePicker" value="<?php echo isset($_POST['blockeduntil']) ? $_POST['blockeduntil'] : ($userdata['blockeduntil'] ? $modx->toDateFormat($userdata['blockeduntil']):""); ?>" onblur='documentDirty=true;' readonly="readonly">
<a onclick="document.userform.blockeduntil.value=''; return true;" onmouseover="window.status='<?php echo $_lang['remove_date']; ?>'; return true;" onmouseout="window.status=''; return true;" style="cursor:pointer; cursor:hand"><img align="absmiddle" src="<?php echo $_style["cal_nodate"]?>" border="0" alt="<?php echo $_lang['remove_date']; ?>" /></a>
<a onclick="document.userform.blockeduntil.value=''; return true;" onmouseover="window.status='<?php echo $_lang['remove_date']; ?>'; return true;" onmouseout="window.status=''; return true;" style="cursor:pointer; cursor:hand"><img align="absmiddle" src="<?php echo $_style["icons_cal_nodate"]?>" border="0" alt="<?php echo $_lang['remove_date']; ?>" /></a>
</td>
</tr>
<tr>
<td><?php echo $_lang['user_blockedafter']; ?>:</td>
<td>&nbsp;</td>
<td>
<input type="text" id="blockedafter" name="blockedafter" class="DatePicker" value="<?php echo isset($_POST['blockedafter']) ? $_POST['blockedafter'] : ($userdata['blockedafter'] ? $modx->toDateFormat($userdata['blockedafter']):""); ?>" onblur='documentDirty=true;' readonly="readonly">
<a onclick="document.userform.blockedafter.value=''; return true;" onmouseover="window.status='<?php echo $_lang['remove_date']; ?>'; return true;" onmouseout="window.status=''; return true;" style="cursor:pointer; cursor:hand"><img align="absmiddle" src="<?php echo $_style["cal_nodate"]?>" border="0" alt="<?php echo $_lang['remove_date']; ?>" /></a>
<a onclick="document.userform.blockedafter.value=''; return true;" onmouseover="window.status='<?php echo $_lang['remove_date']; ?>'; return true;" onmouseout="window.status=''; return true;" style="cursor:pointer; cursor:hand"><img align="absmiddle" src="<?php echo $_style["icons_cal_nodate"]?>" border="0" alt="<?php echo $_lang['remove_date']; ?>" /></a>
</td>
</tr>
<?php
Expand Down

0 comments on commit 771dcb3

Please sign in to comment.