From c2086ec50ed339fb864c8f0a93fbc40ff530c666 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 16 Nov 2010 23:26:14 -0800 Subject: pull some template strings --- mod/contacts.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mod/contacts.php') diff --git a/mod/contacts.php b/mod/contacts.php index c33c69fa8..9c84c4810 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -198,7 +198,14 @@ function contacts_content(&$a) { } $o .= replace_macros($tpl,array( + '$header' => t('Contact Editor'), + '$visit' => t('Visit $name's profile'), + '$blockunblock' => t('Block/Unblock contact'), + '$ignorecont' => t('Ignore contact'), + '$delete' => t('Delete contact'), '$poll_interval' => contact_poll_interval($r[0]['priority']), + '$lastupdtext' => t('Last updated: '), + '$updpub' => t('Update public posts: '), '$last_update' => (($r[0]['last-update'] == '0000-00-00 00:00:00') ? t('Never') : datetime_convert('UTC',date_default_timezone_get(),$r[0]['last-update'],'D, j M Y, g:i A')), @@ -235,6 +242,7 @@ function contacts_content(&$a) { $tpl = load_view_file("view/contacts-top.tpl"); $o .= replace_macros($tpl,array( + '$header' => t('Contacts'), '$hide_url' => ((strlen($sql_extra)) ? 'contacts/all' : 'contacts' ), '$hide_text' => ((strlen($sql_extra)) ? t('Show Blocked Connections') : t('Hide Blocked Connections')), '$search' => $search, -- cgit v1.2.3