Skip to content

Commit

Permalink
#19937 - fix URL to edit the template
Browse files Browse the repository at this point in the history
  • Loading branch information
michield committed May 13, 2019
1 parent d00b68e commit 6333314
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public_html/lists/admin/templates.php
Expand Up @@ -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();

Expand Down

0 comments on commit 6333314

Please sign in to comment.