Merge pull request #1803 from annando/1508-accessibility
Improved accessibility
This commit is contained in:
commit
6cfe7b698e
70
doc/Accesskeys.md
Normal file
70
doc/Accesskeys.md
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
Accesskeys in Friendica
|
||||||
|
=======================
|
||||||
|
|
||||||
|
General
|
||||||
|
-------
|
||||||
|
* p: profile
|
||||||
|
* n: network
|
||||||
|
* c: community
|
||||||
|
* s: search
|
||||||
|
* a: admin
|
||||||
|
* f: notifications
|
||||||
|
* u: user menu (in themes "vier" and "quattro")
|
||||||
|
|
||||||
|
/profile
|
||||||
|
--------
|
||||||
|
* m: Status Messages and Posts
|
||||||
|
* r: Profile Details
|
||||||
|
* h: Photo Albums
|
||||||
|
* v: Videos
|
||||||
|
* e: Events and Calendar
|
||||||
|
* t: Personal Notes
|
||||||
|
|
||||||
|
/contacts (contact list)
|
||||||
|
---------
|
||||||
|
* g: Suggestions
|
||||||
|
* l: Show all Contacts
|
||||||
|
* o: Only show unblocked contacts
|
||||||
|
* b: Only show blocked contacts
|
||||||
|
* i: Only show ignored contacts
|
||||||
|
* y: Only show archived contacts
|
||||||
|
* h: Only show hidden contacts
|
||||||
|
|
||||||
|
/contacts (single contact view)
|
||||||
|
-------------------------------
|
||||||
|
* b: Toggle Blocked status
|
||||||
|
* i: Toggle Ignored status
|
||||||
|
* v: Toggle Archive status
|
||||||
|
* r: Repair
|
||||||
|
|
||||||
|
/message
|
||||||
|
--------
|
||||||
|
* m: New message
|
||||||
|
|
||||||
|
/network
|
||||||
|
--------
|
||||||
|
* e: Sort by Comment Date
|
||||||
|
* t: Sort by Post Date
|
||||||
|
* r: Conversation (Posts that mention or involve you)
|
||||||
|
* w: New posts
|
||||||
|
* b: Bookmarks
|
||||||
|
* m: Favourite Posts
|
||||||
|
|
||||||
|
/notifications
|
||||||
|
--------------
|
||||||
|
* y: System
|
||||||
|
* w: Network
|
||||||
|
* r: Personal
|
||||||
|
* h: Home
|
||||||
|
* i: Introductions
|
||||||
|
|
||||||
|
/settings
|
||||||
|
---------
|
||||||
|
* o: Account
|
||||||
|
* t: Additional features
|
||||||
|
* w: Social Networks
|
||||||
|
* l: Plugins
|
||||||
|
* d: Delegations
|
||||||
|
* b: Connected apps
|
||||||
|
* e: Export personal data
|
||||||
|
* r: Remove account
|
|
@ -10,6 +10,7 @@ Friendica Documentation and Resources
|
||||||
* [BBCode tag reference](help/BBCode)
|
* [BBCode tag reference](help/BBCode)
|
||||||
* [Comment, sort and delete posts](help/Text_comment)
|
* [Comment, sort and delete posts](help/Text_comment)
|
||||||
* [Profiles](help/Profiles)
|
* [Profiles](help/Profiles)
|
||||||
|
* [Accesskey reference](help/Accesskeys
|
||||||
* You and other users
|
* You and other users
|
||||||
* [Connectors](help/Connectors)
|
* [Connectors](help/Connectors)
|
||||||
* [Making Friends](help/Making-Friends)
|
* [Making Friends](help/Making-Friends)
|
||||||
|
|
|
@ -10,6 +10,7 @@ Friendica - Dokumentation und Ressourcen
|
||||||
* [Referenz der BBCode Elemente](help/BBCode)
|
* [Referenz der BBCode Elemente](help/BBCode)
|
||||||
* [Beiträge kommentieren, einordnen und löschen](help/Text_comment)
|
* [Beiträge kommentieren, einordnen und löschen](help/Text_comment)
|
||||||
* [Profile](help/Profiles)
|
* [Profile](help/Profiles)
|
||||||
|
* [Referenz der Accesskeys](help/Accesskeys)
|
||||||
* Du und andere Nutzer
|
* Du und andere Nutzer
|
||||||
* [Konnektoren (Connectors)](help/Connectors)
|
* [Konnektoren (Connectors)](help/Connectors)
|
||||||
* [Freunde finden](help/Making-Friends)
|
* [Freunde finden](help/Making-Friends)
|
||||||
|
|
|
@ -1207,7 +1207,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal
|
||||||
|
|
||||||
// fix any escaped ampersands that may have been converted into links
|
// fix any escaped ampersands that may have been converted into links
|
||||||
$Text = preg_replace("/\<([^>]*?)(src|href)=(.*?)\&\;(.*?)\>/ism",'<$1$2=$3&$4>',$Text);
|
$Text = preg_replace("/\<([^>]*?)(src|href)=(.*?)\&\;(.*?)\>/ism",'<$1$2=$3&$4>',$Text);
|
||||||
$Text = preg_replace("/\<([^>]*?)(src|href)=\"(?!http|ftp|mailto|cid)(.*?)\>/ism",'<$1$2="">',$Text);
|
$Text = preg_replace("/\<([^>]*?)(src|href)=\"(?!http|ftp|mailto|gopher|cid)(.*?)\>/ism",'<$1$2="">',$Text);
|
||||||
|
|
||||||
if($saved_image)
|
if($saved_image)
|
||||||
$Text = bb_replace_images($Text, $saved_image);
|
$Text = bb_replace_images($Text, $saved_image);
|
||||||
|
|
|
@ -892,9 +892,9 @@ function item_photo_menu($item){
|
||||||
foreach($menu as $k=>$v){
|
foreach($menu as $k=>$v){
|
||||||
if(strpos($v,'javascript:') === 0) {
|
if(strpos($v,'javascript:') === 0) {
|
||||||
$v = substr($v,11);
|
$v = substr($v,11);
|
||||||
$o .= "<li><a href=\"#\" onclick=\"$v\">$k</a></li>\n";
|
$o .= "<li role=\"menuitem\"><a onclick=\"$v\">$k</a></li>\n";
|
||||||
}
|
}
|
||||||
elseif ($v!="") $o .= "<li><a href=\"$v\">$k</a></li>\n";
|
elseif ($v!="") $o .= "<li role=\"menuitem\"><a href=\"$v\">$k</a></li>\n";
|
||||||
}
|
}
|
||||||
return $o;
|
return $o;
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -634,6 +634,7 @@ if(! function_exists('profile_tabs')){
|
||||||
'sel' => ((!isset($tab)&&$a->argv[0]=='profile')?'active':''),
|
'sel' => ((!isset($tab)&&$a->argv[0]=='profile')?'active':''),
|
||||||
'title' => t('Status Messages and Posts'),
|
'title' => t('Status Messages and Posts'),
|
||||||
'id' => 'status-tab',
|
'id' => 'status-tab',
|
||||||
|
'accesskey' => 'm',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Profile'),
|
'label' => t('Profile'),
|
||||||
|
@ -641,6 +642,7 @@ if(! function_exists('profile_tabs')){
|
||||||
'sel' => ((isset($tab) && $tab=='profile')?'active':''),
|
'sel' => ((isset($tab) && $tab=='profile')?'active':''),
|
||||||
'title' => t('Profile Details'),
|
'title' => t('Profile Details'),
|
||||||
'id' => 'profile-tab',
|
'id' => 'profile-tab',
|
||||||
|
'accesskey' => 'r',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Photos'),
|
'label' => t('Photos'),
|
||||||
|
@ -648,6 +650,7 @@ if(! function_exists('profile_tabs')){
|
||||||
'sel' => ((!isset($tab)&&$a->argv[0]=='photos')?'active':''),
|
'sel' => ((!isset($tab)&&$a->argv[0]=='photos')?'active':''),
|
||||||
'title' => t('Photo Albums'),
|
'title' => t('Photo Albums'),
|
||||||
'id' => 'photo-tab',
|
'id' => 'photo-tab',
|
||||||
|
'accesskey' => 'h',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Videos'),
|
'label' => t('Videos'),
|
||||||
|
@ -655,6 +658,7 @@ if(! function_exists('profile_tabs')){
|
||||||
'sel' => ((!isset($tab)&&$a->argv[0]=='videos')?'active':''),
|
'sel' => ((!isset($tab)&&$a->argv[0]=='videos')?'active':''),
|
||||||
'title' => t('Videos'),
|
'title' => t('Videos'),
|
||||||
'id' => 'video-tab',
|
'id' => 'video-tab',
|
||||||
|
'accesskey' => 'v',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -665,6 +669,7 @@ if(! function_exists('profile_tabs')){
|
||||||
'sel' =>((!isset($tab)&&$a->argv[0]=='events')?'active':''),
|
'sel' =>((!isset($tab)&&$a->argv[0]=='events')?'active':''),
|
||||||
'title' => t('Events and Calendar'),
|
'title' => t('Events and Calendar'),
|
||||||
'id' => 'events-tab',
|
'id' => 'events-tab',
|
||||||
|
'accesskey' => 'e',
|
||||||
);
|
);
|
||||||
$tabs[] = array(
|
$tabs[] = array(
|
||||||
'label' => t('Personal Notes'),
|
'label' => t('Personal Notes'),
|
||||||
|
@ -672,6 +677,7 @@ if(! function_exists('profile_tabs')){
|
||||||
'sel' =>((!isset($tab)&&$a->argv[0]=='notes')?'active':''),
|
'sel' =>((!isset($tab)&&$a->argv[0]=='notes')?'active':''),
|
||||||
'title' => t('Only You Can See This'),
|
'title' => t('Only You Can See This'),
|
||||||
'id' => 'notes-tab',
|
'id' => 'notes-tab',
|
||||||
|
'accesskey' => 't',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1676,11 +1676,14 @@ function get_plink($item) {
|
||||||
//'href' => $a->get_baseurl()."/display/".$a->user['nickname']."/".$item['id'],
|
//'href' => $a->get_baseurl()."/display/".$a->user['nickname']."/".$item['id'],
|
||||||
'href' => $a->get_baseurl()."/display/".$item['guid'],
|
'href' => $a->get_baseurl()."/display/".$item['guid'],
|
||||||
'orig' => $a->get_baseurl()."/display/".$item['guid'],
|
'orig' => $a->get_baseurl()."/display/".$item['guid'],
|
||||||
'title' => t('link to source'),
|
'title' => t('local thread'),
|
||||||
|
'orig_title' => t('local thread'),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (x($item,'plink'))
|
if (x($item,'plink')) {
|
||||||
$ret["href"] = $item['plink'];
|
$ret["href"] = $item['plink'];
|
||||||
|
$ret["title"] = t('link to source');
|
||||||
|
}
|
||||||
|
|
||||||
} elseif (x($item,'plink') && ($item['private'] != 1))
|
} elseif (x($item,'plink') && ($item['private'] != 1))
|
||||||
$ret = array(
|
$ret = array(
|
||||||
|
|
|
@ -522,12 +522,14 @@ function contacts_content(&$a) {
|
||||||
'url' => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/block',
|
'url' => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/block',
|
||||||
'sel' => '',
|
'sel' => '',
|
||||||
'title' => t('Toggle Blocked status'),
|
'title' => t('Toggle Blocked status'),
|
||||||
|
'accesskey' => 'b',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => (($contact['readonly']) ? t('Unignore') : t('Ignore') ),
|
'label' => (($contact['readonly']) ? t('Unignore') : t('Ignore') ),
|
||||||
'url' => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/ignore',
|
'url' => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/ignore',
|
||||||
'sel' => '',
|
'sel' => '',
|
||||||
'title' => t('Toggle Ignored status'),
|
'title' => t('Toggle Ignored status'),
|
||||||
|
'accesskey' => 'i',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
|
@ -535,12 +537,14 @@ function contacts_content(&$a) {
|
||||||
'url' => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/archive',
|
'url' => $a->get_baseurl(true) . '/contacts/' . $contact_id . '/archive',
|
||||||
'sel' => '',
|
'sel' => '',
|
||||||
'title' => t('Toggle Archive status'),
|
'title' => t('Toggle Archive status'),
|
||||||
|
'accesskey' => 'v',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Repair'),
|
'label' => t('Repair'),
|
||||||
'url' => $a->get_baseurl(true) . '/crepair/' . $contact_id,
|
'url' => $a->get_baseurl(true) . '/crepair/' . $contact_id,
|
||||||
'sel' => '',
|
'sel' => '',
|
||||||
'title' => t('Advanced Contact Settings'),
|
'title' => t('Advanced Contact Settings'),
|
||||||
|
'accesskey' => 'r',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$tab_tpl = get_markup_template('common_tabs.tpl');
|
$tab_tpl = get_markup_template('common_tabs.tpl');
|
||||||
|
@ -655,18 +659,21 @@ function contacts_content(&$a) {
|
||||||
'url' => $a->get_baseurl(true) . '/suggest',
|
'url' => $a->get_baseurl(true) . '/suggest',
|
||||||
'sel' => '',
|
'sel' => '',
|
||||||
'title' => t('Suggest potential friends'),
|
'title' => t('Suggest potential friends'),
|
||||||
|
'accesskey' => 'g',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('All Contacts'),
|
'label' => t('All Contacts'),
|
||||||
'url' => $a->get_baseurl(true) . '/contacts/all',
|
'url' => $a->get_baseurl(true) . '/contacts/all',
|
||||||
'sel' => ($all) ? 'active' : '',
|
'sel' => ($all) ? 'active' : '',
|
||||||
'title' => t('Show all contacts'),
|
'title' => t('Show all contacts'),
|
||||||
|
'accesskey' => 'l',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Unblocked'),
|
'label' => t('Unblocked'),
|
||||||
'url' => $a->get_baseurl(true) . '/contacts',
|
'url' => $a->get_baseurl(true) . '/contacts',
|
||||||
'sel' => ((! $all) && (! $blocked) && (! $hidden) && (! $search) && (! $nets) && (! $ignored) && (! $archived)) ? 'active' : '',
|
'sel' => ((! $all) && (! $blocked) && (! $hidden) && (! $search) && (! $nets) && (! $ignored) && (! $archived)) ? 'active' : '',
|
||||||
'title' => t('Only show unblocked contacts'),
|
'title' => t('Only show unblocked contacts'),
|
||||||
|
'accesskey' => 'o',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
|
@ -674,6 +681,7 @@ function contacts_content(&$a) {
|
||||||
'url' => $a->get_baseurl(true) . '/contacts/blocked',
|
'url' => $a->get_baseurl(true) . '/contacts/blocked',
|
||||||
'sel' => ($blocked) ? 'active' : '',
|
'sel' => ($blocked) ? 'active' : '',
|
||||||
'title' => t('Only show blocked contacts'),
|
'title' => t('Only show blocked contacts'),
|
||||||
|
'accesskey' => 'b',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
|
@ -681,6 +689,7 @@ function contacts_content(&$a) {
|
||||||
'url' => $a->get_baseurl(true) . '/contacts/ignored',
|
'url' => $a->get_baseurl(true) . '/contacts/ignored',
|
||||||
'sel' => ($ignored) ? 'active' : '',
|
'sel' => ($ignored) ? 'active' : '',
|
||||||
'title' => t('Only show ignored contacts'),
|
'title' => t('Only show ignored contacts'),
|
||||||
|
'accesskey' => 'i',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
|
@ -688,6 +697,7 @@ function contacts_content(&$a) {
|
||||||
'url' => $a->get_baseurl(true) . '/contacts/archived',
|
'url' => $a->get_baseurl(true) . '/contacts/archived',
|
||||||
'sel' => ($archived) ? 'active' : '',
|
'sel' => ($archived) ? 'active' : '',
|
||||||
'title' => t('Only show archived contacts'),
|
'title' => t('Only show archived contacts'),
|
||||||
|
'accesskey' => 'y',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
|
@ -695,6 +705,7 @@ function contacts_content(&$a) {
|
||||||
'url' => $a->get_baseurl(true) . '/contacts/hidden',
|
'url' => $a->get_baseurl(true) . '/contacts/hidden',
|
||||||
'sel' => ($hidden) ? 'active' : '',
|
'sel' => ($hidden) ? 'active' : '',
|
||||||
'title' => t('Only show hidden contacts'),
|
'title' => t('Only show hidden contacts'),
|
||||||
|
'accesskey' => 'h',
|
||||||
),
|
),
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
|
@ -9,6 +9,7 @@ function message_init(&$a) {
|
||||||
'label' => t('New Message'),
|
'label' => t('New Message'),
|
||||||
'url' => $a->get_baseurl(true) . '/message/new',
|
'url' => $a->get_baseurl(true) . '/message/new',
|
||||||
'sel'=> ($a->argv[1] == 'new'),
|
'sel'=> ($a->argv[1] == 'new'),
|
||||||
|
'accesskey' => 'm',
|
||||||
);
|
);
|
||||||
|
|
||||||
$tpl = get_markup_template('message_side.tpl');
|
$tpl = get_markup_template('message_side.tpl');
|
||||||
|
|
|
@ -359,12 +359,14 @@ function network_content(&$a, $update = 0) {
|
||||||
'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . '?f=&order=comment' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''),
|
'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . '?f=&order=comment' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''),
|
||||||
'sel'=>$all_active,
|
'sel'=>$all_active,
|
||||||
'title'=> t('Sort by Comment Date'),
|
'title'=> t('Sort by Comment Date'),
|
||||||
|
'accesskey' => "e",
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Posted Order'),
|
'label' => t('Posted Order'),
|
||||||
'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . '?f=&order=post' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''),
|
'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . '?f=&order=post' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''),
|
||||||
'sel'=>$postord_active,
|
'sel'=>$postord_active,
|
||||||
'title' => t('Sort by Post Date'),
|
'title' => t('Sort by Post Date'),
|
||||||
|
'accesskey' => "t",
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -374,6 +376,7 @@ function network_content(&$a, $update = 0) {
|
||||||
'url' => $a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&conv=1',
|
'url' => $a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&conv=1',
|
||||||
'sel' => $conv_active,
|
'sel' => $conv_active,
|
||||||
'title' => t('Posts that mention or involve you'),
|
'title' => t('Posts that mention or involve you'),
|
||||||
|
'accesskey' => "r",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -383,6 +386,7 @@ function network_content(&$a, $update = 0) {
|
||||||
'url' => $a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ($len_naked_cmd ? '/' : '') . 'new' . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : ''),
|
'url' => $a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ($len_naked_cmd ? '/' : '') . 'new' . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : ''),
|
||||||
'sel' => $new_active,
|
'sel' => $new_active,
|
||||||
'title' => t('Activity Stream - by date'),
|
'title' => t('Activity Stream - by date'),
|
||||||
|
'accesskey' => "w",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -392,6 +396,7 @@ function network_content(&$a, $update = 0) {
|
||||||
'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&bmark=1',
|
'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&bmark=1',
|
||||||
'sel'=>$bookmarked_active,
|
'sel'=>$bookmarked_active,
|
||||||
'title'=> t('Interesting Links'),
|
'title'=> t('Interesting Links'),
|
||||||
|
'accesskey' => "b",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -401,6 +406,7 @@ function network_content(&$a, $update = 0) {
|
||||||
'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&star=1',
|
'url'=>$a->get_baseurl(true) . '/' . str_replace('/new', '', $cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '/?f=') . '&star=1',
|
||||||
'sel'=>$starred_active,
|
'sel'=>$starred_active,
|
||||||
'title' => t('Favourite Posts'),
|
'title' => t('Favourite Posts'),
|
||||||
|
'accesskey' => "m",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,26 +78,31 @@ function notifications_content(&$a) {
|
||||||
'label' => t('System'),
|
'label' => t('System'),
|
||||||
'url'=>$a->get_baseurl(true) . '/notifications/system',
|
'url'=>$a->get_baseurl(true) . '/notifications/system',
|
||||||
'sel'=> (($a->argv[1] == 'system') ? 'active' : ''),
|
'sel'=> (($a->argv[1] == 'system') ? 'active' : ''),
|
||||||
|
'accesskey' => 'y',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Network'),
|
'label' => t('Network'),
|
||||||
'url'=>$a->get_baseurl(true) . '/notifications/network',
|
'url'=>$a->get_baseurl(true) . '/notifications/network',
|
||||||
'sel'=> (($a->argv[1] == 'network') ? 'active' : ''),
|
'sel'=> (($a->argv[1] == 'network') ? 'active' : ''),
|
||||||
|
'accesskey' => 'w',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Personal'),
|
'label' => t('Personal'),
|
||||||
'url'=>$a->get_baseurl(true) . '/notifications/personal',
|
'url'=>$a->get_baseurl(true) . '/notifications/personal',
|
||||||
'sel'=> (($a->argv[1] == 'personal') ? 'active' : ''),
|
'sel'=> (($a->argv[1] == 'personal') ? 'active' : ''),
|
||||||
|
'accesskey' => 'r',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Home'),
|
'label' => t('Home'),
|
||||||
'url' => $a->get_baseurl(true) . '/notifications/home',
|
'url' => $a->get_baseurl(true) . '/notifications/home',
|
||||||
'sel'=> (($a->argv[1] == 'home') ? 'active' : ''),
|
'sel'=> (($a->argv[1] == 'home') ? 'active' : ''),
|
||||||
|
'accesskey' => 'h',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Introductions'),
|
'label' => t('Introductions'),
|
||||||
'url' => $a->get_baseurl(true) . '/notifications/intros',
|
'url' => $a->get_baseurl(true) . '/notifications/intros',
|
||||||
'sel'=> (($a->argv[1] == 'intros') ? 'active' : ''),
|
'sel'=> (($a->argv[1] == 'intros') ? 'active' : ''),
|
||||||
|
'accesskey' => 'i',
|
||||||
),
|
),
|
||||||
/*array(
|
/*array(
|
||||||
'label' => t('Messages'),
|
'label' => t('Messages'),
|
||||||
|
|
|
@ -41,47 +41,56 @@ function settings_init(&$a) {
|
||||||
'label' => t('Account'),
|
'label' => t('Account'),
|
||||||
'url' => $a->get_baseurl(true).'/settings',
|
'url' => $a->get_baseurl(true).'/settings',
|
||||||
'selected' => (($a->argc == 1) && ($a->argv[0] === 'settings')?'active':''),
|
'selected' => (($a->argc == 1) && ($a->argv[0] === 'settings')?'active':''),
|
||||||
|
'accesskey' => 'o',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Additional features'),
|
'label' => t('Additional features'),
|
||||||
'url' => $a->get_baseurl(true).'/settings/features',
|
'url' => $a->get_baseurl(true).'/settings/features',
|
||||||
'selected' => (($a->argc > 1) && ($a->argv[1] === 'features') ? 'active' : ''),
|
'selected' => (($a->argc > 1) && ($a->argv[1] === 'features') ? 'active' : ''),
|
||||||
|
'accesskey' => 't',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Display'),
|
'label' => t('Display'),
|
||||||
'url' => $a->get_baseurl(true).'/settings/display',
|
'url' => $a->get_baseurl(true).'/settings/display',
|
||||||
'selected' => (($a->argc > 1) && ($a->argv[1] === 'display')?'active':''),
|
'selected' => (($a->argc > 1) && ($a->argv[1] === 'display')?'active':''),
|
||||||
|
'accesskey' => 'i',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'label' => t('Social Networks'),
|
'label' => t('Social Networks'),
|
||||||
'url' => $a->get_baseurl(true).'/settings/connectors',
|
'url' => $a->get_baseurl(true).'/settings/connectors',
|
||||||
'selected' => (($a->argc > 1) && ($a->argv[1] === 'connectors')?'active':''),
|
'selected' => (($a->argc > 1) && ($a->argv[1] === 'connectors')?'active':''),
|
||||||
|
'accesskey' => 'w',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Plugins'),
|
'label' => t('Plugins'),
|
||||||
'url' => $a->get_baseurl(true).'/settings/addon',
|
'url' => $a->get_baseurl(true).'/settings/addon',
|
||||||
'selected' => (($a->argc > 1) && ($a->argv[1] === 'addon')?'active':''),
|
'selected' => (($a->argc > 1) && ($a->argv[1] === 'addon')?'active':''),
|
||||||
|
'accesskey' => 'l',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Delegations'),
|
'label' => t('Delegations'),
|
||||||
'url' => $a->get_baseurl(true).'/delegate',
|
'url' => $a->get_baseurl(true).'/delegate',
|
||||||
'selected' => (($a->argc == 1) && ($a->argv[0] === 'delegate')?'active':''),
|
'selected' => (($a->argc == 1) && ($a->argv[0] === 'delegate')?'active':''),
|
||||||
|
'accesskey' => 'd',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Connected apps'),
|
'label' => t('Connected apps'),
|
||||||
'url' => $a->get_baseurl(true) . '/settings/oauth',
|
'url' => $a->get_baseurl(true) . '/settings/oauth',
|
||||||
'selected' => (($a->argc > 1) && ($a->argv[1] === 'oauth')?'active':''),
|
'selected' => (($a->argc > 1) && ($a->argv[1] === 'oauth')?'active':''),
|
||||||
|
'accesskey' => 'b',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Export personal data'),
|
'label' => t('Export personal data'),
|
||||||
'url' => $a->get_baseurl(true) . '/uexport',
|
'url' => $a->get_baseurl(true) . '/uexport',
|
||||||
'selected' => (($a->argc == 1) && ($a->argv[0] === 'uexport')?'active':''),
|
'selected' => (($a->argc == 1) && ($a->argv[0] === 'uexport')?'active':''),
|
||||||
|
'accesskey' => 'e',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => t('Remove account'),
|
'label' => t('Remove account'),
|
||||||
'url' => $a->get_baseurl(true) . '/removeme',
|
'url' => $a->get_baseurl(true) . '/removeme',
|
||||||
'selected' => (($a->argc == 1) && ($a->argv[0] === 'removeme')?'active':''),
|
'selected' => (($a->argc == 1) && ($a->argv[0] === 'removeme')?'active':''),
|
||||||
|
'accesskey' => 'r',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -192,3 +192,18 @@ span.oembed, h4 {
|
||||||
.fbrowser.file img { display: inline; }
|
.fbrowser.file img { display: inline; }
|
||||||
.fbrowser.file p { display: inline; white-space: nowrap; }
|
.fbrowser.file p { display: inline; white-space: nowrap; }
|
||||||
.fbrowser .upload { clear: both; padding-top: 1em;}
|
.fbrowser .upload { clear: both; padding-top: 1em;}
|
||||||
|
|
||||||
|
a {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sr-only {
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
padding: 0;
|
||||||
|
margin: -1px;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(0,0,0,0);
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
<div id="acl-wrapper">
|
<div id="acl-wrapper">
|
||||||
<input id="acl-search">
|
<input id="acl-search">
|
||||||
<a href="#" id="acl-showall">{{$showall}}</a>
|
<a id="acl-showall">{{$showall}}</a>
|
||||||
<div id="acl-list">
|
<div id="acl-list">
|
||||||
<div id="acl-list-content">
|
<div id="acl-list-content">
|
||||||
</div>
|
</div>
|
||||||
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
<div class="acl-list-item" rel="acl-template" style="display:none">
|
<div class="acl-list-item" rel="acl-template" style="display:none">
|
||||||
<img data-src="{0}"><p>{1}</p>
|
<img data-src="{0}"><p>{1}</p>
|
||||||
<a href="#" class='acl-button-show'>{{$show}}</a>
|
<a class='acl-button-show'>{{$show}}</a>
|
||||||
<a href="#" class='acl-button-hide'>{{$hide}}</a>
|
<a class='acl-button-hide'>{{$hide}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if $networks}}
|
{{if $networks}}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
<ul class="tabs">
|
<ul role="menubar" class="tabs">
|
||||||
{{foreach $tabs as $tab}}
|
{{foreach $tabs as $tab}}
|
||||||
<li id="{{$tab.id}}"><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
|
<li role="menuitem" id="{{$tab.id}}"><a href="{{$tab.url}}" {{if $tab.accesskey}}accesskey="{{$tab.accesskey}}"{{/if}} class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
{{if $title}}<h3>{{$title}}</h3>{{/if}}
|
{{if $title}}<h3>{{$title}}</h3>{{/if}}
|
||||||
{{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
|
{{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
|
||||||
|
|
||||||
<ul>
|
<ul role="menu">
|
||||||
{{foreach $items as $item}}
|
{{foreach $items as $item}}
|
||||||
<li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
|
<li role="menuitem" class="tool"><a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}} class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<h3>{{$title}}</h3>
|
<h3>{{$title}}</h3>
|
||||||
|
|
||||||
<div id="sidebar-group-list">
|
<div id="sidebar-group-list">
|
||||||
<ul id="sidebar-group-ul">
|
<ul role="menu" id="sidebar-group-ul">
|
||||||
{{foreach $groups as $group}}
|
{{foreach $groups as $group}}
|
||||||
<li class="sidebar-group-li">
|
<li role="menuitem" class="sidebar-group-li">
|
||||||
{{if $group.cid}}
|
{{if $group.cid}}
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action"
|
class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action"
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
/>
|
/>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $group.edit}}
|
{{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>
|
<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 class="sr-only">{{$edittext}}</span></span></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a>
|
<a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
|
|
||||||
<div id="message-sidebar" class="widget">
|
<div id="message-sidebar" class="widget">
|
||||||
<div id="message-new"><a href="{{$new.url}}" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div>
|
<div id="message-new"><a href="{{$new.url}}" accesskey="m" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div>
|
||||||
|
|
||||||
<ul class="message-ul">
|
<ul role="menu" class="message-ul">
|
||||||
{{foreach $tabs as $t}}
|
{{foreach $tabs as $t}}
|
||||||
<li class="tool"><a href="{{$t.url}}" class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li>
|
<li role="menuitem" class="tool"><a href="{{$t.url}}" {{if $t.accesskey}}accesskey="$t.accesskey"{{/if}} class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -15,21 +15,21 @@
|
||||||
|
|
||||||
{{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
|
{{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
|
||||||
|
|
||||||
<a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
|
<a accesskey="s" id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
|
||||||
<a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
|
<a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
|
||||||
|
|
||||||
{{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
|
{{if $nav.admin}}<a accesskey="a" id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
|
||||||
|
|
||||||
{{if $nav.network}}
|
{{if $nav.network}}
|
||||||
<a id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
<a accesskey="n" id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
||||||
<span id="net-update" class="nav-ajax-left"></span>
|
<span id="net-update" class="nav-ajax-left"></span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.home}}
|
{{if $nav.home}}
|
||||||
<a id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
|
<a accesskey="p" id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
|
||||||
<span id="home-update" class="nav-ajax-left"></span>
|
<span id="home-update" class="nav-ajax-left"></span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.community}}
|
{{if $nav.community}}
|
||||||
<a id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
|
<a accesskey="c" id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.introductions}}
|
{{if $nav.introductions}}
|
||||||
<a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
|
<a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
|
|
||||||
{{if $nav.notifications}}
|
{{if $nav.notifications}}
|
||||||
<a id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
|
<a accesskey="f" id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
|
||||||
<span id="notify-update" class="nav-ajax-left"></span>
|
<span id="notify-update" class="nav-ajax-left"></span>
|
||||||
<ul id="nav-notifications-menu" class="menu-popup">
|
<ul id="nav-notifications-menu" class="menu-popup">
|
||||||
<li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
<li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
<h3>{{$title}}</h3>
|
<h3>{{$title}}</h3>
|
||||||
<div id="nets-desc">{{$desc}}</div>
|
<div id="nets-desc">{{$desc}}</div>
|
||||||
<a href="{{$base}}?nets=all" class="nets-link{{if $sel_all}} nets-selected{{/if}} nets-all">{{$all}}</a>
|
<a href="{{$base}}?nets=all" class="nets-link{{if $sel_all}} nets-selected{{/if}} nets-all">{{$all}}</a>
|
||||||
<ul class="nets-ul">
|
<ul role="menu" class="nets-ul">
|
||||||
{{foreach $nets as $net}}
|
{{foreach $nets as $net}}
|
||||||
<li><a href="{{$base}}?nets={{$net.ref}}" class="nets-link{{if $net.selected}} nets-selected{{/if}}">{{$net.name}}</a></li>
|
<li role="menuitem" ><a href="{{$base}}?nets={{$net.ref}}" class="nets-link{{if $net.selected}} nets-selected{{/if}}">{{$net.name}}</a></li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
<h3 id="search">{{$title}}</h3>
|
<h3 id="search">{{$title}}</h3>
|
||||||
{{$searchbox}}
|
{{$searchbox}}
|
||||||
|
|
||||||
<ul id="saved-search-ul">
|
<ul role="menu" id="saved-search-ul">
|
||||||
{{foreach $saved as $search}}
|
{{foreach $saved as $search}}
|
||||||
<li class="saved-search-li clear">
|
<li role="menuitem" class="saved-search-li clear">
|
||||||
<a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop " href="network/?f=&remove=1&search={{$search.encodedterm}}"></a>
|
<a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop " href="network/?f=&remove=1&search={{$search.encodedterm}}"></a>
|
||||||
<a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&search={{$search.encodedterm}}">{{$search.term}}</a>
|
<a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&search={{$search.encodedterm}}">{{$search.term}}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -15,21 +15,21 @@
|
||||||
|
|
||||||
{{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
|
{{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
|
||||||
|
|
||||||
<a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
|
<a accesskey="s" id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
|
||||||
<a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
|
<a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
|
||||||
|
|
||||||
{{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
|
{{if $nav.admin}}<a accesskey="a" id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
|
||||||
|
|
||||||
{{if $nav.network}}
|
{{if $nav.network}}
|
||||||
<a id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
<a accesskey="n" id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
||||||
<span id="net-update" class="nav-ajax-left"></span>
|
<span id="net-update" class="nav-ajax-left"></span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.home}}
|
{{if $nav.home}}
|
||||||
<a id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
|
<a accesskey="p" id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
|
||||||
<span id="home-update" class="nav-ajax-left"></span>
|
<span id="home-update" class="nav-ajax-left"></span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.community}}
|
{{if $nav.community}}
|
||||||
<a id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
|
<a accesskey="c" id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.introductions}}
|
{{if $nav.introductions}}
|
||||||
<a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
|
<a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
|
|
||||||
{{if $nav.notifications}}
|
{{if $nav.notifications}}
|
||||||
<a id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
|
<a accesskey="f" id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
|
||||||
<span id="notify-update" class="nav-ajax-left"></span>
|
<span id="notify-update" class="nav-ajax-left"></span>
|
||||||
<ul id="nav-notifications-menu" class="menu-popup">
|
<ul id="nav-notifications-menu" class="menu-popup">
|
||||||
<li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
<li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
{{if $title}}<h3>{{$title}}</h3>{{/if}}
|
{{if $title}}<h3>{{$title}}</h3>{{/if}}
|
||||||
{{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
|
{{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
|
||||||
|
|
||||||
<ul>
|
<ul role="menu">
|
||||||
{{foreach $items as $item}}
|
{{foreach $items as $item}}
|
||||||
<li class="tool {{if $item.selected}}selected{{/if}}"><a href="{{$item.url}}" class="link">{{$item.label}}</a></li>
|
<li role="menuitem" class="tool {{if $item.selected}}selected{{/if}}"><a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}} class="link">{{$item.label}}</a></li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<div id="message-sidebar" class="widget">
|
<div id="message-sidebar" class="widget">
|
||||||
<div id="message-new" class="{{if $new.sel}}selected{{/if}}"><a href="{{$new.url}}">{{$new.label}}</a> </div>
|
<div id="message-new" class="{{if $new.sel}}selected{{/if}}"><a href="{{$new.url}}" accesskey="m">{{$new.label}}</a> </div>
|
||||||
|
|
||||||
<ul class="message-ul">
|
<ul role="menu" class="message-ul">
|
||||||
{{foreach $tabs as $t}}
|
{{foreach $tabs as $t}}
|
||||||
<li class="tool {{if $t.sel}}selected{{/if}}"><a href="{{$t.url}}" class="message-link">{{$t.label}}</a></li>
|
<li role="menuitem" class="tool {{if $t.sel}}selected{{/if}}"><a href="{{$t.url}}" {{if $t.accesskey}}accesskey="$t.accesskey"{{/if}} class="message-link">{{$t.label}}</a></li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
{{if $userinfo}}
|
{{if $userinfo}}
|
||||||
<li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
|
<li id="nav-user-linkmenu" class="nav-menu-icon"><a accesskey="u" href="#" rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
|
||||||
<ul id="nav-user-menu" class="menu-popup">
|
<ul id="nav-user-menu" class="menu-popup">
|
||||||
{{foreach $nav.usermenu as $usermenu}}
|
{{foreach $nav.usermenu as $usermenu}}
|
||||||
<li><a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
|
<li><a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
|
||||||
|
@ -28,13 +28,13 @@
|
||||||
|
|
||||||
{{if $nav.network}}
|
{{if $nav.network}}
|
||||||
<li id="nav-network-link" class="nav-menu {{$sel.network}}">
|
<li id="nav-network-link" class="nav-menu {{$sel.network}}">
|
||||||
<a class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
<a accesskey="n" class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
||||||
<span id="net-update" class="nav-notify"></span>
|
<span id="net-update" class="nav-notify"></span>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.home}}
|
{{if $nav.home}}
|
||||||
<li id="nav-home-link" class="nav-menu {{$sel.home}}">
|
<li id="nav-home-link" class="nav-menu {{$sel.home}}">
|
||||||
<a class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
|
<a accesskey="p" class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
|
||||||
<span id="home-update" class="nav-notify"></span>
|
<span id="home-update" class="nav-notify"></span>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
|
|
||||||
{{if $nav.notifications}}
|
{{if $nav.notifications}}
|
||||||
<li id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 notify">{{$nav.notifications.1}}</span></a>
|
<li id="nav-notifications-linkmenu" class="nav-menu-icon"><a accesskey="f" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 notify">{{$nav.notifications.1}}</span></a>
|
||||||
<span id="notify-update" class="nav-notify"></span>
|
<span id="notify-update" class="nav-notify"></span>
|
||||||
<ul id="nav-notifications-menu" class="menu-popup">
|
<ul id="nav-notifications-menu" class="menu-popup">
|
||||||
<!-- TODO: better icons! -->
|
<!-- TODO: better icons! -->
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
{{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}
|
{{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}
|
||||||
|
|
||||||
{{if $nav.settings}}<li><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
|
{{if $nav.settings}}<li><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
|
||||||
{{if $nav.admin}}<li><a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a></li>{{/if}}
|
{{if $nav.admin}}<li><a accesskey="a" class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a></li>{{/if}}
|
||||||
|
|
||||||
{{if $nav.logout}}<li><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}}
|
{{if $nav.logout}}<li><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}}
|
||||||
{{if $nav.login}}<li><a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a><li>{{/if}}
|
{{if $nav.login}}<li><a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a><li>{{/if}}
|
||||||
|
@ -89,7 +89,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<li id="nav-search-link" class="nav-menu {{$sel.search}}">
|
<li id="nav-search-link" class="nav-menu {{$sel.search}}">
|
||||||
<a class="{{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
|
<a accesskey="s" class="{{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
|
||||||
</li>
|
</li>
|
||||||
<li id="nav-directory-link" class="nav-menu {{$sel.directory}}">
|
<li id="nav-directory-link" class="nav-menu {{$sel.directory}}">
|
||||||
<a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
|
<a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
|
||||||
|
|
|
@ -548,6 +548,7 @@ nav a {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav a:hover .icon {
|
nav a:hover .icon {
|
||||||
|
@ -1331,6 +1332,7 @@ section.minimal {
|
||||||
.wall-item-container .wall-item-actions-social a {
|
.wall-item-container .wall-item-actions-social a {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.wall-item-container .wall-item-actions-tools {
|
.wall-item-container .wall-item-actions-tools {
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -1339,6 +1341,7 @@ section.minimal {
|
||||||
.wall-item-container .wall-item-actions-tools a {
|
.wall-item-container .wall-item-actions-tools a {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.wall-item-container .wall-item-actions-tools input {
|
.wall-item-container .wall-item-actions-tools input {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
|
@ -5,90 +5,90 @@
|
||||||
<div id="site-location">{{$sitelocation}}</div>
|
<div id="site-location">{{$sitelocation}}</div>
|
||||||
<div id="banner">{{$banner}}</div>
|
<div id="banner">{{$banner}}</div>
|
||||||
</header>
|
</header>
|
||||||
<nav>
|
<nav role="menubar">
|
||||||
<ul>
|
<ul>
|
||||||
{{if $nav.home}}
|
{{if $nav.home}}
|
||||||
<li id="nav-home-link" class="nav-menu {{$sel.home}}">
|
<li role="menuitem" id="nav-home-link" class="nav-menu {{$sel.home}}">
|
||||||
<a class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
|
<a accesskey="p" class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
|
||||||
<span id="home-update" class="nav-notify"></span>
|
<span id="home-update" class="nav-notify"></span>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.network}}
|
{{if $nav.network}}
|
||||||
<li id="nav-network-link" class="nav-menu {{$sel.network}}">
|
<li role="menuitem" id="nav-network-link" class="nav-menu {{$sel.network}}">
|
||||||
<a class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
<a accesskey="n" class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
|
||||||
<span id="net-update" class="nav-notify"></span>
|
<span id="net-update" class="nav-notify"></span>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $nav.community}}
|
{{if $nav.community}}
|
||||||
<li id="nav-community-link" class="nav-menu {{$sel.community}}">
|
<li role="menuitem" id="nav-community-link" class="nav-menu {{$sel.community}}">
|
||||||
<a class="{{$nav.community.2}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
|
<a accesskey="c" class="{{$nav.community.2}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 icon-question"></span></a>
|
<li role="menu" aria-haspopup="true" id="nav-site-linkmenu" class="nav-menu-icon"><a rel="#nav-site-menu"><span class="icon s22 icon-question"><span class="sr-only">{{$nav.help.3}}</span></span></a>
|
||||||
<ul id="nav-site-menu" class="menu-popup">
|
<ul id="nav-site-menu" class="menu-popup">
|
||||||
{{if $nav.help}} <li><a class="{{$nav.help.2}}" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>{{/if}}
|
{{if $nav.help}} <li role="menuitem"><a class="{{$nav.help.2}}" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>{{/if}}
|
||||||
<li><a class="{{$nav.about.2}}" href="{{$nav.about.0}}" title="{{$nav.about.3}}" >{{$nav.about.1}}</a></li>
|
<li role="menuitem"><a class="{{$nav.about.2}}" href="{{$nav.about.0}}" title="{{$nav.about.3}}" >{{$nav.about.1}}</a></li>
|
||||||
<li><a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a></li>
|
<li role="menuitem"><a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{if $nav.notifications}}
|
{{if $nav.notifications}}
|
||||||
<li id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 icon-bell tilted-icon"></span></a>
|
<li role="menu" aria-haspopup="true" id="nav-notifications-linkmenu" class="nav-menu-icon"><a accesskey="f" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 icon-bell tilted-icon"><span class="sr-only">{{$nav.notifications.1}}</span></span></a>
|
||||||
<span id="notify-update" class="nav-notify"></span>
|
<span id="notify-update" class="nav-notify"></span>
|
||||||
<ul id="nav-notifications-menu" class="menu-popup">
|
<ul id="nav-notifications-menu" class="menu-popup">
|
||||||
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
|
<li role="menuitem" id="nav-notifications-mark-all"><a onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
|
||||||
<li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
<li role="menuitem" id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
||||||
<li class="empty">{{$emptynotifications}}</li>
|
<li role="menuitem" class="empty">{{$emptynotifications}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $userinfo}}
|
{{if $userinfo}}
|
||||||
<li id="nav-user-linklabel" class="nav-menu">
|
<li aria-hidden="true" id="nav-user-linklabel" class="nav-menu">
|
||||||
<a href="#" rel="#nav-user-menu" title="{{$sitelocation}}">{{$userinfo.name}}<span id="intro-update" class="nav-notify"></span></a>
|
<a rel="#nav-user-menu" title="{{$sitelocation}}">{{$userinfo.name}}<span id="intro-update" class="nav-notify"></span></a>
|
||||||
</li>
|
</li>
|
||||||
<li id="nav-user-linkmenu" class="nav-menu-icon">
|
<li role="menu" aria-haspopup="true" id="nav-user-linkmenu" class="nav-menu-icon">
|
||||||
<a href="#" rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
|
<a accesskey="u" rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
|
||||||
<ul id="nav-user-menu" class="menu-popup">
|
<ul id="nav-user-menu" class="menu-popup">
|
||||||
{{if $nav.introductions}}<li><a class="{{$nav.introductions.2}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a><span id="intro-update-li" class="nav-notify"></span></li>{{/if}}
|
{{if $nav.introductions}}<li role="menuitem"><a class="{{$nav.introductions.2}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a><span id="intro-update-li" class="nav-notify"></span></li>{{/if}}
|
||||||
{{if $nav.contacts}}<li><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}}
|
{{if $nav.contacts}}<li role="menuitem"><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}}
|
||||||
{{if $nav.messages}}<li><a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a><span id="mail-update" class="nav-notify"></span></a></li>{{/if}}
|
{{if $nav.messages}}<li role="menuitem"><a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a><span id="mail-update" class="nav-notify"></span></a></li>{{/if}}
|
||||||
{{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}
|
{{if $nav.manage}}<li role="menuitem"><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}
|
||||||
{{if $nav.usermenu.1}}<li><a class="{{$nav.usermenu.1.2}}" href="{{$nav.usermenu.1.0}}" title="{{$nav.usermenu.1.3}}">{{$nav.usermenu.1.1}}</a></li>{{/if}}
|
{{if $nav.usermenu.1}}<li role="menuitem"><a class="{{$nav.usermenu.1.2}}" href="{{$nav.usermenu.1.0}}" title="{{$nav.usermenu.1.3}}">{{$nav.usermenu.1.1}}</a></li>{{/if}}
|
||||||
{{if $nav.settings}}<li><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
|
{{if $nav.settings}}<li role="menuitem"><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
|
||||||
{{if $nav.logout}}<li><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}}
|
{{if $nav.logout}}<li role="menuitem"><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $nav.login}}
|
{{if $nav.login}}
|
||||||
<li id="nav-login-link" class="nav-menu">
|
<li role="menuitem" id="nav-login-link" class="nav-menu">
|
||||||
<a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a>
|
<a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a>
|
||||||
<li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $nav.search}}
|
{{if $nav.search}}
|
||||||
<li id="search-box">
|
<li role="search" id="search-box">
|
||||||
<form method="get" action="{{$nav.search.0}}">
|
<form method="get" action="{{$nav.search.0}}">
|
||||||
<input id="search-text" class="nav-menu-search" type="text" value="" name="search">
|
<input accesskey="s" id="search-text" class="nav-menu-search" type="text" value="" name="search">
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $nav.admin}}
|
{{if $nav.admin}}
|
||||||
<li id="nav-admin-link" class="nav-menu">
|
<li role="menuitem" id="nav-admin-link" class="nav-menu">
|
||||||
<!-- <a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a> -->
|
<!-- <a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a> -->
|
||||||
<a class="{{$nav.admin.2}} icon-sliders" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ></a>
|
<a accesskey="a" class="{{$nav.admin.2}} icon-sliders" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><span class="sr-only">{{$nav.admin.3}}</span></a>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $nav.apps}}
|
{{if $nav.apps}}
|
||||||
<li id="nav-apps-link" class="nav-menu {{$sel.apps}}">
|
<li role="menu" aria-haspopup="true" id="nav-apps-link" class="nav-menu {{$sel.apps}}">
|
||||||
<a class=" {{$nav.apps.2}}" href="#" rel="#nav-apps-menu" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>
|
<a class=" {{$nav.apps.2}}" rel="#nav-apps-menu" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>
|
||||||
<ul id="nav-apps-menu" class="menu-popup">
|
<ul id="nav-apps-menu" class="menu-popup">
|
||||||
{{foreach $apps as $ap}}
|
{{foreach $apps as $ap}}
|
||||||
<li>{{$ap}}</li>
|
<li role="menuitem">{{$ap}}</li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
|
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
|
||||||
<img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
<img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
||||||
</a>
|
</a>
|
||||||
<a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
|
<a rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
|
||||||
<ul class="wall-item-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
<ul role="menu" aria-haspopup="true" class="wall-item-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
||||||
{{$item.item_photo_menu}}
|
{{$item.item_photo_menu}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
|
|
||||||
{{$live_update}}
|
{{$live_update}}
|
||||||
|
|
||||||
{{foreach $threads as $thread}}
|
{{foreach $threads as $thread}}
|
||||||
|
<hr class="sr-only" />
|
||||||
<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper {{if $thread.threaded}}threaded{{/if}} {{$thread.toplevel}} {{$thread.network}}">
|
<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper {{if $thread.threaded}}threaded{{/if}} {{$thread.toplevel}} {{$thread.network}}">
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
|
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
|
||||||
<img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
<img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
||||||
</a>
|
</a>
|
||||||
<ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
<ul role="menu" aria-haspopup="true" class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
||||||
{{$item.item_photo_menu}}
|
{{$item.item_photo_menu}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
{{if $item.thread_level!=1}}<div class="children">{{/if}}
|
{{if $item.thread_level!=1}}<div class="children">{{/if}}
|
||||||
|
|
||||||
<div class="wall-item-decor">
|
<div aria-hidden="true" class="wall-item-decor">
|
||||||
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
|
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -41,24 +41,24 @@
|
||||||
<div class="contact-photo-wrapper mframe{{if $item.owner_url}} wwfrom{{/if}}"
|
<div class="contact-photo-wrapper mframe{{if $item.owner_url}} wwfrom{{/if}}"
|
||||||
onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$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)">
|
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}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
|
<a aria-hidden="true" href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
|
||||||
<img src="{{$item.thumb}}" class="contact-photo {{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
<img src="{{$item.thumb}}" class="contact-photo {{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
|
||||||
</a>
|
</a>
|
||||||
<a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
|
<a rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}"></a>
|
||||||
<ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
<ul role="menu" aria-haspopup="true" class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
|
||||||
{{$item.item_photo_menu}}
|
{{$item.item_photo_menu}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{if $item.owner_url}}
|
{{if $item.owner_url}}
|
||||||
<div class="contact-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
|
<div aria-hidden="true" class="contact-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
|
||||||
<a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="contact-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
|
<a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="contact-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
|
||||||
<img src="{{$item.owner_photo}}" class="contact-photo {{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" alt="{{$item.owner_name}}" />
|
<img src="{{$item.owner_photo}}" class="contact-photo {{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" alt="{{$item.owner_name}}" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-actions-author">
|
<div role="heading" aria-level="{{$item.thread_level}}" class="wall-item-actions-author">
|
||||||
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a>
|
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a>
|
||||||
{{if $item.owner_url}}{{$item.via}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> <!-- {{$item.vwall}} -->{{/if}}
|
{{if $item.owner_url}}{{$item.via}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> <!-- {{$item.vwall}} -->{{/if}}
|
||||||
<span class="wall-item-ago">
|
<span class="wall-item-ago">
|
||||||
|
@ -95,38 +95,38 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-bottom">
|
<div class="wall-item-bottom">
|
||||||
<div class="wall-item-links">
|
<div class="wall-item-links">
|
||||||
{{if $item.plink}}<a title="{{$item.plink.title}}" href="{{$item.plink.orig}}"><i class="icon-link icon-large"></i></a>{{/if}}
|
{{if $item.plink}}<a role="button" title="{{$item.plink.orig_title}}" href="{{$item.plink.orig}}"><i class="icon-link icon-large"><span class="sr-only">{{$item.plink.orig_title}}</span></i></a>{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-actions">
|
<div class="wall-item-actions">
|
||||||
<div class="wall-item-actions-social">
|
<div class="wall-item-actions-social">
|
||||||
{{if $item.threaded}}
|
{{if $item.threaded}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.comment}}
|
{{if $item.comment}}
|
||||||
<span id="comment-{{$item.id}}" class="fakelink togglecomment" onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});" title="{{$item.switchcomment}}"><i class="icon-reply"></i></span>
|
<a role="button" id="comment-{{$item.id}}" class="fakelink togglecomment" onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});" title="{{$item.switchcomment}}"><i class="icon-reply"><span class="sr-only">{{$item.switchcomment}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.vote}}
|
{{if $item.vote}}
|
||||||
{{if $item.vote.like}}
|
{{if $item.vote.like}}
|
||||||
<a href="#" id="like-{{$item.id}}" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"><i class="icon-thumbs-up icon-large"></i></a>
|
<a role="button" id="like-{{$item.id}}" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"><i class="icon-thumbs-up icon-large"><span class="sr-only">{{$item.vote.like.0}}</span></i></a>
|
||||||
{{/if}}{{if $item.vote.dislike}}
|
{{/if}}{{if $item.vote.dislike}}
|
||||||
<a href="#" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"><i class="icon-thumbs-down icon-large"></i></a>
|
<a role="button" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"><i class="icon-thumbs-down icon-large"><span class="sr-only">{{$item.vote.dislike.0}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.vote.share}}
|
{{if $item.vote.share}}
|
||||||
<a href="#" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"><i class="icon-retweet icon-large"></i></a>
|
<a role="button" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"><i class="icon-retweet icon-large"><span class="sr-only">{{$item.vote.share.0}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.star}}
|
{{if $item.star}}
|
||||||
<a href="#" id="star-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="{{$item.star.classdo}}" title="{{$item.star.do}}"><i class="icon-star icon-large"></i></a>
|
<a role="button" id="star-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="{{$item.star.classdo}}" title="{{$item.star.do}}"><i class="icon-star icon-large"><span class="sr-only">{{$item.star.do}}</span></i></a>
|
||||||
<a href="#" id="unstar-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="{{$item.star.classundo}}" title="{{$item.star.undo}}"><i class="icon-star-empty icon-large"></i></a>
|
<a role="button" id="unstar-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="{{$item.star.classundo}}" title="{{$item.star.undo}}"><i class="icon-star-empty icon-large"><span class="sr-only">{{$item.star.undo}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.ignore}}
|
{{if $item.ignore}}
|
||||||
<a href="#" id="ignore-{{$item.id}}" onclick="doignore({{$item.id}}); return false;" class="{{$item.ignore.classdo}}" title="{{$item.ignore.do}}"><i class="icon-bell-slash icon-large"></i></a>
|
<a role="button" id="ignore-{{$item.id}}" onclick="doignore({{$item.id}}); return false;" class="{{$item.ignore.classdo}}" title="{{$item.ignore.do}}"><i class="icon-bell-slash icon-large"><span class="sr-only">{{$item.ignore.do}}</span></i></a>
|
||||||
<a href="#" id="unignore-{{$item.id}}" onclick="doignore({{$item.id}}); return false;" class="{{$item.ignore.classundo}}" title="{{$item.ignore.undo}}"><i class="icon-bell-slash-o icon-large"></i></a>
|
<a role="button" id="unignore-{{$item.id}}" onclick="doignore({{$item.id}}); return false;" class="{{$item.ignore.classundo}}" title="{{$item.ignore.undo}}"><i class="icon-bell-slash-o icon-large"><span class="sr-only">{{$item.ignore.undo}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.tagger}}
|
{{if $item.tagger}}
|
||||||
<a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="{{$item.tagger.class}}" title="{{$item.tagger.add}}"><i class="icon-tags icon-large"></i></a>
|
<a role="button" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="{{$item.tagger.class}}" title="{{$item.tagger.add}}"><i class="icon-tags icon-large"><span class="sr-only">{{$item.tagger.add}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.filer}}
|
{{if $item.filer}}
|
||||||
<a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"><i class="icon-folder-close icon-large"></i></a>
|
<a role="button" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"><i class="icon-folder-close icon-large"><span class="sr-only">{{$item.filer}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-location">{{$item.location}} {{$item.postopts}}</div>
|
<div class="wall-item-location">{{$item.location}} {{$item.postopts}}</div>
|
||||||
|
@ -136,10 +136,10 @@
|
||||||
<input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
|
<input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.drop.dropping}}
|
{{if $item.drop.dropping}}
|
||||||
<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" title="{{$item.drop.delete}}"><i class="icon-trash icon-large"></i></a>
|
<a role="button" href="item/drop/{{$item.id}}" onclick="return confirmDelete();" title="{{$item.drop.delete}}"><i class="icon-trash icon-large"><span class="sr-only">{{$item.drop.delete}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.edpost}}
|
{{if $item.edpost}}
|
||||||
<a href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"><i class="icon-edit icon-large"></i></a>
|
<a role="button" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"><i class="icon-edit icon-large"><span class="sr-only">{{$item.edpost.1}}</span></i></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue