Skip to content

Commit

Permalink
More adjustments to site documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
David McReynolds committed Oct 22, 2014
1 parent 932348d commit 921166b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fuel/application/views/_docs/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<h2 id="modules">Modules</h2>
<p>The <?=$this->fuel->config('site_name')?> website contains the following modules.</p>

<h3>Core Modules</h3>
<h3 id="core_modules">Core Modules</h3>
<ul>
<li><strong>Site</strong> - The following modules are part of the core functionality of FUEL CMS:
<ul>
Expand All @@ -56,15 +56,15 @@
</li>
</ul>

<h3>Installed Modules</h3>
<h3 id="installed_modules">Installed Modules</h3>
<p>The following modules are currently installed for your website with the corresponding fields:</p>
<?php $modules = $this->fuel->modules->advanced();?>
<ul>
<?php foreach($modules as $mod) :
$i = 0;
?>
<?php if ($this->fuel->auth->has_permission($mod->name())) : ?>
<li>
<li id="adv_module_<?=$mod->name()?>">
<strong><?=$mod->friendly_name()?></strong>
<?php if ($mod->install_info('description')) : ?> - <?=$mod->install_info('description')?> <?php endif; ?>
<?php
Expand All @@ -73,7 +73,7 @@
?>
<ul>
<?php foreach($submodules as $sub) : ?>
<li>
<li id="sub_module_<?=$sub->info('module_name')?>">
<?php
$sub_model = $sub->model();
if (empty($sub_model)) : ?>
Expand Down Expand Up @@ -126,7 +126,7 @@
<?php $layouts = $this->fuel->layouts->get(); ?>
<?php foreach($layouts as $layout) : ?>
<?php if (!$layout->is_hidden()) : ?>
<li><strong><?=$layout->name()?></strong><?php if ($layout->description()) : ?> - <?=$layout->description()?><?php endif; ?></li>
<li id="layout->name()"><strong><?=$layout->label()?></strong><?php if ($layout->description()) : ?> - <?=$layout->description()?><?php endif; ?></li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
Expand All @@ -150,7 +150,7 @@
<p>When inputting content, you can use special template functions to help insert things such
as page URLS and image paths. The most common are:</p>
<ul>
<li><strong>{site_url('my_page')}</strong> - inserts a link path relative to the site (e.g. http://www.marchex.com/my_page)/z.</li>
<li><strong>{site_url('my_page')}</strong> - inserts a link path relative to the site (e.g. http://www.mysite.com/my_page)/z.</li>
<li><strong>{img_path('my_image.jpg')}</strong> - inserts the image path based (e.g. /assets/images/my_image.jpg)/.</li>
<li><strong>{pdf_path('my_pdf.pdf')}</strong> - inserts the pdf path based (e.g. /assets/pdf/my_pdf.pdf). Extension (.pdf) is optional.</li>
<li><strong>{docs_path('my_doc.doc')}</strong> - inserts the pdf path based (e.g. /assets/pdfs/my_doc.doc).</li>
Expand Down

0 comments on commit 921166b

Please sign in to comment.