Ejemplo n.º 1
0
				<?php 
echo h5($c->getCollectionName());
?>
<br />
			</h1>
			<p class="lead">
				<?php 
echo h5($c->getCollectionDescription());
?>
			</p>
		</div>
	</header>

<?php 
$domain_long_desc = ProjectInfo::getDomainLongDesc($project_id, $domain_handle);
$domain_long_desc = DocSectionManager::safeMarkdown2HTML($domain_long_desc);
$common_request_parts = "?fsenDocLang={$doc_lang}&cID={$page_id}&projectID={$project_id}&domainHandle={$domain_handle}&volumeHandle={$volume_handle}&partHandle={$part_handle}&chapterHandle={$chapter_handle}";
?>
	<header class="text-center project-subpage-desc">
		<span class="glyphicon glyphicon-group big-glyph text-major-default"></span><?php 
echo $domain_long_desc;
?>
	</header>

	<article class="formal-content" lang="<?php 
echo $doc_lang;
?>
">

<!-- MainForeword area: Flex columns -->
		<section class="container-fluid">
Ejemplo n.º 2
0
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
defined('C5_EXECUTE') or die('Access Denied.');
require_once 'helpers/fsen/DocSectionManager.php';
$home_long_desc = trim(ProjectInfo::getDomainLongDesc($project_id, 'home'));
if (mb_strlen($home_long_desc) > 15) {
    $alert_content = DocSectionManager::safeMarkdown2HTML($home_long_desc);
    ?>

<header class="project-alert-banner alert alert-dismissible fade in" role='alert'>
	<?php 
    echo $alert_content;
    ?>
	<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
</header>

<?php 
}
?>