mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
Merge https://github.com/friendica/red into zpull
This commit is contained in:
commit
735140e8d9
370 changed files with 3049 additions and 7781 deletions
3
.gitignore
vendored
Normal file → Executable file
3
.gitignore
vendored
Normal file → Executable file
|
@ -29,3 +29,6 @@ report/
|
|||
|
||||
#ignore OSX .DS_Store files
|
||||
.DS_Store
|
||||
|
||||
#netbeans project folder
|
||||
nbproject
|
||||
|
|
84
boot.php
Normal file → Executable file
84
boot.php
Normal file → Executable file
|
@ -546,9 +546,14 @@ class App {
|
|||
'force_max_items' => 0,
|
||||
'thread_allow' => true,
|
||||
'stylesheet' => '',
|
||||
'template_engine' => 'internal',
|
||||
'template_engine' => 'smarty3',
|
||||
);
|
||||
|
||||
// array of registered template engines ('name'=>'class name')
|
||||
public $template_engines = array();
|
||||
// array of instanced template engines ('name'=>'instance')
|
||||
public $template_engine_instance = array();
|
||||
|
||||
private $ldelim = array(
|
||||
'internal' => '',
|
||||
'smarty3' => '{{'
|
||||
|
@ -680,6 +685,16 @@ class App {
|
|||
$this->is_tablet = $mobile_detect->isTablet();
|
||||
|
||||
BaseObject::set_app($this);
|
||||
|
||||
/**
|
||||
* register template engines
|
||||
*/
|
||||
$dc = get_declared_classes();
|
||||
foreach ($dc as $k) {
|
||||
if (in_array("ITemplateEngine", class_implements($k))){
|
||||
$this->register_template_engine($k);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function get_baseurl($ssl = false) {
|
||||
|
@ -897,28 +912,79 @@ class App {
|
|||
return $this->curl_headers;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* register template engine class
|
||||
* if $name is "", is used class static property $class::$name
|
||||
* @param string $class
|
||||
* @param string $name
|
||||
*/
|
||||
function register_template_engine($class, $name = '') {
|
||||
if ($name===""){
|
||||
$v = get_class_vars( $class );
|
||||
if(x($v,"name")) $name = $v['name'];
|
||||
}
|
||||
if ($name===""){
|
||||
echo "template engine <tt>$class</tt> cannot be registered without a name.\n";
|
||||
killme();
|
||||
}
|
||||
$this->template_engines[$name] = $class;
|
||||
}
|
||||
|
||||
/**
|
||||
* return template engine instance. If $name is not defined,
|
||||
* return engine defined by theme, or default
|
||||
*
|
||||
* @param strin $name Template engine name
|
||||
* @return object Template Engine instance
|
||||
*/
|
||||
function template_engine($name = ''){
|
||||
if ($name!=="") {
|
||||
$template_engine = $name;
|
||||
} else {
|
||||
$template_engine = 'smarty3';
|
||||
if (x($this->theme, 'template_engine')) {
|
||||
$template_engine = $this->theme['template_engine'];
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($this->template_engines[$template_engine])){
|
||||
if(isset($this->template_engine_instance[$template_engine])){
|
||||
return $this->template_engine_instance[$template_engine];
|
||||
} else {
|
||||
$class = $this->template_engines[$template_engine];
|
||||
$obj = new $class;
|
||||
$this->template_engine_instance[$template_engine] = $obj;
|
||||
return $obj;
|
||||
}
|
||||
}
|
||||
|
||||
echo "template engine <tt>$template_engine</tt> is not registered!\n"; killme();
|
||||
}
|
||||
|
||||
function get_template_engine() {
|
||||
return $this->theme['template_engine'];
|
||||
}
|
||||
|
||||
function set_template_engine($engine = 'internal') {
|
||||
function set_template_engine($engine = 'smarty3') {
|
||||
|
||||
$this->theme['template_engine'] = 'internal';
|
||||
$this->theme['template_engine'] = $engine;
|
||||
|
||||
switch($engine) {
|
||||
/*if ($engine) {
|
||||
case 'smarty3':
|
||||
if(is_writable('view/tpl/smarty3/'))
|
||||
$this->theme['template_engine'] = 'smarty3';
|
||||
if(!is_writable('view/tpl/smarty3/'))
|
||||
echo "<b>ERROR</b> folder <tt>view/tpl/smarty3/</tt> must be writable by webserver."; killme();
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
function get_template_ldelim($engine = 'internal') {
|
||||
function get_template_ldelim($engine = 'smarty3') {
|
||||
return $this->ldelim[$engine];
|
||||
}
|
||||
|
||||
function get_template_rdelim($engine = 'internal') {
|
||||
function get_template_rdelim($engine = 'smarty3') {
|
||||
return $this->rdelim[$engine];
|
||||
}
|
||||
|
||||
|
|
11
include/ITemplateEngine.php
Executable file
11
include/ITemplateEngine.php
Executable file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
require_once 'boot.php';
|
||||
|
||||
|
||||
/**
|
||||
* Interface for template engines
|
||||
*/
|
||||
interface ITemplateEngine {
|
||||
public function replace_macros($s,$v);
|
||||
public function get_markup_template($file, $root='');
|
||||
}
|
45
include/friendica_smarty.php
Normal file → Executable file
45
include/friendica_smarty.php
Normal file → Executable file
|
@ -1,7 +1,8 @@
|
|||
<?php /** @file */
|
||||
|
||||
require_once 'include/ITemplateEngine.php';
|
||||
require_once("library/Smarty/libs/Smarty.class.php");
|
||||
|
||||
|
||||
class FriendicaSmarty extends Smarty {
|
||||
|
||||
public $filename;
|
||||
|
@ -14,10 +15,10 @@ class FriendicaSmarty extends Smarty {
|
|||
|
||||
// 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/tpl/smarty3/");
|
||||
$template_dirs = array('theme' => "view/theme/$theme/tpl/");
|
||||
if( x($a->theme_info,"extends") )
|
||||
$template_dirs = $template_dirs + array('extends' => "view/theme/".$a->theme_info["extends"]."/tpl/smarty3/");
|
||||
$template_dirs = $template_dirs + array('base' => 'view/tpl/smarty3/');
|
||||
$template_dirs = $template_dirs + array('extends' => "view/theme/".$a->theme_info["extends"]."/tpl/");
|
||||
$template_dirs = $template_dirs + array('base' => 'view/tpl/');
|
||||
$this->setTemplateDir($template_dirs);
|
||||
|
||||
$this->setCompileDir('view/tpl/smarty3/compiled/');
|
||||
|
@ -41,3 +42,39 @@ class FriendicaSmarty extends Smarty {
|
|||
|
||||
|
||||
|
||||
class FriendicaSmartyEngine implements ITemplateEngine {
|
||||
static $name ="smarty3";
|
||||
|
||||
public function __construct(){
|
||||
if(!is_writable('view/tpl/smarty3/')){
|
||||
echo "<b>ERROR:</b> folder <tt>view/tpl/smarty3/</tt> must be writable by webserver."; killme();
|
||||
}
|
||||
}
|
||||
|
||||
// ITemplateEngine interface
|
||||
public function replace_macros($s, $r) {
|
||||
$template = '';
|
||||
if(gettype($s) === 'string') {
|
||||
$template = $s;
|
||||
$s = new FriendicaSmarty();
|
||||
}
|
||||
foreach($r as $key=>$value) {
|
||||
if($key[0] === '$') {
|
||||
$key = substr($key, 1);
|
||||
}
|
||||
$s->assign($key, $value);
|
||||
}
|
||||
return $s->parsed($template);
|
||||
}
|
||||
|
||||
public function get_markup_template($file, $root=''){
|
||||
$template_file = theme_include($file, $root);
|
||||
if($template_file) {
|
||||
$template = new FriendicaSmarty();
|
||||
$template->filename = $template_file;
|
||||
|
||||
return $template;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
21
include/plugin.php
Normal file → Executable file
21
include/plugin.php
Normal file → Executable file
|
@ -569,24 +569,9 @@ function get_intltext_template($s) {
|
|||
|
||||
|
||||
function get_markup_template($s, $root = '') {
|
||||
|
||||
$a = get_app();
|
||||
|
||||
$template_eng = $a->get_template_engine();
|
||||
if($template_eng === 'internal') {
|
||||
$template_file = theme_include($s, $root);
|
||||
if($template_file)
|
||||
return file_get_contents($template_file);
|
||||
}
|
||||
else {
|
||||
$template_file = theme_include("$template_eng/$s", $root);
|
||||
|
||||
if($template_file) {
|
||||
$template = new FriendicaSmarty();
|
||||
$template->filename = $template_file;
|
||||
|
||||
return $template;
|
||||
}
|
||||
}
|
||||
$t = $a->template_engine();
|
||||
$template = $t->get_markup_template($s, $root);
|
||||
return $template;
|
||||
}
|
||||
|
||||
|
|
30
include/template_processor.php
Normal file → Executable file
30
include/template_processor.php
Normal file → Executable file
|
@ -1,7 +1,11 @@
|
|||
<?php /** @file */
|
||||
<?php
|
||||
require_once 'include/ITemplateEngine.php';
|
||||
|
||||
define ("KEY_NOT_EXISTS", '^R_key_not_Exists^');
|
||||
|
||||
class Template {
|
||||
class Template implements ITemplateEngine {
|
||||
static $name ="internal";
|
||||
|
||||
var $r;
|
||||
var $search;
|
||||
var $replace;
|
||||
|
@ -244,9 +248,13 @@
|
|||
|
||||
return $s;
|
||||
}
|
||||
|
||||
public function replace($s, $r) {
|
||||
$t1 = dba_timer();
|
||||
|
||||
private function replace($s,$r) {
|
||||
$this->replace_macros($s, $r);
|
||||
}
|
||||
|
||||
// TemplateEngine interface
|
||||
public function replace_macros($s, $r) {
|
||||
$this->r = $r;
|
||||
|
||||
$s = $this->_build_nodes($s);
|
||||
|
@ -265,14 +273,18 @@
|
|||
$os=$s; $count++;
|
||||
$s = $this->var_replace($s);
|
||||
}
|
||||
$t3 = dba_timer();
|
||||
// logger('macro timer: ' . sprintf('%01.4f %01.4f',$t3 - $t2, $t2 - $t1));
|
||||
|
||||
return $s;
|
||||
}
|
||||
|
||||
public function get_markup_template($file, $root='') {
|
||||
$template_file = theme_include($file, $root);
|
||||
if ($template_file) {
|
||||
$content = file_get_contents($template_file);
|
||||
}
|
||||
return $content;
|
||||
}
|
||||
}
|
||||
|
||||
$t = new Template;
|
||||
|
||||
|
||||
|
||||
|
|
63
include/text.php
Normal file → Executable file
63
include/text.php
Normal file → Executable file
|
@ -1,44 +1,23 @@
|
|||
<?php /** @file */
|
||||
|
||||
// This is our template processor.
|
||||
// $s is the string requiring macro substitution.
|
||||
// $r is an array of key value pairs (search => replace)
|
||||
// returns substituted string.
|
||||
|
||||
|
||||
require_once("include/template_processor.php");
|
||||
require_once("include/friendica_smarty.php");
|
||||
|
||||
|
||||
/**
|
||||
* This is our template processor
|
||||
*
|
||||
* @param string|FriendicaSmarty $s the string requiring macro substitution,
|
||||
* or an instance of FriendicaSmarty
|
||||
* @param array $r key value pairs (search => replace)
|
||||
* @return string substituted string
|
||||
*/
|
||||
function replace_macros($s,$r) {
|
||||
global $t;
|
||||
|
||||
// $ts = microtime();
|
||||
$a = get_app();
|
||||
|
||||
if($a->get_template_engine() === 'smarty3') {
|
||||
$output = '';
|
||||
if(gettype($s) !== 'NULL') {
|
||||
$template = '';
|
||||
if(gettype($s) === 'string') {
|
||||
$template = $s;
|
||||
$s = new FriendicaSmarty();
|
||||
}
|
||||
foreach($r as $key=>$value) {
|
||||
if($key[0] === '$') {
|
||||
$key = substr($key, 1);
|
||||
}
|
||||
$s->assign($key, $value);
|
||||
}
|
||||
$output = $s->parsed($template);
|
||||
}
|
||||
}
|
||||
else {
|
||||
$r = $t->replace($s,$r);
|
||||
$t = $a->template_engine();
|
||||
$output = $t->replace_macros($s,$r);
|
||||
|
||||
$output = template_unescape($r);
|
||||
}
|
||||
// $tt = microtime() - $ts;
|
||||
// $a->page['debug'] .= "$tt <br>\n";
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
@ -71,6 +50,8 @@ function random_string($size = 64,$type = RANDOM_STRING_HEX) {
|
|||
* They will be replaced with safer brackets. This may be filtered further
|
||||
* if these are not allowed either.
|
||||
*
|
||||
* @param string $string Input string
|
||||
* @return string Filtered string
|
||||
*/
|
||||
|
||||
|
||||
|
@ -86,6 +67,13 @@ function notags($string) {
|
|||
// and allow them to be safely displayed.
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* use this on "body" or "content" input where angle chars shouldn't be removed,
|
||||
* and allow them to be safely displayed.
|
||||
* @param string $string
|
||||
* @return string
|
||||
*/
|
||||
function escape_tags($string) {
|
||||
|
||||
return(htmlspecialchars($string, ENT_COMPAT, 'UTF-8', false));
|
||||
|
@ -97,6 +85,12 @@ function escape_tags($string) {
|
|||
// used to generate initial passwords
|
||||
|
||||
|
||||
/**
|
||||
* generate a string that's random, but usually pronounceable.
|
||||
* used to generate initial passwords
|
||||
* @param int $len
|
||||
* @return string
|
||||
*/
|
||||
function autoname($len) {
|
||||
|
||||
if($len <= 0)
|
||||
|
@ -172,6 +166,11 @@ function autoname($len) {
|
|||
// returns escaped text.
|
||||
|
||||
|
||||
/**
|
||||
* escape text ($str) for XML transport
|
||||
* @param string $str
|
||||
* @return string Escaped text.
|
||||
*/
|
||||
function xmlify($str) {
|
||||
$buffer = '';
|
||||
|
||||
|
|
27
util/precompile_smarty3.php
Executable file
27
util/precompile_smarty3.php
Executable file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* @package util
|
||||
*/
|
||||
|
||||
#require_once('boot.php');
|
||||
#require_once('include/cli_startup.php');
|
||||
require_once "library/Smarty/libs/Smarty.class.php";
|
||||
|
||||
#cli_startup();
|
||||
|
||||
$folders = array_merge(array('view/tpl/'),glob('view/theme/*/tpl/*',GLOB_ONLYDIR));
|
||||
|
||||
$s = new Smarty();
|
||||
|
||||
$s->setTemplateDir($folders);
|
||||
|
||||
$s->setCompileDir('view/tpl/smarty3/compiled/');
|
||||
$s->setConfigDir('view/tpl/smarty3/config/');
|
||||
$s->setCacheDir('view/tpl/smarty3/cache/');
|
||||
|
||||
$s->left_delimiter = "{{";
|
||||
$s->right_delimiter = "}}";
|
||||
|
||||
$s->compileAllTemplates('.tpl',true);
|
13
view/theme/redbasic/tpl/basic_theme_settings.tpl
Normal file → Executable file
13
view/theme/redbasic/tpl/basic_theme_settings.tpl
Normal file → Executable file
|
@ -1,9 +1,14 @@
|
|||
{{inc field_select.tpl with $field=$font_size}}{{endinc}}
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{include file="field_select.tpl" field=$font_size}}
|
||||
|
||||
{{inc field_select.tpl with $field=$line_height}}{{endinc}}
|
||||
{{include file="field_select.tpl" field=$line_height}}
|
||||
|
||||
{{inc field_select.tpl with $field=$colour_scheme}}{{endinc}}
|
||||
{{include file="field_select.tpl" field=$colour_scheme}}
|
||||
|
||||
<div class="settings-submit-wrapper">
|
||||
<input type="submit" value="$submit" class="settings-submit" name="redbasic-settings-submit" />
|
||||
<input type="submit" value="{{$submit}}" class="settings-submit" name="redbasic-settings-submit" />
|
||||
</div>
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{include file="field_select.tpl" field=$font_size}}
|
||||
|
||||
{{include file="field_select.tpl" field=$line_height}}
|
||||
|
||||
{{include file="field_select.tpl" field=$colour_scheme}}
|
||||
|
||||
<div class="settings-submit-wrapper">
|
||||
<input type="submit" value="{{$submit}}" class="settings-submit" name="redbasic-settings-submit" />
|
||||
</div>
|
|
@ -1,26 +0,0 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{include file="field_select.tpl" field=$colour}}
|
||||
|
||||
{{include file="field_input.tpl" field=$font_size}}
|
||||
|
||||
{{include file="field_input.tpl" field=$line_height}}
|
||||
|
||||
{{include file="field_select.tpl" field=$shadow}}
|
||||
|
||||
{{include file="field_select.tpl" field=$navcolour}}
|
||||
|
||||
{{include file="field_select.tpl" field=$displaystyle}}
|
||||
|
||||
{{include file="field_input.tpl" field=$linkcolour}}
|
||||
|
||||
{{include file="field_select.tpl" field=$iconset}}
|
||||
|
||||
{{include file="field_select.tpl" field=$shiny}}
|
||||
|
||||
<div class="settings-submit-wrapper">
|
||||
<input type="submit" value="{{$submit}}" class="settings-submit" name="redbasic-settings-submit" />
|
||||
</div>
|
25
view/theme/redbasic/tpl/theme_settings.tpl
Normal file → Executable file
25
view/theme/redbasic/tpl/theme_settings.tpl
Normal file → Executable file
|
@ -1,21 +1,26 @@
|
|||
{{inc field_select.tpl with $field=$colour}}{{endinc}}
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{include file="field_select.tpl" field=$colour}}
|
||||
|
||||
{{inc field_input.tpl with $field=$font_size}}{{endinc}}
|
||||
{{include file="field_input.tpl" field=$font_size}}
|
||||
|
||||
{{inc field_input.tpl with $field=$line_height}}{{endinc}}
|
||||
{{include file="field_input.tpl" field=$line_height}}
|
||||
|
||||
{{inc field_select.tpl with $field=$shadow}}{{endinc}}
|
||||
{{include file="field_select.tpl" field=$shadow}}
|
||||
|
||||
{{inc field_select.tpl with $field=$navcolour}}{{endinc}}
|
||||
{{include file="field_select.tpl" field=$navcolour}}
|
||||
|
||||
{{inc field_select.tpl with $field=$displaystyle}}{{endinc}}
|
||||
{{include file="field_select.tpl" field=$displaystyle}}
|
||||
|
||||
{{inc field_input.tpl with $field=$linkcolour}}{{endinc}}
|
||||
{{include file="field_input.tpl" field=$linkcolour}}
|
||||
|
||||
{{inc field_select.tpl with $field=$iconset}}{{endinc}}
|
||||
{{include file="field_select.tpl" field=$iconset}}
|
||||
|
||||
{{inc field_select.tpl with $field=$shiny}}{{endinc}}
|
||||
{{include file="field_select.tpl" field=$shiny}}
|
||||
|
||||
<div class="settings-submit-wrapper">
|
||||
<input type="submit" value="$submit" class="settings-submit" name="redbasic-settings-submit" />
|
||||
<input type="submit" value="{{$submit}}" class="settings-submit" name="redbasic-settings-submit" />
|
||||
</div>
|
||||
|
|
7
view/tpl/404.tpl
Normal file → Executable file
7
view/tpl/404.tpl
Normal file → Executable file
|
@ -1 +1,6 @@
|
|||
<h1>$message</h1>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h1>{{$message}}</h1>
|
||||
|
|
81
view/tpl/abook_edit.tpl
Normal file → Executable file
81
view/tpl/abook_edit.tpl
Normal file → Executable file
|
@ -1,74 +1,79 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<h2>$header</h2>
|
||||
<h2>{{$header}}</h2>
|
||||
|
||||
<h3>$addr</h3>
|
||||
<h3>{{$addr}}</h3>
|
||||
|
||||
{{ if $notself }}
|
||||
{{if $notself}}
|
||||
<div id="connection-flag-tabs">
|
||||
$tabs
|
||||
{{$tabs}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
{{ if $self }}
|
||||
<div id="autoperm-desc" class="descriptive-paragraph">$autolbl</div>
|
||||
{{ endif }}
|
||||
{{if $self}}
|
||||
<div id="autoperm-desc" class="descriptive-paragraph">{{$autolbl}}</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
<div id="contact-edit-wrapper">
|
||||
|
||||
{{ if $notself }}
|
||||
{{ if $slide }}
|
||||
<h3>$lbl_slider</h3>
|
||||
{{if $notself}}
|
||||
{{if $slide}}
|
||||
<h3>{{$lbl_slider}}</h3>
|
||||
|
||||
$slide
|
||||
{{$slide}}
|
||||
|
||||
{{ endif }}
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
<h3>$permlbl</h3>
|
||||
<h3>{{$permlbl}}</h3>
|
||||
|
||||
<form id="abook-edit-form" action="connections/$contact_id" method="post" >
|
||||
<input type="hidden" name="contact_id" value="$contact_id">
|
||||
<input id="contact-closeness-mirror" type="hidden" name="closeness" value="$close" />
|
||||
<form id="abook-edit-form" action="connections/{{$contact_id}}" method="post" >
|
||||
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
||||
<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" />
|
||||
|
||||
{{ if $noperms }}
|
||||
<div id="noperm-desc" class="descriptive-paragraph">$noperms</div>
|
||||
{{ endif }}
|
||||
{{if $noperms}}
|
||||
<div id="noperm-desc" class="descriptive-paragraph">{{$noperms}}</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{ if $is_pending }}
|
||||
{{inc field_checkbox.tpl with $field=$unapproved }}{{endinc}}
|
||||
{{ endif }}
|
||||
{{if $is_pending}}
|
||||
{{include file="field_checkbox.tpl" field=$unapproved}}
|
||||
{{/if}}
|
||||
|
||||
<br />
|
||||
<b>$quick</b>
|
||||
<b>{{$quick}}</b>
|
||||
<ul>
|
||||
{{ if $self }}
|
||||
<li><span class="fakelink" onclick="connectForum(); $('#abook-edit-form').submit();">$forum</span></li>
|
||||
<li><span class="fakelink" onclick="connectSoapBox(); $('#abook-edit-form').submit();">$soapbox</span></li>
|
||||
{{ endif }}
|
||||
<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">$full</span></li>
|
||||
<li><span class="fakelink" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">$cautious</span></li>
|
||||
<li><span class="fakelink" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">$follow</span></li>
|
||||
{{if $self}}
|
||||
<li><span class="fakelink" onclick="connectForum(); $('#abook-edit-form').submit();">{{$forum}}</span></li>
|
||||
<li><span class="fakelink" onclick="connectSoapBox(); $('#abook-edit-form').submit();">{{$soapbox}}</span></li>
|
||||
{{/if}}
|
||||
<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">{{$full}}</span></li>
|
||||
<li><span class="fakelink" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">{{$cautious}}</span></li>
|
||||
<li><span class="fakelink" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">{{$follow}}</span></li>
|
||||
</ul>
|
||||
|
||||
<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">$advanced</div>
|
||||
<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div>
|
||||
|
||||
<div id="abook-advanced-panel" style="display: none;">
|
||||
|
||||
<span class="abook-them">$them</span><span class="abook-me">$me</span>
|
||||
<span class="abook-them">{{$them}}</span><span class="abook-me">{{$me}}</span>
|
||||
<br />
|
||||
<br />
|
||||
{{ for $perms as $prm }}
|
||||
{{inc field_acheckbox.tpl with $field=$prm }}{{endinc}}
|
||||
{{ endfor }}
|
||||
{{foreach $perms as $prm}}
|
||||
{{include file="field_acheckbox.tpl" field=$prm}}
|
||||
{{/foreach}}
|
||||
<br />
|
||||
|
||||
</div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="done" value="$submit" />
|
||||
<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
13
view/tpl/acl_selector.tpl
Normal file → Executable file
13
view/tpl/acl_selector.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="acl-wrapper">
|
||||
<input id="acl-search">
|
||||
<a href="#" id="acl-showall">$showall</a>
|
||||
<a href="#" id="acl-showall">{{$showall}}</a>
|
||||
<div id="acl-list">
|
||||
<div id="acl-list-content">
|
||||
</div>
|
||||
|
@ -10,8 +15,8 @@
|
|||
|
||||
<div class="acl-list-item" rel="acl-template" style="display:none">
|
||||
<img src="{0}"><p>{1}</p>
|
||||
<a href="#" class='acl-button-show'>$show</a>
|
||||
<a href="#" class='acl-button-hide'>$hide</a>
|
||||
<a href="#" class='acl-button-show'>{{$show}}</a>
|
||||
<a href="#" class='acl-button-hide'>{{$hide}}</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
@ -20,7 +25,7 @@ $(document).ready(function() {
|
|||
if(typeof acl=="undefined"){
|
||||
acl = new ACL(
|
||||
baseurl+"/acl",
|
||||
[ $allowcid,$allowgid,$denycid,$denygid ]
|
||||
[ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ]
|
||||
);
|
||||
}
|
||||
}, 5000 );
|
||||
|
|
37
view/tpl/admin_aside.tpl
Normal file → Executable file
37
view/tpl/admin_aside.tpl
Normal file → Executable file
|
@ -1,3 +1,8 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script>
|
||||
// update pending count //
|
||||
$(function(){
|
||||
|
@ -10,33 +15,33 @@
|
|||
});
|
||||
});
|
||||
</script>
|
||||
<h4><a href="$admurl">$admtxt</a></h4>
|
||||
<h4><a href="{{$admurl}}">{{$admtxt}}</a></h4>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin link button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
|
||||
<li class='admin link button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li>
|
||||
<li class='admin link button $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li>
|
||||
<li class='admin link button $admin.themes.2'><a href='$admin.themes.0'>$admin.themes.1</a></li>
|
||||
<li class='admin link button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li>
|
||||
<li class='admin link button {{$admin.site.2}}'><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li>
|
||||
<li class='admin link button {{$admin.users.2}}'><a href='{{$admin.users.0}}'>{{$admin.users.1}}</a><span id='pending-update' title='{{$h_pending}}'></span></li>
|
||||
<li class='admin link button {{$admin.plugins.2}}'><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li>
|
||||
<li class='admin link button {{$admin.themes.2}}'><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li>
|
||||
<li class='admin link button {{$admin.dbsync.2}}'><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li>
|
||||
</ul>
|
||||
|
||||
{{ if $admin.update }}
|
||||
{{if $admin.update}}
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin link button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li>
|
||||
<li class='admin link button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
|
||||
<li class='admin link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li>
|
||||
<li class='admin link button {{$admin.update.2}}'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
|
||||
</ul>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{ if $admin.plugins_admin }}<h4>$plugadmtxt</h4>{{ endif }}
|
||||
{{if $admin.plugins_admin}}<h4>{{$plugadmtxt}}</h4>{{/if}}
|
||||
<ul class='admin linklist'>
|
||||
{{ for $admin.plugins_admin as $l }}
|
||||
<li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li>
|
||||
{{ endfor }}
|
||||
{{foreach $admin.plugins_admin as $l}}
|
||||
<li class='admin link button {{$l.2}}'><a href='{{$l.0}}'>{{$l.1}}</a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>$logtxt</h4>
|
||||
<h4>{{$logtxt}}</h4>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin link button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
||||
<li class='admin link button {{$admin.logs.2}}'><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li>
|
||||
</ul>
|
||||
|
||||
|
|
27
view/tpl/admin_logs.tpl
Normal file → Executable file
27
view/tpl/admin_logs.tpl
Normal file → Executable file
|
@ -1,19 +1,24 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<form action="$baseurl/admin/logs" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
<form action="{{$baseurl}}/admin/logs" method="post">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
|
||||
{{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$logfile }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$loglevel }}{{ endinc }}
|
||||
{{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>
|
||||
<div class="submit"><input type="submit" name="page_logs" value="{{$submit}}" /></div>
|
||||
|
||||
</form>
|
||||
|
||||
<h3>$logname</h3>
|
||||
<div style="width:100%; height:400px; overflow: auto; "><pre>$data</pre></div>
|
||||
<!-- <iframe src='$baseurl/$logname' style="width:100%; height:400px"></iframe> -->
|
||||
<!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="$clear" /></div> -->
|
||||
<h3>{{$logname}}</h3>
|
||||
<div style="width:100%; height:400px; overflow: auto; "><pre>{{$data}}</pre></div>
|
||||
<!-- <iframe src='{{$baseurl}}/{{$logname}}' style="width:100%; height:400px"></iframe> -->
|
||||
<!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="{{$clear}}" /></div> -->
|
||||
</div>
|
||||
|
|
21
view/tpl/admin_plugins.tpl
Normal file → Executable file
21
view/tpl/admin_plugins.tpl
Normal file → Executable file
|
@ -1,15 +1,20 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<ul id='pluginslist'>
|
||||
{{ for $plugins as $p }}
|
||||
<li class='plugin $p.1'>
|
||||
<a class='toggleplugin' href='$baseurl/admin/$function/$p.0?a=t&t=$form_security_token' title="{{if $p.1==on }}Disable{{ else }}Enable{{ endif }}" ><span class='icon $p.1'></span></a>
|
||||
<a href='$baseurl/admin/$function/$p.0'><span class='name'>$p.2.name</span></a> - <span class="version">$p.2.version</span>
|
||||
{{ if $p.2.experimental }} $experimental {{ endif }}{{ if $p.2.unsupported }} $unsupported {{ endif }}
|
||||
{{foreach $plugins as $p}}
|
||||
<li class='plugin {{$p.1}}'>
|
||||
<a class='toggleplugin' href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}?a=t&t={{$form_security_token}}' title="{{if $p.1==on}}Disable{{else}}Enable{{/if}}" ><span class='icon {{$p.1}}'></span></a>
|
||||
<a href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}'><span class='name'>{{$p.2.name}}</span></a> - <span class="version">{{$p.2.version}}</span>
|
||||
{{if $p.2.experimental}} {{$experimental}} {{/if}}{{if $p.2.unsupported}} {{$unsupported}} {{/if}}
|
||||
|
||||
<div class='desc'>$p.2.description</div>
|
||||
<div class='desc'>{{$p.2.description}}</div>
|
||||
</li>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
49
view/tpl/admin_plugins_details.tpl
Normal file → Executable file
49
view/tpl/admin_plugins_details.tpl
Normal file → Executable file
|
@ -1,36 +1,41 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<p><span class='toggleplugin icon $status'></span> $info.name - $info.version : <a href="$baseurl/admin/$function/$plugin/?a=t&t=$form_security_token">$action</a></p>
|
||||
<p>$info.description</p>
|
||||
<p><span class='toggleplugin icon {{$status}}'></span> {{$info.name}} - {{$info.version}} : <a href="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/?a=t&t={{$form_security_token}}">{{$action}}</a></p>
|
||||
<p>{{$info.description}}</p>
|
||||
|
||||
<p class="author">$str_author
|
||||
{{ for $info.author as $a }}
|
||||
{{ if $a.link }}<a href="$a.link">$a.name</a>{{ else }}$a.name{{ endif }},
|
||||
{{ endfor }}
|
||||
<p class="author">{{$str_author}}
|
||||
{{foreach $info.author as $a}}
|
||||
{{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}},
|
||||
{{/foreach}}
|
||||
</p>
|
||||
|
||||
<p class="maintainer">$str_maintainer
|
||||
{{ for $info.maintainer as $a }}
|
||||
{{ if $a.link }}<a href="$a.link">$a.name</a>{{ else }}$a.name{{ endif }},
|
||||
{{ endfor }}
|
||||
<p class="maintainer">{{$str_maintainer}}
|
||||
{{foreach $info.maintainer as $a}}
|
||||
{{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}},
|
||||
{{/foreach}}
|
||||
</p>
|
||||
|
||||
{{ if $screenshot }}
|
||||
<a href="$screenshot.0" class='screenshot'><img src="$screenshot.0" alt="$screenshot.1" /></a>
|
||||
{{ endif }}
|
||||
{{if $screenshot}}
|
||||
<a href="{{$screenshot.0}}" class='screenshot'><img src="{{$screenshot.0}}" alt="{{$screenshot.1}}" /></a>
|
||||
{{/if}}
|
||||
|
||||
{{ if $admin_form }}
|
||||
<h3>$settings</h3>
|
||||
<form method="post" action="$baseurl/admin/$function/$plugin/">
|
||||
$admin_form
|
||||
{{if $admin_form}}
|
||||
<h3>{{$settings}}</h3>
|
||||
<form method="post" action="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/">
|
||||
{{$admin_form}}
|
||||
</form>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
{{ if $readme }}
|
||||
{{if $readme}}
|
||||
<h3>Readme</h3>
|
||||
<div id="plugin_readme">
|
||||
$readme
|
||||
{{$readme}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
75
view/tpl/admin_site.tpl
Normal file → Executable file
75
view/tpl/admin_site.tpl
Normal file → Executable file
|
@ -1,3 +1,8 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script>
|
||||
$(function(){
|
||||
|
||||
|
@ -6,7 +11,7 @@
|
|||
autoDimensions: false,
|
||||
onStart: function(){
|
||||
var theme = $("#id_theme :selected").val();
|
||||
$("#cnftheme").attr('href',"$baseurl/admin/themes/"+theme);
|
||||
$("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
|
||||
},
|
||||
onComplete: function(){
|
||||
$("div#fancybox-content form").submit(function(e){
|
||||
|
@ -35,50 +40,50 @@
|
|||
});
|
||||
</script>
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<form action="$baseurl/admin/site" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
<form action="{{$baseurl}}/admin/site" method="post">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
|
||||
{{ 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=$theme_accessibility }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$ssl_policy }}{{ endinc }}
|
||||
{{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=$theme_accessibility}}
|
||||
{{include file="field_select.tpl" field=$ssl_policy}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
||||
<h3>$registration</h3>
|
||||
{{ inc field_input.tpl with $field=$register_text }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$register_policy }}{{ endinc }}
|
||||
<h3>{{$registration}}</h3>
|
||||
{{include file="field_input.tpl" field=$register_text}}
|
||||
{{include file="field_select.tpl" field=$register_policy}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
||||
<h3>$upload</h3>
|
||||
{{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }}
|
||||
<h3>{{$upload}}</h3>
|
||||
{{include file="field_input.tpl" field=$maximagesize}}
|
||||
|
||||
<h3>$corporate</h3>
|
||||
{{ 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_input.tpl with $field=$global_directory }}{{ endinc }}
|
||||
<h3>{{$corporate}}</h3>
|
||||
{{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_input.tpl" field=$global_directory}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
||||
<h3>$advanced</h3>
|
||||
{{ 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 }}
|
||||
<h3>{{$advanced}}</h3>
|
||||
{{include file="field_input.tpl" field=$proxy}}
|
||||
{{include file="field_input.tpl" field=$proxyuser}}
|
||||
{{include file="field_input.tpl" field=$timeout}}
|
||||
{{include file="field_input.tpl" field=$delivery_interval}}
|
||||
{{include file="field_input.tpl" field=$poll_interval}}
|
||||
{{include file="field_input.tpl" field=$maxloadavg}}
|
||||
{{include file="field_input.tpl" field=$abandon_days}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
39
view/tpl/admin_summary.tpl
Normal file → Executable file
39
view/tpl/admin_summary.tpl
Normal file → Executable file
|
@ -1,39 +1,44 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<dl>
|
||||
<dt>$queues.label</dt>
|
||||
<dd>$queues.queue</dd>
|
||||
<dt>{{$queues.label}}</dt>
|
||||
<dd>{{$queues.queue}}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>$pending.0</dt>
|
||||
<dd>$pending.1</dt>
|
||||
<dt>{{$pending.0}}</dt>
|
||||
<dd>{{$pending.1}}</dt>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>$users.0</dt>
|
||||
<dd>$users.1</dd>
|
||||
<dt>{{$users.0}}</dt>
|
||||
<dd>{{$users.1}}</dd>
|
||||
</dl>
|
||||
{{ for $accounts as $p }}
|
||||
{{foreach $accounts as $p}}
|
||||
<dl>
|
||||
<dt>$p.0</dt>
|
||||
<dd>{{ if $p.1 }}$p.1{{ else }}0{{ endif }}</dd>
|
||||
<dt>{{$p.0}}</dt>
|
||||
<dd>{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</dd>
|
||||
</dl>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>$plugins.0</dt>
|
||||
<dt>{{$plugins.0}}</dt>
|
||||
|
||||
{{ for $plugins.1 as $p }}
|
||||
<dd>$p</dd>
|
||||
{{ endfor }}
|
||||
{{foreach $plugins.1 as $p}}
|
||||
<dd>{{$p}}</dd>
|
||||
{{/foreach}}
|
||||
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
<dt>$version.0</dt>
|
||||
<dd>$version.1 - $build</dt>
|
||||
<dt>{{$version.0}}</dt>
|
||||
<dd>{{$version.1}} - {{$build}}</dt>
|
||||
</dl>
|
||||
|
||||
|
||||
|
|
81
view/tpl/admin_users.tpl
Normal file → Executable file
81
view/tpl/admin_users.tpl
Normal file → Executable file
|
@ -1,9 +1,14 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script>
|
||||
function confirm_delete(uname){
|
||||
return confirm( "$confirm_delete".format(uname));
|
||||
return confirm( "{{$confirm_delete}}".format(uname));
|
||||
}
|
||||
function confirm_delete_multi(){
|
||||
return confirm("$confirm_delete_multi");
|
||||
return confirm("{{$confirm_delete_multi}}");
|
||||
}
|
||||
function selectall(cls){
|
||||
$("."+cls).attr('checked','checked');
|
||||
|
@ -11,77 +16,77 @@
|
|||
}
|
||||
</script>
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<form action="$baseurl/admin/users" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
<form action="{{$baseurl}}/admin/users" method="post">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
|
||||
<h3>$h_pending</h3>
|
||||
{{ if $pending }}
|
||||
<h3>{{$h_pending}}</h3>
|
||||
{{if $pending}}
|
||||
<table id='pending'>
|
||||
<thead>
|
||||
<tr>
|
||||
{{ for $th_pending as $th }}<th>$th</th>{{ endfor }}
|
||||
{{foreach $th_pending as $th}}<th>{{$th}}</th>{{/foreach}}
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ for $pending as $u }}
|
||||
{{foreach $pending as $u}}
|
||||
<tr>
|
||||
<td class="created">$u.created</td>
|
||||
<td class="name">$u.name</td>
|
||||
<td class="email">$u.email</td>
|
||||
<td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_$u.hash" name="pending[]" value="$u.hash" /></td>
|
||||
<td class="created">{{$u.created}}</td>
|
||||
<td class="name">{{$u.name}}</td>
|
||||
<td class="email">{{$u.email}}</td>
|
||||
<td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}" /></td>
|
||||
<td class="tools">
|
||||
<a href="$baseurl/regmod/allow/$u.hash" title='$approve'><span class='icon like'></span></a>
|
||||
<a href="$baseurl/regmod/deny/$u.hash" title='$deny'><span class='icon dislike'></span></a>
|
||||
<a href="{{$baseurl}}/regmod/allow/{{$u.hash}}" title='{{$approve}}'><span class='icon like'></span></a>
|
||||
<a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" title='{{$deny}}'><span class='icon dislike'></span></a>
|
||||
</td>
|
||||
</tr>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
</tbody>
|
||||
</table>
|
||||
<div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">$select_all</a></div>
|
||||
<div class="submit"><input type="submit" name="page_users_deny" value="$deny"/> <input type="submit" name="page_users_approve" value="$approve" /></div>
|
||||
{{ else }}
|
||||
<p>$no_pending</p>
|
||||
{{ endif }}
|
||||
<div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">{{$select_all}}</a></div>
|
||||
<div class="submit"><input type="submit" name="page_users_deny" value="{{$deny}}"/> <input type="submit" name="page_users_approve" value="{{$approve}}" /></div>
|
||||
{{else}}
|
||||
<p>{{$no_pending}}</p>
|
||||
{{/if}}
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>$h_users</h3>
|
||||
{{ if $users }}
|
||||
<h3>{{$h_users}}</h3>
|
||||
{{if $users}}
|
||||
<table id='users'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
{{ for $th_users as $th }}<th>$th</th>{{ endfor }}
|
||||
{{foreach $th_users as $th}}<th>{{$th}}</th>{{/foreach}}
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ for $users as $u }}
|
||||
{{foreach $users as $u}}
|
||||
<tr>
|
||||
<td><img src="$u.micro" alt="$u.nickname" title="$u.nickname"></td>
|
||||
<td class='email'>$u.account_email</td>
|
||||
<td class='register_date'>$u.account_created</td>
|
||||
<td class='login_date'>$u.account_lastlog</td>
|
||||
<td class='service_class'>$u.account_service_class</td>
|
||||
<td class="checkbox"><input type="checkbox" class="users_ckbx" id="id_user_$u.uid" name="user[]" value="$u.uid"/></td>
|
||||
<td><img src="{{$u.micro}}" alt="{{$u.nickname}}" title="{{$u.nickname}}"></td>
|
||||
<td class='email'>{{$u.account_email}}</td>
|
||||
<td class='register_date'>{{$u.account_created}}</td>
|
||||
<td class='login_date'>{{$u.account_lastlog}}</td>
|
||||
<td class='service_class'>{{$u.account_service_class}}</td>
|
||||
<td class="checkbox"><input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td>
|
||||
<td class="tools">
|
||||
<a href="$baseurl/admin/users/block/$u.uid?t=$form_security_token" title='{{ if $u.blocked }}$unblock{{ else }}$block{{ endif }}'><span class='icon block {{ if $u.blocked==0 }}dim{{ endif }}'></span></a>
|
||||
<a href="$baseurl/admin/users/delete/$u.uid?t=$form_security_token" title='$delete' onclick="return confirm_delete('$u.name')"><span class='icon drop'></span></a>
|
||||
<a href="{{$baseurl}}/admin/users/block/{{$u.uid}}?t={{$form_security_token}}" title='{{if $u.blocked}}{{$unblock}}{{else}}{{$block}}{{/if}}'><span class='icon block {{if $u.blocked==0}}dim{{/if}}'></span></a>
|
||||
<a href="{{$baseurl}}/admin/users/delete/{{$u.uid}}?t={{$form_security_token}}" title='{{$delete}}' onclick="return confirm_delete('{{$u.name}}')"><span class='icon drop'></span></a>
|
||||
</td>
|
||||
</tr>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
</tbody>
|
||||
</table>
|
||||
<div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">$select_all</a></div>
|
||||
<div class="submit"><input type="submit" name="page_users_block" value="$block/$unblock" /> <input type="submit" name="page_users_delete" value="$delete" onclick="return confirm_delete_multi()" /></div>
|
||||
{{ else }}
|
||||
<div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">{{$select_all}}</a></div>
|
||||
<div class="submit"><input type="submit" name="page_users_block" value="{{$block}}/{{$unblock}}" /> <input type="submit" name="page_users_delete" value="{{$delete}}" onclick="return confirm_delete_multi()" /></div>
|
||||
{{else}}
|
||||
NO USERS?!?
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
</form>
|
||||
</div>
|
||||
|
|
15
view/tpl/album_edit.tpl
Normal file → Executable file
15
view/tpl/album_edit.tpl
Normal file → Executable file
|
@ -1,14 +1,19 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="photo-album-edit-wrapper">
|
||||
<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/$nickname/album/$hexalbum" method="post" >
|
||||
<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/{{$nickname}}/album/{{$hexalbum}}" method="post" >
|
||||
|
||||
|
||||
<label id="photo-album-edit-name-label" for="photo-album-edit-name" >$nametext</label>
|
||||
<input type="text" size="64" name="albumname" value="$album" >
|
||||
<label id="photo-album-edit-name-label" for="photo-album-edit-name" >{{$nametext}}</label>
|
||||
<input type="text" size="64" name="albumname" value="{{$album}}" >
|
||||
|
||||
<div id="photo-album-edit-name-end"></div>
|
||||
|
||||
<input id="photo-album-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
<input id="photo-album-edit-drop" type="submit" name="dropalbum" value="$dropsubmit" onclick="return confirmDelete();" />
|
||||
<input id="photo-album-edit-submit" type="submit" name="submit" value="{{$submit}}" />
|
||||
<input id="photo-album-edit-drop" type="submit" name="dropalbum" value="{{$dropsubmit}}" onclick="return confirmDelete();" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
23
view/tpl/api_config_xml.tpl
Normal file → Executable file
23
view/tpl/api_config_xml.tpl
Normal file → Executable file
|
@ -1,24 +1,29 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<config>
|
||||
<site>
|
||||
<name>$config.site.name</name>
|
||||
<server>$config.site.server</server>
|
||||
<name>{{$config.site.name}}</name>
|
||||
<server>{{$config.site.server}}</server>
|
||||
<theme>default</theme>
|
||||
<path></path>
|
||||
<logo>$config.site.logo</logo>
|
||||
<logo>{{$config.site.logo}}</logo>
|
||||
|
||||
<fancy>true</fancy>
|
||||
<language>en</language>
|
||||
<email>$config.site.email</email>
|
||||
<email>{{$config.site.email}}</email>
|
||||
<broughtby></broughtby>
|
||||
<broughtbyurl></broughtbyurl>
|
||||
<timezone>UTC</timezone>
|
||||
<closed>$config.site.closed</closed>
|
||||
<closed>{{$config.site.closed}}</closed>
|
||||
|
||||
<inviteonly>false</inviteonly>
|
||||
<private>$config.site.private</private>
|
||||
<textlimit>$config.site.textlimit</textlimit>
|
||||
<ssl>$config.site.ssl</ssl>
|
||||
<sslserver>$config.site.sslserver</sslserver>
|
||||
<private>{{$config.site.private}}</private>
|
||||
<textlimit>{{$config.site.textlimit}}</textlimit>
|
||||
<ssl>{{$config.site.ssl}}</ssl>
|
||||
<sslserver>{{$config.site.sslserver}}</sslserver>
|
||||
<shorturllength>30</shorturllength>
|
||||
|
||||
</site>
|
||||
|
|
11
view/tpl/api_friends_xml.tpl
Normal file → Executable file
11
view/tpl/api_friends_xml.tpl
Normal file → Executable file
|
@ -1,5 +1,10 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<users type="array">
|
||||
{{for $users as $user }}
|
||||
{{inc api_user_xml.tpl }}{{endinc}}
|
||||
{{endfor}}
|
||||
{{foreach $users as $user}}
|
||||
{{include file="api_user_xml.tpl"}}
|
||||
{{/foreach}}
|
||||
</users>
|
||||
|
|
13
view/tpl/api_ratelimit_xml.tpl
Normal file → Executable file
13
view/tpl/api_ratelimit_xml.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<hash>
|
||||
<remaining-hits type="integer">$hash.remaining_hits</remaining-hits>
|
||||
<hourly-limit type="integer">$hash.hourly_limit</hourly-limit>
|
||||
<reset-time type="datetime">$hash.reset_time</reset-time>
|
||||
<reset_time_in_seconds type="integer">$hash.resettime_in_seconds</reset_time_in_seconds>
|
||||
<remaining-hits type="integer">{{$hash.remaining_hits}}</remaining-hits>
|
||||
<hourly-limit type="integer">{{$hash.hourly_limit}}</hourly-limit>
|
||||
<reset-time type="datetime">{{$hash.reset_time}}</reset-time>
|
||||
<reset_time_in_seconds type="integer">{{$hash.resettime_in_seconds}}</reset_time_in_seconds>
|
||||
</hash>
|
||||
|
|
89
view/tpl/api_status_xml.tpl
Normal file → Executable file
89
view/tpl/api_status_xml.tpl
Normal file → Executable file
|
@ -1,46 +1,51 @@
|
|||
<status>{{ if $status }}
|
||||
<created_at>$status.created_at</created_at>
|
||||
<id>$status.id</id>
|
||||
<text>$status.text</text>
|
||||
<source>$status.source</source>
|
||||
<truncated>$status.truncated</truncated>
|
||||
<in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id>
|
||||
<in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id>
|
||||
<favorited>$status.favorited</favorited>
|
||||
<in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name>
|
||||
<geo>$status.geo</geo>
|
||||
<coordinates>$status.coordinates</coordinates>
|
||||
<place>$status.place</place>
|
||||
<contributors>$status.contributors</contributors>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<status>{{if $status}}
|
||||
<created_at>{{$status.created_at}}</created_at>
|
||||
<id>{{$status.id}}</id>
|
||||
<text>{{$status.text}}</text>
|
||||
<source>{{$status.source}}</source>
|
||||
<truncated>{{$status.truncated}}</truncated>
|
||||
<in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id>
|
||||
<in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id>
|
||||
<favorited>{{$status.favorited}}</favorited>
|
||||
<in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name>
|
||||
<geo>{{$status.geo}}</geo>
|
||||
<coordinates>{{$status.coordinates}}</coordinates>
|
||||
<place>{{$status.place}}</place>
|
||||
<contributors>{{$status.contributors}}</contributors>
|
||||
<user>
|
||||
<id>$status.user.id</id>
|
||||
<name>$status.user.name</name>
|
||||
<screen_name>$status.user.screen_name</screen_name>
|
||||
<location>$status.user.location</location>
|
||||
<description>$status.user.description</description>
|
||||
<profile_image_url>$status.user.profile_image_url</profile_image_url>
|
||||
<url>$status.user.url</url>
|
||||
<protected>$status.user.protected</protected>
|
||||
<followers_count>$status.user.followers</followers_count>
|
||||
<profile_background_color>$status.user.profile_background_color</profile_background_color>
|
||||
<profile_text_color>$status.user.profile_text_color</profile_text_color>
|
||||
<profile_link_color>$status.user.profile_link_color</profile_link_color>
|
||||
<profile_sidebar_fill_color>$status.user.profile_sidebar_fill_color</profile_sidebar_fill_color>
|
||||
<profile_sidebar_border_color>$status.user.profile_sidebar_border_color</profile_sidebar_border_color>
|
||||
<friends_count>$status.user.friends_count</friends_count>
|
||||
<created_at>$status.user.created_at</created_at>
|
||||
<favourites_count>$status.user.favourites_count</favourites_count>
|
||||
<utc_offset>$status.user.utc_offset</utc_offset>
|
||||
<time_zone>$status.user.time_zone</time_zone>
|
||||
<profile_background_image_url>$status.user.profile_background_image_url</profile_background_image_url>
|
||||
<profile_background_tile>$status.user.profile_background_tile</profile_background_tile>
|
||||
<profile_use_background_image>$status.user.profile_use_background_image</profile_use_background_image>
|
||||
<id>{{$status.user.id}}</id>
|
||||
<name>{{$status.user.name}}</name>
|
||||
<screen_name>{{$status.user.screen_name}}</screen_name>
|
||||
<location>{{$status.user.location}}</location>
|
||||
<description>{{$status.user.description}}</description>
|
||||
<profile_image_url>{{$status.user.profile_image_url}}</profile_image_url>
|
||||
<url>{{$status.user.url}}</url>
|
||||
<protected>{{$status.user.protected}}</protected>
|
||||
<followers_count>{{$status.user.followers}}</followers_count>
|
||||
<profile_background_color>{{$status.user.profile_background_color}}</profile_background_color>
|
||||
<profile_text_color>{{$status.user.profile_text_color}}</profile_text_color>
|
||||
<profile_link_color>{{$status.user.profile_link_color}}</profile_link_color>
|
||||
<profile_sidebar_fill_color>{{$status.user.profile_sidebar_fill_color}}</profile_sidebar_fill_color>
|
||||
<profile_sidebar_border_color>{{$status.user.profile_sidebar_border_color}}</profile_sidebar_border_color>
|
||||
<friends_count>{{$status.user.friends_count}}</friends_count>
|
||||
<created_at>{{$status.user.created_at}}</created_at>
|
||||
<favourites_count>{{$status.user.favourites_count}}</favourites_count>
|
||||
<utc_offset>{{$status.user.utc_offset}}</utc_offset>
|
||||
<time_zone>{{$status.user.time_zone}}</time_zone>
|
||||
<profile_background_image_url>{{$status.user.profile_background_image_url}}</profile_background_image_url>
|
||||
<profile_background_tile>{{$status.user.profile_background_tile}}</profile_background_tile>
|
||||
<profile_use_background_image>{{$status.user.profile_use_background_image}}</profile_use_background_image>
|
||||
<notifications></notifications>
|
||||
<geo_enabled>$status.user.geo_enabled</geo_enabled>
|
||||
<verified>$status.user.verified</verified>
|
||||
<geo_enabled>{{$status.user.geo_enabled}}</geo_enabled>
|
||||
<verified>{{$status.user.verified}}</verified>
|
||||
<following></following>
|
||||
<statuses_count>$status.user.statuses_count</statuses_count>
|
||||
<lang>$status.user.lang</lang>
|
||||
<contributors_enabled>$status.user.contributors_enabled</contributors_enabled>
|
||||
<statuses_count>{{$status.user.statuses_count}}</statuses_count>
|
||||
<lang>{{$status.user.lang}}</lang>
|
||||
<contributors_enabled>{{$status.user.contributors_enabled}}</contributors_enabled>
|
||||
</user>
|
||||
{{ endif }}</status>
|
||||
{{/if}}</status>
|
||||
|
|
7
view/tpl/api_test_xml.tpl
Normal file → Executable file
7
view/tpl/api_test_xml.tpl
Normal file → Executable file
|
@ -1 +1,6 @@
|
|||
<ok>$ok</ok>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<ok>{{$ok}}</ok>
|
||||
|
|
101
view/tpl/api_timeline_atom.tpl
Normal file → Executable file
101
view/tpl/api_timeline_atom.tpl
Normal file → Executable file
|
@ -1,90 +1,95 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/">
|
||||
<generator uri="http://status.net" version="0.9.7">StatusNet</generator>
|
||||
<id>$rss.self</id>
|
||||
<id>{{$rss.self}}</id>
|
||||
<title>Friendika</title>
|
||||
<subtitle>Friendika API feed</subtitle>
|
||||
<logo>$rss.logo</logo>
|
||||
<updated>$rss.atom_updated</updated>
|
||||
<link type="text/html" rel="alternate" href="$rss.alternate"/>
|
||||
<link type="application/atom+xml" rel="self" href="$rss.self"/>
|
||||
<logo>{{$rss.logo}}</logo>
|
||||
<updated>{{$rss.atom_updated}}</updated>
|
||||
<link type="text/html" rel="alternate" href="{{$rss.alternate}}"/>
|
||||
<link type="application/atom+xml" rel="self" href="{{$rss.self}}"/>
|
||||
|
||||
|
||||
<author>
|
||||
<activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type>
|
||||
<uri>$user.url</uri>
|
||||
<name>$user.name</name>
|
||||
<link rel="alternate" type="text/html" href="$user.url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$user.profile_image_url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$user.profile_image_url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$user.profile_image_url"/>
|
||||
<uri>{{$user.url}}</uri>
|
||||
<name>{{$user.name}}</name>
|
||||
<link rel="alternate" type="text/html" href="{{$user.url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="{{$user.profile_image_url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="{{$user.profile_image_url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$user.profile_image_url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="{{$user.profile_image_url}}"/>
|
||||
<georss:point></georss:point>
|
||||
<poco:preferredUsername>$user.screen_name</poco:preferredUsername>
|
||||
<poco:displayName>$user.name</poco:displayName>
|
||||
<poco:preferredUsername>{{$user.screen_name}}</poco:preferredUsername>
|
||||
<poco:displayName>{{$user.name}}</poco:displayName>
|
||||
<poco:urls>
|
||||
<poco:type>homepage</poco:type>
|
||||
<poco:value>$user.url</poco:value>
|
||||
<poco:value>{{$user.url}}</poco:value>
|
||||
<poco:primary>true</poco:primary>
|
||||
</poco:urls>
|
||||
<statusnet:profile_info local_id="$user.id"></statusnet:profile_info>
|
||||
<statusnet:profile_info local_id="{{$user.id}}"></statusnet:profile_info>
|
||||
</author>
|
||||
|
||||
<!--Deprecation warning: activity:subject is present only for backward compatibility. It will be removed in the next version of StatusNet.-->
|
||||
<activity:subject>
|
||||
<activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type>
|
||||
<id>$user.contact_url</id>
|
||||
<title>$user.name</title>
|
||||
<link rel="alternate" type="text/html" href="$user.url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$user.profile_image_url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$user.profile_image_url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$user.profile_image_url"/>
|
||||
<poco:preferredUsername>$user.screen_name</poco:preferredUsername>
|
||||
<poco:displayName>$user.name</poco:displayName>
|
||||
<id>{{$user.contact_url}}</id>
|
||||
<title>{{$user.name}}</title>
|
||||
<link rel="alternate" type="text/html" href="{{$user.url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="{{$user.profile_image_url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="{{$user.profile_image_url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$user.profile_image_url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="{{$user.profile_image_url}}"/>
|
||||
<poco:preferredUsername>{{$user.screen_name}}</poco:preferredUsername>
|
||||
<poco:displayName>{{$user.name}}</poco:displayName>
|
||||
<poco:urls>
|
||||
<poco:type>homepage</poco:type>
|
||||
<poco:value>$user.url</poco:value>
|
||||
<poco:value>{{$user.url}}</poco:value>
|
||||
<poco:primary>true</poco:primary>
|
||||
</poco:urls>
|
||||
<statusnet:profile_info local_id="$user.id"></statusnet:profile_info>
|
||||
<statusnet:profile_info local_id="{{$user.id}}"></statusnet:profile_info>
|
||||
</activity:subject>
|
||||
|
||||
|
||||
{{ for $statuses as $status }}
|
||||
{{foreach $statuses as $status}}
|
||||
<entry>
|
||||
<activity:obj_type>$status.objecttype</activity:obj_type>
|
||||
<id>$status.message_id</id>
|
||||
<title>$status.text</title>
|
||||
<content type="html">$status.statusnet_html</content>
|
||||
<link rel="alternate" type="text/html" href="$status.url"/>
|
||||
<activity:verb>$status.verb</activity:verb>
|
||||
<published>$status.published</published>
|
||||
<updated>$status.updated</updated>
|
||||
<activity:obj_type>{{$status.objecttype}}</activity:obj_type>
|
||||
<id>{{$status.message_id}}</id>
|
||||
<title>{{$status.text}}</title>
|
||||
<content type="html">{{$status.statusnet_html}}</content>
|
||||
<link rel="alternate" type="text/html" href="{{$status.url}}"/>
|
||||
<activity:verb>{{$status.verb}}</activity:verb>
|
||||
<published>{{$status.published}}</published>
|
||||
<updated>{{$status.updated}}</updated>
|
||||
|
||||
<link rel="self" type="application/atom+xml" href="$status.self"/>
|
||||
<link rel="edit" type="application/atom+xml" href="$status.edit"/>
|
||||
<statusnet:notice_info local_id="$status.id" source="$status.source" >
|
||||
<link rel="self" type="application/atom+xml" href="{{$status.self}}"/>
|
||||
<link rel="edit" type="application/atom+xml" href="{{$status.edit}}"/>
|
||||
<statusnet:notice_info local_id="{{$status.id}}" source="{{$status.source}}" >
|
||||
</statusnet:notice_info>
|
||||
|
||||
<author>
|
||||
<activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type>
|
||||
<uri>$status.user.url</uri>
|
||||
<name>$status.user.name</name>
|
||||
<link rel="alternate" type="text/html" href="$status.user.url"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$status.user.profile_image_url"/>
|
||||
<uri>{{$status.user.url}}</uri>
|
||||
<name>{{$status.user.name}}</name>
|
||||
<link rel="alternate" type="text/html" href="{{$status.user.url}}"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$status.user.profile_image_url}}"/>
|
||||
|
||||
<georss:point/>
|
||||
<poco:preferredUsername>$status.user.screen_name</poco:preferredUsername>
|
||||
<poco:displayName>$status.user.name</poco:displayName>
|
||||
<poco:preferredUsername>{{$status.user.screen_name}}</poco:preferredUsername>
|
||||
<poco:displayName>{{$status.user.name}}</poco:displayName>
|
||||
<poco:address/>
|
||||
<poco:urls>
|
||||
<poco:type>homepage</poco:type>
|
||||
<poco:value>$status.user.url</poco:value>
|
||||
<poco:value>{{$status.user.url}}</poco:value>
|
||||
<poco:primary>true</poco:primary>
|
||||
</poco:urls>
|
||||
</author>
|
||||
<link rel="ostatus:conversation" type="text/html" href="$status.url"/>
|
||||
<link rel="ostatus:conversation" type="text/html" href="{{$status.url}}"/>
|
||||
|
||||
</entry>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
</feed>
|
||||
|
|
33
view/tpl/api_timeline_rss.tpl
Normal file → Executable file
33
view/tpl/api_timeline_rss.tpl
Normal file → Executable file
|
@ -1,26 +1,31 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:georss="http://www.georss.org/georss" xmlns:twitter="http://api.twitter.com">
|
||||
<channel>
|
||||
<title>Friendika</title>
|
||||
<link>$rss.alternate</link>
|
||||
<atom:link type="application/rss+xml" rel="self" href="$rss.self"/>
|
||||
<link>{{$rss.alternate}}</link>
|
||||
<atom:link type="application/rss+xml" rel="self" href="{{$rss.self}}"/>
|
||||
<description>Friendika timeline</description>
|
||||
<language>$rss.language</language>
|
||||
<language>{{$rss.language}}</language>
|
||||
<ttl>40</ttl>
|
||||
<image>
|
||||
<link>$user.link</link>
|
||||
<title>$user.name's items</title>
|
||||
<url>$user.profile_image_url</url>
|
||||
<link>{{$user.link}}</link>
|
||||
<title>{{$user.name}}'s items</title>
|
||||
<url>{{$user.profile_image_url}}</url>
|
||||
</image>
|
||||
|
||||
{{ for $statuses as $status }}
|
||||
{{foreach $statuses as $status}}
|
||||
<item>
|
||||
<title>$status.user.name: $status.text</title>
|
||||
<description>$status.text</description>
|
||||
<pubDate>$status.created_at</pubDate>
|
||||
<guid>$status.url</guid>
|
||||
<link>$status.url</link>
|
||||
<twitter:source>$status.source</twitter:source>
|
||||
<title>{{$status.user.name}}: {{$status.text}}</title>
|
||||
<description>{{$status.text}}</description>
|
||||
<pubDate>{{$status.created_at}}</pubDate>
|
||||
<guid>{{$status.url}}</guid>
|
||||
<link>{{$status.url}}</link>
|
||||
<twitter:source>{{$status.source}}</twitter:source>
|
||||
</item>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
41
view/tpl/api_timeline_xml.tpl
Normal file → Executable file
41
view/tpl/api_timeline_xml.tpl
Normal file → Executable file
|
@ -1,20 +1,25 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<statuses type="array" xmlns:statusnet="http://status.net/schema/api/1/">
|
||||
{{ for $statuses as $status }} <status>
|
||||
<text>$status.text</text>
|
||||
<truncated>$status.truncated</truncated>
|
||||
<created_at>$status.created_at</created_at>
|
||||
<in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id>
|
||||
<source>$status.source</source>
|
||||
<id>$status.id</id>
|
||||
<in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id>
|
||||
<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.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>
|
||||
<place>$status.place</place>
|
||||
<contributors>$status.contributors</contributors>
|
||||
{{foreach $statuses as $status}} <status>
|
||||
<text>{{$status.text}}</text>
|
||||
<truncated>{{$status.truncated}}</truncated>
|
||||
<created_at>{{$status.created_at}}</created_at>
|
||||
<in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id>
|
||||
<source>{{$status.source}}</source>
|
||||
<id>{{$status.id}}</id>
|
||||
<in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id>
|
||||
<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="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>
|
||||
<place>{{$status.place}}</place>
|
||||
<contributors>{{$status.contributors}}</contributors>
|
||||
</status>
|
||||
{{ endfor }}</statuses>
|
||||
{{/foreach}}</statuses>
|
||||
|
|
93
view/tpl/api_user_xml.tpl
Normal file → Executable file
93
view/tpl/api_user_xml.tpl
Normal file → Executable file
|
@ -1,46 +1,51 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<user>
|
||||
<id>$user.id</id>
|
||||
<name>$user.name</name>
|
||||
<screen_name>$user.screen_name</screen_name>
|
||||
<location>$user.location</location>
|
||||
<description>$user.description</description>
|
||||
<profile_image_url>$user.profile_image_url</profile_image_url>
|
||||
<url>$user.url</url>
|
||||
<protected>$user.protected</protected>
|
||||
<followers_count>$user.followers_count</followers_count>
|
||||
<friends_count>$user.friends_count</friends_count>
|
||||
<created_at>$user.created_at</created_at>
|
||||
<favourites_count>$user.favourites_count</favourites_count>
|
||||
<utc_offset>$user.utc_offset</utc_offset>
|
||||
<time_zone>$user.time_zone</time_zone>
|
||||
<statuses_count>$user.statuses_count</statuses_count>
|
||||
<following>$user.following</following>
|
||||
<profile_background_color>$user.profile_background_color</profile_background_color>
|
||||
<profile_text_color>$user.profile_text_color</profile_text_color>
|
||||
<profile_link_color>$user.profile_link_color</profile_link_color>
|
||||
<profile_sidebar_fill_color>$user.profile_sidebar_fill_color</profile_sidebar_fill_color>
|
||||
<profile_sidebar_border_color>$user.profile_sidebar_border_color</profile_sidebar_border_color>
|
||||
<profile_background_image_url>$user.profile_background_image_url</profile_background_image_url>
|
||||
<profile_background_tile>$user.profile_background_tile</profile_background_tile>
|
||||
<profile_use_background_image>$user.profile_use_background_image</profile_use_background_image>
|
||||
<notifications>$user.notifications</notifications>
|
||||
<geo_enabled>$user.geo_enabled</geo_enabled>
|
||||
<verified>$user.verified</verified>
|
||||
<lang>$user.lang</lang>
|
||||
<contributors_enabled>$user.contributors_enabled</contributors_enabled>
|
||||
<status>{{ if $user.status }}
|
||||
<created_at>$user.status.created_at</created_at>
|
||||
<id>$user.status.id</id>
|
||||
<text>$user.status.text</text>
|
||||
<source>$user.status.source</source>
|
||||
<truncated>$user.status.truncated</truncated>
|
||||
<in_reply_to_status_id>$user.status.in_reply_to_status_id</in_reply_to_status_id>
|
||||
<in_reply_to_user_id>$user.status.in_reply_to_user_id</in_reply_to_user_id>
|
||||
<favorited>$user.status.favorited</favorited>
|
||||
<in_reply_to_screen_name>$user.status.in_reply_to_screen_name</in_reply_to_screen_name>
|
||||
<geo>$user.status.geo</geo>
|
||||
<coordinates>$user.status.coordinates</coordinates>
|
||||
<place>$user.status.place</place>
|
||||
<contributors>$user.status.contributors</contributors>
|
||||
{{ endif }}</status>
|
||||
<id>{{$user.id}}</id>
|
||||
<name>{{$user.name}}</name>
|
||||
<screen_name>{{$user.screen_name}}</screen_name>
|
||||
<location>{{$user.location}}</location>
|
||||
<description>{{$user.description}}</description>
|
||||
<profile_image_url>{{$user.profile_image_url}}</profile_image_url>
|
||||
<url>{{$user.url}}</url>
|
||||
<protected>{{$user.protected}}</protected>
|
||||
<followers_count>{{$user.followers_count}}</followers_count>
|
||||
<friends_count>{{$user.friends_count}}</friends_count>
|
||||
<created_at>{{$user.created_at}}</created_at>
|
||||
<favourites_count>{{$user.favourites_count}}</favourites_count>
|
||||
<utc_offset>{{$user.utc_offset}}</utc_offset>
|
||||
<time_zone>{{$user.time_zone}}</time_zone>
|
||||
<statuses_count>{{$user.statuses_count}}</statuses_count>
|
||||
<following>{{$user.following}}</following>
|
||||
<profile_background_color>{{$user.profile_background_color}}</profile_background_color>
|
||||
<profile_text_color>{{$user.profile_text_color}}</profile_text_color>
|
||||
<profile_link_color>{{$user.profile_link_color}}</profile_link_color>
|
||||
<profile_sidebar_fill_color>{{$user.profile_sidebar_fill_color}}</profile_sidebar_fill_color>
|
||||
<profile_sidebar_border_color>{{$user.profile_sidebar_border_color}}</profile_sidebar_border_color>
|
||||
<profile_background_image_url>{{$user.profile_background_image_url}}</profile_background_image_url>
|
||||
<profile_background_tile>{{$user.profile_background_tile}}</profile_background_tile>
|
||||
<profile_use_background_image>{{$user.profile_use_background_image}}</profile_use_background_image>
|
||||
<notifications>{{$user.notifications}}</notifications>
|
||||
<geo_enabled>{{$user.geo_enabled}}</geo_enabled>
|
||||
<verified>{{$user.verified}}</verified>
|
||||
<lang>{{$user.lang}}</lang>
|
||||
<contributors_enabled>{{$user.contributors_enabled}}</contributors_enabled>
|
||||
<status>{{if $user.status}}
|
||||
<created_at>{{$user.status.created_at}}</created_at>
|
||||
<id>{{$user.status.id}}</id>
|
||||
<text>{{$user.status.text}}</text>
|
||||
<source>{{$user.status.source}}</source>
|
||||
<truncated>{{$user.status.truncated}}</truncated>
|
||||
<in_reply_to_status_id>{{$user.status.in_reply_to_status_id}}</in_reply_to_status_id>
|
||||
<in_reply_to_user_id>{{$user.status.in_reply_to_user_id}}</in_reply_to_user_id>
|
||||
<favorited>{{$user.status.favorited}}</favorited>
|
||||
<in_reply_to_screen_name>{{$user.status.in_reply_to_screen_name}}</in_reply_to_screen_name>
|
||||
<geo>{{$user.status.geo}}</geo>
|
||||
<coordinates>{{$user.status.coordinates}}</coordinates>
|
||||
<place>{{$user.status.place}}</place>
|
||||
<contributors>{{$user.status.contributors}}</contributors>
|
||||
{{/if}}</status>
|
||||
</user>
|
||||
|
|
13
view/tpl/apps.tpl
Normal file → Executable file
13
view/tpl/apps.tpl
Normal file → Executable file
|
@ -1,7 +1,12 @@
|
|||
<h3>$title</h3>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h3>{{$title}}</h3>
|
||||
|
||||
<ul>
|
||||
{{ for $apps as $ap }}
|
||||
<li>$ap</li>
|
||||
{{ endfor }}
|
||||
{{foreach $apps as $ap}}
|
||||
<li>{{$ap}}</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
|
29
view/tpl/atom_feed.tpl
Normal file → Executable file
29
view/tpl/atom_feed.tpl
Normal file → Executable file
|
@ -1,3 +1,8 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"
|
||||
xmlns:thr="http://purl.org/syndication/thread/1.0"
|
||||
|
@ -10,20 +15,20 @@
|
|||
xmlns:ostatus="http://ostatus.org/schema/1.0"
|
||||
xmlns:statusnet="http://status.net/schema/api/1/" >
|
||||
|
||||
<id>$feed_id</id>
|
||||
<title>$feed_title</title>
|
||||
<generator uri="http://friendica.com" version="$version">Friendica</generator>
|
||||
<id>{{$feed_id}}</id>
|
||||
<title>{{$feed_title}}</title>
|
||||
<generator uri="http://friendica.com" version="{{$version}}">Friendica</generator>
|
||||
<link rel="license" href="http://creativecommons.org/licenses/by/3.0/" />
|
||||
$hub
|
||||
$salmon
|
||||
$community
|
||||
{{$hub}}
|
||||
{{$salmon}}
|
||||
{{$community}}
|
||||
|
||||
<updated>$feed_updated</updated>
|
||||
<updated>{{$feed_updated}}</updated>
|
||||
|
||||
<dfrn:owner>
|
||||
<name dfrn:updated="$namdate" >$name</name>
|
||||
<uri dfrn:updated="$uridate" >$profile_page</uri>
|
||||
<link rel="photo" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" />
|
||||
<link rel="avatar" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" />
|
||||
$birthday
|
||||
<name dfrn:updated="{{$namdate}}" >{{$name}}</name>
|
||||
<uri dfrn:updated="{{$uridate}}" >{{$profile_page}}</uri>
|
||||
<link rel="photo" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" />
|
||||
<link rel="avatar" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" />
|
||||
{{$birthday}}
|
||||
</dfrn:owner>
|
||||
|
|
29
view/tpl/atom_feed_dfrn.tpl
Normal file → Executable file
29
view/tpl/atom_feed_dfrn.tpl
Normal file → Executable file
|
@ -1,3 +1,8 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"
|
||||
xmlns:thr="http://purl.org/syndication/thread/1.0"
|
||||
|
@ -10,20 +15,20 @@
|
|||
xmlns:ostatus="http://ostatus.org/schema/1.0"
|
||||
xmlns:statusnet="http://status.net/schema/api/1/" >
|
||||
|
||||
<id>$feed_id</id>
|
||||
<title>$feed_title</title>
|
||||
<generator uri="http://friendica.com" version="$version">Friendica</generator>
|
||||
<id>{{$feed_id}}</id>
|
||||
<title>{{$feed_title}}</title>
|
||||
<generator uri="http://friendica.com" version="{{$version}}">Friendica</generator>
|
||||
<link rel="license" href="http://creativecommons.org/licenses/by/3.0/" />
|
||||
$hub
|
||||
$salmon
|
||||
$community
|
||||
{{$hub}}
|
||||
{{$salmon}}
|
||||
{{$community}}
|
||||
|
||||
<updated>$feed_updated</updated>
|
||||
<updated>{{$feed_updated}}</updated>
|
||||
|
||||
<author>
|
||||
<name dfrn:updated="$namdate" >$name</name>
|
||||
<uri dfrn:updated="$uridate" >$profile_page</uri>
|
||||
<link rel="photo" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" />
|
||||
<link rel="avatar" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" />
|
||||
$birthday
|
||||
<name dfrn:updated="{{$namdate}}" >{{$name}}</name>
|
||||
<uri dfrn:updated="{{$uridate}}" >{{$profile_page}}</uri>
|
||||
<link rel="photo" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" />
|
||||
<link rel="avatar" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" />
|
||||
{{$birthday}}
|
||||
</author>
|
||||
|
|
19
view/tpl/birthdays_reminder.tpl
Normal file → Executable file
19
view/tpl/birthdays_reminder.tpl
Normal file → Executable file
|
@ -1,10 +1,15 @@
|
|||
{{ if $count }}
|
||||
<div id="birthday-notice" class="birthday-notice fakelink $classtoday" onclick="openClose('birthday-wrapper');">$event_reminders ($count)</div>
|
||||
<div id="birthday-wrapper" style="display: none;" ><div id="birthday-title">$event_title</div>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{if $count}}
|
||||
<div id="birthday-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('birthday-wrapper');">{{$event_reminders}} ({{$count}})</div>
|
||||
<div id="birthday-wrapper" style="display: none;" ><div id="birthday-title">{{$event_title}}</div>
|
||||
<div id="birthday-title-end"></div>
|
||||
{{ for $events as $event }}
|
||||
<div class="birthday-list" id="birthday-$event.id"></a> <a href="$event.link">$event.title</a> $event.date </div>
|
||||
{{ endfor }}
|
||||
{{foreach $events as $event}}
|
||||
<div class="birthday-list" id="birthday-{{$event.id}}"></a> <a href="{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
|
|
45
view/tpl/build_query.tpl
Normal file → Executable file
45
view/tpl/build_query.tpl
Normal file → Executable file
|
@ -1,28 +1,33 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script>
|
||||
|
||||
var bParam_cmd = "$baseurl/update_$pgtype";
|
||||
var bParam_cmd = "{{$baseurl}}/update_{{$pgtype}}";
|
||||
|
||||
|
||||
var bParam_uid = $uid;
|
||||
var bParam_gid = $gid;
|
||||
var bParam_cid = $cid;
|
||||
var bParam_cmin = $cmin;
|
||||
var bParam_cmax = $cmax;
|
||||
var bParam_star = $star;
|
||||
var bParam_liked = $liked;
|
||||
var bParam_conv = $conv;
|
||||
var bParam_spam = $spam;
|
||||
var bParam_new = $nouveau;
|
||||
var bParam_page = $page;
|
||||
var bParam_wall = $wall;
|
||||
var bParam_uid = {{$uid}};
|
||||
var bParam_gid = {{$gid}};
|
||||
var bParam_cid = {{$cid}};
|
||||
var bParam_cmin = {{$cmin}};
|
||||
var bParam_cmax = {{$cmax}};
|
||||
var bParam_star = {{$star}};
|
||||
var bParam_liked = {{$liked}};
|
||||
var bParam_conv = {{$conv}};
|
||||
var bParam_spam = {{$spam}};
|
||||
var bParam_new = {{$nouveau}};
|
||||
var bParam_page = {{$page}};
|
||||
var bParam_wall = {{$wall}};
|
||||
|
||||
var bParam_search = "$search";
|
||||
var bParam_order = "$order";
|
||||
var bParam_file = "$file";
|
||||
var bParam_cats = "$cats";
|
||||
var bParam_dend = "$dend";
|
||||
var bParam_dbegin = "$dbegin";
|
||||
var bParam_mid = "$mid";
|
||||
var bParam_search = "{{$search}}";
|
||||
var bParam_order = "{{$order}}";
|
||||
var bParam_file = "{{$file}}";
|
||||
var bParam_cats = "{{$cats}}";
|
||||
var bParam_dend = "{{$dend}}";
|
||||
var bParam_dbegin = "{{$dbegin}}";
|
||||
var bParam_mid = "{{$mid}}";
|
||||
|
||||
function buildCmd() {
|
||||
var udargs = ((page_load) ? "/load" : "");
|
||||
|
|
17
view/tpl/categories_widget.tpl
Normal file → Executable file
17
view/tpl/categories_widget.tpl
Normal file → Executable file
|
@ -1,12 +1,17 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="categories-sidebar" class="widget">
|
||||
<h3>$title</h3>
|
||||
<div id="categories-sidebar-desc">$desc</div>
|
||||
<h3>{{$title}}</h3>
|
||||
<div id="categories-sidebar-desc">{{$desc}}</div>
|
||||
|
||||
<ul class="categories-ul">
|
||||
<li class="tool"><a href="$base" class="categories-link categories-all{{ if $sel_all }} categories-selected{{ endif }}">$all</a></li>
|
||||
{{ for $terms as $term }}
|
||||
<li class="tool"><a href="$base?f=&cat=$term.name" class="categories-link{{ if $term.selected }} categories-selected{{ endif }}">$term.name</a></li>
|
||||
{{ endfor }}
|
||||
<li class="tool"><a href="{{$base}}" class="categories-link categories-all{{if $sel_all}} categories-selected{{/if}}">{{$all}}</a></li>
|
||||
{{foreach $terms as $term}}
|
||||
<li class="tool"><a href="{{$base}}?f=&cat={{$term.name}}" class="categories-link{{if $term.selected}} categories-selected{{/if}}">{{$term.name}}</a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
23
view/tpl/channel.tpl
Normal file → Executable file
23
view/tpl/channel.tpl
Normal file → Executable file
|
@ -1,12 +1,17 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="channel-selection">
|
||||
{{ if $channel.default_links }}
|
||||
{{ if $channel.default }}
|
||||
<div class="channel-selection-default default">$msg_default</div>
|
||||
{{ else }}
|
||||
<div class="channel-selection-default"><a href="manage/$channel.channel_id/default">$msg_make_default</a></div>
|
||||
{{ endif }}
|
||||
{{ endif }}
|
||||
<a href="$channel.link" class="channel-selection-photo-link" title="$channel.channel_name"><img class="channel-photo" src="$channel.xchan_photo_m" alt="$channel.channel_name" /></a>
|
||||
<a href="$channel.link" class="channel-selection-name-link" title="$channel.channel_name"><div class="channel-name">$channel.channel_name</div></a>
|
||||
{{if $channel.default_links}}
|
||||
{{if $channel.default}}
|
||||
<div class="channel-selection-default default">{{$msg_default}}</div>
|
||||
{{else}}
|
||||
<div class="channel-selection-default"><a href="manage/{{$channel.channel_id}}/default">{{$msg_make_default}}</a></div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<a href="{{$channel.link}}" class="channel-selection-photo-link" title="{{$channel.channel_name}}"><img class="channel-photo" src="{{$channel.xchan_photo_m}}" alt="{{$channel.channel_name}}" /></a>
|
||||
<a href="{{$channel.link}}" class="channel-selection-name-link" title="{{$channel.channel_name}}"><div class="channel-name">{{$channel.channel_name}}</div></a>
|
||||
</div>
|
||||
<div class="channel-selection-end"></div>
|
||||
|
|
29
view/tpl/channel_import.tpl
Normal file → Executable file
29
view/tpl/channel_import.tpl
Normal file → Executable file
|
@ -1,34 +1,39 @@
|
|||
<h2>$title</h2>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h2>{{$title}}</h2>
|
||||
|
||||
<form action="import" method="post" id="import-channel-form">
|
||||
|
||||
<div id="import-desc" class="descriptive-paragraph">$desc</div>
|
||||
<div id="import-desc" class="descriptive-paragraph">{{$desc}}</div>
|
||||
|
||||
<label for="import-filename" id="label-import-filename" class="import-label" >$label_filename</label>
|
||||
<label for="import-filename" id="label-import-filename" class="import-label" >{{$label_filename}}</label>
|
||||
<input type="file" name="filename" id="import-filename" class="import-input" value="" />
|
||||
<div id="import-filename-end" class="import-field-end"></div>
|
||||
|
||||
<div id="import-choice" class="descriptive-paragraph">$choice</div>
|
||||
<div id="import-choice" class="descriptive-paragraph">{{$choice}}</div>
|
||||
|
||||
<label for="import-old-address" id="label-import-old-address" class="import-label" >$label_old_address</label>
|
||||
<label for="import-old-address" id="label-import-old-address" class="import-label" >{{$label_old_address}}</label>
|
||||
<input type="text" name="old_address" id="import-old-address" class="import-input" value="" />
|
||||
<div id="import-old-address-end" class="import-field-end"></div>
|
||||
|
||||
<label for="import-old-email" id="label-import-old-email" class="import-label" >$label_old_email</label>
|
||||
<input type="text" name="email" id="import-old-email" class="import-input" value="$email" />
|
||||
<label for="import-old-email" id="label-import-old-email" class="import-label" >{{$label_old_email}}</label>
|
||||
<input type="text" name="email" id="import-old-email" class="import-input" value="{{$email}}" />
|
||||
<div id="import-old-email-end" class="import-field-end"></div>
|
||||
|
||||
<label for="import-old-pass" id="label-import-old-pass" class="import-label" >$label_old_pass</label>
|
||||
<input type="password" name="password" id="import-old-pass" class="import-input" value="$pass" />
|
||||
<label for="import-old-pass" id="label-import-old-pass" class="import-label" >{{$label_old_pass}}</label>
|
||||
<input type="password" name="password" id="import-old-pass" class="import-input" value="{{$pass}}" />
|
||||
<div id="import-old-pass-end" class="import-field-end"></div>
|
||||
|
||||
<div id="import-common-desc" class="descriptive-paragraph">$common</div>
|
||||
<div id="import-common-desc" class="descriptive-paragraph">{{$common}}</div>
|
||||
|
||||
<input type="checkbox" name="make_primary" id="import-make-primary" value="1" />
|
||||
<label for="import-make-primary" id="label-import-make-primary">$label_import_primary</label>
|
||||
<label for="import-make-primary" id="label-import-make-primary">{{$label_import_primary}}</label>
|
||||
<div id="import-make-primary-end" class="import-field-end"></div>
|
||||
|
||||
<input type="submit" name="submit" id="import-submit-button" value="$submit" />
|
||||
<input type="submit" name="submit" id="import-submit-button" value="{{$submit}}" />
|
||||
<div id="import-submit-end" class="import-field-end"></div>
|
||||
|
||||
</form>
|
||||
|
|
33
view/tpl/channels.tpl
Normal file → Executable file
33
view/tpl/channels.tpl
Normal file → Executable file
|
@ -1,22 +1,27 @@
|
|||
<h3>$header</h3>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h3>{{$header}}</h3>
|
||||
|
||||
|
||||
{{ if $links }}
|
||||
{{ for $links as $l }}
|
||||
<a class="channels-links" href="$l.0" title="$l.1">$l.2</a>
|
||||
{{ endfor }}
|
||||
{{ endif }}
|
||||
{{if $links}}
|
||||
{{foreach $links as $l}}
|
||||
<a class="channels-links" href="{{$l.0}}" title="{{$l.1}}">{{$l.2}}</a>
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
|
||||
{{ if $selected }}
|
||||
<div id="channels-selected">$msg_selected</div>
|
||||
{{ inc channel.tpl with $channel=$selected }}{{ endinc }}
|
||||
{{if $selected}}
|
||||
<div id="channels-selected">{{$msg_selected}}</div>
|
||||
{{include file="channel.tpl" channel=$selected}}
|
||||
<div class="channels-end selected"></div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
<div id="channels-desc" class="descriptive-text">$desc</div>
|
||||
<div id="channels-desc" class="descriptive-text">{{$desc}}</div>
|
||||
|
||||
{{ for $all_channels as $chn }}
|
||||
{{ inc channel.tpl with $channel=$chn }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
{{foreach $all_channels as $chn}}
|
||||
{{include file="channel.tpl" channel=$chn}}
|
||||
{{/foreach}}
|
||||
|
||||
<div class="channels-end all"></div>
|
||||
|
|
9
view/tpl/chanview.tpl
Normal file → Executable file
9
view/tpl/chanview.tpl
Normal file → Executable file
|
@ -1,2 +1,7 @@
|
|||
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="$full" >☐</div>
|
||||
<iframe id="remote-channel" width="100%" src="$url" onload="resize_iframe()"></iframe>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="{{$full}}" >☐</div>
|
||||
<iframe id="remote-channel" width="100%" src="{{$url}}" onload="resize_iframe()"></iframe>
|
||||
|
|
93
view/tpl/comment_item.tpl
Normal file → Executable file
93
view/tpl/comment_item.tpl
Normal file → Executable file
|
@ -1,64 +1,69 @@
|
|||
{{ if $threaded }}
|
||||
<div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-$id" style="display: block;">
|
||||
{{ else }}
|
||||
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
|
||||
{{ endif }}
|
||||
<form class="comment-edit-form" style="display: block;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
|
||||
<input type="hidden" name="type" value="$type" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="parent" value="$parent" />
|
||||
<input type="hidden" name="return" value="$return_path" />
|
||||
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{if $threaded}}
|
||||
<div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;">
|
||||
{{else}}
|
||||
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
|
||||
{{/if}}
|
||||
<form class="comment-edit-form" style="display: block;" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">
|
||||
<input type="hidden" name="type" value="{{$type}}" />
|
||||
<input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
|
||||
<input type="hidden" name="parent" value="{{$parent}}" />
|
||||
<input type="hidden" name="return" value="{{$return_path}}" />
|
||||
<input type="hidden" name="jsreload" value="{{$jsreload}}" />
|
||||
<input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
|
||||
|
||||
<div class="comment-edit-photo" id="comment-edit-photo-$id" >
|
||||
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||
<div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >
|
||||
<a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
|
||||
</div>
|
||||
<div class="comment-edit-photo-end"></div>
|
||||
<ul class="comment-edit-bb-$id">
|
||||
<ul class="comment-edit-bb-{{$id}}">
|
||||
<li><a class="editicon boldbb shadow"
|
||||
style="cursor: pointer;" title="$edbold"
|
||||
onclick="insertFormatting('$comment','b', $id);"></a></li>
|
||||
style="cursor: pointer;" title="{{$edbold}}"
|
||||
onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li>
|
||||
<li><a class="editicon italicbb shadow"
|
||||
style="cursor: pointer;" title="$editalic"
|
||||
onclick="insertFormatting('$comment','i', $id);"></a></li>
|
||||
style="cursor: pointer;" title="{{$editalic}}"
|
||||
onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li>
|
||||
<li><a class="editicon underlinebb shadow"
|
||||
style="cursor: pointer;" title="$eduline"
|
||||
onclick="insertFormatting('$comment','u', $id);"></a></li>
|
||||
style="cursor: pointer;" title="{{$eduline}}"
|
||||
onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li>
|
||||
<li><a class="editicon quotebb shadow"
|
||||
style="cursor: pointer;" title="$edquote"
|
||||
onclick="insertFormatting('$comment','quote', $id);"></a></li>
|
||||
style="cursor: pointer;" title="{{$edquote}}"
|
||||
onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li>
|
||||
<li><a class="editicon codebb shadow"
|
||||
style="cursor: pointer;" title="$edcode"
|
||||
onclick="insertFormatting('$comment','code', $id);"></a></li>
|
||||
style="cursor: pointer;" title="{{$edcode}}"
|
||||
onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li>
|
||||
<li><a class="editicon imagebb shadow"
|
||||
style="cursor: pointer;" title="$edimg"
|
||||
onclick="insertFormatting('$comment','img', $id);"></a></li>
|
||||
style="cursor: pointer;" title="{{$edimg}}"
|
||||
onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li>
|
||||
<li><a class="editicon urlbb shadow"
|
||||
style="cursor: pointer;" title="$edurl"
|
||||
onclick="insertFormatting('$comment','url', $id);"></a></li>
|
||||
style="cursor: pointer;" title="{{$edurl}}"
|
||||
onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li>
|
||||
<li><a class="editicon videobb shadow"
|
||||
style="cursor: pointer;" title="$edvideo"
|
||||
onclick="insertFormatting('$comment','video', $id);"></a></li>
|
||||
style="cursor: pointer;" title="{{$edvideo}}"
|
||||
onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li>
|
||||
</ul>
|
||||
<div class="comment-edit-bb-end"></div>
|
||||
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen(this, $id);" onBlur="commentClose(this,$id);cmtBbClose(this,$id);" >$comment</textarea>
|
||||
{{ if $qcomment }}
|
||||
<select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
|
||||
<textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen(this, {{$id}});" onBlur="commentClose(this,{{$id}});cmtBbClose(this,{{$id}});" >{{$comment}}</textarea>
|
||||
{{if $qcomment}}
|
||||
<select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >
|
||||
<option value=""></option>
|
||||
{{ for $qcomment as $qc }}
|
||||
<option value="$qc">$qc</option>
|
||||
{{ endfor }}
|
||||
{{foreach $qcomment as $qc}}
|
||||
<option value="{{$qc}}">{{$qc}}</option>
|
||||
{{/foreach}}
|
||||
</select>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
<div class="comment-edit-text-end"></div>
|
||||
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
|
||||
<input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
|
||||
{{ if $preview }}
|
||||
<span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="fakelink">$preview</span>
|
||||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>
|
||||
{{ endif }}
|
||||
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
|
||||
<input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
|
||||
{{if $preview}}
|
||||
<span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
|
||||
<div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="comment-edit-end"></div>
|
||||
|
|
11
view/tpl/common_friends.tpl
Normal file → Executable file
11
view/tpl/common_friends.tpl
Normal file → Executable file
|
@ -1,12 +1,17 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="profile-match-wrapper">
|
||||
<div class="profile-match-photo">
|
||||
<a href="$url">
|
||||
<img src="$photo" alt="$name" width="80" height="80" title="$name [$url]" />
|
||||
<a href="{{$url}}">
|
||||
<img src="{{$photo}}" alt="{{$name}}" width="80" height="80" title="{{$name}} [{{$url}}]" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="profile-match-break"></div>
|
||||
<div class="profile-match-name">
|
||||
<a href="$url" title="$name[$tags]">$name</a>
|
||||
<a href="{{$url}}" title="{{$name}}[{{$tags}}]">{{$name}}</a>
|
||||
</div>
|
||||
<div class="profile-match-end"></div>
|
||||
</div>
|
11
view/tpl/common_tabs.tpl
Normal file → Executable file
11
view/tpl/common_tabs.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<ul class="tabs">
|
||||
{{ for $tabs as $tab }}
|
||||
<li {{ if $tab.id }}id="$tab.id"{{ endif }}><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li>
|
||||
{{ endfor }}
|
||||
{{foreach $tabs as $tab}}
|
||||
<li {{if $tab.id}}id="{{$tab.id}}"{{/if}}><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
<div class="tabs-end"></div>
|
19
view/tpl/contact_block.tpl
Normal file → Executable file
19
view/tpl/contact_block.tpl
Normal file → Executable file
|
@ -1,12 +1,17 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="contact-block">
|
||||
<div id="contact-block-numcontacts">$contacts</div>
|
||||
{{ if $micropro }}
|
||||
<a class="allcontact-link" href="viewconnections/$nickname">$viewconnections</a>
|
||||
<div id="contact-block-numcontacts">{{$contacts}}</div>
|
||||
{{if $micropro}}
|
||||
<a class="allcontact-link" href="viewconnections/{{$nickname}}">{{$viewconnections}}</a>
|
||||
<div class='contact-block-content'>
|
||||
{{ for $micropro as $m }}
|
||||
$m
|
||||
{{ endfor }}
|
||||
{{foreach $micropro as $m}}
|
||||
{{$m}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
|
11
view/tpl/contact_head.tpl
Normal file → Executable file
11
view/tpl/contact_head.tpl
Normal file → Executable file
|
@ -1,10 +1,15 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "$editselect",
|
||||
mode : "{{$editselect}}",
|
||||
elements: "contact-edit-info",
|
||||
plugins : "bbcode",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
|
@ -20,7 +25,7 @@ tinyMCE.init({
|
|||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
content_css: "$baseurl/view/custom_tinymce.css"
|
||||
content_css: "{{$baseurl}}/view/custom_tinymce.css"
|
||||
|
||||
|
||||
});
|
||||
|
|
9
view/tpl/contact_slider.tpl
Normal file → Executable file
9
view/tpl/contact_slider.tpl
Normal file → Executable file
|
@ -1,4 +1,9 @@
|
|||
<div id="contact-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="contact-range" type="text" name="fake-closeness" value="$val" /></div>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="contact-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="contact-range" type="text" name="fake-closeness" value="{{$val}}" /></div>
|
||||
<script>
|
||||
$("#contact-range").slider({ from: 0, to: 99, step: 1, scale: ['$me', '|', '$intimate', '|', '$friends', '|', '$oldfriends', '|', '$acquaintances', '|', '$world' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } });
|
||||
$("#contact-range").slider({ from: 0, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } });
|
||||
</script>
|
||||
|
|
11
view/tpl/contact_template.tpl
Normal file → Executable file
11
view/tpl/contact_template.tpl
Normal file → Executable file
|
@ -1,9 +1,14 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" >
|
||||
<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
|
||||
<div class="contact-entry-photo-wrapper" >
|
||||
<a href="$contact.link" title="$contact.img_hover" /><img class="contact-block-img" src="$contact.thumb" alt="$contact.name" /></a>
|
||||
<a href="{{$contact.link}}" title="{{$contact.img_hover}}" /><img class="contact-block-img" src="{{$contact.thumb}}" alt="{{$contact.name}}" /></a>
|
||||
</div>
|
||||
<div class="contact-entry-photo-end" ></div>
|
||||
<div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div>
|
||||
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div>
|
||||
<div class="contact-entry-end" ></div>
|
||||
</div>
|
||||
|
|
27
view/tpl/contacts-template.tpl
Normal file → Executable file
27
view/tpl/contacts-template.tpl
Normal file → Executable file
|
@ -1,25 +1,30 @@
|
|||
<h1>$header{{ if $total }} ($total){{ endif }}</h1>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h1>{{$header}}{{if $total}} ({{$total}}){{/if}}</h1>
|
||||
|
||||
{{ if $finding }}<h4>$finding</h4>{{ endif }}
|
||||
{{if $finding}}<h4>{{$finding}}</h4>{{/if}}
|
||||
|
||||
<div id="contacts-search-wrapper">
|
||||
<form id="contacts-search-form" action="$cmd" method="get" >
|
||||
<span class="contacts-search-desc">$desc</span>
|
||||
<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="$search" />
|
||||
<input type="submit" name="submit" id="contacts-search-submit" value="$submit" />
|
||||
<form id="contacts-search-form" action="{{$cmd}}" method="get" >
|
||||
<span class="contacts-search-desc">{{$desc}}</span>
|
||||
<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="{{$search}}" />
|
||||
<input type="submit" name="submit" id="contacts-search-submit" value="{{$submit}}" />
|
||||
</form>
|
||||
</div>
|
||||
<div id="contacts-search-end"></div>
|
||||
|
||||
$tabs
|
||||
{{$tabs}}
|
||||
|
||||
|
||||
{{ for $contacts as $contact }}
|
||||
{{ inc contact_template.tpl }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
{{foreach $contacts as $contact}}
|
||||
{{include file="contact_template.tpl"}}
|
||||
{{/foreach}}
|
||||
<div id="contact-edit-end"></div>
|
||||
|
||||
$paginate
|
||||
{{$paginate}}
|
||||
|
||||
|
||||
|
||||
|
|
25
view/tpl/conv.tpl
Normal file → Executable file
25
view/tpl/conv.tpl
Normal file → Executable file
|
@ -1,17 +1,22 @@
|
|||
{{ for $threads as $thread }}
|
||||
<div id="thread-wrapper-$thread.id" class="thread-wrapper">
|
||||
{{ for $thread.items as $item }}
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{foreach $threads as $thread}}
|
||||
<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper">
|
||||
{{foreach $thread.items as $item}}
|
||||
{{if $item.comment_firstcollapsed}}
|
||||
<div class="hide-comments-outer">
|
||||
<span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span>
|
||||
<span id="hide-comments-total-{{$thread.id}}" class="hide-comments-total">{{$thread.num_comments}}</span> <span id="hide-comments-{{$thread.id}}" class="hide-comments fakelink" onclick="showHideComments({{$thread.id}});">{{$thread.hide_text}}</span>
|
||||
</div>
|
||||
<div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
|
||||
{{endif}}
|
||||
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||
<div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;">
|
||||
{{/if}}
|
||||
{{if $item.comment_lastcollapsed}}</div>{{/if}}
|
||||
|
||||
{{ inc $item.template }}{{ endinc }}
|
||||
{{include file="{{$item.template}}"}}
|
||||
|
||||
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
|
|
15
view/tpl/conv_frame.tpl
Normal file → Executable file
15
view/tpl/conv_frame.tpl
Normal file → Executable file
|
@ -1,14 +1,19 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="threads-begin"></div>
|
||||
<div id="threads-end"></div>
|
||||
<div id="conversation-end"></div>
|
||||
|
||||
{{ if $dropping }}
|
||||
{{if $dropping}}
|
||||
<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-desc" >$dropping</div>
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-desc" >{{$dropping}}</div>
|
||||
</div>
|
||||
<div id="item-delete-selected-end"></div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
<img id="page-spinner" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
|
||||
<img id="page-spinner" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
|
||||
|
||||
|
|
163
view/tpl/conv_item.tpl
Normal file → Executable file
163
view/tpl/conv_item.tpl
Normal file → Executable file
|
@ -1,115 +1,120 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{if $item.comment_firstcollapsed}}
|
||||
<div class="hide-comments-outer">
|
||||
<span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span> <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span>
|
||||
<span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">{{$item.num_comments}}</span> <span id="hide-comments-{{$item.id}}" class="hide-comments fakelink" onclick="showHideComments({{$item.id}});">{{$item.hide_text}}</span>
|
||||
</div>
|
||||
<div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;">
|
||||
{{endif}}
|
||||
<div id="thread-wrapper-$item.id" class="thread-wrapper $item.toplevel">
|
||||
<a name="$item.id" ></a>
|
||||
<div class="wall-item-outside-wrapper $item.indent$item.previewing{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-outside-wrapper-$item.id" >
|
||||
<div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||
<div class="wall-item-info{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-info-$item.id">
|
||||
{{ if $item.owner_url }}
|
||||
<div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
|
||||
<a href="$item.owner_url" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
|
||||
<img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a>
|
||||
<div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
|
||||
{{/if}}
|
||||
<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}}">
|
||||
<a name="{{$item.id}}" ></a>
|
||||
<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" >
|
||||
<div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" >
|
||||
<div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}">
|
||||
{{if $item.owner_url}}
|
||||
<div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
|
||||
<a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
|
||||
<img src="{{$item.owner_photo}}" class="wall-item-photo{{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.owner_name}}" /></a>
|
||||
</div>
|
||||
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
|
||||
{{ endif }}
|
||||
<div class="wall-item-photo-wrapper{{ if $item.owner_url }} wwfrom{{ endif }}" id="wall-item-photo-wrapper-$item.id"
|
||||
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
|
||||
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
|
||||
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
|
||||
{{/if}}
|
||||
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}"
|
||||
onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')"
|
||||
onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)">
|
||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
|
||||
<img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a>
|
||||
<span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
|
||||
<div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
|
||||
<ul>
|
||||
$item.item_photo_menu
|
||||
{{$item.item_photo_menu}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="wall-item-photo-end"></div>
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
|
||||
{{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div>
|
||||
{{else}}<div class="wall-item-lock"></div>{{/if}}
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-author">
|
||||
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>{{ if $item.owner_url }} $item.to <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall{{ endif }}<br />
|
||||
<div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.isotime">$item.localtime</div>
|
||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>{{if $item.owner_url}} {{$item.to}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}{{/if}}<br />
|
||||
<div class="wall-item-ago" id="wall-item-ago-{{$item.id}}" title="{{$item.isotime}}">{{$item.localtime}}</div>
|
||||
</div>
|
||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||
<div class="wall-item-content" id="wall-item-content-{{$item.id}}" >
|
||||
<div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||
<div class="wall-item-title-end"></div>
|
||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}}
|
||||
<div class="body-tag">
|
||||
{{ for $item.tags as $tag }}
|
||||
<span class='tag'>$tag</span>
|
||||
{{ endfor }}
|
||||
{{foreach $item.tags as $tag}}
|
||||
<span class='tag'>{{$tag}}</span>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{ if $item.has_cats }}
|
||||
<div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
|
||||
{{if $item.has_cats}}
|
||||
<div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
{{ if $item.has_folders }}
|
||||
<div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
|
||||
{{if $item.has_folders}}
|
||||
<div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||
{{ if $item.like }}
|
||||
<a href="#" class="icon like item-tool" title="$item.like.0" onclick="dolike($item.id,'like'); return false"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.dislike }}
|
||||
<a href="#" class="icon dislike item-tool" title="$item.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.share }}
|
||||
<a href="#" class="icon recycle item-tool" title="$item.share.0" onclick="jotShare($item.id); return false"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.plink }}
|
||||
<a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon item-tool remote-link$item.sparkle"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.edpost }}
|
||||
<a class="editpost icon pencil item-tool" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.star }}
|
||||
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon item-tool $item.star.isstarred" title="$item.star.toggle"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.tagger }}
|
||||
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon item-tool tagged" title="$item.tagger.tagit"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.filer }}
|
||||
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon item-tool" title="$item.filer"></a>
|
||||
{{ endif }}
|
||||
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
|
||||
<div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
|
||||
{{if $item.like}}
|
||||
<a href="#" class="icon like item-tool" title="{{$item.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
|
||||
{{/if}}
|
||||
{{if $item.dislike}}
|
||||
<a href="#" class="icon dislike item-tool" title="{{$item.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>
|
||||
{{/if}}
|
||||
{{if $item.share}}
|
||||
<a href="#" class="icon recycle item-tool" title="{{$item.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>
|
||||
{{/if}}
|
||||
{{if $item.plink}}
|
||||
<a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="icon item-tool remote-link{{$item.sparkle}}"></a>
|
||||
{{/if}}
|
||||
{{if $item.edpost}}
|
||||
<a class="editpost icon pencil item-tool" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
|
||||
{{/if}}
|
||||
{{if $item.star}}
|
||||
<a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon item-tool {{$item.star.isstarred}}" title="{{$item.star.toggle}}"></a>
|
||||
{{/if}}
|
||||
{{if $item.tagger}}
|
||||
<a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon item-tool tagged" title="{{$item.tagger.tagit}}"></a>
|
||||
{{/if}}
|
||||
{{if $item.filer}}
|
||||
<a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon item-tool" title="{{$item.filer}}"></a>
|
||||
{{/if}}
|
||||
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
|
||||
|
||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
|
||||
{{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}}
|
||||
</div>
|
||||
{{ if $item.drop.pagedrop }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||
{{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}
|
||||
<div class="wall-item-delete-end"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-wrapper-end"></div>
|
||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.showlike</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.showdislike</div>
|
||||
<div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.showlike}}</div>
|
||||
<div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.showdislike}}</div>
|
||||
|
||||
<div class="wall-item-outside-wrapper-end $item.indent" ></div>
|
||||
<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>
|
||||
</div>
|
||||
{{ if $item.toplevel }}
|
||||
{{ for $item.children as $child }}
|
||||
{{ inc $child.template with $item=$child }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
{{ endif }}
|
||||
{{if $item.toplevel}}
|
||||
{{foreach $item.children as $child}}
|
||||
{{include file="{{$child.template}}" item=$child}}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
|
||||
<div class="wall-item-comment-wrapper" >
|
||||
$item.comment
|
||||
{{$item.comment}}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||
{{if $item.comment_lastcollapsed}}</div>{{/if}}
|
||||
|
|
33
view/tpl/conversation.tpl
Normal file → Executable file
33
view/tpl/conversation.tpl
Normal file → Executable file
|
@ -1,28 +1,33 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="threads-begin"></div>
|
||||
{{ for $threads as $thread }}
|
||||
<div id="thread-wrapper-$thread.id" class="thread-wrapper">
|
||||
{{ for $thread.items as $item }}
|
||||
{{foreach $threads as $thread}}
|
||||
<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper">
|
||||
{{foreach $thread.items as $item}}
|
||||
{{if $item.comment_firstcollapsed}}
|
||||
<div class="hide-comments-outer">
|
||||
<span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span>
|
||||
<span id="hide-comments-total-{{$thread.id}}" class="hide-comments-total">{{$thread.num_comments}}</span> <span id="hide-comments-{{$thread.id}}" class="hide-comments fakelink" onclick="showHideComments({{$thread.id}});">{{$thread.hide_text}}</span>
|
||||
</div>
|
||||
<div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
|
||||
{{endif}}
|
||||
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||
<div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;">
|
||||
{{/if}}
|
||||
{{if $item.comment_lastcollapsed}}</div>{{/if}}
|
||||
|
||||
{{ inc $item.template }}{{ endinc }}
|
||||
{{include file="{{$item.template}}"}}
|
||||
|
||||
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
<div id="threads-end"></div>
|
||||
<div id="conversation-end"></div>
|
||||
|
||||
{{ if $dropping }}
|
||||
{{if $dropping}}
|
||||
<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-desc" >$dropping</div>
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-desc" >{{$dropping}}</div>
|
||||
</div>
|
||||
<div id="item-delete-selected-end"></div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
|
11
view/tpl/convobj.tpl
Normal file → Executable file
11
view/tpl/convobj.tpl
Normal file → Executable file
|
@ -1,4 +1,9 @@
|
|||
{{ for $threads as $item }}
|
||||
{{ inc $item.template }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{foreach $threads as $item}}
|
||||
{{include file="{{$item.template}}"}}
|
||||
{{/foreach}}
|
||||
|
||||
|
|
45
view/tpl/crepair.tpl
Normal file → Executable file
45
view/tpl/crepair.tpl
Normal file → Executable file
|
@ -1,45 +1,50 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<form id="crepair-form" action="crepair/$contact_id" method="post" >
|
||||
<form id="crepair-form" action="crepair/{{$contact_id}}" method="post" >
|
||||
|
||||
<h4>$contact_name</h4>
|
||||
<h4>{{$contact_name}}</h4>
|
||||
|
||||
<label id="crepair-name-label" class="crepair-label" for="crepair-name">$label_name</label>
|
||||
<input type="text" id="crepair-name" class="crepair-input" name="name" value="$contact_name" />
|
||||
<label id="crepair-name-label" class="crepair-label" for="crepair-name">{{$label_name}}</label>
|
||||
<input type="text" id="crepair-name" class="crepair-input" name="name" value="{{$contact_name}}" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<label id="crepair-nick-label" class="crepair-label" for="crepair-nick">$label_nick</label>
|
||||
<input type="text" id="crepair-nick" class="crepair-input" name="nick" value="$contact_nick" />
|
||||
<label id="crepair-nick-label" class="crepair-label" for="crepair-nick">{{$label_nick}}</label>
|
||||
<input type="text" id="crepair-nick" class="crepair-input" name="nick" value="{{$contact_nick}}" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<label id="crepair-attag-label" class="crepair-label" for="crepair-attag">$label_attag</label>
|
||||
<input type="text" id="crepair-attag" class="crepair-input" name="attag" value="$contact_attag" />
|
||||
<label id="crepair-attag-label" class="crepair-label" for="crepair-attag">{{$label_attag}}</label>
|
||||
<input type="text" id="crepair-attag" class="crepair-input" name="attag" value="{{$contact_attag}}" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<label id="crepair-url-label" class="crepair-label" for="crepair-url">$label_url</label>
|
||||
<input type="text" id="crepair-url" class="crepair-input" name="url" value="$contact_url" />
|
||||
<label id="crepair-url-label" class="crepair-label" for="crepair-url">{{$label_url}}</label>
|
||||
<input type="text" id="crepair-url" class="crepair-input" name="url" value="{{$contact_url}}" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<label id="crepair-request-label" class="crepair-label" for="crepair-request">$label_request</label>
|
||||
<input type="text" id="crepair-request" class="crepair-input" name="request" value="$request" />
|
||||
<label id="crepair-request-label" class="crepair-label" for="crepair-request">{{$label_request}}</label>
|
||||
<input type="text" id="crepair-request" class="crepair-input" name="request" value="{{$request}}" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<label id="crepair-confirm-label" class="crepair-label" for="crepair-confirm">$label_confirm</label>
|
||||
<input type="text" id="crepair-confirm" class="crepair-input" name="confirm" value="$confirm" />
|
||||
<label id="crepair-confirm-label" class="crepair-label" for="crepair-confirm">{{$label_confirm}}</label>
|
||||
<input type="text" id="crepair-confirm" class="crepair-input" name="confirm" value="{{$confirm}}" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<label id="crepair-notify-label" class="crepair-label" for="crepair-notify">$label_notify</label>
|
||||
<input type="text" id="crepair-notify" class="crepair-input" name="notify" value="$notify" />
|
||||
<label id="crepair-notify-label" class="crepair-label" for="crepair-notify">{{$label_notify}}</label>
|
||||
<input type="text" id="crepair-notify" class="crepair-input" name="notify" value="{{$notify}}" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<label id="crepair-poll-label" class="crepair-label" for="crepair-poll">$label_poll</label>
|
||||
<input type="text" id="crepair-poll" class="crepair-input" name="poll" value="$poll" />
|
||||
<label id="crepair-poll-label" class="crepair-label" for="crepair-poll">{{$label_poll}}</label>
|
||||
<input type="text" id="crepair-poll" class="crepair-input" name="poll" value="{{$poll}}" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<label id="crepair-photo-label" class="crepair-label" for="crepair-photo">$label_photo</label>
|
||||
<label id="crepair-photo-label" class="crepair-label" for="crepair-photo">{{$label_photo}}</label>
|
||||
<input type="text" id="crepair-photo" class="crepair-input" name="photo" value="" />
|
||||
<div class="clear"></div>
|
||||
|
||||
<input type="submit" name="submit" value="$lbl_submit" />
|
||||
<input type="submit" name="submit" value="{{$lbl_submit}}" />
|
||||
|
||||
</form>
|
||||
|
||||
|
|
19
view/tpl/cropbody.tpl
Normal file → Executable file
19
view/tpl/cropbody.tpl
Normal file → Executable file
|
@ -1,9 +1,14 @@
|
|||
<h1>$title</h1>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h1>{{$title}}</h1>
|
||||
<p id="cropimage-desc">
|
||||
$desc
|
||||
{{$desc}}
|
||||
</p>
|
||||
<div id="cropimage-wrapper">
|
||||
<img src="$image_url" id="croppa" class="imgCrop" alt="$title" />
|
||||
<img src="{{$image_url}}" id="croppa" class="imgCrop" alt="{{$title}}" />
|
||||
</div>
|
||||
<div id="cropimage-preview-wrapper" >
|
||||
<div id="previewWrap" ></div>
|
||||
|
@ -39,10 +44,10 @@ $desc
|
|||
|
||||
</script>
|
||||
|
||||
<form action="profile_photo/$resource" id="crop-image-form" method="post" />
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
<form action="profile_photo/{{$resource}}" id="crop-image-form" method="post" />
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
|
||||
<input type='hidden' name='profile' value='$profile'>
|
||||
<input type='hidden' name='profile' value='{{$profile}}'>
|
||||
<input type="hidden" name="cropfinal" value="1" />
|
||||
<input type="hidden" name="xstart" id="x1" />
|
||||
<input type="hidden" name="ystart" id="y1" />
|
||||
|
@ -52,7 +57,7 @@ $desc
|
|||
<input type="hidden" name="width" id="width" />
|
||||
|
||||
<div id="crop-image-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="$done" />
|
||||
<input type="submit" name="submit" value="{{$done}}" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
5
view/tpl/crophead.tpl
Normal file → Executable file
5
view/tpl/crophead.tpl
Normal file → Executable file
|
@ -1,3 +1,8 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script>
|
||||
<script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
|
||||
<script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script>
|
||||
|
|
57
view/tpl/delegate.tpl
Normal file → Executable file
57
view/tpl/delegate.tpl
Normal file → Executable file
|
@ -1,57 +1,62 @@
|
|||
<h3>$header</h3>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h3>{{$header}}</h3>
|
||||
|
||||
<div id="delegate-desc" class="delegate-desc">$desc</div>
|
||||
<div id="delegate-desc" class="delegate-desc">{{$desc}}</div>
|
||||
|
||||
{{ if $managers }}
|
||||
<h3>$head_managers</h3>
|
||||
{{if $managers}}
|
||||
<h3>{{$head_managers}}</h3>
|
||||
|
||||
{{ for $managers as $x }}
|
||||
{{foreach $managers as $x}}
|
||||
|
||||
<div class="contact-block-div">
|
||||
<a class="contact-block-link" href="#" >
|
||||
<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username ($x.nickname)" />
|
||||
<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
<div class="clear"></div>
|
||||
<hr />
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
|
||||
<h3>$head_delegates</h3>
|
||||
<h3>{{$head_delegates}}</h3>
|
||||
|
||||
{{ if $delegates }}
|
||||
{{ for $delegates as $x }}
|
||||
{{if $delegates}}
|
||||
{{foreach $delegates as $x}}
|
||||
|
||||
<div class="contact-block-div">
|
||||
<a class="contact-block-link" href="$base/delegate/remove/$x.uid" >
|
||||
<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username ($x.nickname)" />
|
||||
<a class="contact-block-link" href="{{$base}}/delegate/remove/{{$x.uid}}" >
|
||||
<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
<div class="clear"></div>
|
||||
{{ else }}
|
||||
$none
|
||||
{{ endif }}
|
||||
{{else}}
|
||||
{{$none}}
|
||||
{{/if}}
|
||||
<hr />
|
||||
|
||||
|
||||
<h3>$head_potentials</h3>
|
||||
{{ if $potentials }}
|
||||
{{ for $potentials as $x }}
|
||||
<h3>{{$head_potentials}}</h3>
|
||||
{{if $potentials}}
|
||||
{{foreach $potentials as $x}}
|
||||
|
||||
<div class="contact-block-div">
|
||||
<a class="contact-block-link" href="$base/delegate/add/$x.uid" >
|
||||
<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username ($x.nickname)" />
|
||||
<a class="contact-block-link" href="{{$base}}/delegate/add/{{$x.uid}}" >
|
||||
<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
<div class="clear"></div>
|
||||
{{ else }}
|
||||
$none
|
||||
{{ endif }}
|
||||
{{else}}
|
||||
{{$none}}
|
||||
{{/if}}
|
||||
<hr />
|
||||
|
||||
|
|
19
view/tpl/directory_header.tpl
Normal file → Executable file
19
view/tpl/directory_header.tpl
Normal file → Executable file
|
@ -1,14 +1,19 @@
|
|||
<h1>$dirlbl</h1>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h1>{{$dirlbl}}</h1>
|
||||
|
||||
{{ if $search }}
|
||||
<h4>$finddsc $safetxt</h4>
|
||||
{{ endif }}
|
||||
{{if $search}}
|
||||
<h4>{{$finddsc}} {{$safetxt}}</h4>
|
||||
{{/if}}
|
||||
|
||||
{{for $entries as $entry}}
|
||||
{{foreach $entries as $entry}}
|
||||
|
||||
{{ inc direntry.tpl }}{{ endinc }}
|
||||
{{include file="direntry.tpl"}}
|
||||
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
|
||||
|
||||
|
||||
|
|
17
view/tpl/direntry.tpl
Normal file → Executable file
17
view/tpl/direntry.tpl
Normal file → Executable file
|
@ -1,11 +1,16 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class="directory-item lframe" id="directory-item-$entry.id" >
|
||||
<div class="contact-photo-wrapper" id="directory-photo-wrapper-$entry.id" >
|
||||
<div class="contact-photo" id="directory-photo-$entry.id" >
|
||||
<a href="$entry.profile_link" class="directory-profile-link" id="directory-profile-link-$entry.id" ><img class="directory-photo-img" src="$entry.photo" alt="$entry.alttext" title="$entry.alttext" /></a>
|
||||
<div class="directory-item lframe" id="directory-item-{{$entry.id}}" >
|
||||
<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$entry.id}}" >
|
||||
<div class="contact-photo" id="directory-photo-{{$entry.id}}" >
|
||||
<a href="{{$entry.profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$entry.id}}" ><img class="directory-photo-img" src="{{$entry.photo}}" alt="{{$entry.alttext}}" title="{{$entry.alttext}}" /></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contact-name" id="directory-name-$entry.id">$entry.name</div>
|
||||
<div class="contact-details">$entry.details</div>
|
||||
<div class="contact-name" id="directory-name-{{$entry.id}}">{{$entry.name}}</div>
|
||||
<div class="contact-details">{{$entry.details}}</div>
|
||||
</div>
|
||||
|
|
5
view/tpl/display-head.tpl
Normal file → Executable file
5
view/tpl/display-head.tpl
Normal file → Executable file
|
@ -1,3 +1,8 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
|
|
7
view/tpl/edpost_head.tpl
Normal file → Executable file
7
view/tpl/edpost_head.tpl
Normal file → Executable file
|
@ -1 +1,6 @@
|
|||
<h2>$title</h2>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h2>{{$title}}</h2>
|
||||
|
|
27
view/tpl/email_notify_html.tpl
Normal file → Executable file
27
view/tpl/email_notify_html.tpl
Normal file → Executable file
|
@ -1,26 +1,31 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>$banner</title>
|
||||
<title>{{$banner}}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<table style="border:1px solid #ccc">
|
||||
<tbody>
|
||||
<tr><td colspan="2" style="background:#ff0000; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='$siteurl/images/r!.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">$product</div><div style="clear: both;"></div></td></tr>
|
||||
<tr><td colspan="2" style="background:#ff0000; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/r!.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">{{$product}}</div><div style="clear: both;"></div></td></tr>
|
||||
|
||||
|
||||
<tr><td style="padding-top:22px;" colspan="2">$preamble</td></tr>
|
||||
<tr><td style="padding-top:22px;" colspan="2">{{$preamble}}</td></tr>
|
||||
|
||||
|
||||
<tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="$source_link"><img style="border:0px;width:48px;height:48px;" src="$source_photo"></a></td>
|
||||
<td style="padding-top:22px;"><a href="$source_link">$source_name</a></td></tr>
|
||||
<tr><td style="font-weight:bold;padding-bottom:5px;">$title</td></tr>
|
||||
<tr><td style="padding-right:22px;">$htmlversion</td></tr>
|
||||
<tr><td style="padding-top:11px;" colspan="2">$hsitelink</td></tr>
|
||||
<tr><td style="padding-bottom:11px;" colspan="2">$hitemlink</td></tr>
|
||||
<tr><td></td><td>$thanks</td></tr>
|
||||
<tr><td></td><td>$site_admin</td></tr>
|
||||
<tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$source_link}}"><img style="border:0px;width:48px;height:48px;" src="{{$source_photo}}"></a></td>
|
||||
<td style="padding-top:22px;"><a href="{{$source_link}}">{{$source_name}}</a></td></tr>
|
||||
<tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
|
||||
<tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
|
||||
<tr><td style="padding-top:11px;" colspan="2">{{$hsitelink}}</td></tr>
|
||||
<tr><td style="padding-bottom:11px;" colspan="2">{{$hitemlink}}</td></tr>
|
||||
<tr><td></td><td>{{$thanks}}</td></tr>
|
||||
<tr><td></td><td>{{$site_admin}}</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
|
|
19
view/tpl/email_notify_text.tpl
Normal file → Executable file
19
view/tpl/email_notify_text.tpl
Normal file → Executable file
|
@ -1,13 +1,18 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
$preamble
|
||||
{{$preamble}}
|
||||
|
||||
$title
|
||||
{{$title}}
|
||||
|
||||
$textversion
|
||||
{{$textversion}}
|
||||
|
||||
$tsitelink
|
||||
$titemlink
|
||||
{{$tsitelink}}
|
||||
{{$titemlink}}
|
||||
|
||||
$thanks
|
||||
$site_admin
|
||||
{{$thanks}}
|
||||
{{$site_admin}}
|
||||
|
||||
|
|
17
view/tpl/event.tpl
Normal file → Executable file
17
view/tpl/event.tpl
Normal file → Executable file
|
@ -1,10 +1,15 @@
|
|||
{{ for $events as $event }}
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{foreach $events as $event}}
|
||||
<div class="event">
|
||||
|
||||
{{ if $event.item.author.xchan_name }}<a href="$event.item.author.xchan_url" ><img src="$event.item.author.xchan_photo_s" height="32" width="32" />$event.item.author.xchan_name</a>{{ endif }}
|
||||
$event.html
|
||||
{{ if $event.item.plink }}<a href="$event.plink.0" title="$event.plink.1" class="plink-event-link icon s22 remote-link"></a>{{ endif }}
|
||||
{{ if $event.edit }}<a href="$event.edit.0" title="$event.edit.1" class="edit-event-link icon s22 pencil"></a>{{ endif }}
|
||||
{{if $event.item.author.xchan_name}}<a href="{{$event.item.author.xchan_url}}" ><img src="{{$event.item.author.xchan_photo_s}}" height="32" width="32" />{{$event.item.author.xchan_name}}</a>{{/if}}
|
||||
{{$event.html}}
|
||||
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link icon s22 remote-link"></a>{{/if}}
|
||||
{{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
|
|
47
view/tpl/event_form.tpl
Normal file → Executable file
47
view/tpl/event_form.tpl
Normal file → Executable file
|
@ -1,49 +1,54 @@
|
|||
<h3>$title</h3>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h3>{{$title}}</h3>
|
||||
|
||||
<p>
|
||||
$desc
|
||||
{{$desc}}
|
||||
</p>
|
||||
|
||||
<form action="$post" method="post" >
|
||||
<form action="{{$post}}" method="post" >
|
||||
|
||||
<input type="hidden" name="event_id" value="$eid" />
|
||||
<input type="hidden" name="cid" value="$cid" />
|
||||
<input type="hidden" name="mid" value="$mid" />
|
||||
<input type="hidden" name="event_id" value="{{$eid}}" />
|
||||
<input type="hidden" name="cid" value="{{$cid}}" />
|
||||
<input type="hidden" name="mid" value="{{$mid}}" />
|
||||
|
||||
<div id="event-start-text">$s_text</div>
|
||||
$s_dsel $s_tsel
|
||||
<div id="event-start-text">{{$s_text}}</div>
|
||||
{{$s_dsel}} {{$s_tsel}}
|
||||
|
||||
<div id="event-finish-text">$f_text</div>
|
||||
$f_dsel $f_tsel
|
||||
<div id="event-finish-text">{{$f_text}}</div>
|
||||
{{$f_dsel}} {{$f_tsel}}
|
||||
|
||||
<div id="event-datetime-break"></div>
|
||||
|
||||
<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" $n_checked /> <div id="event-nofinish-text">$n_text</div>
|
||||
<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" {{$n_checked}} /> <div id="event-nofinish-text">{{$n_text}}</div>
|
||||
|
||||
<div id="event-nofinish-break"></div>
|
||||
|
||||
<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" $a_checked /> <div id="event-adjust-text">$a_text</div>
|
||||
<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" {{$a_checked}} /> <div id="event-adjust-text">{{$a_text}}</div>
|
||||
|
||||
<div id="event-adjust-break"></div>
|
||||
|
||||
<div id="event-summary-text">$t_text</div>
|
||||
<input type="text" id="event-summary" name="summary" value="$t_orig" />
|
||||
<div id="event-summary-text">{{$t_text}}</div>
|
||||
<input type="text" id="event-summary" name="summary" value="{{$t_orig}}" />
|
||||
|
||||
|
||||
<div id="event-desc-text">$d_text</div>
|
||||
<textarea id="event-desc-textarea" name="desc">$d_orig</textarea>
|
||||
<div id="event-desc-text">{{$d_text}}</div>
|
||||
<textarea id="event-desc-textarea" name="desc">{{$d_orig}}</textarea>
|
||||
|
||||
|
||||
<div id="event-location-text">$l_text</div>
|
||||
<textarea id="event-location-textarea" name="location">$l_orig</textarea>
|
||||
<div id="event-location-text">{{$l_text}}</div>
|
||||
<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea>
|
||||
|
||||
<input type="checkbox" name="share" value="1" id="event-share-checkbox" $sh_checked /> <div id="event-share-text">$sh_text</div>
|
||||
<input type="checkbox" name="share" value="1" id="event-share-checkbox" {{$sh_checked}} /> <div id="event-share-text">{{$sh_text}}</div>
|
||||
<div id="event-share-break"></div>
|
||||
|
||||
$acl
|
||||
{{$acl}}
|
||||
|
||||
<div class="clear"></div>
|
||||
<input id="event-submit" type="submit" name="submit" value="$submit" />
|
||||
<input id="event-submit" type="submit" name="submit" value="{{$submit}}" />
|
||||
</form>
|
||||
|
||||
|
||||
|
|
17
view/tpl/event_head.tpl
Normal file → Executable file
17
view/tpl/event_head.tpl
Normal file → Executable file
|
@ -1,11 +1,16 @@
|
|||
<link rel='stylesheet' type='text/css' href='$baseurl/library/fullcalendar/fullcalendar.css' />
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script>
|
||||
src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
|
||||
|
||||
<script>
|
||||
function showEvent(eventid) {
|
||||
$.get(
|
||||
'$baseurl/events/?id='+eventid,
|
||||
'{{$baseurl}}/events/?id='+eventid,
|
||||
function(data){
|
||||
$.fancybox(data);
|
||||
}
|
||||
|
@ -14,7 +19,7 @@
|
|||
|
||||
$(document).ready(function() {
|
||||
$('#events-calendar').fullCalendar({
|
||||
events: '$baseurl/events/json/',
|
||||
events: '{{$baseurl}}/events/json/',
|
||||
header: {
|
||||
left: 'prev,next today',
|
||||
center: 'title',
|
||||
|
@ -75,7 +80,7 @@
|
|||
|
||||
|
||||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
|
||||
|
@ -97,7 +102,7 @@
|
|||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
content_css: "{{$baseurl}}/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onInit.add(function(ed) {
|
||||
|
|
11
view/tpl/events-js.tpl
Normal file → Executable file
11
view/tpl/events-js.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
$tabs
|
||||
<h2>$title</h2>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{$tabs}}
|
||||
<h2>{{$title}}</h2>
|
||||
|
||||
<div id="new-event-link"><a href="$new_event.0" >$new_event.1</a></div>
|
||||
<div id="new-event-link"><a href="{{$new_event.0}}" >{{$new_event.1}}</a></div>
|
||||
|
||||
<div id="events-calendar"></div>
|
||||
|
|
19
view/tpl/events_reminder.tpl
Normal file → Executable file
19
view/tpl/events_reminder.tpl
Normal file → Executable file
|
@ -1,10 +1,15 @@
|
|||
{{ if $count }}
|
||||
<div id="event-notice" class="birthday-notice fakelink $classtoday" onclick="openClose('event-wrapper');">$event_reminders ($count)</div>
|
||||
<div id="event-wrapper" style="display: none;" ><div id="event-title">$event_title</div>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{if $count}}
|
||||
<div id="event-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('event-wrapper');">{{$event_reminders}} ({{$count}})</div>
|
||||
<div id="event-wrapper" style="display: none;" ><div id="event-title">{{$event_title}}</div>
|
||||
<div id="event-title-end"></div>
|
||||
{{ for $events as $event }}
|
||||
<div class="event-list" id="event-$event.id"></a> <a href="events/$event.link">$event.title</a> $event.date </div>
|
||||
{{ endfor }}
|
||||
{{foreach $events as $event}}
|
||||
<div class="event-list" id="event-{{$event.id}}"></a> <a href="events/{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
|
||||
|
|
23
view/tpl/failed_updates.tpl
Normal file → Executable file
23
view/tpl/failed_updates.tpl
Normal file → Executable file
|
@ -1,17 +1,22 @@
|
|||
<h2>$banner</h2>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h2>{{$banner}}</h2>
|
||||
|
||||
<div id="failed_updates_desc">$desc</div>
|
||||
<div id="failed_updates_desc">{{$desc}}</div>
|
||||
|
||||
{{ if $failed }}
|
||||
{{ for $failed as $f }}
|
||||
{{if $failed}}
|
||||
{{foreach $failed as $f}}
|
||||
|
||||
<h4>$f</h4>
|
||||
<h4>{{$f}}</h4>
|
||||
<ul>
|
||||
<li><a href="$base/admin/dbsync/mark/$f">$mark</a></li>
|
||||
<li><a href="$base/admin/dbsync/$f">$apply</a></li>
|
||||
<li><a href="{{$base}}/admin/dbsync/mark/{{$f}}">{{$mark}}</a></li>
|
||||
<li><a href="{{$base}}/admin/dbsync/{{$f}}">{{$apply}}</a></li>
|
||||
</ul>
|
||||
|
||||
<hr />
|
||||
{{ endfor }}
|
||||
{{ endif }}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
|
||||
|
|
11
view/tpl/field.tpl
Normal file → Executable file
11
view/tpl/field.tpl
Normal file → Executable file
|
@ -1,4 +1,9 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
{{ if $field.0==select }}
|
||||
{{ inc field_select.tpl }}{{ endinc }}
|
||||
{{ endif }}
|
||||
{{if $field.0==select}}
|
||||
{{include file="field_select.tpl"}}
|
||||
{{/if}}
|
||||
|
|
13
view/tpl/field_acheckbox.tpl
Normal file → Executable file
13
view/tpl/field_acheckbox.tpl
Normal file → Executable file
|
@ -1,7 +1,12 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field acheckbox'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<input type="checkbox" class="abook-edit-them" name='$field.0' id='them_id_$field.0' value="1" disabled="disabled" {{ if $field.2 }}checked="checked"{{ endif }} />
|
||||
<input type="checkbox" class="abook-edit-me" name='$field.0' id='me_id_$field.0' value="$field.4" {{ if $field.3 }}checked="checked"{{ endif }} {{ if $field.5 }} disabled="disabled" {{ endif }}/>
|
||||
<span class='field_abook_help'>$field.6</span>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input type="checkbox" class="abook-edit-them" name='{{$field.0}}' id='them_id_{{$field.0}}' value="1" disabled="disabled" {{if $field.2}}checked="checked"{{/if}} />
|
||||
<input type="checkbox" class="abook-edit-me" name='{{$field.0}}' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} {{if $field.5}} disabled="disabled" {{/if}}/>
|
||||
<span class='field_abook_help'>{{$field.6}}</span>
|
||||
</div>
|
||||
|
|
11
view/tpl/field_checkbox.tpl
Normal file → Executable file
11
view/tpl/field_checkbox.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field checkbox'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<input type="checkbox" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="checked"{{ endif }}>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="1" {{if $field.2}}checked="checked"{{/if}}>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
27
view/tpl/field_combobox.tpl
Normal file → Executable file
27
view/tpl/field_combobox.tpl
Normal file → Executable file
|
@ -1,18 +1,23 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field combobox'>
|
||||
<label for='id_$field.0' id='id_$field.0_label'>$field.1</label>
|
||||
{# html5 don't work on Chrome, Safari and IE9
|
||||
<input id="id_$field.0" type="text" list="data_$field.0" >
|
||||
<datalist id="data_$field.0" >
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$val">{{ endfor }}
|
||||
</datalist> #}
|
||||
<label for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label>
|
||||
{{* html5 don't work on Chrome, Safari and IE9
|
||||
<input id="id_{{$field.0}}" type="text" list="data_{{$field.0}}" >
|
||||
<datalist id="data_{{$field.0}}" >
|
||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{/foreach}}
|
||||
</datalist> *}}
|
||||
|
||||
<input id="id_$field.0" type="text" value="$field.2">
|
||||
<select id="select_$field.0" onChange="$('#id_$field.0').val($(this).val())">
|
||||
<option value="">$field.5</option>
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$val">$val</option>{{ endfor }}
|
||||
<input id="id_{{$field.0}}" type="text" value="{{$field.2}}">
|
||||
<select id="select_{{$field.0}}" onChange="$('#id_{{$field.0}}').val($(this).val())">
|
||||
<option value="">{{$field.5}}</option>
|
||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}}
|
||||
</select>
|
||||
|
||||
<span class='field_help'>$field.3</span>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
||||
|
|
11
view/tpl/field_custom.tpl
Normal file → Executable file
11
view/tpl/field_custom.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field custom'>
|
||||
<label for='$field.0'>$field.1</label>
|
||||
$field.2
|
||||
<span class='field_help'>$field.3</span>
|
||||
<label for='{{$field.0}}'>{{$field.1}}</label>
|
||||
{{$field.2}}
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
13
view/tpl/field_input.tpl
Normal file → Executable file
13
view/tpl/field_input.tpl
Normal file → Executable file
|
@ -1,7 +1,12 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_$field.0' id='label_$field.0'>$field.1</label>
|
||||
<input name='$field.0' id='id_$field.0' value="$field.2">
|
||||
<span id='help_$field.0' class='field_help'>$field.3</span>
|
||||
<div id='end_$field.0' class='field_end'></div>
|
||||
<label for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
|
||||
<span id='help_{{$field.0}}' class='field_help'>{{$field.3}}</span>
|
||||
<div id='end_{{$field.0}}' class='field_end'></div>
|
||||
</div>
|
||||
|
|
11
view/tpl/field_intcheckbox.tpl
Normal file → Executable file
11
view/tpl/field_intcheckbox.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field checkbox'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<input type="checkbox" name='$field.0' id='id_$field.0' value="$field.3" {{ if $field.2 }}checked="true"{{ endif }}>
|
||||
<span class='field_help'>$field.4</span>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="true"{{/if}}>
|
||||
<span class='field_help'>{{$field.4}}</span>
|
||||
</div>
|
||||
|
|
11
view/tpl/field_password.tpl
Normal file → Executable file
11
view/tpl/field_password.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field password'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<input type='password' name='$field.0' id='id_$field.0' value="$field.2">
|
||||
<span class='field_help'>$field.3</span>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
11
view/tpl/field_radio.tpl
Normal file → Executable file
11
view/tpl/field_radio.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field radio'>
|
||||
<label for='id_$field.0_$field.2'>$field.1</label>
|
||||
<input type="radio" name='$field.0' id='id_$field.0_$field.2' value="$field.2" {{ if $field.4 }}checked="true"{{ endif }}>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<label for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label>
|
||||
<input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
11
view/tpl/field_richtext.tpl
Normal file → Executable file
11
view/tpl/field_richtext.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field richtext'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<textarea name='$field.0' id='id_$field.0' class="fieldRichtext">$field.2</textarea>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<textarea name='{{$field.0}}' id='id_{{$field.0}}' class="fieldRichtext">{{$field.2}}</textarea>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
13
view/tpl/field_select.tpl
Normal file → Executable file
13
view/tpl/field_select.tpl
Normal file → Executable file
|
@ -1,8 +1,13 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field select'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<select name='$field.0' id='id_$field.0'>
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }}
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
|
||||
</select>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
13
view/tpl/field_select_raw.tpl
Normal file → Executable file
13
view/tpl/field_select_raw.tpl
Normal file → Executable file
|
@ -1,8 +1,13 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field select'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<select name='$field.0' id='id_$field.0'>
|
||||
$field.4
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
{{$field.4}}
|
||||
</select>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
11
view/tpl/field_textarea.tpl
Normal file → Executable file
11
view/tpl/field_textarea.tpl
Normal file → Executable file
|
@ -1,6 +1,11 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<textarea name='$field.0' id='id_$field.0'>$field.2</textarea>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<textarea name='{{$field.0}}' id='id_{{$field.0}}'>{{$field.2}}</textarea>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
15
view/tpl/field_themeselect.tpl
Normal file → Executable file
15
view/tpl/field_themeselect.tpl
Normal file → Executable file
|
@ -1,9 +1,14 @@
|
|||
<script>$(function(){ previewTheme($("#id_$field.0")[0]); });</script>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
|
||||
<div class='field select'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<select name='$field.0' id='id_$field.0' {{ if $field.5=='preview' }}onchange="previewTheme(this);"{{ endif }} >
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }}
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5=='preview'}}onchange="previewTheme(this);"{{/if}} >
|
||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
|
||||
</select>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
<div id="theme-preview"></div>
|
||||
</div>
|
||||
|
|
17
view/tpl/field_yesno.tpl
Normal file → Executable file
17
view/tpl/field_yesno.tpl
Normal file → Executable file
|
@ -1,13 +1,18 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class='field yesno'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<div class='onoff' id="id_$field.0_onoff">
|
||||
<input type="hidden" name='$field.0' id='id_$field.0' value="$field.2">
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<div class='onoff' id="id_{{$field.0}}_onoff">
|
||||
<input type="hidden" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
|
||||
<a href="#" class='off'>
|
||||
{{ if $field.4 }}$field.4.0{{ else }}OFF{{ endif }}
|
||||
{{if $field.4}}{{$field.4.0}}{{else}}OFF{{/if}}
|
||||
</a>
|
||||
<a href="#" class='on'>
|
||||
{{ if $field.4 }}$field.4.1{{ else }}ON{{ endif }}
|
||||
{{if $field.4}}{{$field.4.1}}{{else}}ON{{/if}}
|
||||
</a>
|
||||
</div>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
|
17
view/tpl/fileas_widget.tpl
Normal file → Executable file
17
view/tpl/fileas_widget.tpl
Normal file → Executable file
|
@ -1,12 +1,17 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="fileas-sidebar" class="widget">
|
||||
<h3>$title</h3>
|
||||
<div id="nets-desc">$desc</div>
|
||||
<h3>{{$title}}</h3>
|
||||
<div id="nets-desc">{{$desc}}</div>
|
||||
|
||||
<ul class="fileas-ul">
|
||||
<li class="tool"><a href="$base" class="fileas-link fileas-all{{ if $sel_all }} fileas-selected{{ endif }}">$all</a></li>
|
||||
{{ for $terms as $term }}
|
||||
<li class="tool"><a href="$base?f=&file=$term.name" class="fileas-link{{ if $term.selected }} fileas-selected{{ endif }}">$term.name</a></li>
|
||||
{{ endfor }}
|
||||
<li class="tool"><a href="{{$base}}" class="fileas-link fileas-all{{if $sel_all}} fileas-selected{{/if}}">{{$all}}</a></li>
|
||||
{{foreach $terms as $term}}
|
||||
<li class="tool"><a href="{{$base}}?f=&file={{$term.name}}" class="fileas-link{{if $term.selected}} fileas-selected{{/if}}">{{$term.name}}</a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
21
view/tpl/filebrowser.tpl
Normal file → Executable file
21
view/tpl/filebrowser.tpl
Normal file → Executable file
|
@ -1,7 +1,12 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>
|
||||
<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>
|
||||
<style>
|
||||
.panel_wrapper div.current{.overflow: auto; height: auto!important; }
|
||||
.filebrowser.path { font-family: fixed; font-size: 10px; background-color: #f0f0ee; height:auto; overflow:auto;}
|
||||
|
@ -60,24 +65,24 @@
|
|||
|
||||
<div id="general_panel" class="panel current">
|
||||
<div class="filebrowser path">
|
||||
{{ for $path as $p }}<a href="$p.0">$p.1</a>{{ endfor }}
|
||||
{{foreach $path as $p}}<a href="{{$p.0}}">{{$p.1}}</a>{{/foreach}}
|
||||
</div>
|
||||
<div class="filebrowser folders">
|
||||
<ul>
|
||||
{{ for $folders as $f }}<li><a href="$f.0/">$f.1</a></li>{{ endfor }}
|
||||
{{foreach $folders as $f}}<li><a href="{{$f.0}}/">{{$f.1}}</a></li>{{/foreach}}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="filebrowser files $type">
|
||||
<div class="filebrowser files {{$type}}">
|
||||
<ul>
|
||||
{{ for $files as $f }}
|
||||
<li><a href="#" onclick="FileBrowserDialogue.mySubmit('$f.0'); return false;"><img src="$f.2"><span>$f.1</span></a></li>
|
||||
{{ endfor }}
|
||||
{{foreach $files as $f}}
|
||||
<li><a href="#" onclick="FileBrowserDialogue.mySubmit('{{$f.0}}'); return false;"><img src="{{$f.2}}"><span>{{$f.1}}</span></a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mceActionPanel">
|
||||
<input type="button" id="cancel" name="cancel" value="$cancel" onclick="tinyMCEPopup.close();" />
|
||||
<input type="button" id="cancel" name="cancel" value="{{$cancel}}" onclick="tinyMCEPopup.close();" />
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
|
9
view/tpl/filer_dialog.tpl
Normal file → Executable file
9
view/tpl/filer_dialog.tpl
Normal file → Executable file
|
@ -1,4 +1,9 @@
|
|||
{{ inc field_combobox.tpl }}{{ endinc }}
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
{{include file="field_combobox.tpl"}}
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input id="filer_save" type="button" class="settings-submit" value="$submit" />
|
||||
<input id="filer_save" type="button" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
|
|
11
view/tpl/follow.tpl
Normal file → Executable file
11
view/tpl/follow.tpl
Normal file → Executable file
|
@ -1,8 +1,13 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="follow-sidebar" class="widget">
|
||||
<h3>$connect</h3>
|
||||
<div id="connect-desc">$desc</div>
|
||||
<h3>{{$connect}}</h3>
|
||||
<div id="connect-desc">{{$desc}}</div>
|
||||
<form action="follow" method="post" />
|
||||
<input id="side-follow-url" type="text" name="url" size="24" title="$hint" /><input id="side-follow-submit" type="submit" name="submit" value="$follow" />
|
||||
<input id="side-follow-url" type="text" name="url" size="24" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
17
view/tpl/generic_links_widget.tpl
Normal file → Executable file
17
view/tpl/generic_links_widget.tpl
Normal file → Executable file
|
@ -1,11 +1,16 @@
|
|||
<div class="widget{{ if $class }} $class{{ endif }}">
|
||||
{{if $title}}<h3>$title</h3>{{endif}}
|
||||
{{if $desc}}<div class="desc">$desc</div>{{endif}}
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="widget{{if $class}} {{$class}}{{/if}}">
|
||||
{{if $title}}<h3>{{$title}}</h3>{{/if}}
|
||||
{{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
|
||||
|
||||
<ul>
|
||||
{{ for $items as $item }}
|
||||
<li class="tool"><a href="$item.url" class="{{ if $item.selected }}selected{{ endif }}">$item.label</a></li>
|
||||
{{ endfor }}
|
||||
{{foreach $items as $item}}
|
||||
<li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
11
view/tpl/group_drop.tpl
Normal file → Executable file
11
view/tpl/group_drop.tpl
Normal file → Executable file
|
@ -1,7 +1,12 @@
|
|||
<div class="group-delete-wrapper button" id="group-delete-wrapper-$id" >
|
||||
<a href="group/drop/$id?t=$form_security_token"
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="group-delete-wrapper button" id="group-delete-wrapper-{{$id}}" >
|
||||
<a href="group/drop/{{$id}}?t={{$form_security_token}}"
|
||||
onclick="return confirmDelete();"
|
||||
id="group-delete-icon-$id"
|
||||
id="group-delete-icon-{{$id}}"
|
||||
class="icon drophide group-delete-icon"
|
||||
onmouseover="imgbright(this);"
|
||||
onmouseout="imgdull(this);" ></a>
|
||||
|
|
25
view/tpl/group_edit.tpl
Normal file → Executable file
25
view/tpl/group_edit.tpl
Normal file → Executable file
|
@ -1,23 +1,28 @@
|
|||
<h2>$title</h2>
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h2>{{$title}}</h2>
|
||||
|
||||
|
||||
<div id="group-edit-wrapper" >
|
||||
<form action="group/$gid" id="group-edit-form" method="post" >
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
<form action="group/{{$gid}}" id="group-edit-form" method="post" >
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
|
||||
{{ inc field_input.tpl with $field=$gname }}{{ endinc }}
|
||||
{{ if $drop }}$drop{{ endif }}
|
||||
{{include file="field_input.tpl" field=$gname}}
|
||||
{{if $drop}}{{$drop}}{{/if}}
|
||||
<div id="group-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="$submit" >
|
||||
<input type="submit" name="submit" value="{{$submit}}" >
|
||||
</div>
|
||||
<div id="group-edit-select-end" ></div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
{{ if $groupeditor }}
|
||||
{{if $groupeditor}}
|
||||
<div id="group-update-wrapper">
|
||||
{{ inc groupeditor.tpl }}{{ endinc }}
|
||||
{{include file="groupeditor.tpl"}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{ if $desc }}<div id="group-edit-desc">$desc</div>{{ endif }}
|
||||
{{/if}}
|
||||
{{if $desc}}<div id="group-edit-desc">{{$desc}}</div>{{/if}}
|
||||
|
|
13
view/tpl/group_selection.tpl
Normal file → Executable file
13
view/tpl/group_selection.tpl
Normal file → Executable file
|
@ -1,8 +1,13 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="field custom">
|
||||
<label for="group-selection" id="group-selection-lbl">$label</label>
|
||||
<label for="group-selection" id="group-selection-lbl">{{$label}}</label>
|
||||
<select name="group-selection" id="group-selection" >
|
||||
{{ for $groups as $group }}
|
||||
<option value="$group.id" {{ if $group.selected }}selected="selected"{{ endif }} >$group.name</option>
|
||||
{{ endfor }}
|
||||
{{foreach $groups as $group}}
|
||||
<option value="{{$group.id}}" {{if $group.selected}}selected="selected"{{/if}} >{{$group.name}}</option>
|
||||
{{/foreach}}
|
||||
</select>
|
||||
</div>
|
||||
|
|
37
view/tpl/group_side.tpl
Normal file → Executable file
37
view/tpl/group_side.tpl
Normal file → Executable file
|
@ -1,33 +1,38 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="widget" id="group-sidebar">
|
||||
<h3>$title</h3>
|
||||
<h3>{{$title}}</h3>
|
||||
|
||||
<div id="sidebar-group-list">
|
||||
<ul id="sidebar-group-ul">
|
||||
{{ for $groups as $group }}
|
||||
{{foreach $groups as $group}}
|
||||
<li class="sidebar-group-li">
|
||||
{{ if $group.cid }}
|
||||
{{if $group.cid}}
|
||||
<input type="checkbox"
|
||||
class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action"
|
||||
onclick="contactgroupChangeMember('$group.id','$group.cid');return true;"
|
||||
{{ if $group.ismember }}checked="checked"{{ endif }}
|
||||
class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action"
|
||||
onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"
|
||||
{{if $group.ismember}}checked="checked"{{/if}}
|
||||
/>
|
||||
{{ endif }}
|
||||
{{ if $group.edit }}
|
||||
<a class="groupsideedit" href="$group.edit.href" title="$edittext"><span id="edit-sidebar-group-element-$group.id" class="group-edit-icon iconspacer small-pencil"></span></a>
|
||||
{{ endif }}
|
||||
<a id="sidebar-group-element-$group.id" class="sidebar-group-element {{ if $group.selected }}group-selected{{ endif }}" href="$group.href">$group.text</a>
|
||||
{{/if}}
|
||||
{{if $group.edit}}
|
||||
<a class="groupsideedit" href="{{$group.edit.href}}" title="{{$edittext}}"><span id="edit-sidebar-group-element-{{$group.id}}" class="group-edit-icon iconspacer small-pencil"></span></a>
|
||||
{{/if}}
|
||||
<a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a>
|
||||
</li>
|
||||
{{ endfor }}
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="sidebar-new-group">
|
||||
<a href="group/new">$createtext</a>
|
||||
<a href="group/new">{{$createtext}}</a>
|
||||
</div>
|
||||
{{ if $ungrouped }}
|
||||
{{if $ungrouped}}
|
||||
<div id="sidebar-ungrouped">
|
||||
<a href="nogroup">$ungrouped</a>
|
||||
<a href="nogroup">{{$ungrouped}}</a>
|
||||
</div>
|
||||
{{ endif }}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
13
view/tpl/groupeditor.tpl
Normal file → Executable file
13
view/tpl/groupeditor.tpl
Normal file → Executable file
|
@ -1,16 +1,21 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div id="group">
|
||||
<h3>$groupeditor.label_members</h3>
|
||||
<h3>{{$groupeditor.label_members}}</h3>
|
||||
<div id="group-members" class="contact_list">
|
||||
{{ for $groupeditor.members as $c}} $c {{ endfor }}
|
||||
{{foreach $groupeditor.members as $c}} {{$c}} {{/foreach}}
|
||||
</div>
|
||||
<div id="group-members-end"></div>
|
||||
<hr id="group-separator" />
|
||||
</div>
|
||||
|
||||
<div id="contacts">
|
||||
<h3>$groupeditor.label_contacts</h3>
|
||||
<h3>{{$groupeditor.label_contacts}}</h3>
|
||||
<div id="group-all-contacts" class="contact_list">
|
||||
{{ for $groupeditor.contacts as $m}} $m {{ endfor }}
|
||||
{{foreach $groupeditor.contacts as $m}} {{$m}} {{/foreach}}
|
||||
</div>
|
||||
<div id="group-all-contacts-end"></div>
|
||||
</div>
|
||||
|
|
23
view/tpl/head.tpl
Normal file → Executable file
23
view/tpl/head.tpl
Normal file → Executable file
|
@ -1,28 +1,33 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<base href="$baseurl/" />
|
||||
<meta name="generator" content="$generator" />
|
||||
<base href="{{$baseurl}}/" />
|
||||
<meta name="generator" content="{{$generator}}" />
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
$head_css
|
||||
{{$head_css}}
|
||||
|
||||
$js_strings
|
||||
{{$js_strings}}
|
||||
|
||||
$head_js
|
||||
{{$head_js}}
|
||||
|
||||
<link rel="shortcut icon" href="$baseurl/images/r!.png" />
|
||||
<link rel="shortcut icon" href="{{$baseurl}}/images/r!.png" />
|
||||
<link rel="search"
|
||||
href="$baseurl/opensearch"
|
||||
href="{{$baseurl}}/opensearch"
|
||||
type="application/opensearchdescription+xml"
|
||||
title="Search in Red" />
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
var updateInterval = $update_interval;
|
||||
var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
|
||||
var updateInterval = {{$update_interval}};
|
||||
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
||||
|
||||
</script>
|
||||
|
||||
|
|
9
view/tpl/hide_comments.tpl
Normal file → Executable file
9
view/tpl/hide_comments.tpl
Normal file → Executable file
|
@ -1,4 +1,9 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<div class="hide-comments-outer">
|
||||
<span id="hide-comments-total-$id" class="hide-comments-total">$num_comments</span> <span id="hide-comments-$id" class="hide-comments fakelink" onclick="showHideComments($id);">$hide_text</span>
|
||||
<span id="hide-comments-total-{{$id}}" class="hide-comments-total">{{$num_comments}}</span> <span id="hide-comments-{{$id}}" class="hide-comments fakelink" onclick="showHideComments({{$id}});">{{$hide_text}}</span>
|
||||
</div>
|
||||
<div id="collapsed-comments-$id" class="collapsed-comments" style="display: $display;">
|
||||
<div id="collapsed-comments-{{$id}}" class="collapsed-comments" style="display: {{$display}};">
|
||||
|
|
17
view/tpl/install.tpl
Normal file → Executable file
17
view/tpl/install.tpl
Normal file → Executable file
|
@ -1,10 +1,15 @@
|
|||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
|
||||
<h1>$title</h1>
|
||||
<h2>$pass</h2>
|
||||
<h1>{{$title}}</h1>
|
||||
<h2>{{$pass}}</h2>
|
||||
|
||||
|
||||
{{ if $status }}
|
||||
<h3 class="error-message">$status</h3>
|
||||
{{ endif }}
|
||||
{{if $status}}
|
||||
<h3 class="error-message">{{$status}}</h3>
|
||||
{{/if}}
|
||||
|
||||
$text
|
||||
{{$text}}
|
||||
|
|
39
view/tpl/install_checks.tpl
Normal file → Executable file
39
view/tpl/install_checks.tpl
Normal file → Executable file
|
@ -1,24 +1,29 @@
|
|||
<h1>$title</h1>
|
||||
<h2>$pass</h2>
|
||||
<form action="$baseurl/index.php?q=setup" method="post">
|
||||
{{*
|
||||
* AUTOMATICALLY GENERATED TEMPLATE
|
||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<h1>{{$title}}</h1>
|
||||
<h2>{{$pass}}</h2>
|
||||
<form action="{{$baseurl}}/index.php?q=setup" method="post">
|
||||
<table>
|
||||
{{ for $checks as $check }}
|
||||
<tr><td>$check.title </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{endif}}{{endif}}"></td><td>{{if $check.required}}(required){{endif}}</td></tr>
|
||||
{{if $check.help }}
|
||||
<tr><td colspan="3"><blockquote>$check.help</blockquote></td></tr>
|
||||
{{endif}}
|
||||
{{ endfor }}
|
||||
{{foreach $checks as $check}}
|
||||
<tr><td>{{$check.title}} </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{/if}}{{/if}}"></td><td>{{if $check.required}}(required){{/if}}</td></tr>
|
||||
{{if $check.help}}
|
||||
<tr><td colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</table>
|
||||
|
||||
{{ if $phpath }}
|
||||
<input type="hidden" name="phpath" value="$phpath">
|
||||
{{ endif }}
|
||||
{{if $phpath}}
|
||||
<input type="hidden" name="phpath" value="{{$phpath}}">
|
||||
{{/if}}
|
||||
|
||||
{{ if $passed }}
|
||||
{{if $passed}}
|
||||
<input type="hidden" name="pass" value="2">
|
||||
<input type="submit" value="$next">
|
||||
{{ else }}
|
||||
<input type="submit" value="{{$next}}">
|
||||
{{else}}
|
||||
<input type="hidden" name="pass" value="1">
|
||||
<input type="submit" value="$reload">
|
||||
{{ endif }}
|
||||
<input type="submit" value="{{$reload}}">
|
||||
{{/if}}
|
||||
</form>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue