* @version 0.0.0-1
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * @author Cyberspace Networks <*****@*****.**>
 * @license GNU General Public License
 * @copyright Copyright (c) 2000-2015 Cyberspace Networks
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * The lastest version of Cyberspace Networks CoreSystem can be obtained from:
 * https://github.com/CyberspaceNetworks/CoreSystem
 * For questions, help, comments, discussion, etc. please visit
 * http://www.cyberspace-networks.com
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 */
$style = null;
if (!empty($caption_image) && $display_header_image == DESKTOP_IMAGE_DISPLAY) {
    $repeat = '';
    $img_desktop_info = manage_user_desktop_image($caption_image, $desktop_image_action);
    $style = ' style="background: url(' . $img_desktop_info['url'] . ') ' . $img_desktop_info['repeat'] . '"';
} else {
    $img_desktop = $theme_details['header_image'];
    if (!empty($img_desktop)) {
        $style = ' style="background-image: url(' . $img_desktop . ') no-repeat"';
    }
}
?>

<!-- Content Header (Page header) -->
<section class="content-header">
    <h1>
        <?php 
if (!empty($group_name)) {
    echo chop_string($group_name, 40);
Ejemplo n.º 2
0
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * @author Cyberspace Networks <*****@*****.**>
 * @license GNU General Public License
 * @copyright Copyright (c) 2000-2015 Cyberspace Networks
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * The lastest version of Cyberspace Networks CoreSystem can be obtained from:
 * https://github.com/CyberspaceNetworks/CoreSystem
 * For questions, help, comments, discussion, etc. please visit
 * http://www.cyberspace-networks.com
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 */
$img_desktop_info = get_network_image();
$style = null;
$extra = unserialize($network_info->extra);
if (isset($img_desktop_info) && $extra['basic']['header_image'] === DESKTOP_IMAGE_DISPLAY) {
    $img_desktop_info = manage_user_desktop_image($extra['basic']['header_image']['name'], $extra['basic']['header_image']['option']);
    $style = 'style="background-image: url(' . $img_desktop_info['url'] . ') ' . $img_desktop_info['repeat'] . '"';
}
?>

<!-- Content Header (Page header) -->
<section class="content-header">
    <h1>
        <?php 
echo wordwrap(strip_tags($network_info->name), 60, 1);
?>
        <?php 
if ($network_info->tagline) {
    ?>
            <small><?php 
    echo wordwrap(strip_tags($network_info->tagline), 60);