# HG changeset patch # User Calvin Yeh # Date 1506630408 -7200 # Node ID a36bb5a48af4cc28ded76bfa6aa1e7f1f01c0089 # Parent 21e89eca0b84f0a18708228dc7a9a48de21a7a70 1. remove redundancy server side code. 2. All pop up sub-windows are made with dialog component of bootstrap v3.3.2 diff -r 21e89eca0b84 -r a36bb5a48af4 views/Extractapp/TaggingText.php --- a/views/Extractapp/TaggingText.php Thu Sep 28 17:51:53 2017 +0200 +++ b/views/Extractapp/TaggingText.php Thu Sep 28 22:26:48 2017 +0200 @@ -17,18 +17,18 @@ * along with Extraction-interface. If not, see . */ -/*! \file +/*! \file * This is the view for TaggingText. * It shows the extraction-interface application itself. * The input data for this view come from models/extractapp.php which is handled by controllers/extractapp.php. - * Input data for example, are (1)text string (containing tags if there are any), + * Input data for example, are (1)text string (containing tags if there are any), * (2)taglist for the current topic, (3)book and section information, etc. * The output data are passed to backend by controller to corresponding method in model/extractapp.php. * Output data is the tagged text string. - * + * * The user interface contains tagging area on the left side, and toolbox on the right side. * There are popup windows to assist the tagging task, for example RegEx-editors, tag-window, remove-tag-window, etc. - * + * */ // --- initialize config file and input text --- @@ -41,7 +41,7 @@ $topic_name = $viewmodel['topic_name']; // array of names $topic_tag = $viewmodel['topic_tag']; $topic_tag_ch = $viewmodel['topic_tag_ch']; -$info = $viewmodel['info']; +$info = $viewmodel['info']; $messages = $viewmodel['messages']; $taglist_infile = $viewmodel['taglist_infile']; @@ -57,6 +57,8 @@ + +