diff --git a/boot.php b/boot.php index 852b8eef3..1a93086ae 100644 --- a/boot.php +++ b/boot.php @@ -14,7 +14,7 @@ require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_VERSION', '3.1.1586' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); -define ( 'DB_UPDATE_VERSION', 1157 ); +define ( 'DB_UPDATE_VERSION', 1158 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); @@ -622,7 +622,6 @@ if(! class_exists('App')) { */ if(!isset($this->page['htmlhead'])) $this->page['htmlhead'] = ''; - $tpl = get_markup_template('head.tpl'); // If we're using Smarty, then doing replace_macros() will replace // any unrecognized variables with a blank string. Since we delay @@ -633,6 +632,7 @@ if(! class_exists('App')) { else $stylesheet = '$stylesheet'; + $tpl = get_markup_template('head.tpl'); $this->page['htmlhead'] = replace_macros($tpl,array( '$baseurl' => $this->get_baseurl(), // FIXME for z_path!!!! '$local_user' => local_user(), @@ -1381,8 +1381,6 @@ if(! function_exists('profile_sidebar')) { } - $tpl = get_markup_template('profile_vcard.tpl'); - $p = array(); foreach($profile as $k => $v) { $k = str_replace('-','_',$k); @@ -1392,6 +1390,7 @@ if(! function_exists('profile_sidebar')) { if($a->theme['template_engine'] === 'internal') $location = template_escape($location); + $tpl = get_markup_template('profile_vcard.tpl'); $o .= replace_macros($tpl, array( '$profile' => $p, '$connect' => $connect, diff --git a/database.sql b/database.sql index 369637fe6..28a7c931e 100644 --- a/database.sql +++ b/database.sql @@ -241,6 +241,20 @@ CREATE TABLE IF NOT EXISTS `deliverq` ( -- -------------------------------------------------------- +-- +-- Table structure for table `dsprphotoq` +-- + +CREATE TABLE `dsprphotoq` ( + `id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `uid` int(11) NOT NULL, + `msg` mediumtext NOT NULL, + `attempt` tinyint(4) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- -------------------------------------------------------- + -- -- Table structure for table `event` -- diff --git a/include/attach.php b/include/attach.php index 6d611cec0..079911ffa 100644 --- a/include/attach.php +++ b/include/attach.php @@ -42,6 +42,10 @@ function z_mime_content_type($filename) { 'qt' => 'video/quicktime', 'mov' => 'video/quicktime', 'ogg' => 'application/ogg', + 'mp4' => 'video/mp4', + 'avi' => 'video/x-msvideo', + 'wmv' => 'video/x-ms-wmv', + 'wma' => 'audio/x-ms-wma', // adobe 'pdf' => 'application/pdf', diff --git a/include/conversation.php b/include/conversation.php index 9420d8b74..e659ca04d 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -877,26 +877,21 @@ function format_like($cnt,$arr,$type,$id) { if($cnt == 1) $o .= (($type === 'like') ? sprintf( t('%s likes this.'), $arr[0]) : sprintf( t('%s doesn\'t like this.'), $arr[0])) . EOL ; else { - //$spanatts = 'class="fakelink" onclick="openClose(\'' . $type . 'list-' . $id . '\');"'; + $spanatts = "class=\"fakelink\" onclick=\"openClose('{$type}list-$id');\""; switch($type) { case 'like': -// $phrase = sprintf( t('%2$d people like this.'), $spanatts, $cnt); - $mood = t('like this'); + $phrase = sprintf( t('%2$d people like this'), $spanatts, $cnt); break; case 'dislike': -// $phrase = sprintf( t('%2$d people don\'t like this.'), $spanatts, $cnt); - $mood = t('don\'t like this'); + $phrase = sprintf( t('%2$d people don\'t like this'), $spanatts, $cnt); break; } - $tpl = get_markup_template("voting_fakelink.tpl"); - $phrase = replace_macros($tpl, array( - '$vote_id' => $type . 'list-' . $id, - '$count' => $cnt, - '$people' => t('people'), - '$vote_mood' => $mood + $phrase .= EOL ; + $o .= replace_macros(get_markup_template('voting_fakelink.tpl'), array( + '$phrase' => $phrase, + '$type' => $type, + '$id' => $id )); - $o .= $phrase; -// $o .= EOL ; $total = count($arr); if($total >= MAX_LIKERS) diff --git a/include/diaspora.php b/include/diaspora.php index 3b681e991..18d37c243 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -16,7 +16,9 @@ function diaspora_dispatch_public($msg) { return; } - $r = q("SELECT `user`.* FROM `user` WHERE `user`.`uid` IN ( SELECT `contact`.`uid` FROM `contact` WHERE `contact`.`network` = '%s' AND `contact`.`addr` = '%s' ) AND `account_expired` = 0 AND `account_removed` = 0 ", + $r = q("SELECT `user`.* FROM `user` WHERE `user`.`uid` IN + ( SELECT `contact`.`uid` FROM `contact` WHERE `contact`.`network` = '%s' AND `contact`.`addr` = '%s' ) + AND `account_expired` = 0 AND `account_removed` = 0 ", dbesc(NETWORK_DIASPORA), dbesc($msg['author']) ); @@ -32,7 +34,7 @@ function diaspora_dispatch_public($msg) { -function diaspora_dispatch($importer,$msg) { +function diaspora_dispatch($importer,$msg,$attempt=1) { $ret = 0; @@ -88,7 +90,7 @@ function diaspora_dispatch($importer,$msg) { $ret = diaspora_signed_retraction($importer,$xmlbase->relayable_retraction,$msg); } elseif($xmlbase->photo) { - $ret = diaspora_photo($importer,$xmlbase->photo,$msg); + $ret = diaspora_photo($importer,$xmlbase->photo,$msg,$attempt); } elseif($xmlbase->conversation) { $ret = diaspora_conversation($importer,$xmlbase->conversation,$msg); @@ -1655,7 +1657,7 @@ function diaspora_message($importer,$xml,$msg) { } -function diaspora_photo($importer,$xml,$msg) { +function diaspora_photo($importer,$xml,$msg,$attempt=1) { $a = get_app(); @@ -1693,7 +1695,14 @@ function diaspora_photo($importer,$xml,$msg) { dbesc($status_message_guid) ); if(! count($r)) { - logger('diaspora_photo: parent item not found: parent: ' . $parent_guid . ' item: ' . $guid); + if($attempt <= 3) { + q("INSERT INTO dsprphotoq (uid, msg, attempt) VALUES (%d, '%s', %d)", + intval($importer['uid']), + dbesc(serialize($msg)), + intval($attempt + 1) + ); + } + logger('diaspora_photo: attempt = ' . $attempt . '; status message not found: ' . $status_message_guid . ' for photo: ' . $guid); return; } @@ -2319,13 +2328,15 @@ function diaspora_send_followup($item,$owner,$contact,$public_batch = false) { $myaddr = $owner['nickname'] . '@' . substr($a->get_baseurl(), strpos($a->get_baseurl(),'://') + 3); // $theiraddr = $contact['addr']; - // Diaspora doesn't support threaded comments - /*if($item['thr-parent']) { + // Diaspora doesn't support threaded comments, but some + // versions of Diaspora (i.e. Diaspora-pistos) support + // likes on comments + if($item['verb'] === ACTIVITY_LIKE && $item['thr-parent']) { $p = q("select guid, type, uri, `parent-uri` from item where uri = '%s' limit 1", dbesc($item['thr-parent']) ); } - else {*/ + else { // The first item in the `item` table with the parent id is the parent. However, MySQL doesn't always // return the items ordered by `item`.`id`, in which case the wrong item is chosen as the parent. // The only item with `parent` and `id` as the parent id is the parent item. @@ -2333,7 +2344,7 @@ function diaspora_send_followup($item,$owner,$contact,$public_batch = false) { intval($item['parent']), intval($item['parent']) ); - //} + } if(count($p)) $parent = $p[0]; else @@ -2395,13 +2406,15 @@ function diaspora_send_relay($item,$owner,$contact,$public_batch = false) { $body = $item['body']; $text = html_entity_decode(bb2diaspora($body)); - // Diaspora doesn't support threaded comments - /*if($item['thr-parent']) { + // Diaspora doesn't support threaded comments, but some + // versions of Diaspora (i.e. Diaspora-pistos) support + // likes on comments + if($item['verb'] === ACTIVITY_LIKE && $item['thr-parent']) { $p = q("select guid, type, uri, `parent-uri` from item where uri = '%s' limit 1", dbesc($item['thr-parent']) ); } - else {*/ + else { // The first item in the `item` table with the parent id is the parent. However, MySQL doesn't always // return the items ordered by `item`.`id`, in which case the wrong item is chosen as the parent. // The only item with `parent` and `id` as the parent id is the parent item. @@ -2409,7 +2422,7 @@ function diaspora_send_relay($item,$owner,$contact,$public_batch = false) { intval($item['parent']), intval($item['parent']) ); - //} + } if(count($p)) $parent = $p[0]; else diff --git a/include/dsprphotoq.php b/include/dsprphotoq.php new file mode 100644 index 000000000..06e733d79 --- /dev/null +++ b/include/dsprphotoq.php @@ -0,0 +1,50 @@ +$url) - if (strpos($message, $url) == false) + if (strpos($message, $url) === false) $message .= "\n".$url." "; //$message .= "\n[".($counter++)."] ".$url; } diff --git a/include/items.php b/include/items.php index b465c444e..08127c6eb 100755 --- a/include/items.php +++ b/include/items.php @@ -3732,11 +3732,11 @@ function item_getfeedtags($item) { function item_getfeedattach($item) { $ret = ''; - $arr = explode(',',$item['attach']); + $arr = explode('[/attach],',$item['attach']); if(count($arr)) { foreach($arr as $r) { $matches = false; - $cnt = preg_match('|\[attach\]href=\"(.*?)\" length=\"(.*?)\" type=\"(.*?)\" title=\"(.*?)\"\[\/attach\]|',$r,$matches); + $cnt = preg_match('|\[attach\]href=\"(.*?)\" length=\"(.*?)\" type=\"(.*?)\" title=\"(.*?)\"|',$r,$matches); if($cnt) { $ret .= 'theme_info,"extends") && file_exists($root . "view/theme/".$a->theme_info["extends"]."/$filename")) - $template_file = $root . "view/theme/".$a->theme_info["extends"]."/$filename"; + if(file_exists("{$root}view/theme/$theme/$filename")) + $template_file = "{$root}view/theme/$theme/$filename"; + elseif (x($a->theme_info,"extends") && file_exists("{$root}view/theme/{$a->theme_info["extends"]}/$filename")) + $template_file = "{$root}view/theme/{$a->theme_info["extends"]}/$filename"; else - $template_file = $root . "view/$filename"; + $template_file = "{$root}view/$filename"; return $template_file; }} @@ -1041,13 +1041,13 @@ function prepare_body($item,$attach = false) { return $s; } - $arr = explode(',',$item['attach']); + $arr = explode('[/attach],',$item['attach']); if(count($arr)) { $s .= '
'; foreach($arr as $r) { $matches = false; $icon = ''; - $cnt = preg_match_all('|\[attach\]href=\"(.*?)\" length=\"(.*?)\" type=\"(.*?)\" title=\"(.*?)\"\[\/attach\]|',$r,$matches, PREG_SET_ORDER); + $cnt = preg_match_all('|\[attach\]href=\"(.*?)\" length=\"(.*?)\" type=\"(.*?)\" title=\"(.*?)\"|',$r,$matches, PREG_SET_ORDER); if($cnt) { foreach($matches as $mtch) { $icontype = strtolower(substr($mtch[3],0,strpos($mtch[3],'/'))); diff --git a/js/acl.js b/js/acl.js index abdab97da..fc6a6c0c1 100644 --- a/js/acl.js +++ b/js/acl.js @@ -253,7 +253,7 @@ ACL.prototype.populate = function(data){ //console.log(html); that.list_content.append(html); }); - $(".acl-list-item[rel!=acl-template] img[data-src]").each(function(i, el){ + $(".acl-list-item img[data-src]", that.list_content).each(function(i, el){ // Add src attribute for images with a data-src attribute $(el).attr('src', $(el).data("src")); }); diff --git a/js/acl.min.js b/js/acl.min.js index 74904a02c..b3ad459e9 100644 --- a/js/acl.min.js +++ b/js/acl.min.js @@ -1 +1 @@ -function ACL(e,t){that=this,that.url=e,that.kp_timer=null,t==undefined&&(t=[]),that.allow_cid=t[0]||[],that.allow_gid=t[1]||[],that.deny_cid=t[2]||[],that.deny_gid=t[3]||[],that.group_uids=[],that.nw=4,that.list_content=$("#acl-list-content"),that.item_tpl=unescape($(".acl-list-item[rel=acl-template]").html()),that.showall=$("#acl-showall"),t.length==0&&that.showall.addClass("selected"),that.showall.click(that.on_showall),$(".acl-button-show").live("click",that.on_button_show),$(".acl-button-hide").live("click",that.on_button_hide),$("#acl-search").keypress(that.on_search),$("#acl-wrapper").parents("form").submit(that.on_submit),that.get(0,100)}ACL.prototype.on_submit=function(){aclfileds=$("#acl-fields").html(""),$(that.allow_gid).each(function(e,t){aclfileds.append("")}),$(that.allow_cid).each(function(e,t){aclfileds.append("")}),$(that.deny_gid).each(function(e,t){aclfileds.append("")}),$(that.deny_cid).each(function(e,t){aclfileds.append("")})},ACL.prototype.search=function(){var e=$("#acl-search").val();that.list_content.html(""),that.get(0,100,e)},ACL.prototype.on_search=function(e){that.kp_timer&&clearTimeout(that.kp_timer),that.kp_timer=setTimeout(that.search,1e3)},ACL.prototype.on_showall=function(e){return e.preventDefault(),e.stopPropagation(),that.showall.hasClass("selected")?!1:(that.showall.addClass("selected"),that.allow_cid=[],that.allow_gid=[],that.deny_cid=[],that.deny_gid=[],that.update_view(),!1)},ACL.prototype.on_button_show=function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),that.set_allow($(this).parent().attr("id")),!1},ACL.prototype.on_button_hide=function(e){return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),that.set_deny($(this).parent().attr("id")),!1},ACL.prototype.set_allow=function(e){type=e[0],id=parseInt(e.substr(1));switch(type){case"g":that.allow_gid.indexOf(id)<0?that.allow_gid.push(id):that.allow_gid.remove(id),that.deny_gid.indexOf(id)>=0&&that.deny_gid.remove(id);break;case"c":that.allow_cid.indexOf(id)<0?that.allow_cid.push(id):that.allow_cid.remove(id),that.deny_cid.indexOf(id)>=0&&that.deny_cid.remove(id)}that.update_view()},ACL.prototype.set_deny=function(e){type=e[0],id=parseInt(e.substr(1));switch(type){case"g":that.deny_gid.indexOf(id)<0?that.deny_gid.push(id):that.deny_gid.remove(id),that.allow_gid.indexOf(id)>=0&&that.allow_gid.remove(id);break;case"c":that.deny_cid.indexOf(id)<0?that.deny_cid.push(id):that.deny_cid.remove(id),that.allow_cid.indexOf(id)>=0&&that.allow_cid.remove(id)}that.update_view()},ACL.prototype.update_view=function(){that.allow_gid.length==0&&that.allow_cid.length==0&&that.deny_gid.length==0&&that.deny_cid.length==0?(that.showall.addClass("selected"),$("#jot-perms-icon").removeClass("lock").addClass("unlock"),$("#jot-public").show(),$(".profile-jot-net input").attr("disabled",!1),typeof editor!="undefined"&&editor!=0&&$("#profile-jot-desc").html(ispublic)):(that.showall.removeClass("selected"),$("#jot-perms-icon").removeClass("unlock").addClass("lock"),$("#jot-public").hide(),$(".profile-jot-net input").attr("disabled","disabled"),$("#profile-jot-desc").html(" ")),$("#acl-list-content .acl-list-item").each(function(){$(this).removeClass("groupshow grouphide")}),$("#acl-list-content .acl-list-item").each(function(){itemid=$(this).attr("id"),type=itemid[0],id=parseInt(itemid.substr(1)),btshow=$(this).children(".acl-button-show").removeClass("selected"),bthide=$(this).children(".acl-button-hide").removeClass("selected");switch(type){case"g":var e="";that.allow_gid.indexOf(id)>=0&&(btshow.addClass("selected"),bthide.removeClass("selected"),e="groupshow"),that.deny_gid.indexOf(id)>=0&&(btshow.removeClass("selected"),bthide.addClass("selected"),e="grouphide"),$(that.group_uids[id]).each(function(t,n){e=="grouphide"&&$("#c"+n).removeClass("groupshow");if(e!=""){var r=$("#c"+n).attr("class");if(r==undefined)return!0;var i=r.indexOf("grouphide");i==-1&&$("#c"+n).addClass(e)}});break;case"c":that.allow_cid.indexOf(id)>=0&&(btshow.addClass("selected"),bthide.removeClass("selected")),that.deny_cid.indexOf(id)>=0&&(btshow.removeClass("selected"),bthide.addClass("selected"))}})},ACL.prototype.get=function(e,t,n){var r={start:e,count:t,search:n};$.ajax({type:"POST",url:that.url,data:r,dataType:"json",success:that.populate})},ACL.prototype.populate=function(e){var t=Math.ceil(e.tot/that.nw)*42;that.list_content.height(t),$(e.items).each(function(){html="
"+that.item_tpl+"
",html=html.format(this.photo,this.name,this.type,this.id,"",this.network,this.link),this.uids!=undefined&&(that.group_uids[this.id]=this.uids),that.list_content.append(html)}),that.update_view()}; \ No newline at end of file +function ACL(backend_url,preset){that=this;that.url=backend_url;that.kp_timer=null;if(preset==undefined)preset=[];that.allow_cid=preset[0]||[];that.allow_gid=preset[1]||[];that.deny_cid=preset[2]||[];that.deny_gid=preset[3]||[];that.group_uids=[];that.nw=4;that.list_content=$("#acl-list-content");that.item_tpl=unescape($(".acl-list-item[rel=acl-template]").html());that.showall=$("#acl-showall");if(preset.length==0)that.showall.addClass("selected");that.showall.click(that.on_showall);$(".acl-button-show").live("click",that.on_button_show);$(".acl-button-hide").live("click",that.on_button_hide);$("#acl-search").keypress(that.on_search);$("#acl-wrapper").parents("form").submit(that.on_submit);that.get(0,100)}ACL.prototype.on_submit=function(){aclfileds=$("#acl-fields").html("");$(that.allow_gid).each(function(i,v){aclfileds.append("")});$(that.allow_cid).each(function(i,v){aclfileds.append("")});$(that.deny_gid).each(function(i,v){aclfileds.append("")});$(that.deny_cid).each(function(i,v){aclfileds.append("")})};ACL.prototype.search=function(){var srcstr=$("#acl-search").val();that.list_content.html("");that.get(0,100,srcstr)};ACL.prototype.on_search=function(event){if(that.kp_timer)clearTimeout(that.kp_timer);that.kp_timer=setTimeout(that.search,1e3)};ACL.prototype.on_showall=function(event){event.preventDefault();event.stopPropagation();if(that.showall.hasClass("selected")){return false}that.showall.addClass("selected");that.allow_cid=[];that.allow_gid=[];that.deny_cid=[];that.deny_gid=[];that.update_view();return false};ACL.prototype.on_button_show=function(event){event.preventDefault();event.stopImmediatePropagation();event.stopPropagation();that.set_allow($(this).parent().attr("id"));return false};ACL.prototype.on_button_hide=function(event){event.preventDefault();event.stopImmediatePropagation();event.stopPropagation();that.set_deny($(this).parent().attr("id"));return false};ACL.prototype.set_allow=function(itemid){type=itemid[0];id=parseInt(itemid.substr(1));switch(type){case"g":if(that.allow_gid.indexOf(id)<0){that.allow_gid.push(id)}else{that.allow_gid.remove(id)}if(that.deny_gid.indexOf(id)>=0)that.deny_gid.remove(id);break;case"c":if(that.allow_cid.indexOf(id)<0){that.allow_cid.push(id)}else{that.allow_cid.remove(id)}if(that.deny_cid.indexOf(id)>=0)that.deny_cid.remove(id);break}that.update_view()};ACL.prototype.set_deny=function(itemid){type=itemid[0];id=parseInt(itemid.substr(1));switch(type){case"g":if(that.deny_gid.indexOf(id)<0){that.deny_gid.push(id)}else{that.deny_gid.remove(id)}if(that.allow_gid.indexOf(id)>=0)that.allow_gid.remove(id);break;case"c":if(that.deny_cid.indexOf(id)<0){that.deny_cid.push(id)}else{that.deny_cid.remove(id)}if(that.allow_cid.indexOf(id)>=0)that.allow_cid.remove(id);break}that.update_view()};ACL.prototype.update_view=function(){if(that.allow_gid.length==0&&that.allow_cid.length==0&&that.deny_gid.length==0&&that.deny_cid.length==0){that.showall.addClass("selected");$("#jot-perms-icon").removeClass("lock").addClass("unlock");$("#jot-public").show();$(".profile-jot-net input").attr("disabled",false);if(typeof editor!="undefined"&&editor!=false){$("#profile-jot-desc").html(ispublic)}}else{that.showall.removeClass("selected");$("#jot-perms-icon").removeClass("unlock").addClass("lock");$("#jot-public").hide();$(".profile-jot-net input").attr("disabled","disabled");$("#profile-jot-desc").html(" ")}$("#acl-list-content .acl-list-item").each(function(){$(this).removeClass("groupshow grouphide")});$("#acl-list-content .acl-list-item").each(function(){itemid=$(this).attr("id");type=itemid[0];id=parseInt(itemid.substr(1));btshow=$(this).children(".acl-button-show").removeClass("selected");bthide=$(this).children(".acl-button-hide").removeClass("selected");switch(type){case"g":var uclass="";if(that.allow_gid.indexOf(id)>=0){btshow.addClass("selected");bthide.removeClass("selected");uclass="groupshow"}if(that.deny_gid.indexOf(id)>=0){btshow.removeClass("selected");bthide.addClass("selected");uclass="grouphide"}$(that.group_uids[id]).each(function(i,v){if(uclass=="grouphide")$("#c"+v).removeClass("groupshow");if(uclass!=""){var cls=$("#c"+v).attr("class");if(cls==undefined)return true;var hiding=cls.indexOf("grouphide");if(hiding==-1)$("#c"+v).addClass(uclass)}});break;case"c":if(that.allow_cid.indexOf(id)>=0){btshow.addClass("selected");bthide.removeClass("selected")}if(that.deny_cid.indexOf(id)>=0){btshow.removeClass("selected");bthide.addClass("selected")}}})};ACL.prototype.get=function(start,count,search){var postdata={start:start,count:count,search:search};$.ajax({type:"POST",url:that.url,data:postdata,dataType:"json",success:that.populate})};ACL.prototype.populate=function(data){var height=Math.ceil(data.tot/that.nw)*42;that.list_content.height(height);$(data.items).each(function(){html="
"+that.item_tpl+"
";html=html.format(this.photo,this.name,this.type,this.id,"",this.network,this.link);if(this.uids!=undefined)that.group_uids[this.id]=this.uids;that.list_content.append(html)});$(".acl-list-item img[data-src]",that.list_content).each(function(i,el){$(el).attr("src",$(el).data("src"))});that.update_view()}; \ No newline at end of file diff --git a/mod/attach.php b/mod/attach.php index ae6540201..76d60a690 100644 --- a/mod/attach.php +++ b/mod/attach.php @@ -34,9 +34,11 @@ function attach_init(&$a) { return; } + // Use quotes around the filename to prevent a "multiple Content-Disposition" + // error in Chrome for filenames with commas in them header('Content-type: ' . $r[0]['filetype']); - header('Content-disposition: attachment; filename=' . $r[0]['filename']); + header('Content-disposition: attachment; filename="' . $r[0]['filename'] . '"'); echo $r[0]['data']; killme(); // NOTREACHED -} \ No newline at end of file +} diff --git a/mod/babel.php b/mod/babel.php index ca2c068f8..d31e090c5 100644 --- a/mod/babel.php +++ b/mod/babel.php @@ -11,7 +11,7 @@ function visible_lf($s) { function babel_content(&$a) { - $o .= '

Babel Diagnostic

'; + $o .= '

Babel Diagnostic

'; $o .= '
'; $o .= t('Source (bbcode) text:') . EOL . '' . EOL; @@ -28,31 +28,35 @@ function babel_content(&$a) { if(x($_REQUEST,'text')) { $text = trim($_REQUEST['text']); - $o .= t("Source input: ") . EOL. EOL; + $o .= "

" . t("Source input: ") . "

" . EOL. EOL; $o .= visible_lf($text) . EOL. EOL; $html = bbcode($text); - $o .= t("bb2html: ") . EOL. EOL; + $o .= "

" . t("bb2html (raw HTML): ") . "

" . EOL. EOL; + $o .= htmlspecialchars($html). EOL. EOL; + + //$html = bbcode($text); + $o .= "

" . t("bb2html: ") . "

" . EOL. EOL; $o .= $html. EOL. EOL; $bbcode = html2bbcode($html); - $o .= t("bb2html2bb: ") . EOL. EOL; + $o .= "

" . t("bb2html2bb: ") . "

" . EOL. EOL; $o .= visible_lf($bbcode) . EOL. EOL; $diaspora = bb2diaspora($text); - $o .= t("bb2md: ") . EOL. EOL; + $o .= "

" . t("bb2md: ") . "

" . EOL. EOL; $o .= visible_lf($diaspora) . EOL. EOL; $html = Markdown($diaspora); - $o .= t("bb2md2html: ") . EOL. EOL; + $o .= "

" . t("bb2md2html: ") . "

" . EOL. EOL; $o .= $html. EOL. EOL; $bbcode = diaspora2bb($diaspora); - $o .= t("bb2dia2bb: ") . EOL. EOL; + $o .= "

" . t("bb2dia2bb: ") . "

" . EOL. EOL; $o .= visible_lf($bbcode) . EOL. EOL; $bbcode = html2bbcode($html); - $o .= t("bb2md2html2bb: ") . EOL. EOL; + $o .= "

" . t("bb2md2html2bb: ") . "

" . EOL. EOL; $o .= visible_lf($bbcode) . EOL. EOL; @@ -62,12 +66,12 @@ function babel_content(&$a) { if(x($_REQUEST,'d2bbtext')) { $d2bbtext = trim($_REQUEST['d2bbtext']); - $o .= t("Source input (Diaspora format): ") . EOL. EOL; + $o .= "

" . t("Source input (Diaspora format): ") . "

" . EOL. EOL; $o .= visible_lf($d2bbtext) . EOL. EOL; $bb = diaspora2bb($d2bbtext); - $o .= t("diaspora2bb: ") . EOL. EOL; + $o .= "

" . t("diaspora2bb: ") . "

" . EOL. EOL; $o .= visible_lf($bb) . EOL. EOL; } diff --git a/mod/display.php b/mod/display.php index 345b8e9f1..2ac1c369e 100644 --- a/mod/display.php +++ b/mod/display.php @@ -4,8 +4,6 @@ function display_init(&$a) { if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) { - notice( t('Public access denied.') . EOL); - killme(); return; } @@ -17,6 +15,11 @@ function display_init(&$a) { function display_content(&$a, $update = 0) { + if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) { + notice( t('Public access denied.') . EOL); + return; + } + require_once("include/bbcode.php"); require_once('include/security.php'); require_once('include/conversation.php'); diff --git a/mod/group.php b/mod/group.php index 13a899ed9..cef4371e9 100644 --- a/mod/group.php +++ b/mod/group.php @@ -220,16 +220,15 @@ function group_content(&$a) { } } + $context['$groupeditor'] = $groupeditor; $context['$desc'] = t('Click on a contact to add or remove.'); if($change) { - $context['$groupeditor'] = $groupeditor; $tpl = get_markup_template('groupeditor.tpl'); echo replace_macros($tpl, $context); killme(); } - $context['$groupedit_info'] = $groupeditor; return replace_macros($tpl, $context); } diff --git a/mod/message.php b/mod/message.php index 057797ddd..885cdcd62 100644 --- a/mod/message.php +++ b/mod/message.php @@ -516,7 +516,7 @@ function message_content(&$a) { '$to' => t('To:'), '$showinputs' => '', '$subject' => t('Subject:'), - '$subjtxt' => template_escape($message['title']), + '$subjtxt' => $subjtxt_e, '$readonly' => ' readonly="readonly" style="background: #BBBBBB;" ', '$yourmessage' => t('Your message:'), '$text' => '', diff --git a/mod/parse_url.php b/mod/parse_url.php index 400c248e0..a2b4c9e28 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -236,8 +236,6 @@ function parse_url_content(&$a) { $str_tags = ''; $textmode = false; - if(local_user() && intval(get_pconfig(local_user(),'system','plaintext'))) - $textmode = true; if(local_user() && (! feature_enabled(local_user(),'richtext'))) $textmode = true; diff --git a/mod/profiles.php b/mod/profiles.php index 1fc1f484a..f517478a1 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -6,8 +6,6 @@ function profiles_init(&$a) { nav_set_selected('profiles'); if(! local_user()) { - notice( t('Permission denied.') . EOL); - killme(); return; } @@ -565,6 +563,11 @@ function profile_activity($changed, $value) { function profiles_content(&$a) { + if(! local_user()) { + notice( t('Permission denied.') . EOL); + return; + } + $o = ''; if(($a->argc > 1) && (intval($a->argv[1]))) { diff --git a/mod/wall_upload.php b/mod/wall_upload.php index d35b703aa..3bd3d8dc2 100644 --- a/mod/wall_upload.php +++ b/mod/wall_upload.php @@ -160,7 +160,12 @@ function wall_upload_post(&$a) { //if we get the signal then return the image url info in BBCODE, otherwise this outputs the info and bails (for the ajax image uploader on wall post) if ($_REQUEST['hush']!='yeah') { - echo "\n\n" . '[url=' . $a->get_baseurl() . '/photos/' . $page_owner_nick . '/image/' . $hash . '][img]' . $a->get_baseurl() . "/photo/{$hash}-{$smallest}.".$ph->getExt()."[/img][/url]\n\n"; + if(local_user() && (! feature_enabled(local_user(),'richtext') || x($_REQUEST['nomce'])) ) { + echo "\n\n" . '[url=' . $a->get_baseurl() . '/photos/' . $page_owner_nick . '/image/' . $hash . '][img]' . $a->get_baseurl() . "/photo/{$hash}-{$smallest}.".$ph->getExt()."[/img][/url]\n\n"; + } + else { + echo '

getExt()."\" alt=\"$basename\" />

"; + } } else { $m = '[url=' . $a->get_baseurl() . '/photos/' . $page_owner_nick . '/image/' . $hash . '][img]' . $a->get_baseurl() . "/photo/{$hash}-{$smallest}.".$ph->getExt()."[/img][/url]"; diff --git a/mods/friendica-to-smarty-tpl.py b/mods/friendica-to-smarty-tpl.py index ff1a102a4..8149051ca 100755 --- a/mods/friendica-to-smarty-tpl.py +++ b/mods/friendica-to-smarty-tpl.py @@ -1,14 +1,17 @@ #!/usr/bin/python # # Script to convert Friendica internal template files into Smarty template files -# Copyright 2012 Zach Prezkuta +# Copyright 2013 Zach Prezkuta # Licensed under GPL v3 import os, re, string +import sys, getopt ldelim = '{{' rdelim = '}}' +addheader = True + def fToSmarty(matches): match = matches.group(0) if match == '$j': @@ -93,6 +96,10 @@ def fix_element(element): def convert(filename, tofilename, php_tpl): + if addheader: + header = ldelim + "*\n *\tAUTOMATICALLY GENERATED TEMPLATE\n *\tDO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN\n *\n *" + rdelim + "\n" + tofilename.write(header) + for line in filename: newline = '' st_pos = 0 @@ -170,7 +177,39 @@ def convert(filename, tofilename, php_tpl): tofilename.write(newline) -path = raw_input('Path to template folder to convert: ') +def help(pname): + print "\nUsage:" + print "\t" + pname + " -h\n\n\t\t\tShow this help screen\n" + print "\t" + pname + " -p directory\n\n\t\t\tConvert all .tpl files in directory to\n\t\t\tSmarty templates in directory/smarty3/\n" + print "\t" + pname + "\n\n\t\t\tInteractive mode\n" + + + + +# +# Main script +# + +path = '' + +try: + opts, args = getopt.getopt(sys.argv[1:], "hp:", ['no-header']) + for opt, arg in opts: + if opt == '-h': + help(sys.argv[0]) + sys.exit() + elif opt == '-p': + path = arg + elif opt == '--no-header': + addheader = False +except getopt.GetoptError: + help(sys.argv[0]) + sys.exit(2) + + +if path == '': + path = raw_input('Path to template folder to convert: ') + if path[-1:] != '/': path = path + '/' diff --git a/mods/updatetpl.py b/mods/updatetpl.py new file mode 100755 index 000000000..aa815910c --- /dev/null +++ b/mods/updatetpl.py @@ -0,0 +1,64 @@ +#!/usr/bin/python +# +# Script to update Smarty template files from all internal templates +# Copyright 2013 Zach Prezkuta +# Licensed under GPL v3 + + +import os +import sys, getopt +import subprocess + + +def help(pname): + print "\nUsage:" + print "\t" + pname + " -h\n\n\t\t\tShow this help screen\n" + print "\t" + pname + " -p directory\n\n\t\t\tConvert all .tpl files in top-level\n\t\t\tFriendica directory to Smarty templates\n" + print "\t" + pname + "\n\n\t\t\tInteractive mode\n" + + + +# +# Main script +# + +path = '' + +try: + opts, args = getopt.getopt(sys.argv[1:], "hp:") + for opt, arg in opts: + if opt == '-h': + help(sys.argv[0]) + sys.exit() + elif opt == '-p': + path = arg +except getopt.GetoptError: + help(sys.argv[0]) + sys.exit(2) + +if path == '': + path = raw_input('Path to top-level Friendica directory: ') + +if path[-1:] != '/': + path = path + '/' + +tplpaths = ['view/'] +names = os.listdir(path + 'view/') +for name in names: + if os.path.isdir(path + 'view/' + name): + if name != 'smarty3' and name != 'theme': + tplpaths.append('view/' + name + '/') + +names = os.listdir(path + 'view/theme/') +for name in names: + if os.path.isdir(path + 'view/theme/' + name): + tplpaths.append('view/theme/' + name + '/') + +fnull = open(os.devnull, "w") + +for tplpath in tplpaths: + print "Converting " + path + tplpath + subprocess.call(['python', path + 'mods/friendica-to-smarty-tpl.py', '-p', path + tplpath], stdout = fnull) + +fnull.close() + diff --git a/object/Item.php b/object/Item.php index 0ea9954b0..e9f114b84 100644 --- a/object/Item.php +++ b/object/Item.php @@ -497,13 +497,7 @@ class Item extends BaseObject { return false; } - if($a->theme['template_engine'] === 'smarty3') { - $template_file = get_template_file($a, 'smarty3/' . $this->available_templates[$name]); - } - else { - $template_file = $this->available_templates[$name]; - } - $this->template = $template_file; + $this->template = $this->available_templates[$name]; } /** diff --git a/update.php b/update.php index b29afdb74..1bea71f4d 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ diff --git a/view/ca/smarty3/mail_received_text_body_eml.tpl b/view/ca/smarty3/mail_received_text_body_eml.tpl index a3fa3cd38..3bd4a186f 100644 --- a/view/ca/smarty3/mail_received_text_body_eml.tpl +++ b/view/ca/smarty3/mail_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Has rebut un nou missatge privat de '{{$from}}' en {{$siteName}}. {{$title}} diff --git a/view/ca/smarty3/passchanged_eml.tpl b/view/ca/smarty3/passchanged_eml.tpl index f0d62d9a1..eddf2ed85 100644 --- a/view/ca/smarty3/passchanged_eml.tpl +++ b/view/ca/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Apreciat/da {{$username}}, diff --git a/view/ca/smarty3/register_open_eml.tpl b/view/ca/smarty3/register_open_eml.tpl index 7da9a2b88..b4e90991b 100644 --- a/view/ca/smarty3/register_open_eml.tpl +++ b/view/ca/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Apreciat/da {{$username}}, diff --git a/view/ca/smarty3/register_verify_eml.tpl b/view/ca/smarty3/register_verify_eml.tpl index 651e8eff7..d9cc94c1a 100644 --- a/view/ca/smarty3/register_verify_eml.tpl +++ b/view/ca/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} S'ha rebut la sol·licitud de registre d'un nou usuari en {{$sitename}} que requereix la teva aprovació. diff --git a/view/ca/smarty3/request_notify_eml.tpl b/view/ca/smarty3/request_notify_eml.tpl index 18dc3ef0d..3e94e1a59 100644 --- a/view/ca/smarty3/request_notify_eml.tpl +++ b/view/ca/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Apreciat/da {{$myname}}, diff --git a/view/ca/smarty3/wall_received_eml.tpl b/view/ca/smarty3/wall_received_eml.tpl index cd7546441..faaaf1b19 100644 --- a/view/ca/smarty3/wall_received_eml.tpl +++ b/view/ca/smarty3/wall_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Apreciat/da {{$username}}, diff --git a/view/contacts-template.tpl b/view/contacts-template.tpl index 69e3202c3..ecb342bf4 100644 --- a/view/contacts-template.tpl +++ b/view/contacts-template.tpl @@ -14,8 +14,8 @@ $tabs -{{ for $contacts as $c }} - {{ inc contact_template.tpl with $contact=$c }}{{ endinc }} +{{ for $contacts as $contact }} + {{ inc contact_template.tpl }}{{ endinc }} {{ endfor }}
diff --git a/view/cs/smarty3/cmnt_received_eml.tpl b/view/cs/smarty3/cmnt_received_eml.tpl index baa7c180a..2bf7cc18c 100644 --- a/view/cs/smarty3/cmnt_received_eml.tpl +++ b/view/cs/smarty3/cmnt_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/Milá {{$username}}, '{{$from}}' okommentoval položku/konverzaci, kterou následujete. diff --git a/view/cs/smarty3/cmnt_received_html_body_eml.tpl b/view/cs/smarty3/cmnt_received_html_body_eml.tpl index 867e63332..0fa62da8f 100644 --- a/view/cs/smarty3/cmnt_received_html_body_eml.tpl +++ b/view/cs/smarty3/cmnt_received_html_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/cs/smarty3/cmnt_received_text_body_eml.tpl b/view/cs/smarty3/cmnt_received_text_body_eml.tpl index baa7c180a..2bf7cc18c 100644 --- a/view/cs/smarty3/cmnt_received_text_body_eml.tpl +++ b/view/cs/smarty3/cmnt_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/Milá {{$username}}, '{{$from}}' okommentoval položku/konverzaci, kterou následujete. diff --git a/view/cs/smarty3/follow_notify_eml.tpl b/view/cs/smarty3/follow_notify_eml.tpl index 1430e8311..f2bd3175b 100644 --- a/view/cs/smarty3/follow_notify_eml.tpl +++ b/view/cs/smarty3/follow_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/Milá {{$username}}, diff --git a/view/cs/smarty3/friend_complete_eml.tpl b/view/cs/smarty3/friend_complete_eml.tpl index fc953b76c..138036d63 100644 --- a/view/cs/smarty3/friend_complete_eml.tpl +++ b/view/cs/smarty3/friend_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/Milá {{$username}}, diff --git a/view/cs/smarty3/htconfig.tpl b/view/cs/smarty3/htconfig.tpl index c9baae798..da9b798c5 100644 --- a/view/cs/smarty3/htconfig.tpl +++ b/view/cs/smarty3/htconfig.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}  diff --git a/view/cs/smarty3/mail_received_text_body_eml.tpl b/view/cs/smarty3/mail_received_text_body_eml.tpl index 0b4c585cf..de9a84a76 100644 --- a/view/cs/smarty3/mail_received_text_body_eml.tpl +++ b/view/cs/smarty3/mail_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$from}} Vám poslal(a) novou soukromou zprávu na {{$siteName}}. {{$title}} diff --git a/view/cs/smarty3/passchanged_eml.tpl b/view/cs/smarty3/passchanged_eml.tpl index 75db8ebbf..41eb2b403 100644 --- a/view/cs/smarty3/passchanged_eml.tpl +++ b/view/cs/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/Milá {{$username}}, Vaše heslo bylo na Vaši žádost změněno. Prosím zaznamenejte si tuto informaci (nebo si Vaše heslo změňte na nějaké, které si budete pamatovat). diff --git a/view/cs/smarty3/register_open_eml.tpl b/view/cs/smarty3/register_open_eml.tpl index fa1f828c1..7278baf7c 100644 --- a/view/cs/smarty3/register_open_eml.tpl +++ b/view/cs/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/milá {{$username}}, Díky za registraci na {{$sitename}}. Váš účet byl vytvořen. Vaše přihlašovací údaje jsou tato: diff --git a/view/cs/smarty3/register_verify_eml.tpl b/view/cs/smarty3/register_verify_eml.tpl index 9186e7332..785a18267 100644 --- a/view/cs/smarty3/register_verify_eml.tpl +++ b/view/cs/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Na webu {{$sitename}} byla vytvořena nová uživatelská registrace, která vyžaduje Vaše schválení. diff --git a/view/cs/smarty3/request_notify_eml.tpl b/view/cs/smarty3/request_notify_eml.tpl index f120891e8..537cea01c 100644 --- a/view/cs/smarty3/request_notify_eml.tpl +++ b/view/cs/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/Milá {{$username}}, diff --git a/view/cs/smarty3/wall_received_eml.tpl b/view/cs/smarty3/wall_received_eml.tpl index 2578a4e7c..a7c8bd136 100644 --- a/view/cs/smarty3/wall_received_eml.tpl +++ b/view/cs/smarty3/wall_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/Milá {{$username}}, '{{$from}}' obohatil Vaši profilovou zeď. diff --git a/view/cs/smarty3/wall_received_html_body_eml.tpl b/view/cs/smarty3/wall_received_html_body_eml.tpl index ebbc2a9e1..245843e96 100644 --- a/view/cs/smarty3/wall_received_html_body_eml.tpl +++ b/view/cs/smarty3/wall_received_html_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/cs/smarty3/wall_received_text_body_eml.tpl b/view/cs/smarty3/wall_received_text_body_eml.tpl index c8ac0216c..eddf6d330 100644 --- a/view/cs/smarty3/wall_received_text_body_eml.tpl +++ b/view/cs/smarty3/wall_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Milý/Milá {{$username}}, '{{$from}}' obohatil Vaši profilovou zeď. diff --git a/view/de/smarty3/cmnt_received_eml.tpl b/view/de/smarty3/cmnt_received_eml.tpl index f902d96b4..9b5c3d842 100644 --- a/view/de/smarty3/cmnt_received_eml.tpl +++ b/view/de/smarty3/cmnt_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$username}}, diff --git a/view/de/smarty3/cmnt_received_html_body_eml.tpl b/view/de/smarty3/cmnt_received_html_body_eml.tpl index b4b994c64..c219fcb18 100644 --- a/view/de/smarty3/cmnt_received_html_body_eml.tpl +++ b/view/de/smarty3/cmnt_received_html_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/de/smarty3/cmnt_received_text_body_eml.tpl b/view/de/smarty3/cmnt_received_text_body_eml.tpl index 19f81a5e3..d100040c0 100644 --- a/view/de/smarty3/cmnt_received_text_body_eml.tpl +++ b/view/de/smarty3/cmnt_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$username}}, '{{$from}}' hat einen Pinnwandeintrag kommentiert dem du auch folgst. diff --git a/view/de/smarty3/follow_notify_eml.tpl b/view/de/smarty3/follow_notify_eml.tpl index 2fd04bb65..7bec4d32d 100644 --- a/view/de/smarty3/follow_notify_eml.tpl +++ b/view/de/smarty3/follow_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$myname}}, diff --git a/view/de/smarty3/friend_complete_eml.tpl b/view/de/smarty3/friend_complete_eml.tpl index 72234dc67..592bf7dd8 100644 --- a/view/de/smarty3/friend_complete_eml.tpl +++ b/view/de/smarty3/friend_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$username}}, diff --git a/view/de/smarty3/htconfig.tpl b/view/de/smarty3/htconfig.tpl index 75d6a77e8..033e48194 100644 --- a/view/de/smarty3/htconfig.tpl +++ b/view/de/smarty3/htconfig.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/de/smarty3/mail_received_text_body_eml.tpl b/view/de/smarty3/mail_received_text_body_eml.tpl index 7daa6fbf9..2004cc3b0 100644 --- a/view/de/smarty3/mail_received_text_body_eml.tpl +++ b/view/de/smarty3/mail_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Du hast eine neue private Nachricht von '{{$from}}' auf '{{$siteName}}' erhhalten. {{$title}} diff --git a/view/de/smarty3/passchanged_eml.tpl b/view/de/smarty3/passchanged_eml.tpl index eb08c20b7..4fd97881f 100644 --- a/view/de/smarty3/passchanged_eml.tpl +++ b/view/de/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$username}}, Dein Passwort wurde wie gewünscht geändert. Bitte bewahre diese diff --git a/view/de/smarty3/register_open_eml.tpl b/view/de/smarty3/register_open_eml.tpl index af0a0b9bb..9e474ce9e 100644 --- a/view/de/smarty3/register_open_eml.tpl +++ b/view/de/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$username}}, Danke für deine Anmeldung auf {{$sitename}}. Dein Account wurde angelegt. diff --git a/view/de/smarty3/register_verify_eml.tpl b/view/de/smarty3/register_verify_eml.tpl index 78d4aa6b7..c7acbd9b6 100644 --- a/view/de/smarty3/register_verify_eml.tpl +++ b/view/de/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Eine Neuanmeldung auf {{$sitename}} benötigt deine Aufmerksamkeit. diff --git a/view/de/smarty3/request_notify_eml.tpl b/view/de/smarty3/request_notify_eml.tpl index de2182e9d..d7c49b028 100644 --- a/view/de/smarty3/request_notify_eml.tpl +++ b/view/de/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$myname}}, @@ -7,7 +12,7 @@ erhalten. Du kannst sein/ihr Profil unter {{$url}} finden. -Bitte melde dich an um die komplette Vorstellung einzusehen +Bitte melde dich an um die komplette Anfrage einzusehen und die Anfrage zu bestätigen oder zu ignorieren oder abzulehnen. {{$siteurl}} diff --git a/view/de/smarty3/update_fail_eml.tpl b/view/de/smarty3/update_fail_eml.tpl index 5b614709a..4329d0e42 100644 --- a/view/de/smarty3/update_fail_eml.tpl +++ b/view/de/smarty3/update_fail_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hi, ich bin {{$sitename}}. Die friendica Entwickler haben jüngst Update {{$update}} veröffentlicht, diff --git a/view/de/smarty3/wall_received_eml.tpl b/view/de/smarty3/wall_received_eml.tpl index e90d67261..2ace0d5f4 100644 --- a/view/de/smarty3/wall_received_eml.tpl +++ b/view/de/smarty3/wall_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$username}}, diff --git a/view/de/smarty3/wall_received_html_body_eml.tpl b/view/de/smarty3/wall_received_html_body_eml.tpl index e6e7f2707..c58ee7500 100644 --- a/view/de/smarty3/wall_received_html_body_eml.tpl +++ b/view/de/smarty3/wall_received_html_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/de/smarty3/wall_received_text_body_eml.tpl b/view/de/smarty3/wall_received_text_body_eml.tpl index f53dc6c9c..eb310177d 100644 --- a/view/de/smarty3/wall_received_text_body_eml.tpl +++ b/view/de/smarty3/wall_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hallo {{$username}}, diff --git a/view/en/smarty3/follow_notify_eml.tpl b/view/en/smarty3/follow_notify_eml.tpl index ba07b19da..e944aad1a 100644 --- a/view/en/smarty3/follow_notify_eml.tpl +++ b/view/en/smarty3/follow_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Dear {{$myname}}, diff --git a/view/en/smarty3/friend_complete_eml.tpl b/view/en/smarty3/friend_complete_eml.tpl index 229b4fee8..8f72027e1 100644 --- a/view/en/smarty3/friend_complete_eml.tpl +++ b/view/en/smarty3/friend_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Dear {{$username}}, diff --git a/view/en/smarty3/htconfig.tpl b/view/en/smarty3/htconfig.tpl index 745bf03fe..0cceabb65 100644 --- a/view/en/smarty3/htconfig.tpl +++ b/view/en/smarty3/htconfig.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/es/smarty3/mail_received_text_body_eml.tpl b/view/es/smarty3/mail_received_text_body_eml.tpl index 22b77b724..7ff093b91 100644 --- a/view/es/smarty3/mail_received_text_body_eml.tpl +++ b/view/es/smarty3/mail_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Has recibido un nuevo mensaje privado de '{{$from}}' en {{$siteName}}. {{$title}} diff --git a/view/es/smarty3/passchanged_eml.tpl b/view/es/smarty3/passchanged_eml.tpl index eb93eb369..e17776eaa 100644 --- a/view/es/smarty3/passchanged_eml.tpl +++ b/view/es/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Estimado/a {{$username}}, diff --git a/view/es/smarty3/register_open_eml.tpl b/view/es/smarty3/register_open_eml.tpl index c65b13497..5d5630461 100644 --- a/view/es/smarty3/register_open_eml.tpl +++ b/view/es/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Estimado/a {{$username}}, diff --git a/view/es/smarty3/register_verify_eml.tpl b/view/es/smarty3/register_verify_eml.tpl index 10c35863e..a67aedd10 100644 --- a/view/es/smarty3/register_verify_eml.tpl +++ b/view/es/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Se ha recibido la solicitud de registro de un nuevo usuario en {{$sitename}} que requiere tu aprobación. diff --git a/view/es/smarty3/request_notify_eml.tpl b/view/es/smarty3/request_notify_eml.tpl index cb787a8a6..f7bdf3294 100644 --- a/view/es/smarty3/request_notify_eml.tpl +++ b/view/es/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Estimado/a {{$myname}}, diff --git a/view/es/smarty3/wall_received_eml.tpl b/view/es/smarty3/wall_received_eml.tpl index 8f495d9ef..a69c421c2 100644 --- a/view/es/smarty3/wall_received_eml.tpl +++ b/view/es/smarty3/wall_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Estimado/a {{$username}}, diff --git a/view/fr/smarty3/cmnt_received_eml.tpl b/view/fr/smarty3/cmnt_received_eml.tpl index bd7c441ea..a2c1407f5 100644 --- a/view/fr/smarty3/cmnt_received_eml.tpl +++ b/view/fr/smarty3/cmnt_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Cher(e) {{$username}}, diff --git a/view/fr/smarty3/cmnt_received_html_body_eml.tpl b/view/fr/smarty3/cmnt_received_html_body_eml.tpl index 408b643ec..d4f7ee7ef 100644 --- a/view/fr/smarty3/cmnt_received_html_body_eml.tpl +++ b/view/fr/smarty3/cmnt_received_html_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/fr/smarty3/cmnt_received_text_body_eml.tpl b/view/fr/smarty3/cmnt_received_text_body_eml.tpl index 76828474b..b0360655b 100644 --- a/view/fr/smarty3/cmnt_received_text_body_eml.tpl +++ b/view/fr/smarty3/cmnt_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Cher(e) {{$username}}, diff --git a/view/fr/smarty3/follow_notify_eml.tpl b/view/fr/smarty3/follow_notify_eml.tpl index 05fec413e..7f7da5ec3 100644 --- a/view/fr/smarty3/follow_notify_eml.tpl +++ b/view/fr/smarty3/follow_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Cher(e) {{$myname}}, diff --git a/view/fr/smarty3/friend_complete_eml.tpl b/view/fr/smarty3/friend_complete_eml.tpl index e0c0078e5..2f68255a2 100644 --- a/view/fr/smarty3/friend_complete_eml.tpl +++ b/view/fr/smarty3/friend_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Cher(e) {{$username}}, diff --git a/view/fr/smarty3/htconfig.tpl b/view/fr/smarty3/htconfig.tpl index 75d6a77e8..033e48194 100644 --- a/view/fr/smarty3/htconfig.tpl +++ b/view/fr/smarty3/htconfig.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/fr/smarty3/mail_received_text_body_eml.tpl b/view/fr/smarty3/mail_received_text_body_eml.tpl index 71c545ed6..d1f03fb6e 100644 --- a/view/fr/smarty3/mail_received_text_body_eml.tpl +++ b/view/fr/smarty3/mail_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$from}} vous a envoy un message {{$siteName}}. {{$title}} diff --git a/view/fr/smarty3/passchanged_eml.tpl b/view/fr/smarty3/passchanged_eml.tpl index 28eed70f1..47b10d3f5 100644 --- a/view/fr/smarty3/passchanged_eml.tpl +++ b/view/fr/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Cher(e) {{$username}}, diff --git a/view/fr/smarty3/register_open_eml.tpl b/view/fr/smarty3/register_open_eml.tpl index 373f314b0..320a58016 100644 --- a/view/fr/smarty3/register_open_eml.tpl +++ b/view/fr/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Cher(e) {{$username}}, diff --git a/view/fr/smarty3/register_verify_eml.tpl b/view/fr/smarty3/register_verify_eml.tpl index 22b6d8a94..8127010dd 100644 --- a/view/fr/smarty3/register_verify_eml.tpl +++ b/view/fr/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Une nouvelle demande d'inscription a été reçue sur {{$sitename}}, et elle nécessite votre approbation. diff --git a/view/fr/smarty3/request_notify_eml.tpl b/view/fr/smarty3/request_notify_eml.tpl index 3f5f8a1f4..cf2fe0cf0 100644 --- a/view/fr/smarty3/request_notify_eml.tpl +++ b/view/fr/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Cher(e) {{$myname}}, diff --git a/view/fr/smarty3/wall_received_eml.tpl b/view/fr/smarty3/wall_received_eml.tpl index 991fad857..2f91457fd 100644 --- a/view/fr/smarty3/wall_received_eml.tpl +++ b/view/fr/smarty3/wall_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Cher(e) {{$username}}, diff --git a/view/group_edit.tpl b/view/group_edit.tpl index 35d298111..2fa2b1a55 100644 --- a/view/group_edit.tpl +++ b/view/group_edit.tpl @@ -15,9 +15,9 @@
-{{ if $groupedit_info }} +{{ if $groupeditor }}
- {{ inc groupeditor.tpl with $groupeditor=$groupedit_info }}{{ endinc }} + {{ inc groupeditor.tpl }}{{ endinc }}
{{ endif }} {{ if $desc }}
$desc
{{ endif }} diff --git a/view/is/smarty3/follow_notify_eml.tpl b/view/is/smarty3/follow_notify_eml.tpl index 127f05a45..e96380112 100644 --- a/view/is/smarty3/follow_notify_eml.tpl +++ b/view/is/smarty3/follow_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Góðan daginn {{$myname}}, diff --git a/view/is/smarty3/friend_complete_eml.tpl b/view/is/smarty3/friend_complete_eml.tpl index 1bc440269..5bdbeff51 100644 --- a/view/is/smarty3/friend_complete_eml.tpl +++ b/view/is/smarty3/friend_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Góðan daginn {{$username}}, diff --git a/view/is/smarty3/intro_complete_eml.tpl b/view/is/smarty3/intro_complete_eml.tpl index bbf86cf15..11b6bbd46 100644 --- a/view/is/smarty3/intro_complete_eml.tpl +++ b/view/is/smarty3/intro_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Góðan daginn {{$username}}, diff --git a/view/is/smarty3/lostpass_eml.tpl b/view/is/smarty3/lostpass_eml.tpl index d2010ac8f..a6f83ed51 100644 --- a/view/is/smarty3/lostpass_eml.tpl +++ b/view/is/smarty3/lostpass_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Góðan dag {{$username}}, Beiðni barst á {{$sitename}} um að endursetja diff --git a/view/is/smarty3/passchanged_eml.tpl b/view/is/smarty3/passchanged_eml.tpl index c19551208..6d08a0763 100644 --- a/view/is/smarty3/passchanged_eml.tpl +++ b/view/is/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Góðan daginn {{$username}}, Lykilorð þínu hefur verið breytt einsog umbeðið var. Endilega geyma þessar diff --git a/view/is/smarty3/register_open_eml.tpl b/view/is/smarty3/register_open_eml.tpl index 0673224d1..8ab04b3ae 100644 --- a/view/is/smarty3/register_open_eml.tpl +++ b/view/is/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Góðan daginn {{$username}}, Takk fyrir að skrá þig á {{$sitename}}. Notandinn þinn hefur verið stofnaður. diff --git a/view/is/smarty3/register_verify_eml.tpl b/view/is/smarty3/register_verify_eml.tpl index cf6362c4b..1e6060df9 100644 --- a/view/is/smarty3/register_verify_eml.tpl +++ b/view/is/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Beiðni um nýjan notanda barst {{$sitename}} sem krefst þíns samþykkis. diff --git a/view/is/smarty3/request_notify_eml.tpl b/view/is/smarty3/request_notify_eml.tpl index 36d8f217a..6ecec12f3 100644 --- a/view/is/smarty3/request_notify_eml.tpl +++ b/view/is/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Góðan dag {{$myname}}, diff --git a/view/is/smarty3/update_fail_eml.tpl b/view/is/smarty3/update_fail_eml.tpl index 201f87131..227ee288b 100644 --- a/view/is/smarty3/update_fail_eml.tpl +++ b/view/is/smarty3/update_fail_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hæ, Ég er {{$sitename}}. Þróunarteymi friendica gáfu nýlega út uppfærslu {{$update}}, diff --git a/view/it/smarty3/cmnt_received_eml.tpl b/view/it/smarty3/cmnt_received_eml.tpl index f35dc3dc9..479c566de 100644 --- a/view/it/smarty3/cmnt_received_eml.tpl +++ b/view/it/smarty3/cmnt_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Caro/a {{$username}}, diff --git a/view/it/smarty3/cmnt_received_html_body_eml.tpl b/view/it/smarty3/cmnt_received_html_body_eml.tpl index 80d611807..356e3bc48 100644 --- a/view/it/smarty3/cmnt_received_html_body_eml.tpl +++ b/view/it/smarty3/cmnt_received_html_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/it/smarty3/cmnt_received_text_body_eml.tpl b/view/it/smarty3/cmnt_received_text_body_eml.tpl index f35dc3dc9..479c566de 100644 --- a/view/it/smarty3/cmnt_received_text_body_eml.tpl +++ b/view/it/smarty3/cmnt_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Caro/a {{$username}}, diff --git a/view/it/smarty3/follow_notify_eml.tpl b/view/it/smarty3/follow_notify_eml.tpl index 0bfc37552..925d5b2d0 100644 --- a/view/it/smarty3/follow_notify_eml.tpl +++ b/view/it/smarty3/follow_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Ciao {{$myname}}, diff --git a/view/it/smarty3/friend_complete_eml.tpl b/view/it/smarty3/friend_complete_eml.tpl index daeaae901..667a1f445 100644 --- a/view/it/smarty3/friend_complete_eml.tpl +++ b/view/it/smarty3/friend_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Ciao {{$username}}, diff --git a/view/it/smarty3/htconfig.tpl b/view/it/smarty3/htconfig.tpl index 5696245c7..f5796445b 100644 --- a/view/it/smarty3/htconfig.tpl +++ b/view/it/smarty3/htconfig.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/it/smarty3/mail_received_text_body_eml.tpl b/view/it/smarty3/mail_received_text_body_eml.tpl index 79e133fce..3cb7b82d4 100644 --- a/view/it/smarty3/mail_received_text_body_eml.tpl +++ b/view/it/smarty3/mail_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hai ricevuto un nuovo messsaggio privato su {{$siteName}} da '{{$from}}'. {{$title}} diff --git a/view/it/smarty3/passchanged_eml.tpl b/view/it/smarty3/passchanged_eml.tpl index 046588e1f..32970c9cb 100644 --- a/view/it/smarty3/passchanged_eml.tpl +++ b/view/it/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Ciao {{$username}}, La tua password è cambiata come hai richiesto. Conserva queste diff --git a/view/it/smarty3/register_open_eml.tpl b/view/it/smarty3/register_open_eml.tpl index 23dcaf2c8..e5f909af5 100644 --- a/view/it/smarty3/register_open_eml.tpl +++ b/view/it/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Ciao {{$username}}, Grazie per aver effettuato la registrazione a {{$sitename}}. Il tuo account è stato creato. diff --git a/view/it/smarty3/register_verify_eml.tpl b/view/it/smarty3/register_verify_eml.tpl index 743370b3d..9ce1f8f00 100644 --- a/view/it/smarty3/register_verify_eml.tpl +++ b/view/it/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Su {{$sitename}} è stata ricevuta una nuova richiesta di registrazione da parte di un utente che richiede la tua approvazione. diff --git a/view/it/smarty3/request_notify_eml.tpl b/view/it/smarty3/request_notify_eml.tpl index df3a7323c..47240c5a3 100644 --- a/view/it/smarty3/request_notify_eml.tpl +++ b/view/it/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Ciao {{$myname}}, diff --git a/view/it/smarty3/wall_received_eml.tpl b/view/it/smarty3/wall_received_eml.tpl index 909ec86d4..30b53d11e 100644 --- a/view/it/smarty3/wall_received_eml.tpl +++ b/view/it/smarty3/wall_received_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Caro/a {{$username}}, diff --git a/view/it/smarty3/wall_received_html_body_eml.tpl b/view/it/smarty3/wall_received_html_body_eml.tpl index 3fa724c3b..8096fed22 100644 --- a/view/it/smarty3/wall_received_html_body_eml.tpl +++ b/view/it/smarty3/wall_received_html_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/it/smarty3/wall_received_text_body_eml.tpl b/view/it/smarty3/wall_received_text_body_eml.tpl index ad7f83abc..2031744a6 100644 --- a/view/it/smarty3/wall_received_text_body_eml.tpl +++ b/view/it/smarty3/wall_received_text_body_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Caro {{$username}}, diff --git a/view/mail_display.tpl b/view/mail_display.tpl index 396aa46c0..b328d32a2 100644 --- a/view/mail_display.tpl +++ b/view/mail_display.tpl @@ -1,6 +1,6 @@ -{{ for $mails as $mail_item }} - {{ inc mail_conv.tpl with $mail=$mail_item }}{{endinc}} +{{ for $mails as $mail }} + {{ inc mail_conv.tpl }}{{endinc}} {{ endfor }} {{ if $canreply }} diff --git a/view/nb-no/smarty3/follow_notify_eml.tpl b/view/nb-no/smarty3/follow_notify_eml.tpl index 094539cf5..eedeef85d 100644 --- a/view/nb-no/smarty3/follow_notify_eml.tpl +++ b/view/nb-no/smarty3/follow_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Kjære {{$myname}}, diff --git a/view/nb-no/smarty3/friend_complete_eml.tpl b/view/nb-no/smarty3/friend_complete_eml.tpl index 17cc38a8c..f8348c51d 100644 --- a/view/nb-no/smarty3/friend_complete_eml.tpl +++ b/view/nb-no/smarty3/friend_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Kjære {{$username}}, diff --git a/view/nb-no/smarty3/intro_complete_eml.tpl b/view/nb-no/smarty3/intro_complete_eml.tpl index edf699936..e00d99f8b 100644 --- a/view/nb-no/smarty3/intro_complete_eml.tpl +++ b/view/nb-no/smarty3/intro_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Kjære {{$username}}, diff --git a/view/nb-no/smarty3/lostpass_eml.tpl b/view/nb-no/smarty3/lostpass_eml.tpl index e0f335ff1..11ef4aab7 100644 --- a/view/nb-no/smarty3/lostpass_eml.tpl +++ b/view/nb-no/smarty3/lostpass_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Kjære {{$username}}, En forespørsel ble nylig mottatt hos {{$sitename}} om å tilbakestille din kontos diff --git a/view/nb-no/smarty3/passchanged_eml.tpl b/view/nb-no/smarty3/passchanged_eml.tpl index 2d3144bc5..d5137fc47 100644 --- a/view/nb-no/smarty3/passchanged_eml.tpl +++ b/view/nb-no/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Kjære {{$username}}, Ditt passord har blitt endret som forespurt. Vennligst ta vare på denne diff --git a/view/nb-no/smarty3/register_open_eml.tpl b/view/nb-no/smarty3/register_open_eml.tpl index 7fe8e5983..43b150da8 100644 --- a/view/nb-no/smarty3/register_open_eml.tpl +++ b/view/nb-no/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Kjære {{$username}}, Takk for at du registrerte deg hos {{$sitename}}. Kontoen din er opprettet. diff --git a/view/nb-no/smarty3/register_verify_eml.tpl b/view/nb-no/smarty3/register_verify_eml.tpl index 9efb9b08b..4b765885e 100644 --- a/view/nb-no/smarty3/register_verify_eml.tpl +++ b/view/nb-no/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} En ny forespørsel om brukerregistering ble mottatt hos {{$sitename}} og krever din godkjenning. diff --git a/view/nb-no/smarty3/request_notify_eml.tpl b/view/nb-no/smarty3/request_notify_eml.tpl index ae89c6141..9851b4f17 100644 --- a/view/nb-no/smarty3/request_notify_eml.tpl +++ b/view/nb-no/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Kjære {{$myname}}, diff --git a/view/nb-no/smarty3/update_fail_eml.tpl b/view/nb-no/smarty3/update_fail_eml.tpl index 1116f2cd7..771d4b97f 100644 --- a/view/nb-no/smarty3/update_fail_eml.tpl +++ b/view/nb-no/smarty3/update_fail_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hei, jeg er {{$sitename}}. Friendica-utviklerne slapp nylig oppdateringen {{$update}}, diff --git a/view/nogroup-template.tpl b/view/nogroup-template.tpl index f27f158f5..dd00ed097 100644 --- a/view/nogroup-template.tpl +++ b/view/nogroup-template.tpl @@ -1,7 +1,7 @@

$header

-{{ for $contacts as $c }} - {{ inc contact_template.tpl with $contact=$c }}{{ endinc }} +{{ for $contacts as $contact }} + {{ inc contact_template.tpl }}{{ endinc }} {{ endfor }}
diff --git a/view/photos_recent.tpl b/view/photos_recent.tpl index 7ae354024..1df78cb7b 100644 --- a/view/photos_recent.tpl +++ b/view/photos_recent.tpl @@ -4,8 +4,8 @@ {{ endif }}
-{{ for $photos as $ph }} - {{ inc photo_top.tpl with $photo=$ph }}{{ endinc }} +{{ for $photos as $photo }} + {{ inc photo_top.tpl }}{{ endinc }} {{ endfor }}
diff --git a/view/pl/smarty3/follow_notify_eml.tpl b/view/pl/smarty3/follow_notify_eml.tpl index 0fdbbf49f..50058ee93 100644 --- a/view/pl/smarty3/follow_notify_eml.tpl +++ b/view/pl/smarty3/follow_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Drogi {{$myname}}, diff --git a/view/pl/smarty3/friend_complete_eml.tpl b/view/pl/smarty3/friend_complete_eml.tpl index 12918b6b6..bfa196ed0 100644 --- a/view/pl/smarty3/friend_complete_eml.tpl +++ b/view/pl/smarty3/friend_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Drogi {{$username}}, diff --git a/view/pl/smarty3/intro_complete_eml.tpl b/view/pl/smarty3/intro_complete_eml.tpl index 55dc1d78e..0463861d5 100644 --- a/view/pl/smarty3/intro_complete_eml.tpl +++ b/view/pl/smarty3/intro_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Drogi {{$username}}, diff --git a/view/pl/smarty3/lostpass_eml.tpl b/view/pl/smarty3/lostpass_eml.tpl index 7d5240cfa..c4c69a13f 100644 --- a/view/pl/smarty3/lostpass_eml.tpl +++ b/view/pl/smarty3/lostpass_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$username}}, Ze strony {{$sitename}} wpłynęła prośba z zresetowanie diff --git a/view/pl/smarty3/passchanged_eml.tpl b/view/pl/smarty3/passchanged_eml.tpl index b8ba39cdf..20d652485 100644 --- a/view/pl/smarty3/passchanged_eml.tpl +++ b/view/pl/smarty3/passchanged_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Drogi {{$username}}, Twoje hasło zostało zmienione. Zachowaj tę diff --git a/view/pl/smarty3/register_open_eml.tpl b/view/pl/smarty3/register_open_eml.tpl index 604ebfacc..3a56f3c14 100644 --- a/view/pl/smarty3/register_open_eml.tpl +++ b/view/pl/smarty3/register_open_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Drogi {{$username}}, Dziękujemy za rejestrację na {{$sitename}}. Twoje konto zostało utworzone pomyślnie. diff --git a/view/pl/smarty3/register_verify_eml.tpl b/view/pl/smarty3/register_verify_eml.tpl index 017e0ec0b..ed7df4471 100644 --- a/view/pl/smarty3/register_verify_eml.tpl +++ b/view/pl/smarty3/register_verify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Nowy wniosek o rejestrację użytkownika wpłynął na {{$sitename}} i wymaga potwierdzenia. diff --git a/view/pl/smarty3/request_notify_eml.tpl b/view/pl/smarty3/request_notify_eml.tpl index ea31ca876..dfa978ee3 100644 --- a/view/pl/smarty3/request_notify_eml.tpl +++ b/view/pl/smarty3/request_notify_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Drogi/a {{$myname}}, diff --git a/view/pl/smarty3/update_fail_eml.tpl b/view/pl/smarty3/update_fail_eml.tpl index 809fd552e..02fe94088 100644 --- a/view/pl/smarty3/update_fail_eml.tpl +++ b/view/pl/smarty3/update_fail_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Hey, Jestem {{$sitename}}. Deweloperzy friendica wydali ostatnio aktualizację {{$update}}, diff --git a/view/poco_xml.tpl b/view/poco_xml.tpl index 394f6afcf..9549b695d 100644 --- a/view/poco_xml.tpl +++ b/view/poco_xml.tpl @@ -9,8 +9,8 @@ {{ if $response.totalResults }} -{{ for $response.entry as $ent }} -{{ inc poco_entry_xml.tpl with $entry=$ent }}{{ endinc }} +{{ for $response.entry as $entry }} +{{ inc poco_entry_xml.tpl }}{{ endinc }} {{ endfor }} {{ else }} diff --git a/view/pt-br/smarty3/intro_complete_eml.tpl b/view/pt-br/smarty3/intro_complete_eml.tpl index 3689d653c..efe1e6b5a 100644 --- a/view/pt-br/smarty3/intro_complete_eml.tpl +++ b/view/pt-br/smarty3/intro_complete_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Prezado/a {{$username}}, diff --git a/view/pt-br/smarty3/update_fail_eml.tpl b/view/pt-br/smarty3/update_fail_eml.tpl index f8f5e2ef2..fbf123475 100644 --- a/view/pt-br/smarty3/update_fail_eml.tpl +++ b/view/pt-br/smarty3/update_fail_eml.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} Oi, Eu sou {{$sitename}} Os desenvolvedores do friendica lançaram uma atualização {{$update}} recentemente, diff --git a/view/smarty3/404.tpl b/view/smarty3/404.tpl index 518ad1d29..2d581ab8d 100644 --- a/view/smarty3/404.tpl +++ b/view/smarty3/404.tpl @@ -1 +1,6 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$message}}

diff --git a/view/smarty3/acl_selector.tpl b/view/smarty3/acl_selector.tpl index e9f8030d7..5fd11e756 100644 --- a/view/smarty3/acl_selector.tpl +++ b/view/smarty3/acl_selector.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}
{{$showall}} diff --git a/view/smarty3/admin_aside.tpl b/view/smarty3/admin_aside.tpl index a9d26a89f..24f07e28e 100644 --- a/view/smarty3/admin_aside.tpl +++ b/view/smarty3/admin_aside.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/contacts-template.tpl b/view/smarty3/contacts-template.tpl index de074fc3c..66f3f5c87 100644 --- a/view/smarty3/contacts-template.tpl +++ b/view/smarty3/contacts-template.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$header}}{{if $total}} ({{$total}}){{/if}}

{{if $finding}}

{{$finding}}

{{/if}} @@ -14,8 +19,8 @@ {{$tabs}} -{{foreach $contacts as $c}} - {{include file="contact_template.tpl" contact=$c}} +{{foreach $contacts as $contact}} + {{include file="contact_template.tpl"}} {{/foreach}}
diff --git a/view/smarty3/contacts-widget-sidebar.tpl b/view/smarty3/contacts-widget-sidebar.tpl index d7b9c4b5d..c4697a91c 100644 --- a/view/smarty3/contacts-widget-sidebar.tpl +++ b/view/smarty3/contacts-widget-sidebar.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$vcard_widget}} {{$follow_widget}} {{$groups_widget}} diff --git a/view/smarty3/content.tpl b/view/smarty3/content.tpl index 466045d39..811f92dd5 100644 --- a/view/smarty3/content.tpl +++ b/view/smarty3/content.tpl @@ -1,2 +1,7 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}
diff --git a/view/smarty3/conversation.tpl b/view/smarty3/conversation.tpl index ae5294a9a..24f0d120d 100644 --- a/view/smarty3/conversation.tpl +++ b/view/smarty3/conversation.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$live_update}} {{foreach $threads as $thread}} diff --git a/view/smarty3/crepair.tpl b/view/smarty3/crepair.tpl index 2a05b9678..8d3ed7df8 100644 --- a/view/smarty3/crepair.tpl +++ b/view/smarty3/crepair.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/cropbody.tpl b/view/smarty3/cropbody.tpl index da5b1e859..e6fcd355f 100644 --- a/view/smarty3/cropbody.tpl +++ b/view/smarty3/cropbody.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$title}}

{{$desc}} diff --git a/view/smarty3/cropend.tpl b/view/smarty3/cropend.tpl index e69de29bb..a7fb96108 100644 --- a/view/smarty3/cropend.tpl +++ b/view/smarty3/cropend.tpl @@ -0,0 +1,5 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/crophead.tpl b/view/smarty3/crophead.tpl index 48f375426..d51b87d12 100644 --- a/view/smarty3/crophead.tpl +++ b/view/smarty3/crophead.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/delegate.tpl b/view/smarty3/delegate.tpl index cbaa8da86..7aa85cf39 100644 --- a/view/smarty3/delegate.tpl +++ b/view/smarty3/delegate.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$header}}

{{$desc}}
diff --git a/view/smarty3/dfrn_req_confirm.tpl b/view/smarty3/dfrn_req_confirm.tpl index 655af22d4..c941a201d 100644 --- a/view/smarty3/dfrn_req_confirm.tpl +++ b/view/smarty3/dfrn_req_confirm.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$welcome}} diff --git a/view/smarty3/dfrn_request.tpl b/view/smarty3/dfrn_request.tpl index aa5cbd6e4..29173a1d7 100644 --- a/view/smarty3/dfrn_request.tpl +++ b/view/smarty3/dfrn_request.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$header}}

diff --git a/view/smarty3/diasp_dec_hdr.tpl b/view/smarty3/diasp_dec_hdr.tpl index 636ff7bd0..c3305ecd0 100644 --- a/view/smarty3/diasp_dec_hdr.tpl +++ b/view/smarty3/diasp_dec_hdr.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$inner_iv}} {{$inner_key}} diff --git a/view/smarty3/diaspora_comment.tpl b/view/smarty3/diaspora_comment.tpl index 27ec3dffc..8df3842d0 100644 --- a/view/smarty3/diaspora_comment.tpl +++ b/view/smarty3/diaspora_comment.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_comment_relay.tpl b/view/smarty3/diaspora_comment_relay.tpl index 37a9e88b3..c01441e3c 100644 --- a/view/smarty3/diaspora_comment_relay.tpl +++ b/view/smarty3/diaspora_comment_relay.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_conversation.tpl b/view/smarty3/diaspora_conversation.tpl index dc4482e4b..fd11b826a 100644 --- a/view/smarty3/diaspora_conversation.tpl +++ b/view/smarty3/diaspora_conversation.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_like.tpl b/view/smarty3/diaspora_like.tpl index b03aef37a..1d58d5d3f 100644 --- a/view/smarty3/diaspora_like.tpl +++ b/view/smarty3/diaspora_like.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_like_relay.tpl b/view/smarty3/diaspora_like_relay.tpl index 30df4cac6..7a55d8b20 100644 --- a/view/smarty3/diaspora_like_relay.tpl +++ b/view/smarty3/diaspora_like_relay.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_message.tpl b/view/smarty3/diaspora_message.tpl index 3413d79b0..e1690734f 100644 --- a/view/smarty3/diaspora_message.tpl +++ b/view/smarty3/diaspora_message.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_photo.tpl b/view/smarty3/diaspora_photo.tpl index cd7ef5802..b6220346c 100644 --- a/view/smarty3/diaspora_photo.tpl +++ b/view/smarty3/diaspora_photo.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_post.tpl b/view/smarty3/diaspora_post.tpl index abbcc4c61..2817f7d4a 100644 --- a/view/smarty3/diaspora_post.tpl +++ b/view/smarty3/diaspora_post.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_profile.tpl b/view/smarty3/diaspora_profile.tpl index 04f2e2948..11aaf1055 100644 --- a/view/smarty3/diaspora_profile.tpl +++ b/view/smarty3/diaspora_profile.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$handle}} diff --git a/view/smarty3/diaspora_relay_retraction.tpl b/view/smarty3/diaspora_relay_retraction.tpl index 5e7aed41f..97a1344c9 100644 --- a/view/smarty3/diaspora_relay_retraction.tpl +++ b/view/smarty3/diaspora_relay_retraction.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_relayable_retraction.tpl b/view/smarty3/diaspora_relayable_retraction.tpl index 927e394f3..138cbdb31 100644 --- a/view/smarty3/diaspora_relayable_retraction.tpl +++ b/view/smarty3/diaspora_relayable_retraction.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_retract.tpl b/view/smarty3/diaspora_retract.tpl index 26e2cb94e..103bfc9d5 100644 --- a/view/smarty3/diaspora_retract.tpl +++ b/view/smarty3/diaspora_retract.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_share.tpl b/view/smarty3/diaspora_share.tpl index 59eb06124..5ff04440d 100644 --- a/view/smarty3/diaspora_share.tpl +++ b/view/smarty3/diaspora_share.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_signed_retract.tpl b/view/smarty3/diaspora_signed_retract.tpl index f0f346da8..58c5cc237 100644 --- a/view/smarty3/diaspora_signed_retract.tpl +++ b/view/smarty3/diaspora_signed_retract.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/diaspora_vcard.tpl b/view/smarty3/diaspora_vcard.tpl index 9d234a398..5ea6335a8 100644 --- a/view/smarty3/diaspora_vcard.tpl +++ b/view/smarty3/diaspora_vcard.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}
Nickname
diff --git a/view/smarty3/directory_header.tpl b/view/smarty3/directory_header.tpl index c2ca64682..ed1115de9 100644 --- a/view/smarty3/directory_header.tpl +++ b/view/smarty3/directory_header.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$sitedir}}

{{$globaldir}} diff --git a/view/smarty3/directory_item.tpl b/view/smarty3/directory_item.tpl index f4bd66d77..ae52646b8 100644 --- a/view/smarty3/directory_item.tpl +++ b/view/smarty3/directory_item.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}
diff --git a/view/smarty3/display-head.tpl b/view/smarty3/display-head.tpl index 3d4e7e96a..7750b655e 100644 --- a/view/smarty3/display-head.tpl +++ b/view/smarty3/display-head.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/smarty3/events-js.tpl b/view/smarty3/events-js.tpl index c87d20529..5fa046f5a 100644 --- a/view/smarty3/events-js.tpl +++ b/view/smarty3/events-js.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$tabs}}

{{$title}}

diff --git a/view/smarty3/events.tpl b/view/smarty3/events.tpl index 50a8cf3a8..054200ca2 100644 --- a/view/smarty3/events.tpl +++ b/view/smarty3/events.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{$tabs}}

{{$title}}

diff --git a/view/smarty3/events_reminder.tpl b/view/smarty3/events_reminder.tpl index bd070575f..3448ea45c 100644 --- a/view/smarty3/events_reminder.tpl +++ b/view/smarty3/events_reminder.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{if $count}}