Skip to content

Commit

Permalink
edited menu to remove old menu style
Browse files Browse the repository at this point in the history
  • Loading branch information
emrysr committed Apr 29, 2019
1 parent 783a493 commit 527ff9a
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions backup-module/backup_menu.php
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
<?php
$domain = "messages";
bindtextdomain($domain, "Modules/admin/locale");
bind_textdomain_codeset($domain, 'UTF-8');
// $domain = "messages";
// bindtextdomain($domain, "Modules/admin/locale");
// bind_textdomain_codeset($domain, 'UTF-8');

$menu_left[] = array(
'id'=>"backup_menu",
'name'=>dgettext($domain, "Backup"),
'path'=>"backup" ,
'session'=>"write",
'order' => 0,
'icon'=>'icon-circle-arrow-down icon-white',
'hideinactive'=>1
);
// $menu_left[] = array(
// 'id'=>"backup_menu",
// 'name'=>dgettext($domain, "Backup"),
// 'path'=>"backup" ,
// 'session'=>"write",
// 'order' => 0,
// 'icon'=>'icon-circle-arrow-down icon-white',
// 'hideinactive'=>1
// );

$menu_dropdown_config[] = array(
'id'=>"backup_menu_extras",
'name'=>dgettext($domain, "Backup"),
'path'=>"backup" ,
'session'=>"write",
'order' => 55,
'icon'=>'icon-circle-arrow-down'
);
// $menu_dropdown_config[] = array(
// 'id'=>"backup_menu_extras",
// 'name'=>dgettext($domain, "Backup"),
// 'path'=>"backup" ,
// 'session'=>"write",
// 'order' => 55,
// 'icon'=>'icon-circle-arrow-down'
// );

$menu['setup'][] = array(
'text' => _("Backup"),
'path' => 'backup',
'icon' => 'box-add',
'order' => 1
);


);

0 comments on commit 527ff9a

Please sign in to comment.