aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/diaspora.php2
-rw-r--r--include/menu.php20
-rw-r--r--mod/mitem.php22
-rw-r--r--util/messages.po106
-rw-r--r--version.inc2
-rw-r--r--view/css/bootstrap-red.css5
-rw-r--r--view/css/widgets.css4
-rw-r--r--view/de/htconfig.tpl2
-rw-r--r--view/de/messages.po86
-rw-r--r--view/de/strings.php44
-rw-r--r--view/de/update_fail_eml.tpl2
-rw-r--r--view/tpl/menuedit.tpl1
-rw-r--r--view/tpl/mitemedit.tpl7
-rw-r--r--view/tpl/usermenu.tpl9
14 files changed, 186 insertions, 126 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index acdddd0ef..c9efffc32 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -2430,7 +2430,7 @@ function diaspora_send_status($item,$owner,$contact,$public_batch = false) {
if($item['item_flags'] & ITEM_CONSENSUS) {
$poll = replace_macros(get_markup_template('diaspora_consensus.tpl'), array(
'$guid_q' => random_string(),
- '$question' => '',
+ '$question' => t('Please choose'),
'$guid_y' => random_string(),
'$agree' => t('Agree'),
'$guid_n' => random_string(),
diff --git a/include/menu.php b/include/menu.php
index a2e91f7ed..5c0811437 100644
--- a/include/menu.php
+++ b/include/menu.php
@@ -29,17 +29,33 @@ function menu_render($menu, $class='', $edit = false, $var = '') {
if(! $menu)
return '';
+ $channel_id = ((is_array(get_app()->profile)) ? get_app()->profile['profile_uid'] : 0);
+ $menu_list = menu_list($channel_id);
+
+ foreach($menu_list as $menus) {
+ if($menus['menu_name'] != $menu['menu']['menu_name'])
+ $menu_names[] = $menus['menu_name'];
+ }
+
for($x = 0; $x < count($menu['items']); $x ++) {
+ if(in_array($menu['items'][$x]['mitem_link'], $menu_names)) {
+ $m = menu_fetch($menu['items'][$x]['mitem_link'], $channel_id, get_observer_hash());
+ $submenu = menu_render($m, 'dropdown-menu', $edit = false, $var = array('wrap' => 'none'));
+ $menu['items'][$x]['submenu'] = $submenu;
+ }
+
if($menu['items'][$x]['mitem_flags'] & MENU_ITEM_ZID)
$menu['items'][$x]['mitem_link'] = zid($menu['items'][$x]['mitem_link']);
+
if($menu['items'][$x]['mitem_flags'] & MENU_ITEM_NEWWIN)
$menu['items'][$x]['newwin'] = '1';
+
$menu['items'][$x]['mitem_desc'] = bbcode($menu['items'][$x]['mitem_desc']);
}
$wrap = (($var['wrap'] === 'none') ? false : true);
- return replace_macros(get_markup_template('usermenu.tpl'),array(
+ $ret = replace_macros(get_markup_template('usermenu.tpl'),array(
'$menu' => $menu['menu'],
'$class' => $class,
'$edit' => (($edit) ? t("Edit") : ''),
@@ -47,6 +63,8 @@ function menu_render($menu, $class='', $edit = false, $var = '') {
'$items' => $menu['items'],
'$wrap' => $wrap
));
+
+ return $ret;
}
diff --git a/mod/mitem.php b/mod/mitem.php
index 6235987a6..a95487e37 100644
--- a/mod/mitem.php
+++ b/mod/mitem.php
@@ -124,6 +124,13 @@ function mitem_content(&$a) {
$m = menu_fetch($a->data['menu']['menu_name'],$uid,$ob_hash);
$a->data['menu_item'] = $m;
+ $menu_list = menu_list($uid);
+
+ foreach($menu_list as $menus) {
+ if($menus['menu_name'] != $m['menu']['menu_name'])
+ $menu_names[] = $menus['menu_name'];
+ }
+
$perm_defaults = array(
'allow_cid' => $channel['channel_allow_cid'],
'allow_gid' => $channel['channel_allow_gid'],
@@ -152,14 +159,15 @@ function mitem_content(&$a) {
'$permdesc' => t("\x28click to open/close\x29"),
'$aclselect' => populate_acl($perm_defaults,false),
'$mitem_desc' => array('mitem_desc', t('Link Name'), '', 'Visible name of the link','*'),
- '$mitem_link' => array('mitem_link', t('Link Target'), '', 'URL of the link', '*'),
- '$usezid' => array('usezid', t('Use Hubzilla magic-auth if available'), true, ''),
+ '$mitem_link' => array('mitem_link', t('Link or Submenu Target'), '', 'Enter URL of the link or select a menu name to create a submenu', '*', 'list="menu-names"'),
+ '$usezid' => array('usezid', t('Use magic-auth if available'), true, ''),
'$newwin' => array('newwin', t('Open link in new window'), false,''),
'$mitem_order' => array('mitem_order', t('Order in list'),'0',t('Higher numbers will sink to bottom of listing')),
'$submit' => t('Submit and finish'),
'$submit_more' => t('Submit and continue'),
'$display' => $display,
- '$lockstate' => $lockstate
+ '$lockstate' => $lockstate,
+ '$menu_names' => $menu_names
));
$o .= replace_macros(get_markup_template('mitemlist.tpl'),array(
@@ -222,12 +230,18 @@ function mitem_content(&$a) {
'$aclselect' => populate_acl($mitem,false),
'$mitem_id' => intval(argv(2)),
'$mitem_desc' => array('mitem_desc', t('Link text'), $mitem['mitem_desc'], '','*'),
+<<<<<<< HEAD
'$mitem_link' => array('mitem_link', t('URL of link'), $mitem['mitem_link'], '', '*'),
'$usezid' => array('usezid', t('Use Hubzilla magic-auth if available'), (($mitem['mitem_flags'] & MENU_ITEM_ZID) ? 1 : 0), ''),
+=======
+ '$mitem_link' => array('mitem_link', t('Link or Submenu Target'), $mitem['mitem_link'], 'Enter URL of the link or select a menu name to create a submenu', '*', 'list="menu-names"'),
+ '$usezid' => array('usezid', t('Use RedMatrix magic-auth if available'), (($mitem['mitem_flags'] & MENU_ITEM_ZID) ? 1 : 0), ''),
+>>>>>>> 2cb8b19972eb6a023eca1297f281ef9f68934c64
'$newwin' => array('newwin', t('Open link in new window'), (($mitem['mitem_flags'] & MENU_ITEM_NEWWIN) ? 1 : 0),''),
'$mitem_order' => array('mitem_order', t('Order in list'),$mitem['mitem_order'],t('Higher numbers will sink to bottom of listing')),
'$submit' => t('Submit'),
- '$lockstate' => $lockstate
+ '$lockstate' => $lockstate,
+ '$menu_names' => $menu_names
));
return $o;
diff --git a/util/messages.po b/util/messages.po
index 9a3a96adf..095dda543 100644
--- a/util/messages.po
+++ b/util/messages.po
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: 2015-05-01.1019\n"
+"Project-Id-Version: 2015-05-08.1026\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-05-01 00:03-0700\n"
+"POT-Creation-Date: 2015-05-08 00:03-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -2336,49 +2336,6 @@ msgstr ""
msgid "%1$s has an updated %2$s, changing %3$s."
msgstr ""
-#: ../../include/bbcode.php:122 ../../include/bbcode.php:743
-#: ../../include/bbcode.php:746 ../../include/bbcode.php:751
-#: ../../include/bbcode.php:754 ../../include/bbcode.php:757
-#: ../../include/bbcode.php:760 ../../include/bbcode.php:765
-#: ../../include/bbcode.php:768 ../../include/bbcode.php:773
-#: ../../include/bbcode.php:776 ../../include/bbcode.php:779
-#: ../../include/bbcode.php:782
-msgid "Image/photo"
-msgstr ""
-
-#: ../../include/bbcode.php:161 ../../include/bbcode.php:793
-msgid "Encrypted content"
-msgstr ""
-
-#: ../../include/bbcode.php:177
-msgid "Install design element: "
-msgstr ""
-
-#: ../../include/bbcode.php:190
-msgid "QR code"
-msgstr ""
-
-#: ../../include/bbcode.php:241
-#, php-format
-msgid "%1$s wrote the following %2$s %3$s"
-msgstr ""
-
-#: ../../include/bbcode.php:243
-msgid "post"
-msgstr ""
-
-#: ../../include/bbcode.php:493
-msgid "Different viewers will see this text differently"
-msgstr ""
-
-#: ../../include/bbcode.php:704
-msgid "$1 spoiler"
-msgstr ""
-
-#: ../../include/bbcode.php:731
-msgid "$1 wrote:"
-msgstr ""
-
#: ../../include/items.php:399 ../../mod/like.php:270
#: ../../mod/subthread.php:49 ../../mod/group.php:68 ../../mod/profperm.php:23
#: ../../mod/bulksetclose.php:11 ../../index.php:392
@@ -3104,6 +3061,49 @@ msgid_plural "Abstains"
msgstr[0] ""
msgstr[1] ""
+#: ../../include/bbcode.php:122 ../../include/bbcode.php:743
+#: ../../include/bbcode.php:746 ../../include/bbcode.php:751
+#: ../../include/bbcode.php:754 ../../include/bbcode.php:757
+#: ../../include/bbcode.php:760 ../../include/bbcode.php:765
+#: ../../include/bbcode.php:768 ../../include/bbcode.php:773
+#: ../../include/bbcode.php:776 ../../include/bbcode.php:779
+#: ../../include/bbcode.php:782
+msgid "Image/photo"
+msgstr ""
+
+#: ../../include/bbcode.php:161 ../../include/bbcode.php:793
+msgid "Encrypted content"
+msgstr ""
+
+#: ../../include/bbcode.php:177
+msgid "Install design element: "
+msgstr ""
+
+#: ../../include/bbcode.php:190
+msgid "QR code"
+msgstr ""
+
+#: ../../include/bbcode.php:241
+#, php-format
+msgid "%1$s wrote the following %2$s %3$s"
+msgstr ""
+
+#: ../../include/bbcode.php:243
+msgid "post"
+msgstr ""
+
+#: ../../include/bbcode.php:493
+msgid "Different viewers will see this text differently"
+msgstr ""
+
+#: ../../include/bbcode.php:704
+msgid "$1 spoiler"
+msgstr ""
+
+#: ../../include/bbcode.php:731
+msgid "$1 wrote:"
+msgstr ""
+
#: ../../include/photos.php:94
#, php-format
msgid "Image exceeds website size limit of %lu bytes"
@@ -3847,6 +3847,22 @@ msgstr ""
msgid "Room is full"
msgstr ""
+#: ../../include/diaspora.php:2433
+msgid "Please choose"
+msgstr ""
+
+#: ../../include/diaspora.php:2435
+msgid "Agree"
+msgstr ""
+
+#: ../../include/diaspora.php:2437
+msgid "Disagree"
+msgstr ""
+
+#: ../../include/diaspora.php:2439
+msgid "Abstain"
+msgstr ""
+
#: ../../mod/achievements.php:34
msgid "Some blurb about what to do when you're new here"
msgstr ""
diff --git a/version.inc b/version.inc
index 438fb54f0..387119390 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2015-05-05.1023
+2015-05-10.1028
diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css
index 1d3c329ec..c6d99e7ae 100644
--- a/view/css/bootstrap-red.css
+++ b/view/css/bootstrap-red.css
@@ -56,6 +56,11 @@ nav .navbar-toggle {
/* nav overrides end */
+
+aside .nav-pills > li > a {
+ padding: 6px 10px;
+}
+
.dropdown-menu img {
float: left;
width: 32px;
diff --git a/view/css/widgets.css b/view/css/widgets.css
index 566dd2b8a..0a901b1f9 100644
--- a/view/css/widgets.css
+++ b/view/css/widgets.css
@@ -7,10 +7,6 @@
margin-top: 0px;
}
-.widget .nav-pills > li > a {
- padding: 6px 10px;
-}
-
.widget-input {
width: 100%;
border-top-right-radius: 0px;
diff --git a/view/de/htconfig.tpl b/view/de/htconfig.tpl
index 928694769..550b018fe 100644
--- a/view/de/htconfig.tpl
+++ b/view/de/htconfig.tpl
@@ -30,7 +30,7 @@ $default_timezone = '{{$timezone}}';
// What is your site name?
$a->config['system']['baseurl'] = '{{$siteurl}}';
-$a->config['system']['sitename'] = "Hubzilla";
+$a->config['system']['sitename'] = "Red Matrix";
$a->config['system']['location_hash'] = '{{$site_id}}';
diff --git a/view/de/messages.po b/view/de/messages.po
index 506a6a4fa..ef27fd162 100644
--- a/view/de/messages.po
+++ b/view/de/messages.po
@@ -1,5 +1,5 @@
-# Hubzilla Project
-# Copyright (C) 2012-2014 the Hubzilla Project
+# Red Matrix Project
+# Copyright (C) 2012-2014 the Red Matrix Project
# This file is distributed under the same license as the Red package.
#
# Translators:
@@ -24,7 +24,7 @@
# sasiflo <transiflex@sasiflo.de>, 2014
msgid ""
msgstr ""
-"Project-Id-Version: Hubzilla\n"
+"Project-Id-Version: Red Matrix\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-20 00:04-0800\n"
"PO-Revision-Date: 2015-02-27 09:55+0000\n"
@@ -394,12 +394,12 @@ msgid "Public Hubs"
msgstr "Öffentliche Hubs"
#: ../../include/enotify.php:41
-msgid "Hubzilla Notification"
-msgstr "Hubzilla Benachrichtigung"
+msgid "Red Matrix Notification"
+msgstr "Red Matrix Benachrichtigung"
#: ../../include/enotify.php:42
-msgid "hubzilla"
-msgstr "hubzilla"
+msgid "redmatrix"
+msgstr "redmatrix"
#: ../../include/enotify.php:44
msgid "Thank You,"
@@ -2069,8 +2069,8 @@ msgid "l F d, Y \\@ g:i A"
msgstr "l, d. F Y, H:i"
#: ../../include/bb2diaspora.php:430
-msgid "Hubzilla event notification:"
-msgstr "Hubzilla Termin-Benachrichtigung:"
+msgid "Redmatrix event notification:"
+msgstr "RedMatrix Termin-Benachrichtigung:"
#: ../../include/bb2diaspora.php:434 ../../include/event.php:20
msgid "Starts:"
@@ -2656,7 +2656,7 @@ msgstr "Nur für Dich sichtbar."
#: ../../include/items.php:1185
msgid "Visible to anybody in this network."
-msgstr "Für jedes Mitglied der Hubzilla sichtbar."
+msgstr "Für jedes Mitglied der RedMatrix sichtbar."
#: ../../include/items.php:1187
msgid "Visible to anybody authenticated."
@@ -4313,8 +4313,8 @@ msgid "Currently pending"
msgstr "Derzeit anstehend"
#: ../../mod/home.php:48
-msgid "Hubzilla - &quot;The Network&quot;"
-msgstr "Hubzilla – &quot;Das Netzwerk&quot;"
+msgid "Red Matrix - &quot;The Network&quot;"
+msgstr "RedMatrix – &quot;Das Netzwerk&quot;"
#: ../../mod/home.php:101
#, php-format
@@ -4386,8 +4386,8 @@ msgid "Fetching URL returns error: %1$s"
msgstr "Abrufen der URL gab einen Fehler zurück: %1$s"
#: ../../mod/dav.php:121
-msgid "Hubzilla channel"
-msgstr "Hubzilla-Kanal"
+msgid "RedMatrix channel"
+msgstr "RedMatrix-Kanal"
#: ../../mod/profile_photo.php:108
msgid "Image uploaded but image cropping failed."
@@ -4611,7 +4611,7 @@ msgstr "Öffentliche Server"
#: ../../mod/pubsites.php:19
msgid ""
-"The listed sites allow public registration into the Hubzilla. All sites in"
+"The listed sites allow public registration into the Red Matrix. All sites in"
" the matrix are interlinked so membership on any of them conveys membership "
"in the matrix as a whole. Some sites may require subscription or provide "
"tiered service plans. The provider links <strong>may</strong> provide "
@@ -5225,8 +5225,8 @@ msgid "Remove this channel"
msgstr "Diesen Kanal löschen"
#: ../../mod/cloud.php:120
-msgid "Hubzilla - Guests: Username: {your email address}, Password: +++"
-msgstr "Hubzilla – Gäste: Username: {Deine E-Mail-Adresse}, Passwort: +++"
+msgid "RedMatrix - Guests: Username: {your email address}, Password: +++"
+msgstr "RedMatrix – Gäste: Username: {Deine E-Mail-Adresse}, Passwort: +++"
#: ../../mod/tagrm.php:44 ../../mod/tagrm.php:94
msgid "Tag removed"
@@ -5311,9 +5311,9 @@ msgstr "Red"
#: ../../mod/siteinfo.php:137
msgid ""
-"This is a hub of the Hubzilla - a global cooperative network of "
+"This is a hub of the Red Matrix - a global cooperative network of "
"decentralized privacy enhanced websites."
-msgstr "Dieser Hub ist Teil der Hubzilla – eines globalen, kooperativen Netzwerks aus dezentralen Websites, die Rücksicht auf Deine Privatsphäre nehmen."
+msgstr "Dieser Hub ist Teil der RedMatrix – eines globalen, kooperativen Netzwerks aus dezentralen Websites, die Rücksicht auf Deine Privatsphäre nehmen."
#: ../../mod/siteinfo.php:139
msgid "Tag: "
@@ -5329,9 +5329,9 @@ msgstr "Erreichbar unter der Web-Adresse"
#: ../../mod/siteinfo.php:145
msgid ""
-"Please visit <a href=\"https://redmatrix.me\">Redmatrix.me</a> to learn more"
-" about the Hubzilla."
-msgstr "Bitte besuchen Sie <a href=\"https://redmatrix.me\">Redmatrix.me</a>, um mehr über Hubzilla zu erfahren."
+"Please visit <a href=\"https://redmatrix.me\">RedMatrix.me</a> to learn more"
+" about the Red Matrix."
+msgstr "Bitte besuchen Sie <a href=\"https://redmatrix.me\">RedMatrix.me</a>, um mehr über RedMatrix zu erfahren."
#: ../../mod/siteinfo.php:146
msgid "Bug reports and issues: please visit"
@@ -5339,9 +5339,9 @@ msgstr "Probleme oder Fehler gefunden? Bitte besuche"
#: ../../mod/siteinfo.php:149
msgid ""
-"Suggestions, praise, etc. - please email \"hubzilla\" at librelist - dot "
+"Suggestions, praise, etc. - please email \"redmatrix\" at librelist - dot "
"com"
-msgstr "Vorschläge, Lob, usw.: E-Mail an 'hubzilla' at librelist - dot - com"
+msgstr "Vorschläge, Lob, usw.: E-Mail an 'redmatrix' at librelist - dot - com"
#: ../../mod/siteinfo.php:151
msgid "Site Administrators"
@@ -5356,8 +5356,8 @@ msgid "Not Found"
msgstr "Nicht gefunden"
#: ../../mod/setup.php:166
-msgid "Hubzilla Server - Setup"
-msgstr "Hubzilla Server - Installation"
+msgid "Red Matrix Server - Setup"
+msgstr "Red Matrix Server - Installation"
#: ../../mod/setup.php:172
msgid "Could not connect to database."
@@ -5401,7 +5401,7 @@ msgstr "Datenbank Verbindung"
#: ../../mod/setup.php:290
msgid ""
-"In order to install Hubzilla we need to know how to connect to your "
+"In order to install Red Matrix we need to know how to connect to your "
"database."
msgstr "Um die Red-Matrix installieren zu können, müssen wir wissen, wie wir eine Verbindung zu Deiner Datenbank aufbauen können."
@@ -6341,20 +6341,20 @@ msgid "Your message:"
msgstr "Deine Nachricht:"
#: ../../mod/invite.php:132
-msgid "Please join my community on Hubzilla."
-msgstr "Schließe Dich uns in der Hubzilla an!"
+msgid "Please join my community on RedMatrix."
+msgstr "Schließe Dich uns in der RedMatrix an!"
#: ../../mod/invite.php:134
msgid "You will need to supply this invitation code: "
msgstr "Gib folgenden Einladungs-Code ein:"
#: ../../mod/invite.php:135
-msgid "1. Register at any Hubzilla location (they are all inter-connected)"
-msgstr "1. Registriere Dich auf irgendeinem Hubzilla-Server (sie sind alle miteinander verbunden)"
+msgid "1. Register at any RedMatrix location (they are all inter-connected)"
+msgstr "1. Registriere Dich auf irgendeinem RedMatrix-Server (sie sind alle miteinander verbunden)"
#: ../../mod/invite.php:137
-msgid "2. Enter my Hubzilla network address into the site searchbar."
-msgstr "2. Gib meine Hubzilla-Adresse im Suchfeld ein."
+msgid "2. Enter my RedMatrix network address into the site searchbar."
+msgstr "2. Gib meine RedMatrix-Adresse im Suchfeld ein."
#: ../../mod/invite.php:138
msgid "or visit "
@@ -7360,7 +7360,7 @@ msgstr "Den „Entdecken“-Reiter ausblenden"
msgid ""
"Remove the tab in the network view with public content pulled from sources "
"chosen for this site."
-msgstr "Entferne den „Entdecken“-Reiter aus der Matrix-Seite, in dem öffentliche Inhalte angezeigt werden, die von anderen Hubzilla-Hubs geholt wurden."
+msgstr "Entferne den „Entdecken“-Reiter aus der Matrix-Seite, in dem öffentliche Inhalte angezeigt werden, die von anderen RedMatrix-Hubs geholt wurden."
#: ../../mod/admin.php:445
msgid "No login on Homepage"
@@ -7785,7 +7785,7 @@ msgstr "Dieses Konto, all seine Kanäle sowie alle Kanal-Klone aus dem Netzwerk
msgid ""
"By default only the instances of the channels located on this hub will be "
"removed from the network"
-msgstr "Standardmäßig werden nur die Kanalklone auf diesem Hubzilla-Hub aus dem Netzwerk entfernt"
+msgstr "Standardmäßig werden nur die Kanalklone auf diesem RedMatrix-Hub aus dem Netzwerk entfernt"
#: ../../mod/update_channel.php:43 ../../mod/update_display.php:25
#: ../../mod/update_network.php:23 ../../mod/update_search.php:46
@@ -7898,8 +7898,8 @@ msgid "URL of link"
msgstr "URL des Links"
#: ../../mod/mitem.php:165 ../../mod/mitem.php:209
-msgid "Use Hubzilla magic-auth if available"
-msgstr "Verwende die automatische Hubzilla-Authentifizierung (magic-auth), wenn verfügbar"
+msgid "Use RedMatrix magic-auth if available"
+msgstr "Verwende die automatische RedMatrix-Authentifizierung (magic-auth), wenn verfügbar"
#: ../../mod/mitem.php:166 ../../mod/mitem.php:210
msgid "Open link in new window"
@@ -7989,9 +7989,9 @@ msgstr "Diese Aktion kann nur von Mitgliedern ausgeführt werden."
#: ../../mod/like.php:21
msgid ""
-"Please <a href=\"rmagic\">login with your Hubzilla ID</a> or <a "
-"href=\"register\">register as a new Redmatrix.member</a> to continue."
-msgstr "Bitte <a href=\"rmagic\">melde Dich mit Deiner Hubzilla-ID an</a> oder <a href=\"register\">registriere Dich als neues Mitglied der Hubzilla</a>, um fortzufahren."
+"Please <a href=\"rmagic\">login with your RedMatrix ID</a> or <a "
+"href=\"register\">register as a new RedMatrix member</a> to continue."
+msgstr "Bitte <a href=\"rmagic\">melde Dich mit Deiner RedMatrix-ID an</a> oder <a href=\"register\">registriere Dich als neues Mitglied der RedMatrix</a>, um fortzufahren."
#: ../../mod/like.php:101 ../../mod/like.php:128 ../../mod/like.php:166
msgid "Invalid request."
@@ -8606,8 +8606,8 @@ msgid "Right offset of the aside element"
msgstr "Rechter Rand des Aside-Elements"
#: ../../view/theme/redbasic/php/config.php:84
-msgid "Light (Hubzilla default)"
-msgstr "Hell (Hubzilla-Voreinstellung)"
+msgid "Light (Red Matrix default)"
+msgstr "Hell (RedMatrix-Voreinstellung)"
#: ../../view/theme/redbasic/php/config.php:104
msgid "Narrow navbar"
@@ -8741,7 +8741,7 @@ msgstr "Aktualisierungsfehler auf %s"
#: ../../boot.php:1527
msgid ""
-"Create an account to access services and applications within the Hubzilla"
+"Create an account to access services and applications within the Red Matrix"
msgstr "Erstelle einen Account, um Anwendungen und Dienste innerhalb der Red-Matrix verwenden zu können."
#: ../../boot.php:1555
diff --git a/view/de/strings.php b/view/de/strings.php
index e90419ec8..2679e9eb1 100644
--- a/view/de/strings.php
+++ b/view/de/strings.php
@@ -76,8 +76,8 @@ $a->strings["photo/image"] = "Foto/Bild";
$a->strings["Rate Me"] = "Bewerte mich";
$a->strings["View Ratings"] = "Bewertungen ansehen";
$a->strings["Public Hubs"] = "Öffentliche Hubs";
-$a->strings["Hubzilla Notification"] = "Hubzilla Benachrichtigung";
-$a->strings["hubzilla"] = "hubzilla";
+$a->strings["Red Matrix Notification"] = "Red Matrix Benachrichtigung";
+$a->strings["redmatrix"] = "redmatrix";
$a->strings["Thank You,"] = "Danke.";
$a->strings["%s Administrator"] = "der Administrator von %s";
$a->strings["%s <!item_type!>"] = "%s <!item_type!>";
@@ -469,7 +469,7 @@ $a->strings["%1\$s's birthday"] = "%1\$ss Geburtstag";
$a->strings["Happy Birthday %1\$s"] = "Alles Gute zum Geburtstag, %1\$s";
$a->strings["Attachments:"] = "Anhänge:";
$a->strings["l F d, Y \\@ g:i A"] = "l, d. F Y, H:i";
-$a->strings["Hubzilla event notification:"] = "Hubzilla Termin-Benachrichtigung:";
+$a->strings["Redmatrix event notification:"] = "RedMatrix Termin-Benachrichtigung:";
$a->strings["Starts:"] = "Beginnt:";
$a->strings["Finishes:"] = "Endet:";
$a->strings["Missing room name"] = "Der Chatraum hat keinen Namen";
@@ -612,7 +612,7 @@ $a->strings["Permission denied"] = "Keine Berechtigung";
$a->strings["(Unknown)"] = "(Unbekannt)";
$a->strings["Visible to anybody on the internet."] = "Für jeden im Internet sichtbar.";
$a->strings["Visible to you only."] = "Nur für Dich sichtbar.";
-$a->strings["Visible to anybody in this network."] = "Für jedes Mitglied der Hubzilla sichtbar.";
+$a->strings["Visible to anybody in this network."] = "Für jedes Mitglied der RedMatrix sichtbar.";
$a->strings["Visible to anybody authenticated."] = "Für jeden sichtbar, der angemeldet ist.";
$a->strings["Visible to anybody on %s."] = "Für jeden auf %s sichtbar.";
$a->strings["Visible to all connections."] = "Für alle Verbindungen sichtbar.";
@@ -1018,7 +1018,7 @@ $a->strings["Currently blocked"] = "Derzeit blockiert";
$a->strings["Currently ignored"] = "Derzeit ignoriert";
$a->strings["Currently archived"] = "Derzeit archiviert";
$a->strings["Currently pending"] = "Derzeit anstehend";
-$a->strings["Hubzilla - &quot;The Network&quot;"] = "Hubzilla – &quot;Das Netzwerk&quot;";
+$a->strings["Red Matrix - &quot;The Network&quot;"] = "RedMatrix – &quot;Das Netzwerk&quot;";
$a->strings["Welcome to %s"] = "Willkommen auf %s";
$a->strings["Continue"] = "Fortfahren";
$a->strings["Premium Channel Setup"] = "Premium-Kanal-Einrichtung";
@@ -1034,7 +1034,7 @@ $a->strings["Edit post"] = "Bearbeite Beitrag";
$a->strings["Delete item?"] = "Eintrag löschen?";
$a->strings["Item not available."] = "Element nicht verfügbar.";
$a->strings["Fetching URL returns error: %1\$s"] = "Abrufen der URL gab einen Fehler zurück: %1\$s";
-$a->strings["Hubzilla channel"] = "Hubzilla-Kanal";
+$a->strings["RedMatrix channel"] = "RedMatrix-Kanal";
$a->strings["Image uploaded but image cropping failed."] = "Bild hochgeladen, aber das Zurechtschneiden schlug fehl.";
$a->strings["Image resize failed."] = "Bild-Anpassung fehlgeschlagen.";
$a->strings["Shift-reload the page or clear browser cache if the new photo does not display immediately."] = "Leere den Browser Cache oder nutze Umschalten-Neu Laden, falls das neue Foto nicht sofort angezeigt wird.";
@@ -1088,7 +1088,7 @@ $a->strings["Title:"] = "Titel:";
$a->strings["Share this event"] = "Den Termin teilen";
$a->strings["%1\$s is following %2\$s's %3\$s"] = "%1\$s folgt nun %2\$ss %3\$s";
$a->strings["Public Sites"] = "Öffentliche Server";
-$a->strings["The listed sites allow public registration into the Hubzilla. All sites in the matrix are interlinked so membership on any of them conveys membership in the matrix as a whole. Some sites may require subscription or provide tiered service plans. The provider links <strong>may</strong> provide additional details."] = "Die hier aufgeführten Server erlauben Dir, einen Account in der Red-Matrix anzulegen. Alle Server der Matrix sind miteinander verbunden, so dass die Mitgliedschaft auf einem Server eine Verbindung zu beliebigen anderen Servern der Matrix ermöglicht. Es könnte sein, dass einige dieser Server kostenpflichtig sind oder abgestufte, je nach Umfang kostenpflichtige Mitgliedschaften anbieten. Auf den jeweiligen Seiten <strong>könnten</strong> nähere Details dazu stehen.";
+$a->strings["The listed sites allow public registration into the Red Matrix. All sites in the matrix are interlinked so membership on any of them conveys membership in the matrix as a whole. Some sites may require subscription or provide tiered service plans. The provider links <strong>may</strong> provide additional details."] = "Die hier aufgeführten Server erlauben Dir, einen Account in der Red-Matrix anzulegen. Alle Server der Matrix sind miteinander verbunden, so dass die Mitgliedschaft auf einem Server eine Verbindung zu beliebigen anderen Servern der Matrix ermöglicht. Es könnte sein, dass einige dieser Server kostenpflichtig sind oder abgestufte, je nach Umfang kostenpflichtige Mitgliedschaften anbieten. Auf den jeweiligen Seiten <strong>könnten</strong> nähere Details dazu stehen.";
$a->strings["Rate this hub"] = "Bewerte diesen Hub";
$a->strings["Site URL"] = "Server-URL";
$a->strings["Access Type"] = "Zugangstyp";
@@ -1237,7 +1237,7 @@ $a->strings["Please enable expert mode (in <a href=\"settings/features\">Setting
$a->strings["Miscellaneous Settings"] = "Sonstige Einstellungen";
$a->strings["Personal menu to display in your channel pages"] = "Eigenes Menü zur Anzeige auf den Seiten deines Kanals";
$a->strings["Remove this channel"] = "Diesen Kanal löschen";
-$a->strings["Hubzilla - Guests: Username: {your email address}, Password: +++"] = "Hubzilla – Gäste: Username: {Deine E-Mail-Adresse}, Passwort: +++";
+$a->strings["RedMatrix - Guests: Username: {your email address}, Password: +++"] = "RedMatrix – Gäste: Username: {Deine E-Mail-Adresse}, Passwort: +++";
$a->strings["Tag removed"] = "Schlagwort entfernt";
$a->strings["Remove Item Tag"] = "Schlagwort entfernen";
$a->strings["Select a tag to remove: "] = "Schlagwort zum Entfernen auswählen:";
@@ -1258,17 +1258,17 @@ $a->strings["Version %s"] = "Version %s";
$a->strings["Installed plugins/addons/apps:"] = "Installierte Plugins/Addons/Apps";
$a->strings["No installed plugins/addons/apps"] = "Keine installierten Plugins/Addons/Apps";
$a->strings["Red"] = "Red";
-$a->strings["This is a hub of the Hubzilla - a global cooperative network of decentralized privacy enhanced websites."] = "Dieser Hub ist Teil der Hubzilla – eines globalen, kooperativen Netzwerks aus dezentralen Websites, die Rücksicht auf Deine Privatsphäre nehmen.";
+$a->strings["This is a hub of the Red Matrix - a global cooperative network of decentralized privacy enhanced websites."] = "Dieser Hub ist Teil der RedMatrix – eines globalen, kooperativen Netzwerks aus dezentralen Websites, die Rücksicht auf Deine Privatsphäre nehmen.";
$a->strings["Tag: "] = "Schlagwort: ";
$a->strings["Last background fetch: "] = "Letzter Hintergrundabruf:";
$a->strings["Running at web location"] = "Erreichbar unter der Web-Adresse";
-$a->strings["Please visit <a href=\"https://redmatrix.me\">Redmatrix.me</a> to learn more about the Hubzilla."] = "Bitte besuchen Sie <a href=\"https://redmatrix.me\">Redmatrix.me</a>, um mehr über Hubzilla zu erfahren.";
+$a->strings["Please visit <a href=\"https://redmatrix.me\">RedMatrix.me</a> to learn more about the Red Matrix."] = "Bitte besuchen Sie <a href=\"https://redmatrix.me\">RedMatrix.me</a>, um mehr über RedMatrix zu erfahren.";
$a->strings["Bug reports and issues: please visit"] = "Probleme oder Fehler gefunden? Bitte besuche";
-$a->strings["Suggestions, praise, etc. - please email \"hubzilla\" at librelist - dot com"] = "Vorschläge, Lob, usw.: E-Mail an 'hubzilla' at librelist - dot - com";
+$a->strings["Suggestions, praise, etc. - please email \"redmatrix\" at librelist - dot com"] = "Vorschläge, Lob, usw.: E-Mail an 'redmatrix' at librelist - dot - com";
$a->strings["Site Administrators"] = "Administratoren";
$a->strings["Help:"] = "Hilfe:";
$a->strings["Not Found"] = "Nicht gefunden";
-$a->strings["Hubzilla Server - Setup"] = "Hubzilla Server - Installation";
+$a->strings["Red Matrix Server - Setup"] = "Red Matrix Server - Installation";
$a->strings["Could not connect to database."] = "Kann nicht mit der Datenbank verbinden.";
$a->strings["Could not connect to specified site URL. Possible SSL certificate or DNS issue."] = "Konnte die angegebene Webseiten-URL nicht erreichen. Möglicherweise ein Problem mit dem SSL-Zertifikat oder dem DNS.";
$a->strings["Could not create table."] = "Kann Tabelle nicht erstellen.";
@@ -1278,7 +1278,7 @@ $a->strings["Please see the file \"install/INSTALL.txt\"."] = "Lies die Datei \"
$a->strings["System check"] = "Systemprüfung";
$a->strings["Check again"] = "Bitte nochmal prüfen";
$a->strings["Database connection"] = "Datenbank Verbindung";
-$a->strings["In order to install Hubzilla we need to know how to connect to your database."] = "Um die Red-Matrix installieren zu können, müssen wir wissen, wie wir eine Verbindung zu Deiner Datenbank aufbauen können.";
+$a->strings["In order to install Red Matrix we need to know how to connect to your database."] = "Um die Red-Matrix installieren zu können, müssen wir wissen, wie wir eine Verbindung zu Deiner Datenbank aufbauen können.";
$a->strings["Please contact your hosting provider or site administrator if you have questions about these settings."] = "Bitte kontaktiere Deinen Hosting-Provider oder Administrator, falls Du Fragen zu diesen Einstellungen hast.";
$a->strings["The database you specify below should already exist. If it does not, please create it before continuing."] = "Die Datenbank, die Du weiter unten angibst, sollte bereits existieren. Sollte das noch nicht der Fall sein, erzeuge sie bitte bevor Du fortfährst.";
$a->strings["Database Server Name"] = "Datenbank-Servername";
@@ -1491,10 +1491,10 @@ $a->strings["You have no more invitations available"] = "Du hast keine weiteren
$a->strings["Send invitations"] = "Einladungen senden";
$a->strings["Enter email addresses, one per line:"] = "Email-Adressen eintragen, eine pro Zeile:";
$a->strings["Your message:"] = "Deine Nachricht:";
-$a->strings["Please join my community on Hubzilla."] = "Schließe Dich uns in der Hubzilla an!";
+$a->strings["Please join my community on RedMatrix."] = "Schließe Dich uns in der RedMatrix an!";
$a->strings["You will need to supply this invitation code: "] = "Gib folgenden Einladungs-Code ein:";
-$a->strings["1. Register at any Hubzilla location (they are all inter-connected)"] = "1. Registriere Dich auf irgendeinem Hubzilla-Server (sie sind alle miteinander verbunden)";
-$a->strings["2. Enter my Hubzilla network address into the site searchbar."] = "2. Gib meine Hubzilla-Adresse im Suchfeld ein.";
+$a->strings["1. Register at any RedMatrix location (they are all inter-connected)"] = "1. Registriere Dich auf irgendeinem RedMatrix-Server (sie sind alle miteinander verbunden)";
+$a->strings["2. Enter my RedMatrix network address into the site searchbar."] = "2. Gib meine RedMatrix-Adresse im Suchfeld ein.";
$a->strings["or visit "] = "oder besuche";
$a->strings["3. Click [Connect]"] = "3. Klicke auf [Verbinden]";
$a->strings["Location not found."] = "Klon nicht gefunden.";
@@ -1737,7 +1737,7 @@ $a->strings["Check to verify email addresses used in account registration (recom
$a->strings["Force publish"] = "Veröffentlichung erzwingen";
$a->strings["Check to force all profiles on this site to be listed in the site directory."] = "Die Veröffentlichung aller Profile dieses Servers im Verzeichnis erzwingen.";
$a->strings["Disable discovery tab"] = "Den „Entdecken“-Reiter ausblenden";
-$a->strings["Remove the tab in the network view with public content pulled from sources chosen for this site."] = "Entferne den „Entdecken“-Reiter aus der Matrix-Seite, in dem öffentliche Inhalte angezeigt werden, die von anderen Hubzilla-Hubs geholt wurden.";
+$a->strings["Remove the tab in the network view with public content pulled from sources chosen for this site."] = "Entferne den „Entdecken“-Reiter aus der Matrix-Seite, in dem öffentliche Inhalte angezeigt werden, die von anderen RedMatrix-Hubs geholt wurden.";
$a->strings["No login on Homepage"] = "Kein Login auf der Homepage";
$a->strings["Check to hide the login form from your sites homepage when visitors arrive who are not logged in (e.g. when you put the content of the homepage in via the site channel)."] = "Aktivieren, um das Login-Formular auf der Startseite der Seite zu verbergen (z.B. weil es das Layout der Homepage des Seiten-Kanals stört).";
$a->strings["Proxy user"] = "Proxy Benutzer";
@@ -1842,7 +1842,7 @@ $a->strings["Remove This Account"] = "Dieses Konto löschen";
$a->strings["This will completely remove this account including all its channels from the network. Once this has been done it is not recoverable."] = "Hiermit wird dieses Nutzerkonto einschließlich all seiner Kanäle komplett aus dem Netzwerk entfernt. Dieser Vorgang kann nicht rückgängig gemacht werden.";
$a->strings["Please enter your password for verification:"] = "Bitte gib zur Bestätigung Dein Passwort ein:";
$a->strings["Remove this account, all its channels and all its channel clones from the network"] = "Dieses Konto, all seine Kanäle sowie alle Kanal-Klone aus dem Netzwerk löschen";
-$a->strings["By default only the instances of the channels located on this hub will be removed from the network"] = "Standardmäßig werden nur die Kanalklone auf diesem Hubzilla-Hub aus dem Netzwerk entfernt";
+$a->strings["By default only the instances of the channels located on this hub will be removed from the network"] = "Standardmäßig werden nur die Kanalklone auf diesem RedMatrix-Hub aus dem Netzwerk entfernt";
$a->strings["[Embedded content - reload page to view]"] = "[Eingebettete Inhalte – lade die Seite neu, um sie anzuzeigen]";
$a->strings["Wall Photos"] = "Wall Fotos";
$a->strings["Profile Match"] = "Profil-Übereinstimmungen";
@@ -1870,7 +1870,7 @@ $a->strings["New Menu Element"] = "Neues Menü-Bestandteil";
$a->strings["Menu Item Permissions"] = "Zugriffsrechte des Menü-Elements";
$a->strings["Link text"] = "Link Text";
$a->strings["URL of link"] = "URL des Links";
-$a->strings["Use Hubzilla magic-auth if available"] = "Verwende die automatische Hubzilla-Authentifizierung (magic-auth), wenn verfügbar";
+$a->strings["Use RedMatrix magic-auth if available"] = "Verwende die automatische RedMatrix-Authentifizierung (magic-auth), wenn verfügbar";
$a->strings["Open link in new window"] = "Öffne Link in neuem Fenster";
$a->strings["Order in list"] = "Reihenfolge in der Liste";
$a->strings["Higher numbers will sink to bottom of listing"] = "Größere Nummern werden weiter unten in der Auflistung einsortiert";
@@ -1891,7 +1891,7 @@ $a->strings["Help with this feature"] = "Hilfe zu dieser Funktion";
$a->strings["Layout Name"] = "Layout-Name";
$a->strings["Like/Dislike"] = "Mögen/Nicht mögen";
$a->strings["This action is restricted to members."] = "Diese Aktion kann nur von Mitgliedern ausgeführt werden.";
-$a->strings["Please <a href=\"rmagic\">login with your Hubzilla ID</a> or <a href=\"register\">register as a new Redmatrix.member</a> to continue."] = "Bitte <a href=\"rmagic\">melde Dich mit Deiner Hubzilla-ID an</a> oder <a href=\"register\">registriere Dich als neues Mitglied der Hubzilla</a>, um fortzufahren.";
+$a->strings["Please <a href=\"rmagic\">login with your RedMatrix ID</a> or <a href=\"register\">register as a new RedMatrix member</a> to continue."] = "Bitte <a href=\"rmagic\">melde Dich mit Deiner RedMatrix-ID an</a> oder <a href=\"register\">registriere Dich als neues Mitglied der RedMatrix</a>, um fortzufahren.";
$a->strings["Invalid request."] = "Ungültige Anfrage.";
$a->strings["thing"] = "Sache";
$a->strings["Channel unavailable."] = "Kanal nicht vorhanden.";
@@ -2037,7 +2037,7 @@ $a->strings["Right offset of the section element"] = "Rechter Rand des Section E
$a->strings["Section width"] = "Breite der Section";
$a->strings["Left offset of the aside"] = "Linker Rand des Aside-Elements";
$a->strings["Right offset of the aside element"] = "Rechter Rand des Aside-Elements";
-$a->strings["Light (Hubzilla default)"] = "Hell (Hubzilla-Voreinstellung)";
+$a->strings["Light (Red Matrix default)"] = "Hell (RedMatrix-Voreinstellung)";
$a->strings["Narrow navbar"] = "Schmale Navigationsleiste";
$a->strings["Navigation bar background color"] = "Hintergrundfarbe der Navigationsleiste";
$a->strings["Navigation bar gradient top color"] = "Farbverlauf der Navigationsleiste: Farbe oben";
@@ -2070,7 +2070,7 @@ $a->strings["Sloppy photo albums"] = "Schräge Fotoalben";
$a->strings["Are you a clean desk or a messy desk person?"] = "Bist Du jemand, der einen aufgeräumten Schreibtisch hat, oder eher einen chaotischen?";
$a->strings["Update %s failed. See error logs."] = "Aktualisierung %s fehlgeschlagen. Details in den Fehlerprotokollen.";
$a->strings["Update Error at %s"] = "Aktualisierungsfehler auf %s";
-$a->strings["Create an account to access services and applications within the Hubzilla"] = "Erstelle einen Account, um Anwendungen und Dienste innerhalb der Red-Matrix verwenden zu können.";
+$a->strings["Create an account to access services and applications within the Red Matrix"] = "Erstelle einen Account, um Anwendungen und Dienste innerhalb der Red-Matrix verwenden zu können.";
$a->strings["Password"] = "Kennwort";
$a->strings["Remember me"] = "Angaben speichern";
$a->strings["Forgot your password?"] = "Passwort vergessen?";
diff --git a/view/de/update_fail_eml.tpl b/view/de/update_fail_eml.tpl
index e0319ca53..ca1a4985d 100644
--- a/view/de/update_fail_eml.tpl
+++ b/view/de/update_fail_eml.tpl
@@ -1,7 +1,7 @@
Hallo,
ich bin der Webserver für {{$sitename}};
-Die Hubzilla-Entwickler haben kürzlich das Update {{$update}} veröffentlicht,
+Die RedMatrix-Entwickler haben kürzlich das Update {{$update}} veröffentlicht,
aber als ich versuchte, es zu installieren, ging irgendwas furchtbar schief.
Das muss so bald als möglich gelöst werden und erfordert einen manuellen Eingriff.
Bitte kontaktiere einen Red-Entwickler, wenn Du nicht weißt, wie Du das Problem
diff --git a/view/tpl/menuedit.tpl b/view/tpl/menuedit.tpl
index b3704e86e..da3172434 100644
--- a/view/tpl/menuedit.tpl
+++ b/view/tpl/menuedit.tpl
@@ -19,6 +19,7 @@
{{/if}}
{{include file="field_input.tpl" field=$menu_name}}
{{include file="field_input.tpl" field=$menu_desc}}
+
{{include file="field_checkbox.tpl" field=$menu_bookmark}}
<div class="menuedit-submit-wrapper form-group pull-right" >
<button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
diff --git a/view/tpl/mitemedit.tpl b/view/tpl/mitemedit.tpl
index 3200766ca..8b8afa24c 100644
--- a/view/tpl/mitemedit.tpl
+++ b/view/tpl/mitemedit.tpl
@@ -11,6 +11,13 @@
{{/if}}
{{include file="field_input.tpl" field=$mitem_desc}}
{{include file="field_input.tpl" field=$mitem_link}}
+ {{if $menu_names}}
+ <datalist id="menu-names">
+ {{foreach $menu_names as $menu_name}}
+ <option value="{{$menu_name}}">
+ {{/foreach}}
+ </datalist>
+ {{/if}}
{{include file="field_input.tpl" field=$mitem_order}}
{{include file="field_checkbox.tpl" field=$usezid}}
{{include file="field_checkbox.tpl" field=$newwin}}
diff --git a/view/tpl/usermenu.tpl b/view/tpl/usermenu.tpl
index 7284826a2..4ecf823dd 100644
--- a/view/tpl/usermenu.tpl
+++ b/view/tpl/usermenu.tpl
@@ -4,10 +4,13 @@
{{if $menu.menu_desc}}
<h3 class="pmenu-title">{{$menu.menu_desc}}{{if $edit}} <a href="mitem/{{$menu.menu_id}}" title="{{$edit}}"><i class="icon-pencil fakelink" title="{{$edit}}"></i></a>{{/if}}</h3>
{{/if}}
- {{if $items }}
- <ul class="pmenu-body{{if $wrap && !$class}} nav nav-pills nav-stacked{{elseif !$wrap && $class}} {{$class}}{{/if}}">
+ {{if $items}}
+ <ul class="pmenu-body{{if $wrap || !$class}} nav nav-pills nav-stacked{{elseif !$wrap || $class}} {{$class}}{{/if}}">
{{foreach $items as $mitem }}
- <li id="pmenu-item-{{$mitem.mitem_id}}" class="pmenu-item"><a href="{{$mitem.mitem_link}}" {{if $mitem.newwin}}target="_blank"{{/if}}>{{$mitem.mitem_desc}}</a></li>
+ <li id="pmenu-item-{{$mitem.mitem_id}}" class="pmenu-item{{if $mitem.submenu}} dropdown{{/if}}">
+ <a href="{{if $mitem.submenu}}#{{else}}{{$mitem.mitem_link}}{{/if}}"{{if $mitem.submenu}} class="dropdown-toggle" data-toggle="dropdown"{{/if}}{{if $mitem.newwin}}target="_blank"{{/if}}>{{$mitem.mitem_desc}}{{if $mitem.submenu}}<span class="caret"></span>{{/if}}</a>
+ {{if $mitem.submenu}}{{$mitem.submenu}}{{/if}}
+ </li>
{{/foreach }}
</ul>
{{/if}}