Commit 95dca74e authored by Karl's avatar Karl

Merge with Development

parents d094341a b1c69fd1
......@@ -5,3 +5,4 @@
Homestead.json
Homestead.yaml
.env
.orig
......@@ -882,7 +882,7 @@ class MetaGer
{
$this->request = $request;
# Sichert, dass der request in UTF-8 formatiert ist
if ($request->input('encoding', '') !== "utf8") {
if ($request->input('encoding', 'utf8') !== "utf8") {
# In früheren Versionen, als es den Encoding Parameter noch nicht gab, wurden die Daten in ISO-8859-1 übertragen
$input = $request->all();
foreach ($input as $key => $value) {
......
This diff is collapsed.
$(document).ready(function() {
$(".hint").tooltip();
$(".language-text-area").each(function() {
auto_grow(this);
});
$(".language-text-area").keyup(function() {
auto_grow(this);
});
});
function auto_grow(element) {
element.style.height = "5px";
element.style.height = (element.scrollHeight + 10) + "px";
}
\ No newline at end of file
$(document).ready(function() {
switch (getLanguage()) {
case "de":
$(".encrypt-btn").html("Verschlüsseln und senden");
break;
case "en":
$(".encrypt-btn").html("encrypt and send");
break;
case "es":
// $(".encrypt-btn").html(""); TODO
break;
}
$(".contact").submit(function() {
return encrypt(this);
});
});
//based on https://github.com/encrypt-to/secure.contactform.php
/* The MIT License (MIT)
Copyright (c) 2013 Jan Wiegelmann
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/
function encrypt() {
if (window.crypto && window.crypto.getRandomValues) {
var message = document.getElementById("message");
if (message.value.indexOf("-----BEGIN PGP MESSAGE-----") !== -1 && message.value.indexOf("-----END PGP MESSAGE-----") !== -1) {
// encryption done
} else {
var pub_key = openpgp.key.readArmored(document.getElementById("pubkey").innerHTML).keys[0];
var plaintext = message.value;
var ciphertext = openpgp.encryptMessage([pub_key], plaintext);
message.value = ciphertext;
return true;
}
} else {
switch (getLanguage()) {
case "de":
alert("Fehler: Ihr Browser wird nicht unterstützt. Bitte installieren Sie einen aktuellen Browser wie z.B. Mozilla Firefox.");
break;
case "en":
alert("Error: Your browser is not supported. Please install an up to date browser like Mozilla Firefox.");
break;
case "es":
// alert(""); TODO
break;
}
return false;
}
}
function getLanguage() {
var metaData = document.getElementsByTagName('meta');
for (var m in metaData) {
if (metaData[m]["httpEquiv"] == "language") {
return metaData[m]["content"];
}
}
}
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
$(document).ready(function() {
// Wenn LocalStorage verfügbar ist, geben wir die Möglichkeit die Einstellungen dort zu speichern
tickOptions();
if (localStorage) {
$("#save").removeClass("hidden");
$("#save").click(function() {
localStorage.setItem("pers", true);
$("input[type=checkbox]:checked, input[type=hidden]").each(function(el) {
localStorage.setItem($(this).attr("name"), $(this).val());
});
$("select").each(function(el) {
localStorage.setItem($(this).attr("name"), $(this).val());
});
document.location.href = $("#save").attr("data-href");
});
}
$(".checker").click(function() {
var selector = "." + $(this).attr("data-type");
if ($(selector + " input:checked").length) {
$(selector + " input").prop("checked", false);
} else {
$(selector + " input").prop("checked", true);
}
});
$("#unten").click(function() {
$("#settings-form").append("<input type=\"hidden\" name=\"usage\" value=\"once\">");
switch (getLanguage()) {
case "de":
alert("Auf der folgenden Startseite sind Ihre Einstellungen nun einmalig gespeichert. Nach Ihrer ersten Suche sind diese wieder verloren. Wenn Sie diese speichern möchten, können Sie sich allerdings ein Lesezeichen für die generierte Startseite einrichten.");
break;
case "en":
alert("On the following startpage your settings are saved one-time. They will be lost after your first search. Though if you want to save them, you can create a bookmark for the generated startpage.");
break;
case "es":
// alert(""); TODO
break;
}
});
$("#plugin").click(function() {
$("form").attr('action', $("#save").attr("data-href") + '#plugin-modal');
switch (getLanguage()) {
case "de":
alert("Ihr Browserplugin mit den persönlichen Sucheinstellungen wurde generiert. Folgen Sie bitte der Anleitung auf der folgenden Seite um es zu installieren. Beachten Sie: Zuvor sollten Sie ein eventuell bereits installiertes MetaGer-Plugin entfernen.");
break;
case "en":
alert("Your browser plugin with personal settings was generated. Please follow the instructions on the following page to install it. Notice that beforehand you might have to delete a former MetaGer plugin.");
break;
case "es":
// alert(""); TODO
break;
}
});
$("#settings-focus").val("angepasst");
});
function tickOptions() {
if (localStorage && localStorage.getItem("pers")) {
for (var i = 0; i < localStorage.length; i++) {
var key = localStorage.key(i);
var value = localStorage.getItem(key);
if (key.startsWith("param_")) {
if ($("input[name=" + key + "]").length) {
$("input[name=" + key + "]").attr("checked", "");
} else {
$("select[name=" + key + "] > option[value=" + value + "]").attr("selected", true);
}
}
}
} else {
$("div.web input").attr("checked", true);
}
}
function getLanguage() {
var metaData = document.getElementsByTagName('meta');
for (var m in metaData) {
if (metaData[m]["httpEquiv"] == "language") {
return metaData[m]["content"];
}
}
}
\ No newline at end of file
function copyCode() {
$("#codesnippet").select();
try {
var successful = document.execCommand('copy');
if (successful) {
$('#copyButton').removeClass('btn-default');
$('#copyButton').addClass('btn-success');
} else {
$('#copyButton').removeClass('btn-default');
$('#copyButton').addClass('btn-danger');
}
} catch (err) {
$('#copyButton').removeClass('btn-default');
$('#copyButton').addClass('btn-danger');
}
}
window.onload = function() {
$('#copyButton').bind('click', copyCode);
};
\ No newline at end of file
{
"js/editLanguage.js": "js/editLanguage-7a1cbfb2ba.js",
"js/kontakt.js": "js/kontakt-de49d68db3.js",
"js/scriptResultPage.js": "js/scriptResultPage-357d27fe23.js",
"js/scriptStartPage.js": "js/scriptStartPage-cbd0a999ad.js",
"js/settings.js": "js/settings-6ff0eab621.js",
"js/widgets.js": "js/widgets-866379dd63.js"
}
\ No newline at end of file
This diff is collapsed.
......@@ -49,8 +49,8 @@ function setActionListeners() {
$("#addFocusBtn").click(function() {
showFocusCreateDialog("");
});
$("#save-focus-btn").click(saveFocus);
$("#delete-focus-btn").click(deleteFocus);
$(".save-focus-btn").click(saveFocus);
$(".delete-focus-btn").click(deleteFocus);
}
function setSettings() {
......
......@@ -38,7 +38,7 @@ GLS Gemeinschaftsbank, Bochum',
Helfen Sie mit, dass freie Suchmaschinen im Internet erhalten bleiben und weiterentwickelt werden!
Das können Sie mit einer Spende auf dieser Seite tun. Oder, wenn Sie freie Suchmaschinen auch langfristig sichern wollen:
<a href="https://metager.de/klassik/bform1.htm" target="_blank" rel="noopener">Werden Sie Mitglied im SUMA-EV</a>',
'about.3' => 'Wenn Sie 50,-EUR oder mehr spenden, oder Mitglied im <a href="http://suma-ev.de/" target="_blank" rel="noopener">SUMA-EV</a> werden, dann können Sie, wenn Sie wollen, auf unserer <a href="http://suma-ev.de/suma-links/index.html#sponsors" target="_blank" rel="noopener">Mitglieder- und Sponsorenseite</a> namentlich mit Link auf Ihre Homepage (sofern vorhanden) genannt werden (wenn Sie dies wünschen, vermerken Sie es bitte in Ihrer Mitteilung) <a href="https://metager.de/klassik/spenden1.html" target="_blank" rel="noopener">Oder werden Sie SUMA-EV Förderer!</a>',
'about.3' => 'Wenn Sie 100,-EUR oder mehr spenden, dann können Sie, wenn Sie wollen, auf unserer <a href="http://suma-ev.de/suma-links/index.html#sponsors" target="_blank" rel="noopener">Mitglieder- und Sponsorenseite</a> namentlich mit Link auf Ihre Homepage (sofern vorhanden) genannt werden; wenn Sie dies wünschen, vermerken Sie es bitte in Ihrer Mitteilung. <a href="https://metager.de/klassik/spenden1.html" target="_blank" rel="noopener">Oder werden Sie SUMA-EV Förderer!</a> Oder werden Sie ab 60,-EUR pro Jahr gleich Mitglied im <a href="http://suma-ev.de/" target="_blank" rel="noopener">SUMA-EV</a>, dann können Sie bis zu 6 Links auf Ihre Homepage erhalten, und Sie fördern MetaGer nachhaltig.',
'about.4' => '<a href="http://suma-ev.de/unterstuetzung/index.html" target="_blank" rel="noopener">JEDE Form Ihrer Unterstützung</a> hilft mit, dass freie Suchmaschinen und freier Wissenszugang im Internet eine Chance haben. Zum freien Wissenszugang gehört es auch, dass Ihre Daten weder überwacht, noch Ihre Internet-Adressen und Verbindungsdaten gespeichert werden. Bei uns wird Ihre Internet-Adresse bereits während der Suche anonymisiert, sie wird nicht gespeichert und nicht an Dritte weitergegeben. Freie Internet-Suche ohne Überwachung: <a href="https://metager.de/" target="_blank" rel="noopener">MetaGer.de!</a>',
'about.5' => 'Eine weitere Möglichkeit, MetaGer zu fördern, besteht darin, dass Sie Ihren nächsten Online-Einkauf bei MetaGer-Fördershops machen. Damit wir auf diesem Weg unterstützt werden können, haben wir uns in das Netzwerk zur Förderung gemeinnützig anerkannter Organisationen eingebracht, das Projekt <a href="https://www.boost-project.com/de" target="_blank" rel="noopener">www.boost-project.com</a> Unter dem Dach dieses Projektes sind ca. 400 Online-Shops (von Amazon bis Zooplus) vereint, die sich bereit erklärt haben, von allen Verkäufen etwa 6% an das Projekt zu spenden. Statt wie bisher direkt zum Online-Shop zu surfen, gehen Sie zunächst auf <a href="https://metager.de/" target="_blank" rel="noopener">MetaGer.de!</a> und klicken dort unterhalb der Suchwort-Eingabebox auf <a href="https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl" target="_blank" rel="noopener">Machen Sie Ihre Einkäufe bei MetaGer-Fördershops - klicken Sie hier!</a> Dieser Klick führt Sie in die Shop-Auswahl des Boost-Projektes. Dort suchen Sie sich Ihren Shop aus und machen wie gewohnt Ihren Einkauf. Das ist alles. Wenn genug Menschen dies tun, dann brauchen wir keine Werbung mehr. Nur zwei Mausklicks für Sie - für alle eine Chance für den freien Wissenszugang in der digitalen Welt.',
......
This diff is collapsed.
<?php
return [
"head.1" => "Settings",
"head.2" => "Here you can customize your MetaGer: After selecting your desired settings, you have to choose whether you want to save the settings permanently or just for once, <a href=\"#unten\">on the bottom of this page.</a>",
"allgemein.1" => "General",
"quotes.label" => "Sayings",
"quotes.on" => "show",
"quotes.off" => "hide",
"maps.label" => "Maps",
"maps.on" => "show",
"maps.off" => "hide",
"tab.label" => "Show results:",
"tab.new" => "in a new tab",
"tab.same" => "in the same tab",
"language.label" => "Select language",
"language.all" => "all languages",
"language.de" => "german",
"language.en" => "english",
"suchmaschinen.1" => "search engines",
"suchmaschinen.2" => "(deselect all)",
"suchmaschinen.3" => "(select / deselect all)",
"speichern.1" => "Create a startpage for one-time use",
"speichern.2" => "Save settings permanently",
"speichern.3" => "Generate plugin with these settings",
"speichern.4" => "Reset saved settings",
"request" => "Query method",
"autocomplete" => "autocomplete (search input)",
"autocomplete.on" => "on",
"autocomplete.off" => "off",
"foki.web" => "Web",
"foki.andere" => "Others",
"foki.produktsuche" => "Shopping",
"foki.wissenschaft" => "Science",
"foki.nachrichten" => "News/Politics",
"foki.bilder" => "Pictures",
];
"head.1" => "Settings",
"head.2" => "Here you can customize your MetaGer: After selecting your desired settings, you have to choose whether you want to save the settings permanently or just for once, <a href=\"#unten\">on the bottom of this page.</a>",
"allgemein.1" => "General",
"quotes.label" => "Sayings",
"quotes.on" => "show",
"quotes.off" => "hide",
"maps.label" => "Maps",
"maps.on" => "show",
"maps.off" => "hide",
"tab.label" => "Show results:",
"tab.new" => "in a new tab",
"tab.same" => "in the same tab",
"language.label" => "Select language",
"language.all" => "all languages",
"language.de" => "german",
"language.en" => "english",
"suchmaschinen.1" => "search engines",
"suchmaschinen.2" => "(deselect all)",
"suchmaschinen.3" => "(select / deselect all)",
"abort" => "abort",
"speichern.1" => "Create a startpage for one-time use",
"speichern.2" => "Save settings permanently",
"speichern.3" => "Generate plugin with these settings",
"speichern.4" => "Reset saved settings",
"request" => "Query method",
"autocomplete" => "autocomplete (search input)",
"autocomplete.on" => "on",
"autocomplete.off" => "off",
"foki.web" => "Web",
"foki.andere" => "Others",
"foki.produktsuche" => "Shopping",
"foki.wissenschaft" => "Science",
"foki.nachrichten" => "News/Politics",
"foki.bilder" => "Pictures"
];
\ No newline at end of file
......@@ -24,8 +24,8 @@ return [
"lastschrift.10" => "Your information is transmitted encrypted and is not read by a third party. The amount you enter will be debited from your account by us. SUMA-EV only uses your information for accounting; Your information is not passed on. Donations to the SUMA-EV are tax-deductible, because the association is recognized as charitable by the Finanzamt Hannover Nord (revenue board), listed in the register of associations, Amtsgericht Hannover under VR200033. A certificate for single donations above 200,-EUR is sent automatically. For donations below 200,-EUR an account current is enough for tax-deduction.",
"drucken" => "print",
"about.1" => "About us",
"about.2" => "The German search engine MetaGer is operated and permanently refined by SUMA-EV - Verein für freien Wissenszugang. We are a charitable NGO and one of our goals is the development and operation of search engines. We do not receive any public funds and therefore are relying on your donations.\r\nPlease help to preserve and develop free and open search engines on the Internet. You can do this by donating on our website.\r\nOr if you want to help open search engines on the long run:\r\n <a href=\"https://metager.de/klassik/bform1.htm\" target=\"_blank\" rel=\"noopener\">Become a SUMA-EV member</a>",
"about.3" => "If you donate more than 50,-EUR or become a member of the <a href=\"http://suma-ev.de/\" target=\"_blank\" rel=\"noopener\">SUMA-EV</a> , you or your company might appear on our <a href=\"http://suma-ev.de/suma-links/index.html#sponsors\" target=\"_blank\" rel=\"noopener\">members and sponsors page</a> linked to\r\nyour homepage (if available). If you want that, please tell us within your donation message. <a href=\"https://metager.de/klassik/spenden1.html\" target=\"_blank\" rel=\"noopener\">Or become SUMA-EV sponsor!</a>",
"about.2" => "The German search engine MetaGer is operated and permanently refined by SUMA-EV - Verein für freien Wissenszugang. We are a non-profit and charitable NGO and one of our goals is the development and operation of search engines. We do not receive any public funding and therefore are relying on your donations.\r\nPlease help to preserve and develope free and open search engines on the Internet. You can do this by donating on our website.\r\nOr if you want to help open search engines on the long run:\r\n <a href=\"https://metager.de/klassik/bform1.htm\" target=\"_blank\" rel=\"noopener\">Become a SUMA-EV member</a>",
"about.3" => "If you donate more than 100,-EUR or become a member of <a href=\"http://suma-ev.de/\" target=\"_blank\" rel=\"noopener\">SUMA-EV</a> , you or your company can obtain one or more sponsoring links on our <a href=\"http://suma-ev.de/suma-links/index.html#sponsors\" target=\"_blank\" rel=\"noopener\">members and sponsors pages</a> linked to\r\nyour homepage (if available). If you want that, please tell us within your donation message. <a href=\"https://metager.de/klassik/spenden1.html\" target=\"_blank\" rel=\"noopener\">Or become a SUMA-EV sponsor!</a>",
"about.4" => "<a href=\"http://suma-ev.de/unterstuetzung/index.html\" target=\"_blank\" rel=\"noopener\">Every form of support</a> helps open search engines and open knowledge access to have a chance on the Internet. Open Knowledge access also includes that neither your information is monitored, nor your Internet adresses and connection data is collected. We anonymise your Internet adress during search, it is not stored and not passed on. Open Internet search without surveillance: <a href=\"/en/\" target=\"_blank\" rel=\"noopener\">MetaGer.de!</a>",
"about.5" => "Another possibility to help MetaGer is to make your next online purchase via a MetaGer support shop. We became part of the <a href=\"https://www.boost-project.com/de\" target=\"_blank\" rel=\"noopener\">www.boost-project.com</a> to be able to be supported this way. The project unites around 700 online shops (from Amazon to Zooplus), that all declared to donate around 6% of every sale. Instead of directly browsing the online shop, use this link next time: <a href=\"/en/\" target=\"_blank\" rel=\"noopener\">MetaGer.de!</a> and click below the search term box on <a href=\"https://www.boost-project.com/de/shops?charity_id=1129&tag=bl\" target=\"_blank\" rel=\"noopener\">\"Purchase at affiliate shop\" - click here!</a> This click brings you to the boost project shop selection. There you choose your shop and keep on shopping as usual. That is all. If enough people do this, we do not need ads anymore. Just two clicks for you - a chance for open knowledge access for the digital world.",
"danke.title" => "Thank you very much!! We received your donation message for MetaGer to SUMA-EV",
......
......@@ -6,7 +6,6 @@ return [
"foki.nachrichten" => "Informativos/Política",
"foki.wissenschaft" => "Ciencia",
"foki.produkte" => "Productos",
"foki.anpassen" => "ajustar",
"foki.angepasst" => "ajustado",
"foki.maps" => "Maps.metager.de <span class=\"badge new-feature\">Nuevo</span>",
"foki.maps" => "Maps.metager.de",
......
......@@ -24,7 +24,7 @@ return [
"drucken" => "Imprimir",
"about.1" => "Sobre nosotros",
"about.2" => "El motor de búsqueda alemán MetaGer maneja y desarrolla el SUME-EV asociación para el acceso libre al conocimiento. Somos aprobados como asociación sin fines de lucro, una de nuestras metas es el desarrollo y el manejo de buscadores. No recibimos dinero de entidades estatales y por esto somos dependiente de sus donaciones. Hemos reducido considerablemente la cantidad de anuncios y confiamos en SU apoyo. Ayuda usted que buscadores libres se mantienen en el internet y que pueden crecer. Lo puede hacer con una donación en nuestro sitio. O si quiere apoyarnos a largo plazo: <a href=\"https://metager.de/klassik/bform1.htm\" target=\"_blank\" rel=\"noopener\"> puede convertirse en miembro del SUME-EV</a>",
"about.3" => "Si usted dona 50,- Euro o mas, o si se hace miembro del <a href=\"http://suma-ev.de/\" target=\"_blank\" rel=\"noopener\">SUMA-EV</a>, entonces usted puede, si quiere ser mencionado en nuestra <a href=\"http://suma-ev.de/suma-links/index.html#sponsors\" target=\"_blank\" rel=\"noopener\">hoja de miembros y esponsores e</a> con un hipervínculo a su página web (en caso que tiene una). Si quiere esto, por favor menciónalo en la casilla de mensaje <a href=\"https://metager.de/klassik/spenden1.html\" target=\"_blank\" rel=\"noopener\"> o hágase promotor del SUMA-EV!</a>. ",
"about.3" => "Si usted dona 100,- Euro o mas, o si se hace miembro del <a href=\"http://suma-ev.de/\" target=\"_blank\" rel=\"noopener\">SUMA-EV</a>, entonces usted puede, si quiere ser mencionado en nuestra <a href=\"http://suma-ev.de/suma-links/index.html#sponsors\" target=\"_blank\" rel=\"noopener\">hoja de miembros y esponsores e</a> con un hipervínculo a su página web (en caso que tiene una). Si quiere esto, por favor menciónalo en la casilla de mensaje <a href=\"https://metager.de/klassik/spenden1.html\" target=\"_blank\" rel=\"noopener\"> o hágase promotor del SUMA-EV!</a>. ",
"about.4" => "<a href=\"http://suma-ev.de/unterstuetzung/index.html\" target=\"_blank\" rel=\"noopener\">Cualquier forma de apoyo</a> ayuda, que buscadores libres y acceso libre al conocimiento en el internet tienen un futuro. Parte del acceso libre al conocimiento es, que ni sus datos no están supervisados ni guardados, ni su dirección del internet o los datos de su conectividad. Con nosotros su dirección de internet esta anónimo durante la búsqueda, no sera guardado y no sera proporcionando a terceros. Búsqueda libre en el internet sin monitoréo: <a href=\"https://metager.de/\" target=\"_blank\" rel=\"noopener\">MetaGer.de!</a>",
"about.5" => "Otra posibilidad de apoyar MetaGer es, hacer su próxima compra en linea en una tienda patrocinadora de MetaGer. Para poder recibir ayuda por esta vía nos hemos hecho miembros de la red de organizaciones sin fines de lucro <a href=\"https://www.boost-project.com/de\" target=\"_blank\" rel=\"noopener\">www.boost-project.com</a>. Bajo del techo del proyecto hay aprox. 400 tiendas en linea unidas (desde Amazon hasta Zooplus), que están de acuerdo donar 6% de las ventas a nuestro proyecto. En ves de navegar directamente a la tienda en linea, busca primero nuestra página <a href=\"https://metager.de/\" target=\"_blank\" rel=\"noopener\">MetaGer.de!</a> y haga click debajo de la casilla de búsqueda en <a href=\"https://www.boost-project.com/de/shops?charity_id=1129&amp;tag=bl\" target=\"_blank\" rel=\"noopener\">¡Haga sus compras en tiendas patrocinadoras - click aquí!</a>. Este click le lleva a la seleccion de tiendas en el proyecto Boost. Allí seleciona la tienda en linea y hace su compra como siempre. Esto es todo. Si suficiente gente hace esto, ya no necesitamos poner promociones en las búsquedas. Solo dos clicks para usted - para todos acceso libre al conocimiento en el mundo digital.",
"danke.title" => "¡Muchas gracias!! Hemos recibido su informacion de donación para MetaGer al SUME-EV.",
......
......@@ -6,7 +6,6 @@ return [
"foki.nachrichten" => "News/Politique",
"foki.wissenschaft" => "Sciènces",
"foki.produkte" => "Produits",
"foki.anpassen" => "ajuster",
"foki.angepasst" => "ajusté(e)",
"foki.maps" => "Maps.metager.de <span class=\"badge new-feature\">Nouveau</span>",
"design" => "Choisir un design personnel",
......
......@@ -147,9 +147,21 @@
<p class="text-muted">@lang("index.focus-creator.description")</p>
</div>
<div class="modal-body">
<label for="focus-name">@lang('index.focus-creator.focusname')</label>
<input id="focus-name" type="text" name="focus-name" placeholder="@lang('index.focus-creator.name-placeholder')">
<input id="original-id" type="hidden" name="original-id" value="">
<div class="clearfix">
<div class="pull-left">
<label for="focus-name">@lang('index.focus-creator.focusname')</label>
<input id="focus-name" type="text" name="focus-name" placeholder="@lang('index.focus-creator.name-placeholder')">
<input id="original-id" type="hidden" name="original-id" value="">
</div>
<div class="pull-right">
<button class="delete-focus-btn btn btn-danger">
@lang('index.focus-creator.delete')
</button>
<button class="save-focus-btn btn btn-primary">
@lang('index.focus-creator.save')
</button>
</div>
</div>
{{--
<h2>{!! trans('settings.suchmaschinen.1') !!} <small><button type="button" class="btn btn-link allUnchecker hide">{!! trans('settings.suchmaschinen.2') !!}</button></small></h2>
--}}
......@@ -179,10 +191,10 @@
@endforeach
<div class="clearfix">
<div class="pull-right">
<button id="delete-focus-btn" type="button" class="btn btn-danger">
<button class="delete-focus-btn btn btn-danger">
@lang('index.focus-creator.delete')
</button>
<button id="save-focus-btn" class="btn btn-primary">
<button class="save-focus-btn btn btn-primary">
@lang('index.focus-creator.save')
</button>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment