from olivier: use double quotes in js strings, updated FR translation
from me: provide future ability to have an optional edit link/icon next to menus (such as bookmarks)
This commit is contained in:
parent
c80325b427
commit
63589d4f2e
@ -24,7 +24,7 @@ function menu_fetch($name,$uid,$observer_xchan) {
|
||||
return null;
|
||||
}
|
||||
|
||||
function menu_render($menu) {
|
||||
function menu_render($menu, $edit = false) {
|
||||
if(! $menu)
|
||||
return '';
|
||||
|
||||
@ -38,6 +38,7 @@ function menu_render($menu) {
|
||||
|
||||
return replace_macros(get_markup_template('usermenu.tpl'),array(
|
||||
'$menu' => $menu['menu'],
|
||||
'$edit' => $edit,
|
||||
'$items' => $menu['items']
|
||||
));
|
||||
}
|
||||
|
@ -47,6 +47,7 @@ function directory_content(&$a) {
|
||||
$tpl = get_markup_template('directory_header.tpl');
|
||||
|
||||
|
||||
|
||||
$dirmode = intval(get_config('system','directory_mode'));
|
||||
|
||||
if(($dirmode == DIRECTORY_MODE_PRIMARY) || ($dirmode == DIRECTORY_MODE_STANDALONE)) {
|
||||
|
11806
view/fr/messages.po
11806
view/fr/messages.po
File diff suppressed because it is too large
Load Diff
2827
view/fr/strings.php
2827
view/fr/strings.php
File diff suppressed because it is too large
Load Diff
@ -2,33 +2,33 @@
|
||||
|
||||
var aStr = {
|
||||
|
||||
'delitem' : '{{$delitem}}',
|
||||
'comment' : '{{$comment}}',
|
||||
'showmore' : '{{$showmore}}',
|
||||
'showfewer' : '{{$showfewer}}',
|
||||
'pwshort' : '{{$pwshort}}',
|
||||
'pwnomatch' : '{{$pwnomatch}}',
|
||||
'everybody' : '{{$everybody}}',
|
||||
'passphrase' : '{{$passphrase}}',
|
||||
'passhint' : '{{$passhint}}',
|
||||
'delitem' : "{{$delitem}}",
|
||||
'comment' : "{{$comment}}",
|
||||
'showmore' : "{{$showmore}}",
|
||||
'showfewer' : "{{$showfewer}}",
|
||||
'pwshort' : "{{$pwshort}}",
|
||||
'pwnomatch' : "{{$pwnomatch}}",
|
||||
'everybody' : "{{$everybody}}",
|
||||
'passphrase' : "{{$passphrase}}",
|
||||
'passhint' : "{{$passhint}}",
|
||||
|
||||
't01' : {{$t01}},
|
||||
't02' : {{$t02}},
|
||||
't03' : '{{$t03}}',
|
||||
't04' : '{{$t04}}',
|
||||
't05' : '{{$t05}}',
|
||||
't06' : '{{$t06}}',
|
||||
't07' : '{{$t07}}',
|
||||
't08' : '{{$t08}}',
|
||||
't09' : '{{$t09}}',
|
||||
't10' : '{{$t10}}',
|
||||
't11' : '{{$t11}}',
|
||||
't12' : '{{$t12}}',
|
||||
't13' : '{{$t13}}',
|
||||
't14' : '{{$t14}}',
|
||||
't15' : '{{$t15}}',
|
||||
't16' : '{{$t16}}',
|
||||
't17' : '{{$t17}}',
|
||||
't03' : "{{$t03}}",
|
||||
't04' : "{{$t04}}",
|
||||
't05' : "{{$t05}}",
|
||||
't06' : "{{$t06}}",
|
||||
't07' : "{{$t07}}",
|
||||
't08' : "{{$t08}}",
|
||||
't09' : "{{$t09}}",
|
||||
't10' : "{{$t10}}",
|
||||
't11' : "{{$t11}}",
|
||||
't12' : "{{$t12}}",
|
||||
't13' : "{{$t13}}",
|
||||
't14' : "{{$t14}}",
|
||||
't15' : "{{$t15}}",
|
||||
't16' : "{{$t16}}",
|
||||
't17' : "{{$t17}}",
|
||||
};
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user