From 810515f1a10082ac7bc75550089ce9c40b44b003 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 25 May 2014 22:42:07 -0700 Subject: [PATCH] auto-highlight app embed code on click --- mod/appman.php | 2 +- view/tpl/field_textarea.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/appman.php b/mod/appman.php index a782cb0eb..0cc108079 100644 --- a/mod/appman.php +++ b/mod/appman.php @@ -77,7 +77,7 @@ logger('content'); ); if($r) $app = $r[0]; - $embed = array('embed', t('Embed code'), app_encode($app,true),''); + $embed = array('embed', t('Embed code'), app_encode($app,true),'', 'onclick="this.select();"'); } diff --git a/view/tpl/field_textarea.tpl b/view/tpl/field_textarea.tpl index 98be8f138..b454045c0 100755 --- a/view/tpl/field_textarea.tpl +++ b/view/tpl/field_textarea.tpl @@ -1,5 +1,5 @@
- + {{$field.3}}