'<img class="smiley" src="' . $a->get_baseurl() . '/images/like.gif" alt=":like" />',
'<img class="smiley" src="' . $a->get_baseurl() . '/images/dislike.gif" alt=":dislike" />',
'<a href="http://friendica.com">~friendica <img class="smiley" src="' . $a->get_baseurl() . '/images/friendica-16.png" alt="~friendica" /></a>',
- '<a href="http://friendica.com">red <img class="smiley" src="' . $a->get_baseurl() . '/images/rhash-16.png" alt="red" /></a>'
+ '<a href="http://redmatrix.me/">red <img class="smiley" src="' . $a->get_baseurl() . '/images/rhash-16.png" alt="red" /></a>'
);
$params = array('texts' => $texts, 'icons' => $icons, 'string' => $s);
$sexual = notags(trim($_POST['sexual']));
$homepage = notags(trim($_POST['homepage']));
+ if (strpos($homepage, 'http') !== 0) {
+ // neither http nor https in URL, add them
+ $homepage = 'http://'.$homepage;
+ }
$hometown = notags(trim($_POST['hometown']));
$politic = notags(trim($_POST['politic']));
$religion = notags(trim($_POST['religion']));
<?php
require_once('include/email.php');
+require_once('include/bbcode.php');
if(! function_exists('register_post')) {
function register_post(&$a) {
'$realpeople' => $realpeople,
'$regtitle' => t('Registration'),
'$registertext' =>((x($a->config,'register_text'))
- ? '<div class="error-message">' . $a->config['register_text'] . '</div>'
+ ? bbcode($a->config['register_text'])
: "" ),
'$fillwith' => $fillwith,
'$fillext' => $fillext,
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#: ../../object/Item.php:92
msgid "This entry was edited"
Hæ, \r
-Ég er $sitename. \r
+Ég er $sitename; \r
Þróunarteymi friendica gáfu nýlega út uppfærslu $update, \r
En þegar ég reyndi að uppfæra, gerist eitthvað hræðilegt. \r
Þetta þarf að laga strax og ég get það ekki ein. Hafðu samband við \r
-{{*
- * AUTOMATICALLY GENERATED TEMPLATE
- * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
<h3>{{$regtitle}}</h3>
<form action="register" method="post" id="register-form">
<input type="hidden" name="photo" value="{{$photo}}" />
- {{$registertext}}
+ {{if $registertext != ""}}<div class="error-message">{{$registertext}} </div>{{/if}}
+
<p id="register-realpeople">{{$realpeople}}</p>