Changeset 3


Ignore:
Timestamp:
Mar 31, 2007, 1:43:26 PM (11 years ago)
Author:
julian
Message:

einige template anpassungen; db-struktur hinzugefuegt

Location:
trunk
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/Functions.class.php

    r2 r3  
    5757
    5858    public static function getSaltedHash($Value,$Salt) {
    59         return sha1(sha1($Value).$Salt);
     59        return hash('sha512',hash('sha512',$Value).$Salt);
    6060    }
    6161
  • trunk/modules/Register.class.php

    r2 r3  
    11<?php
     2
     3echo Functions::getSaltedHash('test','j5%qaeVLnV');
    24
    35class Register extends ModuleTemplate {
  • trunk/modules/Template.class.php

    r2 r3  
    2020
    2121    public function initializeMe() {
    22 
     22        $this->error_reporting = E_ALL;
    2323    }
    2424}
  • trunk/templates/std/templates/EditProfileMemo.tpl

    r2 r3  
    22<table class="TableStd" border="0" cellpadding="3" cellspacing="0" width="100%">
    33<tr><td class="CellCat"><span class="FontCat">{$Modules.Language->getString('Memo')}</span></td></tr>
    4 {if $MemoWasUpdated == TRUR}<tr><td class="CellInfoBox"><span class="FontInfoBox">{$Modules.Language->getString('message_memo_updated')}</span></td></tr>{/if}
     4{if $MemoWasUpdated == TRUE}<tr><td class="CellInfoBox"><span class="FontInfoBox">{$Modules.Language->getString('message_memo_updated')}</span></td></tr>{/if}
    55<tr><td class="CellStd">
    66 <div class="DivInfoBox"><span class="FontInfoBox"><img src="templates/std/templates/images/lightbulb_a.gif" style="vertical-align:middle; padding:5px;"/>{$Modules.Language->getString('memo_info')}</span></div>
  • trunk/templates/std/templates/ForumIndex.tpl

    r2 r3  
    6868  {if $curForum.CatID == $curCat.CatID}
    6969  <tr>
    70    <td class="CellAlt" align="center">{$akt_new_post_status}</td>
     70   <td class="CellAlt" align="center"></td>
    7171   <td class="CellStd" width="50%">
    7272    <table border="0" cellspacing="0" cellpadding="0">
  • trunk/templates/std/templates/PageHeader.tpl

    r2 r3  
    2020<tr><td>
    2121 <table style="width:100%; border-spacing:0px; border:1px #ACACAC solid;">
    22  <tr><td style="background-color:#c5e8f9; background-image:url(http://helios/bck.jpg);"><!--<span class="big">{$BoardBanner}</span>--><img src="http://helios/test.jpg"/></td></tr>
     22 <tr><td style="background-color:#c5e8f9; background-image:url(images/bck.jpg);"><!--<span class="big">{$BoardBanner}</span>--><img src="images/test.jpg"/></td></tr>
    2323  <tr><td align="center" style="background-color:#aec9d7; padding-bottom:4px;"><span class="FontSmall">
    2424  {if $Modules.Auth->isLoggedIn() == 1}
    25    <a href="{$IndexFile}?Action=EditProfile&amp;{$MySID}"><img src="myprofile.png" class="ImageButton" alt="{$Modules.Language->getString('My_profile')}" border="0"/></a>
    26    <a href="{$IndexFile}?Action=ViewHelp&amp;{$MySID}"><img src="help.png" class="ImageButton" alt="{$Modules.Language->getString('Help')}" border="0"/></a>
    27    <a href="{$IndexFile}?Action=PrivateMessages&amp;{$MySID}"><img src="pms.png" class="ImageButton" alt="{$Modules.Language->getString('Private_messages')}" border="0"/></a>
    28    <a href="{$IndexFile}?Action=Search&amp;{$MySID}"><img src="search.png" class="ImageButton" alt="{$Modules.Language->getString('Search')}" border="0"/></a>
    29    <a href="{$IndexFile}?Action=MemberList&amp;{$MySID}"><img src="memberlist.png" class="ImageButton" alt="{$Modules.Language->getString('Memberlist')}" border="0"/></a>
    30    <a href="{$IndexFile}?Action=WhoIsOnline&amp;{$MySID}"><img src="whoisonline.png" class="ImageButton" alt="{$Modules.Language->getString('Who_is_online')}" border="0"/></a>
    31    <a href="{$IndexFile}?Action=Logout&amp;{$MySID}"><img src="logout.png" class="ImageButton" alt="{$Modules.Language->getString('Logout')}" border="0"/></a>
     25   <a href="{$IndexFile}?Action=EditProfile&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/myprofile.png" class="ImageButton" alt="{$Modules.Language->getString('My_profile')}" border="0"/></a>
     26   <a href="{$IndexFile}?Action=ViewHelp&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/help.png" class="ImageButton" alt="{$Modules.Language->getString('Help')}" border="0"/></a>
     27   <a href="{$IndexFile}?Action=PrivateMessages&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/pms.png" class="ImageButton" alt="{$Modules.Language->getString('Private_messages')}" border="0"/></a>
     28   <a href="{$IndexFile}?Action=Search&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/search.png" class="ImageButton" alt="{$Modules.Language->getString('Search')}" border="0"/></a>
     29   <a href="{$IndexFile}?Action=MemberList&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/memberlist.png" class="ImageButton" alt="{$Modules.Language->getString('Memberlist')}" border="0"/></a>
     30   <a href="{$IndexFile}?Action=WhoIsOnline&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/whoisonline.png" class="ImageButton" alt="{$Modules.Language->getString('Who_is_online')}" border="0"/></a>
     31   <a href="{$IndexFile}?Action=Logout&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/logout.png" class="ImageButton" alt="{$Modules.Language->getString('Logout')}" border="0"/></a>
    3232  {else}
    33    <a href="{$IndexFile}?Action=Register&amp;{$MySID}"><img src="register.png" class="ImageButton" alt="{$Modules.Language->getString('Register')}" border="0"/></a>
    34    <a href="{$IndexFile}?Action=ViewHelp&amp;{$MySID}"><img src="help.png" class="ImageButton" alt="{$Modules.Language->getString('Help')}" border="0"/></a>
    35    <a href="{$IndexFile}?Action=Search&amp;{$MySID}"><img src="search.png" class="ImageButton" alt="{$Modules.Language->getString('Search')}" border="0"/></a>
    36    <a href="{$IndexFile}?Action=MemberList&amp;{$MySID}"><img src="memberlist.png" class="ImageButton" alt="{$Modules.Language->getString('Memberlist')}" border="0"/></a>
    37    <a href="{$IndexFile}?Action=WhoIsOnline&amp;{$MySID}"><img src="whoisonline.png" class="ImageButton" alt="{$Modules.Language->getString('Who_is_online')}" border="0"/></a>
    38    <a href="{$IndexFile}?Action=Login&amp;{$MySID}"><img src="login.png" class="ImageButton" alt="{$Modules.Language->getString('Login')}" border="0"/></a>
     33   <a href="{$IndexFile}?Action=Register&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/register.png" class="ImageButton" alt="{$Modules.Language->getString('Register')}" border="0"/></a>
     34   <a href="{$IndexFile}?Action=ViewHelp&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/help.png" class="ImageButton" alt="{$Modules.Language->getString('Help')}" border="0"/></a>
     35   <a href="{$IndexFile}?Action=Search&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/search.png" class="ImageButton" alt="{$Modules.Language->getString('Search')}" border="0"/></a>
     36   <a href="{$IndexFile}?Action=MemberList&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/memberlist.png" class="ImageButton" alt="{$Modules.Language->getString('Memberlist')}" border="0"/></a>
     37   <a href="{$IndexFile}?Action=WhoIsOnline&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/whoisonline.png" class="ImageButton" alt="{$Modules.Language->getString('Who_is_online')}" border="0"/></a>
     38   <a href="{$IndexFile}?Action=Login&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/login.png" class="ImageButton" alt="{$Modules.Language->getString('Login')}" border="0"/></a>
    3939  {/if}
    4040  </span></td></tr>
  • trunk/templates/std/templates/PageTail.tpl

    r2 r3  
    1 <table border="0" cellpadding="0" cellspacing="0" width="100%">
     1<!--<table border="0" cellpadding="0" cellspacing="0" width="100%">
    22<tr><td align="center"><span class="FontNorm">{$admin_link}</span></td></tr>
    3 </table>
     3</table>-->
    44<br/>
    55<div align="center">
  • trunk/templates/std/templates/ViewTopic.tpl

    r2 r3  
    6060     <table border="0" cellpadding="0" cellspacing="0">
    6161      <tr>
    62        {if $curPost.Show.DeleteButton}<td><a href="{$IndexFile}?Action=DeletePost&amp;PostID={$curPost.PostID}&amp;{$MySID}"><img src="delete.png" class="ImageButton" alt="" border="0"/></a></td>{/if}
    63        {if $curPost.Show.EditButton}<td><a href="javascript:toggleFastEdit('{$curPost.PostID}');"><img src="test.png" alt="" class="ImageButton" border="0"/></a></td>{/if}
    64        {if $curPost.Show.EditButton}<td><a href="{$IndexFile}?Action=Posting&amp;Mode=Edit&amp;PostID={$curPost.PostID}&amp;{$MySID}"><img src="test.png" class="ImageButton" alt="" border="0"/></a></td>{/if}
    65        {if $curPost.PostPosterHideEmail != 1 && $curPost.PostPosterEmail != ''}<td><a href="mailto:{$curPost.PostPosterEmail}"><img src="email.png" class="ImageButton" alt="{$curPost.PostPosterEmail}" border="0"/></a>{else}<td>{if $curPost.PostPosterReceiveEmails == 1}<a href="{$IndexFile}?Action=ViewProfile&amp;ProfileID={$curPost.UserID}&amp;mode=SendMail&amp;{$MySID}"><img src="{$Modules.Template->getTemplateDir()}/images/button_user_email.gif" alt="{$Modules.Language->getString('Send_email')}" border="0"/></a></td>{/if}{/if}
    66        <td><a href="{$IndexFile}?Action=Posting&amp;Mode=Reply&amp;TopicID={$TopicID}&amp;Quote={$curPost.PostID}&amp;{$MySID}"><img src="quote.png" class="ImageButton" alt="" border="0"/></a></td>
     62       {if $curPost.Show.DeleteButton}<td><a href="{$IndexFile}?Action=DeletePost&amp;PostID={$curPost.PostID}&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/delete.png" class="ImageButton" alt="" border="0"/></a></td>{/if}
     63       {if $curPost.Show.EditButton}<td><a href="javascript:toggleFastEdit('{$curPost.PostID}');"><img src="templates/std/templates/images/buttons/de/test.png" alt="" class="ImageButton" border="0"/></a></td>{/if}
     64       {if $curPost.Show.EditButton}<td><a href="{$IndexFile}?Action=Posting&amp;Mode=Edit&amp;PostID={$curPost.PostID}&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/test.png" class="ImageButton" alt="" border="0"/></a></td>{/if}
     65       {if $curPost.PostPosterHideEmail != 1 && $curPost.PostPosterEmail != ''}<td><a href="mailto:{$curPost.PostPosterEmail}"><img src="templates/std/templates/images/buttons/de/email.png" class="ImageButton" alt="{$curPost.PostPosterEmail}" border="0"/></a>{else}<td>{if $curPost.PostPosterReceiveEmails == 1}<a href="{$IndexFile}?Action=ViewProfile&amp;ProfileID={$curPost.UserID}&amp;mode=SendMail&amp;{$MySID}"><img src="{$Modules.Template->getTemplateDir()}/images/button_user_email.gif" alt="{$Modules.Language->getString('Send_email')}" border="0"/></a></td>{/if}{/if}
     66       <td><a href="{$IndexFile}?Action=Posting&amp;Mode=Reply&amp;TopicID={$TopicID}&amp;Quote={$curPost.PostID}&amp;{$MySID}"><img src="templates/std/templates/images/buttons/de/quote.png" class="ImageButton" alt="" border="0"/></a></td>
    6767      </tr>
    6868     </table>
Note: See TracChangeset for help on using the changeset viewer.