Merge pull request #561 from fermionic/20121225-smarty-includes-like-friendicas
20121225 smarty includes like friendicas
This commit is contained in:
commit
7e9730089f
127 changed files with 660 additions and 879 deletions
19
boot.php
19
boot.php
|
@ -969,16 +969,7 @@ if(! function_exists('login')) {
|
|||
$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'),
|
||||
|
@ -997,6 +988,7 @@ if(! function_exists('login')) {
|
|||
|
||||
'$lostpass' => t('Forgot your password?'),
|
||||
'$lostlink' => t('Password Reset'),
|
||||
|
||||
));
|
||||
|
||||
call_hooks('login_hook',$o);
|
||||
|
@ -1348,15 +1340,10 @@ if(! function_exists('profile_sidebar')) {
|
|||
$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,
|
||||
|
|
|
@ -5,20 +5,24 @@ require_once("library/Smarty/libs/Smarty.class.php");
|
|||
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;
|
||||
|
@ -28,7 +32,7 @@ class FriendicaSmarty extends Smarty {
|
|||
if($template) {
|
||||
return $this->fetch('string:' . $template);
|
||||
}
|
||||
return $this->fetch('file:' . $this->root . $this->filename);
|
||||
return $this->fetch('file:' . $this->filename);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -499,21 +499,6 @@ function get_template_file($a, $filename, $root = '') {
|
|||
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;
|
||||
}
|
||||
}}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -455,16 +455,7 @@ function admin_page_site(&$a) {
|
|||
);
|
||||
|
||||
$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'),
|
||||
|
@ -1144,14 +1135,7 @@ readable.");
|
|||
}
|
||||
}
|
||||
|
||||
$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'),
|
||||
|
@ -1210,14 +1194,7 @@ function admin_page_remoteupdate(&$a) {
|
|||
}
|
||||
|
||||
$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"),
|
||||
|
|
|
@ -346,12 +346,7 @@ function contacts_content(&$a) {
|
|||
|
||||
$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'),
|
||||
|
@ -576,13 +571,7 @@ function contacts_content(&$a) {
|
|||
}
|
||||
|
||||
$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,
|
||||
|
|
|
@ -24,14 +24,9 @@ function filer_content(&$a) {
|
|||
$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);
|
||||
|
||||
$o = replace_macros($tpl,$includes + array(
|
||||
$o = replace_macros($tpl, array(
|
||||
'$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),
|
||||
'$submit' => t('Save'),
|
||||
));
|
||||
|
|
|
@ -83,13 +83,7 @@ function group_content(&$a) {
|
|||
|
||||
$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'),
|
||||
);
|
||||
|
||||
|
|
|
@ -220,14 +220,7 @@ function install_content(&$a) {
|
|||
|
||||
|
||||
$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.'),
|
||||
|
@ -267,13 +260,7 @@ function install_content(&$a) {
|
|||
$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'),
|
||||
|
||||
|
|
|
@ -497,12 +497,6 @@ function message_content(&$a) {
|
|||
|
||||
$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']);
|
||||
}
|
||||
|
@ -510,7 +504,7 @@ function message_content(&$a) {
|
|||
$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,
|
||||
|
|
|
@ -55,13 +55,7 @@ function nogroup_content(&$a) {
|
|||
}
|
||||
|
||||
$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),
|
||||
|
|
|
@ -145,12 +145,7 @@ function notifications_content(&$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'],
|
||||
|
@ -196,12 +191,7 @@ function notifications_content(&$a) {
|
|||
));
|
||||
}
|
||||
|
||||
$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,
|
||||
|
@ -226,12 +216,7 @@ function notifications_content(&$a) {
|
|||
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,
|
||||
'$notif_content' => $notif_content,
|
||||
|
@ -317,12 +302,7 @@ function notifications_content(&$a) {
|
|||
$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,
|
||||
'$notif_content' => $notif_content,
|
||||
|
@ -352,12 +332,7 @@ function notifications_content(&$a) {
|
|||
$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,
|
||||
'$notif_content' => $notif_content,
|
||||
|
@ -452,12 +427,7 @@ function notifications_content(&$a) {
|
|||
$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,
|
||||
'$notif_content' => $notif_content,
|
||||
|
@ -538,12 +508,7 @@ function notifications_content(&$a) {
|
|||
$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,
|
||||
'$notif_content' => $notif_content,
|
||||
|
|
|
@ -61,12 +61,7 @@ function notify_content(&$a) {
|
|||
$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,
|
||||
'$notif_content' => $notif_content,
|
||||
|
|
|
@ -1679,13 +1679,7 @@ function photos_content(&$a) {
|
|||
}
|
||||
|
||||
$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'),
|
||||
|
|
|
@ -147,13 +147,7 @@ function poco_init(&$a) {
|
|||
|
||||
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') {
|
||||
|
|
|
@ -554,13 +554,7 @@ function settings_content(&$a) {
|
|||
|
||||
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'),
|
||||
|
@ -586,13 +580,7 @@ function settings_content(&$a) {
|
|||
$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'),
|
||||
|
@ -675,13 +663,7 @@ function settings_content(&$a) {
|
|||
|
||||
|
||||
$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,
|
||||
|
@ -733,16 +715,7 @@ function settings_content(&$a) {
|
|||
}
|
||||
|
||||
|
||||
$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'),
|
||||
|
@ -832,15 +805,7 @@ function settings_content(&$a) {
|
|||
}
|
||||
|
||||
$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'),
|
||||
|
@ -926,13 +891,7 @@ function settings_content(&$a) {
|
|||
|
||||
|
||||
$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)),
|
||||
|
@ -1053,17 +1012,7 @@ function settings_content(&$a) {
|
|||
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'),
|
||||
|
|
|
@ -60,13 +60,7 @@ function uimport_content(&$a) {
|
|||
|
||||
|
||||
$tpl = get_markup_template("uimport.tpl");
|
||||
|
||||
$includes = array(
|
||||
'$field_custom' => 'field_custom.tpl',
|
||||
);
|
||||
$includes = set_template_includes($a->theme['template_engine'], $includes);
|
||||
|
||||
return replace_macros($tpl, $includes + array(
|
||||
return replace_macros($tpl, array(
|
||||
'$regbutt' => t('Import'),
|
||||
'$import' => array(
|
||||
'title' => t("Move account"),
|
||||
|
|
|
@ -72,13 +72,7 @@ function viewcontacts_content(&$a) {
|
|||
|
||||
|
||||
$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),
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
<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>
|
||||
|
||||
|
|
|
@ -84,10 +84,10 @@
|
|||
<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 }}
|
||||
|
|
|
@ -41,65 +41,65 @@
|
|||
<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_checkbox with $field=$new_share }}{{ 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_input with $field=$lockpath }}{{ endinc }}
|
||||
{{ inc $field_input with $field=$temppath }}{{ endinc }}
|
||||
{{ inc $field_input with $field=$basepath }}{{ 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 with $field=$use_fulltext_engine }}{{ endinc }}
|
||||
{{ inc $field_input with $field=$itemcache }}{{ endinc }}
|
||||
{{ inc $field_input with $field=$itemcache_duration }}{{ endinc }}
|
||||
{{ 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>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
<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>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<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>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
{{ 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>
|
||||
|
|
|
@ -15,7 +15,7 @@ $tabs
|
|||
|
||||
|
||||
{{ 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>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
{{ if $field.0==select }}
|
||||
{{ inc $field_select }}{{ endinc }}
|
||||
{{ inc field_select.tpl }}{{ endinc }}
|
||||
{{ endif }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{ 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>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<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" >
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
{{ 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 }}
|
||||
|
|
|
@ -18,10 +18,10 @@ $info_03
|
|||
<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" />
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<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" />
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
<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" >
|
||||
|
|
|
@ -3,17 +3,17 @@
|
|||
<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 }}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
{{ 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 with $reply=$reply_info }}{{ endinc }}
|
||||
{{ else }}
|
||||
$unknown_text
|
||||
{{endif }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<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>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<h1>$notif_header</h1>
|
||||
|
||||
{{ inc $common_tabs with $tabs=$tabs_data }}{{ endinc }}
|
||||
{{ inc common_tabs.tpl with $tabs=$tabs_data }}{{ endinc }}
|
||||
|
||||
<div class="notif-network-wrapper">
|
||||
$notif_content
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{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}}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<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>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
{{ 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>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{{ 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 with $diaspora=$diaspora_info }}{{ endinc }}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
|
|
|
@ -7,11 +7,11 @@ $nickname_block
|
|||
|
||||
<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" >
|
||||
|
@ -21,11 +21,11 @@ $nickname_block
|
|||
|
||||
<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" >
|
||||
|
@ -38,7 +38,7 @@ $nickname_block
|
|||
|
||||
<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
|
||||
|
||||
|
@ -57,9 +57,9 @@ $suggestme
|
|||
$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">
|
||||
|
@ -67,10 +67,10 @@ $unkmail
|
|||
<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>
|
||||
|
||||
|
@ -108,22 +108,22 @@ $group_select
|
|||
|
||||
<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>
|
||||
|
|
|
@ -14,16 +14,16 @@ $settings_connectors
|
|||
<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" />
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<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" >
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<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 }}
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<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" />
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
<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>
|
||||
|
||||
|
|
|
@ -84,10 +84,10 @@
|
|||
<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}}
|
||||
|
|
|
@ -41,65 +41,65 @@
|
|||
<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="file:{{$field_checkbox}}" field=$new_share}}
|
||||
{{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="file:{{$field_input}}" field=$lockpath}}
|
||||
{{include file="file:{{$field_input}}" field=$temppath}}
|
||||
{{include file="file:{{$field_input}}" field=$basepath}}
|
||||
{{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="file:{{$field_checkbox}}" field=$use_fulltext_engine}}
|
||||
{{include file="file:{{$field_input}}" field=$itemcache}}
|
||||
{{include file="file:{{$field_input}}" field=$itemcache_duration}}
|
||||
{{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>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
<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>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<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>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
{{/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>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
|
||||
{{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>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
{{if $field.0==select}}
|
||||
{{include file="file:{{$field_select}}"}}
|
||||
{{include file="field_select.tpl"}}
|
||||
{{/if}}
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
</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>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{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>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<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}}" >
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
{{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}}
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
<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}}" />
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<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}}" />
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
<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}}" >
|
||||
|
|
|
@ -3,17 +3,17 @@
|
|||
<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}}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
{{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" reply=$reply_info}}
|
||||
{{else}}
|
||||
{{$unknown_text}}
|
||||
{{/if}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<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>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<h1>{{$notif_header}}</h1>
|
||||
|
||||
{{include file="file:{{$common_tabs}}" tabs=$tabs_data}}
|
||||
{{include file="common_tabs.tpl" tabs=$tabs_data}}
|
||||
|
||||
<div class="notif-network-wrapper">
|
||||
{{$notif_content}}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<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>
|
||||
<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>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{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}}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<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>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
{{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>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{{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" diaspora=$diaspora_info}}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
<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" >
|
||||
|
@ -21,11 +21,11 @@
|
|||
|
||||
<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" >
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
<input type="hidden" name="visibility" value="{{$visibility}}" />
|
||||
|
||||
{{include file="file:{{$field_input}}" field=$maxreq}}
|
||||
{{include file="field_input.tpl" field=$maxreq}}
|
||||
|
||||
{{$profile_in_dir}}
|
||||
|
||||
|
@ -57,9 +57,9 @@
|
|||
{{$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">
|
||||
|
@ -67,10 +67,10 @@
|
|||
<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>
|
||||
|
||||
|
@ -108,22 +108,22 @@
|
|||
|
||||
<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>
|
||||
|
|
|
@ -14,16 +14,16 @@
|
|||
<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}}" />
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<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" >
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<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}}
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<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}}" />
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<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>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<p>{{$import.intro}}</p>
|
||||
<p>{{$import.instruct}}</p>
|
||||
<p><b>{{$import.warn}}</b></p>
|
||||
{{include file="file:{{$field_custom}}" field=$import.field}}
|
||||
{{include file="field_custom.tpl" field=$import.field}}
|
||||
|
||||
|
||||
<div id="register-submit-wrapper">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<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>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<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>
|
||||
|
|
|
@ -75,15 +75,8 @@ function cleanzero_form(&$a, $color,$font_size,$resize,$theme_width){
|
|||
"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"),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{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">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{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">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<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>
|
||||
|
@ -13,9 +13,9 @@
|
|||
<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>
|
||||
|
@ -35,16 +35,16 @@ just contact me, if you are intesrested in joining</p>
|
|||
<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>
|
||||
|
|
|
@ -147,16 +147,8 @@ function diabook_form(&$a, $font_size, $line_height, $resolution, $color, $TSear
|
|||
|
||||
|
||||
|
||||
// $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"),
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
<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 }}
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
{{ 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 with $reply=$reply_info }}{{ endinc }}
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
{{ 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 with $diaspora=$diaspora_info }}{{ endinc }}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<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>
|
||||
|
@ -13,9 +13,9 @@
|
|||
<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>
|
||||
|
@ -35,16 +35,16 @@ just contact me, if you are intesrested in joining</p>
|
|||
<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>
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
<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}}
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
{{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" reply=$reply_info}}
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
{{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" diaspora=$diaspora_info}}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
{{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="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="file:{{$field_input}}" field=$ELPosX}}
|
||||
{{include file="field_input.tpl" field=$ELPosX}}
|
||||
|
||||
{{include file="file:{{$field_input}}" field=$ELPosY}}
|
||||
{{include file="field_input.tpl" field=$ELPosY}}
|
||||
|
||||
{{include file="file:{{$field_input}}" field=$ELZoom}}
|
||||
{{include file="field_input.tpl" field=$ELZoom}}
|
||||
|
||||
<div class="settings-submit-wrapper">
|
||||
<input type="submit" value="{{$submit}}" class="settings-submit" name="diabook-settings-submit" />
|
||||
|
|
|
@ -656,21 +656,16 @@ if ($color=="dark") $color_path = "/diabook-dark/";
|
|||
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;
|
||||
$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');
|
||||
|
||||
$includes = array(
|
||||
'$field_select' => 'field_select.tpl',
|
||||
'$field_input' => 'field_input.tpl',
|
||||
);
|
||||
$includes = set_template_includes($a->theme['template_engine'], $includes);
|
||||
|
||||
$a->page['right_aside'] = replace_macros($tpl, $includes + $aside);
|
||||
$a->page['right_aside'] = replace_macros($tpl, $aside);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
{{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_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 with $field=$ELPosX}}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$ELPosX}}{{endinc}}
|
||||
|
||||
{{inc $field_input with $field=$ELPosY}}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$ELPosY}}{{endinc}}
|
||||
|
||||
{{inc $field_input with $field=$ELZoom}}{{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" />
|
||||
|
|
|
@ -66,13 +66,7 @@ function dispy_form(&$a, $font_size, $line_height, $colour) {
|
|||
);
|
||||
|
||||
$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"),
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
target="external-link">$profile.homepage</a></span>
|
||||
</div>{{ endif }}
|
||||
|
||||
{{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
|
||||
{{ inc diaspora_vcard.tpl with $diaspora=$diaspora_info }}{{ endinc }}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
target="external-link">{{$profile.homepage}}</a></span>
|
||||
</div>{{/if}}
|
||||
|
||||
{{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
|
||||
{{include file="diaspora_vcard.tpl" diaspora=$diaspora_info}}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{{ 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 with $diaspora=$diaspora_info }}{{ endinc }}
|
||||
|
||||
<div id="profile-vcard-break"></div>
|
||||
<div id="profile-extra-links">
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{{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" diaspora=$diaspora_info}}
|
||||
|
||||
<div id="profile-vcard-break"></div>
|
||||
<div id="profile-extra-links">
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{{ 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 with $diaspora=$diaspora_info }}{{ endinc }}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{{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" diaspora=$diaspora_info}}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
|
|
|
@ -5,55 +5,55 @@
|
|||
<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>
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ $tabs
|
|||
|
||||
<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>
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
<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 }}
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
|||
</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" />
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue