diff --git a/modules/websubmit/doc/admin/Makefile.am b/modules/websubmit/doc/admin/Makefile.am index 1454b18bd..d5771f3ee 100644 --- a/modules/websubmit/doc/admin/Makefile.am +++ b/modules/websubmit/doc/admin/Makefile.am @@ -1,87 +1,87 @@ ## $Id$ ## This file is part of the CERN Document Server Software (CDSware). ## Copyright (C) 2002 CERN. ## ## The CDSware 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. ## ## The CDSware is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDSware; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. docdir = $(WEBDIR)/admin/websubmit/guide -doc_DATA=actionimplement.en.php actionimplement.fr.php actionimplement.de.php actionimplement.es.php actionimplement.pt.php actionimplement.it.php actionimplement.ru.php actionimplement.sk.php actionimplement.cz.php actionimplement.no.php \ - actionmodify.en.php actionmodify.fr.php actionmodify.de.php actionmodify.es.php actionmodify.pt.php actionmodify.it.php actionmodify.ru.php actionmodify.sk.php actionmodify.cz.php actionmodify.no.php \ - actionnew.en.php actionnew.fr.php actionnew.de.php actionnew.es.php actionnew.pt.php actionnew.it.php actionnew.ru.php actionnew.sk.php actionnew.cz.php actionnew.no.php \ - actionremove.en.php actionremove.fr.php actionremove.de.php actionremove.es.php actionremove.pt.php actionremove.it.php actionremove.ru.php actionremove.sk.php actionremove.cz.php actionremove.no.php \ - actions.en.php actions.fr.php actions.de.php actions.es.php actions.pt.php actions.it.php actions.ru.php actions.sk.php actions.cz.php actions.no.php \ - catalogues.en.php catalogues.fr.php catalogues.de.php catalogues.es.php catalogues.pt.php catalogues.it.php catalogues.ru.php catalogues.sk.php catalogues.cz.php catalogues.no.php \ - description.en.php description.fr.php description.de.php description.es.php description.pt.php description.it.php description.ru.php description.sk.php description.cz.php description.no.php \ - documentmodify.en.php documentmodify.fr.php documentmodify.de.php documentmodify.es.php documentmodify.pt.php documentmodify.it.php documentmodify.ru.php documentmodify.sk.php documentmodify.cz.php documentmodify.no.php \ - documentnew.en.php documentnew.fr.php documentnew.de.php documentnew.es.php documentnew.pt.php documentnew.it.php documentnew.ru.php documentnew.sk.php documentnew.cz.php documentnew.no.php \ - documentremove.en.php documentremove.fr.php documentremove.de.php documentremove.es.php documentremove.pt.php documentremove.it.php documentremove.ru.php documentremove.sk.php documentremove.cz.php documentremove.no.php \ - documents.en.php documents.fr.php documents.de.php documents.es.php documents.pt.php documents.it.php documents.ru.php documents.sk.php documents.cz.php documents.no.php \ - example.en.php example.fr.php example.de.php example.es.php example.pt.php example.it.php example.ru.php example.sk.php example.cz.php example.no.php \ - faq.en.php faq.fr.php faq.de.php faq.es.php faq.pt.php faq.it.php faq.ru.php faq.sk.php faq.cz.php faq.no.php \ - functiondelete.en.php functiondelete.fr.php functiondelete.de.php functiondelete.es.php functiondelete.pt.php functiondelete.it.php functiondelete.ru.php functiondelete.sk.php functiondelete.cz.php functiondelete.no.php \ - functiondescription.en.php functiondescription.fr.php functiondescription.de.php functiondescription.es.php functiondescription.pt.php functiondescription.it.php functiondescription.ru.php functiondescription.sk.php functiondescription.cz.php functiondescription.no.php \ - functionnew.en.php functionnew.fr.php functionnew.de.php functionnew.es.php functionnew.pt.php functionnew.it.php functionnew.ru.php functionnew.sk.php functionnew.cz.php functionnew.no.php \ - functions.en.php functions.fr.php functions.de.php functions.es.php functions.pt.php functions.it.php functions.ru.php functions.sk.php functions.cz.php functions.no.php \ - httpprotection.en.php httpprotection.fr.php httpprotection.de.php httpprotection.es.php httpprotection.pt.php httpprotection.it.php httpprotection.ru.php httpprotection.sk.php httpprotection.cz.php httpprotection.no.php \ - implementfunctions.en.php implementfunctions.fr.php implementfunctions.de.php implementfunctions.es.php implementfunctions.pt.php implementfunctions.it.php implementfunctions.ru.php implementfunctions.sk.php implementfunctions.cz.php implementfunctions.no.php \ - implementwebform.en.php implementwebform.fr.php implementwebform.de.php implementwebform.es.php implementwebform.pt.php implementwebform.it.php implementwebform.ru.php implementwebform.sk.php implementwebform.cz.php implementwebform.no.php \ - index.en.php index.fr.php index.de.php index.es.php index.pt.php index.it.php index.ru.php index.sk.php index.cz.php index.no.php \ - introduction.en.php introduction.fr.php introduction.de.php introduction.es.php introduction.pt.php introduction.it.php introduction.ru.php introduction.sk.php introduction.cz.php introduction.no.php \ - protection.en.php protection.fr.php protection.de.php protection.es.php protection.pt.php protection.it.php protection.ru.php protection.sk.php protection.cz.php protection.no.php \ - uploader.en.php uploader.fr.php uploader.de.php uploader.es.php uploader.pt.php uploader.it.php uploader.ru.php uploader.sk.php uploader.cz.php uploader.no.php +doc_DATA=actionimplement.en.html actionimplement.fr.html actionimplement.de.html actionimplement.es.html actionimplement.pt.html actionimplement.it.html actionimplement.ru.html actionimplement.sk.html actionimplement.cz.html actionimplement.no.html \ + actionmodify.en.html actionmodify.fr.html actionmodify.de.html actionmodify.es.html actionmodify.pt.html actionmodify.it.html actionmodify.ru.html actionmodify.sk.html actionmodify.cz.html actionmodify.no.html \ + actionnew.en.html actionnew.fr.html actionnew.de.html actionnew.es.html actionnew.pt.html actionnew.it.html actionnew.ru.html actionnew.sk.html actionnew.cz.html actionnew.no.html \ + actionremove.en.html actionremove.fr.html actionremove.de.html actionremove.es.html actionremove.pt.html actionremove.it.html actionremove.ru.html actionremove.sk.html actionremove.cz.html actionremove.no.html \ + actions.en.html actions.fr.html actions.de.html actions.es.html actions.pt.html actions.it.html actions.ru.html actions.sk.html actions.cz.html actions.no.html \ + catalogues.en.html catalogues.fr.html catalogues.de.html catalogues.es.html catalogues.pt.html catalogues.it.html catalogues.ru.html catalogues.sk.html catalogues.cz.html catalogues.no.html \ + description.en.html description.fr.html description.de.html description.es.html description.pt.html description.it.html description.ru.html description.sk.html description.cz.html description.no.html \ + documentmodify.en.html documentmodify.fr.html documentmodify.de.html documentmodify.es.html documentmodify.pt.html documentmodify.it.html documentmodify.ru.html documentmodify.sk.html documentmodify.cz.html documentmodify.no.html \ + documentnew.en.html documentnew.fr.html documentnew.de.html documentnew.es.html documentnew.pt.html documentnew.it.html documentnew.ru.html documentnew.sk.html documentnew.cz.html documentnew.no.html \ + documentremove.en.html documentremove.fr.html documentremove.de.html documentremove.es.html documentremove.pt.html documentremove.it.html documentremove.ru.html documentremove.sk.html documentremove.cz.html documentremove.no.html \ + documents.en.html documents.fr.html documents.de.html documents.es.html documents.pt.html documents.it.html documents.ru.html documents.sk.html documents.cz.html documents.no.html \ + example.en.html example.fr.html example.de.html example.es.html example.pt.html example.it.html example.ru.html example.sk.html example.cz.html example.no.html \ + faq.en.html faq.fr.html faq.de.html faq.es.html faq.pt.html faq.it.html faq.ru.html faq.sk.html faq.cz.html faq.no.html \ + functiondelete.en.html functiondelete.fr.html functiondelete.de.html functiondelete.es.html functiondelete.pt.html functiondelete.it.html functiondelete.ru.html functiondelete.sk.html functiondelete.cz.html functiondelete.no.html \ + functionedit.en.html functionedit.fr.html functionedit.de.html functionedit.es.html functionedit.pt.html functionedit.it.html functionedit.ru.html functionedit.sk.html functionedit.cz.html functionedit.no.html \ + functiondescription.en.html functiondescription.fr.html functiondescription.de.html functiondescription.es.html functiondescription.pt.html functiondescription.it.html functiondescription.ru.html functiondescription.sk.html functiondescription.cz.html functiondescription.no.html \ + functionnew.en.html functionnew.fr.html functionnew.de.html functionnew.es.html functionnew.pt.html functionnew.it.html functionnew.ru.html functionnew.sk.html functionnew.cz.html functionnew.no.html \ + functions.en.html functions.fr.html functions.de.html functions.es.html functions.pt.html functions.it.html functions.ru.html functions.sk.html functions.cz.html functions.no.html \ + implementfunctions.en.html implementfunctions.fr.html implementfunctions.de.html implementfunctions.es.html implementfunctions.pt.html implementfunctions.it.html implementfunctions.ru.html implementfunctions.sk.html implementfunctions.cz.html implementfunctions.no.html \ + implementwebform.en.html implementwebform.fr.html implementwebform.de.html implementwebform.es.html implementwebform.pt.html implementwebform.it.html implementwebform.ru.html implementwebform.sk.html implementwebform.cz.html implementwebform.no.html \ + index.en.html index.fr.html index.de.html index.es.html index.pt.html index.it.html index.ru.html index.sk.html index.cz.html index.no.html \ + protection.en.html protection.fr.html protection.de.html protection.es.html protection.pt.html protection.it.html protection.ru.html protection.sk.html protection.cz.html protection.no.html \ + bibconvert.en.html bibconvert.fr.html bibconvert.de.html bibconvert.es.html bibconvert.pt.html bibconvert.it.html bibconvert.ru.html bibconvert.sk.html bibconvert.cz.html bibconvert.no.html \ + introduction.en.html introduction.fr.html introduction.de.html introduction.es.html introduction.pt.html introduction.it.html introduction.ru.html introduction.sk.html introduction.cz.html introduction.no.html EXTRA_DIST = $(wildcard *.wml) -CLEANFILES = $(doc_DATA) *~ *.tmp +CLEANFILES = $(doc_DATA) *~ *.tmp *.php -%.en.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.fr.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml - $(WML) -o\(ALL-LANG_*\)+LANG_EN:$@ $< + $(WML) -o\(ALL-LANG_*\)+LANG_FR:$@ $< -%.fr.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.en.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml - $(WML) -o\(ALL-LANG_*\)+LANG_FR:$@ $< + $(WML) -o\(ALL-LANG_*\)+LANG_EN:$@ $< -%.de.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.de.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml $(WML) -o\(ALL-LANG_*\)+LANG_DE:$@ $< -%.es.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.es.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml $(WML) -o\(ALL-LANG_*\)+LANG_ES:$@ $< -%.pt.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.pt.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml $(WML) -o\(ALL-LANG_*\)+LANG_PT:$@ $< -%.it.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.it.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml $(WML) -o\(ALL-LANG_*\)+LANG_IT:$@ $< -%.ru.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.ru.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml $(WML) -o\(ALL-LANG_*\)+LANG_RU:$@ $< -%.sk.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.sk.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml $(WML) -o\(ALL-LANG_*\)+LANG_SK:$@ $< -%.cz.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.cz.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml $(WML) -o\(ALL-LANG_*\)+LANG_CZ:$@ $< -%.no.php: %.php.wml ../../../../config/config.wml ../../../../config/configbis.wml \ +%.no.html: %.html.wml ../../../../config/config.wml ../../../../config/configbis.wml \ ../../../../config/messages.wml $(WML) -o\(ALL-LANG_*\)+LANG_NO:$@ $< \ No newline at end of file diff --git a/modules/websubmit/doc/admin/actionimplement.html.wml b/modules/websubmit/doc/admin/actionimplement.html.wml new file mode 100644 index 000000000..dc94a99c9 --- /dev/null +++ b/modules/websubmit/doc/admin/actionimplement.html.wml @@ -0,0 +1,94 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Implement an action over a document type" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

What is it?

+
+  Implement an action over a document type. Create the web forms + and the treatment process. +
+ +

How to get there?

+
+  From the main page of the manager, click on the title of the + relevant document type.
Then click on the "Add a New Submission" button. +
+ +

How to do this?

+
+  Just select the name of the action you want to implement. When you + select an action, the list of document which already implement this action appears. Then you can select from + this list the document from which you want to clone the implementation, or just choose "No Clone" if you want + to build this implementation from scratch.

+  After selecting the correct fields, click on the "Add Submission" + button.

+  You then go back to the document type manager page where you + can see that in the bottom array your newly implemented action appears (check the acronym in the first + column).

+

+
+  If you chose to clone the implementation from an existing one, + the web form as well as the functions list will already be defined. Else you will have to create them from scratch. +
+ + +

See also:

+
+
  • create and maintain the web form
    +
  • create and maintain the data treatment
    +
  • + diff --git a/modules/websubmit/doc/admin/actionimplement.php.wml b/modules/websubmit/doc/admin/actionimplement.php.wml deleted file mode 100644 index bca4b764a..000000000 --- a/modules/websubmit/doc/admin/actionimplement.php.wml +++ /dev/null @@ -1,94 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Implement an action over a document type" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - create and maintain the web form
    - create and maintain the data treatment
    -
    - diff --git a/modules/websubmit/doc/admin/actionmodify.html.wml b/modules/websubmit/doc/admin/actionmodify.html.wml new file mode 100644 index 000000000..20e7023f6 --- /dev/null +++ b/modules/websubmit/doc/admin/actionmodify.html.wml @@ -0,0 +1,57 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Modify an existing action" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    What is it?

    +
    +  This page is about how to modify the general data about an + action - for modifying the implementation of an action over a document type, see + implement an action over a type of document +
    + +

    How to get there?

    +
    +  Click on the "View Actions" link in the right menu of the websubmit + admin, then on the title of the action you want to modify... +
    + +

    How to do this?

    +
    +  You may modify 3 fields:
    + +
    + + +

    See also:

    +
    +
  • remove an action
    +
  • create an action
    +
  • implement an action over a type of document
    +
  • + diff --git a/modules/websubmit/doc/admin/actionmodify.php.wml b/modules/websubmit/doc/admin/actionmodify.php.wml deleted file mode 100644 index b2f840160..000000000 --- a/modules/websubmit/doc/admin/actionmodify.php.wml +++ /dev/null @@ -1,69 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Modify an existing action" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - remove an action
    - create an action
    - implement an action over a type of document
    -
    - diff --git a/modules/websubmit/doc/admin/actionnew.html.wml b/modules/websubmit/doc/admin/actionnew.html.wml new file mode 100644 index 000000000..32e53b752 --- /dev/null +++ b/modules/websubmit/doc/admin/actionnew.html.wml @@ -0,0 +1,56 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Add a new action" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    How to get there?

    +
    +  Click on the "Available Actions" link in the websubmit right menu, + then on the "Add an Action" button. +
    +

    How to do this?

    +
    +  A new action is defined by 6 fields:

    + +
    + + +

    See also:

    +
    +
  • remove an action
    +
  • modify an action
    +
  • implement an action over a type of document
    +
  • + diff --git a/modules/websubmit/doc/admin/actionnew.php.wml b/modules/websubmit/doc/admin/actionnew.php.wml deleted file mode 100644 index c9a1f48e9..000000000 --- a/modules/websubmit/doc/admin/actionnew.php.wml +++ /dev/null @@ -1,72 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Add a new action" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - remove an action
    - modify an action
    - implement an action over a type of document
    -
    - diff --git a/modules/websubmit/doc/admin/actionremove.html.wml b/modules/websubmit/doc/admin/actionremove.html.wml new file mode 100644 index 000000000..62c3ee9fc --- /dev/null +++ b/modules/websubmit/doc/admin/actionremove.html.wml @@ -0,0 +1,43 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Remove an Action" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    What is it?

    +
    +  Removing the implementation of an action over a document type - + Please note the removal of the action itself is not allowed with this tool. +
    + +

    How to get there?

    +
    +  From the websubmit admin main page, click on the title of the + relevant document type. Then click on the red cross corresponding to the line of the action you want to remove. +
    + +

    See also:

    +
    +
  • create an action
    +
  • modify an action
    +
  • implement an action over a type of document
    +
  • + diff --git a/modules/websubmit/doc/admin/actionremove.php.wml b/modules/websubmit/doc/admin/actionremove.php.wml deleted file mode 100644 index 78eae41d2..000000000 --- a/modules/websubmit/doc/admin/actionremove.php.wml +++ /dev/null @@ -1,65 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Remove an Action" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - create an action
    - modify an action
    - implement an action over a type of document
    -
    - diff --git a/modules/websubmit/doc/admin/actions.html.wml b/modules/websubmit/doc/admin/actions.html.wml new file mode 100644 index 000000000..a61b6d931 --- /dev/null +++ b/modules/websubmit/doc/admin/actions.html.wml @@ -0,0 +1,45 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Actions" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +
    +  In webSubmit you can create several actions (for example + "Submit New Record", "Submit a New File", "Send to a Distribution List", etc. in fact any action you can imagine + to perform on a document stored in your database). The creation of an action is very simple and consists in + filling in a name, description and associating a directory to this action. The directory parameter indicates where + the collected data will be stored when the action is carried on.

    +  Once an action is created, you have to implement it over a document + type. Implementing an action means defining the web form which will be displayed to a user, and defining the + treatment (set of functions) applied to the data which have been gathered. The implementation of the same action + over two document types can be very different. The fields in the web form can be different as well as the functions + applied at the end of this action. +
    + +

    See also:

    +
    +
  • create a new action
    +
  • remove an action
    +
  • modify an action
    +
  • implement an action over a type of document
    +
  • + diff --git a/modules/websubmit/doc/admin/actions.php.wml b/modules/websubmit/doc/admin/actions.php.wml deleted file mode 100644 index c73425676..000000000 --- a/modules/websubmit/doc/admin/actions.php.wml +++ /dev/null @@ -1,52 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Actions" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    -
    -
    - -
    -
    - - See also:
    -
    - create a new action
    - remove an action
    - modify an action
    - implement an action over a type of document
    -
    - diff --git a/modules/websubmit/doc/admin/bibconvert.html.wml b/modules/websubmit/doc/admin/bibconvert.html.wml new file mode 100644 index 000000000..c2d1a3a6c --- /dev/null +++ b/modules/websubmit/doc/admin/bibconvert.html.wml @@ -0,0 +1,40 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="BibConvert" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    What is it?

    +
    +  WebSubmit stores the data gathered during a submission in a + directory. In this directory each file corresponds to a field saved during the submission.
    +  BibConvert is used to create a formatted file which will be easy to + upload in the bibliographical database from this directory.
    +  This bibConvert program is called from the + Make_Record and + Make_Modify_Record functions + from the end script system of webSubmit.
    +  The bibConvert configuration files used by webSubmit are in the + /bibconvert/config directory.

    +  For more info about bibconvert, please see the dedicated + guide. +
    + diff --git a/modules/websubmit/doc/admin/catalogues.html.wml b/modules/websubmit/doc/admin/catalogues.html.wml new file mode 100644 index 000000000..c67e969b6 --- /dev/null +++ b/modules/websubmit/doc/admin/catalogues.html.wml @@ -0,0 +1,65 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Catalogues organisation" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    What is it?

    +
    +  This feature allows you to organise the way webSubmit main page + will look like. You will be able to group document types inside catalogues and order the catalogues the way you + wish. +
    + +

    How to get there?

    +
    +  Click on the "Organisation" link in the websubmit admin right menu. +
    + +

    How to do this?

    +
    +  Once on the "Edit Catalogues page", you will find the currently + defined organisation chart in the middle of the page. To the right, one form allows you to create a new catalogue + ("Add a Catalogue") and one to add a document type to an existing catalogue ("Add a document type"). +
     
    + +
    + + +

    See also:

    +
    +
  • Create a New Document Type
    +
  • document types
    +
  • + diff --git a/modules/websubmit/doc/admin/catalogues.php.wml b/modules/websubmit/doc/admin/catalogues.php.wml deleted file mode 100644 index 36dbeeec1..000000000 --- a/modules/websubmit/doc/admin/catalogues.php.wml +++ /dev/null @@ -1,71 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Catalogues organisation" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - Create a New Document Type
    - document types
    -
    - diff --git a/modules/websubmit/doc/admin/description.html.wml b/modules/websubmit/doc/admin/description.html.wml new file mode 100644 index 000000000..f9ffb8df9 --- /dev/null +++ b/modules/websubmit/doc/admin/description.html.wml @@ -0,0 +1,66 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Interface Description" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + + + + + + + + + + + + +

    Welcome to webSubmit Management tool:

    +
    +
    + + +

    See also:

    +
    + interface description
    + actions
    + document types
    +
    + diff --git a/modules/websubmit/doc/admin/description.php.wml b/modules/websubmit/doc/admin/description.php.wml deleted file mode 100644 index 2cf5d4232..000000000 --- a/modules/websubmit/doc/admin/description.php.wml +++ /dev/null @@ -1,86 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Description" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - Welcome to webSubmit Management tool:
    -
    - -
    -
    - Document Types List:
    -
    - -
    - Left panel:
    -
    - -
    - - - See also: -
    - interface description
    - actions
    - document types
    -
    - diff --git a/modules/websubmit/doc/admin/documentmodify.html.wml b/modules/websubmit/doc/admin/documentmodify.html.wml new file mode 100644 index 000000000..24bd26cc7 --- /dev/null +++ b/modules/websubmit/doc/admin/documentmodify.html.wml @@ -0,0 +1,54 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Modify an existing type of document" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    What is it?

    +
    +  Modifying a document type in webSubmit - this will modify its + general data description, not the implementations of + the actions on this document type. For the later, please see + implement an action over a type of document. +
    +

    How to get there?

    +
    +  From the main page of the manager, click on the title of the + document type you want to modify, then click on the "Edit Document Type Details". +
    +

    How to do this?

    +
    +  Once here, you can modify 2 fields:
    +
  • Document Type Name: This is the full name of your new document. This is the text which will appear + on the list of available documents and catalogues on webSubmit main page. +
  • Document Type Description: This is the text which will appear on the right of the screen when the user + moves the mouse over the document type title and on the document type submission page. This can be pure + text or html. +
  • + + +

    See also:

    +
    +
  • remove a type of document
    +
  • create a type of document
    +
  • implement an action over a type of document
    +
  • + diff --git a/modules/websubmit/doc/admin/documentmodify.php.wml b/modules/websubmit/doc/admin/documentmodify.php.wml deleted file mode 100644 index d23398e31..000000000 --- a/modules/websubmit/doc/admin/documentmodify.php.wml +++ /dev/null @@ -1,69 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Modify an existing type of document" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - remove a type of document
    - create a type of document
    - implement an action over a type of document
    -
    - diff --git a/modules/websubmit/doc/admin/documentnew.html.wml b/modules/websubmit/doc/admin/documentnew.html.wml new file mode 100644 index 000000000..cc7b8752b --- /dev/null +++ b/modules/websubmit/doc/admin/documentnew.html.wml @@ -0,0 +1,54 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Add a new type of document" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    How to get there?

    +
    +  Click on the "New Doctype" link in the webSubmit right menu. +
    +

    How to do this?

    +
    +  A new document type is defined by 6 fields:
    + +
    + + +

    See also:

    +
    +
  • remove a type of document
    +
  • modify a type of document
    +
  • implement an action over a type of document
    +
  • + diff --git a/modules/websubmit/doc/admin/documentnew.php.wml b/modules/websubmit/doc/admin/documentnew.php.wml deleted file mode 100644 index 10ddc4496..000000000 --- a/modules/websubmit/doc/admin/documentnew.php.wml +++ /dev/null @@ -1,71 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Add a new type of document" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - remove a type of document
    - modify a type of document
    - implement an action over a type of document
    -
    - diff --git a/modules/websubmit/doc/admin/protection.php.wml b/modules/websubmit/doc/admin/documentremove.html.wml similarity index 50% rename from modules/websubmit/doc/admin/protection.php.wml rename to modules/websubmit/doc/admin/documentremove.html.wml index eae386792..f73a09cad 100644 --- a/modules/websubmit/doc/admin/protection.php.wml +++ b/modules/websubmit/doc/admin/documentremove.html.wml @@ -1,48 +1,43 @@ ## $Id$ ## This file is part of the CERN Document Server Software (CDSware). ## Copyright (C) 2002 CERN. ## ## The CDSware 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. ## ## The CDSware is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDSware; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. #include "configbis.wml" #include "cdspage.wml" \ - title="Protection" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" + title="Remove a type of document" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" -How to get there? +
    +  Click on the "Remove Doctype" link in the + webSubmit admin right menu +
    +

    How to do this?

    +
    +  Select the document type to delete then click on the "Remove Doctype" button. Remember by doing this, you + will delete this document type as well as all the implementation of actions for this document type! +
    -## $Id$ -## DO NOT EDIT THIS FILE! IT WAS AUTOMATICALLY GENERATED FROM CDSware WML SOURCES. -?> - -
    - Description:
    -
    - -
    -
    - See also: -
    - http protection -
    +

    See also:

    +
    +
  • create a type of document
    +
  • modify a type of document
    +
  • implement an action over a type of document
    +
  • diff --git a/modules/websubmit/doc/admin/documentremove.php.wml b/modules/websubmit/doc/admin/documentremove.php.wml deleted file mode 100644 index 5ca8a93c4..000000000 --- a/modules/websubmit/doc/admin/documentremove.php.wml +++ /dev/null @@ -1,65 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Remove a type of document" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - create a type of document
    - modify a type of document
    - implement an action over a type of document
    -
    - diff --git a/modules/websubmit/doc/admin/documents.html.wml b/modules/websubmit/doc/admin/documents.html.wml new file mode 100644 index 000000000..7e1c0f582 --- /dev/null +++ b/modules/websubmit/doc/admin/documents.html.wml @@ -0,0 +1,59 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Document Types" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + + + + + + + + + + + + +
    + +
    + +

    See also:

    +
    + add a new type of document
    + remove a type of document
    + modify a type of document
    + implement an action over a type of document
    +
    + diff --git a/modules/websubmit/doc/admin/documents.php.wml b/modules/websubmit/doc/admin/documents.php.wml deleted file mode 100644 index b6ecaaae1..000000000 --- a/modules/websubmit/doc/admin/documents.php.wml +++ /dev/null @@ -1,50 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Types of documents" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - -
    -
    -
    - -
    -
    - - See also: -
    - add a new type of document
    - remove a type of document
    - modify a type of document
    - implement an action over a type of document
    -
    - diff --git a/modules/websubmit/doc/admin/example.html.wml b/modules/websubmit/doc/admin/example.html.wml new file mode 100644 index 000000000..6b36e2f69 --- /dev/null +++ b/modules/websubmit/doc/admin/example.html.wml @@ -0,0 +1,96 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Using the manager through an example" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + + + + + + + + + + + + +

    what is this?

    +
    + +
    + +

    The user reaches WebSubmit main page.

    + Main Page +  To add a document type to WebSubmit, you should go to the main page + and click on "New Doctype" in the left blue panel.

    +  Even once created, a document type will not appear automatically on this page. To configure the list of catalogues and document + types displayed on this page, the administrator shall go to the edit catalogues + page. (see the .html>guide section)
    + +

    The user can then click on the document type he is interested in.

    + Document type Page +  The text appearing under the header containing the name of the document + can be configured by going to the main page, click on + the title of the document type then on the "Edit Document Types Details" button.

    +  You can associate several categories to a document type which can be defined by going to the + main page, click on the title of the document type + then on the "View Categories" button. The selected category will be saved in a file named "comboXXX" + (where XXX is the short name of the document type) in the submission directory.

    +  To add an action button to this page, first implement this action by going to the + main page, click on the title of the document type then + on the "Add a new submission" button. If the action is already implemented and the button still does not appear + on the submision page, then you should edit the details of this implementation: go to the + main page, click on the title of the document type then + on the icon in the "Edit Submission" column and in the line of the desired action. There you should set the + "Displayed" form field to "YES".

    +  You can also change the order of the buttons, by going to the + main page, click on the title of the document type then on the icon in the "Edit Submission" column and in the + line of the desired action. There you can set the "buttonorder" form field.

    + +

    The user now may choose a category, then click on the action button he wishes.
    The submission starts, the first page of the web form appears.

    + Document type Page +  This web form is composed of several pages, on each of these + pages form fields can be found. To modify the number of pages, add or withdraw form fields and modify + the texts before each form field, you shall go to the main page, + click on the title of the document type then on the icon in the "Edit Submission Pages" column and in the line of the + desired action. (see the .html>guide section)
    + +

    On the last page of the submission, there should be a button like in the following image which will + trigger the end script

    + Document type End Page +  This button is defined like any other form field. Its definition should include + a onclick="finish();" javascript attribute.

    +  After clicking this button, WebSubmit will apply the end script functions + to the gathered data. To modify the end script, you shall go to the + main page, click on the title of the document type then on the icon in the "Edit Functions" column and in the line + of the desired action. (see the guide section)
    + + +

    See also:

    +
    + interface description
    + actions
    + document types
    +
    + diff --git a/modules/websubmit/doc/admin/example.php.wml b/modules/websubmit/doc/admin/example.php.wml deleted file mode 100644 index 4ad309cec..000000000 --- a/modules/websubmit/doc/admin/example.php.wml +++ /dev/null @@ -1,104 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Using the manager through an example" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - what is this?
    -
    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    -
  • The user reaches CDS Submit main page.

    - Main Page -
  • -
  • To add a document type to CDS Submit, you should go to the main page and click on "New Doctype" in the left blue panel.
      -
  • Even once created, a document type will not appear automatically on this page. To configure the list of catalogues and document types displayed on this page, the administrator shall go to the edit catalogues page. (see the .php>guide section)
      -
  • When the user moves the cursor over the title of one document type, a small descriptive text appears on the right of the screen. To change this text as well as the title of the document type, go to the main page, click on the title of the document type then on the "Edit Document Types Details" button. -

  •  
      -
    -
  • The user can then click on the document type he is interested in.

    - Document type Page -
  • -
  • The text appearing under the salmon horizontal header is the same as the one appearing on the mouseover (see above). It can also be configured by going to the main page, click on the title of the document type then on the "Edit Document Types Details" button.
      -
  • To a document type, you can associate several categories which can be defined by going to the main page, click on the title of the document type then on the "View Categories" button. In order to save the selected value, you must add a field to the first page of the submission form. This field will be a hidden field (for example "categ") which default value should be "<COMBO>". The result of this will be that the selected category will be saved in a file named "categ" in the submission directory.
      -
  • To add an action button to this page, first implement this action by going to the main page, click on the title of the document type then on the "Add a new submission" button. If the action is already implemented and the button still does not appear on the submision page, then you should edit the details of this implementation: go to the main page, click on the title of the document type then on the icon in the "Edit Submission" column and in the line of the desired action. There you should set the "Displayed" form field to "YES".
      -
  • You can also change the order of the buttons, by going to the main page, click on the title of the document type then on the icon in the "Edit Submission" column and in the line of the desired action. There you can set the "buttonorder" form field. -

  •  
      -
    -
  • The user now may choose a category, then click on the action button he wishes.
    The submission starts, the first page of the web form appears.

    - Document type Page -
  • -
  • This web form is composed of several pages, on each of these pages form fields can be found. To modify the number of pages, add or withdraw form fields and modify the texts before each form field, you shall go to the main page, click on the title of the document type then on the icon in the "Edit Submission Pages" column and in the line of the desired action. (see the .php>guide section)
      -

  •  
      -
    -
  • On the last page of the submission, there should be a button like in the following image which will trigger the end script

    - Document type End Page -
  • -
  • This button is defined like any other form field. Its definition should include a onclick="finish();" javascript attribute. -
  • After clicking this button, CDS Submit will apply the end script functions to the gathered data. To modify the ens script, you shall go to the main page, click on the title of the document type then on the icon in the "Edit Functions" column and in the line of the desired action. (see the .php>guide section)
      -
  • - - See also: -
    - interface description
    - actions
    - document types
    -
    - diff --git a/modules/websubmit/doc/admin/faq.html.wml b/modules/websubmit/doc/admin/faq.html.wml new file mode 100644 index 000000000..7502d07d7 --- /dev/null +++ b/modules/websubmit/doc/admin/faq.html.wml @@ -0,0 +1,75 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="WebSubmit Admin FAQ" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +  Q1. I'd like to be warned each time there is an error, or an important + action is made through the manager. Is this possible? +
    +  Q2. Where are all the files stored in this system? +
    +  Q3. How is the fulltext/media archive organised? +



    + + + +  Q1. I'd like to be warned each time there is an error, or an important + action is made through the manager. Is this possible? + +
    + Yes, it is. Edit the config.wml file in CDSware distribution, find the "ADMINEMAIL" definition and set it to your email + address. You will then receive all the warning emails issued by the manager. +
    + +  Q2. Where are all the files stored in this system? + +
    +
  • the counter files are here: . There are used by the + Report_Number_Generation + function. +
  • all running and completed submissions are stored here: . +
  • all the document files attached to records are stored here: . +
  • all python functions used by webSubmit are stored here: /python/cdsware/websubmit_functions +
  • + +  Q3. How is the documents archive organised? + +
    + First of all, the documents files attached to records are stored here: .

    + The Upload_Files webSubmit function is used + to link a document with a record.

    + All documents get an id from the system and are stored in the "bibdoc" table in the database. The link between a + document and a record is stored using the "bibdoc_bibrec" table.

    + The document id is used to determine where the files are stored. For example the files of document #14 will be + stored here: /g0/14

    + The subdirectory g0 is used to split the documents accross the filesystem. The CFG_FILE_DIR_SIZE variable from + config.wml determines how many documents will be stored under one subdirectory.

    + Several files may be stored under the same document directory: they are the different formats and versions of the + same document. Versions are indicated by a string of the form ";1.0" concatenated to the name of the file. +
    + + +

    See also:

    +
    + notes +
    + diff --git a/modules/websubmit/doc/admin/faq.php.wml b/modules/websubmit/doc/admin/faq.php.wml deleted file mode 100644 index 6aceb1ba8..000000000 --- a/modules/websubmit/doc/admin/faq.php.wml +++ /dev/null @@ -1,53 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="WebSubmit Admin FAQ" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - Q1. I'd like to be warned each time there is an error, or an important action is made through the manager. Is this possible?
    - - - -

    Q1. I'd like to be warned each time there is an error, or an important action is made through the manager. Is this possible? -

    -
    -
      - Yes, it is. Edit the config.wml file in CDSware distribution, find the "ADMINEMAIL" definition and set it to your email address. You will then receive all the warning emails issued by the manager. -
    -
    - - -
    - - See also:
    -
    - notes
    -
    - diff --git a/modules/websubmit/doc/admin/functiondelete.php.wml b/modules/websubmit/doc/admin/functiondelete.html.wml similarity index 59% rename from modules/websubmit/doc/admin/functiondelete.php.wml rename to modules/websubmit/doc/admin/functiondelete.html.wml index 6a7d4656d..2e160312a 100644 --- a/modules/websubmit/doc/admin/functiondelete.php.wml +++ b/modules/websubmit/doc/admin/functiondelete.html.wml @@ -1,48 +1,36 @@ ## $Id$ ## This file is part of the CERN Document Server Software (CDSware). ## Copyright (C) 2002 CERN. ## ## The CDSware 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. ## ## The CDSware is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with CDSware; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. #include "configbis.wml" #include "cdspage.wml" \ title="Remove a function" \ - navtrail_previous_links="
    /admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" -Note +
    +  There are currently no way of deleting a function through this + interface. Use the direct MySQL command line interface for this. +
    -## $Id$ -## DO NOT EDIT THIS FILE! IT WAS AUTOMATICALLY GENERATED FROM CDSware WML SOURCES. -?> - -
    - Note
    -
    - -
    - - See also: -
    - edit a function
    - create a function
    -
    +

    See also:

    +
    +
  • edit a function
    +
  • create a function
    +
  • diff --git a/modules/websubmit/doc/admin/functiondescription.html.wml b/modules/websubmit/doc/admin/functiondescription.html.wml new file mode 100644 index 000000000..8b6dfd850 --- /dev/null +++ b/modules/websubmit/doc/admin/functiondescription.html.wml @@ -0,0 +1,1040 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="All functions explained" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    Description:

    +
    +  This page lists and explains all the functions used in the demo + provided with CDSWare package. This list is not exhaustive since you can add any new function you need.
    +  Click on one function name to get its description.
    +  Please note in this page when we refer to [param] this means the + value of the parameter 'param' for a given document type.

    + + + + +
    + CaseEDS
    + Create_Modify_Interface
    + Create_Recid
    + Finish_Submission
    + Get_Info
    + Get_Report_Number
    + Get_Sysno
    + Get_TFU_Files
    + Insert_Modify_Record
    + Insert_Record
    +
    + Is_Original_Submitter
    + Is_Referee
    + Mail_Submitter
    + Make_Modify_Record
    + Make_Record
    + Move_From_Pending
    + Move_to_Done
    + Move_to_Pending
    + Print_Success
    + Print_Success_APP
    +
    + Print_Success_MBI
    + Print_Success_SRV
    + Report_Number_Generation
    + Send_Approval_Request
    + Send_APP_Mail
    + Send_Modify_Mail
    + Send_SRV_Mail
    + Test_Status
    + Update_Approval_DB
    + Upload_Files
    +
    +
    + +

    + + + + + + + + + + + + + + + + + + + + + + + +
    CaseEDS
    description
    + + This function may be used if the treatment to be done after a submission depends on a field entered by + the user. Typically this is used in an approval interface. If the referee approves then we do this. If he rejects, + then we do other thing.
    + More specifically, the function gets the value from the file named [casevariable] and compares it with the + values stored in [casevalues]. If a value matches, the function directly goes to the corresponding step stored + in [casesteps]. If no value is matched, it goes to step [casedefault]. +
    +
    parameters
    casevariable + This parameters contains the name of the file in which the function will get the chosen value.
    + Eg: "decision" +
    casevalues + Contains the list of recognized values to match with the chosen value. Should be a comma separated list of words.
    + Eg: "approve,reject" +
    casesteps + Contains the list of steps corresponding to the values matched in [casevalue]. It should be a comma + separated list of numbers
    + Eg: "2,3"
    + In this example, if the value stored in the file named "decision" is "approved", then the function launches + step 2 of this action. If it is "reject", then step 3 is launched. +
    casedefault + Contains the step number to go by default if no match is found.
    + Eg: "4"
    + In this example, if the value stored in the file named "decision" is not "approved" nor "reject", then + step 4 is launched. +
    + + +

    + + + + + + + + + + + +
    Create_Modify_Interface
    description
    + + To be used in the MBI-Modify Record action. + It displays a web form allowing the user to modify the fields he chose. The fields are prefilled with the existing + values extracted from the documents database. + This functions takes the values stored in the [fieldnameMBI] file. This file contains a list of field name separated + with "+" (it is usually generated from a multiple select form field). Then the function retrieves the corresponding + tag name (marc-21) stored in the element definition. Finally it displays the web form and fills it with the existing + values found in the documents database. + +
    parameters
    fieldnameMBI + Contains the name of the file in which the function will find the list of fields the user wants to modify. Depends + on the web form configuration. +
    + + + +

    + + + + + + + + + + +
    Create_Recid
    description
    + + This function retrieves a new record id from the records database. This record id will then be used to create the + XML record afterwards, or to link with the fulltext files. The created id is stored in a file named "SN". + +
    parameters
    none
    + + + + +

    + + + + + + + + + + +
    Finish_Submission
    description
    + + This function stops the data treatment process even if further steps exist. This is used for example in the + approval action. In the first step, the program determines whether the user approved or rejected the + document (see CaseEDS function description). Then depending on the result, it + executes step 2 or step 3. If it executes step 2, then it should continue with step 3 if nothing stopped it. The + Finish_Submission function plays this role. + +
    parameters
    none
    + + + + +

    + + + + + + + + + + + + + + + + + + + +
    Get_Info
    description
    + + This function tries to retrieve in the "pending" directory or directly in the documents database, some information + about the document: title, original submitter's email and author(s).
    + If found, this information is stored in 3 global variables: $emailvalue, $titlevalue, $authorvalue to be used + in other functions.
    + If not found, an error message is displayed. +
    +
    parameters
    authorFile + Name of the file in which the author may be found if the document has not yet been integrated (in this case + it is still in the "pending" directory). +
    emailFile + Name of the file in which the email of the original submitter may be found if the document has not yet been + integrated (in this case it is still in the "pending" directory). +
    titleFile + Name of the file in which the title may be found if the document has not yet been integrated (in this case it is + still in the "pending" directory). +
    + + + + +

    + + + + + + + + + + + +
    Get_Report_Number
    description
    + + This function gets the value contained in the [edsrn] file and stores it in the reference global variable. + +
    parameters
    edsrn + Name of the file which stores the reference.
    + This value depends on the web form configuration you did. It should contain the name of the form element used for storing the reference of the document. +
    + + + + + +

    + + + + + + + + + + +
    Get_Sysno
    description
    + + This functions searches for the document in the database and stores the system number of this document in the "SN" file and in a global variable.
    + "Get_Report_Number" should be called before. +
    +
    parameters
    none
    + + + +

    + + + + + + + + + + +
    Insert_Modify_Record
    description
    + + This function gets the output of bibconvert and uploads it into the MySQL bibliographical database. + +
    parameters
    none
    + + + +

    + + + + + + + + + + +
    Insert_Record
    description
    + + This function gets the output of bibFormat and uploads it into the MySQL bibliographical database. + +
    parameters
    none
    + + + + +

    + + + + + + + + + + +
    Is_Original_Submitter
    description
    + + If the authentication module (login) is active in webSubmit, this function compares the current login with the email of the original submitter. If it is the same (or if the current user has superuser rights), we go on. If it differs, an error message is issued. + +
    parameters
    none
    + + +

    + + + + + + + + + + +
    Is_Referee
    description
    + + This function checks whether the currently logged user is a referee for this document. + +
    parameters
    none
    + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Mail_Submitter
    description
    + + This function send an email to the submitter to warn him the document he has just submitted has been + correctly received. + +
    parameters
    authorfile + Name of the file containing the authors of the document
    +
    titleFile + Name of the file containing the title of the document
    +
    emailFile + Name of the file containing the email of the submitter of the document
    +
    status + Depending on the value of this parameter, the function adds an additional text to the email.
    + This parameter can be one of:
    + ADDED: The file has been integrated in the database.
    + APPROVAL: The file has been sent for approval to a referee.
    + or can stay empty. +
    edsrn + Name of the file containing the reference of the document
    +
    newrnin + Name of the file containing the 2nd reference of the document (if any)
    +
    + + + + +

    + + + + + + + + + + + + + + + +
    Make_Modify_Record
    description
    + + This function creates the record file formatted for a direct insertion in the documents database. It uses the + bibConvert tool.
    + The main difference between all the Make_..._Record functions are the parameters.
    + As its name says, this particular function should be used for the modification of a record. (MBI- Modify + Record action). +
    +
    parameters
    modifyTemplate + Name of bibconvert's configuration file used for creating the mysql record. +
    sourceTemplate + Name of bibconvert's source file. +
    + + + + + + +

    + + + + + + + + + + + + + + + +
    Make_Record
    description
    + + This function creates the record file formatted for a direct insertion in the documents database. It uses the + bibConvert tool.
    + The main difference between all the Make_..._Record functions are the parameters.
    + As its name does not say :), this particular function should be used for the submission of a document. +
    +
    parameters
    createTemplate + Name of bibconvert's configuration file used for creating the mysql record. +
    sourceTemplate + Name of bibconvert's source file. +
    + + + + +

    + + + + + + + + + + +
    Move_From_Pending
    description
    + + This function retrieves the data of a submission which was temporarily stored in the "pending" directory + (waiting for an approval for example), and moves it to the current action directory. + +
    parameters
    none
    + + + + +

    + + + + + + + + + + +
    Move_to_Done
    description
    + + This function moves the existing submission directory to the /done directory. If the + Then it tars and gzips the directory. + +
    parameters
    none
    + + + + + +

    + + + + + + + + + + +
    Move_to_Pending
    description
    + + This function moves the existing submission directory to the /pending directory. It is + used to store temporarily this data until it is approved or... + +
    parameters
    none
    + + + + + +

    + + + + + + + + + + + + + + + + + + + +
    Print_Success
    description
    + + This function simply displays a text on the screen, telling the user the submission went fine. To be used in + the "Submit New Record" action. + +
    parameters
    status + Depending on the value of this parameter, the function adds an additional text to the email.
    + This parameter can be one of:
    + ADDED: The file has been integrated in the database.
    + APPROVAL: The file has been sent for approval to a referee.
    + or can stay empty. +
    edsrn + Name of the file containing the reference of the document
    +
    newrnin + Name of the file containing the 2nd reference of the document (if any)
    +
    + + + + + + +

    + + + + + + + + + + +
    Print_Success_APP
    description
    + + This function simply displays a text on the screen, telling the referee his decision has been taken into account. + To be used in the Approve (APP) action. + +
    parameters
    none
    + + + + + + + +

    + + + + + + + + + + +
    Print_Success_MBI
    description
    + + This function simply displays a text on the screen, telling the user the modification went fine. To be used in + the Modify Record (MBI) action. + +
    parameters
    none
    + + + + + + +

    + + + + + + + + + + +
    Print_Success_SRV
    description
    + + This function simply displays a text on the screen, telling the user the revision went fine. To be used in the + Submit New File (SRV) action. + +
    parameters
    none
    + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Report_Number_Generation
    description
    + + This function is used to automatically generate a reference number.
    + After generating the reference, the function saves it into the [newrnin] file and sets the global variable + containing this reference. +
    +
    parameters
    autorngen + If set to "Y": The reference number is generated.
    + If set to "N": The reference number is read from a file ([newrnin])
    + If set to "A": The reference number will be the access number of the submission. +
    counterpath + indicates the file in which the program will find the counter for this reference generation.
    + The value of this parameter may contain one of:
    + "<PA>categ</PA>": in this case this string is replaced with the content of the file [altrnin]
    + "<PA>yy</PA>": in this case this string is replaced by the current year (4 digits) if [altyeargen] + is set to "AUTO", or by the content of the [altyeargen] file in any other case. (this content should be formatted + as a date (dd/mm/yyyy). +
    rnformat + This is the format used by the program to create the reference. The program computes the value of the + parameter and appends a "-" followed by the current value of the counter increased by 1.
    + The value of this parameter may contain one of:
    + "<PA>categ</PA>": in this case this string is replaced with the content of the file [altrnin]
    + "<PA>yy</PA>": in this case this string is replaced by the current year (4 digits) if [altyeargen] + is set to "AUTO", or by the content of the [altyeargen] file in any other case. (this content should be formatted + as a date (dd/mm/yyyy). +
    rnin + This parameter contains the name of the file in which the program will find the category if needed. The content + of thif file will then replace the string <PA>categ</PA> in the reference format or in the counter + path. +
    yeargen + This parameter can be one of:
    + "AUTO": in this case the program takes the current 4 digit year.
    + "<filename>": in this case the program extract the year from the file which name is + <filename>. This file should contain a date (dd/mm/yyyy). +
    edsrn + Name of the file in which the created reference will be stored. +
    + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Send_Approval_Request
    description
    + + This function sends an email to the referee in order to start the simple approval process.
    + This function is very CERN-specific and should be changed in case of external use.
    + Must be called after the Get_Report_Number function. +
    +
    parameters
    addressesDAM + email addresses of the people who will receive this email (comma separated list). this parameter may contain the <CATEG> string. In which case the variable computed from the [categformatDAM] parameter replaces this string.
    + eg.: "<CATEG>-email@cern.ch" +
    categformatDAM + contains a regular expression used to compute the category of the document given the reference of the document.
    + eg.: if [categformatAFP]="TEST-<CATEG>-.*" and the reference of the document is "TEST-CATEGORY1-2001-001", then the computed category equals "CATEGORY1" +
    authorfile + name of the file in which the authors are stored +
    titlefile + name of the file in which the title is stored. +
    directory + parameter used to create the URL to access the files. +
    + + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + +
    Send_APP_Mail
    description
    + + Sends an email to warn people that a document has been approved. + +
    parameters
    addressesAPP + email addresses of the people who will receive this email (comma separated list). this parameter may contain + the <CATEG> string. In which case the variable computed from the [categformatAFP] parameter + replaces this string.
    + eg.: "<CATEG>-email@cern.ch" +
    categformatAPP + contains a regular expression used to compute the category of the document given the reference of the + document.
    + eg.: if [categformatAFP]="TEST-<CATEG>-.*" and the reference of the document is + "TEST-CATEGORY1-2001-001", then the computed category equals "CATEGORY1" +
    newrnin + Name of the file containing the 2nd reference of the approved document (if any). +
    edsrn + Name of the file containing the reference of the approved document. +
    + + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + +
    Send_Modify_Mail
    description
    + + This function sends an email to warn people a document has been modified and the user his modifications + have been taken into account.. + +
    parameters
    addressesMBI + email addresses of the people who will receive this email (comma separated list). +
    fieldnameMBI + name of the file containing the modified fields. +
    sourceDoc + Long name for the type of document. This name will be displayed in the mail. +
    emailfile + name of the file in which the email of the modifier will be found. +
    + + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + +
    Send_SRV_Mail
    description
    + + This function sends an email to warn people a revision has been carried out. + +
    parameters
    notefile + name of the file in which the note can be found +
    emailfile + name of the file containing the submitter's email +
    addressesSRV + email addresses of the people who will receive this email (comma separated list). this parameter may contain the <CATEG> string. In which case the variable computed from the [categformatDAM] parameter replaces this string.
    + eg.: "<CATEG>-email@cern.ch" +
    categformatDAM + contains a regular expression used to compute the category of the document given the reference of the + document.
    + eg.: if [categformatAFP]="TEST-<CATEG>-.*" and the reference of the document is + "TEST-CATEGORY1-2001-001", then the computed category equals "CATEGORY1" +
    + + + + + + + + + + +

    + + + + + + + + + + +
    Test_Status
    description
    + + This function checks whether the considered document has been requested for approval and is still waiting + for approval. It also checks whether the password stored in file "password" of the submission directory + corresponds to the password associated with the document.. + +
    parameters
    none
    + + + + + + + + +

    + + + + + + + + + + + +
    Update_Approval_DB
    description
    + + This function updates the approval database when a document has just been approved or rejected. It uses + the [categformatDAM] parameter to compute the category of the document.
    + Must be called after the Get_Report_Number function. +
    +
    parameters
    categformatDAM + It contains the regular expression which allows the retrieval of the category from the reference number.
    + Eg: if [categformatDAM]="TEST-<CATEG>-.*" and the reference is "TEST-CATEG1-2001-001" then the + category will be recognized as "CATEG1". +
    + + + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + +
    Upload_Files
    description
    + + This function displays the list of already transfered files (main and additional ones), and also outputs an html + form for uploading other files (pictures or fulltexts). + +
    parameters
    maxsize + Maximum allowed size for the transfered files (size in bits) +
    minsize + Minimum allowed size for the transfered files (size in bits) +
    iconsize + In case the transfered files are pictures (jpg, gif or pdf), the function will automatically try to create icons from them. + This parameter indicates the size in pixel of the created icon. +
    type + This can be one of "fulltext" or "picture". If the type is set to "picture" then the function will try to create icons + (uses the ImageMagick's "convert" tool) +
    + + +

    See also:

    +
    +
  • create a new function
    +
  • delete a function
    +
  • edit a function
    +
  • + diff --git a/modules/websubmit/doc/admin/functiondescription.php.wml b/modules/websubmit/doc/admin/functiondescription.php.wml deleted file mode 100644 index 857c0b673..000000000 --- a/modules/websubmit/doc/admin/functiondescription.php.wml +++ /dev/null @@ -1,1373 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="All functions explained" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - Description:
    -
    - -
    -
    - - - -

    - - - - - - - - - - - - - - - - - - - - - - - -
    CaseEDS
    description
    - - This function may be used if the treatment to be done after a submission depends on a field entered by the user. Typically this is used in an approval interface. If the referee approves then we do this. If he rejects, then we do other thing.
    - More specifically, the function gets the value from the file named [casevariable] and compares it with the values stored in [casevalues]. If a value matches, the function directly goes to the corresponding step stored in [casesteps]. If no value is matched, it goes to step [casedefault]. -
    -
    parameters
    casevariable - This parameters contains the name of the file in which the function will get the chosen value.
    - Eg: "decision" -
    casevalues - Contains the list of recognized values to match with the chosen value. Should be a comma separated list of words.
    - Eg: "approve,reject" -
    casesteps - Contains the list of steps corresponding to the values matched in [casevalue]. It should be a comma separated list of numbers
    - Eg: "2,3"
    - In this example, if the value stored in the file named "decision" is "approved", then the function launches step 2 of this action. If it is "reject", then step 3 is launched. -
    casedefault - Contains the step number to go by default if no match is found.
    - Eg: "4"
    - In this example, if the value stored in the file named "decision" is not "approved" nor "reject", then step 4 is launched. -
    - - - -

    - - - - - - - - - - - -
    Create_Base_Files
    description
    - - This function saves the value representing the base in which the document should be stored in a special file (named "DB"). This files will then be used by the bibFormat program (see "Make_Weblib_Record" function)
    - The values you use for these parameters are really dependant on the way your catalogues will be implemented in webSearch.
    - For example if your document type will be a catalogue in itself, you can give him a unique database name in the [base] parameter. If this document type will be only a subpart of a catalogue, choose the catalogue name in [base].
    - In itself, this function only saves values in special files, it does not do anything else. It's only the way Make_Weblib_Record function will deal with these files which will be meaningful for your documents. -
    -
    parameters
    base - The value stored in this parameter is saved in the "DB" file. -
    - - - - - -

    - - - - - - - - - - - - - - - - - - - -
    Create_Icon
    description
    - - During the submission of a picture or poster, you can create an icon of it using this function. - -
    parameters
    firstfile - This parameter indicates the name of the form field used to transfer the first picture file. In standard configuration this is set to "PictureFiles".
    - This value depends on the configuration you used for defining the form fields. -
    secondfile - This parameter indicates the name of the form field used to transfer the firstaddtional picture file. In general this value shall be set to "OtherPictures".
    - see the "Upload_Included_Files" function description. -
    iconsize - This value indicates the size of the resulting icon in pixels. -
    - - - - -

    - - - - - - - - - - - -
    Create_Modify_Interface
    description
    - - To be used in the MBI-Modify Bibliographic Data action. - It displays a web form allowing the user to modify the fields he chose. The fields are prefilled with the existing values extracted from the documents database. - This functions takes the values stored in the [fieldnameMBI] file. This file contains a list of field name separated with "+". Then the function retrieves the corresponding tag name (aleph or marc-21) stored in the element definition. Finally it displays the web form and fills it with the existing values found in the documents database. - -
    parameters
    fieldnameMBI - Contains the name of the file in which the function will find the list of fields the user wants to modify. Depends on the web form configuration. -
    - - - - -

    - - - - - - - -
    Display_Record_Data
    description
    - - This function goes in the documents database to retrieve the title and author(s) of the document the user wants to revise or modify or... and displays this information on the screen so that the user can check if it is the correct document. - -
    parameters
    - - - -

    - - - - - - - - - - -
    Finish_Submission
    description
    - - This function stops the data treatment process even if further steps exist. This is used for example in the approval action. In the first step, the program determines whether the user approved or rejected the document (see CaseEDS function description). Then depending on the result, it executes step 2 or step 3. If it executes step 2, then it should continue with step 3 if nothing stopped it. The Finish_Submission function plays this role. - -
    parameters
    none
    - - - - -

    - - - - - - - - - - - - - - - - - - - -
    Get_Info
    description
    - - This function tries to retrieve in the "pending" directory or directly in the documents database, some information about the document: title, original submitter's email and author(s).
    - If found, this information is stored in 3 global variables: $emailvalue, $titlevalue, $authorvalue to be used in other functions.
    - If not found, an error message is displayed. -
    -
    parameters
    authorFile - Name of the file in which the author may be found if the document has not yet been integrated (in this case it is still in the "pending" directory). -
    emailFile - Name of the file in which the email of the original submitter may be found if the document has not yet been integrated (in this case it is still in the "pending" directory). -
    titleFile - Name of the file in which the title may be found if the document has not yet been integrated (in this case it is still in the "pending" directory). -
    - - - - -

    - - - - - - - - - - - -
    Get_Report_Number
    description
    - - This function gets the value contained in the [edsrn] file and stores it in the reference global variable. - -
    parameters
    edsrn - Name of the file which stores the reference.
    - This value depends on the web form configuration you did. It should contain the name of the form element used for storing the reference of the document. -
    - - - - - -

    - - - - - - - - - - -
    Get_Sysno
    description
    - - This functions searches for the document in the database and stores the system number of this document in the "SN" file and in a global variable.
    - "Get_Report_Number" should be called before. -
    -
    parameters
    none
    - - - - - -

    - - - - - - - - - - -
    Insert_Record
    description
    - - This function gets the output of bibFormat and uploads it into the MySQL bibliographical database. - -
    parameters
    none
    - - - - -

    - - - - - - - - - - -
    Is_Original_Submitter
    description
    - - If the authentication module (login) is active in webSubmit, this function compares the current login with the email of the original submitter. If it is the same (or if the current user has superuser rights), we go on. If it differs, an error message is issued. - -
    parameters
    none
    - - -

    - - - - - - - - - - -
    Is_Referee
    description
    - - This function checks whether the currently logged user is a referee for this document. - -
    parameters
    none
    - - - - - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Mail_Submitter
    description
    - - This function send an email to the submitter to warn him the document he has just submitted has been correctly received. - -
    parameters
    authorfile - Name of the file containing the authors of the document
    -
    titleFile - Name of the file containing the title of the document
    -
    emailFile - Name of the file containing the email of the submitter of the document
    -
    status - Depending on the value of this parameter, the function adds an additional text to the email.
    - This parameter can be one of:
    - ADDED: The file has been integrated in the database.
    - APPROVAL: The file has been sent for approval to a referee.
    - or can stay empty. -
    edsrn - Name of the file containing the reference of the document
    -
    newrnin - Name of the file containing the 2nd reference of the document (if any)
    -
    - - - - -

    - - - - - - - - - - - - - - - -
    Make_Modify_Record
    description
    - - This function creates the record file formatted for a direct insertion in the documents database. It uses the Uploader tool.
    - The main difference between all the Make_..._Record functions are the parameters.
    - As its name says, this particular function should be used for the modification of a record. (MBI- Modify Bibliographic Information action). -
    -
    parameters
    mysqlModify - MySQL only!
    - Name of the uploader's configuration file used for creating the mysql record. -
    sourceModify - Name of the uploader's source file. -
    - - - - - - -

    - - - - - - - - - - - - - - - -
    Make_Weblib_Record
    description
    - - This function creates the record file formatted for a direct insertion in the documents database. It uses the Uploader tool.
    - The main difference between all the Make_..._Record functions are the parameters.
    - As its name does not say :), this particular function should be used for the submission of a document. -
    -
    parameters
    mysqlInsert - MySQL only!
    - Name of the uploader's configuration file used for creating the mysql record. -
    sourceSubmit - Name of the uploader's source file. -
    - - - - - -

    - - - - - - - - - - - - - - - -
    Move_Files_Archive
    description
    - - This function takes the files transfered by the user and save them in their final destination. This destination as well as the final name of the file are computed from the "archivepath" and "formatfile" variables set by the Set_Archive_Files function.
    - The "Set_Archive_Files" function should have been called before this function. -
    -
    parameters
    firstfile - Name of the directory in which the main file has been temporary saved. -
    secondfile - Name of the directory in which the additional files have been temporary saved. -
    - - - - - - -

    - - - - - - - - - - -
    Move_From_Pending
    description
    - - This function retrieves the data of a submission which was temporarily stored in the "pending" directory (waiting for an approval for example), and moves it to the current action directory. - -
    parameters
    none
    - - - - - -

    - - - - - - - - - - - - - - - -
    Move_Pictures_Archive
    description
    - - This function takes the files transfered by the user and save them in their final destination. This destination as well as the final name of the file are computed from the "archivepath" and "formatfile" variables set by the Set_Archive_Files function.
    - The "Set_Archive_Files" function should have been called before this function.
    - This function is very similar to the Move_Files_Archive one, except that it also deals with the icons created during the submission process. - -
    -
    parameters
    firstfile - Name of the directory in which the main picture file has been temporary saved. -
    secondfile - Name of the directory in which the additional picture files have been temporary saved. -
    - - - - - - -

    - - - - - - - - - - -
    Move_Revised_Files
    description
    - - This function takes the files transfered by the user and save them in their final destination. This destination as well as the final name of the file are computed from the "archivepath" and "formatfile" variables set by the Set_Archive_Files function.
    - The "Set_Archive_Files" function should have been called before this function.
    - The main difference with the Move_Files_Archive function is that this function is used for revisions. So if there are already existing files in the archive, it saves them in an "obsolete" directory. -
    -
    parameters
    none
    - - - - - - -

    - - - - - - - - - - -
    Move_to_Done
    description
    - - This function moves the existing submission directory to the /$STORAGE/done directory. If the TAR_FINAL_DIR configuration variable is set to TRUE then it tars and gzips the directory. configuration variables can be found in the "config_XXX..php" file. - -
    parameters
    none
    - - - - - - - -

    - - - - - - - - - - -
    Move_to_Pending
    description
    - - This function moves the existing submission directory to the /$STORAGE/pending directory. It is used to store temporarily this data until it is approved or... - -
    parameters
    none
    - - - - - - -

    - - - - - - - - - - -
    Print_Success_APP
    description
    - - This function simply displays a text on the screen, telling the referee his decision has been taken into account. To be used in the Approve (APP) action. - -
    parameters
    none
    - - - - - - -

    - - - - - - - - - - - - - - - - - - - -
    Print_Success_FTT
    description
    - - This function simply displays a text on the screen, telling the user the submission went fine. To be used in the Fulltext Transfer (FTT) action. - -
    parameters
    status - Depending on the value of this parameter, the function adds an additional text to the email.
    - This parameter can be one of:
    - ADDED: The file has been integrated in the database.
    - APPROVAL: The file has been sent for approval to a referee.
    - or can stay empty. -
    edsrn - Name of the file containing the reference of the document
    -
    newrnin - Name of the file containing the 2nd reference of the document (if any)
    -
    - - - - - - -

    - - - - - - - - - - -
    Print_Success_MBI
    description
    - - This function simply displays a text on the screen, telling the user the modification went fine. To be used in the Modify Bibliographic Information (MBI) action. - -
    parameters
    none
    - - - - - - -

    - - - - - - - - - - -
    Print_Success_SRV
    description
    - - This function simply displays a text on the screen, telling the user the revision went fine. To be used in the Submit a Revised Version (SRV) action. - -
    parameters
    none
    - - - - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Report_Number_Generation
    description
    - - This function is used to automatically generate a reference number.
    - After generating the reference, the function saves it into the [newrnin] file and sets the global variable containing this reference. -
    -
    parameters
    autorngen - If set to "Y": The reference number is generated.
    - If set to "N": The reference number is read from a file ([newrnin])
    - If set to "A": The reference number will be the access number of the submission. -
    counterpath - indicates the file in which the program will find the counter for this reference generation.
    - The value of this parameter may contain one of:
    - "<PA>categ</PA>": in this case this string is replaced with the content of the file [altrnin]
    - "<PA>yy</PA>": in this case this string is replaced by the current year (4 digits) if [altyeargen] is set to "AUTO", or by the content of the [altyeargen] file in any other case. (this content should be formatted as a date (dd/mm/yyyy). -
    rnformat - This is the format used by the program to create the reference. The program computes the value of the parameter and appends a "-" followed by the current value of the counter increased by 1.
    - The value of this parameter may contain one of:
    - "<PA>categ</PA>": in this case this string is replaced with the content of the file [altrnin]
    - "<PA>yy</PA>": in this case this string is replaced by the current year (4 digits) if [altyeargen] is set to "AUTO", or by the content of the [altyeargen] file in any other case. (this content should be formatted as a date (dd/mm/yyyy). -
    rnin - This parameter contains the name of the file in which the program will find the category if needed. The content of thif file will then replace the string <PA>categ</PA> in the reference format or in the counter path. -
    yeargen - This parameter can be one of:
    - "AUTO": in this case the program takes the current 4 digit year.
    - "<filename>": in this case the program extract the year from the file which name is <filename>. This file should contain a date (dd/mm/yyyy). -
    edsrn - Name of the file in which the created reference will be stored. -
    - - - - - - -

    - - - - - - - - - - -
    Save_Modify_Values
    description
    - - To be used in step 2 of the Modify Bibliographic Info (MBI) action, after the user has entered the new values of the fields he wants to modify (step 1).
    - This function retrieves the modified fields from the cgi line and saves them in the submission directory. -
    -
    parameters
    none
    - - - - - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Send_Approval_Request
    description
    - - This function sends an email to the referee in order to start the simple approval process.
    - This function is very CERN-specific and should be changed in case of external use.
    - Must be called after the Get_Report_Number function. -
    -
    parameters
    addressesDAM - email addresses of the people who will receive this email (comma separated list). this parameter may contain the <CATEG> string. In which case the variable computed from the [categformatDAM] parameter replaces this string.
    - eg.: "<CATEG>-email@cern.ch" -
    categformatDAM - contains a regular expression used to compute the category of the document given the reference of the document.
    - eg.: if [categformatAFP]="TEST-<CATEG>-.*" and the reference of the document is "TEST-CATEGORY1-2001-001", then the computed category equals "CATEGORY1" -
    authorfile - name of the file in which the authors are stored -
    titlefile - name of the file in which the title is stored. -
    directory - parameter used to create the URL to access the files. -
    - - - - - - -

    - - - - - - - - - - - - - - - - - - - - - - - -
    Send_APP_Mail
    description
    - - Sends an email to warn people that a document has been approved. - -
    parameters
    addressesAPP - email addresses of the people who will receive this email (comma separated list). this parameter may contain the <CATEG> string. In which case the variable computed from the [categformatAFP] parameter replaces this string.
    - eg.: "<CATEG>-email@cern.ch" -
    categformatAPP - contains a regular expression used to compute the category of the document given the reference of the document.
    - eg.: if [categformatAFP]="TEST-<CATEG>-.*" and the reference of the document is "TEST-CATEGORY1-2001-001", then the computed category equals "CATEGORY1" -
    newrnin - Name of the file containing the 2nd reference of the approved document (if any). -
    edsrn - Name of the file containing the reference of the approved document. -
    - - - - - - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Send_FTT_Mail
    description
    - - This function sends an email to warn people a document has been submitted. - -
    parameters
    addressesFTT - email addresses of the people who will receive this email (comma separated list). -
    authorfile - name of the file containing the authors. -
    titlefile - name of the file containing the title. -
    newrnin - name of the file containing the 2nd reference (if any). -
    edsrn - name of the file containing the reference. -
    sourceDoc - Long name for the type of document. This name will be displayed in the mail. -
    status - Can be one of:
    - Y: the document has been integrated.
    - A: the document has been sent for approval. -
    textMailFTT - You can write here a personal version of this email. If you want to insert some data from the submission directory in this mail, then insert strings like "<[filename]>" where [filename] is the name of the file containing the value. Eg.: "<TI>" will be replaced by the value extracted from the TI file (which in general contains the title). -
    - - - - - - - -

    - - - - - - - - - - - - - - - - - - - - - - - -
    Send_Modify_Mail
    description
    - - This function sends an email to warn people a document has been modified and the user his modifications have been taken into account.. - -
    parameters
    addressesMBI - email addresses of the people who will receive this email (comma separated list). -
    fieldnameMBI - name of the file containing the modified fields. -
    sourceDoc - Long name for the type of document. This name will be displayed in the mail. -
    emailfile - name of the file in which the email of the modifier will be found. -
    - - - - - - -

    - - - - - - - - - - - - - - - - - - - - - - - -
    Send_SRV_Mail
    description
    - - This function sends an email to warn people a revision has been carried out. - -
    parameters
    notefile - name of the file in which the note can be found -
    emailfile - name of the file containing the submitter's email -
    addressesSRV - email addresses of the people who will receive this email (comma separated list). this parameter may contain the <CATEG> string. In which case the variable computed from the [categformatDAM] parameter replaces this string.
    - eg.: "<CATEG>-email@cern.ch" -
    categformatDAM - contains a regular expression used to compute the category of the document given the reference of the document.
    - eg.: if [categformatAFP]="TEST-<CATEG>-.*" and the reference of the document is "TEST-CATEGORY1-2001-001", then the computed category equals "CATEGORY1" -
    - - - - - -

    - - - - - - - - - - - - - - - - - - - -
    Set_Archive_Files
    description
    - - This function computes the value of the name the fulltext files should be saved as, and the value of the path where these files should be moved to.
    - These values are saved in the "formatfile" and "archivepath" files.
    - This function differs from the Set_Approved_Archive function by the parameters it uses and the name of the files the computed values are saved in.
    - Please note the Get_Report_Number function should be called before this one. -
    -
    parameters
    variablesARCHIVE - contains a regular expression used to compute the variables used in [formatARCHIVE] and [pathARCHIVE] parameters.
    - eg.: if [variablesARCHIVE]="ATL-<TEXT>" and the reference of the document is "ATL-CATEGORY1-2001-001", then the computed variable <TEXT> equals "CATEGORY1-2001-001". -
    formatARCHIVE - Format used to compute the final name of the fulltext files.
    - eg.: "file-<TEXT>" together with the preceding example will give as a final result "file-category-2001-001". -
    pathARCHIVE - Format used to compute the final path where the fulltext files will be saved in.
    -
    - - - - - - - - - -

    - - - - - - - - - - - -
    Test_BI
    description
    - - This function checks whether the basic bibliographic information has been correctly submitted. (TI and AU). - -
    parameters
    titlefile - name of the file containing the title -
    - - - - - - - - - - -

    - - - - - - - - - - - -
    Test_File_Format
    description
    - - This function retrieves the format of the transfered file (using file/gfile), and compares it to the default result stored in the sbmGFILERESULT table of webSubmit database. For the time being there is no way to modify this table through the manager interface...
    - The function also refuses executable files. -
    -
    parameters
    formatFTT - name of the file containing the format of the transfered file -
    - - - - - - - -

    - - - - - - - - - - - -
    Test_File_Name
    description
    - - This function retrieves the extension of the transfered file as well as the declared format, and compares this extension to the default one stored in the FILE_EXTENSION table of the webSubmit database. For the time being there is no way to modify this table through the manager interface...
    - The function also renames files containing special characters.
    -
    -
    parameters
    formatFTT - name of the file containing the format of the transfered file -
    - - - - - - - - - - -

    - - - - - - - - - - -
    Test_Status
    description
    - - This function checks whether the considered document has been requested for approval and is still waiting for approval. It also checks whether the password stored in file "password" of the submission directory corresponds to the password associated with the document.. - -
    parameters
    none
    - - - - - - - - -

    - - - - - - - - - - - -
    Update_Approval_DB
    description
    - - This function updates the approval database when a document has just been approved or rejected. It uses the [categformatDAM] parameter to compute the category of the document.
    - Must be called after the Get_Report_Number function. -
    -
    parameters
    categformatDAM - It contains the regular expression which allows the retrieval of the category from the reference number.
    - Eg: if [categformatDAM]="TEST-<CATEG>-.*" and the reference is "TEST-CATEG1-2001-001" then the category will be recognized as "CATEG1". -
    - - - - - - - -

    - - - - - - - - - - - - - - - - - - - -
    Upload_Included_Files
    description
    - - This function displays the list of already transfered files (main and additional ones), and also outputs an html form for uploading other files (pictures or fulltexts). - -
    parameters
    firstfile - This parameter indicates the name of the form field used to transfer the first file. In standard configuration this is set to "PictureFiles" or "MainFile".
    - This value depends on the configuration you used for defining the form fields. -
    secondfile - This parameter indicates the name of the form field used to transfer the addtional files. In general this value shall be set to "OtherPictures" or "IncludedFiles".
    -
    filetype - Can be one of "picture" or "fulltext".
    - This value will determine whether the program will try to display an icon next to the list of transfered files or not.
    - It will also determine how the form for the additional files upload will be created (will the authorized formats such as "jpeg", "gif"... or such as "PostScript", "PDF"... -
    - - - - -
    -
    - - See also: -
    - create a new function
    - delete a function
    - edit a function
    -
    - diff --git a/modules/websubmit/doc/admin/functionedit.html.wml b/modules/websubmit/doc/admin/functionedit.html.wml new file mode 100644 index 000000000..fc56911a7 --- /dev/null +++ b/modules/websubmit/doc/admin/functionedit.html.wml @@ -0,0 +1,55 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Edit a function" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    What is it?

    +
    +  Edit a function, add parameters to it... +
    + +

    How to get there?

    +
    +  Click on the "Available Functions" link in the websubmit admin + right menu. +
    + +

    How to do this?

    +
    +  On this page appears a list of all functions defined into the system. + Two columns give you access to some features: + +
    + + +

    See also:

    +
    +
  • create a new function
    +
  • delete a function
    +
  • + diff --git a/modules/websubmit/doc/admin/functionedit.php.wml b/modules/websubmit/doc/admin/functionedit.php.wml deleted file mode 100644 index cc87d6939..000000000 --- a/modules/websubmit/doc/admin/functionedit.php.wml +++ /dev/null @@ -1,69 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Edit a function" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - create a new function
    - delete a function
    -
    - diff --git a/modules/websubmit/doc/admin/functionnew.html.wml b/modules/websubmit/doc/admin/functionnew.html.wml new file mode 100644 index 000000000..416777cae --- /dev/null +++ b/modules/websubmit/doc/admin/functionnew.html.wml @@ -0,0 +1,68 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Create a new function" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    How to get there?

    +
    +  Click on the "Available Functions" link in the websubmit admin right + menu. Then click on the "Add New Function" button. +
    + +

    How to do this?

    +
    +  Enter the name of the new function as well as a text description if + you wish.
    +  You will then reach a page where you can add parameters to your + new function.

    +  Don't forget to add the function file inside the + /python/cdsware/websubmit_functions directory and to name the file after the function. Functions must + be written in Python. Here is an example implementation of a function:

    + /python/cdsware/websubmit_functions/Get_Report_Number.py: +

    +def Get_Report_Number (parameters,curdir,form): + global rn + + #Path of file containing report number + if os.path.exists("%s/%s" % (curdir,parameters['edsrn'])): + fp = open("%s/%s" % (curdir,parameters['edsrn']),"r") + rn = fp.read() + rn = rn.replace("/","_") + rn = re.sub("[\n\r ]+","",rn) + else: + rn = "" + return "" +
    +
    + The function parameters are passed to the function through the parameters dictionary.
    + The curdir parameter contains the current submission directory path.
    + The form parameter contains the form passed to the current web page for possible reference from inside the + function. +
    + + +

    See also:

    +
    +
  • edit a function
    +
  • delete a function
    +
  • + diff --git a/modules/websubmit/doc/admin/functionnew.php.wml b/modules/websubmit/doc/admin/functionnew.php.wml deleted file mode 100644 index 13c25992c..000000000 --- a/modules/websubmit/doc/admin/functionnew.php.wml +++ /dev/null @@ -1,80 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Create a new function" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - How to do this?
    -
    - -
    - - - See also: -
    - edit a function
    - delete a function
    -
    - diff --git a/modules/websubmit/doc/admin/functions.html.wml b/modules/websubmit/doc/admin/functions.html.wml new file mode 100644 index 000000000..09aa055c7 --- /dev/null +++ b/modules/websubmit/doc/admin/functions.html.wml @@ -0,0 +1,49 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Functions" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    Description:

    +
    +  In webSubmit, each action process is divided into two phases: the + gathering of data (through a web form) and the treatment of the data.

    +  The treatment is organised in a succession of functions, each of + which has its own input and output.

    +  The functions themselves are stored in separate files (one per + function) in the /python/cdsware/websubmit_functions directory. A file containing a function MUST + be named after the function name itself. For example, a function called "Move_to_Done" MUST be stored in a + file called Move_to_Done.py. The case is important here.

    +  For a description of what should be inside the file, have a look to + the "create a new function" page of this guide.

    +  To each function you can associate one or several parameters, + which may have different values according to the document type the function is used for. One parameter may + be used for different functions. For example one standard parameter used in several functions is called "edsrn". + It contains the name of the file in which the reference of the document is stored. +
    + +

    See also:

    +
    +
  • create a new function
    +
  • delete a function
    +
  • edit a function
    +
  • + diff --git a/modules/websubmit/doc/admin/functions.php.wml b/modules/websubmit/doc/admin/functions.php.wml deleted file mode 100644 index dc87e620c..000000000 --- a/modules/websubmit/doc/admin/functions.php.wml +++ /dev/null @@ -1,54 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Functions" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - Description:
    -
    - -
    -
    - - See also: -
    - create a new function
    - delete a function
    - edit a function
    -
    - diff --git a/modules/websubmit/doc/admin/httpprotection.php.wml b/modules/websubmit/doc/admin/httpprotection.php.wml deleted file mode 100644 index 426a27e1f..000000000 --- a/modules/websubmit/doc/admin/httpprotection.php.wml +++ /dev/null @@ -1,53 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="HTTP protection" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - Description:
    -
    - -
    - How to?
    -
    - -
    -
    - - diff --git a/modules/websubmit/doc/admin/implementfunctions.html.wml b/modules/websubmit/doc/admin/implementfunctions.html.wml new file mode 100644 index 000000000..37ec87e07 --- /dev/null +++ b/modules/websubmit/doc/admin/implementfunctions.html.wml @@ -0,0 +1,74 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Setup the Data Treatment" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    What is it?

    +
    +  At the end of a submission, we have to tell webSubmit what to do + with the data it has gathered. This is expressed through one or several lists of functions (we call this the + "end script"). +
    + +

    How to get there?

    +
    +  From the main page of the manager, click on the title of the relevant + document type.
    Then click on the icon in the "Edit Functions" column of the relevant line. +
    + +

    List of functions

    +
    +  Here is what you may see then (this is the end script list of functions + for a document type named "TEST" and action "FTT" - Fulltext Transfer):

    +

    +  You can see the ordered list of all the functions in the end script. + This end script is composed of 2 steps (see the "step" column). The functions composing the first step are called, + then there should be action from the user which would trigger step 2 - in the present case the + Upload_Files function (last of step 1) allows + the user to upload additional files by creating a web form, then when the user finishes, he presses another + button created by the function, which ends the process. Functions of step 2 are then called.

    +  Why implement multiple steps? The reason can vary with the task + you want to accomplish. For example with the example above (Fulltext Transfer), we use the first step to allow + the upload of multiple additional files (dynamic action) which could not be done in the + static web form. In the case of the + "Modify Bibliographic Information" action, the first step is used to display the fields the user wants to modify, + prefilled with the existing values. The reason is once again that the task we want to realise is dynamic.

    +  The "score" column is used to order the functions. The function + which has the smallest score will be called first, and the largest score will be called last.

    +  You can then: + +  Please note: To pass one function from one step to another, + you have to delete it then add it again in the proper step. + +
    + +

    See also:

    +
    +
  • all about functions
    +
  • + diff --git a/modules/websubmit/doc/admin/implementfunctions.php.wml b/modules/websubmit/doc/admin/implementfunctions.php.wml deleted file mode 100644 index f07305ad3..000000000 --- a/modules/websubmit/doc/admin/implementfunctions.php.wml +++ /dev/null @@ -1,78 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Setup the Data Treatment" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - List of functions
    -
    - -
    - See also: -
    - - all about functions
    -
    -
    - diff --git a/modules/websubmit/doc/admin/implementwebform.html.wml b/modules/websubmit/doc/admin/implementwebform.html.wml new file mode 100644 index 000000000..bbce7ac30 --- /dev/null +++ b/modules/websubmit/doc/admin/implementwebform.html.wml @@ -0,0 +1,160 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Create and maintain the web form" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    What is it?

    +
    +  Create and define the web form used during an action. +
    + +

    How to get there?

    +
    +  From the main page of the manager, click on the title of the relevant + document type. Then click on the icon in the "Edit Submission Pages" column of the relevant line. +
    + +

    List of the form pages

    +
    +  A web form can be split over several pages. This is a matter + of easiness for the user: he will have an overview of all form fields present on the page without having to scroll it. + Moreover, each time the user goes from one page to the other, all entered data are saved. If he wants to stop + then come back later (or if the browser crashes!) he will be able to get back to the submission at the exact + moment he left it.

    +  Once here:

    +

    + you can see the ordered list of already existing pages in the web form. In this example there are 4 pages. + You can then: + +
    + + +

    Edit one form page

    +
    +  Click on a page number, you then arrive to a place where you can + edit this form page.

    +  A form page is composed of a list of form elements. Each of these + form elements is roughly made of an html template and a text displayed before the form field.

    +  In the first part of the page, you have a preview of what the form + will look like to the user:
    +

    +  Then the second table shows you the list of the form elements + present on the page:
    +

    +  You can then: + +
    + + +

    Edit the html template of one form element

    +
    +  In the html template edition page, you can modify the following values: + + Important warning! Please remember this is a template! This means it can be used in + many different web forms/implementations. When you modify this template the modification will take place in + each of the implementations this template has been used. +
    + + +

    Edit one form element

    +
    +  In the form element edition page, you may modify the following values: + +
    + + +

    Add one form element

    +
    +  Click on the "ADD ELEMENT TO PAGE" button. There you will have + to decide which html template field to use ("Element Description code"), and + also the field mentioned above. +
    + + +

    Create a new html template

    +
    +  You have access to the list of all existing html templates by clicking + on the "View element descriptions" link in the websubmit admin right menu.
    + By clicking on one of them, you will have access to its description.
    + If no template corresponds to the one you seek, click on the "ADD NEW ELEMENT DESCRIPTION" button to + create one.
    +  The fields you have to enter in the creation form are the one + described in the Edit the html template of one form element section.
    + You also have to choose a name for this new element.
    + IMPORTANT! The name you choose for your html element is also the name of the file + in which webSubmit will save the value entered in this field. This is also the one you will use in your + ".html>bibConvert" configuration. Bibconvert is the program which will + convert the data gathered in webSubmit in a formatted XML file for insertion in the documents database. +
    + + +

    Create and edit a checking function.

    +
    +  Click on the "View Checks" link in the websubmit admin right menu. + You then have access to a list of all the defined javascript functions.
    + You can then click on the name of the function you want to modify, or click on the "ADD NEW CHECK" button + to create a new javascript function.
    + These functions are inserted in the web page when the user is doing his submission. When he clicks on + "next page", this function will be called with the value entered by the user as a parameter. If the function returns + false, the page does not change and an error message should be output. If the function returns true, everything + is correct, so page can be changed. +
    + +

    See also:

    +
    +
  • create and maintain the data treatment
    +
  • + diff --git a/modules/websubmit/doc/admin/implementwebform.php.wml b/modules/websubmit/doc/admin/implementwebform.php.wml deleted file mode 100644 index e11ae7577..000000000 --- a/modules/websubmit/doc/admin/implementwebform.php.wml +++ /dev/null @@ -1,145 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="Create and maintain the web form" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    - -
    -
    - How to get there?
    -
    - -
    - List of the form pages
    -
    - -
    - Edit one form page
    -
    - - Click on a page number, you then arrive to a place where you can edit this page.
    - A form page is composed of a list of form elements. Each of these form elements is roughly made of an html template and a text displayed before the form field.
    - In the first part, you have a preview of what the form will look like to the user.

    -

    - Then the second table shows you the list of the form elements present on the page:

    -

    - You can then: -
    - -
    - Edit the html template of one form element
    -
    - - In the html template edition page, you can modify the following values: -
      -
    • Element type: indicates which html form element to create -
    • Aleph code: Aleph users only! - This indicates in which field of the Aleph document database to retrieve the original value when modifying this information (function Create_Modify_Interface of action MBI). -
    • Marc Code: MySQL users only! - This indicates in which field of the MySQL document database to retrieve the original value when modifying this information (function Create_Modify_Interface of action MBI). -
    • Cookies: indicates whether webSubmit will set a cookie on the value filled in by the user. If yes, next time the user will come to this submission, the value he has entered last time will be filled in automatically. -
    • other fields: The other fields help defining the html form element. -
    - Important warning! Please remember this is a template! This means it can be used in many different web forms/implementations. When you modify this template the modification will take place in each of the implementations this template has been used. -
    -
    -
    Edit one form element
    -
    - - In the form element edition page, you may modify the following values: - - -
    - Add one form element
    -
    - - Click on the "ADD ELEMENT TO PAGE" button. There you will have to decide which html template field to use ("Element Description code"), and also the field mentioned above. - -
    - Create a new html template
    -
    - - You have access to the list of ll existing hteml templates by clicking on the "View element descriptions" link in the left menu in the "Manager" section.
    - By clicking on one of them, you will have access to its description.
    - If no template corresponds to the one you seek, click on the "ADD NEW ELEMENT DESCRIPTION" button to create one.
    - The fields you have to enter in the creation form are the one described in the
    Edit the html template of one form element section.
    - You also have to choose a name for this new element.
    - IMPORTANT! The name you choose for your html element is also the name of the file in which webSubmit will save the value entered in this field. This is also the one you will use in your ".php>uploader" configuration. The uploader is the program which will convert the data gathered in webSubmit in a formatted XML file for insertion in the documents database. -
    -
    - Create and edit a checking function.
    -
    - - Click on the "View Checks" link in the top menu, "MANAGER" section. You then have access to a list of all the defined javascript functions.
    - You can then click on the name of the function you want to modify, or click on the "ADD NEW CHECK" button to create a new javascript function.
    - These functions are inserted in the web page when the user is doing his submission. When he clicks on "next page", this function will be called with the value entered by the user as a parameter. If the function returns false, the page does not change and an error message should be output. If the function returns true, everything is correct, so page can be changed. -
    -
    - See also: -
    - - create and maintain the data treatment
    -
    -
    - diff --git a/modules/websubmit/doc/admin/index.html.wml b/modules/websubmit/doc/admin/index.html.wml new file mode 100644 index 000000000..52d59808a --- /dev/null +++ b/modules/websubmit/doc/admin/index.html.wml @@ -0,0 +1,81 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="" \ + navtrail_previous_links="/admin/> > /admin/websubmit/>" + + + + + + + + + + + + +

    Table of Contents

    + + + + diff --git a/modules/websubmit/doc/admin/index.php.wml b/modules/websubmit/doc/admin/index.php.wml deleted file mode 100644 index 5daa19de0..000000000 --- a/modules/websubmit/doc/admin/index.php.wml +++ /dev/null @@ -1,82 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="" \ - navtrail_previous_links="/admin/> > /admin/websubmit/>" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - Table of Contents - - - - diff --git a/modules/websubmit/doc/admin/introduction.html.wml b/modules/websubmit/doc/admin/introduction.html.wml new file mode 100644 index 000000000..e086ac5a8 --- /dev/null +++ b/modules/websubmit/doc/admin/introduction.html.wml @@ -0,0 +1,64 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="General overview of the manager tool" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + + + + + + + + + + + +

    Things to know before using the Manager:

    +
    +
      +  This manager tool allows you to administrate all the WebSubmit + interface. With it, you will be able to create new actions, new types of documents and edit the existing ones. +

      +  The main objects in webSubmit are the "action" (such as + "Submit New Record", "Submit New File", "Modify Record"...) and the "type of document" (such as "preprint", + "photo"...).

      +  To one given type of document can be attached several actions. + An action is the addition of two processes: +
        +
      • The first one is the data gathering. The manager + will allow you to create new web forms corresponding to the fields the user will have to fill in when using + webSubmit. +
      • The second one is the data treatement. + Basically, what the program will do with the data gathered during the first phase. The treatment appears + in this tool as a sequence of functions. This manager will allow you to add functions to an action, edit the + existing functions, and reorder the functions. +
      +
    +
    + +

    See also:

    +
    +
  • using the manager through an example
    +
  • interface description
    +
  • actions
    +
  • document types
    +
  • \ No newline at end of file diff --git a/modules/websubmit/doc/admin/introduction.php.wml b/modules/websubmit/doc/admin/introduction.php.wml deleted file mode 100644 index 3c36ac9ca..000000000 --- a/modules/websubmit/doc/admin/introduction.php.wml +++ /dev/null @@ -1,58 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="General overview of the manager tool" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - Things to know before using the Manager:
    -
    -
      - -This manager tool allows you to administrate all the webSubmit. With it, you will be able to create new actions, new types of documents and edit the existing ones.
      -The main objects in webSubmit are the "action" (such as "Transfer of a File", "Submit Bibliographic Information", "Submit a Revised Versions"...) and the "type of document" (such as "preprint", "photo"...). -To one given type of document can be attached several actions. -An action is the addition of two processes: -
        -
      • The first one is the data gathering. The manager will allow you to create new web forms corresponding to the fields the user will have to fill in when using webSubmit. -
      • The second one is the data treatement. Basically, what the program will do with the data gathered during the first phase. The treatment appears in this tool as a sequence of functions. This manager will allow you to add functions to an action, edit the existing functions, and reorder the functions. -
      -
      -
    -
    -
    - - See also: -
    - using the manager through an example
    - interface description
    - actions
    - document types
    -
    - diff --git a/modules/websubmit/doc/admin/protection.html.wml b/modules/websubmit/doc/admin/protection.html.wml new file mode 100644 index 000000000..7eaaf5fc7 --- /dev/null +++ b/modules/websubmit/doc/admin/protection.html.wml @@ -0,0 +1,41 @@ +## $Id$ + +## This file is part of the CERN Document Server Software (CDSware). +## Copyright (C) 2002 CERN. +## +## The CDSware 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. +## +## The CDSware is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with CDSware; if not, write to the Free Software Foundation, Inc., +## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +#include "configbis.wml" +#include "cdspage.wml" \ + title="Protection" \ + navtrail_previous_links="/admin/> > /admin/websubmit/> > >" + +

    Description:

    +
    +  In webSubmit, you can restrict the use of some actions on a given + document type to a list of users. You can use the webAccess + manager for this.

    +  Let's say you want to restrict the submission of new TEXT documents + to a given user. You should then create a role in webAccess which will authorize the action "submit" over doctype + "TEXT" and act "SBI" (Submit new record). You can call this role "submitter_TEXT_SBI" for example. + Then link the role to the proper users.
    +  Another example: if you wish to authorize a user to Modify the + bibliographic data of PICT documents, you have to create a role which authorize the action "submit" over doctype + "PICT" and act "MBI". This role can be called "submitter_PICT_MBI" or whatever you want.

    +  If no role is defined for a given action and a given document type, + then all users will be allowed to use it. +
    + + diff --git a/modules/websubmit/doc/admin/uploader.php.wml b/modules/websubmit/doc/admin/uploader.php.wml deleted file mode 100644 index 75cc3dc06..000000000 --- a/modules/websubmit/doc/admin/uploader.php.wml +++ /dev/null @@ -1,46 +0,0 @@ -## $Id$ - -## This file is part of the CERN Document Server Software (CDSware). -## Copyright (C) 2002 CERN. -## -## The CDSware 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. -## -## The CDSware is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with CDSware; if not, write to the Free Software Foundation, Inc., -## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - -#include "configbis.wml" -#include "cdspage.wml" \ - title="BibConvert" \ - navtrail_previous_links="/admin/> > /admin/websubmit/> > >" \ - navbar_name="admin" \ - navbar_select="websubmit_doc" - - - -
    - What is it?
    -
    -
      - - webSubmit stores the data gathered during a submission in a directory. In this directory each file corresponds to a field.
      - BibConvert is used to create a formatted file which will be easy to upload in the bibliographical database from this directory.
      - This bibConvert program is called from the .php?#Make_Weblib_Record>Make_Weblib_Record and .php?#Make_Modify_Record>Make_Modify_Record functions from the .php>end script system of CDS Submit.
      - The bibConvert configuration files used by webSubmit are in bibconvert/config".

      - For more info about the uploader, please see the dedicated guide. -
      -
    -
    -