commit a09c7b0d76371c3c1cf6fb6a9cc20b63a808fc98
parent e8948f2f42c0f0a1014012ea7daf6f24bca646b9
Author: dankert <devnull@localhost>
Date: Tue, 23 Mar 2010 20:43:44 +0100
Editor-Fenster zum Bearbeiten eines Datei-Inhaltes auf volle Breite erweitern.
Diffstat:
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/themes/default/pages/html/file/editvalue.tpl.php b/themes/default/pages/html/file/editvalue.tpl.php
@@ -62,6 +62,7 @@
echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype) ?><?php $a3_width='93%';$a3_rowclasses='odd,even';$a3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
+ $icon=$actionName;
$row_classes = explode(',',$a3_rowclasses);
$row_class_idx = 999;
$column_classes = explode(',',$a3_columnclasses);
@@ -80,7 +81,7 @@
if (!@$conf['interface']['application_mode'] )
{
echo '<tr class="title"><td>';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ echo '<img src="'.$image_dir.'icon_'.$icon.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->isEditMode()) {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php }
@@ -88,7 +89,7 @@
?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ echo '<span class="path">'.langHtml($actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
$path = array();
foreach( $path as $pathElement)
@@ -200,7 +201,7 @@
<?php if (!empty($column_classes)) { ?>
class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>"
<?php } ?>
-><?php $a6_name='value';$a6_rows='35';$a6_cols='60';$a6_class='inputarea';$a6_default=''; ?><?php if ($this->isEditMode()) {
+><?php $a6_name='value';$a6_rows='40';$a6_cols='40';$a6_class='editor';$a6_default=''; ?><?php if ($this->isEditMode()) {
?><textarea class="<?php echo $a6_class ?>" name="<?php echo $a6_name ?>" rows="<?php echo $a6_rows ?>" cols="<?php echo $a6_cols ?>"><?php echo htmlentities(isset($$a6_name)?$$a6_name:$a6_default) ?></textarea><?php
} else {
?><span class="<?php echo $a6_class ?>"><?php echo isset($$a6_name)?$$a6_name:$a6_default ?></span><?php } ?><?php unset($a6_name,$a6_rows,$a6_cols,$a6_class,$a6_default) ?></td></tr><?php
diff --git a/themes/default/templates/file/editvalue.tpl.src.php b/themes/default/templates/file/editvalue.tpl.src.php
@@ -5,7 +5,7 @@ page
cell
text text:GLOBAL_VALUE
cell
- inputarea cols:60 rows:35 name:value
+ inputarea rows:40 name:value class:editor
row
cell class:act colspan:2
button type:ok