]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
remove items from export - too much memory consumed, will have to stream items,photos
[friendica.git] / mod / network.php
index abdf59c4869fc6ae0d268c3fd7dfeedb6b733f6c..97bc0713d18f569b9d078a5c4b018244a12a439e 100644 (file)
@@ -65,7 +65,12 @@ function network_content(&$a, $update = 0) {
                $a->page['htmlhead'] .= replace_macros($tpl, array(
                        '$baseurl' => $a->get_baseurl(),
                        '$geotag' => $geotag,
-                       '$nickname' => $a->user['nickname']
+                       '$nickname' => $a->user['nickname'],
+                       '$linkurl' => t('Please enter a link URL:'),
+                       '$utubeurl' => t('Please enter a YouTube link:'),
+                       '$vidurl' => t("Please enter a video\x28.ogg\x29 link/URL:"),
+                       '$audurl' => t("Please enter an audio\x28.ogg\x29 link/URL:"),
+                       '$whereareu' => t('Where are you right now?') 
                ));
 
 
@@ -387,6 +392,9 @@ function network_content(&$a, $update = 0) {
                                ));
                        }
 
+                       $edpost = '';
+                       if(($item['id'] == $item['parent']) && (intval($item['wall']) == 1)) 
+                               $edpost = '<a class="editpost" href="' . $a->get_baseurl() . '/editpost/' . $item['id'] . '" title="' . t('Edit') . '"><img src="images/pencil.gif" /></a>';
                        $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
 
                        $photo = $item['photo'];
@@ -455,6 +463,7 @@ function network_content(&$a, $update = 0) {
                                '$owner_photo' => $owner_photo,
                                '$owner_name' => $owner_name,
                                '$plink' => get_plink($item),
+                               '$edpost' => $edpost,
                                '$drop' => $drop,
                                '$vote' => $likebuttons,
                                '$like' => $like,