+ Antworten
Seite 1 von 2 1 2 LetzteLetzte
Ergebnis 1 bis 10 von 13

Thema: Joomla 1.0 Copyright

  1. #1
    Neu an Board
    Registriert seit
    25.08.2009
    Beiträge
    18
    Bedankte sich
    6
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard Joomla 1.0 Copyright

    Hallo zusammen,

    Ich habe folgendes Problem, und zwar möchte ich in der Template BizCity unten im Footer folgenden Vermerk raushaben:

    "All Rights Reserved © 2009 http://bla bla bla
    The reprint of the information is possible only at presence
    the consent of the administrator of a site and the active reference to a source!"

    und "designed by raduga | joomlaportal"

    Habe mich in etlichen Foren durchgelesen von wegen footer.php ändern, Version.php ändern, finde aber nichts! Und es funktioniert auch nicht, habe echt tage lang rumprobiert, bitte helft mir.

    Danke schon mal im voraus!

  2. #2
    Hat hier eine Zweitwohnung Avatar von hego
    Registriert seit
    06.04.2007
    Ort
    Hamburg
    Alter
    48
    Beiträge
    1.447
    Bedankte sich
    16
    Erhielt 308 Danksagungen
    in 302 Beiträgen

    Standard

    Moin, Moin,

    ein link wäre hilfreich.
    Gruß Hego

    Die erste Stufe der Dummheit ist das Gefühl der Genialität.
    Ein Danke geht immer! Klick www.hengornet.de

  3. #3
    Kommt häufiger vorbei
    Registriert seit
    29.11.2007
    Beiträge
    440
    Bedankte sich
    3
    Erhielt 91 Danksagungen
    in 90 Beiträgen

    Standard

    Hallo

    diese Änderungen kannst du technisch in der index.php im Template-Directory machen, ob es allerdings rechtlich auch möglich ist, würde ich mit dem Hersteller des Template besprechen.

    Gruss Willy
    Bitte gelöste Themen auch so markieren! Vor jedem neuen Thread unbedingt hier klicken.
    Meine Seite

  4. #4
    Neu an Board
    Registriert seit
    25.08.2009
    Beiträge
    18
    Bedankte sich
    6
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Danke schonmal für die schnelle Antworten. In der index php und wo genau da?

    Also so sieht die index.php aus:

    <?php
    /**
    * @version $Id: index.php 6024 2006-12-18 22:30:07Z friesengeist $
    * @package Joomla
    * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
    * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
    * Joomla! is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    * See COPYRIGHT.php for copyright notices and details.
    */

    // Set flag that this is a parent file
    define( '_VALID_MOS', 1 );

    // checks for configuration file, if none found loads installation page
    if (!file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10) {
    $self = rtrim( dirname( $_SERVER['PHP_SELF'] ), '/\\' ) . '/';
    header("Location: http://" . $_SERVER['HTTP_HOST'] . $self . "installation/index.php" );
    exit();
    }

    require( 'globals.php' );
    require_once( 'configuration.php' );

    // SSL check - $http_host returns <live site url>:<port number if it is 443>
    $http_host = explode(':', $_SERVER['HTTP_HOST'] );
    if( (!empty( $_SERVER['HTTPS'] ) && strtolower( $_SERVER['HTTPS'] ) != 'off' || isset( $http_host[1] ) && $http_host[1] == 443) && substr( $mosConfig_live_site, 0, 8 ) != 'https://' ) {
    $mosConfig_live_site = 'https://'.substr( $mosConfig_live_site, 7 );
    }

    require_once( 'includes/joomla.php' );

    //Installation sub folder check, removed for work with SVN
    if (file_exists( 'installation/index.php' ) && $_VERSION->SVN == 0) {
    define( '_INSTALL_CHECK', 1 );
    include ( $mosConfig_absolute_path .'/offline.php');
    exit();
    }

    // displays offline/maintanance page or bar
    if ($mosConfig_offline == 1) {
    require( $mosConfig_absolute_path .'/offline.php' );
    }

    // load system bot group
    $_MAMBOTS->loadBotGroup( 'system' );

    // trigger the onStart events
    $_MAMBOTS->trigger( 'onStart' );

    if (file_exists( $mosConfig_absolute_path .'/components/com_sef/sef.php' )) {
    require_once( $mosConfig_absolute_path .'/components/com_sef/sef.php' );
    } else {
    require_once( $mosConfig_absolute_path .'/includes/sef.php' );
    }
    require_once( $mosConfig_absolute_path .'/includes/frontend.php' );

    // retrieve some expected url (or form) arguments
    $option = strval( strtolower( mosGetParam( $_REQUEST, 'option' ) ) );
    $Itemid = intval( mosGetParam( $_REQUEST, 'Itemid', null ) );

    if ($option == '') {
    if ($Itemid) {
    $query = "SELECT id, link"
    . "\n FROM #__menu"
    . "\n WHERE menutype = 'mainmenu'"
    . "\n AND id = " . (int) $Itemid
    . "\n AND published = 1"
    ;
    $database->setQuery( $query );
    } else {
    $query = "SELECT id, link"
    . "\n FROM #__menu"
    . "\n WHERE menutype = 'mainmenu'"
    . "\n AND published = 1"
    . "\n ORDER BY parent, ordering"
    ;
    $database->setQuery( $query, 0, 1 );
    }
    $menu = new mosMenu( $database );
    if ($database->loadObject( $menu )) {
    $Itemid = $menu->id;
    }
    $link = $menu->link;
    if (($pos = strpos( $link, '?' )) !== false) {
    $link = substr( $link, $pos+1 ). '&Itemid='.$Itemid;
    }
    parse_str( $link, $temp );
    /** this is a patch, need to rework when globals are handled better */
    foreach ($temp as $k=>$v) {
    $GLOBALS[$k] = $v;
    $_REQUEST[$k] = $v;
    if ($k == 'option') {
    $option = $v;
    }
    }
    }
    if ( !$Itemid ) {
    // when no Itemid give a default value
    $Itemid = 99999999;
    }

    // mainframe is an API workhorse, lots of 'core' interaction routines
    $mainframe = new mosMainFrame( $database, $option, '.' );
    $mainframe->initSession();

    // trigger the onAfterStart events
    $_MAMBOTS->trigger( 'onAfterStart' );

    // checking if we can find the Itemid thru the content
    if ( $option == 'com_content' && $Itemid === 0 ) {
    $id = intval( mosGetParam( $_REQUEST, 'id', 0 ) );
    $Itemid = $mainframe->getItemid( $id );
    }

    /** do we have a valid Itemid yet?? */
    if ( $Itemid === 0 ) {
    /** Nope, just use the homepage then. */
    $query = "SELECT id"
    . "\n FROM #__menu"
    . "\n WHERE menutype = 'mainmenu'"
    . "\n AND published = 1"
    . "\n ORDER BY parent, ordering"
    ;
    $database->setQuery( $query, 0, 1 );
    $Itemid = $database->loadResult();
    }

    // patch to lessen the impact on templates
    if ($option == 'search') {
    $option = 'com_search';
    }

    // loads english language file by default
    if ($mosConfig_lang=='') {
    $mosConfig_lang = 'english';
    }
    include_once( $mosConfig_absolute_path .'/language/' . $mosConfig_lang . '.php' );

    // frontend login & logout controls
    $return = strval( mosGetParam( $_REQUEST, 'return', NULL ) );
    $message = intval( mosGetParam( $_POST, 'message', 0 ) );
    if ($option == 'login') {
    $mainframe->login();

    // JS Popup message
    if ( $message ) {
    ?>
    <script language="javascript" type="text/javascript">
    <!--//
    alert( "<?php echo addslashes( _LOGIN_SUCCESS ); ?>" );
    //-->
    </script>
    <?php
    }

    if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) ) ) {
    // checks for the presence of a return url
    // and ensures that this url is not the registration or login pages
    // If a sessioncookie exists, redirect to the given page. Otherwise, take an extra round for a cookiecheck
    if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
    mosRedirect( $return );
    } else {
    mosRedirect( $mosConfig_live_site .'/index.php?option=cookiecheck&return=' . urlencode( $return ) );
    }
    } else {
    // If a sessioncookie exists, redirect to the start page. Otherwise, take an extra round for a cookiecheck
    if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
    mosRedirect( $mosConfig_live_site .'/index.php' );
    } else {
    mosRedirect( $mosConfig_live_site .'/index.php?option=cookiecheck&return=' . urlencode( $mosConfig_live_site .'/index.php' ) );
    }
    }

    } else if ($option == 'logout') {
    $mainframe->logout();

    // JS Popup message
    if ( $message ) {
    ?>
    <script language="javascript" type="text/javascript">
    <!--//
    alert( "<?php echo addslashes( _LOGOUT_SUCCESS ); ?>" );
    //-->
    </script>
    <?php
    }

    if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) ) ) {
    // checks for the presence of a return url
    // and ensures that this url is not the registration or logout pages
    mosRedirect( $return );
    } else {
    mosRedirect( $mosConfig_live_site.'/index.php' );
    }
    } else if ($option == 'cookiecheck') {
    // No cookie was set upon login. If it is set now, redirect to the given page. Otherwise, show error message.
    if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
    mosRedirect( $return );
    } else {
    mosErrorAlert( _ALERT_ENABLED );
    }
    }

    /** get the information about the current user from the sessions table */
    $my = $mainframe->getUser();

    // detect first visit
    $mainframe->detect();

    // set for overlib check
    $mainframe->set( 'loadOverlib', false );

    $gid = intval( $my->gid );

    // gets template for page
    $cur_template = $mainframe->getTemplate();
    /** temp fix - this feature is currently disabled */

    /** @global A places to store information from processing of the component */
    $_MOS_OPTION = array();

    // precapture the output of the component
    require_once( $mosConfig_absolute_path . '/editor/editor.php' );

    ob_start();

    if ($path = $mainframe->getPath( 'front' )) {
    $task = strval( mosGetParam( $_REQUEST, 'task', '' ) );
    $ret = mosMenuCheck( $Itemid, $option, $task, $gid );

    if ($ret) {
    require_once( $path );
    } else {
    mosNotAuth();
    }
    } else {
    header( 'HTTP/1.0 404 Not Found' );
    echo _NOT_EXIST;
    }

    $_MOS_OPTION['buffer'] = ob_get_contents();

    ob_end_clean();

    initGzip();

    header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
    header( 'Cache-Control: no-store, no-cache, must-revalidate' );
    header( 'Cache-Control: post-check=0, pre-check=0', false );
    header( 'Pragma: no-cache' );

    // display the offline alert if an admin is logged in
    if (defined( '_ADMIN_OFFLINE' )) {
    include( $mosConfig_absolute_path .'/offlinebar.php' );
    }

    // loads template file
    if ( !file_exists( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' ) ) {
    echo _TEMPLATE_WARN . $cur_template;
    } else {
    require_once( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' );
    echo '<!-- '. time() .' -->';
    }

    // displays queries performed for page
    if ($mosConfig_debug) {
    echo $database->_ticker . ' queries executed';
    echo '<pre>';
    foreach ($database->_log as $k=>$sql) {
    echo $k+1 . "\n" . $sql . '<hr />';
    }
    echo '</pre>';
    }

    doGzip();
    ?>

  5. #5
    Hat hier eine Zweitwohnung Avatar von hego
    Registriert seit
    06.04.2007
    Ort
    Hamburg
    Alter
    48
    Beiträge
    1.447
    Bedankte sich
    16
    Erhielt 308 Danksagungen
    in 302 Beiträgen

    Standard

    Moin, Moin,

    ein Link zur Seite wäre besser. Und schau mal in die COPYRIGHT.php
    Falls du die Seite gerade neu aufbaust wäre es besser gleich mit 1.5 anzufangen.
    Gruß Hego

    Die erste Stufe der Dummheit ist das Gefühl der Genialität.
    Ein Danke geht immer! Klick www.hengornet.de

  6. #6
    Kommt häufiger vorbei
    Registriert seit
    29.11.2007
    Beiträge
    440
    Bedankte sich
    3
    Erhielt 91 Danksagungen
    in 90 Beiträgen

    Standard

    Zitat Zitat von willyneuhaus Beitrag anzeigen
    index.php im Template-Directory
    Lesen solltest du meinen Post allerdings schon!

    Willy
    Bitte gelöste Themen auch so markieren! Vor jedem neuen Thread unbedingt hier klicken.
    Meine Seite

  7. Erhielt Danksagungen von:


  8. #7
    Neu an Board
    Registriert seit
    25.08.2009
    Beiträge
    18
    Bedankte sich
    6
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Zitat Zitat von hego Beitrag anzeigen
    Moin, Moin,

    ein Link zur Seite wäre besser. Und schau mal in die COPYRIGHT.php
    Falls du die Seite gerade neu aufbaust wäre es besser gleich mit 1.5 anzufangen.
    Habe dir eine pn geschickt hego

  9. #8
    Neu an Board
    Registriert seit
    25.08.2009
    Beiträge
    18
    Bedankte sich
    6
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Zitat Zitat von willyneuhaus Beitrag anzeigen
    Lesen solltest du meinen Post allerdings schon!

    Willy
    oops, sry hab mich im Ordner vertan.
    Hier die richtige index.php

    <?php
    defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!--
    author: raduga http://mambasana****
    copyright: GNU/GPL
    -->
    <head>
    <?php mosShowHead(); ?>
    <?php if ( $my->id ) {initEditor();} ?>
    <meta **********="Content-Type" content="text/html;><?php echo _ISO; ?>" />

    <?php
    $myway = $GLOBALS['mosConfig_live_site']."/templates/".$mainframe->getTemplate();
    require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/splitcssmenu.php");
    echo "<link rel=\"stylesheet\" href=\"$myway/css/template_css.css\" type=\"text/css\"/>" ;
    echo "<link rel=\"shortcut icon\" href=\"$myway/favicon.ico\" />" ;?>

    </head>

    <body id="body">

    <div id="logo">

    <?php switch ($option){
    case "com_frontpage":
    echo '<div id="top_bar_home"><img border="0" src="'.$myway.'/images/space.gif" alt="" width="96" height="50" usemap="#Map2" />';
    break;
    default:
    echo '<div id="top_bar"><img border="0" src="'.$myway.'/images/space.gif" alt="" width="96" height="50" usemap="#Map" />';
    break;}?>

    </div></div>


    <div align="center" ><?php echo $mycssONLY_PRI_menu ?></div>

    <div id="clear"></div>

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="centertb">
    <tr>

    <?php if (mosCountModules('left')) { ?>
    <td valign="top" class="leftcol">
    <div>
    <?php mosLoadModules ( 'left',-3 ); ?>
    </div>
    </td>

    <?php } ?>

    <td valign="top" width="100%" id="contenttb">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">

    <?php if (mosCountModules('top')) { ?>
    <tr valign="top" >
    <td colspan="3" align="center" class="contentmod">
    <div>
    <?php mosLoadModules ( 'top'); ?>
    </div>
    </td>
    </tr>
    <tr><td colspan="3"></td></tr>
    <?php } ?>

    <?php if (mosCountModules( "user1" )>0 or mosCountModules( "user2" )>0) { ?>
    <tr>
    <?php if (mosCountModules('user1')) { ?>
    <td valign="top" class="contentmod">
    <div>
    <?php mosLoadModules ( 'user1' ); ?>
    </div>
    </td>
    <?php } ?>

    <?php if (mosCountModules( "user1" )>0 && mosCountModules( "user2" )>0) { ?>

    <td><div class="mod"></div></td>
    <?php } ?>

    <?php if (mosCountModules('user2')) { ?>
    <td valign="top" class="contentmod">
    <div>
    <?php mosLoadModules ( 'user2' ); ?>
    </div></td>
    <?php } ?>
    </tr>

    <tr><td colspan="3"></td></tr>
    <?php } ?>
    <tr>
    <td colspan="3" class="pw" ><div><?php mosPathWay(); ?></div></td>
    </tr>

    <tr align="left" valign="top">
    <td colspan="3" style="padding: 5px 0;">
    <div class="main">
    <?php mosMainBody(); ?>
    </div>
    </td>
    </tr>

    <?php if (mosCountModules('bottom')) { ?>
    <tr>
    <td colspan="3" valign="top" style="padding-top: 3px;text-align: left;">

    <div>
    <?php mosLoadModules ( 'bottom' ); ?>
    </div>
    </td>
    </tr>
    <?php } ?>

    </table>
    </td>

    <?php if (mosCountModules('right')) { ?>
    <td valign="top" class="rightcol">
    <div>
    <?php mosLoadModules ( 'right',-3 ); ?>
    </div>
    </td>
    <?php } ?>

    </tr>
    </table>

    <div class="foot">
    <div class="footer_left">
    <?php include_once ($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/footer.inc"); ?>
    </div>
    <div class="footer_right">
    <?php if (mosCountModules('user3')) { ?>
    <?php mosLoadModules ( 'user3',-1 ); ?><br /><br />
    <?php } ?>

    <?php if ($mosConfig_lang =='russian') {
    echo'
    <p>
    designed by <a href="http://mambasana****" title="øàáëîíû äëÿ mambo, joomla cms">raduga</a> | <a href="http://joomlaportal****" title="Joomla CMS íà ðóññêîì">joomlaportal</a>
    </p>';
    }
    else{
    echo'
    <p>
    designed by <a href="http://mambasana****" title="Templates for Mambo/Joomla">raduga</a> | <a href="http://joomlaportal****" title="Russian Joomla Community">joomlaportal</a>
    </p>';
    }
    ?>
    </div>
    </div>


    <map name="Map" id="Map">
    <area shape="rect" coords="-4,45,28,29" href="index.php" alt="home" />
    <area shape="rect" coords="37,45,71,29" href="index.php?option=com_contact&amp;Itemid=3" alt="contact" />
    <area shape="rect" coords="80,45,114,29" href="index.php?option=com_search&amp;Itemid=5" alt="search" />
    </map>
    <map name="Map2" id="Map2">
    <area shape="rect" coords="37,45,71,29" href="index.php?option=com_contact&amp;Itemid=3" alt="contact" />
    <area shape="rect" coords="80,45,114,29" href="index.php?option=com_search&amp;Itemid=5" alt="search" />
    </map>

    </body>
    </html>

  10. #9
    Kommt häufiger vorbei
    Registriert seit
    29.11.2007
    Beiträge
    440
    Bedankte sich
    3
    Erhielt 91 Danksagungen
    in 90 Beiträgen

    Standard

    @hego: dieses Template hat meines Wissens keine Copyright.php, da steht wirklich alles in der index.php. Deinen Hinweis wegen Joomla 1.5. unterstütze ich voll und ganz!

    Willy
    Bitte gelöste Themen auch so markieren! Vor jedem neuen Thread unbedingt hier klicken.
    Meine Seite

  11. #10
    Neu an Board
    Registriert seit
    25.08.2009
    Beiträge
    18
    Bedankte sich
    6
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Also das designed bei raduga / joomlaportal hab ich jetzt löschen können.

    Ja aber die Seite ist schon fast fertig in 1.0, deswegen denk ich wirds Probleme geben wenn ich jetzt auf 1.5 gehe oder nicht?

    Wie gesagt, jetzt muss ich nur noch das All Rights Reserved © 2009 http://
    The reprint of the information is possible only at presence
    the consent of the administrator of a site and the active reference to a source! ändern. Aber das ist nicht in der index.php

+ Antworten
Seite 1 von 2 1 2 LetzteLetzte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein