Mercurial > hg > extraction-interface
comparison views/Extractapp/ConfigTagsInTopic.php @ 77:97c1e5102a22 extractapp
New: export table for a file from LGService
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 16 Apr 2015 14:53:22 +0200 |
parents | f9ae94a9b041 |
children | f1f849d31272 |
comparison
equal
deleted
inserted
replaced
76:c49192885290 | 77:97c1e5102a22 |
---|---|
1 <?php | 1 <?php |
2 /*! \file | |
3 * This is a view for ConfigTagsInTopic. | |
4 * It shows tags in the current topic, and the other tags that are in our database but not in this topic. | |
5 * User can add/remove the tags in/out of this topic. | |
6 */ | |
7 | |
2 // --- initialize --- | 8 // --- initialize --- |
3 //$taglistArray = $viewmodel['taglistArray']; | 9 //$taglistArray = $viewmodel['taglistArray']; |
4 $topic = $viewmodel['topic']; | 10 $topic = $viewmodel['topic']; |
5 $topic_name = $viewmodel['topic_name']; // array of names | 11 $topic_name = $viewmodel['topic_name']; // array of names |
6 $tag_intopic = $viewmodel['tag_intopic']; | 12 $tag_intopic = $viewmodel['tag_intopic']; |
84 } | 90 } |
85 | 91 |
86 </script> | 92 </script> |
87 | 93 |
88 <div class="container-fluid" style="margin-left:10%; margin-right:10%"> | 94 <div class="container-fluid" style="margin-left:10%; margin-right:10%"> |
89 | |
90 <form name="config" autocomplete='off' action="Javascript:checkTopic(document.config.InTopic)"> | 95 <form name="config" autocomplete='off' action="Javascript:checkTopic(document.config.InTopic)"> |
91 <h3>Topic: <?php echo $topic_name['name_en'];?> (<?php echo $topic_name['name_ch'];?>, <?php echo $topic_name['name_pinyin'];?>) </h3> | 96 <h3>Topic: <?php echo $topic_name['name_en'];?> (<?php echo $topic_name['name_ch'];?>, <?php echo $topic_name['name_pinyin'];?>) </h3> |
92 | 97 |
93 <table class="table"> | 98 <table class="table"> |
94 <thead> | 99 <thead> |
129 <td><input type="submit" value="Submit" class="btn btn-lg btn-success"></td> | 134 <td><input type="submit" value="Submit" class="btn btn-lg btn-success"></td> |
130 <td></td> | 135 <td></td> |
131 </tr> | 136 </tr> |
132 </tbody> | 137 </tbody> |
133 </table> | 138 </table> |
134 | |
135 </form> | 139 </form> |
136 </div> | 140 </div> |
137 | 141 |
138 </body> | 142 </body> |
139 </html> | 143 </html> |