Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->loadDelegateModel('Common/DefaultOptionsEx');
     $this->loadDelegateModel('Common/Compatibility');
     $this->loadDelegateModel('Common/URLs');
     $this->loadDelegateModel('Misc/SmallScreens');
     // Create the sub-pages.
     $this->addSubPage('General', __('Default aspect & behavior settings', 'rpbchessboard'), true);
     $this->addSubPage('Compatibility', __('Compatibility with other chess plugins', 'rpbchessboard'));
     $this->addSubPage('SmallScreens', __('Small-screen devices', 'rpbchessboard'));
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     $this->loadTrait('Compatibility');
     $this->loadTrait('DefaultOptionsEx');
     $this->loadTrait('URLs');
     // Create the sub-pages.
     $this->addSubPage('helppgnsyntax', __('PGN game syntax', 'rpbchessboard'), true);
     $this->addSubPage('helpfensyntax', __('FEN diagram syntax', 'rpbchessboard'));
     $this->addSubPage('helppgnattributes', sprintf(__('%1$s[%3$s][/%3$s]%2$s tag attributes', 'rpbchessboard'), '<span class="rpbchessboard-sourceCode">', '</span>', htmlspecialchars($this->getPGNShortcode())));
     $this->addSubPage('helpfenattributes', sprintf(__('%1$s[%3$s][/%3$s]%2$s tag attributes', 'rpbchessboard'), '<span class="rpbchessboard-sourceCode">', '</span>', htmlspecialchars($this->getFENShortcode())));
 }
 public function __construct()
 {
     parent::__construct();
     $this->loadTrait('DefaultOptionsEx');
     $this->loadTrait('Compatibility');
     $this->loadTrait('SmallScreens');
     $this->loadTrait('URLs');
     // Create the sub-pages.
     $this->addSubPage('optionsgeneral', __('Default aspect & behavior settings', 'rpbchessboard'), true);
     $this->addSubPage('optionscompatibility', __('Compatibility with other chess plugins', 'rpbchessboard'));
     $this->addSubPage('optionssmallscreens', __('Small-screen devices', 'rpbchessboard'));
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     $this->loadDelegateModel('Common/Compatibility');
     $this->loadDelegateModel('Common/DefaultOptionsEx');
     $this->loadDelegateModel('Common/URLs');
     $fenAttrLabel = sprintf(__('%1$s[%3$s][/%3$s]%2$s tag attributes', 'rpbchessboard'), '<span class="rpbchessboard-sourceCode">', '</span>', htmlspecialchars($this->getFENShortcode()));
     $pgnAttrLabel = sprintf(__('%1$s[%3$s][/%3$s]%2$s tag attributes', 'rpbchessboard'), '<span class="rpbchessboard-sourceCode">', '</span>', htmlspecialchars($this->getPGNShortcode()));
     // Create the sub-pages.
     $this->addSubPage('PGNSyntax', __('PGN game syntax', 'rpbchessboard'), true);
     $this->addSubPage('FENSyntax', __('FEN diagram syntax', 'rpbchessboard'));
     $this->addSubPage('PGNAttributes', $pgnAttrLabel);
     $this->addSubPage('FENAttributes', $fenAttrLabel);
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct();
     $this->loadTrait('Compatibility');
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct();
     $this->loadDelegateModel('Common/Compatibility');
 }