Skip to content
This repository was archived by the owner on Feb 2, 2018. It is now read-only.

Commit a586d81

Browse files
committed
Update navigation and ribs.sql to add target in navigation for module
1 parent c30c69d commit a586d81

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/Navigation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private function getSousMenu($id_page) {
8989

9090
if (is_array($query) && (count($query) > 0)) {
9191
foreach ($query as $obj) {
92-
$sous_menu[] = [$obj->ID_page, $obj->titre, $obj->url, $obj->target, $obj->balise_title, "page"];
92+
$sous_menu[] = [$obj->ID_page, $obj->titre, $obj->url, $obj->balise_title, "page", $obj->target];
9393
}
9494
}
9595

ribs.sql

+2-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ CREATE TABLE IF NOT EXISTS `module` (
194194
`mettre_jour` int(1) DEFAULT NULL,
195195
`delete_old_version` int(1) DEFAULT NULL,
196196
`icone` varchar(255) DEFAULT NULL,
197-
`url_telechargement` varchar(255) NOT NULL
197+
`url_telechargement` varchar(255) NOT NULL,
198+
`target` varchar(100) DEFAULT NULL
198199
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
199200

200201
-- --------------------------------------------------------

0 commit comments

Comments
 (0)