$a->module = 'login';
}
-
- $includes = array(
- '$field_input' => 'field_input.tpl',
- '$field_password' => 'field_password.tpl',
- '$field_openid' => 'field_openid.tpl',
- '$field_checkbox' => 'field_checkbox.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl,$includes + array(
+ $o .= replace_macros($tpl, array(
'$dest_url' => $dest_url,
'$logout' => t('Logout'),
'$lostpass' => t('Forgot your password?'),
'$lostlink' => t('Password Reset'),
+
+ '$tostitle' => t('Website Terms of Service'),
+ '$toslink' => t('terms of service'),
+
+ '$privacytitle' => t('Website Privacy Policy'),
+ '$privacylink' => t('privacy policy'),
+
));
call_hooks('login_hook',$o);
$tpl = get_markup_template('profile_vcard.tpl');
- $includes = array(
- '$diaspora_vcard' => 'diaspora_vcard.tpl'
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
if($a->theme['template_engine'] === 'internal')
$location = template_escape($location);
- $o .= replace_macros($tpl, $includes + array(
+ $o .= replace_macros($tpl, array(
'$profile' => $profile,
'$connect' => $connect,
'$wallmessage' => $wallmessage,
'$pdesc' => $pdesc,
'$marital' => $marital,
'$homepage' => $homepage,
- '$diaspora_info' => $diaspora,
+ '$diaspora' => $diaspora,
'$contact_block' => $contact_block,
));
closedir($dh);
}
}
+
+function set_template_engine(&$a, $engine = 'internal') {
+
+ $a->theme['template_engine'] = 'internal';
+
+ if(is_writable('view/smarty3/')) {
+ switch($engine) {
+ case 'smarty3':
+ $a->theme['template_engine'] = 'smarty3';
+ break;
+ default:
+ break;
+ }
+ }
+}
require_once('include/datetime.php');
function nuke_session() {
+ new_cookie(0); // make sure cookie is deleted on browser close, as a security measure
+
unset($_SESSION['authenticated']);
unset($_SESSION['uid']);
unset($_SESSION['visitor_id']);
// (i.e. expire when the browser is closed), even when there's a time expiration
// on the cookie
if($_POST['remember']) {
- $old_sid = session_id();
- session_set_cookie_params('31449600'); // one year
- session_regenerate_id(false);
-
- q("UPDATE session SET sid = '%s' WHERE sid = '%s'", dbesc(session_id()), dbesc($old_sid));
+ new_cookie(31449600); // one year
}
else {
- $old_sid = session_id();
- session_set_cookie_params('0');
- session_regenerate_id(false);
-
- q("UPDATE session SET sid = '%s' WHERE sid = '%s'", dbesc(session_id()), dbesc($old_sid));
+ new_cookie(0); // 0 means delete on browser exit
}
// if we haven't failed up this point, log them in.
}
}
+function new_cookie($time) {
+ $old_sid = session_id();
+ session_set_cookie_params("$time");
+ session_regenerate_id(false);
+ q("UPDATE session SET sid = '%s' WHERE sid = '%s'", dbesc(session_id()), dbesc($old_sid));
+}
$o = replace_macros($page_template, array(
'$baseurl' => $a->get_baseurl($ssl_state),
'$live_update' => $live_update_div,
+ '$remove' => t('remove'),
'$mode' => $mode,
'$user' => $a->user,
'$threads' => $threads,
$o = '';
- $geotag = (($x['allow_location']) ? get_markup_template('jot_geotag.tpl') : '');
+ $geotag = (($x['allow_location']) ? replace_macros(get_markup_template('jot_geotag.tpl'), array()) : '');
/* $plaintext = false;
if( local_user() && (intval(get_pconfig(local_user(),'system','plaintext')) || !feature_enabled(local_user(),'richtext')) )
class FriendicaSmarty extends Smarty {
public $filename;
- public $root;
function __construct() {
parent::__construct();
$a = get_app();
+ $theme = current_theme();
- //$this->root = $_SERVER['DOCUMENT_ROOT'] . '/';
- $this->root = '';
+ // setTemplateDir can be set to an array, which Smarty will parse in order.
+ // The order is thus very important here
+ $template_dirs = array('theme' => "view/theme/$theme/smarty3/");
+ if( x($a->theme_info,"extends") )
+ $template_dirs = $template_dirs + array('extends' => "view/theme/".$a->theme_info["extends"]."/smarty3/");
+ $template_dirs = $template_dirs + array('base' => 'view/smarty3/');
+ $this->setTemplateDir($template_dirs);
- $this->setTemplateDir($this->root . 'view/smarty3/');
- $this->setCompileDir($this->root . 'view/smarty3/compiled/');
- $this->setConfigDir($this->root . 'view/smarty3/config/');
- $this->setCacheDir($this->root . 'view/smarty3/cache/');
+ $this->setCompileDir('view/smarty3/compiled/');
+ $this->setConfigDir('view/smarty3/config/');
+ $this->setCacheDir('view/smarty3/cache/');
$this->left_delimiter = $a->smarty3_ldelim;
$this->right_delimiter = $a->smarty3_rdelim;
if($template) {
return $this->fetch('string:' . $template);
}
- return $this->fetch('file:' . $this->root . $this->filename);
+ return $this->fetch('file:' . $this->filename);
}
}
return $template_file;
}}
-if(! function_exists("set_template_includes")) {
-function set_template_includes($engine, $includes) {
- if($engine === 'smarty3') {
- $a = get_app();
- foreach($includes as $name=>$path) {
-// $sm_includes[$name] = $_SERVER['DOCUMENT_ROOT'] . '/' . get_template_file($a, 'smarty3/' . $path);
- $sm_includes[$name] = get_template_file($a, 'smarty3/' . $path);
- }
- return $sm_includes;
- }
- else {
- return $includes;
- }
-}}
-
);
$t = get_markup_template("admin_site.tpl");
-
- $includes = array(
- '$field_checkbox' => 'field_checkbox.tpl',
- '$field_input' => 'field_input.tpl',
- '$field_select' => 'field_select.tpl',
- '$field_textarea' => 'field_textarea.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- return replace_macros($t, $includes + array(
+ return replace_macros($t, array(
'$title' => t('Administration'),
'$page' => t('Site'),
'$submit' => t('Submit'),
}
}
- $includes = array(
- '$field_checkbox' => 'field_checkbox.tpl',
- '$field_input' => 'field_input.tpl',
- '$field_select' => 'field_select.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- return replace_macros($t, $includes + array(
+ return replace_macros($t, array(
'$title' => t('Administration'),
'$page' => t('Logs'),
'$submit' => t('Submit'),
}
$tpl = get_markup_template("admin_remoteupdate.tpl");
-
- $includes = array(
- '$field_input' => 'field_input.tpl',
- '$field_password' => 'field_password.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- return replace_macros($tpl, $includes + array(
+ return replace_macros($tpl, array(
'$baseurl' => $a->get_baseurl(true),
'$submit' => t("Update now"),
'$close' => t("Close"),
$lost_contact = (($contact['archive'] && $contact['term-date'] != '0000-00-00 00:00:00' && $contact['term-date'] < datetime_convert('','','now')) ? t('Communications lost with this contact!') : '');
- $includes = array(
- '$field_checkbox' => 'field_checkbox.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl,$includes + array(
+ $o .= replace_macros($tpl, array(
'$header' => t('Contact Editor'),
'$tab_str' => $tab_str,
'$submit' => t('Submit'),
}
$tpl = get_markup_template("contacts-template.tpl");
-
- $includes = array(
- '$contact_template' => 'contact_template.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl,$includes + array(
+ $o .= replace_macros($tpl, array(
'$header' => t('Contacts') . (($nets) ? ' - ' . network_to_name($nets) : ''),
'$tabs' => $t,
'$total' => $total,
'$path' => $path,
'$folders' => $albums,
'$files' =>$files,
+ '$cancel' => t('Cancel'),
));
'$path' => array( array($a->get_baseurl()."/fbrowser/image/", t("Files")) ),
'$folders' => false,
'$files' =>$files,
+ '$cancel' => t('Cancel'),
));
}
$filetags = get_pconfig(local_user(),'system','filetags');
$filetags = file_tag_file_to_list($filetags,'file');
$filetags = explode(",", $filetags);
- $tpl = get_markup_template("filer_dialog.tpl");
-
- $includes = array(
- '$field_combobox' => 'field_combobox.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
+ $tpl = get_markup_template("filer_dialog.tpl");
$o = replace_macros($tpl, array(
'$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),
'$submit' => t('Save'),
$tpl = get_markup_template('group_edit.tpl');
- $includes = array(
- '$field_input' => 'field_input.tpl',
- '$groupeditortpl' => 'groupeditor.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $context = $includes + array(
+ $context = array(
'$submit' => t('Submit'),
);
check_htconfig($checks);
+ check_smarty3($checks);
+
check_keys($checks);
if(x($_POST,'phpath'))
$tpl = get_markup_template('install_db.tpl');
-
- $includes = array(
- '$field_input' => 'field_input.tpl',
- '$field_password' => 'field_password.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl,$includes + array(
+ $o .= replace_macros($tpl, array(
'$title' => $install_title,
'$pass' => t('Database connection'),
'$info_01' => t('In order to install Friendica we need to know how to connect to your database.'),
$timezone = ((x($_POST,'timezone')) ? ($_POST['timezone']) : 'America/Los_Angeles');
$tpl = get_markup_template('install_settings.tpl');
-
- $includes = array(
- '$field_input' => 'field_input.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl, $includes + array(
+ $o .= replace_macros($tpl, array(
'$title' => $install_title,
'$pass' => t('Site settings'),
}
+function check_smarty3(&$checks) {
+ $status = true;
+ $help = "";
+ if( !is_writable('view/smarty3') ) {
+
+ $status=false;
+ $help = t('Friendica uses the Smarty3 template engine to render its web views. Smarty3 compiles templates to PHP to speed up rendering.') .EOL;
+ $help .= t('In order to store these compiled templates, the web server needs to have write access to the directory view/smarty3/ under the Friendica top level folder.').EOL;
+ $help .= t('Please ensure that the user that your web server runs as (e.g. www-data) has write access to this folder.').EOL;
+ $help .= t('Note: as a security measure, you should give the web server write access to view/smarty3/ only--not the template files (.tpl) that it contains.').EOL;
+ }
+
+ check_add($checks, t('view/smarty3 is writable'), $status, true, $help);
+
+}
+
function check_htaccess(&$checks) {
$a = get_app();
$status = true;
$tpl = get_markup_template('prv_message.tpl');
$o .= replace_macros($tpl,array(
- '$reply' => array(
- 'header' => t('Send Private Message'),
- 'to' => t('To:'),
- 'showinputs' => 'true',
- 'prefill' => $prefill,
- 'autocomp' => $autocomp,
- 'preid' => $preid,
- 'subject' => t('Subject:'),
- 'subjtxt' => ((x($_REQUEST,'subject')) ? strip_tags($_REQUEST['subject']) : ''),
- 'text' => ((x($_REQUEST,'body')) ? escape_tags(htmlspecialchars($_REQUEST['body'])) : ''),
- 'readonly' => '',
- 'yourmessage' => t('Your message:'),
- 'select' => $select,
- 'parent' => '',
- 'upload' => t('Upload photo'),
- 'insert' => t('Insert web link'),
- 'wait' => t('Please wait'),
- 'submit' => t('Submit')
- )
+ '$header' => t('Send Private Message'),
+ '$to' => t('To:'),
+ '$showinputs' => 'true',
+ '$prefill' => $prefill,
+ '$autocomp' => $autocomp,
+ '$preid' => $preid,
+ '$subject' => t('Subject:'),
+ '$subjtxt' => ((x($_REQUEST,'subject')) ? strip_tags($_REQUEST['subject']) : ''),
+ '$text' => ((x($_REQUEST,'body')) ? escape_tags(htmlspecialchars($_REQUEST['body'])) : ''),
+ '$readonly' => '',
+ '$yourmessage' => t('Your message:'),
+ '$select' => $select,
+ '$parent' => '',
+ '$upload' => t('Upload photo'),
+ '$insert' => t('Insert web link'),
+ '$wait' => t('Please wait'),
+ '$submit' => t('Submit')
));
return $o;
$tpl = get_markup_template('mail_display.tpl');
- $includes = array(
- '$mail_conv' => 'mail_conv.tpl',
- '$prv_message' => 'prv_message.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
if($a->theme['template_engine'] === 'internal') {
$subjtxt_e = template_escape($message['title']);
}
$subjtxt_e = $message['title'];
}
- $o = replace_macros($tpl, $includes + array(
+ $o = replace_macros($tpl, array(
'$thread_id' => $a->argv[1],
'$thread_subject' => $message['title'],
'$thread_seen' => $seen,
'$mails' => $mails,
// reply
- '$reply_info' => array(
- 'header' => t('Send Reply'),
- 'to' => t('To:'),
- 'showinputs' => '',
- 'subject' => t('Subject:'),
- 'subjtxt' => $subjtxt_e,
- 'readonly' => ' readonly="readonly" style="background: #BBBBBB;" ',
- 'yourmessage' => t('Your message:'),
- 'text' => '',
- 'select' => $select,
- 'parent' => $parent,
- 'upload' => t('Upload photo'),
- 'insert' => t('Insert web link'),
- 'submit' => t('Submit'),
- 'wait' => t('Please wait'),
- ),
+ '$header' => t('Send Reply'),
+ '$to' => t('To:'),
+ '$showinputs' => '',
+ '$subject' => t('Subject:'),
+ '$subjtxt' => template_escape($message['title']),
+ '$readonly' => ' readonly="readonly" style="background: #BBBBBB;" ',
+ '$yourmessage' => t('Your message:'),
+ '$text' => '',
+ '$select' => $select,
+ '$parent' => $parent,
+ '$upload' => t('Upload photo'),
+ '$insert' => t('Insert web link'),
+ '$submit' => t('Submit'),
+ '$wait' => t('Please wait')
));
}
$tpl = get_markup_template("nogroup-template.tpl");
-
- $includes = array(
- '$contact_template' => 'contact_template.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl,$includes + array(
+ $o .= replace_macros($tpl, array(
'$header' => t('Contacts who are not members of a group'),
'$contacts' => $contacts,
'$paginate' => paginate($a),
$return_addr = bin2hex($a->user['nickname'] . '@' . $a->get_hostname() . (($a->path) ? '/' . $a->path : ''));
- $includes = array(
- '$field_checkbox' => 'field_checkbox.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $notif_content .= replace_macros($sugg,$includes + array(
+ $notif_content .= replace_macros($sugg, array(
'$str_notifytype' => t('Notification type: '),
'$notify_type' => t('Friend Suggestion'),
'$intro_id' => $rr['intro_id'],
));
}
- $includes = array(
- '$field_checkbox' => 'field_checkbox.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $notif_content .= replace_macros($tpl,$includes + array(
+ $notif_content .= replace_macros($tpl, array(
'$str_notifytype' => t('Notification type: '),
'$notify_type' => (($rr['network'] !== NETWORK_OSTATUS) ? t('Friend/Connect Request') : t('New Follower')),
'$dfrn_text' => $dfrn_text,
else
info( t('No introductions.') . EOL);
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
$notif_content = t('No more network notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('Network Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
$notif_content .= t('No more system notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('System Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
$notif_content = t('No more personal notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('Personal Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
$notif_content = t('No more home notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('Home Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
}
$notif_content .= t('No more system notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('System Notifications'),
- '$tabs_data' => '', // $tabs,
+ '$tabs' => '', // $tabs,
'$notif_content' => $notif_content,
));
}
$tpl = get_markup_template('photos_recent.tpl');
-
- $includes = array(
- '$photo_top' => 'photo_top.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl,$includes + array(
+ $o .= replace_macros($tpl, array(
'$title' => t('Recent Photos'),
'$can_post' => $can_post,
'$upload' => array(t('Upload New Photos'), $a->get_baseurl().'/photos/'.$a->data['user']['nickname'].'/upload'),
if($format === 'xml') {
header('Content-type: text/xml');
-
- $includes = array(
- '$poco_entry_xml' => 'poco_entry_xml.tpl'
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- echo replace_macros(get_markup_template('poco_xml.tpl'),array_xmlify($includes + array('$response' => $ret)));
+ echo replace_macros(get_markup_template('poco_xml.tpl'),array_xmlify(array('$response' => $ret)));
http_status_exit(500);
}
if($format === 'json') {
auto_redir($a, $which);
}
- $a->theme["template_engine"] = 'internal'; // reset the template engine to the default in case the user's theme doesn't specify one
+ set_template_engine($a); // reset the template engine to the default in case the user's theme doesn't specify one
profile_load($a,$which,$profile);
$blocked = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false);
if(($a->argc > 2) && ($a->argv[2] === 'add')) {
$tpl = get_markup_template("settings_oauth_edit.tpl");
-
- $includes = array(
- '$field_input' => 'field_input.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl, $includes + array(
+ $o .= replace_macros($tpl, array(
'$form_security_token' => get_form_security_token("settings_oauth"),
'$title' => t('Add application'),
'$submit' => t('Submit'),
$app = $r[0];
$tpl = get_markup_template("settings_oauth_edit.tpl");
-
- $includes = array(
- '$field_input' => 'field_input.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl, $includes + array(
+ $o .= replace_macros($tpl, array(
'$form_security_token' => get_form_security_token("settings_oauth"),
'$title' => t('Add application'),
'$submit' => t('Update'),
$tpl = get_markup_template("settings_features.tpl");
-
- $includes = array(
- '$field_yesno' => 'field_yesno.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl, $includes + array(
+ $o .= replace_macros($tpl, array(
'$form_security_token' => get_form_security_token("settings_features"),
'$title' => t('Additional Features'),
'$features' => $arr,
}
- $includes = array(
- '$field_checkbox' => 'field_checkbox.tpl',
- '$field_input' => 'field_input.tpl',
- '$field_select' => 'field_select.tpl',
- '$field_custom' => 'field_custom.tpl',
- '$field_password' => 'field_password.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl, $includes + array(
+ $o .= replace_macros($tpl, array(
'$form_security_token' => get_form_security_token("settings_connectors"),
'$title' => t('Connector Settings'),
}
$tpl = get_markup_template("settings_display.tpl");
-
- $includes = array(
- '$field_themeselect' => 'field_themeselect.tpl',
- '$field_checkbox' => 'field_checkbox.tpl',
- '$field_input' => 'field_input.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o = replace_macros($tpl, $includes + array(
+ $o = replace_macros($tpl, array(
'$ptitle' => t('Display Settings'),
'$form_security_token' => get_form_security_token("settings_display"),
'$submit' => t('Submit'),
$pageset_tpl = get_markup_template('pagetypes.tpl');
-
- $includes = array(
- '$field_radio' => 'field_radio.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $pagetype = replace_macros($pageset_tpl,$includes + array(
+ $pagetype = replace_macros($pageset_tpl, array(
'$page_normal' => array('page-flags', t('Normal Account Page'), PAGE_NORMAL,
t('This account is a normal personal profile'),
($a->user['page-flags'] == PAGE_NORMAL)),
require_once('include/group.php');
$group_select = mini_group_select(local_user(),$a->user['def_gid']);
- $includes = array(
- '$field_password' => 'field_password.tpl',
- '$field_input' => 'field_input.tpl',
- '$field_custom' => 'field_custom.tpl',
- '$field_checkbox' => 'field_checkbox.tpl',
- '$field_yesno' => 'field_yesno.tpl',
- '$field_intcheckbox' => 'field_intcheckbox.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($stpl,$includes + array(
+ $o .= replace_macros($stpl, array(
'$ptitle' => t('Account Settings'),
'$submit' => t('Submit'),
\r
\r
$tpl = get_markup_template("uimport.tpl");\r
-\r
- $includes = array(\r
- '$field_custom' => 'field_custom.tpl',\r
- );\r
- $includes = set_template_includes($a->theme['template_engine'], $includes);\r
-\r
- return replace_macros($tpl, $includes + array(\r
+ return replace_macros($tpl, array(\r
'$regbutt' => t('Import'),\r
'$import' => array(\r
'title' => t("Move account"),\r
$tpl = get_markup_template("viewcontact_template.tpl");
-
- $includes = array(
- '$contact_template' => 'contact_template.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($tpl, $includes + array(
+ $o .= replace_macros($tpl, array(
'$title' => t('View Contacts'),
'$contacts' => $contacts,
'$paginate' => paginate($a),
'comment' => $this->get_comment_box($indent),
'previewing' => ($conv->is_preview() ? ' preview ' : ''),
'wait' => t('Please wait'),
- 'remove' => t('remove'),
'thread_level' => $thread_level
);
<form action="$baseurl/admin/logs" method="post">
<input type='hidden' name='form_security_token' value='$form_security_token'>
- {{ inc $field_checkbox with $field=$debugging }}{{ endinc }}
- {{ inc $field_input with $field=$logfile }}{{ endinc }}
- {{ inc $field_select with $field=$loglevel }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$logfile }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$loglevel }}{{ endinc }}
<div class="submit"><input type="submit" name="page_logs" value="$submit" /></div>
<h3>Your friendica installation is not writable by web server.</h3>
{{ if $canftp }}
<p>You can try to update via FTP</p>
- {{ inc $field_input with $field=$ftphost }}{{ endinc }}
- {{ inc $field_input with $field=$ftppath }}{{ endinc }}
- {{ inc $field_input with $field=$ftpuser }}{{ endinc }}
- {{ inc $field_password with $field=$ftppwd }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$ftphost }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$ftppath }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$ftpuser }}{{ endinc }}
+ {{ inc field_password.tpl with $field=$ftppwd }}{{ endinc }}
<div class="submit"><input type="submit" name="remoteupdate" value="$submit" /></div>
{{ endif }}
{{ endif }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<h3>$registration</h3>
- {{ inc $field_input with $field=$register_text }}{{ endinc }}
- {{ inc $field_select with $field=$register_policy }}{{ endinc }}
- {{ inc $field_input with $field=$daily_registrations }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_multi_reg }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_openid }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_regfullname }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$register_text }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$register_policy }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$daily_registrations }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<h3>$upload</h3>
- {{ inc $field_input with $field=$maximagesize }}{{ endinc }}
- {{ inc $field_input with $field=$maximagelength }}{{ endinc }}
- {{ inc $field_input with $field=$jpegimagequality }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$maximagelength }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$jpegimagequality }}{{ endinc }}
<h3>$corporate</h3>
- {{ inc $field_input with $field=$allowed_sites }}{{ endinc }}
- {{ inc $field_input with $field=$allowed_email }}{{ endinc }}
- {{ inc $field_checkbox with $field=$block_public }}{{ endinc }}
- {{ inc $field_checkbox with $field=$force_publish }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_community_page }}{{ endinc }}
- {{ inc $field_checkbox with $field=$ostatus_disabled }}{{ endinc }}
- {{ inc $field_checkbox with $field=$diaspora_enabled }}{{ endinc }}
- {{ inc $field_checkbox with $field=$dfrn_only }}{{ endinc }}
- {{ inc $field_input with $field=$global_directory }}{{ endinc }}
- {{ inc $field_checkbox with $field=$thread_allow }}{{ endinc }}
- {{ inc $field_checkbox with $field=$newuser_private }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_community_page }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$ostatus_disabled }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$diaspora_enabled }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$dfrn_only }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<users type="array">
{{for $users as $u }}
- {{inc $api_user_xml with $user=$u }}{{endinc}}
+ {{inc api_user_xml.tpl with $user=$u }}{{endinc}}
{{endfor}}
</users>
<in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name>
<geo>$status.geo</geo>
<favorited>$status.favorited</favorited>
-{{ inc $api_user_xml with $user=$status.user }}{{ endinc }} <statusnet:html>$status.statusnet_html</statusnet:html>
+{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }} <statusnet:html>$status.statusnet_html</statusnet:html>
<statusnet:conversation_id>$status.statusnet_conversation_id</statusnet:conversation_id>
<url>$status.url</url>
<coordinates>$status.coordinates</coordinates>
{{ endif }}
<div id="contact-edit-end" ></div>
- {{inc $field_checkbox with $field=$hidden }}{{endinc}}
+ {{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
<div id="contact-edit-info-wrapper">
<h4>$lbl_info1</h4>
{{ for $contacts as $c }}
- {{ inc $contact_template with $contact=$c }}{{ endinc }}
+ {{ inc contact_template.tpl with $contact=$c }}{{ endinc }}
{{ endfor }}
<div id="contact-edit-end"></div>
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: http://bugs.friendica.com/\n"
-"POT-Creation-Date: 2012-12-18 10:00-0800\n"
-"PO-Revision-Date: 2012-12-21 12:00+0000\n"
+"POT-Creation-Date: 2012-12-22 10:00-0800\n"
+"PO-Revision-Date: 2012-12-24 08:27+0000\n"
"Last-Translator: bavatar <tobias.diekershoff@gmx.net>\n"
"Language-Team: German (http://www.transifex.com/projects/p/friendica/language/de/)\n"
"MIME-Version: 1.0\n"
#: ../../mod/api.php:31 ../../mod/photos.php:133 ../../mod/photos.php:995
#: ../../mod/editpost.php:10 ../../mod/install.php:151 ../../mod/poke.php:135
#: ../../mod/notifications.php:66 ../../mod/contacts.php:147
-#: ../../mod/settings.php:91 ../../mod/settings.php:541
-#: ../../mod/settings.php:546 ../../mod/manage.php:90 ../../mod/network.php:6
+#: ../../mod/settings.php:91 ../../mod/settings.php:542
+#: ../../mod/settings.php:547 ../../mod/manage.php:90 ../../mod/network.php:6
#: ../../mod/notes.php:20 ../../mod/uimport.php:23 ../../mod/wallmessage.php:9
#: ../../mod/wallmessage.php:33 ../../mod/wallmessage.php:79
#: ../../mod/wallmessage.php:103 ../../mod/attach.php:33
msgid "Return to contact editor"
msgstr "Zurück zum Kontakteditor"
-#: ../../mod/crepair.php:148 ../../mod/settings.php:561
-#: ../../mod/settings.php:587 ../../mod/admin.php:695 ../../mod/admin.php:705
+#: ../../mod/crepair.php:148 ../../mod/settings.php:562
+#: ../../mod/settings.php:588 ../../mod/admin.php:695 ../../mod/admin.php:705
msgid "Name"
msgstr "Name"
#: ../../mod/photos.php:1519 ../../mod/install.php:246
#: ../../mod/install.php:284 ../../mod/localtime.php:45 ../../mod/poke.php:199
#: ../../mod/content.php:693 ../../mod/contacts.php:352
-#: ../../mod/settings.php:559 ../../mod/settings.php:669
-#: ../../mod/settings.php:738 ../../mod/settings.php:810
-#: ../../mod/settings.php:1017 ../../mod/group.php:85 ../../mod/mood.php:137
+#: ../../mod/settings.php:560 ../../mod/settings.php:670
+#: ../../mod/settings.php:739 ../../mod/settings.php:811
+#: ../../mod/settings.php:1018 ../../mod/group.php:85 ../../mod/mood.php:137
#: ../../mod/message.php:301 ../../mod/message.php:487 ../../mod/admin.php:445
#: ../../mod/admin.php:692 ../../mod/admin.php:829 ../../mod/admin.php:1028
#: ../../mod/admin.php:1115 ../../mod/profiles.php:604
msgstr "Link zum Originalbeitrag"
#: ../../mod/events.php:347 ../../view/theme/diabook/theme.php:91
-#: ../../include/nav.php:52 ../../boot.php:1748
+#: ../../include/nav.php:52 ../../boot.php:1761
msgid "Events"
msgstr "Veranstaltungen"
#: ../../mod/events.php:448 ../../mod/directory.php:134
#: ../../addon/forumdirectory/forumdirectory.php:156
-#: ../../include/event.php:40 ../../include/bb2diaspora.php:412
-#: ../../boot.php:1278
+#: ../../include/event.php:40 ../../include/bb2diaspora.php:415
+#: ../../boot.php:1291
msgid "Location:"
msgstr "Ort:"
msgstr "Veranstaltung teilen"
#: ../../mod/tagrm.php:11 ../../mod/tagrm.php:94 ../../mod/editpost.php:145
-#: ../../mod/dfrn_request.php:847 ../../mod/settings.php:560
-#: ../../mod/settings.php:586 ../../addon/js_upload/js_upload.php:45
+#: ../../mod/dfrn_request.php:847 ../../mod/settings.php:561
+#: ../../mod/settings.php:587 ../../addon/js_upload/js_upload.php:45
#: ../../include/conversation.php:1009
#: ../../addon.old/js_upload/js_upload.php:45
msgid "Cancel"
msgstr "Möchtest du dieser Anwendung den Zugriff auf deine Beiträge und Kontakte, sowie das Erstellen neuer Beiträge in deinem Namen gestatten?"
#: ../../mod/api.php:105 ../../mod/dfrn_request.php:835
-#: ../../mod/settings.php:933 ../../mod/settings.php:939
-#: ../../mod/settings.php:947 ../../mod/settings.php:951
-#: ../../mod/settings.php:956 ../../mod/settings.php:962
-#: ../../mod/settings.php:968 ../../mod/settings.php:974
-#: ../../mod/settings.php:1004 ../../mod/settings.php:1005
-#: ../../mod/settings.php:1006 ../../mod/settings.php:1007
-#: ../../mod/settings.php:1008 ../../mod/register.php:237
+#: ../../mod/settings.php:934 ../../mod/settings.php:940
+#: ../../mod/settings.php:948 ../../mod/settings.php:952
+#: ../../mod/settings.php:957 ../../mod/settings.php:963
+#: ../../mod/settings.php:969 ../../mod/settings.php:975
+#: ../../mod/settings.php:1005 ../../mod/settings.php:1006
+#: ../../mod/settings.php:1007 ../../mod/settings.php:1008
+#: ../../mod/settings.php:1009 ../../mod/register.php:237
#: ../../mod/profiles.php:584
msgid "Yes"
msgstr "Ja"
#: ../../mod/api.php:106 ../../mod/dfrn_request.php:836
-#: ../../mod/settings.php:933 ../../mod/settings.php:939
-#: ../../mod/settings.php:947 ../../mod/settings.php:951
-#: ../../mod/settings.php:956 ../../mod/settings.php:962
-#: ../../mod/settings.php:968 ../../mod/settings.php:974
-#: ../../mod/settings.php:1004 ../../mod/settings.php:1005
-#: ../../mod/settings.php:1006 ../../mod/settings.php:1007
-#: ../../mod/settings.php:1008 ../../mod/register.php:238
+#: ../../mod/settings.php:934 ../../mod/settings.php:940
+#: ../../mod/settings.php:948 ../../mod/settings.php:952
+#: ../../mod/settings.php:957 ../../mod/settings.php:963
+#: ../../mod/settings.php:969 ../../mod/settings.php:975
+#: ../../mod/settings.php:1005 ../../mod/settings.php:1006
+#: ../../mod/settings.php:1007 ../../mod/settings.php:1008
+#: ../../mod/settings.php:1009 ../../mod/register.php:238
#: ../../mod/profiles.php:585
msgid "No"
msgstr "Nein"
-#: ../../mod/photos.php:51 ../../boot.php:1741
+#: ../../mod/photos.php:51 ../../boot.php:1754
msgid "Photo Albums"
msgstr "Fotoalben"
msgstr "Das bist du"
#: ../../mod/photos.php:1402 ../../mod/photos.php:1446
-#: ../../mod/photos.php:1518 ../../mod/content.php:692 ../../boot.php:608
+#: ../../mod/photos.php:1518 ../../mod/content.php:692 ../../boot.php:621
#: ../../object/Item.php:267 ../../object/Item.php:576
msgid "Comment"
msgstr "Kommentar"
msgstr "Vorschau"
#: ../../mod/photos.php:1488 ../../mod/content.php:439
-#: ../../mod/content.php:724 ../../mod/settings.php:622
+#: ../../mod/content.php:724 ../../mod/settings.php:623
#: ../../mod/group.php:168 ../../mod/admin.php:699
#: ../../include/conversation.php:569 ../../object/Item.php:119
msgid "Delete"
msgstr "An E-Mail senden"
#: ../../mod/editpost.php:106 ../../mod/content.php:711
-#: ../../mod/settings.php:621 ../../object/Item.php:109
+#: ../../mod/settings.php:622 ../../object/Item.php:109
msgid "Edit"
msgstr "Bearbeiten"
msgid "StatusNet/Federated Social Web"
msgstr "StatusNet/Federated Social Web"
-#: ../../mod/dfrn_request.php:841 ../../mod/settings.php:681
+#: ../../mod/dfrn_request.php:841 ../../mod/settings.php:682
#: ../../include/contact_selectors.php:80
msgid "Diaspora"
msgstr "Diaspora"
msgid "Submit Request"
msgstr "Anfrage abschicken"
-#: ../../mod/uexport.php:9 ../../mod/settings.php:30 ../../include/nav.php:138
+#: ../../mod/uexport.php:9 ../../mod/settings.php:30 ../../include/nav.php:140
msgid "Account settings"
msgstr "Kontoeinstellungen"
#: ../../mod/newmember.php:22 ../../mod/admin.php:788 ../../mod/admin.php:993
#: ../../addon/dav/friendica/layout.fnk.php:225
#: ../../addon/mathjax/mathjax.php:36 ../../view/theme/diabook/theme.php:537
-#: ../../view/theme/diabook/theme.php:658 ../../include/nav.php:138
+#: ../../view/theme/diabook/theme.php:658 ../../include/nav.php:140
#: ../../addon.old/dav/friendica/layout.fnk.php:225
#: ../../addon.old/mathjax/mathjax.php:36
msgid "Settings"
msgstr "WICHTIG: Du musst [manuell] einen Cronjob (o.ä.) für den Poller einrichten."
#: ../../mod/localtime.php:12 ../../include/event.php:11
-#: ../../include/bb2diaspora.php:390
+#: ../../include/bb2diaspora.php:393
msgid "l F d, Y \\@ g:i A"
msgstr "l, d. F Y\\, H:i"
msgstr "ist interessiert an:"
#: ../../mod/match.php:58 ../../mod/suggest.php:59
-#: ../../include/contact_widgets.php:9 ../../boot.php:1216
+#: ../../include/contact_widgets.php:9 ../../boot.php:1229
msgid "Connect"
msgstr "Verbinden"
#: ../../mod/content.php:589 ../../addon/page/page.php:77
#: ../../addon/page/page.php:111 ../../addon/showmore/showmore.php:119
-#: ../../include/contact_widgets.php:204 ../../boot.php:609
+#: ../../include/contact_widgets.php:204 ../../boot.php:622
#: ../../object/Item.php:292 ../../addon.old/page/page.php:77
#: ../../addon.old/page/page.php:111 ../../addon.old/showmore/showmore.php:119
msgid "show more"
msgstr "Kontakt bearbeiten"
#: ../../mod/contacts.php:575 ../../view/theme/diabook/theme.php:89
-#: ../../include/nav.php:142
+#: ../../include/nav.php:144
msgid "Contacts"
msgstr "Kontakte"
#: ../../addon/facebook/facebook.php:1200 ../../addon/fbpost/fbpost.php:777
#: ../../addon/public_server/public_server.php:62
#: ../../addon/testdrive/testdrive.php:67 ../../include/items.php:3365
-#: ../../boot.php:824 ../../addon.old/facebook/facebook.php:702
+#: ../../boot.php:837 ../../addon.old/facebook/facebook.php:702
#: ../../addon.old/facebook/facebook.php:1200
#: ../../addon.old/fbpost/fbpost.php:661
#: ../../addon.old/public_server/public_server.php:62
"Password reset failed."
msgstr "Anfrage konnte nicht verifiziert werden. (Eventuell hast du bereits eine ähnliche Anfrage gestellt.) Zurücksetzen des Passworts gescheitert."
-#: ../../mod/lostpass.php:83 ../../boot.php:963
+#: ../../mod/lostpass.php:83 ../../boot.php:976
msgid "Password Reset"
msgstr "Passwort zurücksetzen"
msgid "Missing some important data!"
msgstr "Wichtige Daten fehlen!"
-#: ../../mod/settings.php:121 ../../mod/settings.php:585
+#: ../../mod/settings.php:121 ../../mod/settings.php:586
msgid "Update"
msgstr "Aktualisierungen"
-#: ../../mod/settings.php:226
+#: ../../mod/settings.php:227
msgid "Failed to connect with email account using the settings provided."
msgstr "Verbindung zum E-Mail-Konto mit den angegebenen Einstellungen nicht möglich."
-#: ../../mod/settings.php:231
+#: ../../mod/settings.php:232
msgid "Email settings updated."
msgstr "E-Mail Einstellungen bearbeitet."
-#: ../../mod/settings.php:246
+#: ../../mod/settings.php:247
msgid "Features updated"
msgstr "Features aktualisiert"
-#: ../../mod/settings.php:306
+#: ../../mod/settings.php:307
msgid "Passwords do not match. Password unchanged."
msgstr "Die Passwörter stimmen nicht überein. Das Passwort bleibt unverändert."
-#: ../../mod/settings.php:311
+#: ../../mod/settings.php:312
msgid "Empty passwords are not allowed. Password unchanged."
msgstr "Leere Passwörter sind nicht erlaubt. Passwort bleibt unverändert."
-#: ../../mod/settings.php:322
+#: ../../mod/settings.php:323
msgid "Password changed."
msgstr "Passwort ändern."
-#: ../../mod/settings.php:324
+#: ../../mod/settings.php:325
msgid "Password update failed. Please try again."
msgstr "Aktualisierung des Passworts gescheitert, bitte versuche es noch einmal."
-#: ../../mod/settings.php:389
+#: ../../mod/settings.php:390
msgid " Please use a shorter name."
msgstr " Bitte verwende einen kürzeren Namen."
-#: ../../mod/settings.php:391
+#: ../../mod/settings.php:392
msgid " Name too short."
msgstr " Name ist zu kurz."
-#: ../../mod/settings.php:397
+#: ../../mod/settings.php:398
msgid " Not valid email."
msgstr " Keine gültige E-Mail."
-#: ../../mod/settings.php:399
+#: ../../mod/settings.php:400
msgid " Cannot change to that email."
msgstr "Ändern der E-Mail nicht möglich. "
-#: ../../mod/settings.php:453
+#: ../../mod/settings.php:454
msgid "Private forum has no privacy permissions. Using default privacy group."
msgstr "Für das private Forum sind keine Zugriffsrechte eingestellt. Die voreingestellte Gruppe für neue Kontakte wird benutzt."
-#: ../../mod/settings.php:457
+#: ../../mod/settings.php:458
msgid "Private forum has no privacy permissions and no default privacy group."
msgstr "Für das private Forum sind keine Zugriffsrechte eingestellt, und es gibt keine voreingestellte Gruppe für neue Kontakte."
-#: ../../mod/settings.php:487 ../../addon/facebook/facebook.php:495
+#: ../../mod/settings.php:488 ../../addon/facebook/facebook.php:495
#: ../../addon/fbpost/fbpost.php:151
#: ../../addon/remote_permissions/remote_permissions.php:204
#: ../../addon/impressum/impressum.php:78
msgid "Settings updated."
msgstr "Einstellungen aktualisiert."
-#: ../../mod/settings.php:558 ../../mod/settings.php:584
-#: ../../mod/settings.php:620
+#: ../../mod/settings.php:559 ../../mod/settings.php:585
+#: ../../mod/settings.php:621
msgid "Add application"
msgstr "Programm hinzufügen"
-#: ../../mod/settings.php:562 ../../mod/settings.php:588
+#: ../../mod/settings.php:563 ../../mod/settings.php:589
#: ../../addon/statusnet/statusnet.php:694
#: ../../addon.old/statusnet/statusnet.php:570
msgid "Consumer Key"
msgstr "Consumer Key"
-#: ../../mod/settings.php:563 ../../mod/settings.php:589
+#: ../../mod/settings.php:564 ../../mod/settings.php:590
#: ../../addon/statusnet/statusnet.php:693
#: ../../addon.old/statusnet/statusnet.php:569
msgid "Consumer Secret"
msgstr "Consumer Secret"
-#: ../../mod/settings.php:564 ../../mod/settings.php:590
+#: ../../mod/settings.php:565 ../../mod/settings.php:591
msgid "Redirect"
msgstr "Umleiten"
-#: ../../mod/settings.php:565 ../../mod/settings.php:591
+#: ../../mod/settings.php:566 ../../mod/settings.php:592
msgid "Icon url"
msgstr "Icon URL"
-#: ../../mod/settings.php:576
+#: ../../mod/settings.php:577
msgid "You can't edit this application."
msgstr "Du kannst dieses Programm nicht bearbeiten."
-#: ../../mod/settings.php:619
+#: ../../mod/settings.php:620
msgid "Connected Apps"
msgstr "Verbundene Programme"
-#: ../../mod/settings.php:623
+#: ../../mod/settings.php:624
msgid "Client key starts with"
msgstr "Anwenderschlüssel beginnt mit"
-#: ../../mod/settings.php:624
+#: ../../mod/settings.php:625
msgid "No name"
msgstr "Kein Name"
-#: ../../mod/settings.php:625
+#: ../../mod/settings.php:626
msgid "Remove authorization"
msgstr "Autorisierung entziehen"
-#: ../../mod/settings.php:637
+#: ../../mod/settings.php:638
msgid "No Plugin settings configured"
msgstr "Keine Plugin-Einstellungen konfiguriert"
-#: ../../mod/settings.php:645 ../../addon/widgets/widgets.php:123
+#: ../../mod/settings.php:646 ../../addon/widgets/widgets.php:123
#: ../../addon.old/widgets/widgets.php:123
msgid "Plugin Settings"
msgstr "Plugin-Einstellungen"
-#: ../../mod/settings.php:659
+#: ../../mod/settings.php:660
msgid "Off"
msgstr "Aus"
-#: ../../mod/settings.php:659
+#: ../../mod/settings.php:660
msgid "On"
msgstr "An"
-#: ../../mod/settings.php:667
+#: ../../mod/settings.php:668
msgid "Additional Features"
msgstr "Zusätzliche Features"
-#: ../../mod/settings.php:681 ../../mod/settings.php:682
+#: ../../mod/settings.php:682 ../../mod/settings.php:683
#, php-format
msgid "Built-in support for %s connectivity is %s"
msgstr "Eingebaute Unterstützung für Verbindungen zu %s ist %s"
-#: ../../mod/settings.php:681 ../../mod/settings.php:682
+#: ../../mod/settings.php:682 ../../mod/settings.php:683
msgid "enabled"
msgstr "eingeschaltet"
-#: ../../mod/settings.php:681 ../../mod/settings.php:682
+#: ../../mod/settings.php:682 ../../mod/settings.php:683
msgid "disabled"
msgstr "ausgeschaltet"
-#: ../../mod/settings.php:682
+#: ../../mod/settings.php:683
msgid "StatusNet"
msgstr "StatusNet"
-#: ../../mod/settings.php:714
+#: ../../mod/settings.php:715
msgid "Email access is disabled on this site."
msgstr "Zugriff auf E-Mails für diese Seite deaktiviert."
-#: ../../mod/settings.php:720
+#: ../../mod/settings.php:721
msgid "Connector Settings"
msgstr "Verbindungs-Einstellungen"
-#: ../../mod/settings.php:725
+#: ../../mod/settings.php:726
msgid "Email/Mailbox Setup"
msgstr "E-Mail/Postfach-Einstellungen"
-#: ../../mod/settings.php:726
+#: ../../mod/settings.php:727
msgid ""
"If you wish to communicate with email contacts using this service "
"(optional), please specify how to connect to your mailbox."
msgstr "Wenn du mit E-Mail-Kontakten über diesen Service kommunizieren möchtest (optional), gib bitte die Einstellungen für dein Postfach an."
-#: ../../mod/settings.php:727
+#: ../../mod/settings.php:728
msgid "Last successful email check:"
msgstr "Letzter erfolgreicher E-Mail Check"
-#: ../../mod/settings.php:729
+#: ../../mod/settings.php:730
msgid "IMAP server name:"
msgstr "IMAP-Server-Name:"
-#: ../../mod/settings.php:730
+#: ../../mod/settings.php:731
msgid "IMAP port:"
msgstr "IMAP-Port:"
-#: ../../mod/settings.php:731
+#: ../../mod/settings.php:732
msgid "Security:"
msgstr "Sicherheit:"
-#: ../../mod/settings.php:731 ../../mod/settings.php:736
+#: ../../mod/settings.php:732 ../../mod/settings.php:737
#: ../../addon/fbpost/fbpost.php:247 ../../addon/fbpost/fbpost.php:249
#: ../../addon/dav/common/wdcal_edit.inc.php:191
#: ../../addon.old/dav/common/wdcal_edit.inc.php:191
msgid "None"
msgstr "Keine"
-#: ../../mod/settings.php:732
+#: ../../mod/settings.php:733
msgid "Email login name:"
msgstr "E-Mail-Login-Name:"
-#: ../../mod/settings.php:733
+#: ../../mod/settings.php:734
msgid "Email password:"
msgstr "E-Mail-Passwort:"
-#: ../../mod/settings.php:734
+#: ../../mod/settings.php:735
msgid "Reply-to address:"
msgstr "Reply-to Adresse:"
-#: ../../mod/settings.php:735
+#: ../../mod/settings.php:736
msgid "Send public posts to all email contacts:"
msgstr "Sende öffentliche Beiträge an alle E-Mail-Kontakte:"
-#: ../../mod/settings.php:736
+#: ../../mod/settings.php:737
msgid "Action after import:"
msgstr "Aktion nach Import:"
-#: ../../mod/settings.php:736
+#: ../../mod/settings.php:737
msgid "Mark as seen"
msgstr "Als gelesen markieren"
-#: ../../mod/settings.php:736
+#: ../../mod/settings.php:737
msgid "Move to folder"
msgstr "In einen Ordner verschieben"
-#: ../../mod/settings.php:737
+#: ../../mod/settings.php:738
msgid "Move to folder:"
msgstr "In diesen Ordner verschieben:"
-#: ../../mod/settings.php:768 ../../mod/admin.php:404
+#: ../../mod/settings.php:769 ../../mod/admin.php:404
msgid "No special theme for mobile devices"
msgstr "Kein spezielles Theme für mobile Geräte verwenden."
-#: ../../mod/settings.php:808
+#: ../../mod/settings.php:809
msgid "Display Settings"
msgstr "Anzeige-Einstellungen"
-#: ../../mod/settings.php:814 ../../mod/settings.php:825
+#: ../../mod/settings.php:815 ../../mod/settings.php:826
msgid "Display Theme:"
msgstr "Theme:"
-#: ../../mod/settings.php:815
+#: ../../mod/settings.php:816
msgid "Mobile Theme:"
msgstr "Mobiles Theme"
-#: ../../mod/settings.php:816
+#: ../../mod/settings.php:817
msgid "Update browser every xx seconds"
msgstr "Browser alle xx Sekunden aktualisieren"
-#: ../../mod/settings.php:816
+#: ../../mod/settings.php:817
msgid "Minimum of 10 seconds, no maximum"
msgstr "Minimal 10 Sekunden, kein Maximum"
-#: ../../mod/settings.php:817
+#: ../../mod/settings.php:818
msgid "Number of items to display per page:"
msgstr "Zahl der Beiträge, die pro Netzwerkseite angezeigt werden sollen: "
-#: ../../mod/settings.php:817
+#: ../../mod/settings.php:818
msgid "Maximum of 100 items"
msgstr "Maximal 100 Beiträge"
-#: ../../mod/settings.php:818
+#: ../../mod/settings.php:819
msgid "Don't show emoticons"
msgstr "Keine Smilies anzeigen"
-#: ../../mod/settings.php:894
+#: ../../mod/settings.php:895
msgid "Normal Account Page"
msgstr "Normales Konto"
-#: ../../mod/settings.php:895
+#: ../../mod/settings.php:896
msgid "This account is a normal personal profile"
msgstr "Dieses Konto ist ein normales persönliches Profil"
-#: ../../mod/settings.php:898
+#: ../../mod/settings.php:899
msgid "Soapbox Page"
msgstr "Marktschreier-Konto"
-#: ../../mod/settings.php:899
+#: ../../mod/settings.php:900
msgid "Automatically approve all connection/friend requests as read-only fans"
msgstr "Kontaktanfragen werden automatisch als Nurlese-Fans akzeptiert"
-#: ../../mod/settings.php:902
+#: ../../mod/settings.php:903
msgid "Community Forum/Celebrity Account"
msgstr "Forum/Promi-Konto"
-#: ../../mod/settings.php:903
+#: ../../mod/settings.php:904
msgid ""
"Automatically approve all connection/friend requests as read-write fans"
msgstr "Kontaktanfragen werden automatisch als Lese-und-Schreib-Fans akzeptiert"
-#: ../../mod/settings.php:906
+#: ../../mod/settings.php:907
msgid "Automatic Friend Page"
msgstr "Automatische Freunde Seite"
-#: ../../mod/settings.php:907
+#: ../../mod/settings.php:908
msgid "Automatically approve all connection/friend requests as friends"
msgstr "Kontaktanfragen werden automatisch als Freund akzeptiert"
-#: ../../mod/settings.php:910
+#: ../../mod/settings.php:911
msgid "Private Forum [Experimental]"
msgstr "Privates Forum [Versuchsstadium]"
-#: ../../mod/settings.php:911
+#: ../../mod/settings.php:912
msgid "Private forum - approved members only"
msgstr "Privates Forum, nur für Mitglieder"
-#: ../../mod/settings.php:923
+#: ../../mod/settings.php:924
msgid "OpenID:"
msgstr "OpenID:"
-#: ../../mod/settings.php:923
+#: ../../mod/settings.php:924
msgid "(Optional) Allow this OpenID to login to this account."
msgstr "(Optional) Erlaube die Anmeldung für dieses Konto mit dieser OpenID."
-#: ../../mod/settings.php:933
+#: ../../mod/settings.php:934
msgid "Publish your default profile in your local site directory?"
msgstr "Darf dein Standardprofil im Verzeichnis dieses Servers veröffentlicht werden?"
-#: ../../mod/settings.php:939
+#: ../../mod/settings.php:940
msgid "Publish your default profile in the global social directory?"
msgstr "Darf dein Standardprofil im weltweiten Verzeichnis veröffentlicht werden?"
-#: ../../mod/settings.php:947
+#: ../../mod/settings.php:948
msgid "Hide your contact/friend list from viewers of your default profile?"
msgstr "Liste der Kontakte vor Betrachtern des Standardprofils verbergen?"
-#: ../../mod/settings.php:951
+#: ../../mod/settings.php:952
msgid "Hide your profile details from unknown viewers?"
msgstr "Profil-Details vor unbekannten Betrachtern verbergen?"
-#: ../../mod/settings.php:956
+#: ../../mod/settings.php:957
msgid "Allow friends to post to your profile page?"
msgstr "Dürfen deine Kontakte auf deine Pinnwand schreiben?"
-#: ../../mod/settings.php:962
+#: ../../mod/settings.php:963
msgid "Allow friends to tag your posts?"
msgstr "Dürfen deine Kontakte deine Beiträge mit Schlagwörtern versehen?"
-#: ../../mod/settings.php:968
+#: ../../mod/settings.php:969
msgid "Allow us to suggest you as a potential friend to new members?"
msgstr "Dürfen wir dich neuen Mitgliedern als potentiellen Kontakt vorschlagen?"
-#: ../../mod/settings.php:974
+#: ../../mod/settings.php:975
msgid "Permit unknown people to send you private mail?"
msgstr "Dürfen dir Unbekannte private Nachrichten schicken?"
-#: ../../mod/settings.php:982
+#: ../../mod/settings.php:983
msgid "Profile is <strong>not published</strong>."
msgstr "Profil ist <strong>nicht veröffentlicht</strong>."
-#: ../../mod/settings.php:985 ../../mod/profile_photo.php:248
+#: ../../mod/settings.php:986 ../../mod/profile_photo.php:248
msgid "or"
msgstr "oder"
-#: ../../mod/settings.php:990
+#: ../../mod/settings.php:991
msgid "Your Identity Address is"
msgstr "Die Adresse deines Profils lautet:"
-#: ../../mod/settings.php:1001
+#: ../../mod/settings.php:1002
msgid "Automatically expire posts after this many days:"
msgstr "Beiträge verfallen automatisch nach dieser Anzahl von Tagen:"
-#: ../../mod/settings.php:1001
+#: ../../mod/settings.php:1002
msgid "If empty, posts will not expire. Expired posts will be deleted"
msgstr "Wenn leer verfallen Beiträge nie automatisch. Verfallene Beiträge werden gelöscht."
-#: ../../mod/settings.php:1002
+#: ../../mod/settings.php:1003
msgid "Advanced expiration settings"
msgstr "Erweiterte Verfallseinstellungen"
-#: ../../mod/settings.php:1003
+#: ../../mod/settings.php:1004
msgid "Advanced Expiration"
msgstr "Erweitertes Verfallen"
-#: ../../mod/settings.php:1004
+#: ../../mod/settings.php:1005
msgid "Expire posts:"
msgstr "Beiträge verfallen lassen:"
-#: ../../mod/settings.php:1005
+#: ../../mod/settings.php:1006
msgid "Expire personal notes:"
msgstr "Persönliche Notizen verfallen lassen:"
-#: ../../mod/settings.php:1006
+#: ../../mod/settings.php:1007
msgid "Expire starred posts:"
msgstr "Markierte Beiträge verfallen lassen:"
-#: ../../mod/settings.php:1007
+#: ../../mod/settings.php:1008
msgid "Expire photos:"
msgstr "Fotos verfallen lassen:"
-#: ../../mod/settings.php:1008
+#: ../../mod/settings.php:1009
msgid "Only expire posts by others:"
msgstr "Nur Beiträge anderer verfallen:"
-#: ../../mod/settings.php:1015
+#: ../../mod/settings.php:1016
msgid "Account Settings"
msgstr "Kontoeinstellungen"
-#: ../../mod/settings.php:1023
+#: ../../mod/settings.php:1024
msgid "Password Settings"
msgstr "Passwort-Einstellungen"
-#: ../../mod/settings.php:1024
+#: ../../mod/settings.php:1025
msgid "New Password:"
msgstr "Neues Passwort:"
-#: ../../mod/settings.php:1025
+#: ../../mod/settings.php:1026
msgid "Confirm:"
msgstr "Bestätigen:"
-#: ../../mod/settings.php:1025
+#: ../../mod/settings.php:1026
msgid "Leave password fields blank unless changing"
msgstr "Lass die Passwort-Felder leer, außer du willst das Passwort ändern"
-#: ../../mod/settings.php:1029
+#: ../../mod/settings.php:1030
msgid "Basic Settings"
msgstr "Grundeinstellungen"
-#: ../../mod/settings.php:1030 ../../include/profile_advanced.php:15
+#: ../../mod/settings.php:1031 ../../include/profile_advanced.php:15
msgid "Full Name:"
msgstr "Kompletter Name:"
-#: ../../mod/settings.php:1031
+#: ../../mod/settings.php:1032
msgid "Email Address:"
msgstr "E-Mail-Adresse:"
-#: ../../mod/settings.php:1032
+#: ../../mod/settings.php:1033
msgid "Your Timezone:"
msgstr "Deine Zeitzone:"
-#: ../../mod/settings.php:1033
+#: ../../mod/settings.php:1034
msgid "Default Post Location:"
msgstr "Standardstandort:"
-#: ../../mod/settings.php:1034
+#: ../../mod/settings.php:1035
msgid "Use Browser Location:"
msgstr "Standort des Browsers verwenden:"
-#: ../../mod/settings.php:1037
+#: ../../mod/settings.php:1038
msgid "Security and Privacy Settings"
msgstr "Sicherheits- und Privatsphäre-Einstellungen"
-#: ../../mod/settings.php:1039
+#: ../../mod/settings.php:1040
msgid "Maximum Friend Requests/Day:"
msgstr "Maximale Anzahl von Freundschaftsanfragen/Tag:"
-#: ../../mod/settings.php:1039 ../../mod/settings.php:1058
+#: ../../mod/settings.php:1040 ../../mod/settings.php:1059
msgid "(to prevent spam abuse)"
msgstr "(um SPAM zu vermeiden)"
-#: ../../mod/settings.php:1040
+#: ../../mod/settings.php:1041
msgid "Default Post Permissions"
msgstr "Standard-Zugriffsrechte für Beiträge"
-#: ../../mod/settings.php:1041
+#: ../../mod/settings.php:1042
msgid "(click to open/close)"
msgstr "(klicke zum öffnen/schließen)"
-#: ../../mod/settings.php:1058
+#: ../../mod/settings.php:1059
msgid "Maximum private messages per day from unknown people:"
msgstr "Maximale Anzahl privater Nachrichten von Unbekannten pro Tag:"
-#: ../../mod/settings.php:1061
+#: ../../mod/settings.php:1062
msgid "Notification Settings"
msgstr "Benachrichtigungseinstellungen"
-#: ../../mod/settings.php:1062
+#: ../../mod/settings.php:1063
msgid "By default post a status message when:"
msgstr "Standardmäßig eine Statusnachricht posten, wenn:"
-#: ../../mod/settings.php:1063
+#: ../../mod/settings.php:1064
msgid "accepting a friend request"
msgstr "– du eine Kontaktanfrage akzeptierst"
-#: ../../mod/settings.php:1064
+#: ../../mod/settings.php:1065
msgid "joining a forum/community"
msgstr "– du einem Forum/einer Gemeinschaftsseite beitrittst"
-#: ../../mod/settings.php:1065
+#: ../../mod/settings.php:1066
msgid "making an <em>interesting</em> profile change"
msgstr "– du eine <em>interessante</em> Änderung an deinem Profil durchführst"
-#: ../../mod/settings.php:1066
+#: ../../mod/settings.php:1067
msgid "Send a notification email when:"
msgstr "Benachrichtigungs-E-Mail senden wenn:"
-#: ../../mod/settings.php:1067
+#: ../../mod/settings.php:1068
msgid "You receive an introduction"
msgstr "– du eine Kontaktanfrage erhältst"
-#: ../../mod/settings.php:1068
+#: ../../mod/settings.php:1069
msgid "Your introductions are confirmed"
msgstr "– eine deiner Kontaktanfragen akzeptiert wurde"
-#: ../../mod/settings.php:1069
+#: ../../mod/settings.php:1070
msgid "Someone writes on your profile wall"
msgstr "– jemand etwas auf deine Pinnwand schreibt"
-#: ../../mod/settings.php:1070
+#: ../../mod/settings.php:1071
msgid "Someone writes a followup comment"
msgstr "– jemand auch einen Kommentar verfasst"
-#: ../../mod/settings.php:1071
+#: ../../mod/settings.php:1072
msgid "You receive a private message"
msgstr "– du eine private Nachricht erhältst"
-#: ../../mod/settings.php:1072
+#: ../../mod/settings.php:1073
msgid "You receive a friend suggestion"
msgstr "– du eine Empfehlung erhältst"
-#: ../../mod/settings.php:1073
+#: ../../mod/settings.php:1074
msgid "You are tagged in a post"
msgstr "– du in einem Beitrag erwähnt wirst"
-#: ../../mod/settings.php:1074
+#: ../../mod/settings.php:1075
msgid "You are poked/prodded/etc. in a post"
msgstr "– du von jemandem angestupst oder sonstwie behandelt wirst"
-#: ../../mod/settings.php:1077
+#: ../../mod/settings.php:1078
msgid "Advanced Account/Page Type Settings"
msgstr "Erweiterte Konto-/Seitentyp-Einstellungen"
-#: ../../mod/settings.php:1078
+#: ../../mod/settings.php:1079
msgid "Change the behaviour of this account for special situations"
msgstr "Verhalten dieses Kontos in bestimmten Situationen:"
msgid "Invalid contact."
msgstr "Ungültiger Kontakt."
-#: ../../mod/notes.php:44 ../../boot.php:1755
+#: ../../mod/notes.php:44 ../../boot.php:1768
msgid "Personal Notes"
msgstr "Persönliche Notizen"
#: ../../mod/newmember.php:32 ../../mod/profperm.php:103
#: ../../view/theme/diabook/theme.php:88 ../../include/profile_advanced.php:7
#: ../../include/profile_advanced.php:84 ../../include/nav.php:50
-#: ../../boot.php:1731
+#: ../../boot.php:1744
msgid "Profile"
msgstr "Profil"
msgid "Choose a nickname: "
msgstr "Spitznamen wählen: "
-#: ../../mod/register.php:274 ../../include/nav.php:81 ../../boot.php:923
+#: ../../mod/register.php:274 ../../include/nav.php:81 ../../boot.php:936
msgid "Register"
msgstr "Registrieren"
msgstr "Zugriff verweigert."
#: ../../mod/fbrowser.php:25 ../../view/theme/diabook/theme.php:90
-#: ../../include/nav.php:51 ../../boot.php:1738
+#: ../../include/nav.php:51 ../../boot.php:1751
msgid "Photos"
msgstr "Bilder"
msgid "Logs"
msgstr "Protokolle"
-#: ../../mod/admin.php:120 ../../include/nav.php:149
+#: ../../mod/admin.php:120 ../../include/nav.php:151
msgid "Admin"
msgstr "Administration"
msgid "FTP Password"
msgstr "FTP Passwort"
-#: ../../mod/profile.php:21 ../../boot.php:1126
+#: ../../mod/profile.php:21 ../../boot.php:1139
msgid "Requested profile is not available."
msgstr "Das angefragte Profil ist nicht vorhanden."
msgid "Edit/Manage Profiles"
msgstr "Verwalte/Editiere Profile"
-#: ../../mod/profiles.php:700 ../../boot.php:1244
+#: ../../mod/profiles.php:700 ../../boot.php:1257
msgid "Change profile photo"
msgstr "Profilbild ändern"
-#: ../../mod/profiles.php:701 ../../boot.php:1245
+#: ../../mod/profiles.php:701 ../../boot.php:1258
msgid "Create New Profile"
msgstr "Neues Profil anlegen"
-#: ../../mod/profiles.php:712 ../../boot.php:1255
+#: ../../mod/profiles.php:712 ../../boot.php:1268
msgid "Profile Image"
msgstr "Profilbild"
-#: ../../mod/profiles.php:714 ../../boot.php:1258
+#: ../../mod/profiles.php:714 ../../boot.php:1271
msgid "visible to everybody"
msgstr "sichtbar für jeden"
-#: ../../mod/profiles.php:715 ../../boot.php:1259
+#: ../../mod/profiles.php:715 ../../boot.php:1272
msgid "Edit visibility"
msgstr "Sichtbarkeit bearbeiten"
msgid "No potential page delegates located."
msgstr "Keine potentiellen Bevollmächtigten für die Seite gefunden."
-#: ../../mod/delegate.php:121
+#: ../../mod/delegate.php:121 ../../include/nav.php:138
msgid "Delegate Page Management"
msgstr "Delegiere das Management für die Seite"
#: ../../mod/directory.php:136
#: ../../addon/forumdirectory/forumdirectory.php:158
-#: ../../include/profile_advanced.php:17 ../../boot.php:1280
+#: ../../include/profile_advanced.php:17 ../../boot.php:1293
msgid "Gender:"
msgstr "Geschlecht:"
#: ../../mod/directory.php:138
#: ../../addon/forumdirectory/forumdirectory.php:160
-#: ../../include/profile_advanced.php:37 ../../boot.php:1283
+#: ../../include/profile_advanced.php:37 ../../boot.php:1296
msgid "Status:"
msgstr "Status:"
#: ../../mod/directory.php:140
#: ../../addon/forumdirectory/forumdirectory.php:162
-#: ../../include/profile_advanced.php:48 ../../boot.php:1285
+#: ../../include/profile_advanced.php:48 ../../boot.php:1298
msgid "Homepage:"
msgstr "Homepage:"
#: ../../addon/communityhome/communityhome.php:34
#: ../../addon/communityhome/twillingham/communityhome.php:28
#: ../../addon/communityhome/twillingham/communityhome.php:34
-#: ../../include/nav.php:64 ../../boot.php:949
+#: ../../include/nav.php:64 ../../boot.php:962
#: ../../addon.old/communityhome/communityhome.php:28
#: ../../addon.old/communityhome/communityhome.php:34
#: ../../addon.old/communityhome/twillingham/communityhome.php:28
msgstr "Erweiterter Kalender mit CalDAV Unterstützung."
#: ../../addon/dav/friendica/main.php:279
-#: ../../addon/dav/friendica/main.php:280 ../../include/delivery.php:464
-#: ../../include/enotify.php:28 ../../include/notifier.php:778
+#: ../../addon/dav/friendica/main.php:280 ../../include/delivery.php:468
+#: ../../include/enotify.php:28 ../../include/notifier.php:781
#: ../../addon.old/dav/friendica/main.php:279
#: ../../addon.old/dav/friendica/main.php:280
msgid "noreply"
msgid "Ask me"
msgstr "Frag mich"
-#: ../../include/event.php:20 ../../include/bb2diaspora.php:396
+#: ../../include/event.php:20 ../../include/bb2diaspora.php:399
msgid "Starts:"
msgstr "Beginnt:"
-#: ../../include/event.php:30 ../../include/bb2diaspora.php:404
+#: ../../include/event.php:30 ../../include/bb2diaspora.php:407
msgid "Finishes:"
msgstr "Endet:"
msgid "Contacts not in any group"
msgstr "Kontakte in keiner Gruppe"
-#: ../../include/nav.php:46 ../../boot.php:948
+#: ../../include/nav.php:46 ../../boot.php:961
msgid "Logout"
msgstr "Abmelden"
msgid "End this session"
msgstr "Diese Sitzung beenden"
-#: ../../include/nav.php:49 ../../boot.php:1724
+#: ../../include/nav.php:49 ../../boot.php:1737
msgid "Status"
msgstr "Status"
msgid "Manage other pages"
msgstr "Andere Seiten verwalten"
-#: ../../include/nav.php:140 ../../boot.php:1238
+#: ../../include/nav.php:138
+msgid "Delegations"
+msgstr "Delegierungen"
+
+#: ../../include/nav.php:142 ../../boot.php:1251
msgid "Profiles"
msgstr "Profile"
-#: ../../include/nav.php:140
+#: ../../include/nav.php:142
msgid "Manage/Edit Profiles"
msgstr "Profile Verwalten/Editieren"
-#: ../../include/nav.php:142
+#: ../../include/nav.php:144
msgid "Manage/edit friends and contacts"
msgstr "Freunde und Kontakte verwalten/editieren"
-#: ../../include/nav.php:149
+#: ../../include/nav.php:151
msgid "Site setup and configuration"
msgstr "Einstellungen der Seite und Konfiguration"
-#: ../../include/nav.php:173
+#: ../../include/nav.php:175
msgid "Nothing new here"
msgstr "Keine Neuigkeiten."
msgid "Happy Birthday %s"
msgstr "Herzlichen Glückwunsch %s"
-#: ../../include/onepoll.php:421
+#: ../../include/onepoll.php:439
msgid "From: "
msgstr "Von: "
-#: ../../include/bbcode.php:202 ../../include/bbcode.php:423
+#: ../../include/bbcode.php:202 ../../include/bbcode.php:482
msgid "Image/photo"
msgstr "Bild/Foto"
-#: ../../include/bbcode.php:388 ../../include/bbcode.php:408
+#: ../../include/bbcode.php:254
+#, php-format
+msgid ""
+"<span><a href=\"%s\">%s</a> wrote the following <a "
+"href=\"%s\">post</a>:</span>"
+msgstr "<span><a href=\"%s\">%s</a> schrieb den folgenden <a href=\"%s\">Beitrag</a>:</span>"
+
+#: ../../include/bbcode.php:447 ../../include/bbcode.php:467
msgid "$1 wrote:"
msgstr "$1 hat geschrieben:"
-#: ../../include/bbcode.php:427 ../../include/bbcode.php:428
+#: ../../include/bbcode.php:487 ../../include/bbcode.php:488
msgid "Encrypted content"
msgstr "Verschlüsselter Inhalt"
msgid "This action is not available under your subscription plan."
msgstr "Diese Aktion ist in deinem Abonnement nicht verfügbar."
-#: ../../boot.php:607
+#: ../../boot.php:620
msgid "Delete this item?"
msgstr "Diesen Beitrag löschen?"
-#: ../../boot.php:610
+#: ../../boot.php:623
msgid "show fewer"
msgstr "weniger anzeigen"
-#: ../../boot.php:819
+#: ../../boot.php:832
#, php-format
msgid "Update %s failed. See error logs."
msgstr "Update %s fehlgeschlagen. Bitte Fehlerprotokoll überprüfen."
-#: ../../boot.php:821
+#: ../../boot.php:834
#, php-format
msgid "Update Error at %s"
msgstr "Updatefehler bei %s"
-#: ../../boot.php:922
+#: ../../boot.php:935
msgid "Create a New Account"
msgstr "Neues Konto erstellen"
-#: ../../boot.php:951
+#: ../../boot.php:964
msgid "Nickname or Email address: "
msgstr "Spitzname oder E-Mail-Adresse: "
-#: ../../boot.php:952
+#: ../../boot.php:965
msgid "Password: "
msgstr "Passwort: "
-#: ../../boot.php:953
+#: ../../boot.php:966
msgid "Remember me"
msgstr "Anmeldedaten merken"
-#: ../../boot.php:956
+#: ../../boot.php:969
msgid "Or login using OpenID: "
msgstr "Oder melde dich mit deiner OpenID an: "
-#: ../../boot.php:962
+#: ../../boot.php:975
msgid "Forgot your password?"
msgstr "Passwort vergessen?"
-#: ../../boot.php:1087
+#: ../../boot.php:1100
msgid "Requested account is not available."
msgstr "Das angefragte Profil ist nicht vorhanden."
-#: ../../boot.php:1164
+#: ../../boot.php:1177
msgid "Edit profile"
msgstr "Profil bearbeiten"
-#: ../../boot.php:1230
+#: ../../boot.php:1243
msgid "Message"
msgstr "Nachricht"
-#: ../../boot.php:1238
+#: ../../boot.php:1251
msgid "Manage/edit profiles"
msgstr "Profile verwalten/editieren"
-#: ../../boot.php:1352 ../../boot.php:1438
+#: ../../boot.php:1365 ../../boot.php:1451
msgid "g A l F d"
msgstr "l, d. F G \\U\\h\\r"
-#: ../../boot.php:1353 ../../boot.php:1439
+#: ../../boot.php:1366 ../../boot.php:1452
msgid "F d"
msgstr "d. F"
-#: ../../boot.php:1398 ../../boot.php:1479
+#: ../../boot.php:1411 ../../boot.php:1492
msgid "[today]"
msgstr "[heute]"
-#: ../../boot.php:1410
+#: ../../boot.php:1423
msgid "Birthday Reminders"
msgstr "Geburtstagserinnerungen"
-#: ../../boot.php:1411
+#: ../../boot.php:1424
msgid "Birthdays this week:"
msgstr "Geburtstage diese Woche:"
-#: ../../boot.php:1472
+#: ../../boot.php:1485
msgid "[No description]"
msgstr "[keine Beschreibung]"
-#: ../../boot.php:1490
+#: ../../boot.php:1503
msgid "Event Reminders"
msgstr "Veranstaltungserinnerungen"
-#: ../../boot.php:1491
+#: ../../boot.php:1504
msgid "Events this week:"
msgstr "Veranstaltungen diese Woche"
-#: ../../boot.php:1727
+#: ../../boot.php:1740
msgid "Status Messages and Posts"
msgstr "Statusnachrichten und Beiträge"
-#: ../../boot.php:1734
+#: ../../boot.php:1747
msgid "Profile Details"
msgstr "Profildetails"
-#: ../../boot.php:1751
+#: ../../boot.php:1764
msgid "Events and Calendar"
msgstr "Ereignisse und Kalender"
-#: ../../boot.php:1758
+#: ../../boot.php:1771
msgid "Only You Can See This"
msgstr "Nur du kannst das sehen"
$a->strings["Outbox"] = "Ausgang";
$a->strings["Manage"] = "Verwalten";
$a->strings["Manage other pages"] = "Andere Seiten verwalten";
+$a->strings["Delegations"] = "Delegierungen";
$a->strings["Profiles"] = "Profile";
$a->strings["Manage/Edit Profiles"] = "Profile Verwalten/Editieren";
$a->strings["Manage/edit friends and contacts"] = "Freunde und Kontakte verwalten/editieren";
$a->strings["Happy Birthday %s"] = "Herzlichen Glückwunsch %s";
$a->strings["From: "] = "Von: ";
$a->strings["Image/photo"] = "Bild/Foto";
+$a->strings["<span><a href=\"%s\">%s</a> wrote the following <a href=\"%s\">post</a>:</span>"] = "<span><a href=\"%s\">%s</a> schrieb den folgenden <a href=\"%s\">Beitrag</a>:</span>";
$a->strings["$1 wrote:"] = "$1 hat geschrieben:";
$a->strings["Encrypted content"] = "Verschlüsselter Inhalt";
$a->strings["General Features"] = "Allgemeine Features";
{{ if $field.0==select }}
- {{ inc $field_select }}{{ endinc }}
+ {{ inc field_select.tpl }}{{ endinc }}
{{ endif }}
</div>
</div>
<div class="mceActionPanel">
- <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ <input type="button" id="cancel" name="cancel" value="$cancel" onclick="tinyMCEPopup.close();" />
</div>
</body>
-{{ inc $field_combobox }}{{ endinc }}
+{{ inc field_combobox.tpl }}{{ endinc }}
<div class="settings-submit-wrapper" >
<input id="filer_save" type="button" class="settings-submit" value="$submit" />
</div>
<form action="group/$gid" id="group-edit-form" method="post" >
<input type='hidden' name='form_security_token' value='$form_security_token'>
- {{ inc $field_input with $field=$gname }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$gname }}{{ endinc }}
{{ if $drop }}$drop{{ endif }}
<div id="group-edit-submit-wrapper" >
<input type="submit" name="submit" value="$submit" >
{{ if $groupedit_info }}
<div id="group-update-wrapper">
- {{ inc $groupeditortpl with $groupeditor=$groupedit_info }}{{ endinc }}
+ {{ inc groupeditor.tpl with $groupeditor=$groupedit_info }}{{ endinc }}
</div>
{{ endif }}
{{ if $desc }}<div id="group-edit-desc">$desc</div>{{ endif }}
<input type="hidden" name="phpath" value="$phpath" />
<input type="hidden" name="pass" value="3" />
-{{ inc $field_input with $field=$dbhost }}{{endinc}}
-{{ inc $field_input with $field=$dbuser }}{{endinc}}
-{{ inc $field_password with $field=$dbpass }}{{endinc}}
-{{ inc $field_input with $field=$dbdata }}{{endinc}}
+{{ inc field_input.tpl with $field=$dbhost }}{{endinc}}
+{{ inc field_input.tpl with $field=$dbuser }}{{endinc}}
+{{ inc field_password.tpl with $field=$dbpass }}{{endinc}}
+{{ inc field_input.tpl with $field=$dbdata }}{{endinc}}
<input id="install-submit" type="submit" name="submit" value="$submit" />
<input type="hidden" name="dbdata" value="$dbdata" />
<input type="hidden" name="pass" value="4" />
-{{ inc $field_input with $field=$adminmail }}{{endinc}}
+{{ inc field_input.tpl with $field=$adminmail }}{{endinc}}
$timezone
<input id="install-submit" type="submit" name="submit" value="$submit" />
<div class="intro-form-end"></div>
<form class="intro-approve-form" action="dfrn_confirm" method="post">
-{{inc $field_checkbox with $field=$hidden }}{{endinc}}
-{{inc $field_checkbox with $field=$activity }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$activity }}{{endinc}}
<input type="hidden" name="dfrn_id" value="$dfrn_id" >
<input type="hidden" name="intro_id" value="$intro_id" >
<input type="hidden" name="contact_id" value="$contact_id" >
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{ inc $field_input with $field=$lname }}{{ endinc }}
- {{ inc $field_password with $field=$lpassword }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$lname }}{{ endinc }}
+ {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
</div>
{{ if $openid }}
<div id="login_openid">
- {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
+ {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
</div>
{{ endif }}
- {{ inc $field_checkbox with $field=$lremember }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$lremember }}{{ endinc }}
<div id="login-extra-links">
{{ if $register }}<a href="register" title="$register.title" id="register-link">$register.desc</a>{{ endif }}
{{ for $mails as $mail_item }}
- {{ inc $mail_conv with $mail=$mail_item }}{{endinc}}
+ {{ inc mail_conv.tpl with $mail=$mail_item }}{{endinc}}
{{ endfor }}
{{ if $canreply }}
-{{ inc $prv_message with $reply=$reply_info }}{{ endinc }}
+{{ inc prv_message.tpl }}{{ endinc }}
{{ else }}
$unknown_text
{{endif }}
<h1>$header</h1>
{{ for $contacts as $c }}
- {{ inc $contact_template with $contact=$c }}{{ endinc }}
+ {{ inc contact_template.tpl with $contact=$c }}{{ endinc }}
{{ endfor }}
<div id="contact-edit-end"></div>
<h1>$notif_header</h1>
-{{ inc $common_tabs with $tabs=$tabs_data }}{{ endinc }}
+{{ inc common_tabs.tpl }}{{ endinc }}
<div class="notif-network-wrapper">
$notif_content
<div class="notif-item">
- <a href="{$item_link}" target="friendica-notifications"><img src="{$item_image}" class="notif-image">{$item_text} <span class="notif-when">{$item_when}</span></a>
-</div>
\ No newline at end of file
+ <a href="$item_link" target="friendica-notifications"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a>
+</div>
- {{inc $field_radio with $field=$page_normal }}{{endinc}}
- {{inc $field_radio with $field=$page_community }}{{endinc}}
- {{inc $field_radio with $field=$page_prvgroup }}{{endinc}}
- {{inc $field_radio with $field=$page_soapbox }}{{endinc}}
- {{inc $field_radio with $field=$page_freelove }}{{endinc}}
+ {{inc field_radio.tpl with $field=$page_normal }}{{endinc}}
+ {{inc field_radio.tpl with $field=$page_community }}{{endinc}}
+ {{inc field_radio.tpl with $field=$page_prvgroup }}{{endinc}}
+ {{inc field_radio.tpl with $field=$page_soapbox }}{{endinc}}
+ {{inc field_radio.tpl with $field=$page_freelove }}{{endinc}}
<div class="photos">
{{ for $photos as $ph }}
- {{ inc $photo_top with $photo=$ph }}{{ endinc }}
+ {{ inc photo_top.tpl with $photo=$ph }}{{ endinc }}
{{ endfor }}
</div>
<div class="photos-end"></div>
{{ if $response.totalResults }}
{{ for $response.entry as $ent }}
-{{ inc $poco_entry_xml with $entry=$ent }}{{ endinc }}
+{{ inc poco_entry_xml.tpl with $entry=$ent }}{{ endinc }}
{{ endfor }}
{{ else }}
<entry></entry>
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-extra-links">
<ul>
-<h3>$reply.header</h3>
+<h3>$header</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-$reply.parent
+$parent
-<div id="prvmail-to-label">$reply.to</div>
-$reply.select
+<div id="prvmail-to-label">$to</div>
+$select
-<div id="prvmail-subject-label">$reply.subject</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.readonly tabindex="11" />
+<div id="prvmail-subject-label">$subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" />
-<div id="prvmail-message-label">$reply.yourmessage</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
+<div id="prvmail-message-label">$yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="$reply.insert" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
<h3 class="settings-heading">$h_pass</h3>
-{{inc $field_password with $field=$password1 }}{{endinc}}
-{{inc $field_password with $field=$password2 }}{{endinc}}
+{{inc field_password.tpl with $field=$password1 }}{{endinc}}
+{{inc field_password.tpl with $field=$password2 }}{{endinc}}
{{ if $oid_enable }}
-{{inc $field_input with $field=$openid }}{{endinc}}
+{{inc field_input.tpl with $field=$openid }}{{endinc}}
{{ endif }}
<div class="settings-submit-wrapper" >
<h3 class="settings-heading">$h_basic</h3>
-{{inc $field_input with $field=$username }}{{endinc}}
-{{inc $field_input with $field=$email }}{{endinc}}
-{{inc $field_custom with $field=$timezone }}{{endinc}}
-{{inc $field_input with $field=$defloc }}{{endinc}}
-{{inc $field_checkbox with $field=$allowloc }}{{endinc}}
+{{inc field_input.tpl with $field=$username }}{{endinc}}
+{{inc field_input.tpl with $field=$email }}{{endinc}}
+{{inc field_custom.tpl with $field=$timezone }}{{endinc}}
+{{inc field_input.tpl with $field=$defloc }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$allowloc }}{{endinc}}
<div class="settings-submit-wrapper" >
<input type="hidden" name="visibility" value="$visibility" />
-{{inc $field_input with $field=$maxreq }}{{endinc}}
+{{inc field_input.tpl with $field=$maxreq }}{{endinc}}
$profile_in_dir
$unkmail
-{{inc $field_input with $field=$cntunkmail }}{{endinc}}
+{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}}
-{{inc $field_input with $field=$expire.days }}{{endinc}}
+{{inc field_input.tpl with $field=$expire.days }}{{endinc}}
<div class="field input">
<div style="display: none;">
<div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
<h3>$expire.advanced</h3>
- {{ inc $field_yesno with $field=$expire.items }}{{endinc}}
- {{ inc $field_yesno with $field=$expire.notes }}{{endinc}}
- {{ inc $field_yesno with $field=$expire.starred }}{{endinc}}
- {{ inc $field_yesno with $field=$expire.network_only }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$expire.items }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$expire.notes }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$expire.starred }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$expire.network_only }}{{endinc}}
</div>
</div>
<div id="settings-activity-desc">$activity_options</div>
-{{inc $field_checkbox with $field=$post_newfriend }}{{endinc}}
-{{inc $field_checkbox with $field=$post_joingroup }}{{endinc}}
-{{inc $field_checkbox with $field=$post_profilechange }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$post_newfriend }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$post_joingroup }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$post_profilechange }}{{endinc}}
<div id="settings-notify-desc">$lbl_not</div>
<div class="group">
-{{inc $field_intcheckbox with $field=$notify1 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify2 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify3 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify4 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify5 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify6 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify7 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify8 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify1 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify2 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify3 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify4 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify5 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify6 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify7 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify8 }}{{endinc}}
</div>
</div>
<div class="settings-block">
<h3 class="settings-heading">$h_imap</h3>
<p>$imap_desc</p>
- {{inc $field_custom with $field=$imap_lastcheck }}{{endinc}}
- {{inc $field_input with $field=$mail_server }}{{endinc}}
- {{inc $field_input with $field=$mail_port }}{{endinc}}
- {{inc $field_select with $field=$mail_ssl }}{{endinc}}
- {{inc $field_input with $field=$mail_user }}{{endinc}}
- {{inc $field_password with $field=$mail_pass }}{{endinc}}
- {{inc $field_input with $field=$mail_replyto }}{{endinc}}
- {{inc $field_checkbox with $field=$mail_pubmail }}{{endinc}}
- {{inc $field_select with $field=$mail_action }}{{endinc}}
- {{inc $field_input with $field=$mail_movetofolder }}{{endinc}}
+ {{inc field_custom.tpl with $field=$imap_lastcheck }}{{endinc}}
+ {{inc field_input.tpl with $field=$mail_server }}{{endinc}}
+ {{inc field_input.tpl with $field=$mail_port }}{{endinc}}
+ {{inc field_select.tpl with $field=$mail_ssl }}{{endinc}}
+ {{inc field_input.tpl with $field=$mail_user }}{{endinc}}
+ {{inc field_password.tpl with $field=$mail_pass }}{{endinc}}
+ {{inc field_input.tpl with $field=$mail_replyto }}{{endinc}}
+ {{inc field_checkbox.tpl with $field=$mail_pubmail }}{{endinc}}
+ {{inc field_select.tpl with $field=$mail_action }}{{endinc}}
+ {{inc field_input.tpl with $field=$mail_movetofolder }}{{endinc}}
<div class="settings-submit-wrapper" >
<input type="submit" id="imap-submit" name="imap-submit" class="settings-submit" value="$submit" />
<form action="settings/display" id="settings-form" method="post" autocomplete="off" >
<input type='hidden' name='form_security_token' value='$form_security_token'>
-{{inc $field_themeselect with $field=$theme }}{{endinc}}
-{{inc $field_themeselect with $field=$mobile_theme }}{{endinc}}
-{{inc $field_input with $field=$ajaxint }}{{endinc}}
-{{inc $field_input with $field=$itemspage_network }}{{endinc}}
-{{inc $field_checkbox with $field=$nosmile}}{{endinc}}
+{{inc field_themeselect.tpl with $field=$theme }}{{endinc}}
+{{inc field_themeselect.tpl with $field=$mobile_theme }}{{endinc}}
+{{inc field_input.tpl with $field=$ajaxint }}{{endinc}}
+{{inc field_input.tpl with $field=$itemspage_network }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$nosmile}}{{endinc}}
<div class="settings-submit-wrapper" >
<h3 class="settings-heading">$f.0</h3>
{{ for $f.1 as $fcat }}
- {{ inc $field_yesno with $field=$fcat }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$fcat }}{{endinc}}
{{ endfor }}
{{ endfor }}
<form method="POST">
<input type='hidden' name='form_security_token' value='$form_security_token'>
-{{ inc $field_input with $field=$name }}{{ endinc }}
-{{ inc $field_input with $field=$key }}{{ endinc }}
-{{ inc $field_input with $field=$secret }}{{ endinc }}
-{{ inc $field_input with $field=$redirect }}{{ endinc }}
-{{ inc $field_input with $field=$icon }}{{ endinc }}
+{{ inc field_input.tpl with $field=$name }}{{ endinc }}
+{{ inc field_input.tpl with $field=$key }}{{ endinc }}
+{{ inc field_input.tpl with $field=$secret }}{{ endinc }}
+{{ inc field_input.tpl with $field=$redirect }}{{ endinc }}
+{{ inc field_input.tpl with $field=$icon }}{{ endinc }}
<div class="settings-submit-wrapper" >
<input type="submit" name="submit" class="settings-submit" value="$submit" />
<form action="{{$baseurl}}/admin/logs" method="post">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
- {{include file="file:{{$field_checkbox}}" field=$debugging}}
- {{include file="file:{{$field_input}}" field=$logfile}}
- {{include file="file:{{$field_select}}" field=$loglevel}}
+ {{include file="field_checkbox.tpl" field=$debugging}}
+ {{include file="field_input.tpl" field=$logfile}}
+ {{include file="field_select.tpl" field=$loglevel}}
<div class="submit"><input type="submit" name="page_logs" value="{{$submit}}" /></div>
<h3>Your friendica installation is not writable by web server.</h3>
{{if $canftp}}
<p>You can try to update via FTP</p>
- {{include file="file:{{$field_input}}" field=$ftphost}}
- {{include file="file:{{$field_input}}" field=$ftppath}}
- {{include file="file:{{$field_input}}" field=$ftpuser}}
- {{include file="file:{{$field_password}}" field=$ftppwd}}
+ {{include file="field_input.tpl" field=$ftphost}}
+ {{include file="field_input.tpl" field=$ftppath}}
+ {{include file="field_input.tpl" field=$ftpuser}}
+ {{include file="field_password.tpl" field=$ftppwd}}
<div class="submit"><input type="submit" name="remoteupdate" value="{{$submit}}" /></div>
{{/if}}
{{/if}}
<form action="{{$baseurl}}/admin/site" method="post">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
- {{include file="file:{{$field_input}}" field=$sitename}}
- {{include file="file:{{$field_textarea}}" field=$banner}}
- {{include file="file:{{$field_select}}" field=$language}}
- {{include file="file:{{$field_select}}" field=$theme}}
- {{include file="file:{{$field_select}}" field=$theme_mobile}}
- {{include file="file:{{$field_select}}" field=$ssl_policy}}
+ {{include file="field_input.tpl" field=$sitename}}
+ {{include file="field_textarea.tpl" field=$banner}}
+ {{include file="field_select.tpl" field=$language}}
+ {{include file="field_select.tpl" field=$theme}}
+ {{include file="field_select.tpl" field=$theme_mobile}}
+ {{include file="field_select.tpl" field=$ssl_policy}}
+ {{include file="field_checkbox.tpl" field=$new_share}}
+
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$registration}}</h3>
- {{include file="file:{{$field_input}}" field=$register_text}}
- {{include file="file:{{$field_select}}" field=$register_policy}}
- {{include file="file:{{$field_input}}" field=$daily_registrations}}
- {{include file="file:{{$field_checkbox}}" field=$no_multi_reg}}
- {{include file="file:{{$field_checkbox}}" field=$no_openid}}
- {{include file="file:{{$field_checkbox}}" field=$no_regfullname}}
+ {{include file="field_input.tpl" field=$register_text}}
+ {{include file="field_select.tpl" field=$register_policy}}
+ {{include file="field_input.tpl" field=$daily_registrations}}
+ {{include file="field_checkbox.tpl" field=$no_multi_reg}}
+ {{include file="field_checkbox.tpl" field=$no_openid}}
+ {{include file="field_checkbox.tpl" field=$no_regfullname}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$upload}}</h3>
- {{include file="file:{{$field_input}}" field=$maximagesize}}
- {{include file="file:{{$field_input}}" field=$maximagelength}}
- {{include file="file:{{$field_input}}" field=$jpegimagequality}}
+ {{include file="field_input.tpl" field=$maximagesize}}
+ {{include file="field_input.tpl" field=$maximagelength}}
+ {{include file="field_input.tpl" field=$jpegimagequality}}
<h3>{{$corporate}}</h3>
- {{include file="file:{{$field_input}}" field=$allowed_sites}}
- {{include file="file:{{$field_input}}" field=$allowed_email}}
- {{include file="file:{{$field_checkbox}}" field=$block_public}}
- {{include file="file:{{$field_checkbox}}" field=$force_publish}}
- {{include file="file:{{$field_checkbox}}" field=$no_community_page}}
- {{include file="file:{{$field_checkbox}}" field=$ostatus_disabled}}
- {{include file="file:{{$field_checkbox}}" field=$diaspora_enabled}}
- {{include file="file:{{$field_checkbox}}" field=$dfrn_only}}
- {{include file="file:{{$field_input}}" field=$global_directory}}
- {{include file="file:{{$field_checkbox}}" field=$thread_allow}}
- {{include file="file:{{$field_checkbox}}" field=$newuser_private}}
+ {{include file="field_input.tpl" field=$allowed_sites}}
+ {{include file="field_input.tpl" field=$allowed_email}}
+ {{include file="field_checkbox.tpl" field=$block_public}}
+ {{include file="field_checkbox.tpl" field=$force_publish}}
+ {{include file="field_checkbox.tpl" field=$no_community_page}}
+ {{include file="field_checkbox.tpl" field=$ostatus_disabled}}
+ {{include file="field_checkbox.tpl" field=$diaspora_enabled}}
+ {{include file="field_checkbox.tpl" field=$dfrn_only}}
+ {{include file="field_input.tpl" field=$global_directory}}
+ {{include file="field_checkbox.tpl" field=$thread_allow}}
+ {{include file="field_checkbox.tpl" field=$newuser_private}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$advanced}}</h3>
- {{include file="file:{{$field_checkbox}}" field=$no_utf}}
- {{include file="file:{{$field_checkbox}}" field=$verifyssl}}
- {{include file="file:{{$field_input}}" field=$proxy}}
- {{include file="file:{{$field_input}}" field=$proxyuser}}
- {{include file="file:{{$field_input}}" field=$timeout}}
- {{include file="file:{{$field_input}}" field=$delivery_interval}}
- {{include file="file:{{$field_input}}" field=$poll_interval}}
- {{include file="file:{{$field_input}}" field=$maxloadavg}}
- {{include file="file:{{$field_input}}" field=$abandon_days}}
+ {{include file="field_checkbox.tpl" field=$no_utf}}
+ {{include file="field_checkbox.tpl" field=$verifyssl}}
+ {{include file="field_input.tpl" field=$proxy}}
+ {{include file="field_input.tpl" field=$proxyuser}}
+ {{include file="field_input.tpl" field=$timeout}}
+ {{include file="field_input.tpl" field=$delivery_interval}}
+ {{include file="field_input.tpl" field=$poll_interval}}
+ {{include file="field_input.tpl" field=$maxloadavg}}
+ {{include file="field_input.tpl" field=$abandon_days}}
+ {{include file="field_input.tpl" field=$lockpath}}
+ {{include file="field_input.tpl" field=$temppath}}
+ {{include file="field_input.tpl" field=$basepath}}
+
+ <h3>{{$performance}}</h3>
+ {{include file="field_checkbox.tpl" field=$use_fulltext_engine}}
+ {{include file="field_input.tpl" field=$itemcache}}
+ {{include file="field_input.tpl" field=$itemcache_duration}}
+
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<users type="array">
{{foreach $users as $u}}
- {{include file="file:{{$api_user_xml}}" user=$u}}
+ {{include file="api_user_xml.tpl" user=$u}}
{{/foreach}}
</users>
<in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name>
<geo>{{$status.geo}}</geo>
<favorited>{{$status.favorited}}</favorited>
-{{include file="file:{{$api_user_xml}}" user=$status.user}} <statusnet:html>{{$status.statusnet_html}}</statusnet:html>
+{{include file="api_user_xml.tpl" user=$status.user}} <statusnet:html>{{$status.statusnet_html}}</statusnet:html>
<statusnet:conversation_id>{{$status.statusnet_conversation_id}}</statusnet:conversation_id>
<url>{{$status.url}}</url>
<coordinates>{{$status.coordinates}}</coordinates>
{{/if}}
<div id="contact-edit-end" ></div>
- {{include file="file:{{$field_checkbox}}" field=$hidden}}
+ {{include file="field_checkbox.tpl" field=$hidden}}
<div id="contact-edit-info-wrapper">
<h4>{{$lbl_info1}}</h4>
{{foreach $contacts as $c}}
- {{include file="file:{{$contact_template}}" contact=$c}}
+ {{include file="contact_template.tpl" contact=$c}}
{{/foreach}}
<div id="contact-edit-end"></div>
{{if $field.0==select}}
- {{include file="file:{{$field_select}}"}}
+ {{include file="field_select.tpl"}}
{{/if}}
</div>
</div>
<div class="mceActionPanel">
- <input type="button" id="cancel" name="cancel" value="{{*cancel}" onclick="tinyMCEPopup.close();" />
+ <input type="button" id="cancel" name="cancel" value="{{$cancel}}" onclick="tinyMCEPopup.close();" />
</div>
</body>
-{{include file="file:{{$field_combobox}}"}}
+{{include file="field_combobox.tpl"}}
<div class="settings-submit-wrapper" >
<input id="filer_save" type="button" class="settings-submit" value="{{$submit}}" />
</div>
<form action="group/{{$gid}}" id="group-edit-form" method="post" >
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
- {{include file="file:{{$field_input}}" field=$gname}}
+ {{include file="field_input.tpl" field=$gname}}
{{if $drop}}{{$drop}}{{/if}}
<div id="group-edit-submit-wrapper" >
<input type="submit" name="submit" value="{{$submit}}" >
{{if $groupedit_info}}
<div id="group-update-wrapper">
- {{include file="file:{{$groupeditortpl}}" groupeditor=$groupedit_info}}
+ {{include file="groupeditor.tpl" groupeditor=$groupedit_info}}
</div>
{{/if}}
{{if $desc}}<div id="group-edit-desc">{{$desc}}</div>{{/if}}
<input type="hidden" name="phpath" value="{{$phpath}}" />
<input type="hidden" name="pass" value="3" />
-{{include file="file:{{$field_input}}" field=$dbhost}}
-{{include file="file:{{$field_input}}" field=$dbuser}}
-{{include file="file:{{$field_password}}" field=$dbpass}}
-{{include file="file:{{$field_input}}" field=$dbdata}}
+{{include file="field_input.tpl" field=$dbhost}}
+{{include file="field_input.tpl" field=$dbuser}}
+{{include file="field_password.tpl" field=$dbpass}}
+{{include file="field_input.tpl" field=$dbdata}}
<input id="install-submit" type="submit" name="submit" value="{{$submit}}" />
<input type="hidden" name="dbdata" value="{{$dbdata}}" />
<input type="hidden" name="pass" value="4" />
-{{include file="file:{{$field_input}}" field=$adminmail}}
+{{include file="field_input.tpl" field=$adminmail}}
{{$timezone}}
<input id="install-submit" type="submit" name="submit" value="{{$submit}}" />
<div class="intro-form-end"></div>
<form class="intro-approve-form" action="dfrn_confirm" method="post">
-{{include file="file:{{$field_checkbox}}" field=$hidden}}
-{{include file="file:{{$field_checkbox}}" field=$activity}}
+{{include file="field_checkbox.tpl" field=$hidden}}
+{{include file="field_checkbox.tpl" field=$activity}}
<input type="hidden" name="dfrn_id" value="{{$dfrn_id}}" >
<input type="hidden" name="intro_id" value="{{$intro_id}}" >
<input type="hidden" name="contact_id" value="{{$contact_id}}" >
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{include file="file:{{$field_input}}" field=$lname}}
- {{include file="file:{{$field_password}}" field=$lpassword}}
+ {{include file="field_input.tpl" field=$lname}}
+ {{include file="field_password.tpl" field=$lpassword}}
</div>
{{if $openid}}
<div id="login_openid">
- {{include file="file:{{$field_openid}}" field=$lopenid}}
+ {{include file="field_openid.tpl" field=$lopenid}}
</div>
{{/if}}
- {{include file="file:{{$field_checkbox}}" field=$lremember}}
+ {{include file="field_checkbox.tpl" field=$lremember}}
<div id="login-extra-links">
{{if $register}}<a href="register" title="{{$register.title}}" id="register-link">{{$register.desc}}</a>{{/if}}
{{foreach $mails as $mail_item}}
- {{include file="file:{{$mail_conv}}" mail=$mail_item}}
+ {{include file="mail_conv.tpl" mail=$mail_item}}
{{/foreach}}
{{if $canreply}}
-{{include file="file:{{$prv_message}}" reply=$reply_info}}
+{{include file="prv_message.tpl"}}
{{else}}
{{$unknown_text}}
{{/if}}
<h1>{{$header}}</h1>
{{foreach $contacts as $c}}
- {{include file="file:{{$contact_template}}" contact=$c}}
+ {{include file="contact_template.tpl" contact=$c}}
{{/foreach}}
<div id="contact-edit-end"></div>
<h1>{{$notif_header}}</h1>
-{{include file="file:{{$common_tabs}}" tabs=$tabs_data}}
+{{include file="common_tabs.tpl"}}
<div class="notif-network-wrapper">
{{$notif_content}}
<div class="notif-item">
- <a href="{{{$item_link}}}" target="friendica-notifications"><img src="{{{$item_image}}}" class="notif-image">{{{$item_text}}} <span class="notif-when">{{{$item_when}}}</span></a>
-</div>
\ No newline at end of file
+ <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+</div>
- {{include file="file:{{$field_radio}}" field=$page_normal}}
- {{include file="file:{{$field_radio}}" field=$page_community}}
- {{include file="file:{{$field_radio}}" field=$page_prvgroup}}
- {{include file="file:{{$field_radio}}" field=$page_soapbox}}
- {{include file="file:{{$field_radio}}" field=$page_freelove}}
+ {{include file="field_radio.tpl" field=$page_normal}}
+ {{include file="field_radio.tpl" field=$page_community}}
+ {{include file="field_radio.tpl" field=$page_prvgroup}}
+ {{include file="field_radio.tpl" field=$page_soapbox}}
+ {{include file="field_radio.tpl" field=$page_freelove}}
<div class="photos">
{{foreach $photos as $ph}}
- {{include file="file:{{$photo_top}}" photo=$ph}}
+ {{include file="photo_top.tpl" photo=$ph}}
{{/foreach}}
</div>
<div class="photos-end"></div>
{{if $response.totalResults}}
{{foreach $response.entry as $ent}}
-{{include file="file:{{$poco_entry_xml}}" entry=$ent}}
+{{include file="poco_entry_xml.tpl" entry=$ent}}
{{/foreach}}
{{else}}
<entry></entry>
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-extra-links">
<ul>
-<h3>{{$reply.header}}</h3>
+<h3>{{$header}}</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-{{$reply.parent}}
+{{$parent}}
-<div id="prvmail-to-label">{{$reply.to}}</div>
-{{$reply.select}}
+<div id="prvmail-to-label">{{$to}}</div>
+{{$select}}
-<div id="prvmail-subject-label">{{$reply.subject}}</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+<div id="prvmail-subject-label">{{$subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
-<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+<div id="prvmail-message-label">{{$yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
<h3 class="settings-heading">{{$h_pass}}</h3>
-{{include file="file:{{$field_password}}" field=$password1}}
-{{include file="file:{{$field_password}}" field=$password2}}
+{{include file="field_password.tpl" field=$password1}}
+{{include file="field_password.tpl" field=$password2}}
{{if $oid_enable}}
-{{include file="file:{{$field_input}}" field=$openid}}
+{{include file="field_input.tpl" field=$openid}}
{{/if}}
<div class="settings-submit-wrapper" >
<h3 class="settings-heading">{{$h_basic}}</h3>
-{{include file="file:{{$field_input}}" field=$username}}
-{{include file="file:{{$field_input}}" field=$email}}
-{{include file="file:{{$field_custom}}" field=$timezone}}
-{{include file="file:{{$field_input}}" field=$defloc}}
-{{include file="file:{{$field_checkbox}}" field=$allowloc}}
+{{include file="field_input.tpl" field=$username}}
+{{include file="field_input.tpl" field=$email}}
+{{include file="field_custom.tpl" field=$timezone}}
+{{include file="field_input.tpl" field=$defloc}}
+{{include file="field_checkbox.tpl" field=$allowloc}}
<div class="settings-submit-wrapper" >
<input type="hidden" name="visibility" value="{{$visibility}}" />
-{{include file="file:{{$field_input}}" field=$maxreq}}
+{{include file="field_input.tpl" field=$maxreq}}
{{$profile_in_dir}}
{{$unkmail}}
-{{include file="file:{{$field_input}}" field=$cntunkmail}}
+{{include file="field_input.tpl" field=$cntunkmail}}
-{{include file="file:{{$field_input}}" field=$expire.days}}
+{{include file="field_input.tpl" field=$expire.days}}
<div class="field input">
<div style="display: none;">
<div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
<h3>{{$expire.advanced}}</h3>
- {{include file="file:{{$field_yesno}}" field=$expire.items}}
- {{include file="file:{{$field_yesno}}" field=$expire.notes}}
- {{include file="file:{{$field_yesno}}" field=$expire.starred}}
- {{include file="file:{{$field_yesno}}" field=$expire.network_only}}
+ {{include file="field_yesno.tpl" field=$expire.items}}
+ {{include file="field_yesno.tpl" field=$expire.notes}}
+ {{include file="field_yesno.tpl" field=$expire.starred}}
+ {{include file="field_yesno.tpl" field=$expire.network_only}}
</div>
</div>
<div id="settings-activity-desc">{{$activity_options}}</div>
-{{include file="file:{{$field_checkbox}}" field=$post_newfriend}}
-{{include file="file:{{$field_checkbox}}" field=$post_joingroup}}
-{{include file="file:{{$field_checkbox}}" field=$post_profilechange}}
+{{include file="field_checkbox.tpl" field=$post_newfriend}}
+{{include file="field_checkbox.tpl" field=$post_joingroup}}
+{{include file="field_checkbox.tpl" field=$post_profilechange}}
<div id="settings-notify-desc">{{$lbl_not}}</div>
<div class="group">
-{{include file="file:{{$field_intcheckbox}}" field=$notify1}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify2}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify3}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify4}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify5}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify6}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify7}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify8}}
+{{include file="field_intcheckbox.tpl" field=$notify1}}
+{{include file="field_intcheckbox.tpl" field=$notify2}}
+{{include file="field_intcheckbox.tpl" field=$notify3}}
+{{include file="field_intcheckbox.tpl" field=$notify4}}
+{{include file="field_intcheckbox.tpl" field=$notify5}}
+{{include file="field_intcheckbox.tpl" field=$notify6}}
+{{include file="field_intcheckbox.tpl" field=$notify7}}
+{{include file="field_intcheckbox.tpl" field=$notify8}}
</div>
</div>
<div class="settings-block">
<h3 class="settings-heading">{{$h_imap}}</h3>
<p>{{$imap_desc}}</p>
- {{include file="file:{{$field_custom}}" field=$imap_lastcheck}}
- {{include file="file:{{$field_input}}" field=$mail_server}}
- {{include file="file:{{$field_input}}" field=$mail_port}}
- {{include file="file:{{$field_select}}" field=$mail_ssl}}
- {{include file="file:{{$field_input}}" field=$mail_user}}
- {{include file="file:{{$field_password}}" field=$mail_pass}}
- {{include file="file:{{$field_input}}" field=$mail_replyto}}
- {{include file="file:{{$field_checkbox}}" field=$mail_pubmail}}
- {{include file="file:{{$field_select}}" field=$mail_action}}
- {{include file="file:{{$field_input}}" field=$mail_movetofolder}}
+ {{include file="field_custom.tpl" field=$imap_lastcheck}}
+ {{include file="field_input.tpl" field=$mail_server}}
+ {{include file="field_input.tpl" field=$mail_port}}
+ {{include file="field_select.tpl" field=$mail_ssl}}
+ {{include file="field_input.tpl" field=$mail_user}}
+ {{include file="field_password.tpl" field=$mail_pass}}
+ {{include file="field_input.tpl" field=$mail_replyto}}
+ {{include file="field_checkbox.tpl" field=$mail_pubmail}}
+ {{include file="field_select.tpl" field=$mail_action}}
+ {{include file="field_input.tpl" field=$mail_movetofolder}}
<div class="settings-submit-wrapper" >
<input type="submit" id="imap-submit" name="imap-submit" class="settings-submit" value="{{$submit}}" />
<form action="settings/display" id="settings-form" method="post" autocomplete="off" >
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
-{{include file="file:{{$field_themeselect}}" field=$theme}}
-{{include file="file:{{$field_themeselect}}" field=$mobile_theme}}
-{{include file="file:{{$field_input}}" field=$ajaxint}}
-{{include file="file:{{$field_input}}" field=$itemspage_network}}
-{{include file="file:{{$field_checkbox}}" field=$nosmile}}
+{{include file="field_themeselect.tpl" field=$theme}}
+{{include file="field_themeselect.tpl" field=$mobile_theme}}
+{{include file="field_input.tpl" field=$ajaxint}}
+{{include file="field_input.tpl" field=$itemspage_network}}
+{{include file="field_checkbox.tpl" field=$nosmile}}
<div class="settings-submit-wrapper" >
<h3 class="settings-heading">{{$f.0}}</h3>
{{foreach $f.1 as $fcat}}
- {{include file="file:{{$field_yesno}}" field=$fcat}}
+ {{include file="field_yesno.tpl" field=$fcat}}
{{/foreach}}
{{/foreach}}
<form method="POST">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
-{{include file="file:{{$field_input}}" field=$name}}
-{{include file="file:{{$field_input}}" field=$key}}
-{{include file="file:{{$field_input}}" field=$secret}}
-{{include file="file:{{$field_input}}" field=$redirect}}
-{{include file="file:{{$field_input}}" field=$icon}}
+{{include file="field_input.tpl" field=$name}}
+{{include file="field_input.tpl" field=$key}}
+{{include file="field_input.tpl" field=$secret}}
+{{include file="field_input.tpl" field=$redirect}}
+{{include file="field_input.tpl" field=$icon}}
<div class="settings-submit-wrapper" >
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
<div class="intro-form-end"></div>
<form class="intro-approve-form" action="{{$request}}" method="get">
-{{include file="file:{{$field_checkbox}}" field=$hidden}}
+{{include file="field_checkbox.tpl" field=$hidden}}
<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" />
</form>
</div>
<p>{{$import.intro}}</p>\r
<p>{{$import.instruct}}</p>\r
<p><b>{{$import.warn}}</b></p>\r
- {{include file="file:{{$field_custom}}" field=$import.field}}\r
+ {{include file="field_custom.tpl" field=$import.field}}\r
\r
\r
<div id="register-submit-wrapper">\r
<h3>{{$title}}</h3>
{{foreach $contacts as $c}}
- {{include file="file:{{$contact_template}}" contact=$c}}
+ {{include file="contact_template.tpl" contact=$c}}
{{/foreach}}
<div id="view-contact-end"></div>
{{/foreach}}
</div>
{{if $item.has_cats}}
- <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}}{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+ <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}}{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
{{if $item.has_folders}}
- <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}}{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a>{{/if}}{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+ <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}}{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}}{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
</div>
<div class="intro-form-end"></div>
<form class="intro-approve-form" action="$request" method="get">
-{{inc $field_checkbox with $field=$hidden }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
<input class="intro-submit-approve" type="submit" name="submit" value="$approve" />
</form>
</div>
"wide"=>"wide",
);
-// $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
$t = get_markup_template("theme_settings.tpl" );
-
- $includes = array(
- '$field_select' => 'field_select.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($t, $includes + array(
+ $o .= replace_macros($t, array(
'$submit' => t('Submit'),
'$baseurl' => $a->get_baseurl(),
'$title' => t("Theme settings"),
-{{include file="file:{{$field_select}}" field=$color}}
-{{include file="file:{{$field_select}}" field=$font_size}}
-{{include file="file:{{$field_select}}" field=$resize}}
-{{include file="file:{{$field_select}}" field=$theme_width}}
+{{include file="field_select.tpl" field=$color}}
+{{include file="field_select.tpl" field=$font_size}}
+{{include file="field_select.tpl" field=$resize}}
+{{include file="field_select.tpl" field=$theme_width}}
<div class="settings-submit-wrapper">
$a->theme_info = array(
'extends' => 'duepuntozero',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function cleanzero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
-{{inc $field_select with $field=$color}}{{endinc}}
-{{inc $field_select with $field=$font_size}}{{endinc}}
-{{inc $field_select with $field=$resize}}{{endinc}}
-{{inc $field_select with $field=$theme_width}}{{endinc}}
+{{inc field_select.tpl with $field=$color}}{{endinc}}
+{{inc field_select.tpl with $field=$font_size}}{{endinc}}
+{{inc field_select.tpl with $field=$resize}}{{endinc}}
+{{inc field_select.tpl with $field=$theme_width}}{{endinc}}
<div class="settings-submit-wrapper">
$a->theme_info = array(
'extends' => 'duepuntozero',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
$a->page['htmlhead'] .= <<< EOT
<script>
$a->theme_info = array(
'extends' => 'duepuntozero',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
$a->page['htmlhead'] .= <<< EOT
<script>
$a->theme_info = array(
'extends' => 'testbubble',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
$a->page['htmlhead'] .= <<< EOT
$a->theme_info = array(
'extends' => 'duepuntozero',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function darkzero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<div id="twittersettings" style="display:none">
<form id="twittersettingsform" action="network" method="post" >
-{{inc $field_input with $field=$TSearchTerm}}{{endinc}}
+{{inc field_input.tpl with $field=$TSearchTerm}}{{endinc}}
<div class="settings-submit-wrapper">
<input id="twittersub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-sub"></input>
</div>
<div id="layermanager" style="width: 350px;position: relative;float: right;right:20px;height: 300px;"></div>
<div id="map2" style="height:350px;width:350px;"></div>
<div id="mouseposition" style="width: 350px;"></div>
-{{inc $field_input with $field=$ELZoom}}{{endinc}}
-{{inc $field_input with $field=$ELPosX}}{{endinc}}
-{{inc $field_input with $field=$ELPosY}}{{endinc}}
+{{inc field_input.tpl with $field=$ELZoom}}{{endinc}}
+{{inc field_input.tpl with $field=$ELPosX}}{{endinc}}
+{{inc field_input.tpl with $field=$ELPosY}}{{endinc}}
<div class="settings-submit-wrapper">
<input id="mapsub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-map-sub"></input>
</div>
<div id="boxsettings" style="display:none">
<form id="boxsettingsform" action="network" method="post" >
<fieldset><legend>$boxsettings.title.1</legend>
-{{inc $field_select with $field=$close_pages}}{{endinc}}
-{{inc $field_select with $field=$close_profiles}}{{endinc}}
-{{inc $field_select with $field=$close_helpers}}{{endinc}}
-{{inc $field_select with $field=$close_services}}{{endinc}}
-{{inc $field_select with $field=$close_friends}}{{endinc}}
-{{inc $field_select with $field=$close_lastusers}}{{endinc}}
-{{inc $field_select with $field=$close_lastphotos}}{{endinc}}
-{{inc $field_select with $field=$close_lastlikes}}{{endinc}}
-{{inc $field_select with $field=$close_twitter}}{{endinc}}
-{{inc $field_select with $field=$close_mapquery}}{{endinc}}
+{{inc field_select.tpl with $field=$close_pages}}{{endinc}}
+{{inc field_select.tpl with $field=$close_profiles}}{{endinc}}
+{{inc field_select.tpl with $field=$close_helpers}}{{endinc}}
+{{inc field_select.tpl with $field=$close_services}}{{endinc}}
+{{inc field_select.tpl with $field=$close_friends}}{{endinc}}
+{{inc field_select.tpl with $field=$close_lastusers}}{{endinc}}
+{{inc field_select.tpl with $field=$close_lastphotos}}{{endinc}}
+{{inc field_select.tpl with $field=$close_lastlikes}}{{endinc}}
+{{inc field_select.tpl with $field=$close_twitter}}{{endinc}}
+{{inc field_select.tpl with $field=$close_mapquery}}{{endinc}}
<div class="settings-submit-wrapper">
<input id="boxsub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-box-sub"></input>
</div>
-// $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
$t = get_markup_template("theme_settings.tpl" );
-
- $includes = array(
- '$field_select' => 'field_select.tpl',
- '$field_input' => 'field_input.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($t, $includes + array(
+ $o .= replace_macros($t, array(
'$submit' => t('Submit'),
'$baseurl' => $a->get_baseurl(),
'$title' => t("Theme settings"),
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{ inc $field_input with $field=$lname }}{{ endinc }}
- {{ inc $field_password with $field=$lpassword }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$lname }}{{ endinc }}
+ {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
</div>
{{ if $openid }}
<div id="login_openid">
- {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
+ {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
</div>
{{ endif }}
{{ for $mails as $mail_item }}
<div id="tread-wrapper-$mail_item.id" class="tread-wrapper">
- {{ inc $mail_conv with $mail=$mail_item }}{{endinc}}
+ {{ inc mail_conv.tpl with $mail=$mail_item }}{{endinc}}
</div>
{{ endfor }}
-{{ inc $prv_message with $reply=$reply_info }}{{ endinc }}
+{{ inc prv_message.tpl }}{{ endinc }}
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-extra-links">
<ul>
-<h3>$reply.header</h3>
+<h3>$header</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-$reply.parent
+$parent
-<div id="prvmail-to-label">$reply.to</div>
+<div id="prvmail-to-label">$to</div>
-{{ if $reply.showinputs }}
+{{ if $showinputs }}
<input type="text" id="recip" style="background: none repeat scroll 0 0 white;border: 1px solid #CCC;border-radius: 5px 5px 5px 5px;height: 20px;margin: 0 0 5px;
-vertical-align: middle;" name="messageto" value="$reply.prefill" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="$reply.preid">
+vertical-align: middle;" name="messageto" value="$prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$preid">
{{ else }}
-$reply.select
+$select
{{ endif }}
-<div id="prvmail-subject-label">$reply.subject</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.readonly tabindex="11" />
+<div id="prvmail-subject-label">$subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" />
-<div id="prvmail-message-label">$reply.yourmessage</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
+<div id="prvmail-message-label">$yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="$reply.insert" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
<div id="twittersettings" style="display:none">
<form id="twittersettingsform" action="network" method="post" >
-{{include file="file:{{$field_input}}" field=$TSearchTerm}}
+{{include file="field_input.tpl" field=$TSearchTerm}}
<div class="settings-submit-wrapper">
<input id="twittersub" type="submit" value="{{$sub}}" class="settings-submit" name="diabook-settings-sub"></input>
</div>
<div id="layermanager" style="width: 350px;position: relative;float: right;right:20px;height: 300px;"></div>
<div id="map2" style="height:350px;width:350px;"></div>
<div id="mouseposition" style="width: 350px;"></div>
-{{include file="file:{{$field_input}}" field=$ELZoom}}
-{{include file="file:{{$field_input}}" field=$ELPosX}}
-{{include file="file:{{$field_input}}" field=$ELPosY}}
+{{include file="field_input.tpl" field=$ELZoom}}
+{{include file="field_input.tpl" field=$ELPosX}}
+{{include file="field_input.tpl" field=$ELPosY}}
<div class="settings-submit-wrapper">
<input id="mapsub" type="submit" value="{{$sub}}" class="settings-submit" name="diabook-settings-map-sub"></input>
</div>
<div id="boxsettings" style="display:none">
<form id="boxsettingsform" action="network" method="post" >
<fieldset><legend>{{$boxsettings.title.1}}</legend>
-{{include file="file:{{$field_select}}" field=$close_pages}}
-{{include file="file:{{$field_select}}" field=$close_profiles}}
-{{include file="file:{{$field_select}}" field=$close_helpers}}
-{{include file="file:{{$field_select}}" field=$close_services}}
-{{include file="file:{{$field_select}}" field=$close_friends}}
-{{include file="file:{{$field_select}}" field=$close_lastusers}}
-{{include file="file:{{$field_select}}" field=$close_lastphotos}}
-{{include file="file:{{$field_select}}" field=$close_lastlikes}}
-{{include file="file:{{$field_select}}" field=$close_twitter}}
-{{include file="file:{{$field_select}}" field=$close_mapquery}}
+{{include file="field_select.tpl" field=$close_pages}}
+{{include file="field_select.tpl" field=$close_profiles}}
+{{include file="field_select.tpl" field=$close_helpers}}
+{{include file="field_select.tpl" field=$close_services}}
+{{include file="field_select.tpl" field=$close_friends}}
+{{include file="field_select.tpl" field=$close_lastusers}}
+{{include file="field_select.tpl" field=$close_lastphotos}}
+{{include file="field_select.tpl" field=$close_lastlikes}}
+{{include file="field_select.tpl" field=$close_twitter}}
+{{include file="field_select.tpl" field=$close_mapquery}}
<div class="settings-submit-wrapper">
<input id="boxsub" type="submit" value="{{$sub}}" class="settings-submit" name="diabook-settings-box-sub"></input>
</div>
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{include file="file:{{$field_input}}" field=$lname}}
- {{include file="file:{{$field_password}}" field=$lpassword}}
+ {{include file="field_input.tpl" field=$lname}}
+ {{include file="field_password.tpl" field=$lpassword}}
</div>
{{if $openid}}
<div id="login_openid">
- {{include file="file:{{$field_openid}}" field=$lopenid}}
+ {{include file="field_openid.tpl" field=$lopenid}}
</div>
{{/if}}
{{foreach $mails as $mail_item}}
<div id="tread-wrapper-{{$mail_item.id}}" class="tread-wrapper">
- {{include file="file:{{$mail_conv}}" mail=$mail_item}}
+ {{include file="mail_conv.tpl" mail=$mail_item}}
</div>
{{/foreach}}
-{{include file="file:{{$prv_message}}" reply=$reply_info}}
+{{include file="prv_message.tpl"}}
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-extra-links">
<ul>
-<h3>{{$reply.header}}</h3>
+<h3>{{$header}}</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-{{$reply.parent}}
+{{$parent}}
-<div id="prvmail-to-label">{{$reply.to}}</div>
+<div id="prvmail-to-label">{{$to}}</div>
-{{if $reply.showinputs}}
+{{if $showinputs}}
<input type="text" id="recip" style="background: none repeat scroll 0 0 white;border: 1px solid #CCC;border-radius: 5px 5px 5px 5px;height: 20px;margin: 0 0 5px;
-vertical-align: middle;" name="messageto" value="{{$reply.prefill}}" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="{{$reply.preid}}">
+vertical-align: middle;" name="messageto" value="{{$prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}">
{{else}}
-{{$reply.select}}
+{{$select}}
{{/if}}
-<div id="prvmail-subject-label">{{$reply.subject}}</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+<div id="prvmail-subject-label">{{$subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
-<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+<div id="prvmail-message-label">{{$yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
-{{include file="file:{{$field_select}}" field=$color}}
+{{include file="field_select.tpl" field=$color}}
-{{include file="file:{{$field_select}}" field=$font_size}}
+{{include file="field_select.tpl" field=$font_size}}
-{{include file="file:{{$field_select}}" field=$line_height}}
+{{include file="field_select.tpl" field=$line_height}}
-{{include file="file:{{$field_select}}" field=$resolution}}
+{{include file="field_select.tpl" field=$resolution}}
<div class="settings-submit-wrapper">
<input type="submit" value="{{$submit}}" class="settings-submit" name="diabook-settings-submit" />
</div>
<br>
<h3>Show/hide boxes at right-hand column</h3>
-{{include file="file:{{$field_select}}" field=$close_pages}}
-{{include file="file:{{$field_select}}" field=$close_profiles}}
-{{include file="file:{{$field_select}}" field=$close_helpers}}
-{{include file="file:{{$field_select}}" field=$close_services}}
-{{include file="file:{{$field_select}}" field=$close_friends}}
-{{include file="file:{{$field_select}}" field=$close_lastusers}}
-{{include file="file:{{$field_select}}" field=$close_lastphotos}}
-{{include file="file:{{$field_select}}" field=$close_lastlikes}}
-{{include file="file:{{$field_select}}" field=$close_twitter}}
-{{include file="file:{{$field_input}}" field=$TSearchTerm}}
-{{include file="file:{{$field_select}}" field=$close_mapquery}}
-
-{{include file="file:{{$field_input}}" field=$ELPosX}}
-
-{{include file="file:{{$field_input}}" field=$ELPosY}}
-
-{{include file="file:{{$field_input}}" field=$ELZoom}}
+{{include file="field_select.tpl" field=$close_pages}}
+{{include file="field_select.tpl" field=$close_profiles}}
+{{include file="field_select.tpl" field=$close_helpers}}
+{{include file="field_select.tpl" field=$close_services}}
+{{include file="field_select.tpl" field=$close_friends}}
+{{include file="field_select.tpl" field=$close_lastusers}}
+{{include file="field_select.tpl" field=$close_lastphotos}}
+{{include file="field_select.tpl" field=$close_lastlikes}}
+{{include file="field_select.tpl" field=$close_twitter}}
+{{include file="field_input.tpl" field=$TSearchTerm}}
+{{include file="field_select.tpl" field=$close_mapquery}}
+
+{{include file="field_input.tpl" field=$ELPosX}}
+
+{{include file="field_input.tpl" field=$ELPosY}}
+
+{{include file="field_input.tpl" field=$ELZoom}}
<div class="settings-submit-wrapper">
<input type="submit" value="{{$submit}}" class="settings-submit" name="diabook-settings-submit" />
*/
$a = get_app();
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function get_diabook_config($key, $default = false) {
if (local_user()) {
set_pconfig(local_user(), 'diabook', 'close_lastlikes', $_POST['diabook_close_lastlikes']);
}
}
- $close = t('Settings');
- $aside['$close'] = $close;
- //get_baseurl
- $url = $a->get_baseurl($ssl_state);
- $aside['$url'] = $url;
- //print right_aside
- $tpl = get_markup_template('communityhome.tpl');
+ $close = t('Settings');
+ $aside['$close'] = $close;
- $includes = array(
- '$field_select' => 'field_select.tpl',
- '$field_input' => 'field_input.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
+ //get_baseurl
+ $url = $a->get_baseurl($ssl_state);
+ $aside['$url'] = $url;
- $a->page['right_aside'] = replace_macros($tpl, $includes + $aside);
+ //print right_aside
+ $tpl = get_markup_template('communityhome.tpl');
+ $a->page['right_aside'] = replace_macros($tpl, $aside);
}
-{{inc $field_select with $field=$color}}{{endinc}}
+{{inc field_select.tpl with $field=$color}}{{endinc}}
-{{inc $field_select with $field=$font_size}}{{endinc}}
+{{inc field_select.tpl with $field=$font_size}}{{endinc}}
-{{inc $field_select with $field=$line_height}}{{endinc}}
+{{inc field_select.tpl with $field=$line_height}}{{endinc}}
-{{inc $field_select with $field=$resolution}}{{endinc}}
+{{inc field_select.tpl with $field=$resolution}}{{endinc}}
<div class="settings-submit-wrapper">
<input type="submit" value="$submit" class="settings-submit" name="diabook-settings-submit" />
</div>
<br>
<h3>Show/hide boxes at right-hand column</h3>
-{{inc $field_select with $field=$close_pages}}{{endinc}}
-{{inc $field_select with $field=$close_profiles}}{{endinc}}
-{{inc $field_select with $field=$close_helpers}}{{endinc}}
-{{inc $field_select with $field=$close_services}}{{endinc}}
-{{inc $field_select with $field=$close_friends}}{{endinc}}
-{{inc $field_select with $field=$close_lastusers}}{{endinc}}
-{{inc $field_select with $field=$close_lastphotos}}{{endinc}}
-{{inc $field_select with $field=$close_lastlikes}}{{endinc}}
-{{inc $field_select with $field=$close_twitter}}{{endinc}}
-{{inc $field_input with $field=$TSearchTerm}}{{endinc}}
-{{inc $field_select with $field=$close_mapquery}}{{endinc}}
-
-{{inc $field_input with $field=$ELPosX}}{{endinc}}
-
-{{inc $field_input with $field=$ELPosY}}{{endinc}}
-
-{{inc $field_input with $field=$ELZoom}}{{endinc}}
+{{inc field_select.tpl with $field=$close_pages}}{{endinc}}
+{{inc field_select.tpl with $field=$close_profiles}}{{endinc}}
+{{inc field_select.tpl with $field=$close_helpers}}{{endinc}}
+{{inc field_select.tpl with $field=$close_services}}{{endinc}}
+{{inc field_select.tpl with $field=$close_friends}}{{endinc}}
+{{inc field_select.tpl with $field=$close_lastusers}}{{endinc}}
+{{inc field_select.tpl with $field=$close_lastphotos}}{{endinc}}
+{{inc field_select.tpl with $field=$close_lastlikes}}{{endinc}}
+{{inc field_select.tpl with $field=$close_twitter}}{{endinc}}
+{{inc field_input.tpl with $field=$TSearchTerm}}{{endinc}}
+{{inc field_select.tpl with $field=$close_mapquery}}{{endinc}}
+
+{{inc field_input.tpl with $field=$ELPosX}}{{endinc}}
+
+{{inc field_input.tpl with $field=$ELPosY}}{{endinc}}
+
+{{inc field_input.tpl with $field=$ELZoom}}{{endinc}}
<div class="settings-submit-wrapper">
<input type="submit" value="$submit" class="settings-submit" name="diabook-settings-submit" />
'dark' => 'dark',
);
- //$t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
$t = get_markup_template("theme_settings.tpl" );
-
- $includes = array(
- '$field_select' => 'field_select.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($t, $includes + array(
+ $o .= replace_macros($t, array(
'$submit' => t('Submit'),
'$baseurl' => $a->get_baseurl(),
'$title' => t("Theme settings"),
'family' => 'dispy',
'name' => 'dark',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function dispy_dark_init(&$a) {
/** @purpose set some theme defaults
'family' => 'dispy',
'name' => 'light',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function dispy_light_init(&$a) {
target="external-link">$profile.homepage</a></span>
</div>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-extra-links">
<ul>
target="external-link">{{$profile.homepage}}</a></span>
</div>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-extra-links">
<ul>
{{/foreach}}
</div>
{{if $item.has_cats}}
- <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+ <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
{{if $item.has_folders}}
- <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+ <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
'family' => 'dispy',
'version' => '1.2.2'
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function dispy_init(&$a) {
$url = $a->get_baseurl($ssl_state);
$aside['$url'] = $url;
- $tpl = file_get_contents(dirname(__file__) . '/communityhome.tpl');
+ $tpl = get_markup_template('communityhome.tpl');
return $a->page['aside_bottom'] = replace_macros($tpl, $aside);
}
$a = get_app();
$baseurl = $a->get_baseurl($ssl_state);
$bottom['$baseurl'] = $baseurl;
- $tpl = file_get_contents(dirname(__file__) . '/bottom.tpl');
+ $tpl = get_markup_template('bottom.tpl');
return $a->page['bottom'] = replace_macros($tpl, $bottom);
}
{{ endfor }}
</div>
{{ if $item.has_cats }}
- <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
{{ if $item.has_folders }}
- <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-vcard-break"></div>
<div id="profile-extra-links">
-<h3>$reply.header</h3>
+<h3>$header</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-$reply.parent
+$parent
-<div id="prvmail-to-label">$reply.to</div>
+<div id="prvmail-to-label">$to</div>
-{{ if $reply.showinputs }}
-<input type="text" id="recip" name="messagerecip" value="$reply.prefill" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="$reply.preid">
+{{ if $showinputs }}
+<input type="text" id="recip" name="messagerecip" value="$prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$preid">
{{ else }}
-$reply.select
+$select
{{ endif }}
-<div id="prvmail-subject-label">$reply.subject</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.readonly tabindex="11" />
+<div id="prvmail-subject-label">$subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" />
-<div id="prvmail-message-label">$reply.yourmessage</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
+<div id="prvmail-message-label">$yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="$reply.insert" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-vcard-break"></div>
<div id="profile-extra-links">
-<h3>{{$reply.header}}</h3>
+<h3>{{$header}}</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-{{$reply.parent}}
+{{$parent}}
-<div id="prvmail-to-label">{{$reply.to}}</div>
+<div id="prvmail-to-label">{{$to}}</div>
-{{if $reply.showinputs}}
-<input type="text" id="recip" name="messagerecip" value="{{$reply.prefill}}" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="{{$reply.preid}}">
+{{if $showinputs}}
+<input type="text" id="recip" name="messagerecip" value="{{$prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}">
{{else}}
-{{$reply.select}}
+{{$select}}
{{/if}}
-<div id="prvmail-subject-label">{{$reply.subject}}</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+<div id="prvmail-subject-label">{{$subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
-<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+<div id="prvmail-message-label">{{$yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
<?php
$a->theme_info = array();
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function duepuntozero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-extra-links">
<ul>
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-extra-links">
<ul>
<?php
$a->theme_info = array();
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
$a->page['htmlhead'] .= <<< EOT
<script>
<form action="$baseurl/admin/site" method="post">
<input type='hidden' name='form_security_token' value='$form_security_token'>
- {{ inc $field_input with $field=$sitename }}{{ endinc }}
- {{ inc $field_textarea with $field=$banner }}{{ endinc }}
- {{ inc $field_select with $field=$language }}{{ endinc }}
- {{ inc $field_select with $field=$theme }}{{ endinc }}
- {{ inc $field_select with $field=$theme_mobile }}{{ endinc }}
- {{ inc $field_select with $field=$ssl_policy }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$sitename }}{{ endinc }}
+ {{ inc field_textarea.tpl with $field=$banner }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$language }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$theme }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$theme_mobile }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$ssl_policy }}{{ endinc }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<h3>$registration</h3>
- {{ inc $field_input with $field=$register_text }}{{ endinc }}
- {{ inc $field_select with $field=$register_policy }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$register_text }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$register_policy }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_multi_reg }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_openid }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_regfullname }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<h3>$upload</h3>
- {{ inc $field_input with $field=$maximagesize }}{{ endinc }}
- {{ inc $field_input with $field=$maximagelength }}{{ endinc }}
- {{ inc $field_input with $field=$jpegimagequality }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$maximagelength }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$jpegimagequality }}{{ endinc }}
<h3>$corporate</h3>
- {{ inc $field_input with $field=$allowed_sites }}{{ endinc }}
- {{ inc $field_input with $field=$allowed_email }}{{ endinc }}
- {{ inc $field_checkbox with $field=$block_public }}{{ endinc }}
- {{ inc $field_checkbox with $field=$force_publish }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_community_page }}{{ endinc }}
- {{ inc $field_checkbox with $field=$ostatus_disabled }}{{ endinc }}
- {{ inc $field_checkbox with $field=$diaspora_enabled }}{{ endinc }}
- {{ inc $field_checkbox with $field=$dfrn_only }}{{ endinc }}
- {{ inc $field_input with $field=$global_directory }}{{ endinc }}
- {{ inc $field_checkbox with $field=$thread_allow }}{{ endinc }}
- {{ inc $field_checkbox with $field=$newuser_private }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_community_page }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$ostatus_disabled }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$diaspora_enabled }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$dfrn_only }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<h3>$advanced</h3>
- {{ inc $field_checkbox with $field=$no_utf }}{{ endinc }}
- {{ inc $field_checkbox with $field=$verifyssl }}{{ endinc }}
- {{ inc $field_input with $field=$proxy }}{{ endinc }}
- {{ inc $field_input with $field=$proxyuser }}{{ endinc }}
- {{ inc $field_input with $field=$timeout }}{{ endinc }}
- {{ inc $field_input with $field=$delivery_interval }}{{ endinc }}
- {{ inc $field_input with $field=$poll_interval }}{{ endinc }}
- {{ inc $field_input with $field=$maxloadavg }}{{ endinc }}
- {{ inc $field_input with $field=$abandon_days }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$proxy }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$timeout }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$delivery_interval }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$poll_interval }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$maxloadavg }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<div id="contacts-display-wrapper">
{{ for $contacts as $c }}
- {{ inc $contact_template with $contact=$c }}{{ endinc }}
+ {{ inc contact_template.tpl with $contact=$c }}{{ endinc }}
{{ endfor }}
</div>
<div id="contact-edit-end"></div>
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{ inc $field_input with $field=$lname }}{{ endinc }}
- {{ inc $field_password with $field=$lpassword }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$lname }}{{ endinc }}
+ {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
</div>
{{ if $openid }}
<div id="login_openid">
- {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
+ {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
</div>
{{ endif }}
</div>-->
<br />
- {{ inc $field_checkbox with $field=$lremember }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$lremember }}{{ endinc }}
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="login-submit-button" value="$login" />
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-vcard-break"></div>
<div id="profile-extra-links">
-<h3>$reply.header</h3>
+<h3>$header</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-$reply.parent
+$parent
-<div id="prvmail-to-label">$reply.to</div>
+<div id="prvmail-to-label">$to</div>
-{{ if $reply.showinputs }}
-<input type="text" id="recip" name="messageto" value="$reply.prefill" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="$reply.preid">
+{{ if $showinputs }}
+<input type="text" id="recip" name="messageto" value="$prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$preid">
{{ else }}
-$reply.select
+$select
{{ endif }}
-<div id="prvmail-subject-label">$reply.subject</div>
-<input type="text" size="28" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.readonly tabindex="11" />
+<div id="prvmail-subject-label">$subject</div>
+<input type="text" size="28" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" />
-<div id="prvmail-message-label">$reply.yourmessage</div>
-<textarea rows="8" cols="32" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
+<div id="prvmail-message-label">$yourmessage</div>
+<textarea rows="8" cols="32" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="$reply.insert" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
<h3 class="settings-heading">$h_pass</h3>
-{{inc $field_password with $field=$password1 }}{{endinc}}
-{{inc $field_password with $field=$password2 }}{{endinc}}
+{{inc field_password.tpl with $field=$password1 }}{{endinc}}
+{{inc field_password.tpl with $field=$password2 }}{{endinc}}
{{ if $oid_enable }}
-{{inc $field_input with $field=$openid }}{{endinc}}
+{{inc field_input.tpl with $field=$openid }}{{endinc}}
{{ endif }}
<div class="settings-submit-wrapper" >
<h3 class="settings-heading">$h_basic</h3>
-{{inc $field_input with $field=$username }}{{endinc}}
-{{inc $field_input with $field=$email }}{{endinc}}
-{{inc $field_custom with $field=$timezone }}{{endinc}}
-{{inc $field_input with $field=$defloc }}{{endinc}}
-{{inc $field_checkbox with $field=$allowloc }}{{endinc}}
+{{inc field_input.tpl with $field=$username }}{{endinc}}
+{{inc field_input.tpl with $field=$email }}{{endinc}}
+{{inc field_custom.tpl with $field=$timezone }}{{endinc}}
+{{inc field_input.tpl with $field=$defloc }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$allowloc }}{{endinc}}
<div class="settings-submit-wrapper" >
<input type="hidden" name="visibility" value="$visibility" />
-{{inc $field_input with $field=$maxreq }}{{endinc}}
+{{inc field_input.tpl with $field=$maxreq }}{{endinc}}
$profile_in_dir
$unkmail
-{{inc $field_input with $field=$cntunkmail }}{{endinc}}
+{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}}
-{{inc $field_input with $field=$expire.days }}{{endinc}}
+{{inc field_input.tpl with $field=$expire.days }}{{endinc}}
<div class="field input">
<div style="display: none;">
<div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
<h3>$expire.advanced</h3>
- {{ inc $field_yesno with $field=$expire.items }}{{endinc}}
- {{ inc $field_yesno with $field=$expire.notes }}{{endinc}}
- {{ inc $field_yesno with $field=$expire.starred }}{{endinc}}
- {{ inc $field_yesno with $field=$expire.network_only }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$expire.items }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$expire.notes }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$expire.starred }}{{endinc}}
+ {{ inc field_yesno.tpl with $field=$expire.network_only }}{{endinc}}
</div>
</div>
<div id="settings-activity-desc">$activity_options</div>
-{{inc $field_checkbox with $field=$post_newfriend }}{{endinc}}
-{{inc $field_checkbox with $field=$post_joingroup }}{{endinc}}
-{{inc $field_checkbox with $field=$post_profilechange }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$post_newfriend }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$post_joingroup }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$post_profilechange }}{{endinc}}
<div id="settings-notify-desc">$lbl_not</div>
<div class="group">
-{{inc $field_intcheckbox with $field=$notify1 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify2 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify3 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify4 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify5 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify6 }}{{endinc}}
-{{inc $field_intcheckbox with $field=$notify7 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify1 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify2 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify3 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify4 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify5 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify6 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify7 }}{{endinc}}
</div>
</div>
<form action="{{$baseurl}}/admin/site" method="post">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
- {{include file="file:{{$field_input}}" field=$sitename}}
- {{include file="file:{{$field_textarea}}" field=$banner}}
- {{include file="file:{{$field_select}}" field=$language}}
- {{include file="file:{{$field_select}}" field=$theme}}
- {{include file="file:{{$field_select}}" field=$theme_mobile}}
- {{include file="file:{{$field_select}}" field=$ssl_policy}}
+ {{include file="field_input.tpl" field=$sitename}}
+ {{include file="field_textarea.tpl" field=$banner}}
+ {{include file="field_select.tpl" field=$language}}
+ {{include file="field_select.tpl" field=$theme}}
+ {{include file="field_select.tpl" field=$theme_mobile}}
+ {{include file="field_select.tpl" field=$ssl_policy}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$registration}}</h3>
- {{include file="file:{{$field_input}}" field=$register_text}}
- {{include file="file:{{$field_select}}" field=$register_policy}}
+ {{include file="field_input.tpl" field=$register_text}}
+ {{include file="field_select.tpl" field=$register_policy}}
- {{include file="file:{{$field_checkbox}}" field=$no_multi_reg}}
- {{include file="file:{{$field_checkbox}}" field=$no_openid}}
- {{include file="file:{{$field_checkbox}}" field=$no_regfullname}}
+ {{include file="field_checkbox.tpl" field=$no_multi_reg}}
+ {{include file="field_checkbox.tpl" field=$no_openid}}
+ {{include file="field_checkbox.tpl" field=$no_regfullname}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$upload}}</h3>
- {{include file="file:{{$field_input}}" field=$maximagesize}}
- {{include file="file:{{$field_input}}" field=$maximagelength}}
- {{include file="file:{{$field_input}}" field=$jpegimagequality}}
+ {{include file="field_input.tpl" field=$maximagesize}}
+ {{include file="field_input.tpl" field=$maximagelength}}
+ {{include file="field_input.tpl" field=$jpegimagequality}}
<h3>{{$corporate}}</h3>
- {{include file="file:{{$field_input}}" field=$allowed_sites}}
- {{include file="file:{{$field_input}}" field=$allowed_email}}
- {{include file="file:{{$field_checkbox}}" field=$block_public}}
- {{include file="file:{{$field_checkbox}}" field=$force_publish}}
- {{include file="file:{{$field_checkbox}}" field=$no_community_page}}
- {{include file="file:{{$field_checkbox}}" field=$ostatus_disabled}}
- {{include file="file:{{$field_checkbox}}" field=$diaspora_enabled}}
- {{include file="file:{{$field_checkbox}}" field=$dfrn_only}}
- {{include file="file:{{$field_input}}" field=$global_directory}}
- {{include file="file:{{$field_checkbox}}" field=$thread_allow}}
- {{include file="file:{{$field_checkbox}}" field=$newuser_private}}
+ {{include file="field_input.tpl" field=$allowed_sites}}
+ {{include file="field_input.tpl" field=$allowed_email}}
+ {{include file="field_checkbox.tpl" field=$block_public}}
+ {{include file="field_checkbox.tpl" field=$force_publish}}
+ {{include file="field_checkbox.tpl" field=$no_community_page}}
+ {{include file="field_checkbox.tpl" field=$ostatus_disabled}}
+ {{include file="field_checkbox.tpl" field=$diaspora_enabled}}
+ {{include file="field_checkbox.tpl" field=$dfrn_only}}
+ {{include file="field_input.tpl" field=$global_directory}}
+ {{include file="field_checkbox.tpl" field=$thread_allow}}
+ {{include file="field_checkbox.tpl" field=$newuser_private}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$advanced}}</h3>
- {{include file="file:{{$field_checkbox}}" field=$no_utf}}
- {{include file="file:{{$field_checkbox}}" field=$verifyssl}}
- {{include file="file:{{$field_input}}" field=$proxy}}
- {{include file="file:{{$field_input}}" field=$proxyuser}}
- {{include file="file:{{$field_input}}" field=$timeout}}
- {{include file="file:{{$field_input}}" field=$delivery_interval}}
- {{include file="file:{{$field_input}}" field=$poll_interval}}
- {{include file="file:{{$field_input}}" field=$maxloadavg}}
- {{include file="file:{{$field_input}}" field=$abandon_days}}
+ {{include file="field_checkbox.tpl" field=$no_utf}}
+ {{include file="field_checkbox.tpl" field=$verifyssl}}
+ {{include file="field_input.tpl" field=$proxy}}
+ {{include file="field_input.tpl" field=$proxyuser}}
+ {{include file="field_input.tpl" field=$timeout}}
+ {{include file="field_input.tpl" field=$delivery_interval}}
+ {{include file="field_input.tpl" field=$poll_interval}}
+ {{include file="field_input.tpl" field=$maxloadavg}}
+ {{include file="field_input.tpl" field=$abandon_days}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<div id="contacts-display-wrapper">
{{foreach $contacts as $c}}
- {{include file="file:{{$contact_template}}" contact=$c}}
+ {{include file="contact_template.tpl" contact=$c}}
{{/foreach}}
</div>
<div id="contact-edit-end"></div>
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{include file="file:{{$field_input}}" field=$lname}}
- {{include file="file:{{$field_password}}" field=$lpassword}}
+ {{include file="field_input.tpl" field=$lname}}
+ {{include file="field_password.tpl" field=$lpassword}}
</div>
{{if $openid}}
<div id="login_openid">
- {{include file="file:{{$field_openid}}" field=$lopenid}}
+ {{include file="field_openid.tpl" field=$lopenid}}
</div>
{{/if}}
</div>-->
<br />
- {{include file="file:{{$field_checkbox}}" field=$lremember}}
+ {{include file="field_checkbox.tpl" field=$lremember}}
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="login-submit-button" value="{{$login}}" />
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-vcard-break"></div>
<div id="profile-extra-links">
-<h3>{{$reply.header}}</h3>
+<h3>{{$header}}</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-{{$reply.parent}}
+{{$parent}}
-<div id="prvmail-to-label">{{$reply.to}}</div>
+<div id="prvmail-to-label">{{$to}}</div>
-{{if $reply.showinputs}}
-<input type="text" id="recip" name="messageto" value="{{$reply.prefill}}" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="{{$reply.preid}}">
+{{if $showinputs}}
+<input type="text" id="recip" name="messageto" value="{{$prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}">
{{else}}
-{{$reply.select}}
+{{$select}}
{{/if}}
-<div id="prvmail-subject-label">{{$reply.subject}}</div>
-<input type="text" size="28" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+<div id="prvmail-subject-label">{{$subject}}</div>
+<input type="text" size="28" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
-<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
-<textarea rows="8" cols="32" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+<div id="prvmail-message-label">{{$yourmessage}}</div>
+<textarea rows="8" cols="32" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
<h3 class="settings-heading">{{$h_pass}}</h3>
-{{include file="file:{{$field_password}}" field=$password1}}
-{{include file="file:{{$field_password}}" field=$password2}}
+{{include file="field_password.tpl" field=$password1}}
+{{include file="field_password.tpl" field=$password2}}
{{if $oid_enable}}
-{{include file="file:{{$field_input}}" field=$openid}}
+{{include file="field_input.tpl" field=$openid}}
{{/if}}
<div class="settings-submit-wrapper" >
<h3 class="settings-heading">{{$h_basic}}</h3>
-{{include file="file:{{$field_input}}" field=$username}}
-{{include file="file:{{$field_input}}" field=$email}}
-{{include file="file:{{$field_custom}}" field=$timezone}}
-{{include file="file:{{$field_input}}" field=$defloc}}
-{{include file="file:{{$field_checkbox}}" field=$allowloc}}
+{{include file="field_input.tpl" field=$username}}
+{{include file="field_input.tpl" field=$email}}
+{{include file="field_custom.tpl" field=$timezone}}
+{{include file="field_input.tpl" field=$defloc}}
+{{include file="field_checkbox.tpl" field=$allowloc}}
<div class="settings-submit-wrapper" >
<input type="hidden" name="visibility" value="{{$visibility}}" />
-{{include file="file:{{$field_input}}" field=$maxreq}}
+{{include file="field_input.tpl" field=$maxreq}}
{{$profile_in_dir}}
{{$unkmail}}
-{{include file="file:{{$field_input}}" field=$cntunkmail}}
+{{include file="field_input.tpl" field=$cntunkmail}}
-{{include file="file:{{$field_input}}" field=$expire.days}}
+{{include file="field_input.tpl" field=$expire.days}}
<div class="field input">
<div style="display: none;">
<div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
<h3>{{$expire.advanced}}</h3>
- {{include file="file:{{$field_yesno}}" field=$expire.items}}
- {{include file="file:{{$field_yesno}}" field=$expire.notes}}
- {{include file="file:{{$field_yesno}}" field=$expire.starred}}
- {{include file="file:{{$field_yesno}}" field=$expire.network_only}}
+ {{include file="field_yesno.tpl" field=$expire.items}}
+ {{include file="field_yesno.tpl" field=$expire.notes}}
+ {{include file="field_yesno.tpl" field=$expire.starred}}
+ {{include file="field_yesno.tpl" field=$expire.network_only}}
</div>
</div>
<div id="settings-activity-desc">{{$activity_options}}</div>
-{{include file="file:{{$field_checkbox}}" field=$post_newfriend}}
-{{include file="file:{{$field_checkbox}}" field=$post_joingroup}}
-{{include file="file:{{$field_checkbox}}" field=$post_profilechange}}
+{{include file="field_checkbox.tpl" field=$post_newfriend}}
+{{include file="field_checkbox.tpl" field=$post_joingroup}}
+{{include file="field_checkbox.tpl" field=$post_profilechange}}
<div id="settings-notify-desc">{{$lbl_not}}</div>
<div class="group">
-{{include file="file:{{$field_intcheckbox}}" field=$notify1}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify2}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify3}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify4}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify5}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify6}}
-{{include file="file:{{$field_intcheckbox}}" field=$notify7}}
+{{include file="field_intcheckbox.tpl" field=$notify1}}
+{{include file="field_intcheckbox.tpl" field=$notify2}}
+{{include file="field_intcheckbox.tpl" field=$notify3}}
+{{include file="field_intcheckbox.tpl" field=$notify4}}
+{{include file="field_intcheckbox.tpl" field=$notify5}}
+{{include file="field_intcheckbox.tpl" field=$notify6}}
+{{include file="field_intcheckbox.tpl" field=$notify7}}
</div>
</div>
{{/foreach}}
<!--</div>-->
{{if $item.has_cats}}
- <div class="categorytags">{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+ <div class="categorytags">{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
{{if $item.has_folders}}
- <div class="filesavetags">{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+ <div class="filesavetags">{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
</div>
$a->videoheight = 200;
$a->theme_thread_allow = false;
$a->force_max_items = 10;
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function frost_mobile_content_loaded(&$a) {
{{ endfor }}
<!--</div>-->
{{ if $item.has_cats }}
- <div class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ <div class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
{{ if $item.has_folders }}
- <div class="filesavetags">$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ <div class="filesavetags">$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
</div>
<form action="$baseurl/admin/site" method="post">
<input type='hidden' name='form_security_token' value='$form_security_token'>
- {{ inc $field_input with $field=$sitename }}{{ endinc }}
- {{ inc $field_textarea with $field=$banner }}{{ endinc }}
- {{ inc $field_select with $field=$language }}{{ endinc }}
- {{ inc $field_select with $field=$theme }}{{ endinc }}
- {{ inc $field_select with $field=$theme_mobile }}{{ endinc }}
- {{ inc $field_select with $field=$ssl_policy }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$sitename }}{{ endinc }}
+ {{ inc field_textarea.tpl with $field=$banner }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$language }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$theme }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$theme_mobile }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$ssl_policy }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$new_share }}{{ endinc }}
+
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<h3>$registration</h3>
- {{ inc $field_input with $field=$register_text }}{{ endinc }}
- {{ inc $field_select with $field=$register_policy }}{{ endinc }}
- {{ inc $field_input with $field=$daily_registrations }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_multi_reg }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_openid }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_regfullname }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$register_text }}{{ endinc }}
+ {{ inc field_select.tpl with $field=$register_policy }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$daily_registrations }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<h3>$upload</h3>
- {{ inc $field_input with $field=$maximagesize }}{{ endinc }}
- {{ inc $field_input with $field=$maximagelength }}{{ endinc }}
- {{ inc $field_input with $field=$jpegimagequality }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$maximagelength }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$jpegimagequality }}{{ endinc }}
<h3>$corporate</h3>
- {{ inc $field_input with $field=$allowed_sites }}{{ endinc }}
- {{ inc $field_input with $field=$allowed_email }}{{ endinc }}
- {{ inc $field_checkbox with $field=$block_public }}{{ endinc }}
- {{ inc $field_checkbox with $field=$force_publish }}{{ endinc }}
- {{ inc $field_checkbox with $field=$no_community_page }}{{ endinc }}
- {{ inc $field_checkbox with $field=$ostatus_disabled }}{{ endinc }}
- {{ inc $field_checkbox with $field=$diaspora_enabled }}{{ endinc }}
- {{ inc $field_checkbox with $field=$dfrn_only }}{{ endinc }}
- {{ inc $field_input with $field=$global_directory }}{{ endinc }}
- {{ inc $field_checkbox with $field=$thread_allow }}{{ endinc }}
- {{ inc $field_checkbox with $field=$newuser_private }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_community_page }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$ostatus_disabled }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$diaspora_enabled }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$dfrn_only }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<h3>$advanced</h3>
- {{ inc $field_checkbox with $field=$no_utf }}{{ endinc }}
- {{ inc $field_checkbox with $field=$verifyssl }}{{ endinc }}
- {{ inc $field_input with $field=$proxy }}{{ endinc }}
- {{ inc $field_input with $field=$proxyuser }}{{ endinc }}
- {{ inc $field_input with $field=$timeout }}{{ endinc }}
- {{ inc $field_input with $field=$delivery_interval }}{{ endinc }}
- {{ inc $field_input with $field=$poll_interval }}{{ endinc }}
- {{ inc $field_input with $field=$maxloadavg }}{{ endinc }}
- {{ inc $field_input with $field=$abandon_days }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$proxy }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$timeout }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$delivery_interval }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$poll_interval }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$maxloadavg }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$lockpath }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$temppath }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$basepath }}{{ endinc }}
+
+ <h3>$performance</h3>
+ {{ inc field_checkbox.tpl with $field=$use_fulltext_engine }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$itemcache }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$itemcache_duration }}{{ endinc }}
+
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
<div id="contacts-display-wrapper">
{{ for $contacts as $c }}
- {{ inc $contact_template with $contact=$c }}{{ endinc }}
+ {{ inc contact_template.tpl with $contact=$c }}{{ endinc }}
{{ endfor }}
</div>
<div id="contact-edit-end"></div>
</div>
</div>
<div class="mceActionPanel">
- <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ <input type="button" id="cancel" name="cancel" value="$cancel" onclick="tinyMCEPopup.close();" />
</div>
</body>
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{ inc $field_input with $field=$lname }}{{ endinc }}
- {{ inc $field_password with $field=$lpassword }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$lname }}{{ endinc }}
+ {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
</div>
{{ if $openid }}
<br /><br />
<div id="login_openid">
- {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
+ {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
</div>
{{ endif }}
</div>-->
<br /><br />
- {{ inc $field_checkbox with $field=$lremember }}{{ endinc }}
+ {{ inc field_checkbox.tpl with $field=$lremember }}{{ endinc }}
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="login-submit-button" value="$login" />
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-vcard-break"></div>
<div id="profile-extra-links">
-<h3>$reply.header</h3>
+<h3>$header</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-$reply.parent
+$parent
-<div id="prvmail-to-label">$reply.to</div>
+<div id="prvmail-to-label">$to</div>
-{{ if $reply.showinputs }}
-<input type="text" id="recip" name="messageto" value="$reply.prefill" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="$reply.preid">
+{{ if $showinputs }}
+<input type="text" id="recip" name="messageto" value="$prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$preid">
{{ else }}
-$reply.select
+$select
{{ endif }}
-<div id="prvmail-subject-label">$reply.subject</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.readonly tabindex="11" />
+<div id="prvmail-subject-label">$subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" />
-<div id="prvmail-message-label">$reply.yourmessage</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
+<div id="prvmail-message-label">$yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="$reply.insert" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
<form action="{{$baseurl}}/admin/site" method="post">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
- {{include file="file:{{$field_input}}" field=$sitename}}
- {{include file="file:{{$field_textarea}}" field=$banner}}
- {{include file="file:{{$field_select}}" field=$language}}
- {{include file="file:{{$field_select}}" field=$theme}}
- {{include file="file:{{$field_select}}" field=$theme_mobile}}
- {{include file="file:{{$field_select}}" field=$ssl_policy}}
+ {{include file="field_input.tpl" field=$sitename}}
+ {{include file="field_textarea.tpl" field=$banner}}
+ {{include file="field_select.tpl" field=$language}}
+ {{include file="field_select.tpl" field=$theme}}
+ {{include file="field_select.tpl" field=$theme_mobile}}
+ {{include file="field_select.tpl" field=$ssl_policy}}
+ {{include file="field_checkbox.tpl" field=$new_share}}
+
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$registration}}</h3>
- {{include file="file:{{$field_input}}" field=$register_text}}
- {{include file="file:{{$field_select}}" field=$register_policy}}
- {{include file="file:{{$field_input}}" field=$daily_registrations}}
- {{include file="file:{{$field_checkbox}}" field=$no_multi_reg}}
- {{include file="file:{{$field_checkbox}}" field=$no_openid}}
- {{include file="file:{{$field_checkbox}}" field=$no_regfullname}}
+ {{include file="field_input.tpl" field=$register_text}}
+ {{include file="field_select.tpl" field=$register_policy}}
+ {{include file="field_input.tpl" field=$daily_registrations}}
+ {{include file="field_checkbox.tpl" field=$no_multi_reg}}
+ {{include file="field_checkbox.tpl" field=$no_openid}}
+ {{include file="field_checkbox.tpl" field=$no_regfullname}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$upload}}</h3>
- {{include file="file:{{$field_input}}" field=$maximagesize}}
- {{include file="file:{{$field_input}}" field=$maximagelength}}
- {{include file="file:{{$field_input}}" field=$jpegimagequality}}
+ {{include file="field_input.tpl" field=$maximagesize}}
+ {{include file="field_input.tpl" field=$maximagelength}}
+ {{include file="field_input.tpl" field=$jpegimagequality}}
<h3>{{$corporate}}</h3>
- {{include file="file:{{$field_input}}" field=$allowed_sites}}
- {{include file="file:{{$field_input}}" field=$allowed_email}}
- {{include file="file:{{$field_checkbox}}" field=$block_public}}
- {{include file="file:{{$field_checkbox}}" field=$force_publish}}
- {{include file="file:{{$field_checkbox}}" field=$no_community_page}}
- {{include file="file:{{$field_checkbox}}" field=$ostatus_disabled}}
- {{include file="file:{{$field_checkbox}}" field=$diaspora_enabled}}
- {{include file="file:{{$field_checkbox}}" field=$dfrn_only}}
- {{include file="file:{{$field_input}}" field=$global_directory}}
- {{include file="file:{{$field_checkbox}}" field=$thread_allow}}
- {{include file="file:{{$field_checkbox}}" field=$newuser_private}}
+ {{include file="field_input.tpl" field=$allowed_sites}}
+ {{include file="field_input.tpl" field=$allowed_email}}
+ {{include file="field_checkbox.tpl" field=$block_public}}
+ {{include file="field_checkbox.tpl" field=$force_publish}}
+ {{include file="field_checkbox.tpl" field=$no_community_page}}
+ {{include file="field_checkbox.tpl" field=$ostatus_disabled}}
+ {{include file="field_checkbox.tpl" field=$diaspora_enabled}}
+ {{include file="field_checkbox.tpl" field=$dfrn_only}}
+ {{include file="field_input.tpl" field=$global_directory}}
+ {{include file="field_checkbox.tpl" field=$thread_allow}}
+ {{include file="field_checkbox.tpl" field=$newuser_private}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<h3>{{$advanced}}</h3>
- {{include file="file:{{$field_checkbox}}" field=$no_utf}}
- {{include file="file:{{$field_checkbox}}" field=$verifyssl}}
- {{include file="file:{{$field_input}}" field=$proxy}}
- {{include file="file:{{$field_input}}" field=$proxyuser}}
- {{include file="file:{{$field_input}}" field=$timeout}}
- {{include file="file:{{$field_input}}" field=$delivery_interval}}
- {{include file="file:{{$field_input}}" field=$poll_interval}}
- {{include file="file:{{$field_input}}" field=$maxloadavg}}
- {{include file="file:{{$field_input}}" field=$abandon_days}}
+ {{include file="field_checkbox.tpl" field=$no_utf}}
+ {{include file="field_checkbox.tpl" field=$verifyssl}}
+ {{include file="field_input.tpl" field=$proxy}}
+ {{include file="field_input.tpl" field=$proxyuser}}
+ {{include file="field_input.tpl" field=$timeout}}
+ {{include file="field_input.tpl" field=$delivery_interval}}
+ {{include file="field_input.tpl" field=$poll_interval}}
+ {{include file="field_input.tpl" field=$maxloadavg}}
+ {{include file="field_input.tpl" field=$abandon_days}}
+ {{include file="field_input.tpl" field=$lockpath}}
+ {{include file="field_input.tpl" field=$temppath}}
+ {{include file="field_input.tpl" field=$basepath}}
+
+ <h3>{{$performance}}</h3>
+ {{include file="field_checkbox.tpl" field=$use_fulltext_engine}}
+ {{include file="field_input.tpl" field=$itemcache}}
+ {{include file="field_input.tpl" field=$itemcache_duration}}
+
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
<div id="contacts-display-wrapper">
{{foreach $contacts as $c}}
- {{include file="file:{{$contact_template}}" contact=$c}}
+ {{include file="contact_template.tpl" contact=$c}}
{{/foreach}}
</div>
<div id="contact-edit-end"></div>
</div>
</div>
<div class="mceActionPanel">
- <input type="button" id="cancel" name="cancel" value="{{*cancel}" onclick="tinyMCEPopup.close();" />
+ <input type="button" id="cancel" name="cancel" value="{{$cancel}}" onclick="tinyMCEPopup.close();" />
</div>
</body>
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{include file="file:{{$field_input}}" field=$lname}}
- {{include file="file:{{$field_password}}" field=$lpassword}}
+ {{include file="field_input.tpl" field=$lname}}
+ {{include file="field_password.tpl" field=$lpassword}}
</div>
{{if $openid}}
<br /><br />
<div id="login_openid">
- {{include file="file:{{$field_openid}}" field=$lopenid}}
+ {{include file="field_openid.tpl" field=$lopenid}}
</div>
{{/if}}
</div>-->
<br /><br />
- {{include file="file:{{$field_checkbox}}" field=$lremember}}
+ {{include file="field_checkbox.tpl" field=$lremember}}
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="login-submit-button" value="{{$login}}" />
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-vcard-break"></div>
<div id="profile-extra-links">
-<h3>{{$reply.header}}</h3>
+<h3>{{$header}}</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-{{$reply.parent}}
+{{$parent}}
-<div id="prvmail-to-label">{{$reply.to}}</div>
+<div id="prvmail-to-label">{{$to}}</div>
-{{if $reply.showinputs}}
-<input type="text" id="recip" name="messageto" value="{{$reply.prefill}}" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="{{$reply.preid}}">
+{{if $showinputs}}
+<input type="text" id="recip" name="messageto" value="{{$prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}">
{{else}}
-{{$reply.select}}
+{{$select}}
{{/if}}
-<div id="prvmail-subject-label">{{$reply.subject}}</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+<div id="prvmail-subject-label">{{$subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
-<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+<div id="prvmail-message-label">{{$yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
{{/foreach}}
<!--</div>-->
{{if $item.has_cats}}
- <div class="categorytags">{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+ <div class="categorytags">{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
{{if $item.has_folders}}
- <div class="filesavetags">{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+ <div class="filesavetags">{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
</div>
$a->videowidth = 400;
$a->videoheight = 330;
$a->theme_thread_allow = false;
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function frost_content_loaded(&$a) {
{{ endfor }}
<!--</div>-->
{{ if $item.has_cats }}
- <div class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ <div class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
{{ if $item.has_folders }}
- <div class="filesavetags">$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ <div class="filesavetags">$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
</div>
$a->theme_info = array(
'extends' => 'duepuntozero',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function greenzero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
$a->theme_info = array(
'extends' => 'duepuntozero',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function purplezero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
if ($pfs===false) $pfs="12";
$t = get_markup_template("theme_settings.tpl" );
-
- $includes = array(
- '$field_select' => 'field_select.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($t, $includes + array(
+ $o .= replace_macros($t, array(
'$submit' => t('Submit'),
'$baseurl' => $a->get_baseurl(),
'$title' => t("Theme settings"),
{{ for $mails as $mail_item }}
<div id="tread-wrapper-$mail_item.id" class="tread-wrapper">
- {{ inc $mail_conv with $mail=$mail_item }}{{endinc}}
+ {{ inc mail_conv.tpl with $mail=$mail_item }}{{endinc}}
</div>
{{ endfor }}
-{{ inc $prv_message with $reply=$reply_info }}{{ endinc }}
+{{ inc prv_message.tpl }}{{ endinc }}
class="homepage-label">$homepage</dt><dd class="homepage-url"><a
href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-extra-links">
<ul>
-<h3>$reply.header</h3>
+<h3>$header</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-$reply.parent
+$parent
-<div id="prvmail-to-label">$reply.to</div>
-$reply.select
+<div id="prvmail-to-label">$to</div>
+$select
-<div id="prvmail-subject-label">$reply.subject</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.readonly tabindex="11" />
+<div id="prvmail-subject-label">$subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" />
-<div id="prvmail-message-label">$reply.yourmessage</div>
-<textarea rows="20" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
+<div id="prvmail-message-label">$yourmessage</div>
+<textarea rows="20" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="$reply.insert" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
{{foreach $mails as $mail_item}}
<div id="tread-wrapper-{{$mail_item.id}}" class="tread-wrapper">
- {{include file="file:{{$mail_conv}}" mail=$mail_item}}
+ {{include file="mail_conv.tpl" mail=$mail_item}}
</div>
{{/foreach}}
-{{include file="file:{{$prv_message}}" reply=$reply_info}}
+{{include file="prv_message.tpl"}}
class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a
href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-extra-links">
<ul>
-<h3>{{$reply.header}}</h3>
+<h3>{{$header}}</h3>
<div id="prvmail-wrapper" >
<form id="prvmail-form" action="message" method="post" >
-{{$reply.parent}}
+{{$parent}}
-<div id="prvmail-to-label">{{$reply.to}}</div>
-{{$reply.select}}
+<div id="prvmail-to-label">{{$to}}</div>
+{{$select}}
-<div id="prvmail-subject-label">{{$reply.subject}}</div>
-<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+<div id="prvmail-subject-label">{{$subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
-<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
-<textarea rows="20" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+<div id="prvmail-message-label">{{$yourmessage}}</div>
+<textarea rows="20" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" />
<div id="prvmail-upload-wrapper" >
- <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+ <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div>
</div>
<div id="prvmail-link-wrapper" >
- <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+ <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div>
</div>
<div id="prvmail-rotator-wrapper" >
- <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+ <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
</div>
</div>
<div id="prvmail-end"></div>
<script>
$(".inputRange").rangeinput();
-</script>
\ No newline at end of file
+</script>
<span class='mention'>{{$tag}}</span>
{{/foreach}}
{{foreach $item.folders as $cat}}
- <span class='folder'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$item.remove}}">x</a>) {{/if}} </span>
+ <span class='folder'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
{{/foreach}}
{{foreach $item.categories as $cat}}
- <span class='category'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$item.remove}}">x</a>) {{/if}} </span>
+ <span class='category'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
{{/foreach}}
</div>
</div>
*/
$a->theme_info = array();
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function quattro_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
$(".inputRange").rangeinput();
-</script>
\ No newline at end of file
+</script>
<span class='mention'>$tag</span>
{{ endfor }}
{{ for $item.folders as $cat }}
- <span class='folder'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$item.remove">x</a>) {{endif}} </span>
+ <span class='folder'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}} </span>
{{ endfor }}
{{ for $item.categories as $cat }}
- <span class='category'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$item.remove">x</a>) {{endif}} </span>
+ <span class='category'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}} </span>
{{ endfor }}
</div>
</div>
$a->theme_info = array(
'extends' => 'duepuntozero',
);
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function slackr_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{ inc $field_input with $field=$lname }}{{ endinc }}
- {{ inc $field_password with $field=$lpassword }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$lname }}{{ endinc }}
+ {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
</div>
{{ if $openid }}
<div id="login_openid">
- {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
+ {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
</div>
{{ endif }}
<input type="hidden" name="auth-params" value="login" />
<div id="login_standard">
- {{include file="file:{{$field_input}}" field=$lname}}
- {{include file="file:{{$field_password}}" field=$lpassword}}
+ {{include file="field_input.tpl" field=$lname}}
+ {{include file="field_password.tpl" field=$lpassword}}
</div>
{{if $openid}}
<div id="login_openid">
- {{include file="file:{{$field_openid}}" field=$lopenid}}
+ {{include file="field_openid.tpl" field=$lopenid}}
</div>
{{/if}}
{{if $item.has_cats}}
<div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}}
- <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a>
+ <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>
{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
{{if $item.has_folders}}
<div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}}
- <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a>
+ <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>
{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
</div>
{{/if}}
$a = get_app();
$a->theme_info = array();
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
function smoothly_init(&$a) {
$cssFile = null;
$ssl_state = null;
$baseurl = $a->get_baseurl($ssl_state);
$bottom['$baseurl'] = $baseurl;
- $tpl = file_get_contents(dirname(__file__) . '/bottom.tpl');
+ $tpl = get_markup_template('bottom.tpl');
return $a->page['bottom'] = replace_macros($tpl, $bottom);
}
{{ if $item.has_cats }}
<div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name
- <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a>
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
{{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
{{ if $item.has_folders }}
<div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name
- <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a>
+ <a href="$cat.removeurl" title="$remove">[$remove]</a>
{{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
- {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
+ {{ inc diaspora_vcard.tpl }}{{ endinc }}
<div id="profile-extra-links">
<ul>
{{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
- {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+ {{include file="diaspora_vcard.tpl"}}
<div id="profile-extra-links">
<ul>
* Maintainer: Mike Macgirvin <mike@macgirvin.com>
*/
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
$a->page['htmlhead'] .= <<< EOT
<script>
--- /dev/null
+/* Font Awesome
+ the iconic font designed for use with Twitter Bootstrap
+ -------------------------------------------------------
+ The full suite of pictographic icons, examples, and documentation
+ can be found at: http://fortawesome.github.com/Font-Awesome/
+
+ License
+ -------------------------------------------------------
+ The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0:
+ http://creativecommons.org/licenses/by/3.0/ A mention of
+ 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
+ source code is considered acceptable attribution (most common on the web).
+ If human readable source code is not available to the end user, a mention in
+ an 'About' or 'Credits' screen is considered acceptable (most common in desktop
+ or mobile software).
+
+ Contact
+ -------------------------------------------------------
+ Email: dave@davegandy.com
+ Twitter: http://twitter.com/fortaweso_me
+ Work: http://lemonwi.se co-founder
+
+ */
+@font-face {
+ font-family: "FontAwesome";
+ src: url('../font/fontawesome-webfont.eot');
+ src: url('../font/fontawesome-webfont.eot?#iefix') format('eot'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+
+.icon.s10 {
+ font-size: 1em;
+}
+.icon.s16 {
+ font-size: 1.2em;
+}
+.icon.s22 {
+ font-size: 1.37em;
+}
+.icon.s48 {
+ font-size: 2em;
+}
+
+/* Font Awesome styles
+ ------------------------------------------------------- */
+.icon:before {
+ font-family: FontAwesome;
+ font-weight: normal;
+ font-style: normal;
+ display: inline-block;
+ text-decoration: inherit;
+ vertical-align: top;
+ font-size: 1.3333333333333333em;
+}
+a .icon {
+ display: inline-block;
+ text-decoration: inherit;
+}
+/* makes the font 33% larger relative to the icon container */
+.icon-large:before {
+ vertical-align: top;
+ font-size: 1.3333333333333333em;
+}
+.btn .icon {
+ /* keeps button heights with and without icons the same */
+
+ line-height: .9em;
+}
+li .icon {
+ display: inline-block;
+ width: 1.25em;
+ text-align: center;
+}
+li .icon-large.icon {
+ /* 1.5 increased font size for icon-large * 1.25 width */
+
+ width: 1.875em;
+}
+li.icon {
+ margin-left: 0;
+ list-style-type: none;
+}
+li.icon:before, li[*class="-icon "]:before {
+ text-indent: -2em;
+ text-align: center;
+}
+li.icon.icon-large:before {
+ text-indent: -1.3333333333333333em;
+}
+/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
+ readers do not read off random characters that represent icons */
+.icon-glass:before { content: "\f000"; }
+.icon.audio:before { content: "\f001"; }
+.icon-search:before { content: "\f002"; }
+.icon-envelope:before { content: "\f003"; }
+.icon-heart:before { content: "\f004"; }
+.icon.star:before { content: "\f005"; }
+.icon-star-empty:before { content: "\f006"; }
+.icon-user:before { content: "\f007"; }
+.icon.video:before { content: "\f008"; }
+.icon-th-large:before { content: "\f009"; }
+.icon-th:before { content: "\f00a"; }
+.icon-th-list:before { content: "\f00b"; }
+.icon-ok:before { content: "\f00c"; }
+.icon-remove:before { content: "\f00d"; }
+.icon-zoom-in:before { content: "\f00e"; }
+
+.icon-zoom-out:before { content: "\f010"; }
+.icon-off:before { content: "\f011"; }
+.icon-signal:before { content: "\f012"; }
+.icon.gear:before { content: "\f013"; }
+.icon.delete:before { content: "\f014"; }
+.icon-home:before { content: "\f015"; }
+.icon.attach:before { content: "\f016"; }
+.icon-time:before { content: "\f017"; }
+.icon-road:before { content: "\f018"; }
+.icon-download-alt:before { content: "\f019"; }
+.icon-download:before { content: "\f01a"; }
+.icon-upload:before { content: "\f01b"; }
+.icon-inbox:before { content: "\f01c"; }
+.icon-play-circle:before { content: "\f01d"; }
+.icon-repeat:before { content: "\f01e"; }
+
+/* \f020 doesn't work in Safari. all shifted one down */
+.icon-refresh:before { content: "\f021"; }
+.icon-list-alt:before { content: "\f022"; }
+.icon.lock:before { content: "\f023"; }
+.icon-flag:before { content: "\f024"; }
+.icon-headphones:before { content: "\f025"; }
+.icon-volume-off:before { content: "\f026"; }
+.icon-volume-down:before { content: "\f027"; }
+.icon-volume-up:before { content: "\f028"; }
+.icon-qrcode:before { content: "\f029"; }
+.icon-barcode:before { content: "\f02a"; }
+.icon-tag:before { content: "\f02b"; }
+.icon-tags:before { content: "\f02c"; }
+.icon-book:before { content: "\f02d"; }
+.icon-bookmark:before { content: "\f02e"; }
+.icon-print:before { content: "\f02f"; }
+
+.icon.camera:before { content: "\f030"; }
+.icon-font:before { content: "\f031"; }
+.icon-bold:before { content: "\f032"; }
+.icon-italic:before { content: "\f033"; }
+.icon-text-height:before { content: "\f034"; }
+.icon-text-width:before { content: "\f035"; }
+.icon-align-left:before { content: "\f036"; }
+.icon-align-center:before { content: "\f037"; }
+.icon-align-right:before { content: "\f038"; }
+.icon-align-justify:before { content: "\f039"; }
+.icon-list:before { content: "\f03a"; }
+.icon-indent-left:before { content: "\f03b"; }
+.icon-indent-right:before { content: "\f03c"; }
+.icon-facetime-video:before { content: "\f03d"; }
+.icon-picture:before { content: "\f03e"; }
+
+.icon.pencil:before { content: "\f040"; }
+.icon-map-marker:before { content: "\f041"; }
+.icon-adjust:before { content: "\f042"; }
+.icon-tint:before { content: "\f043"; }
+.icon.edit:before { content: "\f044"; }
+.icon-share:before { content: "\f045"; }
+.icon.on:before { content: "\f046"; }
+.icon-move:before { content: "\f047"; }
+.icon-step-backward:before { content: "\f048"; }
+.icon-fast-backward:before { content: "\f049"; }
+.icon-backward:before { content: "\f04a"; }
+.icon.play:before { content: "\f04b"; }
+.icon.pause:before { content: "\f04c"; }
+.icon-stop:before { content: "\f04d"; }
+.icon-forward:before { content: "\f04e"; }
+
+.icon-fast-forward:before { content: "\f050"; }
+.icon-step-forward:before { content: "\f051"; }
+.icon-eject:before { content: "\f052"; }
+.icon-chevron-left:before { content: "\f053"; }
+.icon-chevron-right:before { content: "\f054"; }
+.icon-plus-sign:before { content: "\f055"; }
+.icon-minus-sign:before { content: "\f056"; }
+.icon-remove-sign:before { content: "\f057"; }
+.icon-ok-sign:before { content: "\f058"; }
+.icon-question-sign:before { content: "\f059"; }
+.icon-info-sign:before { content: "\f05a"; }
+.icon-screenshot:before { content: "\f05b"; }
+.icon-remove-circle:before { content: "\f05c"; }
+.icon-ok-circle:before { content: "\f05d"; }
+.icon-ban-circle:before { content: "\f05e"; }
+
+.icon-arrow-left:before { content: "\f060"; }
+.icon-arrow-right:before { content: "\f061"; }
+.icon-arrow-up:before { content: "\f062"; }
+.icon-arrow-down:before { content: "\f063"; }
+.icon-share-alt:before { content: "\f064"; }
+.icon-resize-full:before { content: "\f065"; }
+.icon-resize-small:before { content: "\f066"; }
+.icon.add:before { content: "\f067"; }
+.icon-minus:before { content: "\f068"; }
+.icon-asterisk:before { content: "\f069"; }
+.icon.notify:before { content: "\f06a"; }
+.icon-gift:before { content: "\f06b"; }
+.icon-leaf:before { content: "\f06c"; }
+.icon-fire:before { content: "\f06d"; }
+.icon-eye-open:before { content: "\f06e"; }
+
+.icon-eye-close:before { content: "\f070"; }
+.icon-warning-sign:before { content: "\f071"; }
+.icon-plane:before { content: "\f072"; }
+.icon-calendar:before { content: "\f073"; }
+.icon-random:before { content: "\f074"; }
+.icon-comment:before { content: "\f075"; }
+.icon-magnet:before { content: "\f076"; }
+.icon-chevron-up:before { content: "\f077"; }
+.icon-chevron-down:before { content: "\f078"; }
+.icon-retweet:before { content: "\f079"; }
+.icon-shopping-cart:before { content: "\f07a"; }
+.icon-folder-close:before { content: "\f07b"; }
+.icon-folder-open:before { content: "\f07c"; }
+.icon-resize-vertical:before { content: "\f07d"; }
+.icon-resize-horizontal:before { content: "\f07e"; }
+
+.icon-bar-chart:before { content: "\f080"; }
+.icon-twitter-sign:before { content: "\f081"; }
+.icon-facebook-sign:before { content: "\f082"; }
+.icon-camera-retro:before { content: "\f083"; }
+.icon-key:before { content: "\f084"; }
+.icon.gears:before { content: "\f085"; }
+.icon-comments:before { content: "\f086"; }
+.icon.like:before { content: "\f087"; }
+.icon.dislike:before { content: "\f088"; }
+.icon-star-half:before { content: "\f089"; }
+.icon-heart-empty:before { content: "\f08a"; }
+.icon-signout:before { content: "\f08b"; }
+.icon-linkedin-sign:before { content: "\f08c"; }
+.icon-pushpin:before { content: "\f08d"; }
+.icon-external-link:before { content: "\f08e"; }
+
+.icon-signin:before { content: "\f090"; }
+.icon-trophy:before { content: "\f091"; }
+.icon-github-sign:before { content: "\f092"; }
+.icon-upload-alt:before { content: "\f093"; }
+.icon-lemon:before { content: "\f094"; }
+.icon-phone:before { content: "\f095"; }
+.icon.off:before { content: "\f096"; }
+.icon-bookmark-empty:before { content: "\f097"; }
+.icon-phone-sign:before { content: "\f098"; }
+.icon-twitter:before { content: "\f099"; }
+.icon-facebook:before { content: "\f09a"; }
+.icon-github:before { content: "\f09b"; }
+.icon.unlock:before { content: "\f09c"; }
+.icon-credit-card:before { content: "\f09d"; }
+.icon-rss:before { content: "\f09e"; }
+
+.icon-hdd:before { content: "\f0a0"; }
+.icon-bullhorn:before { content: "\f0a1"; }
+.icon-bell:before { content: "\f0a2"; }
+.icon-certificate:before { content: "\f0a3"; }
+.icon-hand-right:before { content: "\f0a4"; }
+.icon-hand-left:before { content: "\f0a5"; }
+.icon-hand-up:before { content: "\f0a6"; }
+.icon-hand-down:before { content: "\f0a7"; }
+.icon-circle-arrow-left:before { content: "\f0a8"; }
+.icon-circle-arrow-right:before { content: "\f0a9"; }
+.icon-circle-arrow-up:before { content: "\f0aa"; }
+.icon-circle-arrow-down:before { content: "\f0ab"; }
+.icon.globe:before { content: "\f0ac"; }
+.icon-wrench:before { content: "\f0ad"; }
+.icon-tasks:before { content: "\f0ae"; }
+
+.icon-filter:before { content: "\f0b0"; }
+.icon-briefcase:before { content: "\f0b1"; }
+.icon-fullscreen:before { content: "\f0b2"; }
+
+.icon-group:before { content: "\f0c0"; }
+.icon.link:before { content: "\f0c1"; }
+.icon-cloud:before { content: "\f0c2"; }
+.icon-beaker:before { content: "\f0c3"; }
+.icon-cut:before { content: "\f0c4"; }
+.icon-copy:before { content: "\f0c5"; }
+.icon-paper-clip:before { content: "\f0c6"; }
+.icon-save:before { content: "\f0c7"; }
+.icon-sign-blank:before { content: "\f0c8"; }
+.icon-reorder:before { content: "\f0c9"; }
+.icon-list-ul:before { content: "\f0ca"; }
+.icon-list-ol:before { content: "\f0cb"; }
+.icon-strikethrough:before { content: "\f0cc"; }
+.icon-underline:before { content: "\f0cd"; }
+.icon-table:before { content: "\f0ce"; }
+
+.icon-magic:before { content: "\f0d0"; }
+.icon-truck:before { content: "\f0d1"; }
+.icon-pinterest:before { content: "\f0d2"; }
+.icon-pinterest-sign:before { content: "\f0d3"; }
+.icon-google-plus-sign:before { content: "\f0d4"; }
+.icon-google-plus:before { content: "\f0d5"; }
+.icon-money:before { content: "\f0d6"; }
+.icon.menu:before { content: "\f0d7"; }
+.icon-caret-up:before { content: "\f0d8"; }
+.icon-caret-left:before { content: "\f0d9"; }
+.icon-caret-right:before { content: "\f0da"; }
+.icon-columns:before { content: "\f0db"; }
+.icon-sort:before { content: "\f0dc"; }
+.icon-sort-down:before { content: "\f0dd"; }
+.icon-sort-up:before { content: "\f0de"; }
+
+.icon-envelope-alt:before { content: "\f0e0"; }
+.icon-linkedin:before { content: "\f0e1"; }
+.icon-undo:before { content: "\f0e2"; }
+.icon-legal:before { content: "\f0e3"; }
+.icon-dashboard:before { content: "\f0e4"; }
+.icon-comment-alt:before { content: "\f0e5"; }
+.icon-comments-alt:before { content: "\f0e6"; }
+.icon-bolt:before { content: "\f0e7"; }
+.icon-sitemap:before { content: "\f0e8"; }
+.icon-umbrella:before { content: "\f0e9"; }
+.icon-paste:before { content: "\f0ea"; }
+
+.icon-user-md:before { content: "\f200"; }
+
+.icon.type-image:before { content: "\f03e"; }
+.icon.type-video:before { content: "\f008"; }
+.icon.type-audio:before { content: "\f001"; }
+.icon.type-text:before { content: "\f036"; }
+.icon.type.unkn:before { content: "\f059"; }
+
+.icon.drop:before { content: "\f014"; }
+.icon.drophilde:before { content: "\f014"; }
+
+.small-pencil:before, .savedsearchdrop:before {
+ font-family: FontAwesome;
+ font-weight: normal;
+ font-style: normal;
+ display: inline-block;
+ text-decoration: inherit;
+ vertical-align: top;
+}
+
+.small-pencil:before { content: "\f040"; }
+.savedsearchdrop:before { content: "\f014"; }
<div class="comment-edit-text-end"></div>
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
- <div class="comment-edit-bb-{{$id}}">
- <a class="icon bb-image" style="cursor: pointer;" title="{{$edimg}}" onclick="insertFormatting('{{$comment}}','img',{{$id}});">img</a>
- <a class="icon bb-url" style="cursor: pointer;" title="{{$edurl}}" onclick="insertFormatting('{{$comment}}','url',{{$id}});">url</a>
- <a class="icon bb-video" style="cursor: pointer;" title="{{$edvideo}}" onclick="insertFormatting('{{$comment}}','video',{{$id}});">video</a>
+ <div class="comment-edit-bb">
+ <a title="{{$edimg}}" onclick="insertFormatting('{{$comment}}','img',{{$id}});"><i class="icon-picture"></i></a>
+ <a title="{{$edurl}}" onclick="insertFormatting('{{$comment}}','url',{{$id}});"><i class="icon-bookmark"></i></a>
+ <a title="{{$edvideo}}" onclick="insertFormatting('{{$comment}}','video',{{$id}});"><i class="icon-film"></i></a>
- <a class="icon underline" style="cursor: pointer;" title="{{$eduline}}" onclick="insertFormatting('{{$comment}}','u',{{$id}});">u</a>
- <a class="icon italic" style="cursor: pointer;" title="{{$editalic}}" onclick="insertFormatting('{{$comment}}','i',{{$id}});">i</a>
- <a class="icon bold" style="cursor: pointer;" title="{{$edbold}}" onclick="insertFormatting('{{$comment}}','b',{{$id}});">b</a>
- <a class="icon quote" style="cursor: pointer;" title="{{$edquote}}" onclick="insertFormatting('{{$comment}}','quote',{{$id}});">quote</a>
+ <a title="{{$eduline}}" onclick="insertFormatting('{{$comment}}','u',{{$id}});"><i class="icon-underline"></i></a>
+ <a title="{{$editalic}}" onclick="insertFormatting('{{$comment}}','i',{{$id}});"><i class="icon-italic"></i></a>
+ <a title="{{$edbold}}" onclick="insertFormatting('{{$comment}}','b',{{$id}});"><i class="icon-bold"></i></a>
+ <a title="{{$edquote}}" onclick="insertFormatting('{{$comment}}','quote',{{$id}});"><i class="icon-comments"></i></a>
+
</div>
<input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
<span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
</li>
{{/if}}
- <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">Site</span></a>
+ <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear" style="color: lightgray;"></span></a>
<ul id="nav-site-menu" class="menu-popup">
{{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}
{{if $nav.help}} <li><a class="{{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>{{/if}}
</ul>
</li>
{{if $nav.notifications}}
- <li id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 notify">{{$nav.notifications.1}}</span></a>
+ <li id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 notify"></span></a>
<span id="notify-update" class="nav-notify"></span>
<ul id="nav-notifications-menu" class="menu-popup">
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
</div>
<div class="wall-item-bottom">
<div class="">
- {{if $item.plink}}<a title="{{$item.plink.title}}" href="{{$item.plink.href}}"><i class="icon-link icon-large"></i></a>{{/if}}
+ <!-- {{if $item.plink}}<a title="{{$item.plink.title}}" href="{{$item.plink.href}}"><i class="icon-link icon-large"></i></a>{{/if}} -->
+ {{if $item.conv}}<a href='{{$item.conv.href}}' id='context-{{$item.id}}' title='{{$item.conv.title}}'><i class="icon-link icon-large"></i></a>{{/if}}
</div>
<div class="wall-item-actions">
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a>
{{if $item.owner_url}}{{$item.via}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> <!-- {{$item.vwall}} -->{{/if}}
<span class="wall-item-ago">-
- {{if $item.plink}}<a class="link" title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
+ {{if $item.plink}}<a title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
{{if $item.lock}} - <span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
</span>
</div>
<span class='mention'>{{$tag}}</span>
{{/foreach}}
{{foreach $item.folders as $cat}}
- <span class='folder'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$item.remove}}">x</a>) {{/if}} </span>
+ <span class='folder'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
{{/foreach}}
{{foreach $item.categories as $cat}}
- <span class='category'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$item.remove}}">x</a>) {{/if}} </span>
+ <span class='category'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
{{/foreach}}
</div>
</div>
{{/if}}
{{/if}}
{{if $item.vote.share}}
- <a href="#" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"><i class="icon-share icon-large"></i></a>
+ <a href="#" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"><i class="icon-retweet icon-large"></i></a>
{{/if}}
{{if $item.star}}
<a href="#" id="star-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="{{$item.star.classdo}}" title="{{$item.star.do}}"><i class="icon-star icon-large"></i></a>
.admin.link {
list-style-position: inside;
font-size: 1em;
- padding-left: 5px;
- margin: 5px;
+/* padding-left: 5px;
+ margin: 5px; */
}
#adminpage dl {
margin-bottom: 5px;
}
-div.pager, .birthday-notice {
+div.pager {
+/* .birthday-notice { */
text-align: center;
height: 1.2em;
padding-bottom: 12px;
- -webkit-border-radius: 6px;
+ color: black;
+ /*-webkit-border-radius: 6px;
-moz-border-radius: 6px;
- border-radius: 6px;
+ border-radius: 6px;*/
background-color: #f2f2f2;
clear: left;
margin-top: 5px;
padding: 1%;
height: 1em;
margin-bottom: 5px;
-}
+}*/
.birthday-notice {
margin-top: 5px;
border: none;
}
+#contact-edit-drop-link-end {
+ /* clear: both; */
+}
+
#contact-edit-links ul {
list-style: none;
list-style-type: none;
body {
font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
- background-color: #ffffff;
+ /* background-color: #ffffff; */
+ /* background-color: #ddd; */
+ background-color: #F2F2F2;
color: #2d2d2d;
margin: 37px 0px 0px 0px;
display: table;
+ /* width: 100% */
}
h4 {
font-size: 1.1em;
.tool a {
/* color: #000; */
}
-.tool a:hover {
- text-decoration: underline;
+.tool a:hover, .widget a:hover, #nets-sidear a:hover, #hide-forum-list:hover, .admin.link a:hover, aside h4 a:hover {
+ /* text-decoration: underline; */
+ text-decoration: none;
+ color: black;
}
+
.groupsideedit, .savedsearchdrop {
float: right;
opacity: 0.3;
opacity: 1;
}
+.sidebar-group-li:hover, #sidebar-new-group:hover, #hide-forum-list:hover,
+#sidebar-ungrouped:hover, .side-link:hover, .nets-ul li:hover, #forum-list div:hover,
+.nets-all:hover, .saved-search-li:hover, li.tool:hover, .admin.link:hover, aside h4 a:hover, #message-new:hover {
+ /* background-color: #ddd; */
+ background-color: #e5e5e5;
+}
+
+#message-new a {
+ color: black;
+}
+
.sidebar-group-element {
/* color: #000; */
}
-#sidebar-new-group, #posted-date-selector, #hide-forum-list, #forum-list, #sidebar-ungrouped,
-.side-link, #peoplefind-desc, #connect-desc, #follow-sidebar form, #peoplefind-sidebar form,
-#netsearch-box form {
+.group-selected, .nets-selected, .fileas-selected {
+ font-weight: bold;
+}
+
+#sidebar-new-group, #hide-forum-list, #forum-list, #sidebar-ungrouped,
+.side-link, #peoplefind-desc, #connect-desc, .nets-all, .admin.link, #message-new {
+ padding-left: 10px;
+ padding-top: 3px;
+ padding-bottom: 3px;
+ padding-right: 5px;
+ display: block;
+}
+
+a.nets-link, .side-link a, #sidebar-new-group a, a.savedsearchterm, a.fileas-link, aside h4 a {
+ display: block;
+ color: black;
+}
+
+a.sidebar-group-element {
+ color: black;
+}
+
+#follow-sidebar form, #peoplefind-sidebar form, #netsearch-box form, #posted-date-selector {
margin-left: 10px;
+ margin-top: 3px;
+ margin-bottom: 3px;
}
#sidebar-ungrouped, .side-link {
padding-top: 5px;
}
+#sidebar-ungrouped a {
+ color: black;
+}
+
+#forum-list a, .tool a, .admin.link a {
+ color: black;
+}
+
#forum-list {
margin-top: 2px;
}
left: 0px;
right: auto;
}
+
nav #search-box #search-text {
- /* background-image: url('icons/lupe.png'); */
- background-repeat:no-repeat;
+ /*background-image: url('icons/lupe.png');
+ background-repeat:no-repeat; */
padding-left:0px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
position: relative;
height: 17px;
margin: 4px 0px 4px 4px;
+ width: 150px;
+ max-width: 150px;
}
nav .nav-menu-icon {
text-decoration: none;
}
ul.menu-popup a:hover {
- background-color: #bdcdd4;
+ /* background-color: #bdcdd4; */
+ background-color: #e5e5e5;
}
ul.menu-popup .menu-sep {
border-top: 1px solid #9eabb0;
padding: 7px 7px 0px 0px;
}
+right_aside {
+ width: 0px;
+ display: block;
+}
+
/* aside */
aside {
display: table-cell;
vertical-align: top;
width: 185px;
padding: 10px 10px 10px 20px;
- border-right: 1px solid #D2D2D2;
- background-color: #ECECF2;
+ /* border-right: 1px solid #D2D2D2; */
+ /* background-color: #ECECF2; */
+ background-color: #F2F2F2;
font-size: 14px;
/* background: #F1F1F1; */
}
height: auto;
overflow: auto;
}
+
+aside select {
+ background-color: white;
+ width: 165px;
+}
+
aside .vcard dt {
float: left;
margin-left: 0px;
.nets-ul {
margin-top: 0px;
}
-.nets-all {
- margin-left: 10px;
-}
#contact-block {
overflow: auto;
margin-bottom: 0px;
}
.widget ul li {
- padding-left: 5px;
+ padding-left: 10px;
/* min-height: 20px; */
list-style: none;
- padding-top: 0px;
- padding-bottom: 0px;
- margin: 5px;
+ padding-top: 3px;
+ padding-bottom: 3px;
+ margin: 0px;
}
.widget .tool.selected {
background: url('../../../images/selected.png') no-repeat left center;
section {
display: table-cell;
vertical-align: top;
- width: 760px;
- padding: 10px 0px 10px 10px;
+ width: 766px;
+ max-width: 766px;
+ padding: 10px 10px 10px 10px;
+ background-color: white;
}
/* wall item */
.tread-wrapper {
list-style-type: none;
padding-bottom: 10px;
font-size: 14px;
+ padding-left: 0px;
+ margin-bottom: 30px;
}
ul.tabs li {
float: left;
- margin-left: 7px;
+ /* margin-left: 7px; */
}
/*ul.tabs li .active {
border-bottom: 1px solid #005c94;
float: left;
}
-ul.tabs a, #jot-preview-link, .comment-edit-submit-wrapper .fakelink {
+div.pager, .birthday-notice, ul.tabs a, #jot-preview-link, .comment-edit-submit-wrapper .fakelink {
+ border: 1px solid lightgray;
+ color: black;
+ background: #F2F2F2;
+ padding: 3px 7px 2px 7px;
+ margin-top: 2px;
+ margin-bottom: 2px;
+
/* padding: 0px 10px 1px 10px; */
- padding: 0px 5px 1px 5px;
+ /*padding: 0px 5px 1px 5px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
background: -o-linear-gradient(top, #ffffff 0%,#ececf2 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#ececf2 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ececf2',GradientType=0 );
- background: linear-gradient(top, #ffffff 0%,#ececf2 100%);
+ background: linear-gradient(top, #ffffff 0%,#ececf2 100%);*/
}
-ul.tabs li .active, ul.tabs a:hover, #jot-preview-link:hover, .comment-edit-submit-wrapper .fakelink:hover {
- color: #fff;
- text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
- border: 1px solid #ececf2;
- background: #364a84;
+#event-notice:hover, ul.tabs li .active, ul.tabs a:hover, #jot-preview-link:hover, .comment-edit-submit-wrapper .fakelink:hover {
+ color: black;
+ background-color: #e5e5e5;
+ text-decoration: none;
+ border: 1px solid darkgray;
+
+ /*text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
background: -moz-linear-gradient(top, #7b8dbb 0%, #364a84 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7b8dbb), color-stop(100%,#364a84));
background: -webkit-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
background: -o-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
background: -ms-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b8dbb', endColorstr='#364a84',GradientType=0 );
- background: linear-gradient(top, #7b8dbb 0%,#364a84 100%);
- text-decoration: none;
+ background: linear-gradient(top, #7b8dbb 0%,#364a84 100%);*/
}
.comment-edit-bb {
* Description: "Vier" uses the font awesome font library: http://fortawesome.github.com/Font-Awesome/
*/
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
$a->theme_info = array();
<span class='mention'>$tag</span>
{{ endfor }}
{{ for $item.folders as $cat }}
- <span class='folder'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$item.remove">x</a>) {{endif}} </span>
+ <span class='folder'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}} </span>
{{ endfor }}
{{ for $item.categories as $cat }}
- <span class='category'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$item.remove">x</a>) {{endif}} </span>
+ <span class='category'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}} </span>
{{ endfor }}
</div>
</div>
<p>$import.intro</p>\r
<p>$import.instruct</p>\r
<p><b>$import.warn</b></p>\r
- {{inc $field_custom with $field=$import.field }}{{ endinc }}\r
+ {{inc field_custom.tpl with $field=$import.field }}{{ endinc }}\r
\r
\r
<div id="register-submit-wrapper">\r
<h3>$title</h3>
{{ for $contacts as $c }}
- {{ inc $contact_template with $contact=$c }}{{ endinc }}
+ {{ inc contact_template.tpl with $contact=$c }}{{ endinc }}
{{ endfor }}
<div id="view-contact-end"></div>
{{ endfor }}
</div>
{{ if $item.has_cats }}
- <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name{{ if $cat.removeurl }} <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a>{{ endif }} {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name{{ if $cat.removeurl }} <a href="$cat.removeurl" title="$remove">[$remove]</a>{{ endif }} {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
{{ if $item.has_folders }}
- <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name{{ if $cat.removeurl}} <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a>{{ endif }}{{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+ <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name{{ if $cat.removeurl}} <a href="$cat.removeurl" title="$remove">[$remove]</a>{{ endif }}{{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
</div>