forked from ccraig/cpoMMo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Adrian Ancona Novelo
committed
Nov 9, 2011
1 parent
f1eb8a4
commit 3aaf6a1
Showing
4 changed files
with
92 additions
and
56 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 |
---|---|---|
@@ -1,39 +1,44 @@ | ||
<?php | ||
/** | ||
* Copyright (C) 2005, 2006, 2007, 2008 Brice Burgess <bhb@iceburg.net> | ||
* | ||
* This file is part of poMMo (http://www.pommo.org) | ||
* | ||
* poMMo is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published | ||
* by the Free Software Foundation; either version 2, or any later version. | ||
* | ||
* poMMo is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty | ||
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See | ||
* the GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with program; see the file docs/LICENSE. If not, write to the | ||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
*/ | ||
|
||
/********************************** | ||
INITIALIZATION METHODS | ||
*********************************/ | ||
|
||
|
||
require('bootstrap.php'); | ||
|
||
Pommo::init(); | ||
$logger = Pommo::$_logger; | ||
$dbo = Pommo::$_dbo; | ||
|
||
/********************************** | ||
SETUP TEMPLATE, PAGE | ||
*********************************/ | ||
require_once(Pommo::$_baseDir.'classes/Pommo_Template.php'); | ||
$smarty = new Pommo_Template(); | ||
|
||
$smarty->display('admin/setup/setup_form.tpl'); | ||
|
||
<?php | ||
/** | ||
* Original Code Copyright (C) 2005, 2006, 2007, 2008 Brice Burgess <bhb@iceburg.net> | ||
* released originally under GPLV2 | ||
* | ||
* This file is part of poMMo. | ||
* | ||
* poMMo is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* poMMo is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with Pommo. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* This fork is from https://github.com/soonick/poMMo | ||
* Please see docs/contribs for Contributors | ||
* | ||
*/ | ||
|
||
/********************************** | ||
INITIALIZATION METHODS | ||
*********************************/ | ||
|
||
|
||
require 'bootstrap.php'; | ||
|
||
Pommo::init(); | ||
$logger = Pommo::$_logger; | ||
$dbo = Pommo::$_dbo; | ||
|
||
/********************************** | ||
SETUP TEMPLATE, PAGE | ||
*********************************/ | ||
require_once Pommo::$_baseDir.'classes/Pommo_Template.php'; | ||
$view = new Pommo_Template(); | ||
|
||
$view->display('admin/setup/setup_form'); | ||
|
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,46 @@ | ||
<?php | ||
|
||
include $this->template_dir.'/inc/admin.header.php'; | ||
|
||
?> | ||
|
||
<h2><?php echo _('Subscription Forms'); ?></h2> | ||
|
||
<div id="boxMenu"> | ||
|
||
<div class="advanced"> | ||
<a href="<?php echo $this->url['base']; ?>subscribe.php"> | ||
<img src="<?php echo $this->url['theme']['shared']; ?>images/icons/form.png" | ||
alt="form icon" class="navimage" /> | ||
<?php echo _('Default Subscription Form'); ?> | ||
</a> | ||
- <?php echo _('Preview the default subscription form. Its look and feel can | ||
be adjusted through the theme template | ||
([theme]/user/subscribe.tpl).'); ?> | ||
</div> | ||
|
||
<div> | ||
<a href="<?php echo $this->url['base']; ?>form_embed.php"> | ||
<img src="<?php echo $this->url['theme']['shared']; ?>images/icons/embed.png" | ||
alt="embed icon" class="navimage" /> | ||
<?php echo _('Embedded Subscription From'); ?> | ||
</a> | ||
- <?php echo _('Preview subscription forms that you can embed into an area | ||
of an existing webpage.'); ?> | ||
</div> | ||
|
||
<div> | ||
<a href="<?php echo $this->url['base']; ?>form_generate.php"> | ||
<img src="<?php echo $this->url['theme']['shared']; ?>images/icons/plain.png" | ||
alt="plain icon" class="navimage" /> | ||
<?php echo _('HTML Subscription Form'); ?> | ||
</a> | ||
- <?php echo _('Generate a plain HTML subscription form that you can | ||
customize to fit your site.'); ?> | ||
</div> | ||
|
||
</div> | ||
|
||
<?php | ||
|
||
include $this->template_dir.'/inc/admin.footer.php'; |
This file was deleted.
Oops, something went wrong.