Skip to content
Permalink
Browse files

changed the pic up/down buttons

  • Loading branch information...
following5 committed Mar 19, 2016
1 parent f169175 commit d60f16af45cf45746f7b7a9b2ca9bccbb8ff874f
Showing with 2 additions and 2 deletions.
  1. +1 −1 htdocs/lang/de/ocstyle/editcache.inc.php
  2. +1 −1 htdocs/templates2/ocstyle/res_logentry_logitem.tpl
@@ -36,7 +36,7 @@
$bad_wpgc_message = '<span class="errormsg">' . t('GC waypoint is invalid, must be GCxxxxx') . '</span>';
$nopictures = '<tr><td colspan="2">' . t('No pictures available') . '</td></tr><tr><td colspan="2">&nbsp;</td></tr>';
$pictureline0 = '<tr><td colspan="2"><a href="{link}">{title}</a> [<a href="picture.php?action=edit&uuid={uuid}">' . t('edit') . '</a>] [<a href="picture.php?action=delete&uuid={uuid}">' . t('delete') . '</a>]</td></tr>';
$pictureline = '<tr><td colspan="2"><a href="{link}">{title}</a> [<a href="picture.php?action=edit&uuid={uuid}">' . t('edit') . '</a>] [<a href="picture.php?action=up&uuid={uuid}" title="' . t('move up') . '">&#x25B2;</a>] [<a href="picture.php?action=delete&uuid={uuid}">' . t('delete') . '</a>]</td></tr>';
$pictureline = '<tr><td colspan="2"><a href="{link}">{title}</a> [<a href="picture.php?action=edit&uuid={uuid}">' . t('edit') . '</a>] [<a href="picture.php?action=delete&uuid={uuid}">' . t('delete') . '</a>] [<a href="picture.php?action=up&uuid={uuid}">' . t('move up') . '</a>]</td></tr>';
// Ocprop: <a href=\"http://.*?\.opencaching\.de/images/uploads/.*?\">(.*?)<\/a>.*?\[<a href=\"picture\.php\?action=[a-z]*?\&uuid=(.*?)\">
$picturelines = '{lines}<tr><td colspan="2">&nbsp;</td></tr>';
$gc_com_msg2 = t('To prevent any problems with geocaching.com we want to please you to upload all linked pictures to %1 as well and link the pictures in the HTML code to these on %1');
@@ -95,8 +95,8 @@
{if $logItem.userid==$login.userid}
&nbsp;
[<a href="picture.php?action=edit&uuid={$pictureItem.uuid|escape}">{t}Edit{/t}</a>]
{if !$smarty.foreach.pictures.first}[<a href="picture.php?action=up&uuid={$pictureItem.uuid|escape}" title="{t}move up{/t}">&#x25B2;</a>]{/if}
[<a href="javascript:if(confirm('{t escape=js}Do you really want to delete this picture?{/t}'))location.href='picture.php?action=delete&uuid={$pictureItem.uuid|escape}'">{t}Delete{/t}</a>]
{if !$smarty.foreach.pictures.first}[<a href="picture.php?action=up&uuid={$pictureItem.uuid|escape}">{t}move up{/t}</a>]{/if}
{/if}
<br />
{/foreach}

0 comments on commit d60f16a

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