I have created a sub theme under  and am having issues removing the "anonymous" div from inside the form.  Here is the displayed code:  &lt;section id="block-search-form" class="block block-search clearfix"&gt;     &lt;form class="form-search content-search form-search content-search" action="/" method="post" id="search-block-form" accept-charset="UTF-8"&gt;         &lt;div&gt;&lt;!-- This guy needs to go --&gt;             &lt;div class="input-group"&gt;                 &lt;input title="" placeholder="Search" class="form-control form-text form-search" type="search" id="edit-search-block-form--2" name="search_block_form" value="" size="5" maxlength="128"&gt;                 &lt;button type="submit" class="btn btn-default"&gt;Search&lt;/button&gt;             &lt;/div&gt;             &lt;input type="hidden" name="form_build_id" value="form-XXXX"&gt;             &lt;input type="hidden" name="form_id" value="search_block_form"&gt;             &lt;button class="element-invisible element-invisible btn btn-primary form-submit" id="edit-submit" name="op" value="Search" type="submit"&gt;Search&lt;/button&gt;         &lt;/div&gt;     &lt;/form&gt; &lt;/section&gt;  I have my own versions of form-element.func.php and search-block-form.tpl.php and I have created my own theme wrapper to customize this as much as possible but I still cannot figure out a way to get rid of that stupid div!  How can I remove this div WITHOUT modifying the Bootstrap theme or the Drupal Core?  Edit: At the very least, I would be ok with adding the class input-group onto the div and getting rid of the current div.input-group
When I create a form using the form API, the resulting html includes all sorts of unwanted divs. For example, if I use:  $form = array(     'myFieldset' =&gt; array(         '#type' =&gt; 'fieldset'     ) );   The resulting html looks like this:   &lt;form action="/drupal-7.15/?q=chercheur" method="post" id="form-chercheur" accept-charset="UTF-8"&gt;     &lt;div&gt;         &lt;fieldset class="form-wrapper" id="edit-myfieldset"&gt;             &lt;div class="fieldset-wrapper"&gt;             &lt;/div&gt;         &lt;/fieldset&gt;         &lt;input type="hidden" name="form_build_id" value="form-87Dv5ezVpaLI5mD345ofMkLgPhsv_dawudUp73ePQTc" /&gt;         &lt;input type="hidden" name="form_token" value="sXXINWr7rmParm0tRJoEb6QKGIH_QH-ffRSOtnvxYY0" /&gt;         &lt;input type="hidden" name="form_id" value="form_Chercheur" /&gt;     &lt;/div&gt; &lt;/form&gt;   As you can see, two extraneous divs are added here. They are making the javascript I'm writing uselessly complicated, so I was wondering if there was a way to remove the extraneous divs. Ideally, I would like to obtain something like this:  &lt;form action="/drupal-7.15/?q=chercheur" method="post" id="form-chercheur" accept-charset="UTF-8"&gt;     &lt;fieldset class="form-wrapper" id="edit-myfieldset"&gt;     &lt;/fieldset&gt;     &lt;input type="hidden" name="form_build_id" value="form-87Dv5ezVpaLI5mD345ofMkLgPhsv_dawudUp73ePQTc" /&gt;     &lt;input type="hidden" name="form_token" value="sXXINWr7rmParm0tRJoEb6QKGIH_QH-ffRSOtnvxYY0" /&gt;     &lt;input type="hidden" name="form_id" value="form_Chercheur" /&gt; &lt;/form&gt;   Is this possible?
Accessing System Databases/Tables using LINQ to SQL? Shouldn't it be "he was the most famous fighter to have ever lived"? When I set up a site in multiple languages, how should I set up my URLs for search engines and usability?  Let's say my site is www.example.com, and I'm translating into French and Spanish. What is best for usability and SEO?  Directory option:  http://www.example.com/sample.html http://www.example.com/fr/sample.html http://www.example.com/es/sample.html   Subdomain option:  http://www.example.com/sample.html http://fr.example.com/sample.html http://es.example.com/sample.html   Filename option:  http://www.example.com/sample.html http://www.example.com/sample.fr.html http://www.example.com/sample.es.html   Accept-Language header:  Or should I simply parse the  header and generate content server-side to suit that header?  Is there another way to do this? If the different language versions don't have different urls, what do I do about the search engines?    UPDATE 2011-12-06  Google has new recommendations for meta tags for explicitly pointing to other language content: .  UPDATE 2012-05-25  Related but not precisely:   UPDATE 2013-06-12  includes discussion of several URL schemes directly relevant to the question. ModelBuilder not adding output feature class to Table of Contents? I'm trying to create a tool in ModelBuilder that will take a new point from a user, create a feature class for this point and display it on a map.  What I've done is:   I've created a feature class for a point-like feature in ArcCatalog. I've prepared a really simple model in ModelBuilder, that starts with a feature set variable (which takes the feature class as a schema and symbology file). The variable is marked as a parameter. Next I'm using the Copy Features tool that takes the variable as input and saves it as a feature class in my scratch workspace. The output feature class is marked as a parameter with the 'add to display' option.   After the module is run I get a shapefile in my scratch workspace. I can add it manually to TOC and it contains the selected point. However no matter what I do, I can't display it in TOC automatically after the model completes.  There is a known issue described in several places that doesn't allow to display newly created layers in TOC when model finishes with the 'add to display' option. However there's a quick workaround, which is to mark the output layer as parameter. In my case it doesn't work.  I'm using ArcGIS for Desktop 10.1 on Windows 7 x86_64. Google search results showing up a URL on its search which doesn't exist on the website Does Java have buffer overflows? Closed-loop function question How do I find the   How do I find the transfer function of Gd(s)?  I am able to find the transfer function of Gr(s) but I am not really sure about Gd(s)? and how do i determine which order is this closed system? How to show ascii art at the top of the terminal when it's opened? I have this question :  Proof if $f$ continuous in $x_0$ then there is a neighbourhood of $x_0$ so $f$ bounded.  I want to know if my proof is valid :  If continuous in $x_0$ then :  $$\lim_{x \to x_0} f(x)= f(x_0)$$  Therefore :  All $\epsilon&gt;0$ exists $\delta&gt;0$ so any $x$ that implies $|x-x_0|&lt;\delta$ implies $|f(x)-f(x_0)|&lt;\epsilon$.  Therefore for $\epsilon=1$ there is $\delta&gt;0$ so any $x$ that implies $|x-x_0|&lt;\delta$ implies $|f(x)-f(x_0)|&lt;1$.  $|x-x_0|&lt;\delta \rightarrow x_0-\delta&lt;x&lt;x_0+\delta$.  Lets choose $x_1,x_2$ that implies $x_0-\delta&lt;x_1&lt;x_2&lt;x_0+\delta$  Therefore in $[x_1,x_2]$ from Weierstrass from theorem bounded there. How should I determine whether a deck is legal in a particular format? I have a list of cards for a deck I want to build or buy. What should I do to check whether that deck is legal in a particular format (Standard, for example)? In "Knots and Primes: An Introduction to Arithmetic Topology", the author uses the following proposition   Let $h: Y \to X$ be a covering. For any path $\gamma : [0,1] \to X$ and any $y \in h^{-1}(x) (x = \gamma(0))$, there exists a unique lift $\hat{\gamma} : [0,1] \to Y$ of $\gamma$ with $\hat{\gamma}(0) = y$. Furthermore, for any homotopy $\gamma_t (t \in [0,1])$ of $\gamma$ with $\gamma_t = \gamma(0)$ and $\gamma_t(1) = \gamma(1)$, there exists a unique lift of $\hat{\gamma_t}$ such that $\hat{\gamma_t}$ is the homotopy of $\hat{\gamma}$ with $\hat{\gamma_t}(0) = \hat{\gamma}(0)$ and $\hat{\gamma_t}(1) = \hat{\gamma}(1)$.  The author then follows with; "In the following, we assume that any covering space is connected. By the preceding proposition, the cardinality of the fiber $h^{-1}(x)$ is independent of $x \in X$."   I am not sure why this results is true. This is my attempt at explaining it to myself. Take two different $x_1, x_2$ and their fibers $h^{-1}(x_1), h^{-1}(x_2)$ such that $y_1 \in h^{-1}(x_1)$ and $y_2 \in h^{-1}(x_2)$. Take two paths $\gamma_1, \gamma_2$ such that $\gamma_1(0) = x_1$ and $\gamma_2(0) = x_2$. Then we get two lifts $\hat{\gamma_1}, \hat{\gamma_2}$ with $\hat{\gamma_1}(0) = y_1$ and $\hat{\gamma_2}(0) = y_2$. Now, since our covering space is connected we can continuously deform $\hat{\gamma_1}$ into $\hat{\gamma_2}$ and conclude that every elements in $h^{-1}(x_1)$ is also in $h^{-1}(x_2)$ and vice versa. I feel that this is wrong but cannot figure out the right way to see this. Any help would be appreciated. Plural/singular verb agreement with units Sharepoint 2013. Add JS to NewForm.aspx of a list Do different databases use different name quote? For example, mysql quote table name using   SELECT * FROM `table_name`;   notice the `   Does other database ever use different char to quote their table name Why is notepad++ writing to my new document? I updated notepad++ and it started writing to the screen.  I quickly closed it not knowing what it was, but now I'm curious do I have a 'hacked' copy of notepad++? Let me know I have upvotes even after hitting the rep cap When you cap, you don't see any upvotes you get on your profile, therefore, you don't have any update on how your questions / answers are doing unless you look at them manually.   Capping the 200 daily rep is not a reason to stop posting here so could I get notified somehow that my posts are being voted on ? Maybe put a little +X in a different color letting me know that I got these votes but I won't get the reputation for it.   I can go and see in my reputation feed inside my profile and see it :    So I don't see why it wouldn't show up in the feed above.  Maybe putting the feed button green without any +X just like when you aquire a badge. What's wrong with this Wheatstone bridge? I was trying to solve this unbalanced Wheatstone bridge and found that the current $i$ in the mid wire is 9A .This result was achieved by using node voltage method.    Then I rearranged the same circuit to the form shown in the second image.  and at this point I flipped the right half of the circuit so as to obtain the equal resistors on the same side.    now I again rearranged the circuit as shown.    Here, the final circuit  is a balanced Wheatstone bridge and thus the current i must be 0.  So clearly something went wrong in there.  I saw a post  before this one just to make sure that there is no mistake in rearranging the circuit in the way I have done.   It was answered by the user PhillipWood as being correct and was unfortunately put on hold.  So can someone please point out what exactly went wrong with the above method. I am making a regex expression in which I only want to match wrong tags like: &lt;p&gt; *some text here, some other tags may be here as well but no ending 'p' tag* &lt;/p&gt;   &lt;P&gt;Affectionately Inscribed &lt;/P&gt;&lt;P&gt;TO &lt;/P&gt;&lt;P&gt;HENRY BULLAR, &lt;/P&gt;&lt;P&gt;(of the western circuit)&lt;P&gt;PREFACE&lt;/P&gt;   In the above same text I want to get the result as  &lt;P&gt;(of the western circuit)&lt;P&gt; and nothing else should be captured. I'm using this but its not working:  &lt;P&gt;[^\(&lt;/P&gt;\)]*&lt;P&gt;   Please help. Opening a file with std::string In a tennis tournement of 128 players, elimination system, what is the probability that two twins will meet at some point?