Improvements to naming standards

This commit is contained in:
Sam Georges 2014-06-30 18:27:17 +10:00
parent 26e712dc06
commit 893f7746f7
6 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@
id="<?= $this->getId() ?>"
class="field-fileupload is-multi <?= count($fileList) ? 'has-attachments' : '' ?> is-sortable"
data-control="fileupload"
data-upload-input="#<?= $this->getId('upload-input') ?>"
data-upload-input="#<?= $this->getId('uploadInput') ?>"
data-unique-id="<?= $this->getId() ?>"
data-sort-handler="<?= $this->getEventHandler('onSortAttachments') ?>"
data-item-template="<?= $this->getId('template') ?>">
@ -27,7 +27,7 @@
<!-- Upload form -->
<input
id="<?= $this->getId('upload-input') ?>"
id="<?= $this->getId('uploadInput') ?>"
type="file"
multiple="true"
name="file_data"

View File

@ -2,7 +2,7 @@
id="<?= $this->getId() ?>"
class="field-fileupload <?= $singleFile ? 'has-attachments' : '' ?>"
data-control="fileupload"
data-upload-input="#<?= $this->getId('upload-input') ?>"
data-upload-input="#<?= $this->getId('uploadInput') ?>"
data-unique-id="<?= $this->getId() ?>"
data-item-template="<?= $this->getId('template') ?>">
@ -23,7 +23,7 @@
<!-- Upload form -->
<input
id="<?= $this->getId('upload-input') ?>"
id="<?= $this->getId('uploadInput') ?>"
type="file"
name="file_data"
class="attachment-input" />

View File

@ -2,7 +2,7 @@
id="<?= $this->getId() ?>"
class="field-fileupload is-multi <?= count($fileList) ? 'has-attachments' : '' ?> is-sortable"
data-control="fileupload"
data-upload-input="#<?= $this->getId('upload-input') ?>"
data-upload-input="#<?= $this->getId('uploadInput') ?>"
data-unique-id="<?= $this->getId() ?>"
data-sort-handler="<?= $this->getEventHandler('onSortAttachments') ?>"
data-image-width="<?= $imageWidth ?>"
@ -30,7 +30,7 @@
<!-- Upload form -->
<input
id="<?= $this->getId('upload-input') ?>"
id="<?= $this->getId('uploadInput') ?>"
type="file"
multiple="true"
name="file_data"

View File

@ -2,7 +2,7 @@
id="<?= $this->getId() ?>"
class="field-fileupload <?= $singleFile ? 'has-attachments' : '' ?>"
data-control="fileupload"
data-upload-input="#<?= $this->getId('upload-input') ?>"
data-upload-input="#<?= $this->getId('uploadInput') ?>"
data-unique-id="<?= $this->getId() ?>"
data-image-width="<?= $imageWidth ?>"
data-image-height="<?= $imageHeight ?>"
@ -29,7 +29,7 @@
<!-- Upload form -->
<input
id="<?= $this->getId('upload-input') ?>"
id="<?= $this->getId('uploadInput') ?>"
type="file"
name="file_data"
class="attachment-input" />

View File

@ -168,7 +168,7 @@ class Lists extends WidgetBase
public function render()
{
$this->prepareVars();
return $this->makePartial('list_container');
return $this->makePartial('list-container');
}
/**