CMSimple_XH 開発者ドキュメント
PluginTextFileEdit.php
1 <?php
2 
16 namespace XH;
17 
29 {
37  public function __construct()
38  {
39  global $pth, $plugin, $tx;
40 
41  $this->plugin = $plugin;
42  $this->filename = $pth['file']['plugin_stylesheet'];
43  $this->params = array('admin' => 'plugin_stylesheet',
44  'action' => 'plugin_textsave');
45  $this->redir = '?&' . $plugin
46  . '&admin=plugin_stylesheet&action=plugin_text&xh_success=stylesheet';
47  $this->textareaName = 'plugin_text';
48  $this->caption = utf8_ucfirst($plugin) . ' &ndash; '
49  . utf8_ucfirst($tx['filetype']['stylesheet']);
50  parent::__construct();
51  }
52 }
$plugin
Definition: cms.php:856
utf8_ucfirst($string)
Definition: utf8.php:118
$tx
Definition: cms.php:363
$pth
Definition: cms.php:230