topbar.phtml 849 Bytes
<?php

$this->widget->init('topbar', array(
    "actions" => array(
        N2Html::tag('a', array(
            'href'  => '#',
            'id'    => 'n2-style-editor-cancel',
            'class' => 'n2-button n2-button-normal n2-button-l n2-radius-s n2-button-red n2-h4 n2-b n2-uc'
        ), n2_('Cancel')),
        N2Html::tag('a', array(
            'href'  => '#',
            'id'    => 'n2-style-editor-set-as-linked',
            'class' => 'n2-button n2-button-normal n2-button-l n2-radius-s n2-button-blue n2-h5 n2-b n2-uc',
        ), n2_('Apply as linked')),
        N2Html::tag('a', array(
            'href'  => '#',
            'id'    => 'n2-style-editor-save',
            'class' => 'n2-button n2-button-normal n2-button-l n2-radius-s n2-button-green n2-h4 n2-b n2-uc',
        ), n2_('Apply'))
    ),
    'fixTo'   => false
));