<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog', array(
    'id' => 'article-album-upload',
    'options' => array(
        'title' =>  Yii::t('admin', 'Upload Images'),
		//'title' => "<div class='widget-header widget-header-small'><h4 class='smaller'><i class='icon-list'></i> " . Yii::t('admin', 'Upload Images') . "</h4></div>",
        'width' => 900,
        'closeText' => '',
        'height' => 500,
        'autoOpen' => false,
        'modal' => true,
    ),
));

$this->widget('xupload.XUpload', array(
    'url' => Yii::app()->createUrl("/admin/article/upload", array('article_id' => $article_id)),
    'model' => $uploader,
    'attribute' => 'file',
    'multiple' => true,
));
$this->endWidget('zii.widgets.jui.CJuiDialog');
?>
<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog', array(
    'id' => 'article-album-manage',
    'options' => array(
        'title' => "<div class='widget-header widget-header-small'><h4 class='smaller'><i class='icon-list'></i> " . Yii::t('admin', 'Manage Images') . "</h4></div>",
        'width' => 900,
        'closeText' => '',
        'height' => 500,
        'autoOpen' => false,
        'modal' => true,
    ),
));
?>
<?php $this->endWidget('zii.widgets.jui.CJuiDialog'); ?>