Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding method and view to add config variables
- Loading branch information
1 parent
127caa1
commit 8387773
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* Management Config admin edit post. | ||
* | ||
* this page is for admin to manage the setup of the site | ||
* | ||
* Copyright (c) 2009 Carl Sutton ( dogmatic69 ) | ||
* | ||
* Licensed under The MIT License | ||
* Redistributions of files must retain the above copyright notice. | ||
* | ||
* @filesource | ||
* @copyright Copyright (c) 2009 Carl Sutton ( dogmatic69 ) | ||
* @link http://www.dogmatic.co.za | ||
* @package management | ||
* @subpackage management.views.configs.admin_edit | ||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License | ||
*/ | ||
|
||
echo $this->Core->adminOtherHead( $this ); | ||
echo $this->Form->create( 'Config' ); | ||
echo $this->Form->input( 'id' ); | ||
echo $this->Form->input( 'key' ); | ||
echo $this->Form->input( 'value' ); | ||
echo $this->Form->input( 'type' ); | ||
echo $this->Form->input( 'options' ); | ||
echo $this->Form->input( 'core' ); | ||
echo $this->Core->wysiwyg( 'Config.description' ); | ||
echo $this->Form->end( 'Save Configuration' ); | ||
?> |