Subversion Repositories oidplus

Rev

Rev 349 | Rev 356 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 349 Rev 355
Line 148... Line 148...
148
                                <span id="system_title_2"><?php echo htmlentities(OIDplus::config()->getValue('system_title')); ?></span>
148
                                <span id="system_title_2"><?php echo htmlentities(OIDplus::config()->getValue('system_title')); ?></span>
149
                        </a>
149
                        </a>
150
                </div>
150
                </div>
151
        </div>
151
        </div>
152
 
152
 
-
 
153
        <div id="languageBox">
-
 
154
                <?php
-
 
155
 
-
 
156
                foreach (OIDplus::getAllPluginManifests('language') as $pluginManifest) {
-
 
157
                        $xmldata = $pluginManifest->getRawXml();
-
 
158
                        $flag = $xmldata->language->flag->__toString();
-
 
159
                        $code = $xmldata->language->code->__toString();
-
 
160
                        if ($code == OIDplus::getCurrentLang()) {
-
 
161
                                $class = 'lng_flag';
-
 
162
                        } else {
-
 
163
                                $class = 'lng_flag picture_grayout';
-
 
164
                        }
-
 
165
                        echo '<img src="plugins/language/'.$code.'/'.$flag.'" alt="'.$pluginManifest->getName().'" title="'.$pluginManifest->getName().'" class="'.$class.'" id="lng_flag_'.$code.'" height="20" onclick="setLanguage(\''.$code.'\')"> ';
-
 
166
                }
-
 
167
 
-
 
168
                ?>
-
 
169
        </div>
-
 
170
 
153
        <div id="gotobox">
171
        <div id="gotobox">
154
                <input type="text" name="goto" id="gotoedit" value="<?php echo htmlentities($static_node_id); ?>">
172
                <input type="text" name="goto" id="gotoedit" value="<?php echo htmlentities($static_node_id); ?>">
155
                <input type="button" value="Go" onclick="gotoButtonClicked()" id="gotobutton">
173
                <input type="button" value="Go" onclick="gotoButtonClicked()" id="gotobutton">
156
        </div>
174
        </div>
157
 
175