Nooku Server is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

nooku-server

Commit 3552

User picture
  • Author: johanjanssens
  • 2012-04-03 06:20 (about 2 years ago)

Merged from /branches/development

Files Affected

 
35513552
31
<?= @template('com://admin/default.view.form.toolbar'); ?>
31
<?= @template('com://admin/default.view.form.toolbar'); ?>
32
 
32
 
33
<form action="" method="post" id="article-form" class="-koowa-form">
33
<form action="" method="post" id="article-form" class="-koowa-form">
34
    <div class="editor-container">
34
    <div class="form-body">
35
        <div class="title">
35
        <div class="title">
36
            <input class="required" type="text" name="title" maxlength="255" value="<?= $article->title
?>" placeholder="<?= @text('Title') ?>" />
36
            <input class="required" type="text" name="title" maxlength="255" value="<?= $article->title
?>" placeholder="<?= @text('Title') ?>" />
37
        </div>
37
        </div>
35513552
20
 
20
 
21
<form id="articles-form" action="" method="get" class="-koowa-grid">
21
<form id="articles-form" action="" method="get" class="-koowa-grid">
22
    <?= @template('default_filter'); ?>
22
    <?= @template('default_filter'); ?>
23
    <table class="adminlist">
23
    <table>
24
        <thead>
24
        <thead>
25
            <tr>
25
            <tr>
26
                <th width="10"></th>
26
                <th width="10">
 
 
27
                     <?= @helper('grid.checkall') ?>
 
 
28
                </th>
27
                <th>
29
                <th>
28
                    <?= @helper('grid.sort', array('column' => 'title')) ?>
30
                    <?= @helper('grid.sort', array('column' => 'title')) ?>
29
                </th>
31
                </th>
...
 
...
 
39
                    <?= @helper('grid.sort', array('title' => 'Created', 'column' => 'created'))
?>
41
                    <?= @helper('grid.sort', array('title' => 'Created', 'column' => 'created'))
?>
40
                </th>
42
                </th>
41
            </tr>
43
            </tr>
42
            <tr>
 
 
43
                <td align="center">
 
 
44
                    <?= @helper('grid.checkall') ?>
 
 
45
                </td>
 
 
46
                <td>
 
 
47
                    <?= @helper('grid.search') ?>
 
 
48
                </td>
 
 
49
                
 
 
50
                <td></td>
 
 
51
                <? if($state->category) : ?>
 
 
52
                <td></td>
 
 
53
                <? endif; ?>
 
 
54
                <td></td>
 
 
55
            </tr>
 
 
56
        </thead>
44
        </thead>
57
        <tfoot>
45
        <tfoot>
58
            <tr>
46
            <tr>
35513552
60
        </li>
60
        </li>
61
        <? endif; ?>
61
        <? endif; ?>
62
    </ul>
62
    </ul>
 
 
63
    <div class="form-search">
 
 
64
        <?= @helper('grid.search') ?>
 
 
65
    </div>
63
</div>
66
</div>
35513552
23
<form action="" method="post" id="section-form" class="-koowa-form">
23
<form action="" method="post" id="section-form" class="-koowa-form">
24
    <input type="hidden" name="oldtitle" value="<?= $section->title ; ?>" />
24
    <input type="hidden" name="oldtitle" value="<?= $section->title ; ?>" />
25
 
25
 
26
    <div class="editor-container">
26
    <div class="form-body">
27
        <div class="title">
27
        <div class="title">
28
            <input class="required" type="text" name="title" maxlength="255" value="<?= $section->title;
?>" placeholder="<?= @text( 'Title' ); ?>" />
28
            <input class="required" type="text" name="title" maxlength="255" value="<?= $section->title;
?>" placeholder="<?= @text( 'Title' ); ?>" />
29
        </div>
29
        </div>
30
 
30
 
31
        <div class="editor">
31
        <div class="form-content">
32
            <fieldset class="form-horizontal">
32
            <fieldset class="form-horizontal">
33
                <legend><?= @text( 'Details' ); ?></legend>
33
                <legend><?= @text( 'Details' ); ?></legend>
34
                <div class="control-group">
34
                <div class="control-group">
35513552
17
 
17
 
18
<form action="" method="get" class="-koowa-grid">    
18
<form action="" method="get" class="-koowa-grid">    
19
    <?= @template('default_filter'); ?>
19
    <?= @template('default_filter'); ?>
20
    <table class="adminlist">
20
    <table>
21
        <thead>
21
        <thead>
22
            <tr>
22
            <tr>
23
                <th width="10"></th>
23
                <th width="10">
 
 
24
                    <?= @helper('grid.checkall'); ?>
 
 
25
                </th>
24
                <th>
26
                <th>
25
                    <?= @helper('grid.sort',  array('column' => 'title')   ); ?>
27
                    <?= @helper('grid.sort',  array('column' => 'title')   ); ?>
26
                </th>
28
                </th>
...
 
...
 
40
                    <?= @helper('grid.sort',  array( 'title' => 'Num Active', 'column' =>
'activecount') ); ?>
42
                    <?= @helper('grid.sort',  array( 'title' => 'Num Active', 'column' =>
'activecount') ); ?>
41
                </th>
43
                </th>
42
            </tr>
44
            </tr>
43
            <tr>
 
 
44
                <td align="center">
 
 
45
                    <?= @helper( 'grid.checkall'); ?>
 
 
46
                </td>
 
 
47
                <td>
 
 
48
                    <?= @helper( 'grid.search'); ?>
 
 
49
                </td>
 
 
50
                <td></td>
 
 
51
                <td></td>
 
 
52
                <td></td>
 
 
53
                <td></td>
 
 
54
                <td></td>
 
 
55
            </tr>
 
 
56
        </thead>
45
        </thead>
57
        <tfoot>
46
        <tfoot>
58
            <tr>
47
            <tr>
35513552
28
            </a> 
28
            </a> 
29
        </li>
29
        </li>
30
    </ul>
30
    </ul>
 
 
31
    <div class="form-search">
 
 
32
        <?= @helper('grid.search') ?>
 
 
33
    </div>
31
</div>
34
</div>
35513552
29
<?= @template('com://admin/default.view.form.toolbar'); ?>
29
<?= @template('com://admin/default.view.form.toolbar'); ?>
30
 
30
 
31
<form action="" method="post" id="banner-form" class="-koowa-form">
31
<form action="" method="post" id="banner-form" class="-koowa-form">
32
    <div class="editor-container">
32
    <div class="form-body">
33
        <div class="title">
33
        <div class="title">
34
            <input class="required" type="text" name="title" maxlength="255" value="<?=
@escape($banner->title) ?>" placeholder="<?= @text('Name') ?>" />
34
            <input class="required" type="text" name="title" maxlength="255" value="<?=
@escape($banner->title) ?>" placeholder="<?= @text('Name') ?>" />
35
        </div>
35
        </div>
36
        <div class="editor">
36
        <div class="form-content">
37
            <fieldset class="form-horizontal">
37
            <fieldset class="form-horizontal">
38
                <legend><?= @text('Banner') ?></legend>
38
                <legend><?= @text('Banner') ?></legend>
39
                <div class="control-group">
39
                <div class="control-group">
...
 
...
 
61
                </div>
61
                </div>
62
                <div class="control-group">
62
                <div class="control-group">
63
                    <label class="control-label" for="clickurl"><?= @text('Click URL') ?></label>
63
                    <label class="control-label" for="clickurl"><?= @text('Click URL') ?></label>
64
                    <div class="controls controls-radio">
64
                    <div class="controls">
65
                        <input class="required validate-url" type="text" name="clickurl" maxlength="200"
value="<?= $banner->clickurl ?>" />
65
                        <input class="required validate-url" type="text" name="clickurl" maxlength="200"
value="<?= $banner->clickurl ?>" />
 
 
66
                        <p class="help-block"><?= @text('Enter the full URL to the page that will open when the Banner is clicked
upon') ?></p>
66
                    </div>
67
                    </div>
67
                </div>
68
                </div>
68
            </fieldset>
69
            </fieldset>
35513552
20
 
20
 
21
<form action="" method="get" class="-koowa-grid">
21
<form action="" method="get" class="-koowa-grid">
22
    <?= @template('default_filter'); ?>
22
    <?= @template('default_filter'); ?>
23
    <table class="adminlist">
23
    <table>
24
        <thead>
24
        <thead>
25
            <tr>
25
            <tr>
26
                <th width="10"></th>
26
                <th width="10">
 
 
27
                    <?= @helper('grid.checkall'); ?>
 
 
28
                </th>
27
                <th>
29
                <th>
28
                    <?= @helper('grid.sort', array('column' => 'title')); ?>
30
                    <?= @helper('grid.sort', array('column' => 'title')); ?>
29
                </th>
31
                </th>
...
 
...
 
43
                    <?= @text('Tags'); ?>
45
                    <?= @text('Tags'); ?>
44
                </th>
46
                </th>
45
            </tr>
47
            </tr>
46
            <tr>
 
 
47
                <td align="center">
 
 
48
                    <?= @helper( 'grid.checkall'); ?>
 
 
49
                </td>
 
 
50
                <td>
 
 
51
                    <?= @helper( 'grid.search'); ?>
 
 
52
                </td>              
 
 
53
                <td></td>                
 
 
54
                <td></td>
 
 
55
                <td></td>
 
 
56
                <td></td>
 
 
57
                <td></td>
 
 
58
            </tr>
 
 
59
        </thead>
48
        </thead>
60
 
49
 
61
        <tfoot>
50
        <tfoot>
35513552
33
            </a> 
33
            </a> 
34
        </li>
34
        </li>
35
    </ul>
35
    </ul>
 
 
36
    <div class="form-search">
 
 
37
        <?= @helper('grid.search') ?>
 
 
38
    </div>
36
</div>
39
</div>
35513552
33
                'enabled'      => 'published',
33
                'enabled'      => 'published',
34
                'locked_on'    => 'checked_out_time',
34
                'locked_on'    => 'checked_out_time',
35
                'locked_by'    => 'checked_out',
35
                'locked_by'    => 'checked_out',
36
                'slug'         => 'alias',
36
                'section_id'   => 'section',
37
                'section_id'   => 'section'
37
                'slug'         => 'alias'
38
                ),
38
                ),
39
            ));
39
            ));
40
 
40
 
35513552
10
 */
10
 */
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
 
 
13
<!--
13
<script src="media://lib_koowa/js/koowa.js" />
14
<script src="media://lib_koowa/js/koowa.js" />
14
<style src="media://lib_koowa/css/koowa.css" />
15
<style src="media://lib_koowa/css/koowa.css" />
 
 
16
-->
15
 
17
 
16
<?= @template('com://admin/default.view.grid.toolbar'); ?>
18
<?= @template('com://admin/default.view.grid.toolbar'); ?>
17
 
19
 
...
 
...
 
24
    <input type="hidden" name="type" value="<?= $state->type;?>" />
26
    <input type="hidden" name="type" value="<?= $state->type;?>" />
25
 
27
 
26
    <?= @template('default_filter'); ?>
28
    <?= @template('default_filter'); ?>
27
    <table class="adminlist">
29
    <table>
28
        <thead>
30
        <thead>
29
            <tr>
31
            <tr>
30
                <th width="10"></th>
32
                <th width="10">
 
 
33
                    <?= @helper('grid.checkall'); ?>
 
 
34
                </th>
31
                <th>
35
                <th>
32
                    <?= @helper('grid.sort',  array('column' => 'title')   ); ?>
36
                    <?= @helper('grid.sort',  array('column' => 'title')   ); ?>
33
                </th>
37
                </th>
...
 
...
 
44
                    <?= @helper('grid.sort',  array( 'title' => 'Num Active', 'column' =>
'activecount') ); ?>
48
                    <?= @helper('grid.sort',  array( 'title' => 'Num Active', 'column' =>
'activecount') ); ?>
45
                </th>
49
                </th>
46
            </tr>
50
            </tr>
47
            <tr>
 
 
48
                <td align="center">
 
 
49
                     <?= @helper( 'grid.checkall'); ?>
 
 
50
                </td>
 
 
51
                <td colspan="5">
 
 
52
                    <?= @helper( 'grid.search'); ?>
 
 
53
                </td>
 
 
54
            </tr>
 
 
55
        </thead>
51
        </thead>
56
 
52
 
57
        <tfoot>
53
        <tfoot>
35513552
28
            </a> 
28
            </a> 
29
        </li>
29
        </li>
30
    </ul>
30
    </ul>
 
 
31
    <div class="form-search">
 
 
32
        <?= @helper('grid.search') ?>
 
 
33
    </div>
31
</div>
34
</div>
35513552
20
<?= @template('com://admin/default.view.form.toolbar'); ?>
20
<?= @template('com://admin/default.view.form.toolbar'); ?>
21
 
21
 
22
<form action="" method="post" class="-koowa-form" id="category-form">
22
<form action="" method="post" class="-koowa-form" id="category-form">
23
    <div class="editor-container">
23
    <div class="form-body">
24
        <div class="title">
24
        <div class="title">
25
            <input class="required" type="text" name="title" maxlength="255" value="<?= $category->title;
?>" placeholder="<?= @text( 'Title' ); ?>" />
25
            <input class="required" type="text" name="title" maxlength="255" value="<?= $category->title;
?>" placeholder="<?= @text( 'Title' ); ?>" />
26
        </div>
26
        </div>
27
 
27
 
28
        <div class="editor">
28
        <div class="form-content">
29
            <fieldset class="form-horizontal">
29
            <fieldset class="form-horizontal">
30
                <legend><?= @text( 'Details' ); ?></legend>
30
                <legend><?= @text( 'Details' ); ?></legend>
31
                <div class="control-group">
31
                <div class="control-group">
35513552
22
 
22
 
23
<form action="" method="post" id="contact-form" class="-koowa-form">
23
<form action="" method="post" id="contact-form" class="-koowa-form">
24
    <input type="hidden" name="id" value="<?= $contact->id; ?>" />
24
    <input type="hidden" name="id" value="<?= $contact->id; ?>" />
25
    <div class="editor-container">
 
 
26
 
25
 
 
 
26
    <div class="form-body">
27
        <div class="title">
27
        <div class="title">
28
            <input class="required" type="text" name="title" maxlength="255" value="<?= $contact->title
?>" placeholder="<?= @text('Title') ?>" />
28
            <input class="required" type="text" name="title" maxlength="255" value="<?= $contact->title
?>" placeholder="<?= @text('Title') ?>" />
29
        </div>
29
        </div>
30
 
30
 
31
        <div class="editor">
31
        <div class="form-content">
32
            <fieldset class="form-horizontal">
32
            <fieldset class="form-horizontal">
33
                <legend><?= @text('Information'); ?></legend>
33
                <legend><?= @text('Information'); ?></legend>
34
                <div class="control-group">
34
                <div class="control-group">
35513552
11
 
11
 
12
defined('KOOWA') or die('Restricted access') ?>
12
defined('KOOWA') or die('Restricted access') ?>
13
 
13
 
 
 
14
<!--
14
<script src="media://lib_koowa/js/koowa.js" />
15
<script src="media://lib_koowa/js/koowa.js" />
15
<style src="media://lib_koowa/css/koowa.css" />
16
<style src="media://lib_koowa/css/koowa.css" />
 
 
17
-->
16
 
18
 
17
<?= @template('com://admin/default.view.grid.toolbar'); ?>
19
<?= @template('com://admin/default.view.grid.toolbar'); ?>
18
 
20
 
...
 
...
 
20
 
22
 
21
<form action="" method="get"  class="-koowa-grid">
23
<form action="" method="get"  class="-koowa-grid">
22
 <?= @template('default_filter'); ?>
24
 <?= @template('default_filter'); ?>
23
<table class="adminlist">
25
<table>
24
    <thead>
26
    <thead>
25
        <tr>
27
        <tr>
26
            <th width="10"></th>
28
            <th width="10">
 
 
29
                <?= @helper('grid.checkall'); ?>
 
 
30
            </th>
27
            <th>
31
            <th>
28
                <?= @helper('grid.sort', array('column' => 'title')); ?>
32
                <?= @helper('grid.sort', array('column' => 'title')); ?>
29
            </th>
33
            </th>
...
 
...
 
40
                <?= @helper('grid.sort', array('column' => 'user', 'title' => 'Linked to User'));
?>
44
                <?= @helper('grid.sort', array('column' => 'user', 'title' => 'Linked to User'));
?>
41
             </th>
45
             </th>
42
        </tr>        
46
        </tr>        
43
        <tr>
 
 
44
            <td align="center">
 
 
45
                <?= @helper( 'grid.checkall'); ?>
 
 
46
            </td>
 
 
47
            <td>
 
 
48
                <?= @helper( 'grid.search'); ?>
 
 
49
            </td>
 
 
50
            <td align="center">
 
 
51
                <?= @helper('listbox.enabled', array('name' => 'enabled')); ?>
 
 
52
            </td>
 
 
53
            <td></td>
 
 
54
            <td></td>
 
 
55
            <td></td>
 
 
56
        </tr>
 
 
57
    </thead>
47
    </thead>
58
 
48
 
59
    <tfoot>
49
    <tfoot>
35513552
28
            </a> 
28
            </a> 
29
        </li>
29
        </li>
30
    </ul>
30
    </ul>
 
 
31
    <div class="form-search">
 
 
32
        <?= @helper('grid.search') ?>
 
 
33
    </div>
31
</div>
34
</div>
35513552
33
 
33
 
34
         parent::onAfterControllerBrowse($event);
34
         parent::onAfterControllerBrowse($event);
35
    }
35
    }
 
 
36
 
 
 
37
    protected function _commandDefault(KControllerToolbarCommand $command)
 
 
38
    {
 
 
39
        $command->label = JText::_('Make Default');
 
 
40
 
 
 
41
        $command->append(array(
 
 
42
                'attribs' => array(
 
 
43
                    'data-action' => 'edit',
 
 
44
                    'data-data'   => '{default:1}'
 
 
45
        )
 
 
46
        ));
 
 
47
    }
36
 
48
 
37
    protected function _commandPreview(KControllerToolbarCommand $command)
49
    protected function _commandPreview(KControllerToolbarCommand $command)
38
    {
50
    {
35513552
76
            $params = JComponentHelper::getParams('com_extensions');
76
            $params = JComponentHelper::getParams('com_extensions');
77
            $params->set('language_'.$this->application, $this->name);
77
            $params->set('language_'.$this->application, $this->name);
78
 
78
 
79
            //Save the params   
79
             //Save the params
80
            $result = $this->getService('com://admin/extensions.model.components', array('name' => 'components'))
80
            $result = $this->getService('com://admin/extensions.database.table.components')
81
                        ->select(array('option' => 'com_extensions'), KDatabase::FETCH_ROW) 
81
                           ->select(array('option' => 'com_extensions'), KDatabase::FETCH_ROW)
82
                        ->set('params', $params)       
82
                           ->set('params', $params)
83
                        ->save();
83
                           ->save();
84
 
84
            
85
            return $result;
85
            return $result;
86
        }
86
        }
87
 
87
 
35513552
120
            if($state->installed)
120
            if($state->installed)
121
            {
121
            {
122
                $modules = array();
122
                $modules = array();
123
                   $ids = parent::getList()->getColumn('type'); 
123
                   $ids = parent::getList()->type; 
124
 
124
 
125
                foreach((array) KConfig::unbox($state->application) as $application)
125
                foreach((array) KConfig::unbox($state->application) as $application)
126
                {
126
                {
35513552
37
            'application' => 'site'
37
            'application' => 'site'
38
        ));
38
        ));
39
 
39
 
40
        //$positions  = $this->getService('com://admin/extensions.model.modules')->application($config->application)->getList()->getColumn('position');
40
        $positions = $this->getService('com://admin/extensions.model.positions')->getList()->position;
41
        $positions = $this->getService('com://admin/extensions.model.positions')->getList()->getColumn('position');
 
 
42
 
41
 
43
        $template   = $this->getService('com://admin/extensions.model.templates')
42
        $template   = $this->getService('com://admin/extensions.model.templates')
44
                          ->application($config->application)
43
                          ->application($config->application)
35513552
53
</script>
53
</script>
54
 
54
 
55
<form action="<?= @route('id='.$module->id.'&application='.$state->application) ?>" method="post"
class="-koowa-form">
55
<form action="<?= @route('id='.$module->id.'&application='.$state->application) ?>" method="post"
class="-koowa-form">
56
    <div class="editor-container">
56
    <div class="form-body">
57
        <div class="title">
57
        <div class="title">
58
            <input class="required" type="text" name="title" value="<?= @escape($module->title) ?>" />
58
            <input class="required" type="text" name="title" value="<?= @escape($module->title) ?>" />
59
        </div>
59
        </div>
60
 
60
 
61
        <div class="editor">
61
        <div class="form-content">
62
            <fieldset class="form-horizontal">
62
            <fieldset class="form-horizontal">
63
                <legend><?= @text( 'Details' ); ?></legend>
63
                <legend><?= @text( 'Details' ); ?></legend>
64
                <div class="control-group">
64
                <div class="control-group">
35513552
10
 */
10
 */
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
 
 
13
<!--
13
<script src="media://lib_koowa/js/koowa.js" />
14
<script src="media://lib_koowa/js/koowa.js" />
14
<style src="media://lib_koowa/css/koowa.css" />
15
<style src="media://lib_koowa/css/koowa.css" />
 
 
16
-->
15
 
17
 
16
<?= @template('com://admin/default.view.grid.toolbar'); ?>
18
<?= @template('com://admin/default.view.grid.toolbar'); ?>
17
 
19
 
...
 
...
 
27
 
29
 
28
<form action="" method="get" class="-koowa-grid">
30
<form action="" method="get" class="-koowa-grid">
29
    <?= @template('default_filter'); ?>
31
    <?= @template('default_filter'); ?>
30
    <table class="adminlist">
32
    <table>
31
        <thead>
33
        <thead>
32
            <tr>
34
            <tr>
33
                <th width="10"></th>
35
                <th width="10">
 
 
36
                    <?= @helper('grid.checkall'); ?>
 
 
37
                </th>
34
                <th>
38
                <th>
35
                    <?= @helper('grid.sort', array('column' => 'title' , 'title' => 'Name')) ?>
39
                    <?= @helper('grid.sort', array('column' => 'title' , 'title' => 'Name')) ?>
36
                </th>
40
                </th>
...
 
...
 
53
                </th>
57
                </th>
54
            </tr>
58
            </tr>
55
            <tr>
59
            <tr>
56
                <td align="center">
 
 
57
                    <?= @helper( 'grid.checkall'); ?>
 
 
58
                </td>
 
 
59
                <td>
 
 
60
                    <?= @helper( 'grid.search'); ?>
 
 
61
                </td>
 
 
62
                <td></td>
60
                <td></td>
63
                <td></td>
61
                <td></td>
 
 
62
                <td></td>
 
 
63
                <td></td>
64
                <? if($state->application == 'site') : ?>
64
                <? if($state->application == 'site') : ?>
65
                    <td></td>
65
                <td></td>
66
                <? endif ?>
66
                <? endif ?>
67
                <td></td>
67
                <td></td>
68
                <td>
68
                <td>
35513552
28
            </a> 
28
            </a> 
29
        </li>
29
        </li>
30
    </ul>
30
    </ul>
 
 
31
    <div class="form-search">
 
 
32
        <?= @helper('grid.search') ?>
 
 
33
    </div>
31
</div>
34
</div>
35513552
20
                <?= @text('All positions') ?>
20
                <?= @text('All positions') ?>
21
            </a>
21
            </a>
22
        </li>
22
        </li>
23
        <? foreach(array_unique(@service('com://admin/extensions.model.modules')->application('site')->getList()->getColumn('position')) as $position) : ?>
23
        <? foreach(array_unique(@service('com://admin/extensions.model.modules')->application('site')->getList()->position) as $position) : ?>
24
        <li <? if($state->position == $position && $state->application == 'site') echo 'class="active"'
?>>
24
        <li <? if($state->position == $position && $state->application == 'site') echo 'class="active"'
?>>
25
            <a href="<?= @route('position='.$position.'&application=site') ?>">
25
            <a href="<?= @route('position='.$position.'&application=site') ?>">
26
                <?= $position; ?>
26
                <?= $position; ?>
...
 
...
 
35
                <?= @text('All positions') ?>
35
                <?= @text('All positions') ?>
36
            </a>
36
            </a>
37
        </li>
37
        </li>
38
        <? foreach(array_unique(@service('com://admin/extensions.model.modules')->application('administrator')->getList()->getColumn('position')) as $position) : ?>
38
        <? foreach(array_unique(@service('com://admin/extensions.model.modules')->application('administrator')->getList()->position) as $position) : ?>
39
        <li <? if($state->position == $position && $state->application == 'administrator') echo
'class="active"' ?>>
39
        <li <? if($state->position == $position && $state->application == 'administrator') echo
'class="active"' ?>>
40
            <a href="<?= @route('position='.$position.'&application=administrator') ?>">
40
            <a href="<?= @route('position='.$position.'&application=administrator') ?>">
41
                <?= $position; ?>
41
                <?= $position; ?>
35513552
21
<?= @template('com://admin/default.view.form.toolbar'); ?>
21
<?= @template('com://admin/default.view.form.toolbar'); ?>
22
 
22
 
23
<form action="" method="post" id="plugin-form" class="-koowa-form">
23
<form action="" method="post" id="plugin-form" class="-koowa-form">
24
    <div class="editor-container">
24
    <div class="form-body">
25
        <div class="title">
25
        <div class="title">
26
            <input class="required" type="text" name="title" value="<?= @escape($plugin->title) ?>" />
26
            <input class="required" type="text" name="title" value="<?= @escape($plugin->title) ?>" />
27
        </div>
27
        </div>
28
 
28
 
29
        <div class="editor">
29
        <div class="form-content">
30
            <fieldset class="form-horizontal">
30
            <fieldset class="form-horizontal">
31
                <legend><?= @text( 'Details' ); ?></legend>
31
                <legend><?= @text( 'Details' ); ?></legend>
32
                <div class="control-group">
32
                <div class="control-group">
35513552
21
{
21
{
22
    public function display()
22
    public function display()
23
    {
23
    {
24
        $this->types = array_unique($this->getService('com://admin/extensions.model.plugins')->getList()->getColumn('type'));
24
        $this->types = array_unique($this->getService('com://admin/extensions.model.plugins')->getList()->type);
25
 
25
 
26
        return parent::display();
26
        return parent::display();
27
    }
27
    }
35513552
3
 * @version     $Id$
3
 * @version     $Id$
4
 * @category    Nooku
4
 * @category    Nooku
5
 * @package     Nooku_Server
5
 * @package     Nooku_Server
6
 * @subpackage  Modules
6
 * @subpackage  Plugins
7
 * @copyright   Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
7
 * @copyright   Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
8
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
8
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
9
 * @link        http://www.nooku.org
9
 * @link        http://www.nooku.org
...
 
...
 
16
 
16
 
17
<form action="" method="get" class="-koowa-grid">
17
<form action="" method="get" class="-koowa-grid">
18
    <?= @template('default_filter'); ?>
18
    <?= @template('default_filter'); ?>
19
    <table class="adminlist">
19
    <table>
20
        <thead>
20
        <thead>
21
            <tr>
21
            <tr>
22
                <th width="20"></th>
22
                <th width="10">
 
 
23
                    <?= @helper('grid.checkall'); ?>
 
 
24
                </th>
23
                <th>
25
                <th>
24
                    <?= @helper('grid.sort', array('column' => 'name' , 'title' => 'Name')) ?>
26
                    <?= @helper('grid.sort', array('column' => 'name' , 'title' => 'Name')) ?>
25
                </th>
27
                </th>
...
 
...
 
33
                    <?= @helper('grid.sort', array('column' => 'access' , 'title' => 'Access')) ?>
35
                    <?= @helper('grid.sort', array('column' => 'access' , 'title' => 'Access')) ?>
34
                </th>
36
                </th>
35
            </tr>
37
            </tr>
36
            <tr>
 
 
37
                <td align="center">
 
 
38
                    <?= @helper( 'grid.checkall'); ?>
 
 
39
                </td>
 
 
40
                <td>
 
 
41
                    <?= @helper( 'grid.search'); ?>
 
 
42
                </td>
 
 
43
                <td colspan="3"></td>
 
 
44
            </tr>
 
 
45
        </thead>
38
        </thead>
46
        <tfoot>
39
        <tfoot>
47
            <tr>
40
            <tr>
35513552
28
            </a> 
28
            </a> 
29
        </li>
29
        </li>
30
    </ul>
30
    </ul>
 
 
31
    <div class="form-search">
 
 
32
        <?= @helper('grid.search') ?>
 
 
33
    </div>
31
</div>
34
</div>
35513552
25
 
25
 
26
<form action="<?= @route('name='.$template->name.'&application='.$state->application) ?>"
method="post" class="-koowa-form">
26
<form action="<?= @route('name='.$template->name.'&application='.$state->application) ?>"
method="post" class="-koowa-form">
27
 
27
 
28
    <div class="editor">
28
    <div class="form-content">
29
        <fieldset class="form-horizontal">
29
        <fieldset class="form-horizontal">
30
            <legend><?= @text('Details') ?></legend>
30
            <legend><?= @text('Details') ?></legend>
31
            <div class="control-group">
31
            <div class="control-group">
35513552
10
 */
10
 */
11
defined('KOOWA') or die('Restricted access'); ?>
11
defined('KOOWA') or die('Restricted access'); ?>
12
 
12
 
13
<div id="sidebar">
13
<div class="sidebar">
14
    <h3><?= @text( 'Types' ); ?></h3>
14
    <h3><?= @text( 'Types' ); ?></h3>
15
    <ul>
15
    <ul>
16
        <li <? if($this->getView()->getName() == 'system') echo 'class="active"' ?>>
16
        <li <? if($this->getView()->getName() == 'system') echo 'class="active"' ?>>
35513552
25
 
25
 
26
        $this->getState()
26
        $this->getState()
27
            ->insert('published', 'boolean')
27
            ->insert('published', 'boolean')
28
            ->insert('category' , 'int');
28
            ->insert('category' , 'slug');
29
    }
29
    }
30
 
30
 
31
    protected function _buildQueryColumns(KDatabaseQuerySelect $query)
31
    protected function _buildQueryColumns(KDatabaseQuerySelect $query)
...
 
...
 
53
        }
53
        }
54
 
54
 
55
        if ($state->category) {
55
        if ($state->category) {
56
            $query->where('tbl.catid = :category')->bind(array('category' => $state->category));
56
            $query->where('tbl.catid = :category')->bind(array('category' => (int) $state->category));
57
        }
57
        }
58
 
58
 
59
        if (!empty($state->search)) {
59
        if (!empty($state->search)) {
35513552
29
</script>
29
</script>
30
 
30
 
31
<form action="" method="post" id="newsfeed-form" class="-koowa-form">
31
<form action="" method="post" id="newsfeed-form" class="-koowa-form">
32
    <div class="editor-container">
32
    <div class="form-body">
33
        <div class="title">
33
        <div class="title">
34
            <input class="required" type="text" name="title" maxlength="255" value="<?= $newsfeed->title
?>" placeholder="<?= @text('Title') ?>" />
34
            <input class="required" type="text" name="title" maxlength="255" value="<?= $newsfeed->title
?>" placeholder="<?= @text('Title') ?>" />
35
        </div>
35
        </div>
36
 
36
 
37
        <div class="editor">
37
        <div class="form-content">
38
            <fieldset class="form-horizontal">
38
            <fieldset class="form-horizontal">
39
            <legend><?= @text( 'Details' ) ?></legend>
39
            <legend><?= @text( 'Details' ) ?></legend>
40
            <div class="control-group">
40
            <div class="control-group">
35513552
10
 */
10
 */
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
 
 
13
<!--
13
<style src="media://lib_koowa/css/koowa.css" />
14
<style src="media://lib_koowa/css/koowa.css" />
14
<script src="media://lib_koowa/js/koowa.js" />
15
<script src="media://lib_koowa/js/koowa.js" />
 
 
16
-->
15
 
17
 
16
<?= @template('com://admin/default.view.grid.toolbar'); ?>
18
<?= @template('com://admin/default.view.grid.toolbar'); ?>
17
 
19
 
...
 
...
 
19
 
21
 
20
<form action="" method="get" class="-koowa-grid">
22
<form action="" method="get" class="-koowa-grid">
21
    <?= @template('default_filter') ?>
23
    <?= @template('default_filter') ?>
22
    <table class="adminlist">
24
    <table>
23
        <thead>
25
        <thead>
24
            <tr>
26
            <tr>
25
                <th width="10"></th>
27
                <th width="10">
 
 
28
                    <?= @helper('grid.checkall'); ?>
 
 
29
                </th>
26
                <th>
30
                <th>
27
                    <?= @helper('grid.sort', array('column' => 'title')) ?>
31
                    <?= @helper('grid.sort', array('column' => 'title')) ?>
28
                </th>
32
                </th>
...
 
...
 
39
                    <?= @helper('grid.sort', array('column' => 'cache_time', 'title' => 'Cache
time')) ?>
43
                    <?= @helper('grid.sort', array('column' => 'cache_time', 'title' => 'Cache
time')) ?>
40
                </th>
44
                </th>
41
             </tr>
45
             </tr>
42
            <tr>
 
 
43
                <td align="center">
 
 
44
                    <?= @helper('grid.checkall') ?>
 
 
45
                </td>
 
 
46
                <td>
 
 
47
                    <?= @helper('grid.search') ?>
 
 
48
                </td>
 
 
49
                <td></td>
 
 
50
                <td></td>
 
 
51
                <td></td>
 
 
52
                <td></td>
 
 
53
            </tr>
 
 
54
        </thead>
46
        </thead>
55
        <tfoot>
47
        <tfoot>
56
            <tr>
48
            <tr>
35513552
28
            </a> 
28
            </a> 
29
        </li>
29
        </li>
30
    </ul>
30
    </ul>
 
 
31
    <div class="form-search">
 
 
32
        <?= @helper('grid.search') ?>
 
 
33
    </div>
31
</div>
34
</div>
35513552
14
 
14
 
15
<?= @template('com://admin/default.view.form.toolbar'); ?>
15
<?= @template('com://admin/default.view.form.toolbar'); ?>
16
 
16
 
17
<style src="media://com_settings/css/settings-default.css" />
17
<form action="" method="post" class="-koowa-form" >
18
 
 
 
19
<form action="" method="post" class="-koowa-form -koowa-box" >
 
 
20
<?= @helper('tabs.startPane') ?>
18
<?= @helper('tabs.startPane') ?>
21
<h3><?= @text('System')?></h3>    
19
<h3><?= @text('System')?></h3>    
22
<?= @template('default_system', array('settings' => $settings->system)); ?>    
20
<?= @template('default_system', array('settings' => $settings->system)); ?>    
35513552
10
 */
10
 */
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
13
<section>
13
<fieldset class="form-horizontal">
14
    <h3><?= @text( 'Database' ); ?></h3>
14
    <legend><?= @text( 'Database' ); ?></legend>
15
    <table class="admintable" cellspacing="1">
15
    <div class="control-group">
16
        <tbody>
16
        <label class="control-label" for="settings[system][host]"><?= @text( 'Hostname' ); ?></label>
17
        <tr>
17
        <div class="controls">
18
            <td class="key">
18
            <input type="text" name="settings[system][host]" value="<?= $settings->host; ?>" />
19
                <span class="editlinktip hasTip" title="<?php echo JText::_( 'Hostname' ); ?>::<?= @text( 'TIPDATABASEHOSTNAME' ); ?>">
19
            <p class="help-block"><?= @text( 'TIPDATABASEHOSTNAME' ); ?></p>
20
                    <?= @text( 'Hostname' ); ?>
20
        </div>
21
                </span>
21
    </div>
22
            </td>
22
    <div class="control-group">
23
            <td>
23
        <label class="control-label" for="settings[system][user]"><?= @text( 'Username' ); ?></label>
24
                <input class="text_area" type="text" name="settings[system][host]" size="30" value="<?= $settings->host; ?>" />
24
        <div class="controls">
25
            </td>
25
            <input type="text" name="settings[system][user]" value="<?= $settings->user; ?>" />
26
        </tr>
26
            <p class="help-block"><?= @text( 'TIPDATABASEUSERNAME' ); ?></p>
27
        <tr>
27
        </div>
28
            <td class="key">
28
    </div>
29
                <span class="editlinktip hasTip" title="<?php echo JText::_( 'Username' ); ?>::<?= @text( 'TIPDATABASEUSERNAME' ); ?>">
29
    <div class="control-group">
30
                    <?= @text( 'Username' ); ?>
30
        <label class="control-label" for="settings[system][db]"><?= @text( 'Database' ); ?></label>
31
                </span>
31
        <div class="controls">
32
            </td>
32
            <input type="text" name="settings[system][db]" value="<?= $settings->db; ?>" />
33
            <td>
33
            <p class="help-block"><?= @text( 'TIPDATABASENAME' ); ?></p>
34
                <input class="text_area" type="text" name="settings[system][user]" size="30" value="<?= $settings->user; ?>" />
34
        </div>
35
            </td>
35
    </div>
36
        </tr>
36
    <div class="control-group">
37
        <tr>
37
        <label class="control-label" for="settings[system][dbprefix]"><?= @text( 'Database Prefix' ); ?></label>
38
            <td class="key">
38
        <div class="controls">
39
                <span class="editlinktip hasTip" title="<?php echo JText::_( 'Database' ); ?>::<?= @text( 'TIPDATABASENAME' ); ?>">
39
            <input type="text" name="settings[system][dbprefix]" value="<?= $settings->dbprefix; ?>" />
40
                    <?= @text( 'Database' ); ?>
40
            <p class="help-block"><?= @text( 'TIPDATABASEPREFIX' ); ?></p>
41
                </span>
41
        </div>
42
            </td>
42
    </div>
43
            <td>
43
</fieldset>
44
                <input class="text_area" type="text" name="settings[system][db]" size="30" value="<?= $settings->db; ?>" />
 
 
45
            </td>
 
 
46
        </tr>
 
 
47
        <tr>
 
 
48
            <td class="key">
 
 
49
                <span class="editlinktip hasTip" title="<?php echo JText::_( 'Database Prefix' ); ?>::<?= @text( 'TIPDATABASEPREFIX' ); ?>">
 
 
50
                    <?= @text( 'Database Prefix' ); ?>
 
 
51
                </span>
 
 
52
            </td>
 
 
53
            <td>
 
 
54
                <input class="text_area" type="text" name="settings[system][dbprefix]" size="10" value="<?= $settings->dbprefix; ?>" />
 
 
55
                &nbsp;
 
 
56
                <span class="error hasTip" title="<?= @text( 'Warning' );?>::<?= @text( 'WARNDONOTCHANGEDATABASETABLESPREFIX' ); ?>">
 
 
57
                    
 
 
58
                </span>
 
 
59
            </td>
 
 
60
        </tr>
 
 
61
        </tbody>
 
 
62
    </table>
 
 
63
</section>
 
 
35513552
10
 */
10
 */
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
13
<section>
13
<fieldset class="form-horizontal">
14
    <h3><?php echo JText::_( 'FTP' ); ?></h3>
14
    <legend><?php echo JText::_( 'FTP' ); ?></legend>
15
    <table class="admintable" cellspacing="1">
15
    <div class="control-group">
16
        <tbody>
16
        <label class="control-label" for="settings[system][ftp_enable]"><?= @text( 'Enable FTP' ); ?></label>
17
        <tr>
17
        <div class="controls">
18
            <td class="key">
18
            <div class="controls-radio"><?php echo @helper('select.booleanlist' , array('name' => 'settings[system][ftp_enable]'));?></div>
19
                <span class="editlinktip hasTip" title="<?= @text( 'Enable FTP' ); ?>::<?= @text( 'TIPENABLEFTP' ); ?>">
19
            <p class="help-block"><?= @text( 'TIPENABLEFTP' ); ?></p>
20
                        <?= @text( 'Enable FTP' ); ?>
20
        </div>
21
                </span>
21
    </div>
22
            </td>
22
    <div class="control-group">
23
            <td>
23
        <label class="control-label" for="settings[system][ftp_host]"><?= @text( 'FTP Host' ); ?></label>
24
                <?php echo @helper('select.booleanlist' , array('name' => 'settings[system][ftp_enable]'));?>
24
        <div class="controls">
25
            </td>
25
            <input type="text" name="settings[system][ftp_host]" value="<?= $settings->ftp_host; ?>" />
26
        </tr>
26
            <p class="help-block"><?= @text( 'TIPFTPHOST' ); ?></p>
27
        <tr>
27
        </div>
28
            <td class="key">
28
    </div>
29
                <span class="editlinktip hasTip" title="<?= @text( 'FTP Host' ); ?>::<?= @text( 'TIPFTPHOST' ); ?>">
29
    <div class="control-group">
30
                    <?= @text( 'FTP Host' ); ?>
30
        <label class="control-label" for="settings[system][ftp_port]"><?= @text( 'FTP Port' ); ?></label>
31
                </span>
31
        <div class="controls">
32
            </td>
32
            <input type="text" name="settings[system][ftp_port]" value="<?= $settings->ftp_port; ?>" />
33
            <td>
33
            <p class="help-block"><?= @text( 'TIPFTPPORT' ); ?></p>
34
                <input class="text_area" type="text" name="settings[system][ftp_host]" size="25" value="<?= $settings->ftp_host; ?>" />
34
        </div>
35
            </td>
35
    </div>
36
        </tr>
36
    <div class="control-group">
37
        <tr>
37
        <label class="control-label" for="settings[system][ftp_user]"><?= @text( 'FTP Username' ); ?></label>
38
            <td class="key">
38
        <div class="controls">
39
                <span class="editlinktip hasTip" title="<?= @text( 'FTP Port' ); ?>::<?= @text( 'TIPFTPPORT' ); ?>">
39
            <input type="text" name="settings[system][ftp_user]" value="<?= $settings->ftp_user; ?>" />
40
                    <?= @text( 'FTP Port' ); ?>
40
            <p class="help-block"><?= @text( 'TIPFTPUSERNAME' ); ?></p>
41
                </span>
41
        </div>
42
            </td>
42
    </div>
43
            <td>
43
    <div class="control-group">
44
                <input class="text_area" type="text" name="settings[system][ftp_port]" size="25" value="<?= $settings->ftp_port; ?>" />
44
        <label class="control-label" for="settings[system][ftp_pass]"><?= @text( 'FTP Password' ); ?></label>
45
            </td>
45
        <div class="controls">
46
        </tr>
46
            <input type="password" name="settings[system][ftp_pass]" value="<?= $settings->ftp_pass; ?>" />
47
        <tr>
47
            <p class="help-block"><?= @text( 'TIPFTPPASSWORD' ); ?></p>
48
            <td class="key">
48
        </div>
49
                <span class="editlinktip hasTip" title="<?= @text( 'FTP Username' ); ?>::<?= @text( 'TIPFTPUSERNAME' ); ?>">
49
    </div>
50
                    <?= @text( 'FTP Username' ); ?>
50
    <div class="control-group">
51
                </span>
51
        <label class="control-label" for="settings[system][ftp_root]"><?= @text( 'FTP Root' ); ?></label>
52
            </td>
52
        <div class="controls">
53
            <td>
53
            <input type="text" name="settings[system][ftp_root]" value="<?= $settings->ftp_root; ?>" />
54
                <input class="text_area" type="text" name="settings[system][ftp_user]" size="25" value="<?= $settings->ftp_user; ?>" />
54
            <p class="help-block"><?= @text( 'TIPFTPROOT' ); ?></p>
55
            </td>
55
        </div>
56
        </tr>
56
    </div>
57
        <tr>
57
</fieldset    >
58
            <td class="key">
 
 
59
                <span class="editlinktip hasTip" title="<?php echo JText::_( 'FTP Password' ); ?>::<?= @text( 'TIPFTPPASSWORD' ); ?>">
 
 
60
                    <?= @text( 'FTP Password' ); ?>
 
 
61
                </span>
 
 
62
            </td>
 
 
63
            <td>
 
 
64
                <input class="text_area" type="password" name="settings[system][ftp_pass]" size="25" value="<?= $settings->ftp_pass; ?>" />
 
 
65
            </td>
 
 
66
        </tr>
 
 
67
        <tr>
 
 
68
            <td class="key">
 
 
69
                <span class="editlinktip hasTip" title="<?= @text( 'FTP Root' ); ?>::<?= @text( 'TIPFTPROOT' ); ?>">
 
 
70
                    <?= @text( 'FTP Root' ); ?>
 
 
71
                </span>
 
 
72
            </td>
 
 
73
            <td>
 
 
74
                <input class="text_area" type="text" name="settings[system][ftp_root]" size="50" value="<?= $settings->ftp_root; ?>" />
 
 
75
            </td>
 
 
76
        </tr>
 
 
77
        </tbody>
 
 
78
    </table>
 
 
79
</section>
 
 
35513552
10
 */
10
 */
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
13
<section>
13
<fieldset class="form-horizontal">
14
    <h3><?php echo JText::_( 'Path' ); ?></h3>
14
    <legend><?php echo JText::_( 'Path' ); ?></legend>
15
    <table class="admintable" cellspacing="1">
15
    <div class="control-group">
16
        <tbody>
16
        <label class="control-label" for="settings[system][log_path]"><?= @text('Log-folder'); ?></label>
17
            <tr>
17
        <div class="controls">
18
                <td class="key">
18
            <input type="text" name="settings[system][log_path]" value="<?php echo $settings->log_path; ?>" />
19
                    <span class="editlinktip hasTip" title="<?php echo JText::_( 'Path to Log-folder' ); ?>::<?= @text( 'TIPLOGFOLDER' ); ?>">
19
            <p class="help-block"><?= @text( 'TIPLOGFOLDER' ); ?></p>
20
                        <?= @text( 'Log-folder' ); ?>
20
        </div>
21
                    </span>
21
    </div>
22
                </td>
22
    <div class="control-group">
23
                <td>
23
        <label class="control-label" for="settings[system][tmp_path]"><?= @text( 'Temp-folder' ); ?></label>
24
                    <input class="text_area" type="text" size="50" name="settings[system][log_path]" value="<?php echo $settings->log_path; ?>" />
24
        <div class="controls">
25
                </td>
25
            <input type="text" name="settings[system][tmp_path]" value="<?= $settings->tmp_path; ?>" />
26
            </tr>
26
            <p class="help-block"><?= @text( 'TIPTMPFOLDER' ); ?></p>
27
            <tr>
27
        </div>
28
                <td class="key">
28
    </div>
29
                    <span class="editlinktip hasTip" title="<?= @text( 'Path to Temp-folder' ); ?>::<?= @text( 'TIPTMPFOLDER' ); ?>">
29
</fieldset>
30
                        <?= @text( 'Temp-folder' ); ?>
 
 
31
                    </span>
 
 
32
                </td>
 
 
33
                <td>
 
 
34
                    <input class="text_area" type="text" size="50" name="settings[system][tmp_path]" value="<?= $settings->tmp_path; ?>" />
 
 
35
                </td>
 
 
36
            </tr>
 
 
37
        </tbody>
 
 
38
    </table>
 
 
39
</section>
 
 
40
 
30
 
41
<section>
31
<fieldset class="form-horizontal">
42
    <h3><?= @text( 'Server' ); ?></h3>
32
    <legend><?= @text( 'Server' ); ?></legend>
43
    <table class="admintable" cellspacing="1">
33
    <div class="control-group">
44
        <tbody>
34
        <label class="control-label" for="settings[system][gzip]"><?= @text( 'Page Compression' ); ?></label>
45
        <tr>
35
        <div class="controls">
46
            <td class="key">
36
            <div class="controls-radio">
47
                <span class="editlinktip hasTip" title="<?= @text( 'Page Compression' ); ?>::<?= @text( 'Compress buffered output if supported' ); ?>">
37
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][gzip]', 'selected' => $settings->gzip));?>
48
                    <?= @text( 'Page Compression' ); ?>
38
            </div>
49
                </span>
39
            <p class="help-block"><?= @text( 'Compress buffered output if supported' ); ?></p>
50
            </td>
40
        </div>
51
            <td>
41
    </div>
52
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][gzip]', 'selected' => $settings->gzip));?>
42
    <div class="control-group">
53
            </td>
43
        <label class="control-label" for="settings[system][force_ssl]"><?= @text('Force SSL'); ?></label>
54
        </tr>
44
        <div class="controls">
55
        <tr>
45
            <?= @helper('listbox.force_ssl', array('name' => 'settings[system][force_ssl]', 'selected' => $settings->force_ssl)); ?>
56
            <td class="key">
46
            <p class="help-block"><?= @text( 'TIPFORCESSL' ); ?></p>
57
                <span class="editlinktip hasTip" title="<?= @text('Force SSL'); ?>::<?= @text( 'TIPFORCESSL' ); ?>">
47
        </div>
58
                    <?= @text('Force SSL'); ?>
48
    </div>
59
                </span>
49
</fieldset>
60
            </td>
 
 
61
            <td>
 
 
62
                <?= @helper('listbox.force_ssl', array('name' => 'settings[system][force_ssl]', 'selected' => $settings->force_ssl)); ?>
 
 
63
            </td>
 
 
64
        </tr>
 
 
65
        </tbody>
 
 
66
    </table>
 
 
67
</section>
 
 
68
 
50
 
69
<section>
51
<fieldset class="form-horizontal">
70
    <h3><?= @text( 'Diognostics' ); ?></h3>
52
    <legend><?= @text( 'Diognostics' ); ?></legend>
71
    <table class="admintable" cellspacing="1">
53
    <div class="control-group">
72
        <tbody>
54
        <label class="control-label" for="settings[system][debug]"><?= @text( 'Application Profiling' ); ?></label>
73
        <tr>
55
        <div class="controls">
74
            <td class="key">
56
             <div class="controls-radio">
75
                <span class="editlinktip hasTip" title="<?= @text( 'Enable Application Profiling' ); ?>::<?= @text('TIPDEBUGGINGINFO'); ?>">
57
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][debug]', 'selected' => $settings->debug));?>
76
                    <?= @text( 'Application Profiling' ); ?>
58
            </div>
77
                </span>
59
            <p class="help-block"><?= @text('TIPDEBUGGINGINFO'); ?></p>
78
            </td>
60
        </div>
79
            <td>
61
    </div>
80
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][debug]', 'selected' => $settings->debug));?>
62
    <div class="control-group">
81
            </td>
63
        <label class="control-label" for="settings[system][debug_lang]"><?= @text( 'Language Indicators' ); ?></label>
82
        </tr>
64
        <div class="controls">
83
        <tr>
65
            <div class="controls-radio">
84
            <td class="key">
66
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][debug_lang]', 'selected' => $settings->debug_lang));?>
85
                <span class="editlinktip hasTip" title="<?= @text( 'Show Language Indicators' ); ?>::<?= @text('TIPDEBUGLANGUAGE'); ?>">
67
            </div>
86
                    <?= @text( 'Language Indicators' ); ?>
68
            <p class="help-block"><?= @text('TIPDEBUGLANGUAGE'); ?></p>
87
                </span>
69
        </div>
88
            </td>
70
    </div>
89
            <td>
71
</fieldset>
90
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][debug_lang]', 'selected' => $settings->debug_lang));?>
 
 
91
            </td>
 
 
92
        </tr>
 
 
93
    </table>
 
 
94
</section>
 
 
95
 
72
 
96
<section>
73
<fieldset class="form-horizontal">
97
    <h3><?= @text( 'Errors' ); ?></h3>
74
    <legend><?= @text( 'Errors' ); ?></legend>
98
    <table class="admintable" cellspacing="1">
75
    <div class="control-group">
99
        <tbody>
76
        <label class="control-label" for="settings[system][error_reporting]"><?= @text( 'Error Reporting' ); ?></label>
100
        <tr>
77
        <div class="controls">
101
            <td class="key">
78
            <?= @helper('listbox.error_reportings', array('name' => 'settings[system][error_reporting]', 'selected' => $settings->error_reporting)); ?>
102
                <span class="editlinktip hasTip" title="<?= @text( 'Error Reporting' ); ?>::<?= @text( 'TIPERRORREPORTING' ); ?>">
79
            <p class="help-block"><?= @text( 'TIPERRORREPORTING' ); ?></p>
103
                    <?= @text( 'Error Reporting' ); ?>
80
        </div>
104
                </span>
81
    </div>
105
            </td>
82
</fieldset>
106
            <td>
 
 
107
                <?= @helper('listbox.error_reportings', array('name' => 'settings[system][error_reporting]', 'selected' => $settings->error_reporting)); ?>
 
 
108
            </td>
 
 
109
        </tr>
 
 
110
    </table>
 
 
111
</section>
 
 
112
 
83
 
113
<section>
84
<fieldset class="form-horizontal">
114
    <h3><?= @text( 'Cache' ); ?></h3>
85
    <legend><?= @text( 'Cache' ); ?></legend>
115
    <table class="admintable" cellspacing="1">
86
    <div class="control-group">
 
 
87
        <label class="control-label" for="settings[system][caching]"><?= @text( 'Cache' ); ?></label>
 
 
88
        <div class="controls">
 
 
89
            <div class="controls-radio"><?= @helper('select.booleanlist' , array('name' => 'settings[system][caching]', 'selected' => $settings->caching));?></div>
 
 
90
            <p class="help-block"><?= @text( 'TIPCACHE' ); ?></p>
 
 
91
        </div>
 
 
92
    </div>
 
 
93
    <div class="control-group">
 
 
94
        <label class="control-label" for="settings[system][cachetime]"><?= @text( 'Cache Time' ); ?></label>
 
 
95
        <div class="controls">
 
 
96
            <div class="input-append input-normal">
 
 
97
                <input type="text" name="settings[system][cachetime]" value="<?= $settings->cachetime; ?>" />
 
 
98
                <span class="add-on"><?= @text( 'Minutes' ); ?></span>
 
 
99
            </div>
 
 
100
            <p class="help-block"><?= @text( 'TIPCACHETIME' ); ?></p>
 
 
101
        </div>
 
 
102
    </div>
 
 
103
    <div class="control-group">
 
 
104
        <label class="control-label" for="settings[system][cache_handler]"><?= @text( 'Cache Handler' ); ?></label>
 
 
105
        <div class="controls">
 
 
106
            <?= @helper('listbox.cache_handlers', array('name' => 'settings[system][cache_handler]', 'selected' => $settings->cache_handler)); ?>
 
 
107
            <p class="help-block"><?= @text( 'TIPCACHEHANDLER' ); ?></p>
 
 
108
        </div>
 
 
109
    </div>
 
 
110
    <? if ($settings->cache_handler == 'memcache' || $settings->session_handler == 'memcache') : ?>
 
 
111
    <div class="control-group">
 
 
112
        <label class="control-label" for="settings[system][memcache_settings][persistent]"><?= @text( 'Memcache Persistent' ); ?></label>
 
 
113
        <div class="controls">
 
 
114
            <div class="controls-radio"><?= @helper('select.booleanlist' , array('name' => 'settings[system][memcache_settings][persistent]', 'selected' => $settings->memcache_settings['persistent']));?></div>
 
 
115
            <p class="help-block"></p>
 
 
116
        </div>
 
 
117
    </div>
 
 
118
    <div class="control-group">
 
 
119
        <label class="control-label" for="settings[system][memcache_settings][compression]"><?= @text( 'Memcache Compression' ); ?></label>
 
 
120
        <div class="controls">
 
 
121
            <div class="controls-radio"><?= @helper('select.booleanlist' , array('name' => 'settings[system][memcache_settings][compression]', 'selected' => $settings->memcache_settings['compression']));?></div>
 
 
122
            <p class="help-block"></p>
 
 
123
        </div>
 
 
124
    </div>
 
 
125
    <div class="control-group">
 
 
126
        <label class="control-label" for="settings[system][memcache_settings][servers][0][host]"><?= @text( 'Memcache Server - Host' ); ?></label>
 
 
127
        <div class="controls">
 
 
128
            <input type="text" name="settings[system][memcache_settings][servers][0][host]" value="<?= @$settings->memcache_settings['servers'][0]['host']; ?>" />
 
 
129
        </div>
 
 
130
    </div>
 
 
131
    <div class="control-group">
 
 
132
        <label class="control-label" for="settings[system][memcache_settings][servers][0][port]"><?= @text( 'Memcache Server - Port' ); ?></label>
 
 
133
        <div class="controls">
 
 
134
            <input type="text" name="settings[system][memcache_settings][servers][0][port]" value="<?= @$settings->memcache_settings['servers'][0]['port']; ?>" />
 
 
135
        </div>
 
 
136
    </div>
 
 
137
    <? endif; ?>
 
 
138
</fieldset>
116
 
139
 
117
        <tbody>
140
<fieldset class="form-horizontal">
118
        <tr>
141
    <legend><?= @text( 'Session' ); ?></legend>
119
            <td class="key">
142
    <div class="control-group">
120
                <span class="editlinktip hasTip" title="<?= @text( 'Cache' ); ?>::<?= @text( 'TIPCACHE' ); ?>">
143
        <label class="control-label" for=""><?= @text( 'Session Lifetime' ); ?></label>
121
                    <?= @text( 'Cache' ); ?>
144
        <div class="controls">
122
                </span>
145
            <div class="input-append input-normal">
123
            </td>
146
                <input type="text" name="settings[system][lifetime]" value="<?= $settings->lifetime; ?>" />
124
            <td>
147
                <span class="add-on"><?= @text( 'Minutes' ); ?></span>
125
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][caching]', 'selected' => $settings->caching));?>
148
            </div>
126
            </td>
149
            <p class="help-block"><?= @text( 'TIPAUTOLOGOUTTIMEOF' ); ?></p>
127
        </tr>
150
        </div>
128
        <tr>
151
    </div>
129
            <td class="key">
152
    <div class="control-group">
130
                <span class="editlinktip hasTip" title="<?= @text( 'Cache Time' ); ?>::<?= @text( 'TIPCACHETIME' ); ?>">
153
        <label class="control-label" for=""><?= @text( 'Session Handler' ); ?></label>
131
                    <?= @text( 'Cache Time' ); ?>
154
        <div class="controls">
132
                </span>
155
            <?= @helper('listbox.session_handlers', array('name' => 'settings[system][session_handler]', 'selected' => $settings->session_handler)); ?>
133
            </td>
156
            <p class="help-block"><?= @text( 'TIPSESSIONHANDLER' ); ?></p>
134
            <td>
157
        </div>
135
                <input class="text_area" type="text" name="settings[system][cachetime]" size="5" value="<?= $settings->cachetime; ?>" />
158
    </div>
136
                    <?= @text( 'minutes' ); ?>
159
</fieldset>
137
            </td>
 
 
138
        </tr>
 
 
139
        <tr>
 
 
140
            <td class="key">
 
 
141
                <span class="editlinktip hasTip" title="<?= @text( 'Cache Handler' ); ?>::<?= @text( 'TIPCACHEHANDLER' ); ?>">
 
 
142
                    <?= @text( 'Cache Handler' ); ?>
 
 
143
                </span>
 
 
144
            </td>
 
 
145
            <td>
 
 
146
                <?= @helper('listbox.cache_handlers', array('name' => 'settings[system][cache_handler]', 'selected' => $settings->cache_handler)); ?>
 
 
147
            </td>
 
 
148
        </tr>
 
 
149
        <? if ($settings->cache_handler == 'memcache' || $settings->session_handler == 'memcache') : ?>
 
 
150
        <tr>
 
 
151
            <td class="key">
 
 
152
                <?= @text( 'Memcache Persistent' ); ?>
 
 
153
            </td>
 
 
154
            <td>
 
 
155
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][memcache_settings][persistent]', 'selected' => $settings->memcache_settings['persistent']));?>
 
 
156
            </td>
 
 
157
        </tr>
 
 
158
        <tr>
 
 
159
            <td class="key">
 
 
160
                <?= @text( 'Memcache Compression' ); ?>
 
 
161
            </td>
 
 
162
            <td>
 
 
163
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][memcache_settings][compression]', 'selected' => $settings->memcache_settings['compression']));?>
 
 
164
            </td>
 
 
165
        </tr>
 
 
166
        <tr>
 
 
167
            <td class="key">
 
 
168
                <?= @text( 'Memcache Server' ); ?>
 
 
169
            </td>
 
 
170
            <td>
 
 
171
                <?= @text( 'Host' ); ?>:
 
 
172
                <input class="text_area" type="text" name="settings[system][memcache_settings][servers][0][host]" size="25" value="<?= @$settings->memcache_settings['servers'][0]['host']; ?>" />
 
 
173
                <br /><br />
 
 
174
                <?= @text( 'Port' ); ?>:
 
 
175
                <input class="text_area" type="text" name="settings[system][memcache_settings][servers][0][port]" size="6" value="<?= @$settings->memcache_settings['servers'][0]['port']; ?>" />
 
 
176
            </td>
 
 
177
        </tr>
 
 
178
        <? endif; ?>
 
 
179
        </tbody>
 
 
180
    </table>
 
 
181
</section>
 
 
182
 
160
 
183
<section>
161
<fieldset class="form-horizontal">
184
    <h3><?= @text( 'Session' ); ?></h3>
162
    <legend><?= @text( 'Locale' ); ?></legend>
185
    <table class="admintable" cellspacing="1">
163
    <div class="control-group">
186
        <tbody>
164
        <label class="control-label" for=""><?= @text( 'Time Zone' ); ?></label>
187
        <tr>
165
        <div class="controls">
188
            <td class="key">
166
            <?= @helper('listbox.timezones', array('name' => 'settings[system][timezone]', 'selected' => $settings->timezone)) ?>
189
                <span class="editlinktip hasTip" title="<?= @text( 'Session Lifetime' ); ?>::<?= @text( 'TIPAUTOLOGOUTTIMEOF' ); ?>">
167
            <p class="help-block"><?= @text( 'TIPDATETIMEDISPLAY' ) .': '. @helper('date.format', array('format' => @text('DATE_FORMAT_LC2'))) ?></p>
190
                    <?= @text( 'Session Lifetime' ); ?>
168
        </div>
191
                </span>
169
    </div>
192
            </td>
170
</fieldset>
193
            <td>
 
 
194
                <input class="text_area" type="text" name="settings[system][lifetime]" size="10" value="<?= $settings->lifetime; ?>" />
 
 
195
                &nbsp;<?= @text('minutes'); ?>&nbsp;
 
 
196
            </td>
 
 
197
        </tr>
 
 
198
        <tr>
 
 
199
            <td class="key">
 
 
200
                <span class="editlinktip hasTip" title="<?= @text( 'Session Handler' ); ?>::<?= @text( 'TIPSESSIONHANDLER' ); ?>">
 
 
201
                    <?= @text( 'Session Handler' ); ?>
 
 
202
                </span>
 
 
203
            </td>
 
 
204
            <td>
 
 
205
                <strong><?= @helper('listbox.session_handlers', array('name' => 'settings[system][session_handler]', 'selected' => $settings->session_handler)); ?></strong>
 
 
206
            </td>
 
 
207
        </tr>
 
 
208
        </tbody>
 
 
209
    </table>
 
 
210
</section>
 
 
211
 
171
 
212
<section>
172
<fieldset class="form-horizontal">
213
    <h3><?= @text( 'Locale' ); ?></h3>
173
    <legend><?= @text( 'Url' ); ?></legend>
214
    <table class="admintable" cellspacing="1">
174
    <div class="control-group">
215
        <tbody>
175
        <label class="control-label" for=""><?= @text( 'Humanly readable URLs' ); ?></label>
216
        <tr>
176
        <div class="controls">
217
            <td class="key">
177
            <div class="controls-radio"><?= @helper('select.booleanlist' , array('name' => 'settings[system][sef]', 'selected' => $settings->sef));?></div>
218
                <span class="editlinktip hasTip" title="<?php echo JText::_( 'Time Zone' ); ?>::<?= @text( 'TIPDATETIMEDISPLAY' ) .': '. @helper('date.format', array('format' => @text('DATE_FORMAT_LC2'))) ?>">
178
            <p class="help-block"><?= @text('Humanly readable URLs'); ?></p>
219
                    <?= @text( 'Time Zone' ); ?>
179
        </div>
220
                </span>
180
    </div>
221
            </td>
181
    <div class="control-group">
222
            <td>
182
        <label class="control-label" for=""><?= @text( 'Use mod_rewrite' ); ?></label>
223
                <?= @helper('listbox.timezones', array('name' => 'settings[system][timezone]', 'selected' => $settings->timezone)) ?>
183
        <div class="controls">
224
            </td>
184
            <div class="controls-radio"><?= @helper('select.booleanlist' , array('name' => 'settings[system][sef_rewrite]', 'selected' => $settings->sef_rewrite));?></div>
225
        </tr>
185
            <p class="help-block"><?= @text('TIPUSEMODREWRITE'); ?></p>
226
        </tbody>
186
        </div>
227
    </table>
187
    </div>
228
</section>
188
    <div class="control-group">
229
 
189
        <label class="control-label" for=""><?= @text( 'Add suffix to URLs' ); ?></label>
230
<section>
190
        <div class="controls">
231
    <h3><?= @text( 'Url' ); ?></h3>
191
            <div class="controls-radio"><?= @helper('select.booleanlist' , array('name' => 'settings[system][sef_suffix]', 'selected' => $settings->sef_suffix));?></div>
232
    <table class="admintable" cellspacing="1">
192
            <p class="help-block"><?= @text('TIPURLSUFFIX'); ?></p>
233
        <tbody>
193
        </div>
234
        <tr>
194
    </div>
235
            <td class="key">
195
</fieldset>
236
                <span class="editlinktip hasTip" title="<?= @text( 'Humanly readable URLs' ); ?>::<?= @text('Humanly readable URLs'); ?>">
 
 
237
                    <?= @text( 'Humanly readable URLs' ); ?>
 
 
238
                </span>
 
 
239
            </td>
 
 
240
            <td>
 
 
241
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][sef]', 'selected' => $settings->sef));?>
 
 
242
            </td>
 
 
243
        </tr>
 
 
244
        <tr>
 
 
245
            <td class="key">
 
 
246
                <span class="editlinktip hasTip" title="<?php echo JText::_( 'Use mod_rewrite' ); ?>::<?= @text('TIPUSEMODREWRITE'); ?>">
 
 
247
                    <?= @text( 'Use mod_rewrite' ); ?>
 
 
248
                </span>
 
 
249
            </td>
 
 
250
            <td>
 
 
251
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][sef_rewrite]', 'selected' => $settings->sef_rewrite));?>
 
 
252
                <span class="error hasTip" title="<?= @text( 'Warning' );?>::<?= @text( 'WARNAPACHEONLY' ); ?>">
 
 
253
                    
 
 
254
                </span>
 
 
255
            </td>
 
 
256
        </tr>
 
 
257
        <tr>
 
 
258
            <td class="key">
 
 
259
                <span class="editlinktip hasTip" title="<?php echo JText::_( 'URL Suffix' ); ?>::<?= @text('TIPURLSUFFIX'); ?>">
 
 
260
                    <?= @text( 'Add suffix to URLs' ); ?>
 
 
261
                </span>
 
 
262
            </td>
 
 
263
            <td>
 
 
264
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][sef_suffix]', 'selected' => $settings->sef_suffix));?>
 
 
265
            </td>
 
 
266
        </tr>
 
 
267
        </tbody>
 
 
268
    </table>
 
 
269
</section>
 
 
35513552
10
 */
10
 */
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
13
<section>
13
<fieldset class="form-horizontal">
14
    <h3><?= @text( 'Mail' ); ?></h3>
14
    <legend><?= @text( 'Mail' ); ?></legend>
15
    <table class="admintable" cellspacing="1">
15
    <div class="control-group">
16
        <tbody>
16
        <label class="control-label" for=""><?= @text( 'Mailer' ); ?></label>
17
        <tr>
17
        <div class="controls">
18
            <td class="key">
18
            <?= @helper('listbox.mailers', array('name' => 'settings[system][mailer]', 'selected' => $settings->mailer)); ?>
19
                <span class="editlinktip hasTip" title="<?= @text( 'Mailer' ); ?>::<?= @text( 'TIPMAILER' ); ?>">
19
            <p class="help-block"><?= @text( 'TIPMAILER' ); ?></p>
20
                    <?= @text( 'Mailer' ); ?>
20
        </div>
21
                </span>
21
    </div>
22
            </td>
22
    <div class="control-group">
23
            <td>
23
        <label class="control-label" for=""><?= @text( 'Mail From' ); ?></label>
24
                <?= @helper('listbox.mailers', array('name' => 'settings[system][mailer]', 'selected' => $settings->mailer)); ?>
24
        <div class="controls">
25
            </td>
25
            <input type="text" name="settings[system][mailfrom]" value="<?= $settings->mailfrom; ?>" />
26
        </tr>
26
            <p class="help-block"><?= @text( 'TIPMAILFROM' ); ?></p>
27
        <tr>
27
        </div>
28
            <td class="key">
28
    </div>
29
                <span class="editlinktip hasTip" title="<?= @text( 'Mail From' ); ?>::<?= @text( 'TIPMAILFROM' ); ?>">
29
    <div class="control-group">
30
                    <?= @text( 'Mail From' ); ?>
30
        <label class="control-label" for=""><?= @text( 'From Name' ); ?></label>
31
                </span>
31
        <div class="controls">
32
            </td>
32
            <input type="text" name="settings[system][fromname]" value="<?= $settings->fromname; ?>" />
33
            <td>
33
            <p class="help-block"><?= @text( 'TIPFROMNAME' ); ?></p>
34
                <input class="text_area" type="text" name="settings[system][mailfrom]" size="30" value="<?= $settings->mailfrom; ?>" />
34
        </div>
35
            </td>
35
    </div>
36
        </tr>
36
    <div class="control-group">
37
        <tr>
37
        <label class="control-label" for=""><?= @text( 'Sendmail Path' ); ?></label>
38
            <td class="key">
38
        <div class="controls">
39
                <span class="editlinktip hasTip" title="<?= @text( 'From Name' ); ?>::<?= @text( 'TIPFROMNAME' ); ?>">
39
            <input type="text" name="settings[system][sendmail]" value="<?= $settings->sendmail; ?>" />
40
                    <?= @text( 'From Name' ); ?>
40
            <p class="help-block"><?= @text( 'TIPSENDMAILPATH' ); ?></p>
41
                </span>
41
        </div>
42
            </td>
42
    </div>
43
            <td>
43
    <div class="control-group">
44
                <input class="text_area" type="text" name="settings[system][fromname]" size="30" value="<?= $settings->fromname; ?>" />
44
        <label class="control-label" for=""><?= @text( 'SMTP Auth' ); ?></label>
45
            </td>
45
        <div class="controls">
46
        </tr>
46
             <div class="controls-radio"><?= @helper('select.booleanlist' , array('name' => 'settings[system][smtpauth]', 'selected' => $settings->smtpauth));?></div>
47
        <tr>
47
            <p class="help-block"><?= @text( 'TIPSMTPAUTH' ); ?></p>
48
            <td class="key">
48
        </div>
49
                <span class="editlinktip hasTip" title="<?= @text( 'Sendmail Path' ); ?>::<?= @text( 'TIPSENDMAILPATH' ); ?>">
49
    </div>
50
                    <?= @text( 'Sendmail Path' ); ?>
50
    <div class="control-group">
51
                </span>
51
        <label class="control-label" for=""><?= @text( 'SMTP Security' ); ?></label>
52
            </td>
52
        <div class="controls">
53
            <td>
53
            <?= @helper('listbox.smtpsecure', array('name' => 'settings[system][smtpsecure]', 'selected' => $settings->smtpsecure)); ?>
54
                <input class="text_area" type="text" name="settings[system][sendmail]" size="30" value="<?= $settings->sendmail; ?>" />
54
            <p class="help-block"><?= @text( 'TIPSMTPSECURITY' ); ?></p>
55
            </td>
55
        </div>
56
        </tr>
56
    </div>
57
        <tr>
57
    <div class="control-group">
58
            <td class="key">
58
        <label class="control-label" for=""><?= @text( 'SMTP Port' ); ?></label>
59
                <span class="editlinktip hasTip" title="<?= @text( 'SMTP Auth' ); ?>::<?= @text( 'TIPSMTPAUTH' ); ?>">
59
        <div class="controls">
60
                    <?= @text( 'SMTP Auth' ); ?>
60
            <input type="text" name="settings[system][smtpport]" value="<?= (isset($settings->smtpport) ? $settings->smtpport : ''); ?>" />
61
                </span>
61
            <p class="help-block"><?= @text( 'TIPSMTPPORT' ); ?></p>
62
            </td>
62
        </div>
63
            <td>
63
    </div>
64
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][smtpauth]', 'selected' => $settings->smtpauth));?>
64
    <div class="control-group">
65
            </td>
65
        <label class="control-label" for=""><?= @text( 'SMTP User' ); ?></label>
66
        </tr>
66
        <div class="controls">
67
        <tr>
67
            <input type="text" name="settings[system][smtpuser]" value="<?= $settings->smtpuser; ?>" />
68
             <td class="key">
68
            <p class="help-block"><?= @text( 'TIPSMTPUSER' ); ?></p>
69
                   <span class="editlinktip hasTip" title="<?= @text( 'SMTP Security' ); ?>::<?= @text( 'TIPSMTPSECURITY' ); ?>">
69
        </div>
70
                    <?= @text( 'SMTP Security' ); ?>
70
    </div>
71
                </span>
71
    <div class="control-group">
72
            </td>
72
        <label class="control-label" for=""><?= @text( 'SMTP Pass' ); ?></label>
73
            <td>
73
        <div class="controls">
74
                <?= @helper('listbox.smtpsecure', array('name' => 'settings[system][smtpsecure]', 'selected' => $settings->smtpsecure)); ?>
74
            <input type="password" name="settings[system][smtppass]" value="<?= $settings->smtppass; ?>" />
75
            </td>
75
            <p class="help-block"><?= @text( 'TIPSMTPPASS' ); ?></p>
76
        </tr>
76
        </div>
77
        <tr>
77
    </div>
78
            <td class="key">
78
    <div class="control-group">
79
                <span class="editlinktip hasTip" title="<?= @text( 'SMTP Port' ); ?>::<?= @text( 'TIPSMTPPORT' ); ?>">
79
        <label class="control-label" for=""><?= @text( 'SMTP Host' ); ?></label>
80
                    <?= @text( 'SMTP Port' ); ?>
80
        <div class="controls">
81
                </span>
81
            <input type="text" name="settings[system][smtphost]" value="<?= $settings->smtphost; ?>" />
82
            </td>
82
            <p class="help-block"><?= @text( 'TIPSMTPHOST' ); ?></p>
83
            <td>
83
        </div>
84
                <input class="text_area" type="text" name="settings[system][smtpport]" size="30" value="<?= (isset($settings->smtpport) ? $settings->smtpport : ''); ?>" />
84
    </div>
85
            </td>
85
</fieldset>
86
        </tr>
 
 
87
        <tr>
 
 
88
            <td class="key">
 
 
89
                <span class="editlinktip hasTip" title="<?= @text( 'SMTP User' ); ?>::<?= @text( 'TIPSMTPUSER' ); ?>">
 
 
90
                    <?= @text( 'SMTP User' ); ?>
 
 
91
                </span>
 
 
92
            </td>
 
 
93
            <td>
 
 
94
                <input class="text_area" type="text" name="settings[system][smtpuser]" size="30" value="<?= $settings->smtpuser; ?>" />
 
 
95
            </td>
 
 
96
        </tr>
 
 
97
        <tr>
 
 
98
            <td class="key">
 
 
99
                <span class="editlinktip hasTip" title="<?= @text( 'SMTP Pass' ); ?>::<?= @text( 'TIPSMTPPASS' ); ?>">
 
 
100
                    <?= @text( 'SMTP Pass' ); ?>
 
 
101
                </span>
 
 
102
            </td>
 
 
103
            <td>
 
 
104
                <input class="text_area" type="password" name="settings[system][smtppass]" size="30" value="<?= $settings->smtppass; ?>" />
 
 
105
            </td>
 
 
106
        </tr>
 
 
107
        <tr>
 
 
108
            <td class="key">
 
 
109
                <span class="editlinktip hasTip" title="<?= @text( 'SMTP Host' ); ?>::<?= @text( 'TIPSMTPHOST' ); ?>">
 
 
110
                    <?= @text( 'SMTP Host' ); ?>
 
 
111
                </span>
 
 
112
            </td>
 
 
113
            <td>
 
 
114
                <input class="text_area" type="text" name="settings[system][smtphost]" size="30" value="<?= $settings->smtphost; ?>" />
 
 
115
            </td>
 
 
116
        </tr>
 
 
117
        </tbody>
 
 
118
    </table>
 
 
119
</section>
 
 
35513552
10
 */
10
 */
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
13
<section>
13
<fieldset class="form-horizontal">
14
    <h3><?= @text( 'General' ); ?></h3>
14
    <legend><?= @text( 'General' ); ?></legend>
15
    <table class="admintable" cellspacing="1">
15
    <div class="control-group">
16
    <tbody>
16
        <label class="control-label" for="settings[system][sitename]"><?= @text( 'Site Name' ); ?></label>
17
        <tr>
17
        <div class="controls">
18
            <td class="key">
18
            <input type="text" name="settings[system][sitename]" value="<?= $settings->sitename; ?>" />
19
                <span class="editlinktip hasTip" title="<?= @text( 'Site Name' ); ?>::<?= @text( 'TIPSITENAME' ); ?>">
19
            <p class="help-block"><?= @text( 'TIPSITENAME' ); ?></p>
20
                <?= @text( 'Site Name' ); ?>
20
        </div>
21
                </span>
21
    </div>
22
            </td>
22
    <div class="control-group">
23
            <td>
23
        <label class="control-label" for="settings[system][offline]"><?= @text( 'Require login' ); ?></label>
24
                <input class="text_area" type="text" name="settings[system][sitename]" size="50" value="<?= $settings->sitename; ?>" />
24
        <div class="controls">
25
            </td>
25
            <div class="controls-radio"><?= @helper('select.booleanlist' , array('name' => 'settings[system][offline]', 'selected' => $settings->offline));?></div>
26
        </tr>
26
            <p class="help-block"><?= @text( 'TIPSETYOURSITEREQUIRESLOGIN' ); ?></p>
27
        <tr>
27
        </div>
28
            <td class="key">
28
    </div>
29
                <span class="editlinktip hasTip" title="<?= @text( 'Require login' ); ?>::<?= @text( 'TIPSETYOURSITEREQUIRESLOGIN' ); ?>">
29
</fieldset>        
30
                <?= @text( 'Require login' ); ?>
 
 
31
                </span>
 
 
32
            </td>
 
 
33
            <td>
 
 
34
                <?= @helper('select.booleanlist' , array('name' => 'settings[system][offline]', 'selected' => $settings->offline));?>
 
 
35
            </td>
 
 
36
        </tr>
 
 
37
    </tbody>
 
 
38
    </table>
 
 
39
</section>        
 
 
40
 
30
 
41
<section>
31
<fieldset class="form-horizontal">
42
    <h3><?= @text( 'Defaults' ); ?></h3>
32
    <legend><?= @text( 'Defaults' ); ?></legend>
43
    <table class="admintable" cellspacing="1">
33
    <div class="control-group">
44
    <tbody>
34
        <label class="control-label" for="settings[system][editor]"><?= @text( 'WYSIWYG Editor' ); ?></label>
45
        <tr>
35
        <div class="controls">
46
            <td class="key">
36
            <?= @helper('listbox.editors', array('name' => 'settings[system][editor]', 'selected' => $settings->editor)); ?>
47
                <span class="editlinktip hasTip" title="<?= @text( 'WYSIWYG Editor' ); ?>::<?= @text( 'TIPDEFWYSIWYG' ); ?>">
37
            <p class="help-block"><?= @text( 'TIPDEFWYSIWYG' ); ?></p>
48
            <?= @text( 'WYSIWYG Editor' ); ?>
38
        </div>
49
            </span>
39
    </div>
50
            </td>
40
    <div class="control-group">
51
            <td>
41
        <label class="control-label" for="settings[system][list_limit]"><?= @text( 'List Length' ); ?></label>
52
                <?= @helper('listbox.editors', array('name' => 'settings[system][editor]', 'selected' => $settings->editor)); ?>
42
        <div class="controls">
53
            </td>
43
            <?= @helper('listbox.list_limits', array('name' => 'settings[system][list_limit]', 'selected' => $settings->list_limit)); ?>
54
        </tr>
44
            <p class="help-block"><?= @text( 'TIPSETSDEFAULTLENGTHLISTS' ); ?></p>
55
        <tr>
45
        </div>
56
            <td class="key">
46
    </div>
57
                <span class="editlinktip hasTip" title="<?= @text( 'List Length' ); ?>::<?= @text( 'TIPSETSDEFAULTLENGTHLISTS' ); ?>">
47
    <div class="control-group">
58
                    <?= @text( 'List Length' ); ?>
48
        <label class="control-label" for="settings[system][feed_limit]"><?= @text( 'Feed Length' ); ?></label>
59
                </span>
49
        <div class="controls">
60
            </td>
50
            <?= @helper('listbox.list_limits', array('name' => 'settings[system][feed_limit]', 'selected' => $settings->feed_limit)); ?>
61
            <td>
51
            <p class="help-block"><?= @text( 'TIPFEEDLIMIT' ); ?></p>
62
                <?= @helper('listbox.list_limits', array('name' => 'settings[system][list_limit]', 'selected' => $settings->list_limit)); ?>
52
        </div>
63
            </td>
53
    </div>
64
        </tr>
54
</fieldset>
65
        <tr>
 
 
66
            <td class="key">
 
 
67
                <span class="editlinktip hasTip" title="<?= @text( 'Feedlimit' ); ?>::<?= @text( 'TIPFEEDLIMIT' ); ?>">
 
 
68
                    <?= @text( 'Feed Length' ); ?>
 
 
69
                </span>
 
 
70
            </td>
 
 
71
            <td>
 
 
72
                <?= @helper('listbox.list_limits', array('name' => 'settings[system][feed_limit]', 'selected' => $settings->feed_limit)); ?>
 
 
73
            </td>
 
 
74
        </tr>
 
 
75
    </tbody>
 
 
76
    </table>
 
 
77
</section>
 
 
35513552
11
defined('KOOWA') or die( 'Restricted access' ); ?>
11
defined('KOOWA') or die( 'Restricted access' ); ?>
12
 
12
 
13
<?= @helper('tabs.startPanel', array('id' => 'system', 'title' => @text('General'))) ?>
13
<?= @helper('tabs.startPanel', array('id' => 'system', 'title' => @text('General'))) ?>
14
    <h2><?= @text('General') ?></h2>
 
 
15
    <?= @template('default_general'); ?>
14
    <?= @template('default_general'); ?>
16
<?= @helper('tabs.endPanel') ?>
15
<?= @helper('tabs.endPanel') ?>
17
 
16
 
18
<?= @helper('tabs.startPanel', array('id' => 'site', 'title' => @text('Frontend'))) ?>
17
<?= @helper('tabs.startPanel', array('id' => 'site', 'title' => @text('Frontend'))) ?>
19
    <h2><?= @text('Frontend') ?></h2>
 
 
20
    <?= @template('default_site'); ?>
18
    <?= @template('default_site'); ?>
21
<?= @helper('tabs.endPanel') ?>
19
<?= @helper('tabs.endPanel') ?>
22
 
20
 
23
<?= @helper('tabs.startPanel', array('id' => 'mail', 'title' => @text('Mail'))) ?>
21
<?= @helper('tabs.startPanel', array('id' => 'mail', 'title' => @text('Mail'))) ?>
24
    <h2><?= @text('Mail') ?></h2>
 
 
25
       <?= @template('default_mail'); ?>  
22
       <?= @template('default_mail'); ?>  
26
<?= @helper('tabs.endPanel') ?>
23
<?= @helper('tabs.endPanel') ?>
27
 
24
 
28
<?= @helper('tabs.startPanel', array('id' => 'ftp', 'title' => @text('FTP'))) ?>
25
<?= @helper('tabs.startPanel', array('id' => 'ftp', 'title' => @text('FTP'))) ?>
29
    <h2><?= @text('FTP') ?></h2>
 
 
30
    <?= @template('default_ftp'); ?> 
26
    <?= @template('default_ftp'); ?> 
31
 <?= @helper('tabs.endPanel') ?>
27
 <?= @helper('tabs.endPanel') ?>
32
 
28
 
33
 <?= @helper('tabs.startPanel', array('id' => 'database', 'title' => @text('Database'))) ?>
29
 <?= @helper('tabs.startPanel', array('id' => 'database', 'title' => @text('Database'))) ?>
34
     <h2><?= @text('Database') ?></h2>
 
 
35
    <?= @template('default_database'); ?> 
30
    <?= @template('default_database'); ?> 
36
 <?= @helper('tabs.endPanel') ?>
31
 <?= @helper('tabs.endPanel') ?>
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff
File was changed - ok, show the diff