diff options
author | friendica <info@friendica.com> | 2014-05-25 22:42:07 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-25 22:42:07 -0700 |
commit | 810515f1a10082ac7bc75550089ce9c40b44b003 (patch) | |
tree | 7155e99b5a5b67f18cb7299ea593094bab5baaac | |
parent | 03e2d2ee8f048faa3328a2fdbb6c252726284db4 (diff) | |
download | volse-hubzilla-810515f1a10082ac7bc75550089ce9c40b44b003.tar.gz volse-hubzilla-810515f1a10082ac7bc75550089ce9c40b44b003.tar.bz2 volse-hubzilla-810515f1a10082ac7bc75550089ce9c40b44b003.zip |
auto-highlight app embed code on click
-rw-r--r-- | mod/appman.php | 2 | ||||
-rwxr-xr-x | 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 @@ <div class='field textarea'> <label for='id_{{$field.0}}'>{{$field.1}}</label> - <textarea name='{{$field.0}}' id='id_{{$field.0}}'>{{$field.2}}</textarea> + <textarea name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.4}}{{$field.4}}{{/if}} >{{$field.2}}</textarea> <span class='field_help'>{{$field.3}}</span> </div> |