Changeset 17714
- Timestamp:
- 09/26/08 11:21:33 (2 months ago)
- Files:
-
- trunk/midcom/fi.hut.loginbroker/callbacks/prototypes.php (modified) (1 diff)
- trunk/midcom/fi.hut.loginbroker/handler/index.php (modified) (1 diff)
- trunk/midcom/net.nemein.feedcollector/style/manage-topic-item.php (modified) (1 diff)
- trunk/midcom/net.nemein.feedcollector/viewer.php (modified) (1 diff)
- trunk/midcom/net.nemein.personnel/admin.php (modified) (4 diffs)
- trunk/midcom/net.nemein.personnel/handler/account.php (modified) (1 diff)
- trunk/midcom/net.nemein.personnel/handler/admin.php (modified) (7 diffs)
- trunk/midcom/net.nemein.personnel/handler/view.php (modified) (6 diffs)
- trunk/midcom/net.nemein.personnel/midcom/interfaces.php (modified) (1 diff)
- trunk/midcom/net.nemein.personnel/style/index-alpha-bar.php (modified) (2 diffs)
- trunk/midcom/net.nemein.personnel/viewer.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/fi.hut.loginbroker/callbacks/prototypes.php
r17556 r17714 11 11 * 12 12 * The midcom_baseclasses_components_purecode class defines a bunch of helper vars 13 * See: http://www.midgard-project.org/api-docs/midcom/dev/midcom.baseclasses/midcom_baseclasses_components_purecode .html13 * See: http://www.midgard-project.org/api-docs/midcom/dev/midcom.baseclasses/midcom_baseclasses_components_purecode/ 14 14 * 15 15 * @package fi.hut.loginbroker trunk/midcom/fi.hut.loginbroker/handler/index.php
r17555 r17714 11 11 * 12 12 * The midcom_baseclasses_components_handler class defines a bunch of helper vars 13 * See: http://www.midgard-project.org/api-docs/midcom/dev/midcom.baseclasses/midcom_baseclasses_components_handler .html13 * See: http://www.midgard-project.org/api-docs/midcom/dev/midcom.baseclasses/midcom_baseclasses_components_handler/ 14 14 * 15 15 * @package fi.hut.loginbroker trunk/midcom/net.nemein.feedcollector/style/manage-topic-item.php
r13949 r17714 37 37 <div class="net_nemein_feedcollector_management_topic"> 38 38 <div class="net_nemein_feedcollector_management_topic_buttons" style="float:right;"> 39 <a href="&(prefix);__ais/folder/metadata/&(feedtopic_guid); .html" title="<? echo $data['l10n']->get('edit metadata'); ?>" alt="<? echo $data['l10n']->get('edit metadata'); ?>"><img src="&(static_url);/stock-icons/16x16/metadata.png" alt="<? echo $data['l10n']->get('edit metadata'); ?>" border="0"></a>39 <a href="&(prefix);__ais/folder/metadata/&(feedtopic_guid);/" title="<? echo $data['l10n']->get('edit metadata'); ?>" alt="<? echo $data['l10n']->get('edit metadata'); ?>"><img src="&(static_url);/stock-icons/16x16/metadata.png" alt="<? echo $data['l10n']->get('edit metadata'); ?>" border="0"></a> 40 40 <a href="&(prefix);manage/edit/&(feedtopic_guid);" title="<? echo $data['l10n']->get('edit'); ?>" alt="<? echo $data['l10n']->get('edit'); ?>"><img src="&(static_url);/stock-icons/16x16/edit.png" alt="<? echo $data['l10n']->get('edit'); ?>" border="0"></a> 41 41 <a href="&(prefix);manage/delete/&(feedtopic_guid);" title="<? echo $data['l10n']->get('remove'); ?>" alt="<? echo $data['l10n']->get('remove'); ?>"><img src="&(static_url);/stock-icons/16x16/cancel.png" alt="<? echo $data['l10n']->get('remove'); ?>" border="0"></a> trunk/midcom/net.nemein.feedcollector/viewer.php
r17359 r17714 208 208 array 209 209 ( 210 MIDCOM_TOOLBAR_URL => 'config .html',210 MIDCOM_TOOLBAR_URL => 'config/', 211 211 MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('component configuration'), 212 212 MIDCOM_TOOLBAR_HELPTEXT => $this->_l10n_midcom->get('component configuration helptext'), trunk/midcom/net.nemein.personnel/admin.php
r17363 r17714 183 183 // Add the toolbar items 184 184 $this->_local_toolbar->add_item(Array( 185 MIDCOM_TOOLBAR_URL => "edit/{$id} .html",185 MIDCOM_TOOLBAR_URL => "edit/{$id}/", 186 186 MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('edit'), 187 187 MIDCOM_TOOLBAR_HELPTEXT => null, … … 213 213 { 214 214 $this->_owner = true; 215 $this->_local_toolbar->enable_item("edit/{$id} .html");215 $this->_local_toolbar->enable_item("edit/{$id}/"); 216 216 } 217 217 … … 229 229 230 230 $this->_topic_toolbar->disable_item(''); 231 $this->_local_toolbar->disable_item("edit/{$id} .html");231 $this->_local_toolbar->disable_item("edit/{$id}/"); 232 232 $this->_local_toolbar->disable_view_page(); 233 233 … … 247 247 case MIDCOM_DATAMGR_CANCELLED: 248 248 $_MIDCOM->relocate($_MIDCOM->get_context_data(MIDCOM_CONTEXT_ANCHORPREFIX) 249 . "view/{$id} .html");249 . "view/{$id}/"); 250 250 // This will exit() 251 251 trunk/midcom/net.nemein.personnel/handler/account.php
r17568 r17714 199 199 $tmp[] = array 200 200 ( 201 MIDCOM_NAV_URL => "{$this->_person->guid} .html",201 MIDCOM_NAV_URL => "{$this->_person->guid}/", 202 202 MIDCOM_NAV_NAME => $this->_person->name, 203 203 ); trunk/midcom/net.nemein.personnel/handler/admin.php
r17555 r17714 56 56 { 57 57 $this->_view_toolbar->add_item(Array( 58 MIDCOM_TOOLBAR_URL => "admin/edit/{$this->_person->guid} .html",58 MIDCOM_TOOLBAR_URL => "admin/edit/{$this->_person->guid}/", 59 59 MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('edit'), 60 60 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/edit.png', … … 64 64 { 65 65 $this->_view_toolbar->add_item(Array( 66 MIDCOM_TOOLBAR_URL => "admin/delete/{$this->_person->guid} .html",66 MIDCOM_TOOLBAR_URL => "admin/delete/{$this->_person->guid}/", 67 67 MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('delete'), 68 68 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/trash.png', … … 222 222 $tmp[] = Array 223 223 ( 224 MIDCOM_NAV_URL => "alpha/{$alpha_filter} .html",224 MIDCOM_NAV_URL => "alpha/{$alpha_filter}/", 225 225 MIDCOM_NAV_NAME => $alpha_filter, 226 226 ); … … 233 233 $tmp[] = Array 234 234 ( 235 MIDCOM_NAV_URL => "admin/edit/{$this->_person->guid} .html",235 MIDCOM_NAV_URL => "admin/edit/{$this->_person->guid}/", 236 236 MIDCOM_NAV_NAME => $this->_l10n_midcom->get('edit'), 237 237 ); … … 319 319 $tmp[] = Array 320 320 ( 321 MIDCOM_NAV_URL => "alpha/{$alpha_filter} .html",321 MIDCOM_NAV_URL => "alpha/{$alpha_filter}/", 322 322 MIDCOM_NAV_NAME => $alpha_filter, 323 323 ); … … 330 330 $tmp[] = Array 331 331 ( 332 MIDCOM_NAV_URL => "admin/delete/{$this->_person->guid} .html",332 MIDCOM_NAV_URL => "admin/delete/{$this->_person->guid}/", 333 333 MIDCOM_NAV_NAME => $this->_l10n_midcom->get('delete'), 334 334 ); … … 437 437 $tmp[] = Array 438 438 ( 439 MIDCOM_NAV_URL => 'admin/create .html',439 MIDCOM_NAV_URL => 'admin/create/', 440 440 MIDCOM_NAV_NAME => $this->_l10n->get('create person'), 441 441 ); trunk/midcom/net.nemein.personnel/handler/view.php
r17555 r17714 255 255 array 256 256 ( 257 MIDCOM_TOOLBAR_URL => "admin/edit/{$this->_person->guid} .html",257 MIDCOM_TOOLBAR_URL => "admin/edit/{$this->_person->guid}/", 258 258 MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('edit'), 259 259 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/edit.png', … … 268 268 array 269 269 ( 270 MIDCOM_TOOLBAR_URL => "admin/delete/{$this->_person->guid} .html",270 MIDCOM_TOOLBAR_URL => "admin/delete/{$this->_person->guid}/", 271 271 MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('delete'), 272 272 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/trash.png', … … 280 280 array 281 281 ( 282 MIDCOM_TOOLBAR_URL => "account/{$this->_person->guid} .html",282 MIDCOM_TOOLBAR_URL => "account/{$this->_person->guid}/", 283 283 MIDCOM_TOOLBAR_LABEL => $this->_l10n->get('user account'), 284 284 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/edit.png', … … 302 302 $tmp[] = array 303 303 ( 304 MIDCOM_NAV_URL => "alpha/{$this->_alpha_filter} .html",304 MIDCOM_NAV_URL => "alpha/{$this->_alpha_filter}/", 305 305 MIDCOM_NAV_NAME => $this->_alpha_filter, 306 306 ); … … 438 438 if (!$this->_config->get('group')) 439 439 { 440 $_MIDCOM->relocate($_MIDCOM->get_context_data(MIDCOM_CONTEXT_ANCHORPREFIX) . "config .html");440 $_MIDCOM->relocate($_MIDCOM->get_context_data(MIDCOM_CONTEXT_ANCHORPREFIX) . "config/"); 441 441 } 442 442 … … 472 472 $tmp[] = array 473 473 ( 474 MIDCOM_NAV_URL => "alpha/{$this->_alpha_filter} .html",474 MIDCOM_NAV_URL => "alpha/{$this->_alpha_filter}/", 475 475 MIDCOM_NAV_NAME => $this->_alpha_filter, 476 476 ); trunk/midcom/net.nemein.personnel/midcom/interfaces.php
r17446 r17714 107 107 if ($person->username) 108 108 { 109 return "{$person->username} .html";109 return "{$person->username}/"; 110 110 } 111 return "{$person->guid} .html";111 return "{$person->guid}/"; 112 112 } 113 113 } trunk/midcom/net.nemein.personnel/style/index-alpha-bar.php
r14773 r17714 10 10 <p> 11 11 <?php 12 //FIXME: Should probably handle scandinavian characters too ? 12 13 for ($char = 'A', $i = 0; $i < 26; $i++, $char++) 13 14 { … … 17 18 &(char); 18 19 <?php } else { ?> 19 <a href="&(prefix);&(char); .html">&(char);</a>20 <a href="&(prefix);&(char);/">&(char);</a> 20 21 <?php } } ?> 21 22 </p> trunk/midcom/net.nemein.personnel/viewer.php
r17446 r17714 269 269 array 270 270 ( 271 MIDCOM_TOOLBAR_URL => "admin/create .html",271 MIDCOM_TOOLBAR_URL => "admin/create/", 272 272 MIDCOM_TOOLBAR_LABEL => $this->_l10n->get('create person'), 273 273 MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/stock_person.png', … … 280 280 { 281 281 $this->_node_toolbar->add_item(array( 282 MIDCOM_TOOLBAR_URL => 'config .html',282 MIDCOM_TOOLBAR_URL => 'config/', 283 283 MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('component configuration'), 284 284 MIDCOM_TOOLBAR_HELPTEXT => $this->_l10n_midcom->get('component configuration helptext'), … … 289 289 290 290 /** 291 * Simple helper, gives the base URL for a person (either username .htmlor292 * guid .html, depending on the username).291 * Simple helper, gives the base URL for a person (either username/ or 292 * guid/, depending on the username). 293 293 * 294 294 * All 1 argument handlers are filtered here. … … 309 309 && $person->username != 'foaf.rdf') 310 310 { 311 return "{$prefix}{$person->username} .html";311 return "{$prefix}{$person->username}/"; 312 312 } 313 313 else 314 314 { 315 return "{$prefix}{$person->guid} .html";315 return "{$prefix}{$person->guid}/"; 316 316 } 317 317 }
