openrat-cms

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

commit c90333d53f19cc9bd9c5c32bb433ac42862794c8
parent c600a403e8c5feeb055d5f9976541d3b6ab44e11
Author: dankert <devnull@localhost>
Date:   Fri,  2 Jun 2006 21:49:06 +0200

Bearbeiten von Verkn?pfungen

Diffstat:
actionClasses/LinkAction.class.php | 9++++++---
actionClasses/LinkAction.ini.php | 4++--
language/de.ini.php | 5+++++
language/en.ini.php | 5+++++
themes/default/include/html/radio.inc.php | 4++--
themes/default/templates/link/edit.tpl.src.php | 17+++++++++++++++--
6 files changed, 35 insertions(+), 9 deletions(-)

diff --git a/actionClasses/LinkAction.class.php b/actionClasses/LinkAction.class.php @@ -20,7 +20,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ -// Revision 1.8 2006-01-29 17:18:58 dankert +// Revision 1.9 2006-06-02 19:49:06 dankert +// Bearbeiten von Verkn?pfungen +// +// Revision 1.8 2006/01/29 17:18:58 dankert // Steuerung der Aktionsklasse ?ber .ini-Datei, dazu umbenennen einzelner Methoden // // Revision 1.7 2006/01/23 23:10:45 dankert @@ -125,7 +128,7 @@ class LinkAction extends ObjectAction { $this->link->isLinkToObject = true; $this->link->isLinkToUrl = false; - $this->link->linkedObjectId = $this->getRequestVar('linkobjectid'); + $this->link->linkedObjectId = $this->getRequestVar('targetobjectid'); } else { @@ -168,7 +171,7 @@ class LinkAction extends ObjectAction // Typ der Verkn?pfung $this->setTemplateVar('type' ,$this->link->getType() ); - $this->setTemplateVar('act_linkobjectid',$this->link->linkedObjectId); + $this->setTemplateVar('targetobjectid',$this->link->linkedObjectId); $this->setTemplateVar('url' ,$this->link->url ); // Alle verlinkbaren Objekte anzeigen diff --git a/actionClasses/LinkAction.ini.php b/actionClasses/LinkAction.ini.php @@ -42,6 +42,6 @@ goto=rights goto=rights [menu] -edit=edit,remove -prop=showprop,prop,remove +edit=edit +prop=showprop,prop rights=rights,aclform \ No newline at end of file diff --git a/language/de.ini.php b/language/de.ini.php @@ -664,3 +664,7 @@ MENU_PAGE_PUB="Veröffentlichen" MENU_PAGE_PUB_DESC="Seite veröffentlichen" MENU_FOLDER_PUB="Veröffentlichen" MENU_FOLDER_PUB_DESC="Ordner veröffentlichen" +MENU_PROJECT_MAINTENANCE=Wartung +MENU_LINK_EDIT=Ziel bearbeiten +MENU_LINK_PROP=Eigenschaften +MENU_LINK_SHOWPROP=Anzeigen+ \ No newline at end of file diff --git a/language/en.ini.php b/language/en.ini.php @@ -665,3 +665,7 @@ USER_TEL = "Telephone" USER_USERNAME = Username USER_USERNAME_DESC = "With this name the user is logging in" USER_YOURPROFILE = "My settings" +MENU_PROJECT_MAINTENANCE=Maintenance +MENU_LINK_EDIT=Edit target +MENU_LINK_PROP=Properties +MENU_LINK_SHOWPROP=View+ \ No newline at end of file diff --git a/themes/default/include/html/radio.inc.php b/themes/default/include/html/radio.inc.php @@ -1,2 +1,2 @@ <?php -?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $$attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> />- \ No newline at end of file +?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr_value ?>" <?php if( $attr_value == $$attr_name ) echo 'checked="checked"' ?> />+ \ No newline at end of file diff --git a/themes/default/templates/link/edit.tpl.src.php b/themes/default/templates/link/edit.tpl.src.php @@ -4,8 +4,21 @@ page row cell class:fx - text text:GLOBAL_name + radio name:type value:url cell class:fx - text var:name + text text:link_url + cell class:fx + input name:url + row + cell class:fx + radio name:type value:link + cell class:fx + text text:link_target + cell class:fx + selectbox list:objects name:targetobjectid + + row + cell colspan:3 class:act + button type:ok focus field:name