Skip to content
Permalink
Browse files

#19937 - fix URL to edit the template

  • Loading branch information...
michield committed May 13, 2019
1 parent d00b68e commit 633331452ce650cb87a6363f2bae80434e235d9e
Showing with 3 additions and 3 deletions.
  1. +3 −3 public_html/lists/admin/templates.php
@@ -47,21 +47,21 @@
$ls->addColumn($element, s('System').Help('systemmessage'),
sprintf('<input type=radio name="systemtemplate" value="%d" %s onchange="document.templates.submit();">',
$row['id'], $row['id'] == $systemtemplate ? 'checked' : ''));
$ls->addColumn($element, s('Action'),
$ls->addColumn($element, s('Action'),
PageLinkDialogOnly(
'viewtemplate&amp;id='.$row['id']
, $GLOBALS['img_view']
).
'<span class="edit">'.
PageLinkButton('template', $GLOBALS['I18N']->get('Edit'), $row['id'], '', s('Edit'))
PageLinkButton('template', $GLOBALS['I18N']->get('Edit'), 'id='.$row['id'], '', s('Edit'))
.'</span>
<span class="delete alignButtons">
<a class="button" href="javascript:deleteRec(\''.PageUrl2('templates', '', 'delete='.$row['id']).'\')" title="'.s('delete').'">'.
s('delete')
.'</a>
</span>'
);
}
echo $ls->display();

0 comments on commit 6333314

Please sign in to comment.
You can’t perform that action at this time.