-- Allow themes to specify an "app" name for posted status updates and comments (via a generic and translateable $sourceapp parameter)

-- More HTML cleanup in TPL files
-- Various Frost bug fixes and tweaks
This commit is contained in:
Zach Prezkuta 2012-08-04 14:01:16 -06:00
parent 0c67649c08
commit 63628910b2
17 changed files with 56 additions and 34 deletions

View file

@ -703,6 +703,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
'$edurl' => t('Link'),
'$edvideo' => t('Video'),
'$preview' => t('Preview'),
'$sourceapp' => t($a->sourcename),
'$ww' => (($mode === 'network') ? $commentww : '')
));
}
@ -1163,7 +1164,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
'$bang' => $x['bang'],
'$profile_uid' => $x['profile_uid'],
'$preview' => t('Preview'),
'$mobileapp' => t('Friendica mobile web'),
'$sourceapp' => t($a->sourcename),
));