diff --git a/boot.php b/boot.php index 852b8eef33..1a93086aea 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 369637fe60..28a7c931e7 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 6d611cec04..079911ffa3 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 9420d8b74a..e659ca04d9 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 3b681e9918..18d37c243e 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 0000000000..06e733d79c --- /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 b465c444ed..08127c6eb6 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 abdab97da1..fc6a6c0c1d 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 74904a02c0..b3ad459e96 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 ae6540201e..76d60a6907 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 ca2c068f8e..d31e090c55 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 345b8e9f1e..2ac1c369eb 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 13a899ed96..cef4371e94 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 057797ddda..885cdcd629 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 400c248e05..a2b4c9e28a 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 1fc1f484a3..f517478a1a 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 d35b703aa8..3bd3d8dc26 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 ff1a102a44..8149051cae 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 0000000000..aa815910c2 --- /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 0ea9954b0a..e9f114b84d 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 b29afdb741..1bea71f4d7 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 a3fa3cd381..3bd4a186f2 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 f0d62d9a1c..eddf2ed855 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 7da9a2b888..b4e90991b9 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 651e8eff78..d9cc94c1af 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 18dc3ef0d4..3e94e1a59a 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 cd75464416..faaaf1b198 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 69e3202c37..ecb342bf44 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 baa7c180a3..2bf7cc18c9 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 867e63332d..0fa62da8f5 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 baa7c180a3..2bf7cc18c9 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 1430e83118..f2bd3175b3 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 fc953b76cd..138036d637 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 c9baae798f..da9b798c52 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 0b4c585cf9..de9a84a764 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 75db8ebbff..41eb2b403d 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 fa1f828c13..7278baf7ce 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 9186e7332a..785a18267f 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 f120891e80..537cea01c8 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 2578a4e7c6..a7c8bd1367 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 ebbc2a9e1e..245843e96c 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 c8ac0216c3..eddf6d3307 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 f902d96b4e..9b5c3d842b 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 b4b994c640..c219fcb18c 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 19f81a5e3a..d100040c02 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 2fd04bb658..7bec4d32dd 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 72234dc67b..592bf7dd85 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 75d6a77e89..033e481940 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 7daa6fbf90..2004cc3b0c 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 eb08c20b7e..4fd97881f5 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 af0a0b9bb4..9e474ce9e0 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 78d4aa6b72..c7acbd9b63 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 de2182e9db..d7c49b028b 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 5b614709a7..4329d0e42a 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 e90d67261f..2ace0d5f45 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 e6e7f27073..c58ee7500e 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 f53dc6c9c3..eb310177da 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 ba07b19dad..e944aad1aa 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 229b4fee86..8f72027e12 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 745bf03fe1..0cceabb653 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 22b77b7246..7ff093b913 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 eb93eb369e..e17776eaaf 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 c65b13497c..5d56304619 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 10c35863e6..a67aedd106 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 cb787a8a69..f7bdf3294c 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 8f495d9efa..a69c421c20 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 bd7c441eac..a2c1407f57 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 408b643ec4..d4f7ee7efd 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 76828474bf..b0360655b6 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 05fec413ea..7f7da5ec35 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 e0c0078e55..2f68255a27 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 75d6a77e89..033e481940 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 71c545ed61..d1f03fb6e3 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 28eed70f15..47b10d3f5b 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 373f314b09..320a58016e 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 22b6d8a947..8127010dd5 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 3f5f8a1f44..cf2fe0cf03 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 991fad8574..2f91457fde 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 35d2981118..2fa2b1a552 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 127f05a457..e96380112c 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 1bc440269e..5bdbeff51b 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 bbf86cf157..11b6bbd466 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 d2010ac8fe..a6f83ed51e 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 c19551208e..6d08a07636 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 0673224d1f..8ab04b3aed 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 cf6362c4b7..1e6060df9b 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 36d8f217af..6ecec12f3a 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 201f87131d..227ee288ba 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 f35dc3dc9f..479c566ded 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 80d6118073..356e3bc480 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 f35dc3dc9f..479c566ded 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 0bfc375520..925d5b2d08 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 daeaae9016..667a1f445e 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 5696245c77..f5796445b5 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 79e133fcef..3cb7b82d48 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 046588e1f2..32970c9cb5 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 23dcaf2c8d..e5f909af57 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 743370b3df..9ce1f8f005 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 df3a7323c1..47240c5a36 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 909ec86d44..30b53d11ef 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 3fa724c3bc..8096fed226 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 ad7f83abcb..2031744a64 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 396aa46c0a..b328d32a27 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 094539cf5b..eedeef85de 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 17cc38a8ca..f8348c51d5 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 edf699936e..e00d99f8ba 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 e0f335ff18..11ef4aab7d 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 2d3144bc52..d5137fc47d 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 7fe8e5983f..43b150da85 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 9efb9b08b6..4b765885e1 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 ae89c6141c..9851b4f170 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 1116f2cd7d..771d4b97f3 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 f27f158f5d..dd00ed097a 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 7ae3540245..1df78cb7be 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 0fdbbf49fe..50058ee93b 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 12918b6b69..bfa196ed07 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 55dc1d78ea..0463861d59 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 7d5240cfa3..c4c69a13ff 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 b8ba39cdf6..20d6524850 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 604ebfacc3..3a56f3c149 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 017e0ec0be..ed7df4471c 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 ea31ca8769..dfa978ee38 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 809fd552ec..02fe940885 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 394f6afcf8..9549b695d1 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 3689d653c2..efe1e6b5ac 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 f8f5e2ef20..fbf123475b 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 518ad1d290..2d581ab8da 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 e9f8030d7c..5fd11e7569 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 a9d26a89f0..24f07e28e6 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 de074fc3c4..66f3f5c87b 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 d7b9c4b5d5..c4697a91c5 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 466045d396..811f92dd56 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 ae5294a9ae..24f0d120d5 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 2a05b96788..8d3ed7df89 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 da5b1e8593..e6fcd355f4 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 e69de29bb2..a7fb961089 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 48f3754265..d51b87d12f 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 cbaa8da860..7aa85cf395 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 655af22d41..c941a201da 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 aa5cbd6e46..29173a1d77 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 636ff7bd0e..c3305ecd0b 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 27ec3dffce..8df3842d0b 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 37a9e88b3a..c01441e3c1 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 dc4482e4b0..fd11b826a9 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 b03aef37a1..1d58d5d3f3 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 30df4cac67..7a55d8b203 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 3413d79b00..e1690734fd 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 cd7ef58023..b6220346c4 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 abbcc4c610..2817f7d4a0 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 04f2e2948b..11aaf10550 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 5e7aed41f3..97a1344c97 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 927e394f39..138cbdb317 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 26e2cb94e3..103bfc9d5c 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 59eb061242..5ff04440d5 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 f0f346da80..58c5cc2376 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 9d234a3989..5ea6335a87 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 c2ca64682c..ed1115de9d 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 f4bd66d771..ae52646b8f 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 3d4e7e96ad..7750b655e0 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 c87d205292..5fa046f5a1 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 50a8cf3a86..054200ca2d 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 bd070575fe..3448ea45cb 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}}