openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 36a8bb76d432ec88422cede21e70287accafe68a
parent bef5cf154b7b73ed7cd95870d7a7a987a56b1396
Author: dankert <devnull@localhost>
Date:   Sun,  8 Mar 2009 01:35:45 +0100

Unnötige Dateien entfernt.

Diffstat:
themes/default/templates/pageelement/editdatecalendar.tpl.src.php | 110-------------------------------------------------------------------------------
themes/default/templates/pageelement/editdateform.tpl.src.php | 47-----------------------------------------------
2 files changed, 0 insertions(+), 157 deletions(-)

diff --git a/themes/default/templates/pageelement/editdatecalendar.tpl.src.php b/themes/default/templates/pageelement/editdatecalendar.tpl.src.php @@ -1,110 +0,0 @@ -page - form - window name:element - row - cell colspan:2 class:help - text var:desc -RAW -<tr> - <th colspan="7"><?php echo $name ?> (<?php echo $title ?>)</th> -</tr> - -<?php - - echo '<tr>'; - for ( $wday=0; $wday<=6; $wday++ ) - { - echo '<td class="help">'.lang('DATE_WEEKDAY'.$wday).'</th>'; - } - echo '</tr>'; - - $d = 0; - $begin = false; - do - { - echo '<tr>'; - for ( $wday=0; $wday<=6; $wday++ ) - { - - if (!$begin) - { - if ($wday == $first_weekday) - { - $begin = true; - } - } - - if ($begin && $d < $days ) - { - echo '<td class="f1">'; - - $d++; - if ($d == $day) - echo "<strong>$d</strong>"; - else echo '<a href="'.Html::url('pageelement','edit','-',array('year'=>$year,'month'=>$month,'day'=>$d,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.$d.'</a>'; - echo '</td>'; - } - else echo '<td></td'; - } - echo '</tr>'; - } - while( $d < $days-1 ) -?> - - - -<tr> -<?php - $lastyear = $year-1; - echo '<td colspan="3"><a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$month,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_LAST_YEAR').'</a>&nbsp;&laquo;&nbsp;'; - - $lastyear = $year; - $lastmonth = $month - 1; - - if ( $lastmonth == 0 ) - { - $lastyear--; - $lastmonth = 12; - } - echo '&nbsp;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$lastmonth,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_LAST_MONTH').'</a>&nbsp;&laquo;&nbsp;</td>'; - - // Link auf heutiges Datum - echo '<td style="text-align:center"><a href="'.$todayurl.'">'.lang('DATE_TODAY').'</a></td>'; - - $nextyear = $year; - $nextmonth = $month + 1; - - if ( $nextmonth == 13 ) - { - $nextyear++; - $nextmonth = 1; - } - echo '<td colspan="3" style="text-align:right">&raquo;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$nextmonth,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_NEXT_MONTH').'</a>'; - - $nextyear = $year+1; - echo '&nbsp;&nbsp;&raquo;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$nextyear,'month'=>$month,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_NEXT_YEAR').'</a></td>'; -?> - -</tr> -END - - if present:release - row - cell colspan:2 class:fx - checkbox name:release - text raw:_ - text text:GLOBAL_RELEASE - - if present:publish - row - cell colspan:2 class:fx - checkbox name:publish - text raw:_ - text text:PAGE_PUBLISH_AFTER_SAVE - - row - cell colspan:2 class:act - button type:ok - - focus field:text - diff --git a/themes/default/templates/pageelement/editdateform.tpl.src.php b/themes/default/templates/pageelement/editdateform.tpl.src.php @@ -1,47 +0,0 @@ -page - form - window name:element - row - cell colspan:2 class:help - text var:desc - - row - cell class:fx - text text:date - cell class:fx - selectbox name:year list:all_years - text raw:_-_ - selectbox name:month list:all_months - text raw:_-_ - selectbox name:day list:all_days - - row - cell class:fx - text text:date_time - cell class:fx - selectbox name:hour list:all_hours - text raw:_:_ - selectbox name:minute list:all_minutes - text raw:_:_ - selectbox name:second list:all_seconds - - if present:release - row - cell colspan:2 class:fx - checkbox name:release - text raw:_ - text text:GLOBAL_RELEASE - - if present:publish - row - cell colspan:2 class:fx - checkbox name:publish - text raw:_ - text text:PAGE_PUBLISH_AFTER_SAVE - - row - cell colspan:2 class:act - button type:ok - - focus field:text -