Author: ralfbecker
New Revision: 55824
URL: http://svn.stylite.de/viewvc/egroupware?rev=55824&view=rev
Log:
using new et2 site config
Added:
trunk/phpbrain/templates/default/config.xet (with props)
Removed:
trunk/phpbrain/templates/default/config.tpl
Modified:
trunk/phpbrain/inc/hook_admin.inc.php
trunk/phpbrain/inc/hook_sidebox_menu.inc.php
— trunk/phpbrain/inc/hook_admin.inc.php (original)
+++ trunk/phpbrain/inc/hook_admin.inc.php Mon Apr 25 12:53:23 2016
@@ -1,24 +1,23 @@
<?php
- /**************************************************************************\
- * eGroupWare - KnowledgeBase *
- * http://www.egroupware.org *
- * Written by Dave Hall [dave.hall at mbox.com.au] *
- * ------------------------------------------------------------------------ *
- * Started off as a port of phpBrain - http://vrotvrot.com/phpBrain/ *
- * but quickly became a full rewrite *
- * ------------------------------------------------------------------------ *
- * This program is free software; you can redistribute it and/or modify it *
- * under the terms of the GNU General Public License as published by the *
- * Free Software Foundation; either version 2 of the License, or (at your *
- * option) any later version. *
- \**************************************************************************/
+/**************************************************************************\
+* eGroupWare - KnowledgeBase *
+* http://www.egroupware.org *
+* Written by Dave Hall [dave.hall at mbox.com.au] *
+* ------------------------------------------------------------------------ *
+* Started off as a port of phpBrain - http://vrotvrot.com/phpBrain/ *
+* but quickly became a full rewrite *
+* ------------------------------------------------------------------------ *
+* This program is free software; you can redistribute it and/or modify it *
+* under the terms of the GNU General Public License as published by the *
+* Free Software Foundation; either version 2 of the License, or (at your *
+* option) any later version. *
+\**************************************************************************/
- {
- $file = array
- (
- 'Site Configuration' => $GLOBALS['egw']->link('/index.php','menuaction=admin.uiconfig.index&appname=' . $appname),
- 'Global Categories' => $GLOBALS['egw']->link('/index.php','menuaction=admin.admin_categories.index&appname=phpbrain')
- );
- display_section($appname,$file);
- }
-?>
+{
- $file = array
- (
-
'Site Configuration' => egw::link('/index.php','menuaction=admin.admin_config.index&appname=' . $appname.'&ajax=true'),
-
'Global Categories' => egw::link('/index.php','menuaction=admin.admin_categories.index&appname=phpbrain')
- );
- display_section($appname,$file);
+}
— trunk/phpbrain/inc/hook_sidebox_menu.inc.php (original)
+++ trunk/phpbrain/inc/hook_sidebox_menu.inc.php Mon Apr 25 12:53:23 2016
@@ -1,15 +1,15 @@
<?php
- /**************************************************************************\
- * eGroupWare - Knowledge Base *
- * http://www.egroupware.org *
- * ----------------------------------------------- *
- * This program is free software; you can redistribute it and/or modify it *
- * under the terms of the GNU General Public License as published by the *
- * Free Software Foundation; either version 2 of the License, or (at your *
- * option) any later version. *
- \**************************************************************************/
+/**************************************************************************\
+* eGroupWare - Knowledge Base *
+* http://www.egroupware.org *
+* ----------------------------------------------- *
+* This program is free software; you can redistribute it and/or modify it *
+* under the terms of the GNU General Public License as published by the *
+* Free Software Foundation; either version 2 of the License, or (at your *
+* option) any later version. *
+\**************************************************************************/
- /* $Id$ */
+/* $Id$ */
{
$menu_title = $GLOBALS['egw_info']['apps'][$appname]['title'] . ' '. lang('Menu');
$file=Array(
@@ -25,8 +25,8 @@
{
$menu_title = 'Administration';
$file = Array(
- 'Configuration' => $GLOBALS['egw']->link('/index.php','menuaction=admin.uiconfig.index&appname=phpbrain'),
- 'Global Categories' => $GLOBALS['egw']->link('/index.php','menuaction=admin.admin_categories.index&appname=phpbrain')
+ 'Site Configuration' => egw::link('/index.php','menuaction=admin.admin_config.index&appname=' . $appname.'&ajax=true'),
+ 'Global Categories' => egw::link('/index.php','menuaction=admin.admin_categories.index&appname=phpbrain')
);
display_sidebox($appname,$menu_title,$file);
}
Added: trunk/phpbrain/templates/default/config.xet
URL: http://svn.stylite.de/viewvc/egroupware/trunk/phpbrain/templates/default/config.xet?rev=55824&view=auto
==============================================================================
--- trunk/phpbrain/templates/default/config.xet (added)
+++ trunk/phpbrain/templates/default/config.xet Mon Apr 25 12:53:23 2016
@@ -1,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+
-
-
<grid width="100%" class="admin-config egwGridView_grid">
-
<columns>
-
<column width="60%"/>
-
<column/>
-
</columns>
-
<rows>
-
<row>
-
<description value="Publish articles automatically?"/>
-
<select id="newsettings[publish_articles]">
-
<option value="True">Yes</option>
-
<option value="False">Have to be approved first</option>
-
</select>
-
</row>
-
<row>
-
<description value="Allow the publishing of articles by the author? (effective only if the approval of articles is required)"/>
-
<select id="newsettings[publish_own_articles]">
-
<option value="False">No</option>
-
<option value="True">Yes</option>
-
</select>
-
</row>
-
<row>
-
<description value="Publish comments automatically?"/>
-
<select id="newsettings[publish_comments]">
-
<option value="True">Yes</option>
-
<option value="False">Have to be approved first</option>
-
</select>
-
</row>
-
<row>
-
<description value="Publish questions automatically?"/>
-
<select id="newsettings[publish_questions]">
-
<option value="True">Yes</option>
-
<option value="False">Have to be approved first</option>
-
</select>
-
</row>
-
<row>
-
<description value="Should the article view make an automatic table of contents?"/>
-
<select id="newsettings[show_toc]">
-
<option value="False">No</option>
-
<option value="True">Yes</option>
-
</select>
-
</row>
-
<row>
-
<description value="Name of the backlink to the index:"/>
-
<textbox id="newsettings[backlinkText]" size="40"/>
-
</row>
-
</rows>
-
</grid>
-
+
Propchange: trunk/phpbrain/templates/default/config.xet
svn:eol-style = native
Propchange: trunk/phpbrain/templates/default/config.xet
svn:keywords = Author Date Id Rev URL
Propchange: trunk/phpbrain/templates/default/config.xet
svn:mime-type = text/xml
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs