Merge https://github.com/redmatrix/redmatrix into pending_merge
This commit is contained in:
commit
9fc87d43c9
@ -88,6 +88,10 @@ This places the menu called "mymenu" at this location on the page, which must be
|
|||||||
|
|
||||||
This places a block named "contributors" in this region.
|
This places a block named "contributors" in this region.
|
||||||
|
|
||||||
|
[block][var=wrap]none[/var]contributors[/block]
|
||||||
|
|
||||||
|
The variable [var=wrap]none[/var] in a block removes the wrapping div element from the block.
|
||||||
|
|
||||||
|
|
||||||
**Widgets**
|
**Widgets**
|
||||||
|
|
||||||
|
@ -108,6 +108,10 @@ This places the menu called "mymenu" at this location on the page, whi
|
|||||||
[/code]
|
[/code]
|
||||||
This places a block named "contributors" in this region.
|
This places a block named "contributors" in this region.
|
||||||
|
|
||||||
|
[code]
|
||||||
|
[block][var=wrap]none[/var]contributors[/block]
|
||||||
|
[/code]
|
||||||
|
The variable [var=wrap]none[/var] in a block removes the wrapping div element from the block.
|
||||||
|
|
||||||
[b]Widgets[/b]
|
[b]Widgets[/b]
|
||||||
|
|
||||||
|
@ -1095,6 +1095,8 @@ function status_editor($a, $x, $popup = false) {
|
|||||||
// $plaintext = false;
|
// $plaintext = false;
|
||||||
|
|
||||||
$voting = feature_enabled(local_channel(), 'consensus_tools');
|
$voting = feature_enabled(local_channel(), 'consensus_tools');
|
||||||
|
if(x($x, 'novoting'))
|
||||||
|
$voting = false;
|
||||||
|
|
||||||
$mimeselect = '';
|
$mimeselect = '';
|
||||||
if(array_key_exists('mimetype', $x) && $x['mimetype']) {
|
if(array_key_exists('mimetype', $x) && $x['mimetype']) {
|
||||||
|
@ -95,6 +95,7 @@ function blocks_content(&$a) {
|
|||||||
'ptlabel' => t('Block Name'),
|
'ptlabel' => t('Block Name'),
|
||||||
'profile_uid' => intval($owner),
|
'profile_uid' => intval($owner),
|
||||||
'expanded' => true,
|
'expanded' => true,
|
||||||
|
'novoting' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
if($_REQUEST['title'])
|
if($_REQUEST['title'])
|
||||||
|
@ -161,8 +161,9 @@ function editlayout_content(&$a) {
|
|||||||
'$public' => t('Public post'),
|
'$public' => t('Public post'),
|
||||||
'$jotnets' => $jotnets,
|
'$jotnets' => $jotnets,
|
||||||
'$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'),
|
'$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'),
|
||||||
'$placeholdertitle' => t('Title (optional)'),
|
'$placeholdertitle' => t('Layout Description (Optional)'),
|
||||||
'$pagetitle' => $layout_title,
|
'$pagetitle' => $layout_title,
|
||||||
|
'$placeholdpagetitle' => t('Layout Name'),
|
||||||
'$category' => '',
|
'$category' => '',
|
||||||
'$placeholdercategory' => t('Categories (optional, comma-separated list)'),
|
'$placeholdercategory' => t('Categories (optional, comma-separated list)'),
|
||||||
'$emtitle' => t('Example: bob@example.com, mary@example.com'),
|
'$emtitle' => t('Example: bob@example.com, mary@example.com'),
|
||||||
|
@ -188,7 +188,7 @@ function editwebpage_content(&$a) {
|
|||||||
'$video' => t('Insert Vorbis [.ogg] video'),
|
'$video' => t('Insert Vorbis [.ogg] video'),
|
||||||
'$audio' => t('Insert Vorbis [.ogg] audio'),
|
'$audio' => t('Insert Vorbis [.ogg] audio'),
|
||||||
'$setloc' => t('Set your location'),
|
'$setloc' => t('Set your location'),
|
||||||
'$noloc' => t('Clear browser location'),
|
'$noloc' => ((get_pconfig($uid, 'system', 'use_browser_location')) ? t('Clear browser location') : ''),
|
||||||
'$wait' => t('Please wait'),
|
'$wait' => t('Please wait'),
|
||||||
'$permset' => t('Permission settings'),
|
'$permset' => t('Permission settings'),
|
||||||
'$ptyp' => $itm[0]['type'],
|
'$ptyp' => $itm[0]['type'],
|
||||||
|
@ -121,7 +121,8 @@ function layouts_content(&$a) {
|
|||||||
'ptlabel' => t('Layout Name'),
|
'ptlabel' => t('Layout Name'),
|
||||||
'profile_uid' => intval($owner),
|
'profile_uid' => intval($owner),
|
||||||
'expanded' => true,
|
'expanded' => true,
|
||||||
'placeholdertitle' => t('Layout Description')
|
'placeholdertitle' => t('Layout Description (Optional)'),
|
||||||
|
'novoting' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
if($_REQUEST['title'])
|
if($_REQUEST['title'])
|
||||||
|
@ -113,7 +113,8 @@ function webpages_content(&$a) {
|
|||||||
'profile_uid' => intval($owner),
|
'profile_uid' => intval($owner),
|
||||||
'mimetype' => $mimetype,
|
'mimetype' => $mimetype,
|
||||||
'layout' => $layout,
|
'layout' => $layout,
|
||||||
'expanded' => true
|
'expanded' => true,
|
||||||
|
'novoting' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
if($_REQUEST['title'])
|
if($_REQUEST['title'])
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<tr id="block-list-item-{{$item.url}}">
|
<tr id="block-list-item-{{$item.url}}">
|
||||||
<td>
|
<td>
|
||||||
{{if $view}}
|
{{if $view}}
|
||||||
<a href="block/{{$channel}}/{{$item.title}}" title="{{$view}}">{{$item.name}}</a>
|
<a href="block/{{$channel}}/{{$item.name}}" title="{{$view}}">{{$item.name}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{$item.name}}
|
{{$item.name}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Reference in New Issue
Block a user