From a8575199af9c1697af49ff8a4f15eb904a1773d5 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 25 Jan 2013 13:55:42 -0800 Subject: upstream fixes, template regeneration --- include/message.php | 7 +++++-- mod/invite.php | 19 +++++++++++++++++++ mod/message.php | 4 ++-- view/tpl/invite.tpl | 3 +++ view/tpl/smarty3/404.tpl | 5 +++++ view/tpl/smarty3/abook_edit.tpl | 5 +++++ view/tpl/smarty3/acl_selector.tpl | 5 +++++ view/tpl/smarty3/admin_aside.tpl | 5 +++++ view/tpl/smarty3/admin_logs.tpl | 5 +++++ view/tpl/smarty3/admin_plugins.tpl | 5 +++++ view/tpl/smarty3/admin_plugins_details.tpl | 5 +++++ view/tpl/smarty3/admin_remoteupdate.tpl | 5 +++++ view/tpl/smarty3/admin_site.tpl | 5 +++++ view/tpl/smarty3/admin_summary.tpl | 5 +++++ view/tpl/smarty3/admin_users.tpl | 5 +++++ view/tpl/smarty3/album_edit.tpl | 5 +++++ view/tpl/smarty3/api_config_xml.tpl | 5 +++++ view/tpl/smarty3/api_friends_xml.tpl | 5 +++++ view/tpl/smarty3/api_ratelimit_xml.tpl | 5 +++++ view/tpl/smarty3/api_status_xml.tpl | 5 +++++ view/tpl/smarty3/api_test_xml.tpl | 5 +++++ view/tpl/smarty3/api_timeline_atom.tpl | 5 +++++ view/tpl/smarty3/api_timeline_rss.tpl | 5 +++++ view/tpl/smarty3/api_timeline_xml.tpl | 5 +++++ view/tpl/smarty3/api_user_xml.tpl | 5 +++++ view/tpl/smarty3/apps.tpl | 5 +++++ view/tpl/smarty3/atom_feed.tpl | 5 +++++ view/tpl/smarty3/atom_feed_dfrn.tpl | 5 +++++ view/tpl/smarty3/atom_mail.tpl | 5 +++++ view/tpl/smarty3/atom_suggest.tpl | 5 +++++ view/tpl/smarty3/auto_request.tpl | 5 +++++ view/tpl/smarty3/birthdays_reminder.tpl | 5 +++++ view/tpl/smarty3/build_query.tpl | 5 +++++ view/tpl/smarty3/categories_widget.tpl | 5 +++++ view/tpl/smarty3/channel.tpl | 5 +++++ view/tpl/smarty3/channels.tpl | 5 +++++ view/tpl/smarty3/chanview.tpl | 5 +++++ view/tpl/smarty3/comment_item.tpl | 5 +++++ view/tpl/smarty3/common_friends.tpl | 5 +++++ view/tpl/smarty3/common_tabs.tpl | 5 +++++ view/tpl/smarty3/contact_block.tpl | 5 +++++ view/tpl/smarty3/contact_edit.tpl | 5 +++++ view/tpl/smarty3/contact_head.tpl | 5 +++++ view/tpl/smarty3/contact_slider.tpl | 5 +++++ view/tpl/smarty3/contact_template.tpl | 5 +++++ view/tpl/smarty3/contacts-template.tpl | 5 +++++ view/tpl/smarty3/content.tpl | 5 +++++ view/tpl/smarty3/conv.tpl | 5 +++++ view/tpl/smarty3/conv_frame.tpl | 5 +++++ view/tpl/smarty3/conv_item.tpl | 5 +++++ view/tpl/smarty3/conversation.tpl | 5 +++++ view/tpl/smarty3/convobj.tpl | 5 +++++ view/tpl/smarty3/crepair.tpl | 5 +++++ view/tpl/smarty3/cropbody.tpl | 5 +++++ view/tpl/smarty3/crophead.tpl | 5 +++++ view/tpl/smarty3/delegate.tpl | 5 +++++ view/tpl/smarty3/dfrn_req_confirm.tpl | 5 +++++ view/tpl/smarty3/dfrn_request.tpl | 5 +++++ view/tpl/smarty3/diasp_dec_hdr.tpl | 5 +++++ view/tpl/smarty3/directory_header.tpl | 5 +++++ view/tpl/smarty3/directory_item.tpl | 5 +++++ view/tpl/smarty3/direntry.tpl | 5 +++++ view/tpl/smarty3/display-head.tpl | 5 +++++ view/tpl/smarty3/edpost_head.tpl | 5 +++++ view/tpl/smarty3/email_notify_html.tpl | 5 +++++ view/tpl/smarty3/email_notify_text.tpl | 5 +++++ view/tpl/smarty3/event.tpl | 5 +++++ view/tpl/smarty3/event_form.tpl | 5 +++++ view/tpl/smarty3/event_head.tpl | 5 +++++ view/tpl/smarty3/events-js.tpl | 5 +++++ view/tpl/smarty3/events.tpl | 5 +++++ view/tpl/smarty3/events_reminder.tpl | 5 +++++ view/tpl/smarty3/failed_updates.tpl | 5 +++++ view/tpl/smarty3/fake_feed.tpl | 5 +++++ view/tpl/smarty3/field.tpl | 5 +++++ view/tpl/smarty3/field_acheckbox.tpl | 5 +++++ view/tpl/smarty3/field_checkbox.tpl | 5 +++++ view/tpl/smarty3/field_combobox.tpl | 5 +++++ view/tpl/smarty3/field_custom.tpl | 5 +++++ view/tpl/smarty3/field_input.tpl | 5 +++++ view/tpl/smarty3/field_intcheckbox.tpl | 5 +++++ view/tpl/smarty3/field_openid.tpl | 5 +++++ view/tpl/smarty3/field_password.tpl | 5 +++++ view/tpl/smarty3/field_radio.tpl | 5 +++++ view/tpl/smarty3/field_richtext.tpl | 5 +++++ view/tpl/smarty3/field_select.tpl | 5 +++++ view/tpl/smarty3/field_select_raw.tpl | 5 +++++ view/tpl/smarty3/field_textarea.tpl | 5 +++++ view/tpl/smarty3/field_themeselect.tpl | 5 +++++ view/tpl/smarty3/field_yesno.tpl | 5 +++++ view/tpl/smarty3/fileas_widget.tpl | 5 +++++ view/tpl/smarty3/filebrowser.tpl | 5 +++++ view/tpl/smarty3/filer_dialog.tpl | 5 +++++ view/tpl/smarty3/follow.tpl | 5 +++++ view/tpl/smarty3/follow_slap.tpl | 5 +++++ view/tpl/smarty3/generic_links_widget.tpl | 5 +++++ view/tpl/smarty3/group_drop.tpl | 5 +++++ view/tpl/smarty3/group_edit.tpl | 5 +++++ view/tpl/smarty3/group_selection.tpl | 5 +++++ view/tpl/smarty3/group_side.tpl | 5 +++++ view/tpl/smarty3/groupeditor.tpl | 5 +++++ view/tpl/smarty3/head.tpl | 5 +++++ view/tpl/smarty3/hide_comments.tpl | 5 +++++ view/tpl/smarty3/install.tpl | 5 +++++ view/tpl/smarty3/install_checks.tpl | 5 +++++ view/tpl/smarty3/install_db.tpl | 5 +++++ view/tpl/smarty3/install_settings.tpl | 5 +++++ view/tpl/smarty3/intros.tpl | 5 +++++ view/tpl/smarty3/intros_header.tpl | 5 +++++ view/tpl/smarty3/invite.tpl | 8 ++++++++ view/tpl/smarty3/jot-header.tpl | 5 +++++ view/tpl/smarty3/jot.tpl | 5 +++++ view/tpl/smarty3/jot_geotag.tpl | 5 +++++ view/tpl/smarty3/js_strings.tpl | 5 +++++ view/tpl/smarty3/lang_selector.tpl | 5 +++++ view/tpl/smarty3/like_noshare.tpl | 5 +++++ view/tpl/smarty3/login.tpl | 5 +++++ view/tpl/smarty3/logout.tpl | 5 +++++ view/tpl/smarty3/lostpass.tpl | 5 +++++ view/tpl/smarty3/magicsig.tpl | 5 +++++ view/tpl/smarty3/mail_conv.tpl | 5 +++++ view/tpl/smarty3/mail_display.tpl | 5 +++++ view/tpl/smarty3/mail_head.tpl | 5 +++++ view/tpl/smarty3/mail_list.tpl | 5 +++++ view/tpl/smarty3/main_slider.tpl | 5 +++++ view/tpl/smarty3/match.tpl | 5 +++++ view/tpl/smarty3/message_side.tpl | 5 +++++ view/tpl/smarty3/micropro_img.tpl | 5 +++++ view/tpl/smarty3/micropro_txt.tpl | 5 +++++ view/tpl/smarty3/moderated_comment.tpl | 5 +++++ view/tpl/smarty3/mood_content.tpl | 5 +++++ view/tpl/smarty3/msg-header.tpl | 5 +++++ view/tpl/smarty3/nav.tpl | 5 +++++ view/tpl/smarty3/netfriend.tpl | 5 +++++ view/tpl/smarty3/new_channel.tpl | 5 +++++ view/tpl/smarty3/nogroup-template.tpl | 5 +++++ view/tpl/smarty3/notifications.tpl | 5 +++++ view/tpl/smarty3/notifications_comments_item.tpl | 5 +++++ view/tpl/smarty3/notifications_dislikes_item.tpl | 5 +++++ view/tpl/smarty3/notifications_friends_item.tpl | 5 +++++ view/tpl/smarty3/notifications_likes_item.tpl | 5 +++++ view/tpl/smarty3/notifications_network_item.tpl | 5 +++++ view/tpl/smarty3/notifications_posts_item.tpl | 5 +++++ view/tpl/smarty3/notify.tpl | 5 +++++ view/tpl/smarty3/oauth_authorize.tpl | 5 +++++ view/tpl/smarty3/oauth_authorize_done.tpl | 5 +++++ view/tpl/smarty3/oembed_video.tpl | 5 +++++ view/tpl/smarty3/oexchange_xrd.tpl | 5 +++++ view/tpl/smarty3/opensearch.tpl | 5 +++++ view/tpl/smarty3/page_display.tpl | 5 +++++ view/tpl/smarty3/pagetypes.tpl | 5 +++++ view/tpl/smarty3/peoplefind.tpl | 5 +++++ view/tpl/smarty3/photo_album.tpl | 5 +++++ view/tpl/smarty3/photo_drop.tpl | 5 +++++ view/tpl/smarty3/photo_edit.tpl | 5 +++++ view/tpl/smarty3/photo_item.tpl | 5 +++++ view/tpl/smarty3/photo_top.tpl | 5 +++++ view/tpl/smarty3/photo_view.tpl | 5 +++++ view/tpl/smarty3/photos_recent.tpl | 5 +++++ view/tpl/smarty3/photos_upload.tpl | 5 +++++ view/tpl/smarty3/poco_entry_xml.tpl | 5 +++++ view/tpl/smarty3/poco_xml.tpl | 5 +++++ view/tpl/smarty3/poke_content.tpl | 5 +++++ view/tpl/smarty3/posted_date_widget.tpl | 5 +++++ view/tpl/smarty3/profed_head.tpl | 5 +++++ view/tpl/smarty3/profile-hide-friends.tpl | 5 +++++ view/tpl/smarty3/profile-hide-wall.tpl | 5 +++++ view/tpl/smarty3/profile-in-directory.tpl | 5 +++++ view/tpl/smarty3/profile-in-netdir.tpl | 5 +++++ view/tpl/smarty3/profile_advanced.tpl | 5 +++++ view/tpl/smarty3/profile_edit.tpl | 5 +++++ view/tpl/smarty3/profile_edlink.tpl | 5 +++++ view/tpl/smarty3/profile_entry.tpl | 5 +++++ view/tpl/smarty3/profile_listing_header.tpl | 5 +++++ view/tpl/smarty3/profile_photo.tpl | 5 +++++ view/tpl/smarty3/profile_publish.tpl | 5 +++++ view/tpl/smarty3/profile_vcard.tpl | 5 +++++ view/tpl/smarty3/prv_message.tpl | 5 +++++ view/tpl/smarty3/pwdreset.tpl | 5 +++++ view/tpl/smarty3/register.tpl | 5 +++++ view/tpl/smarty3/remote_friends_common.tpl | 5 +++++ view/tpl/smarty3/removeme.tpl | 5 +++++ view/tpl/smarty3/saved_searches_aside.tpl | 5 +++++ view/tpl/smarty3/search_item.tpl | 5 +++++ view/tpl/smarty3/settings.tpl | 5 +++++ view/tpl/smarty3/settings_account.tpl | 5 +++++ view/tpl/smarty3/settings_addons.tpl | 5 +++++ view/tpl/smarty3/settings_connectors.tpl | 5 +++++ view/tpl/smarty3/settings_display.tpl | 5 +++++ view/tpl/smarty3/settings_features.tpl | 5 +++++ view/tpl/smarty3/settings_nick_set.tpl | 5 +++++ view/tpl/smarty3/settings_nick_subdir.tpl | 5 +++++ view/tpl/smarty3/settings_oauth.tpl | 5 +++++ view/tpl/smarty3/settings_oauth_edit.tpl | 5 +++++ view/tpl/smarty3/suggest_friends.tpl | 5 +++++ view/tpl/smarty3/suggestions.tpl | 5 +++++ view/tpl/smarty3/tag_slap.tpl | 5 +++++ view/tpl/smarty3/threaded_conversation.tpl | 5 +++++ view/tpl/smarty3/toggle_mobile_footer.tpl | 5 +++++ view/tpl/smarty3/viewcontact_template.tpl | 5 +++++ view/tpl/smarty3/wall_item.tpl | 5 +++++ view/tpl/smarty3/wall_thread.tpl | 5 +++++ view/tpl/smarty3/wallmessage.tpl | 5 +++++ view/tpl/smarty3/wallmsg-header.tpl | 5 +++++ view/tpl/smarty3/wallwall_item.tpl | 5 +++++ view/tpl/smarty3/wallwall_thread.tpl | 5 +++++ view/tpl/smarty3/xchan_vcard.tpl | 5 +++++ view/tpl/smarty3/xrd_host.tpl | 5 +++++ view/tpl/smarty3/xrd_person.tpl | 5 +++++ 209 files changed, 1057 insertions(+), 4 deletions(-) diff --git a/include/message.php b/include/message.php index f3bc61465..756baf15e 100644 --- a/include/message.php +++ b/include/message.php @@ -123,7 +123,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto=' } -function private_messages_list($uid, $mailbox = '', $order = 'created desc', $start = 0, $numitems = 0) { +function private_messages_list($uid, $mailbox = '', $start = 0, $numitems = 0) { $where = ''; $limit = ''; @@ -143,8 +143,10 @@ function private_messages_list($uid, $mailbox = '', $order = 'created desc', $st $where = " and sender_xchan = '" . dbesc($x[0]['channel_hash']) . "' "; } + // For different orderings, consider applying usort on the results. We thought of doing that + // inside this function or having some preset sorts, but don't wish to limit app developers. - $r = q("SELECT * from mail WHERE channel_id = %d $where order by $order $limit", + $r = q("SELECT * from mail WHERE channel_id = %d $where order by created desc $limit", intval(local_user()) ); if(! $r) { @@ -168,6 +170,7 @@ function private_messages_list($uid, $mailbox = '', $order = 'created desc', $st $r[$k]['to'] = find_xchan_in_array($rr['to_xchan'],$c); $r[$k]['seen'] = (($rr['mail_flags'] & MAIL_SEEN) ? 1 : 0); } + return $r; } diff --git a/mod/invite.php b/mod/invite.php index 5eb5f6646..336e20164 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -14,6 +14,18 @@ function invite_post(&$a) { return; } + check_form_security_token_redirectOnErr('/', 'send_invite'); + + $max_invites = intval(get_config('system','max_invites')); + if(! $max_invites) + $max_invites = 50; + + $current_invites = intval(get_pconfig(local_user(),'system','sent_invites')); + if($current_invites > $max_invites) { + notice( t('Total invitation limit exceeded.') . EOL); + return; + }; + $recips = ((x($_POST,'recipients')) ? explode("\n",$_POST['recipients']) : array()); $message = ((x($_POST,'message')) ? notags(trim($_POST['message'])) : ''); @@ -64,6 +76,12 @@ function invite_post(&$a) { if($res) { $total ++; + $current_invites ++; + set_pconfig(local_user(),'system','sent_invites',$current_invites); + if($current_invites > $max_invites) { + notice( t('Invitation limit exceeded. Please contact your site administrator.') . EOL); + return; + } } else { notice( sprintf( t('%s : Message delivery failed.'), $recip) . EOL); @@ -108,6 +126,7 @@ function invite_content(&$a) { } $o = replace_macros($tpl, array( + '$form_security_token' => get_form_security_token("send_invite"), '$invite' => t('Send invitations'), '$addr_text' => t('Enter email addresses, one per line:'), '$msg_text' => t('Your message:'), diff --git a/mod/message.php b/mod/message.php index dd892b2a5..98a1067ed 100644 --- a/mod/message.php +++ b/mod/message.php @@ -4,6 +4,7 @@ require_once('include/acl_selectors.php'); require_once('include/message.php'); require_once('include/zot.php'); require_once("include/bbcode.php"); +require_once('include/Contact.php'); function message_aside(&$a) { @@ -299,9 +300,8 @@ function message_content(&$a) { // private_messages_list() can do other more complicated stuff, for now keep it simple - $order = 'created desc'; - $r = private_messages_list(local_user(), '', $order, $a->pager['start'], $a->pager['itemspage']); + $r = private_messages_list(local_user(), '', $a->pager['start'], $a->pager['itemspage']); if(! $r) { info( t('No messages.') . EOL); diff --git a/view/tpl/invite.tpl b/view/tpl/invite.tpl index a47ef0162..e00d27d4a 100644 --- a/view/tpl/invite.tpl +++ b/view/tpl/invite.tpl @@ -1,4 +1,7 @@
+ + +

$invite

diff --git a/view/tpl/smarty3/404.tpl b/view/tpl/smarty3/404.tpl index 518ad1d29..2d581ab8d 100644 --- a/view/tpl/smarty3/404.tpl +++ b/view/tpl/smarty3/404.tpl @@ -1 +1,6 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$message}}

diff --git a/view/tpl/smarty3/abook_edit.tpl b/view/tpl/smarty3/abook_edit.tpl index e3da32999..b540ba531 100644 --- a/view/tpl/smarty3/abook_edit.tpl +++ b/view/tpl/smarty3/abook_edit.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$header}}

diff --git a/view/tpl/smarty3/acl_selector.tpl b/view/tpl/smarty3/acl_selector.tpl index d21073b56..aebef71ee 100644 --- a/view/tpl/smarty3/acl_selector.tpl +++ b/view/tpl/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/tpl/smarty3/admin_aside.tpl b/view/tpl/smarty3/admin_aside.tpl index acf58668d..69445d3b1 100644 --- a/view/tpl/smarty3/admin_aside.tpl +++ b/view/tpl/smarty3/admin_aside.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/tpl/smarty3/delegate.tpl b/view/tpl/smarty3/delegate.tpl index cbaa8da86..7aa85cf39 100644 --- a/view/tpl/smarty3/delegate.tpl +++ b/view/tpl/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/tpl/smarty3/dfrn_req_confirm.tpl b/view/tpl/smarty3/dfrn_req_confirm.tpl index 655af22d4..c941a201d 100644 --- a/view/tpl/smarty3/dfrn_req_confirm.tpl +++ b/view/tpl/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/tpl/smarty3/dfrn_request.tpl b/view/tpl/smarty3/dfrn_request.tpl index ce7b3eb55..b08a0b731 100644 --- a/view/tpl/smarty3/dfrn_request.tpl +++ b/view/tpl/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/tpl/smarty3/diasp_dec_hdr.tpl b/view/tpl/smarty3/diasp_dec_hdr.tpl index 636ff7bd0..c3305ecd0 100644 --- a/view/tpl/smarty3/diasp_dec_hdr.tpl +++ b/view/tpl/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/tpl/smarty3/directory_header.tpl b/view/tpl/smarty3/directory_header.tpl index 5d703e2dd..293e65be2 100644 --- a/view/tpl/smarty3/directory_header.tpl +++ b/view/tpl/smarty3/directory_header.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}

{{$dirlbl}}

{{if $search}} diff --git a/view/tpl/smarty3/directory_item.tpl b/view/tpl/smarty3/directory_item.tpl index f4bd66d77..ae52646b8 100644 --- a/view/tpl/smarty3/directory_item.tpl +++ b/view/tpl/smarty3/directory_item.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}
diff --git a/view/tpl/smarty3/direntry.tpl b/view/tpl/smarty3/direntry.tpl index a7d1a3e3a..c1009efc7 100644 --- a/view/tpl/smarty3/direntry.tpl +++ b/view/tpl/smarty3/direntry.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}}
diff --git a/view/tpl/smarty3/display-head.tpl b/view/tpl/smarty3/display-head.tpl index 3d4e7e96a..7750b655e 100644 --- a/view/tpl/smarty3/display-head.tpl +++ b/view/tpl/smarty3/display-head.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} diff --git a/view/tpl/smarty3/events-js.tpl b/view/tpl/smarty3/events-js.tpl index c87d20529..5fa046f5a 100644 --- a/view/tpl/smarty3/events-js.tpl +++ b/view/tpl/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/tpl/smarty3/events.tpl b/view/tpl/smarty3/events.tpl index 48bd82d96..45366a77d 100644 --- a/view/tpl/smarty3/events.tpl +++ b/view/tpl/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/tpl/smarty3/events_reminder.tpl b/view/tpl/smarty3/events_reminder.tpl index fd6a1a5c7..d8e8ceb2a 100644 --- a/view/tpl/smarty3/events_reminder.tpl +++ b/view/tpl/smarty3/events_reminder.tpl @@ -1,3 +1,8 @@ +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} {{if $count}}