Skip to content

Commit

Permalink
Package should be ready for 1.0.0-pl
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain committed Aug 12, 2011
1 parent 9421d4b commit 59d9854
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 9 deletions.
2 changes: 1 addition & 1 deletion _build/build.transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
define('PKG_NAME','Asides');
define('PKG_NAME_LOWER',strtolower(PKG_NAME));
define('PKG_VERSION','1.0.0');
define('PKG_RELEASE','rc3');
define('PKG_RELEASE','pl');

// define sources
$root = dirname(dirname(__FILE__)).'/';
Expand Down
24 changes: 24 additions & 0 deletions _build/properties/properties.showAside.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,30 @@
'value' => '',
'lexicon' => 'asides:properties',
)
,array(
'name' => 'wrapper',
'desc' => 'prop_asides.wrapper_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'asides:properties',
)
,array(
'name' => 'outputSeparator',
'desc' => 'prop_asides.outputseparator_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'asides:properties',
)
,array(
'name' => 'toPlaceholder',
'desc' => 'prop_asides.toplaceholder_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'asides:properties',
)
);

return $properties;
7 changes: 4 additions & 3 deletions assets/components/asides/js/mgr/widgets/asides.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@ Asides.grid.Items = function(config) {
,columns: [{
header: _('name')
,dataIndex: 'name'
//,width: 200
},{
header: _('description')
,dataIndex: 'description'
//,width: 250
},{
header: _('locked')
,dataIndex: 'locked'
//,width: 70
}]
,tbar: [{
xtype: 'textfield'
Expand Down Expand Up @@ -176,6 +173,8 @@ Asides.window.CreateAside = function(config) {
,id: this.ident
,url: Asides.config.connector_url
,action: 'mgr/asides/create'
,collapsible: false
,width: '650'
,fields: [{
xtype: 'textfield'
,fieldLabel: _('name')
Expand Down Expand Up @@ -209,6 +208,8 @@ Asides.window.UpdateAside = function(config) {
,id: this.ident
,url: Asides.config.connector_url
,action: 'mgr/asides/update'
,collapsible: false
,width: '650'
,fields: [{
xtype: 'hidden'
,name: 'id'
Expand Down
4 changes: 3 additions & 1 deletion core/components/asides/docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
Changelog for Asides.
--------------------------------------------------------------------------------

2011/xx/xx: 1.0.0-pl
2011/08/12: 1.0.0-pl
========================================================
- Added an option to remove an aside from any resource
without deleting the aside (chunk)
- Ensure an aside isn't in use before deletion
- Added id placeholder for the wrapper, to allow a better
css styling/targeting.
Expand Down
2 changes: 1 addition & 1 deletion core/components/asides/docs/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--------------------------------------------------------------------------------
Asides
--------------------------------------------------------------------------------
Version: 1.0.0-rc3
Version: 1.0.0-pl
Author: Romain Tripault // Melting Media <[email protected]>
--------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion core/components/asides/elements/snippets/showAside.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
if (!isset($scriptProperties['chunks'])) {
return '';
}
$outputSeparator = $modx->getOption('outputSeparator',$scriptProperties,"\n\n");
$outputSeparator = $modx->getOption('outputSeparator',$scriptProperties,"\n");
$wrapper = !empty($wrapper) ? $wrapper : '';
$toPlaceholder = $modx->getOption('toPlaceholder',$scriptProperties,false);

Expand Down
5 changes: 4 additions & 1 deletion core/components/asides/lexicon/en/properties.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@
* @subpackage lexicon
*/

$_lang['prop_asides.chunks_desc'] = 'Specify the TV containing your chunks list to be used as asides.';
$_lang['prop_asides.chunks_desc'] = 'Specify the TV containing your chunks list to be used as asides (should be [[*aside]] by default).';
$_lang['prop_asides.wrapper_desc'] = 'A chunk to wrap each result in.';
$_lang['prop_asides.outputseparator_desc'] = 'Default to "\n".';
$_lang['prop_asides.toplaceholder_desc'] = 'Output the results to the given placeholder.';
5 changes: 4 additions & 1 deletion core/components/asides/lexicon/fr/properties.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@
* @subpackage lexicon
*/

$_lang['prop_asides.chunks_desc'] = 'Indiquez la variable de modèle contenant la liste de vos chunks à utiliser comme modules.';
$_lang['prop_asides.chunks_desc'] = 'Indiquez la variable de modèle contenant la liste de vos chunks à utiliser comme modules ([[*aside]] par défaut).';
$_lang['prop_asides.wrapper_desc'] = 'Un chunk dans lequel afficher chaque résultat.';
$_lang['prop_asides.outputseparator_desc'] = '"\n" par défaut.';
$_lang['prop_asides.toplaceholder_desc'] = 'Affiche les résultats dans le placeholder indiqué.';

0 comments on commit 59d9854

Please sign in to comment.