Revize 2200
Přidáno uživatelem David Raška před asi 11 roky(ů)
freenetis/branches/1.1/application/helpers/callback.php | ||
---|---|---|
*/
|
||
public static function axodoc($item, $name)
|
||
{
|
||
echo '<a href="http://192.168.1.62/axodoc/?axo='.urlencode($item->section_value).'/'.
|
||
echo '<a href="'.AXODOC_URL.'?axo='.urlencode($item->section_value).'/'.
|
||
$item->value.'" target="_blank" class="action_field_icon" title="'.
|
||
__('Show pages where is this AXO (access right) used.').'">'.
|
||
html::image(array
|
freenetis/branches/1.1/application/views/main.php | ||
---|---|---|
if ($this->acl_check_new('Acl_Controller', 'acl') ||
|
||
$this->acl_check_edit('Acl_Controller', 'acl'))
|
||
{
|
||
echo '<a href="http://192.168.1.62/axodoc/?controller='.urlencode(url::slice(url::current(), 1, 2)).'" class="action_field_icon" target="_blank">' . html::image(array
|
||
echo '<a href="'.AXODOC_URL.'?controller='.urlencode(url::slice(url::current(), 1, 2)).'" class="action_field_icon" target="_blank">' . html::image(array
|
||
(
|
||
'src' => 'media/images/layout/axodoc.png',
|
||
'alt' => __('Show AXO documentation (required access rights) for this page'),
|
freenetis/branches/1.1/index.php | ||
---|---|---|
// Mail to developers
|
||
define('DEVELOPER_EMAIL_ADDRESS', 'bugs@freenetis.org');
|
||
|
||
// URL to AXO documentation web application
|
||
define('AXODOC_URL', 'http://axo.doc.freenetis.org/');
|
||
|
||
// If unit testing just initilize do not execute
|
||
if($unittest)
|
||
{
|
Také k dispozici: Unified diff
Opravy:
- Oprava URL k AXO doc, nyni je definovana v index.php jako AXODOC_URL